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,
94 bindir='${exec_prefix}/bin'
95 sbindir='${exec_prefix}/sbin'
96 libexecdir='${exec_prefix}/libexec'
97 datadir='${prefix}/share'
98 sysconfdir='${prefix}/etc'
99 sharedstatedir='${prefix}/com'
100 localstatedir='${prefix}/var'
101 libdir='${exec_prefix}/lib'
102 includedir='${prefix}/include'
103 oldincludedir='/usr/include'
104 infodir='${prefix}/info'
105 mandir='${prefix}/man'
107 # Initialize some other variables.
110 SHELL=${CONFIG_SHELL-/bin/sh}
111 # Maximum number of lines to put in a shell here document.
118 # If the previous option needs an argument, assign it.
119 if test -n "$ac_prev"; then
120 eval "$ac_prev=\$ac_option"
126 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
130 # Accept the important Cygnus configure options, so we can diagnose typos.
134 -bindir | --bindir | --bindi | --bind | --bin | --bi)
136 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
137 bindir="$ac_optarg" ;;
139 -build | --build | --buil | --bui | --bu)
141 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
142 build="$ac_optarg" ;;
144 -cache-file | --cache-file | --cache-fil | --cache-fi \
145 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
146 ac_prev=cache_file ;;
147 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
148 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
149 cache_file="$ac_optarg" ;;
151 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
153 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
155 datadir="$ac_optarg" ;;
157 -disable-* | --disable-*)
158 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
164 eval "enable_${ac_feature}=no" ;;
166 -enable-* | --enable-*)
167 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
168 # Reject names that are not valid shell variable names.
169 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
170 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
172 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
177 eval "enable_${ac_feature}='$ac_optarg'" ;;
179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
181 | --exec | --exe | --ex)
182 ac_prev=exec_prefix ;;
183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
185 | --exec=* | --exe=* | --ex=*)
186 exec_prefix="$ac_optarg" ;;
188 -gas | --gas | --ga | --g)
189 # Obsolete; use --with-gas.
192 -help | --help | --hel | --he)
193 # Omit some internal or obsolete options to make the list less imposing.
194 # This message is too long to be a string in the A/UX 3.1 sh.
196 Usage: configure [options] [host]
197 Options: [defaults in brackets after descriptions]
199 --cache-file=FILE cache test results in FILE
200 --help print this message
201 --no-create do not create output files
202 --quiet, --silent do not print \`checking...' messages
203 --site-file=FILE use FILE as the site file
204 --version print the version of autoconf that created configure
205 Directory and file names:
206 --prefix=PREFIX install architecture-independent files in PREFIX
208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210 --bindir=DIR user executables in DIR [EPREFIX/bin]
211 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
212 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
213 --datadir=DIR read-only architecture-independent data in DIR
215 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
216 --sharedstatedir=DIR modifiable architecture-independent data in DIR
218 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
219 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
220 --includedir=DIR C header files in DIR [PREFIX/include]
221 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
222 --infodir=DIR info documentation in DIR [PREFIX/info]
223 --mandir=DIR man documentation in DIR [PREFIX/man]
224 --srcdir=DIR find the sources in DIR [configure dir or ..]
225 --program-prefix=PREFIX prepend PREFIX to installed program names
226 --program-suffix=SUFFIX append SUFFIX to installed program names
227 --program-transform-name=PROGRAM
228 run sed PROGRAM on installed program names
232 --build=BUILD configure for building on BUILD [BUILD=HOST]
233 --host=HOST configure for HOST [guessed]
234 --target=TARGET configure for TARGET [TARGET=HOST]
235 Features and packages:
236 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
237 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
240 --x-includes=DIR X include files are in DIR
241 --x-libraries=DIR X library files are in DIR
243 if test -n "$ac_help"; then
244 echo "--enable and --with options recognized:$ac_help"
248 -host | --host | --hos | --ho)
250 -host=* | --host=* | --hos=* | --ho=*)
253 -includedir | --includedir | --includedi | --included | --include \
254 | --includ | --inclu | --incl | --inc)
255 ac_prev=includedir ;;
256 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
257 | --includ=* | --inclu=* | --incl=* | --inc=*)
258 includedir="$ac_optarg" ;;
260 -infodir | --infodir | --infodi | --infod | --info | --inf)
262 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
263 infodir="$ac_optarg" ;;
265 -libdir | --libdir | --libdi | --libd)
267 -libdir=* | --libdir=* | --libdi=* | --libd=*)
268 libdir="$ac_optarg" ;;
270 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
271 | --libexe | --libex | --libe)
272 ac_prev=libexecdir ;;
273 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
274 | --libexe=* | --libex=* | --libe=*)
275 libexecdir="$ac_optarg" ;;
277 -localstatedir | --localstatedir | --localstatedi | --localstated \
278 | --localstate | --localstat | --localsta | --localst \
279 | --locals | --local | --loca | --loc | --lo)
280 ac_prev=localstatedir ;;
281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
282 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
283 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
284 localstatedir="$ac_optarg" ;;
286 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
288 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
289 mandir="$ac_optarg" ;;
292 # Obsolete; use --without-fp.
295 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
299 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
300 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
303 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
304 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
305 | --oldin | --oldi | --old | --ol | --o)
306 ac_prev=oldincludedir ;;
307 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
308 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
309 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
310 oldincludedir="$ac_optarg" ;;
312 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
314 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
315 prefix="$ac_optarg" ;;
317 -program-prefix | --program-prefix | --program-prefi | --program-pref \
318 | --program-pre | --program-pr | --program-p)
319 ac_prev=program_prefix ;;
320 -program-prefix=* | --program-prefix=* | --program-prefi=* \
321 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
322 program_prefix="$ac_optarg" ;;
324 -program-suffix | --program-suffix | --program-suffi | --program-suff \
325 | --program-suf | --program-su | --program-s)
326 ac_prev=program_suffix ;;
327 -program-suffix=* | --program-suffix=* | --program-suffi=* \
328 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
329 program_suffix="$ac_optarg" ;;
331 -program-transform-name | --program-transform-name \
332 | --program-transform-nam | --program-transform-na \
333 | --program-transform-n | --program-transform- \
334 | --program-transform | --program-transfor \
335 | --program-transfo | --program-transf \
336 | --program-trans | --program-tran \
337 | --progr-tra | --program-tr | --program-t)
338 ac_prev=program_transform_name ;;
339 -program-transform-name=* | --program-transform-name=* \
340 | --program-transform-nam=* | --program-transform-na=* \
341 | --program-transform-n=* | --program-transform-=* \
342 | --program-transform=* | --program-transfor=* \
343 | --program-transfo=* | --program-transf=* \
344 | --program-trans=* | --program-tran=* \
345 | --progr-tra=* | --program-tr=* | --program-t=*)
346 program_transform_name="$ac_optarg" ;;
348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
349 | -silent | --silent | --silen | --sile | --sil)
352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
356 sbindir="$ac_optarg" ;;
358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
360 | --sharedst | --shareds | --shared | --share | --shar \
362 ac_prev=sharedstatedir ;;
363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
367 sharedstatedir="$ac_optarg" ;;
369 -site | --site | --sit)
371 -site=* | --site=* | --sit=*)
374 -site-file | --site-file | --site-fil | --site-fi | --site-f)
376 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
377 sitefile="$ac_optarg" ;;
379 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
381 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
382 srcdir="$ac_optarg" ;;
384 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
385 | --syscon | --sysco | --sysc | --sys | --sy)
386 ac_prev=sysconfdir ;;
387 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
388 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
389 sysconfdir="$ac_optarg" ;;
391 -target | --target | --targe | --targ | --tar | --ta | --t)
393 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
394 target="$ac_optarg" ;;
396 -v | -verbose | --verbose | --verbos | --verbo | --verb)
399 -version | --version | --versio | --versi | --vers)
400 echo "configure generated by autoconf version 2.13"
404 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}='$ac_optarg'" ;;
416 -without-* | --without-*)
417 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}=no" ;;
426 # Obsolete; use --with-x.
429 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
430 | --x-incl | --x-inc | --x-in | --x-i)
431 ac_prev=x_includes ;;
432 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
433 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
434 x_includes="$ac_optarg" ;;
436 -x-libraries | --x-libraries | --x-librarie | --x-librari \
437 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
438 ac_prev=x_libraries ;;
439 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
440 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
441 x_libraries="$ac_optarg" ;;
443 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
447 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448 echo "configure: warning: $ac_option: invalid host type" 1>&2
450 if test "x$nonopt" != xNONE; then
451 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
459 if test -n "$ac_prev"; then
460 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
463 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
465 # File descriptor usage:
468 # 2 errors and warnings
469 # 3 some systems may open it to /dev/tty
470 # 4 used on the Kubota Titan
471 # 6 checking for... messages and results
472 # 5 compiler messages saved in config.log
473 if test "$silent" = yes; then
481 This file contains any messages produced by compilers while
482 running configure, to aid debugging if configure makes a mistake.
485 # Strip out --no-create and --no-recursion so they do not pile up.
486 # Also quote any args containing shell metacharacters.
491 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
492 | --no-cr | --no-c) ;;
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
497 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
502 # Only set these to C if already set. These must not be set unconditionally
503 # because not all systems understand e.g. LANG=C (notably SCO).
504 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505 # Non-C LC_CTYPE values break the ctype check.
506 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
507 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
508 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
509 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
511 # confdefs.h avoids OS command line length limits that DEFS can exceed.
512 rm -rf conftest* confdefs.h
513 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
516 # A filename unique to this package, relative to the directory that
517 # configure is in, which we can look for to find out if srcdir is correct.
518 ac_unique_file=src/ios.cc
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted=yes
523 # Try the directory containing this script, then its parent.
525 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
528 if test ! -r $srcdir/$ac_unique_file; then
532 ac_srcdir_defaulted=no
534 if test ! -r $srcdir/$ac_unique_file; then
535 if test "$ac_srcdir_defaulted" = yes; then
536 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
538 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
541 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
543 # Prefer explicitly selected file to automatically selected ones.
544 if test -z "$sitefile"; then
545 if test -z "$CONFIG_SITE"; then
546 if test "x$prefix" != xNONE; then
547 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
549 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
553 CONFIG_SITE="$sitefile"
555 for ac_site_file in $CONFIG_SITE; do
556 if test -r "$ac_site_file"; then
557 echo "loading site script $ac_site_file"
562 if test -r "$cache_file"; then
563 echo "loading cache $cache_file"
566 echo "creating cache $cache_file"
571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
572 ac_cpp='$CPP $CPPFLAGS'
573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
575 cross_compiling=$ac_cv_prog_cc_cross
579 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
580 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
581 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
588 ac_n= ac_c='\c' ac_t=
593 # This works around the fact that libtool configuration may change LD
594 # for this particular configuration, but some shells, instead of
595 # keeping the changes in LD private, export them just because LD is
596 # exported. Only used at the end of this file.
597 ORIGINAL_LD_FOR_MULTILIBS=$LD
601 # For libtool versioning info, format is CURRENT:REVISION:AGE
602 libtool_VERSION=5:0:0
606 # Check whether --enable-multilib or --disable-multilib was given.
607 if test "${enable_multilib+set}" = set; then
608 enableval="$enable_multilib"
609 case "${enableval}" in
612 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
618 # When building with srcdir == objdir, links to the source files will
619 # be created in directories within the target_subdir. We have to
620 # adjust toplevel_srcdir accordingly, so that configure finds
621 # install-sh and other auxiliary files that live in the top-level
623 if test "${srcdir}" = "."; then
624 if test -z "${with_target_subdir}"; then
627 if test "${with_target_subdir}" != "."; then
628 toprel="${with_multisrctop}../.."
630 toprel="${with_multisrctop}.."
637 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
638 if test -f $ac_dir/install-sh; then
640 ac_install_sh="$ac_aux_dir/install-sh -c"
642 elif test -f $ac_dir/install.sh; then
644 ac_install_sh="$ac_aux_dir/install.sh -c"
648 if test -z "$ac_aux_dir"; then
649 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
651 ac_config_guess=$ac_aux_dir/config.guess
652 ac_config_sub=$ac_aux_dir/config.sub
653 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
655 toplevel_srcdir=\${top_srcdir}/$toprel
659 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
661 # You will slowly go insane if you do not grok the following fact: when
662 # building v3 as part of the compiler, the top-level /target/ becomes the
663 # library's /host/. `configure' then causes --target to default to --host,
664 # exactly like any other package using autoconf. Therefore, 'target' and
665 # 'host' will always be the same. This makes sense both for native and
666 # cross compilers, just think about it for a little while. :-)
668 # Also, if v3 is being configured as part of a cross compiler, the top-level
669 # configure script will pass the "real" host as $with_cross_host.
671 # AC 2.5x sets target_alias iff the user specified --target, but we use it
672 # everywhere, so we set it here just to be sure. In AC 2.13
673 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
675 # Do some error checking and defaulting for the host and target type.
677 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
680 # 1. You are not allowed to specify --host, --target, and nonopt at the
682 # 2. Host defaults to nonopt.
683 # 3. If nonopt is not specified, then host defaults to the current host,
684 # as determined by config.guess.
685 # 4. Target and build default to nonopt.
686 # 5. If nonopt is not specified, then target and build default to host.
688 # The aliases save the names the user supplied, while $host etc.
689 # will get canonicalized.
690 case $host---$target---$nonopt in
691 NONE---*---* | *---NONE---* | *---*---NONE) ;;
692 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
696 # Make sure we can run config.sub.
697 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
698 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
701 echo $ac_n "checking host system type""... $ac_c" 1>&6
702 echo "configure:703: checking host system type" >&5
705 case "$host_alias" in
709 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
710 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
712 *) host_alias=$nonopt ;;
716 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
717 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
718 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
719 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
720 echo "$ac_t""$host" 1>&6
722 echo $ac_n "checking target system type""... $ac_c" 1>&6
723 echo "configure:724: checking target system type" >&5
726 case "$target_alias" in
729 NONE) target_alias=$host_alias ;;
730 *) target_alias=$nonopt ;;
734 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
735 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
736 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
737 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
738 echo "$ac_t""$target" 1>&6
740 echo $ac_n "checking build system type""... $ac_c" 1>&6
741 echo "configure:742: checking build system type" >&5
744 case "$build_alias" in
747 NONE) build_alias=$host_alias ;;
748 *) build_alias=$nonopt ;;
752 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
753 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
754 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
755 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
756 echo "$ac_t""$build" 1>&6
758 test "$host_alias" != "$target_alias" &&
759 test "$program_prefix$program_suffix$program_transform_name" = \
761 program_prefix=${target_alias}-
763 target_alias=${target_alias-$target}
766 # Runs configure.target, finds CC, CXX and assorted other critical bits.
767 # Must run this before the GLIBCPP_ENABLE_* macros below.
768 if test $host != $build; then
769 ac_tool_prefix=${host_alias}-
774 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
775 echo "configure:776: checking for Cygwin environment" >&5
776 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
777 echo $ac_n "(cached) $ac_c" 1>&6
779 cat > conftest.$ac_ext <<EOF
780 #line 781 "configure"
781 #include "confdefs.h"
786 #define __CYGWIN__ __CYGWIN32__
791 if { (eval echo configure:792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
795 echo "configure: failed program was:" >&5
796 cat conftest.$ac_ext >&5
804 echo "$ac_t""$ac_cv_cygwin" 1>&6
806 test "$ac_cv_cygwin" = yes && CYGWIN=yes
807 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
808 echo "configure:809: checking for mingw32 environment" >&5
809 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
810 echo $ac_n "(cached) $ac_c" 1>&6
812 cat > conftest.$ac_ext <<EOF
813 #line 814 "configure"
814 #include "confdefs.h"
820 if { (eval echo configure:821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
824 echo "configure: failed program was:" >&5
825 cat conftest.$ac_ext >&5
833 echo "$ac_t""$ac_cv_mingw32" 1>&6
835 test "$ac_cv_mingw32" = yes && MINGW32=yes
838 #possibly test for the presence of the compiler sources here?
840 # Export build and source directories.
841 # These need to be absolute paths, yet at the same time need to
842 # canonicalize only relative paths, because then amd will not unmount
843 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
844 glibcpp_builddir=`${PWDCMD-pwd}`
846 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
847 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
854 for ac_prog in mawk gawk nawk awk
856 # Extract the first word of "$ac_prog", so it can be a program name with args.
857 set dummy $ac_prog; ac_word=$2
858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
859 echo "configure:860: checking for $ac_word" >&5
860 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
861 echo $ac_n "(cached) $ac_c" 1>&6
863 if test -n "$AWK"; then
864 ac_cv_prog_AWK="$AWK" # Let the user override the test.
866 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
868 for ac_dir in $ac_dummy; do
869 test -z "$ac_dir" && ac_dir=.
870 if test -f $ac_dir/$ac_word; then
871 ac_cv_prog_AWK="$ac_prog"
878 AWK="$ac_cv_prog_AWK"
879 if test -n "$AWK"; then
880 echo "$ac_t""$AWK" 1>&6
882 echo "$ac_t""no" 1>&6
885 test -n "$AWK" && break
888 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
889 # be 'cp -p' if linking isn't available. Uncomment the next line to
890 # force a particular method.
891 #ac_cv_prog_LN_S='cp -p'
892 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
893 echo "configure:894: checking whether ln -s works" >&5
894 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
895 echo $ac_n "(cached) $ac_c" 1>&6
898 if ln -s X conftestdata 2>/dev/null
901 ac_cv_prog_LN_S="ln -s"
906 LN_S="$ac_cv_prog_LN_S"
907 if test "$ac_cv_prog_LN_S" = "ln -s"; then
908 echo "$ac_t""yes" 1>&6
910 echo "$ac_t""no" 1>&6
914 # We use these options to decide which functions to include.
915 # Check whether --with-target-subdir or --without-target-subdir was given.
916 if test "${with_target_subdir+set}" = set; then
917 withval="$with_target_subdir"
921 # Check whether --with-cross-host or --without-cross-host was given.
922 if test "${with_cross_host+set}" = set; then
923 withval="$with_cross_host"
928 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
931 # Never versions of autoconf add an underscore to these functions.
932 # Prevent future problems ...
939 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
940 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
941 # are probably using a cross compiler, which will not be able to fully
942 # link an executable. This is addressed in later versions of autoconf.
947 # Extract the first word of "gcc", so it can be a program name with args.
948 set dummy gcc; ac_word=$2
949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
950 echo "configure:951: checking for $ac_word" >&5
951 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
952 echo $ac_n "(cached) $ac_c" 1>&6
954 if test -n "$CC"; then
955 ac_cv_prog_CC="$CC" # Let the user override the test.
957 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
959 for ac_dir in $ac_dummy; do
960 test -z "$ac_dir" && ac_dir=.
961 if test -f $ac_dir/$ac_word; then
970 if test -n "$CC"; then
971 echo "$ac_t""$CC" 1>&6
973 echo "$ac_t""no" 1>&6
976 if test -z "$CC"; then
977 # Extract the first word of "cc", so it can be a program name with args.
978 set dummy cc; ac_word=$2
979 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
980 echo "configure:981: checking for $ac_word" >&5
981 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
982 echo $ac_n "(cached) $ac_c" 1>&6
984 if test -n "$CC"; then
985 ac_cv_prog_CC="$CC" # Let the user override the test.
987 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
990 for ac_dir in $ac_dummy; do
991 test -z "$ac_dir" && ac_dir=.
992 if test -f $ac_dir/$ac_word; then
993 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1002 if test $ac_prog_rejected = yes; then
1003 # We found a bogon in the path, so make sure we never use it.
1004 set dummy $ac_cv_prog_CC
1006 if test $# -gt 0; then
1007 # We chose a different compiler from the bogus one.
1008 # However, it has the same basename, so the bogon will be chosen
1009 # first if we set CC to just the basename; use the full file name.
1011 set dummy "$ac_dir/$ac_word" "$@"
1019 if test -n "$CC"; then
1020 echo "$ac_t""$CC" 1>&6
1022 echo "$ac_t""no" 1>&6
1025 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1028 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1029 echo "configure:1030: checking whether we are using GNU C" >&5
1030 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1031 echo $ac_n "(cached) $ac_c" 1>&6
1033 cat > conftest.c <<EOF
1038 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1045 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1047 if test $ac_cv_prog_gcc = yes; then
1049 ac_test_CFLAGS="${CFLAGS+set}"
1050 ac_save_CFLAGS="$CFLAGS"
1052 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1053 echo "configure:1054: checking whether ${CC-cc} accepts -g" >&5
1054 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1055 echo $ac_n "(cached) $ac_c" 1>&6
1057 echo 'void f(){}' > conftest.c
1058 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1067 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1068 if test "$ac_test_CFLAGS" = set; then
1069 CFLAGS="$ac_save_CFLAGS"
1070 elif test $ac_cv_prog_cc_g = yes; then
1077 test "${CFLAGS+set}" = set || CFLAGS="-g"
1081 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1082 # will try to link in libstdc++.
1086 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1087 # flags that come in CXX while configuring libstdc++. They're different
1088 # from those used for all other target libraries. If CXX is set in
1089 # the environment, respect that here.
1091 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1093 # Extract the first word of "$ac_prog", so it can be a program name with args.
1094 set dummy $ac_prog; ac_word=$2
1095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1096 echo "configure:1097: checking for $ac_word" >&5
1097 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1098 echo $ac_n "(cached) $ac_c" 1>&6
1100 if test -n "$glibcpp_CXX"; then
1101 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1105 for ac_dir in $ac_dummy; do
1106 test -z "$ac_dir" && ac_dir=.
1107 if test -f $ac_dir/$ac_word; then
1108 ac_cv_prog_glibcpp_CXX="$ac_prog"
1115 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1116 if test -n "$glibcpp_CXX"; then
1117 echo "$ac_t""$glibcpp_CXX" 1>&6
1119 echo "$ac_t""no" 1>&6
1122 test -n "$glibcpp_CXX" && break
1124 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1128 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1130 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1131 echo "configure:1132: checking whether we are using GNU C++" >&5
1132 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1133 echo $ac_n "(cached) $ac_c" 1>&6
1135 cat > conftest.C <<EOF
1140 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1147 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1149 if test $ac_cv_prog_gxx = yes; then
1151 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1152 ac_save_CXXFLAGS="$CXXFLAGS"
1154 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1155 echo "configure:1156: checking whether ${CXX-g++} accepts -g" >&5
1156 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1157 echo $ac_n "(cached) $ac_c" 1>&6
1159 echo 'void f(){}' > conftest.cc
1160 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1161 ac_cv_prog_cxx_g=yes
1169 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1170 if test "$ac_test_CXXFLAGS" = set; then
1171 CXXFLAGS="$ac_save_CXXFLAGS"
1172 elif test $ac_cv_prog_cxx_g = yes; then
1179 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1183 # For directory versioning (e.g., headers) and other variables.
1184 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1185 echo "configure:1186: checking for GCC version number" >&5
1186 gcc_version=`$glibcpp_CXX -dumpversion`
1187 echo "$ac_t""$gcc_version" 1>&6
1189 # For some reason, gettext needs this.
1190 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1191 echo "configure:1192: checking for POSIXized ISC" >&5
1192 if test -d /etc/conf/kconfig.d &&
1193 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1195 echo "$ac_t""yes" 1>&6
1196 ISC=yes # If later tests want to check for ISC.
1197 cat >> confdefs.h <<\EOF
1198 #define _POSIX_SOURCE 1
1201 if test "$GCC" = yes; then
1207 echo "$ac_t""no" 1>&6
1212 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1213 set dummy ${ac_tool_prefix}as; ac_word=$2
1214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1215 echo "configure:1216: checking for $ac_word" >&5
1216 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1217 echo $ac_n "(cached) $ac_c" 1>&6
1219 if test -n "$AS"; then
1220 ac_cv_prog_AS="$AS" # Let the user override the test.
1222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1224 for ac_dir in $ac_dummy; do
1225 test -z "$ac_dir" && ac_dir=.
1226 if test -f $ac_dir/$ac_word; then
1227 ac_cv_prog_AS="${ac_tool_prefix}as"
1232 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1236 if test -n "$AS"; then
1237 echo "$ac_t""$AS" 1>&6
1239 echo "$ac_t""no" 1>&6
1244 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1245 set dummy ${ac_tool_prefix}ar; ac_word=$2
1246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1247 echo "configure:1248: checking for $ac_word" >&5
1248 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1249 echo $ac_n "(cached) $ac_c" 1>&6
1251 if test -n "$AR"; then
1252 ac_cv_prog_AR="$AR" # Let the user override the test.
1254 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1256 for ac_dir in $ac_dummy; do
1257 test -z "$ac_dir" && ac_dir=.
1258 if test -f $ac_dir/$ac_word; then
1259 ac_cv_prog_AR="${ac_tool_prefix}ar"
1264 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1268 if test -n "$AR"; then
1269 echo "$ac_t""$AR" 1>&6
1271 echo "$ac_t""no" 1>&6
1276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1278 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1279 echo "configure:1280: checking for $ac_word" >&5
1280 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1281 echo $ac_n "(cached) $ac_c" 1>&6
1283 if test -n "$RANLIB"; then
1284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1286 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1288 for ac_dir in $ac_dummy; do
1289 test -z "$ac_dir" && ac_dir=.
1290 if test -f $ac_dir/$ac_word; then
1291 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1298 RANLIB="$ac_cv_prog_RANLIB"
1299 if test -n "$RANLIB"; then
1300 echo "$ac_t""$RANLIB" 1>&6
1302 echo "$ac_t""no" 1>&6
1306 if test -z "$ac_cv_prog_RANLIB"; then
1307 if test -n "$ac_tool_prefix"; then
1308 # Extract the first word of "ranlib", so it can be a program name with args.
1309 set dummy ranlib; ac_word=$2
1310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1311 echo "configure:1312: checking for $ac_word" >&5
1312 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1313 echo $ac_n "(cached) $ac_c" 1>&6
1315 if test -n "$RANLIB"; then
1316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1320 for ac_dir in $ac_dummy; do
1321 test -z "$ac_dir" && ac_dir=.
1322 if test -f $ac_dir/$ac_word; then
1323 ac_cv_prog_RANLIB="ranlib"
1328 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1331 RANLIB="$ac_cv_prog_RANLIB"
1332 if test -n "$RANLIB"; then
1333 echo "$ac_t""$RANLIB" 1>&6
1335 echo "$ac_t""no" 1>&6
1339 RANLIB="ranlib-not-found-in-path-error"
1343 # Find a good install program. We prefer a C program (faster),
1344 # so one script is as good as another. But avoid the broken or
1345 # incompatible versions:
1346 # SysV /etc/install, /usr/sbin/install
1347 # SunOS /usr/etc/install
1348 # IRIX /sbin/install
1350 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1351 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1352 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1353 # ./install, which can be erroneously created by make from ./install.sh.
1354 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1355 echo "configure:1356: checking for a BSD compatible install" >&5
1356 if test -z "$INSTALL"; then
1357 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1358 echo $ac_n "(cached) $ac_c" 1>&6
1360 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1361 for ac_dir in $PATH; do
1362 # Account for people who put trailing slashes in PATH elements.
1364 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1366 # OSF1 and SCO ODT 3.0 have their own names for install.
1367 # Don't use installbsd from OSF since it installs stuff as root
1369 for ac_prog in ginstall scoinst install; do
1370 if test -f $ac_dir/$ac_prog; then
1371 if test $ac_prog = install &&
1372 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1373 # AIX install. It has an incompatible calling convention.
1376 ac_cv_path_install="$ac_dir/$ac_prog -c"
1387 if test "${ac_cv_path_install+set}" = set; then
1388 INSTALL="$ac_cv_path_install"
1390 # As a last resort, use the slow shell script. We don't cache a
1391 # path for INSTALL within a source directory, because that will
1392 # break other packages using the cache if that directory is
1393 # removed, or if the path is relative.
1394 INSTALL="$ac_install_sh"
1397 echo "$ac_t""$INSTALL" 1>&6
1399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1400 # It thinks the first close brace ends the variable substitution.
1401 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1403 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1405 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1408 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1409 echo "configure:1410: checking whether to enable maintainer-specific portions of Makefiles" >&5
1410 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1411 if test "${enable_maintainer_mode+set}" = set; then
1412 enableval="$enable_maintainer_mode"
1413 USE_MAINTAINER_MODE=$enableval
1415 USE_MAINTAINER_MODE=no
1418 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1421 if test $USE_MAINTAINER_MODE = yes; then
1422 MAINTAINER_MODE_TRUE=
1423 MAINTAINER_MODE_FALSE='#'
1425 MAINTAINER_MODE_TRUE='#'
1426 MAINTAINER_MODE_FALSE=
1428 MAINT=$MAINTAINER_MODE_TRUE
1432 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1433 # at least currently, we never actually build a program, so we never
1434 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1435 # fails, because we are probably configuring with a cross compiler
1436 # which can't create executables. So we include AC_EXEEXT to keep
1437 # automake happy, but we don't execute it, since we don't care about
1440 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1441 # to nothing, so nothing would remain between `then' and `fi' if it
1442 # were not for the `:' below.
1446 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1447 echo "configure:1448: checking for executable suffix" >&5
1448 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1449 echo $ac_n "(cached) $ac_c" 1>&6
1451 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1455 echo 'int main () { return 0; }' > conftest.$ac_ext
1457 if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1458 for file in conftest.*; do
1460 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1461 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1465 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1468 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1473 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1474 echo "$ac_t""${ac_cv_exeext}" 1>&6
1479 case ${glibcpp_basedir} in
1480 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1481 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1484 # Find platform-specific directories containing configuration info. In
1485 # addition to possibly modifying the same flags, it also sets up symlinks.
1487 . ${glibcpp_basedir}/configure.target
1488 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1489 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1493 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1494 echo "configure:1495: checking whether build environment is sane" >&5
1497 echo timestamp > conftestfile
1498 # Do `set' in a subshell so we don't clobber the current shell's
1499 # arguments. Must try -L first in case configure is actually a
1500 # symlink; some systems play weird games with the mod time of symlinks
1501 # (eg FreeBSD returns the mod time of the symlink's containing
1504 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1505 if test "$*" = "X"; then
1507 set X `ls -t $srcdir/configure conftestfile`
1509 if test "$*" != "X $srcdir/configure conftestfile" \
1510 && test "$*" != "X conftestfile $srcdir/configure"; then
1512 # If neither matched, then we have a broken ls. This can happen
1513 # if, for instance, CONFIG_SHELL is bash and it inherits a
1514 # broken ls alias from the environment. This has actually
1515 # happened. Such a system could not be considered "sane".
1516 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1517 alias in your environment" 1>&2; exit 1; }
1520 test "$2" = conftestfile
1526 { echo "configure: error: newly created file is older than distributed files!
1527 Check your system clock" 1>&2; exit 1; }
1530 echo "$ac_t""yes" 1>&6
1531 if test "$program_transform_name" = s,x,x,; then
1532 program_transform_name=
1534 # Double any \ or $. echo might interpret backslashes.
1535 cat <<\EOF_SED > conftestsed
1536 s,\\,\\\\,g; s,\$,$$,g
1538 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1541 test "$program_prefix" != NONE &&
1542 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1543 # Use a double $ so make ignores it.
1544 test "$program_suffix" != NONE &&
1545 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1547 # sed with no file args requires a program.
1548 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1550 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1551 echo "configure:1552: checking whether ${MAKE-make} sets \${MAKE}" >&5
1552 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1553 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1554 echo $ac_n "(cached) $ac_c" 1>&6
1556 cat > conftestmake <<\EOF
1558 @echo 'ac_maketemp="${MAKE}"'
1560 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1561 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1562 if test -n "$ac_maketemp"; then
1563 eval ac_cv_prog_make_${ac_make}_set=yes
1565 eval ac_cv_prog_make_${ac_make}_set=no
1569 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1570 echo "$ac_t""yes" 1>&6
1573 echo "$ac_t""no" 1>&6
1574 SET_MAKE="MAKE=${MAKE-make}"
1580 VERSION=$gcc_version
1582 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1583 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1585 cat >> confdefs.h <<EOF
1586 #define PACKAGE "$PACKAGE"
1589 cat >> confdefs.h <<EOF
1590 #define VERSION "$VERSION"
1595 missing_dir=`cd $ac_aux_dir && pwd`
1596 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1597 echo "configure:1598: checking for working aclocal" >&5
1598 # Run test in a subshell; some versions of sh will print an error if
1599 # an executable is not found, even if stderr is redirected.
1600 # Redirect stdin to placate older versions of autoconf. Sigh.
1601 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1603 echo "$ac_t""found" 1>&6
1605 ACLOCAL="$missing_dir/missing aclocal"
1606 echo "$ac_t""missing" 1>&6
1609 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1610 echo "configure:1611: checking for working autoconf" >&5
1611 # Run test in a subshell; some versions of sh will print an error if
1612 # an executable is not found, even if stderr is redirected.
1613 # Redirect stdin to placate older versions of autoconf. Sigh.
1614 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1616 echo "$ac_t""found" 1>&6
1618 AUTOCONF="$missing_dir/missing autoconf"
1619 echo "$ac_t""missing" 1>&6
1622 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1623 echo "configure:1624: checking for working automake" >&5
1624 # Run test in a subshell; some versions of sh will print an error if
1625 # an executable is not found, even if stderr is redirected.
1626 # Redirect stdin to placate older versions of autoconf. Sigh.
1627 if (automake --version) < /dev/null > /dev/null 2>&1; then
1629 echo "$ac_t""found" 1>&6
1631 AUTOMAKE="$missing_dir/missing automake"
1632 echo "$ac_t""missing" 1>&6
1635 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1636 echo "configure:1637: checking for working autoheader" >&5
1637 # Run test in a subshell; some versions of sh will print an error if
1638 # an executable is not found, even if stderr is redirected.
1639 # Redirect stdin to placate older versions of autoconf. Sigh.
1640 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1641 AUTOHEADER=autoheader
1642 echo "$ac_t""found" 1>&6
1644 AUTOHEADER="$missing_dir/missing autoheader"
1645 echo "$ac_t""missing" 1>&6
1648 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1649 echo "configure:1650: checking for working makeinfo" >&5
1650 # Run test in a subshell; some versions of sh will print an error if
1651 # an executable is not found, even if stderr is redirected.
1652 # Redirect stdin to placate older versions of autoconf. Sigh.
1653 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1655 echo "$ac_t""found" 1>&6
1657 MAKEINFO="$missing_dir/missing makeinfo"
1658 echo "$ac_t""missing" 1>&6
1667 # Check whether --enable-shared or --disable-shared was given.
1668 if test "${enable_shared+set}" = set; then
1669 enableval="$enable_shared"
1670 p=${PACKAGE-default}
1672 yes) enable_shared=yes ;;
1673 no) enable_shared=no ;;
1676 # Look at the argument we got. We use all the common list separators.
1677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1678 for pkg in $enableval; do
1679 if test "X$pkg" = "X$p"; then
1690 # Check whether --enable-static or --disable-static was given.
1691 if test "${enable_static+set}" = set; then
1692 enableval="$enable_static"
1693 p=${PACKAGE-default}
1695 yes) enable_static=yes ;;
1696 no) enable_static=no ;;
1699 # Look at the argument we got. We use all the common list separators.
1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1701 for pkg in $enableval; do
1702 if test "X$pkg" = "X$p"; then
1713 # Check whether --enable-fast-install or --disable-fast-install was given.
1714 if test "${enable_fast_install+set}" = set; then
1715 enableval="$enable_fast_install"
1716 p=${PACKAGE-default}
1718 yes) enable_fast_install=yes ;;
1719 no) enable_fast_install=no ;;
1721 enable_fast_install=no
1722 # Look at the argument we got. We use all the common list separators.
1723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1724 for pkg in $enableval; do
1725 if test "X$pkg" = "X$p"; then
1726 enable_fast_install=yes
1733 enable_fast_install=yes
1736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1737 if test "${with_gnu_ld+set}" = set; then
1738 withval="$with_gnu_ld"
1739 test "$withval" = no || with_gnu_ld=yes
1745 if test "$GCC" = yes; then
1746 # Check if gcc -print-prog-name=ld gives a path.
1747 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1748 echo "configure:1749: checking for ld used by GCC" >&5
1751 # gcc leaves a trailing carriage return which upsets mingw
1752 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1754 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1757 # Accept absolute paths.
1758 [\\/]* | [A-Za-z]:[\\/]*)
1759 re_direlt='/[^/][^/]*/\.\./'
1760 # Canonicalize the path of ld
1761 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1762 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1763 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1765 test -z "$LD" && LD="$ac_prog"
1768 # If it fails, then pretend we aren't using GCC.
1772 # If it is relative, then search for the first ld in PATH.
1776 elif test "$with_gnu_ld" = yes; then
1777 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1778 echo "configure:1779: checking for GNU ld" >&5
1780 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1781 echo "configure:1782: checking for non-GNU ld" >&5
1783 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1784 echo $ac_n "(cached) $ac_c" 1>&6
1786 if test -z "$LD"; then
1787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1788 for ac_dir in $PATH; do
1789 test -z "$ac_dir" && ac_dir=.
1790 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1791 lt_cv_path_LD="$ac_dir/$ac_prog"
1792 # Check to see if the program is GNU ld. I'd rather use --version,
1793 # but apparently some GNU ld's only accept -v.
1794 # Break only if it was the GNU/non-GNU ld that we prefer.
1795 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1796 test "$with_gnu_ld" != no && break
1798 test "$with_gnu_ld" != yes && break
1804 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1809 if test -n "$LD"; then
1810 echo "$ac_t""$LD" 1>&6
1812 echo "$ac_t""no" 1>&6
1814 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1815 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1816 echo "configure:1817: checking if the linker ($LD) is GNU ld" >&5
1817 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1818 echo $ac_n "(cached) $ac_c" 1>&6
1820 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1821 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1822 lt_cv_prog_gnu_ld=yes
1824 lt_cv_prog_gnu_ld=no
1828 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1829 with_gnu_ld=$lt_cv_prog_gnu_ld
1832 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1833 echo "configure:1834: checking for $LD option to reload object files" >&5
1834 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1835 echo $ac_n "(cached) $ac_c" 1>&6
1837 lt_cv_ld_reload_flag='-r'
1840 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1841 reload_flag=$lt_cv_ld_reload_flag
1842 test -n "$reload_flag" && reload_flag=" $reload_flag"
1844 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1845 echo "configure:1846: checking for BSD-compatible nm" >&5
1846 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1847 echo $ac_n "(cached) $ac_c" 1>&6
1849 if test -n "$NM"; then
1850 # Let the user override the test.
1853 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1854 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1855 test -z "$ac_dir" && ac_dir=.
1856 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1857 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1858 # Check to see if the nm accepts a BSD-compat flag.
1859 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1860 # nm: unknown option "B" ignored
1861 # Tru64's nm complains that /dev/null is an invalid object file
1862 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1863 lt_cv_path_NM="$tmp_nm -B"
1865 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1866 lt_cv_path_NM="$tmp_nm -p"
1869 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1870 continue # so that we can try to find one that supports BSD flags
1875 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1880 echo "$ac_t""$NM" 1>&6
1882 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1883 echo "configure:1884: checking how to recognise dependant libraries" >&5
1884 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1885 echo $ac_n "(cached) $ac_c" 1>&6
1887 lt_cv_file_magic_cmd='$MAGIC_CMD'
1888 lt_cv_file_magic_test_file=
1889 lt_cv_deplibs_check_method='unknown'
1890 # Need to set the preceding variable on all platforms that support
1891 # interlibrary dependencies.
1892 # 'none' -- dependencies not supported.
1893 # `unknown' -- same as none, but documents that we really don't know.
1894 # 'pass_all' -- all dependencies passed with no checks.
1895 # 'test_compile' -- check by making test program.
1896 # 'file_magic [regex]' -- check by looking for files in library path
1897 # which responds to the $file_magic_cmd with a given egrep regex.
1898 # If you have `file' or equivalent on your system and you're not sure
1899 # whether `pass_all' will *always* work, you probably want this one.
1903 lt_cv_deplibs_check_method=pass_all
1907 lt_cv_deplibs_check_method=pass_all
1911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1912 lt_cv_file_magic_cmd='/usr/bin/file -L'
1913 lt_cv_file_magic_test_file=/shlib/libc.so
1916 cygwin* | mingw* |pw32*)
1917 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1918 lt_cv_file_magic_cmd='$OBJDUMP -f'
1921 darwin* | rhapsody*)
1922 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 rhapsody* | darwin1.012)
1926 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1929 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1935 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1938 # Not sure whether the presence of OpenBSD here was a mistake.
1939 # Let's accept both of them until this is cleared up.
1940 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1941 lt_cv_file_magic_cmd=/usr/bin/file
1942 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1946 lt_cv_deplibs_check_method=pass_all
1951 lt_cv_deplibs_check_method=pass_all
1955 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1956 lt_cv_file_magic_cmd=/usr/bin/file
1957 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1963 # this will be overridden with pass_all, but let us keep it just in case
1964 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1968 *-32|*"-32 ") libmagic=32-bit;;
1969 *-n32|*"-n32 ") libmagic=N32;;
1970 *-64|*"-64 ") libmagic=64-bit;;
1971 *) libmagic=never-match;;
1973 # this will be overridden with pass_all, but let us keep it just in case
1974 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1977 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1978 lt_cv_deplibs_check_method=pass_all
1981 # This must be Linux ELF.
1984 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1985 lt_cv_deplibs_check_method=pass_all ;;
1987 # glibc up to 2.1.1 does not perform some relocations on ARM
1988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1990 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1994 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1995 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1997 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2003 lt_cv_file_magic_cmd=/usr/bin/file
2004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2007 osf3* | osf4* | osf5*)
2008 # this will be overridden with pass_all, but let us keep it just in case
2009 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2010 lt_cv_file_magic_test_file=/shlib/libc.so
2011 lt_cv_deplibs_check_method=pass_all
2015 lt_cv_deplibs_check_method=pass_all
2019 lt_cv_deplibs_check_method=pass_all
2020 lt_cv_file_magic_test_file=/lib/libc.so
2023 sysv5uw[78]* | sysv4*uw2*)
2024 lt_cv_deplibs_check_method=pass_all
2027 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2028 case $host_vendor in
2030 lt_cv_deplibs_check_method=pass_all
2033 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]'
2034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2042 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2043 file_magic_cmd=$lt_cv_file_magic_cmd
2044 deplibs_check_method=$lt_cv_deplibs_check_method
2046 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2047 echo "configure:2048: checking for object suffix" >&5
2048 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2049 echo $ac_n "(cached) $ac_c" 1>&6
2052 echo 'int i = 1;' > conftest.$ac_ext
2053 if { (eval echo configure:2054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2054 for ac_file in conftest.*; do
2057 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2061 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2066 echo "$ac_t""$ac_cv_objext" 1>&6
2067 OBJEXT=$ac_cv_objext
2068 ac_objext=$ac_cv_objext
2070 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2072 # Only perform the check for file, if the check method requires it
2073 case $deplibs_check_method in
2075 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2076 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2077 echo "configure:2078: checking for ${ac_tool_prefix}file" >&5
2078 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2079 echo $ac_n "(cached) $ac_c" 1>&6
2083 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2086 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2089 ac_save_MAGIC_CMD="$MAGIC_CMD"
2090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2091 ac_dummy="/usr/bin:$PATH"
2092 for ac_dir in $ac_dummy; do
2093 test -z "$ac_dir" && ac_dir=.
2094 if test -f $ac_dir/${ac_tool_prefix}file; then
2095 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2096 if test -n "$file_magic_test_file"; then
2097 case $deplibs_check_method in
2099 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2100 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2101 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2102 egrep "$file_magic_regex" > /dev/null; then
2107 *** Warning: the command libtool uses to detect shared libraries,
2108 *** $file_magic_cmd, produces output that libtool cannot recognize.
2109 *** The result is that libtool may fail to recognize shared libraries
2110 *** as such. This will affect the creation of libtool libraries that
2111 *** depend on shared libraries, but programs linked with such libtool
2112 *** libraries will work regardless of this problem. Nevertheless, you
2113 *** may want to report the problem to your system manager and/or to
2114 *** bug-libtool@gnu.org
2124 MAGIC_CMD="$ac_save_MAGIC_CMD"
2129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2130 if test -n "$MAGIC_CMD"; then
2131 echo "$ac_t""$MAGIC_CMD" 1>&6
2133 echo "$ac_t""no" 1>&6
2136 if test -z "$lt_cv_path_MAGIC_CMD"; then
2137 if test -n "$ac_tool_prefix"; then
2138 echo $ac_n "checking for file""... $ac_c" 1>&6
2139 echo "configure:2140: checking for file" >&5
2140 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2141 echo $ac_n "(cached) $ac_c" 1>&6
2145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2148 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2151 ac_save_MAGIC_CMD="$MAGIC_CMD"
2152 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2153 ac_dummy="/usr/bin:$PATH"
2154 for ac_dir in $ac_dummy; do
2155 test -z "$ac_dir" && ac_dir=.
2156 if test -f $ac_dir/file; then
2157 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2158 if test -n "$file_magic_test_file"; then
2159 case $deplibs_check_method in
2161 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2162 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2164 egrep "$file_magic_regex" > /dev/null; then
2169 *** Warning: the command libtool uses to detect shared libraries,
2170 *** $file_magic_cmd, produces output that libtool cannot recognize.
2171 *** The result is that libtool may fail to recognize shared libraries
2172 *** as such. This will affect the creation of libtool libraries that
2173 *** depend on shared libraries, but programs linked with such libtool
2174 *** libraries will work regardless of this problem. Nevertheless, you
2175 *** may want to report the problem to your system manager and/or to
2176 *** bug-libtool@gnu.org
2186 MAGIC_CMD="$ac_save_MAGIC_CMD"
2191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2192 if test -n "$MAGIC_CMD"; then
2193 echo "$ac_t""$MAGIC_CMD" 1>&6
2195 echo "$ac_t""no" 1>&6
2207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2210 echo "configure:2211: checking for $ac_word" >&5
2211 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2212 echo $ac_n "(cached) $ac_c" 1>&6
2214 if test -n "$RANLIB"; then
2215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2217 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2219 for ac_dir in $ac_dummy; do
2220 test -z "$ac_dir" && ac_dir=.
2221 if test -f $ac_dir/$ac_word; then
2222 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2229 RANLIB="$ac_cv_prog_RANLIB"
2230 if test -n "$RANLIB"; then
2231 echo "$ac_t""$RANLIB" 1>&6
2233 echo "$ac_t""no" 1>&6
2237 if test -z "$ac_cv_prog_RANLIB"; then
2238 if test -n "$ac_tool_prefix"; then
2239 # Extract the first word of "ranlib", so it can be a program name with args.
2240 set dummy ranlib; ac_word=$2
2241 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2242 echo "configure:2243: checking for $ac_word" >&5
2243 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2244 echo $ac_n "(cached) $ac_c" 1>&6
2246 if test -n "$RANLIB"; then
2247 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2249 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2251 for ac_dir in $ac_dummy; do
2252 test -z "$ac_dir" && ac_dir=.
2253 if test -f $ac_dir/$ac_word; then
2254 ac_cv_prog_RANLIB="ranlib"
2259 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2262 RANLIB="$ac_cv_prog_RANLIB"
2263 if test -n "$RANLIB"; then
2264 echo "$ac_t""$RANLIB" 1>&6
2266 echo "$ac_t""no" 1>&6
2274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2275 set dummy ${ac_tool_prefix}strip; ac_word=$2
2276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2277 echo "configure:2278: checking for $ac_word" >&5
2278 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2279 echo $ac_n "(cached) $ac_c" 1>&6
2281 if test -n "$STRIP"; then
2282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2284 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2286 for ac_dir in $ac_dummy; do
2287 test -z "$ac_dir" && ac_dir=.
2288 if test -f $ac_dir/$ac_word; then
2289 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2296 STRIP="$ac_cv_prog_STRIP"
2297 if test -n "$STRIP"; then
2298 echo "$ac_t""$STRIP" 1>&6
2300 echo "$ac_t""no" 1>&6
2304 if test -z "$ac_cv_prog_STRIP"; then
2305 if test -n "$ac_tool_prefix"; then
2306 # Extract the first word of "strip", so it can be a program name with args.
2307 set dummy strip; ac_word=$2
2308 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2309 echo "configure:2310: checking for $ac_word" >&5
2310 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2311 echo $ac_n "(cached) $ac_c" 1>&6
2313 if test -n "$STRIP"; then
2314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2316 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2318 for ac_dir in $ac_dummy; do
2319 test -z "$ac_dir" && ac_dir=.
2320 if test -f $ac_dir/$ac_word; then
2321 ac_cv_prog_STRIP="strip"
2326 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2329 STRIP="$ac_cv_prog_STRIP"
2330 if test -n "$STRIP"; then
2331 echo "$ac_t""$STRIP" 1>&6
2333 echo "$ac_t""no" 1>&6
2342 # Check for any special flags to pass to ltconfig.
2343 libtool_flags="--cache-file=$cache_file"
2344 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2345 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2346 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2347 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2348 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2349 libtool_flags="$libtool_flags --enable-dlopen"
2351 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2352 if test "${enable_libtool_lock+set}" = set; then
2353 enableval="$enable_libtool_lock"
2357 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2358 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2360 # Check whether --with-pic or --without-pic was given.
2361 if test "${with_pic+set}" = set; then
2368 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2369 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2371 # Some flags need to be propagated to the compiler or linker for good
2375 # Find out which ABI we are using.
2376 echo '#line 2377 "configure"' > conftest.$ac_ext
2377 if { (eval echo configure:2378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2378 case `/usr/bin/file conftest.$ac_objext` in
2394 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2395 SAVE_CFLAGS="$CFLAGS"
2396 CFLAGS="$CFLAGS -belf"
2397 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2398 echo "configure:2399: checking whether the C compiler needs -belf" >&5
2399 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2400 echo $ac_n "(cached) $ac_c" 1>&6
2404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2405 ac_cpp='$CPP $CPPFLAGS'
2406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2408 cross_compiling=$ac_cv_prog_cc_cross
2410 cat > conftest.$ac_ext <<EOF
2411 #line 2412 "configure"
2412 #include "confdefs.h"
2418 if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2420 lt_cv_cc_needs_belf=yes
2422 echo "configure: failed program was:" >&5
2423 cat conftest.$ac_ext >&5
2425 lt_cv_cc_needs_belf=no
2429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2433 cross_compiling=$ac_cv_prog_cc_cross
2437 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2438 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2439 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2440 CFLAGS="$SAVE_CFLAGS"
2447 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2448 echo "configure:2449: checking how to run the C++ preprocessor" >&5
2449 if test -z "$CXXCPP"; then
2450 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2451 echo $ac_n "(cached) $ac_c" 1>&6
2454 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2455 ac_cpp='$CXXCPP $CPPFLAGS'
2456 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2457 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2458 cross_compiling=$ac_cv_prog_cxx_cross
2459 CXXCPP="${CXX-g++} -E"
2460 cat > conftest.$ac_ext <<EOF
2461 #line 2462 "configure"
2462 #include "confdefs.h"
2465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2466 { (eval echo configure:2467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2468 if test -z "$ac_err"; then
2472 echo "configure: failed program was:" >&5
2473 cat conftest.$ac_ext >&5
2478 ac_cv_prog_CXXCPP="$CXXCPP"
2480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2484 cross_compiling=$ac_cv_prog_cc_cross
2487 CXXCPP="$ac_cv_prog_CXXCPP"
2488 echo "$ac_t""$CXXCPP" 1>&6
2491 # Save cache, so that ltconfig can load it
2492 cat > confcache <<\EOF
2493 # This file is a shell script that caches the results of configure
2494 # tests run on this system so they can be shared between configure
2495 # scripts and configure runs. It is not useful on other systems.
2496 # If it contains results you don't want to keep, you may remove or edit it.
2498 # By default, configure uses ./config.cache as the cache file,
2499 # creating it if it does not exist already. You can give configure
2500 # the --cache-file=FILE option to use a different cache file; that is
2501 # what configure does when it calls configure scripts in
2502 # subdirectories, so they share the cache.
2503 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2504 # config.status only pays attention to the cache file if you give it the
2505 # --recheck option to rerun configure.
2508 # The following way of writing the cache mishandles newlines in values,
2509 # but we know of no workaround that is simple, portable, and efficient.
2510 # So, don't put newlines in cache variables' values.
2511 # Ultrix sh set writes to stderr and can't be redirected directly,
2512 # and sets the high bit in the cache file unless we assign to the vars.
2514 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2516 # `set' does not quote correctly, so add quotes (double-quote substitution
2517 # turns \\\\ into \\, and sed turns \\ into \).
2519 -e "s/'/'\\\\''/g" \
2520 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2523 # `set' quotes correctly as required by POSIX, so do not add quotes.
2524 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2527 if cmp -s $cache_file confcache; then
2530 if test -w $cache_file; then
2531 echo "updating cache $cache_file"
2532 cat confcache > $cache_file
2534 echo "not updating unwritable cache $cache_file"
2540 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2541 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2542 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2543 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2544 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2545 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2546 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2547 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2548 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2549 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2551 # Reload cache, that may have been modified by ltconfig
2552 if test -r "$cache_file"; then
2553 echo "loading cache $cache_file"
2556 echo "creating cache $cache_file"
2561 # This can be used to rebuild libtool when needed
2562 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2564 # Always use our own libtool.
2565 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2567 # Redirect the config.log output again, so that the ltconfig log is not
2568 # clobbered by the next message.
2569 exec 5>>./config.log
2573 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2575 lt_save_CFLAGS="$CFLAGS"
2576 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2577 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2578 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2579 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2580 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2581 deplibs_check_method="$deplibs_check_method" \
2582 file_magic_cmd="$file_magic_cmd" \
2583 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2584 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2585 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2587 CFLAGS="$lt_save_CFLAGS"
2589 # Redirect the config.log output again, so that the ltconfig log is not
2590 # clobbered by the next message.
2591 exec 5>>./config.log
2601 # Check for c++ or library specific bits that don't require linking.
2602 #GLIBCPP_CHECK_COMPILER_VERSION
2603 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2604 echo "configure:2605: checking for GNU make" >&5
2605 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2606 echo $ac_n "(cached) $ac_c" 1>&6
2608 _cv_gnu_make_command='' ;
2609 for a in "${MAKE-make}" make gmake gnumake ; do
2610 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2612 _cv_gnu_make_command=$a ;
2619 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2620 if test "x$_cv_gnu_make_command" != "x" ; then
2628 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2629 # Check whether --enable-debug or --disable-debug was given.
2630 if test "${enable_debug+set}" = set; then
2631 enableval="$enable_debug"
2632 case "${enableval}" in
2633 yes) enable_debug=yes ;;
2634 no) enable_debug=no ;;
2635 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2641 case "${enable_debug}" in
2643 DEBUG_FLAGS='-O0 -ggdb3'
2651 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2652 echo "configure:2653: checking how to run the C preprocessor" >&5
2653 # On Suns, sometimes $CPP names a directory.
2654 if test -n "$CPP" && test -d "$CPP"; then
2657 if test -z "$CPP"; then
2658 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2659 echo $ac_n "(cached) $ac_c" 1>&6
2661 # This must be in double quotes, not single quotes, because CPP may get
2662 # substituted into the Makefile and "${CC-cc}" will confuse make.
2664 # On the NeXT, cc -E runs the code through the compiler's parser,
2665 # not just through cpp.
2666 cat > conftest.$ac_ext <<EOF
2667 #line 2668 "configure"
2668 #include "confdefs.h"
2672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2673 { (eval echo configure:2674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2675 if test -z "$ac_err"; then
2679 echo "configure: failed program was:" >&5
2680 cat conftest.$ac_ext >&5
2682 CPP="${CC-cc} -E -traditional-cpp"
2683 cat > conftest.$ac_ext <<EOF
2684 #line 2685 "configure"
2685 #include "confdefs.h"
2689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2690 { (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2692 if test -z "$ac_err"; then
2696 echo "configure: failed program was:" >&5
2697 cat conftest.$ac_ext >&5
2699 CPP="${CC-cc} -nologo -E"
2700 cat > conftest.$ac_ext <<EOF
2701 #line 2702 "configure"
2702 #include "confdefs.h"
2706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2707 { (eval echo configure:2708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2709 if test -z "$ac_err"; then
2713 echo "configure: failed program was:" >&5
2714 cat conftest.$ac_ext >&5
2723 ac_cv_prog_CPP="$CPP"
2725 CPP="$ac_cv_prog_CPP"
2727 ac_cv_prog_CPP="$CPP"
2729 echo "$ac_t""$CPP" 1>&6
2732 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2733 echo "configure:2734: checking for cstdio to use" >&5
2734 # Check whether --enable-cstdio or --disable-cstdio was given.
2735 if test "${enable_cstdio+set}" = set; then
2736 enableval="$enable_cstdio"
2737 if test x$enable_cstdio = xno; then
2745 enable_cstdio_flag=$enable_cstdio
2747 case x${enable_cstdio_flag} in
2749 CSTDIO_H=config/io/c_io_libio.h
2750 BASIC_FILE_H=config/io/basic_file_libio.h
2751 BASIC_FILE_CC=config/io/basic_file_libio.cc
2752 echo "$ac_t""libio" 1>&6
2754 # see if we are on a system with libio native (ie, linux)
2755 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2756 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2757 echo "configure:2758: checking for libio.h" >&5
2758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2759 echo $ac_n "(cached) $ac_c" 1>&6
2761 cat > conftest.$ac_ext <<EOF
2762 #line 2763 "configure"
2763 #include "confdefs.h"
2766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2767 { (eval echo configure:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2769 if test -z "$ac_err"; then
2771 eval "ac_cv_header_$ac_safe=yes"
2774 echo "configure: failed program was:" >&5
2775 cat conftest.$ac_ext >&5
2777 eval "ac_cv_header_$ac_safe=no"
2781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2782 echo "$ac_t""yes" 1>&6
2785 echo "$ac_t""no" 1>&6
2790 # Need to check and see what version of glibc is being used. If
2791 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2792 # compile most of libio for linux systems.
2793 if test x$has_libio = x"yes"; then
2796 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2797 echo "configure:2798: checking for glibc version >= 2.2" >&5
2798 cat > conftest.$ac_ext <<EOF
2799 #line 2800 "configure"
2800 #include "confdefs.h"
2802 #include <features.h>
2803 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2809 egrep "ok" >/dev/null 2>&1; then
2811 glibc_satisfactory=yes
2814 glibc_satisfactory=no
2818 echo "$ac_t""$glibc_satisfactory" 1>&6
2822 # XXX at the moment, admit defeat and force the recompilation
2823 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2824 glibc_satisfactory=no
2826 if test x$glibc_satisfactory = x"yes"; then
2831 # bkoz XXX need to add checks to enable this
2832 # pme XXX here's a first pass at such a check
2833 if test x$enable_c_mbchar != xno; then
2841 # Using libio, but <libio.h> doesn't exist on the target system. . .
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
2852 xstdio | x | xno | xnone | xyes)
2854 CSTDIO_H=config/io/c_io_stdio.h
2855 BASIC_FILE_H=config/io/basic_file_stdio.h
2856 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2857 echo "$ac_t""stdio" 1>&6
2859 # We're not using stdio.
2864 echo "$enable_cstdio is an unknown io package" 1>&2
2872 # 2000-08-04 bkoz hack
2873 CCODECVT_C=config/io/c_io_libio_codecvt.c
2875 # 2000-08-04 bkoz hack
2879 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2880 GLIBCPP_BUILD_LIBIO_TRUE=
2881 GLIBCPP_BUILD_LIBIO_FALSE='#'
2883 GLIBCPP_BUILD_LIBIO_TRUE='#'
2884 GLIBCPP_BUILD_LIBIO_FALSE=
2888 if test "$need_libio" = yes; then
2889 GLIBCPP_NEED_LIBIO_TRUE=
2890 GLIBCPP_NEED_LIBIO_FALSE='#'
2892 GLIBCPP_NEED_LIBIO_TRUE='#'
2893 GLIBCPP_NEED_LIBIO_FALSE=
2897 if test "$need_wlibio" = yes; then
2898 GLIBCPP_NEED_WLIBIO_TRUE=
2899 GLIBCPP_NEED_WLIBIO_FALSE='#'
2901 GLIBCPP_NEED_WLIBIO_TRUE='#'
2902 GLIBCPP_NEED_WLIBIO_FALSE=
2904 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2905 libio_la=../libio/libio.la
2912 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2913 echo "configure:2914: checking for clocale to use" >&5
2914 # Check whether --enable-clocale or --disable-clocale was given.
2915 if test "${enable_clocale+set}" = set; then
2916 enableval="$enable_clocale"
2917 if test x$enable_clocale = xno; then
2925 enable_clocale_flag=$enable_clocale
2927 if test x$enable_clocale_flag = xno; then
2928 case x${target_os} in
2930 cat > conftest.$ac_ext <<EOF
2931 #line 2932 "configure"
2932 #include "confdefs.h"
2934 #include <features.h>
2935 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2941 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2943 enable_clocale_flag=gnu
2946 enable_clocale_flag=generic
2951 # Test for bugs early in glibc-2.2.x series
2952 if test x$enable_clocale_flag = xgnu; then
2953 if test "$cross_compiling" = yes; then
2954 enable_clocale_flag=generic
2956 cat > conftest.$ac_ext <<EOF
2957 #line 2958 "configure"
2958 #include "confdefs.h"
2960 #define _GNU_SOURCE 1
2964 const char __one[] = "Äuglein Augmen";
2965 const char __two[] = "Äuglein";
2970 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
2971 loc_dup = __duplocale(loc);
2972 i = __strcoll_l(__one, __two, loc);
2973 j = __strcoll_l(__one, __two, loc_dup);
2978 if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2980 enable_clocale_flag=gnu
2982 echo "configure: failed program was:" >&5
2983 cat conftest.$ac_ext >&5
2985 enable_clocale_flag=generic
2992 # ... at some point put __strxfrm_l tests in as well.
2995 enable_clocale_flag=generic
3000 # Check whether --enable-nls or --disable-nls was given.
3001 if test "${enable_nls+set}" = set; then
3002 enableval="$enable_nls"
3010 case x${enable_clocale_flag} in
3012 echo "$ac_t""generic" 1>&6
3014 CLOCALE_H=config/locale/generic/c_locale.h
3015 CLOCALE_CC=config/locale/generic/c_locale.cc
3016 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3017 CCOLLATE_CC=config/locale/generic/collate_members.cc
3018 CCTYPE_CC=config/locale/generic/ctype_members.cc
3019 CMESSAGES_H=config/locale/generic/messages_members.h
3020 CMESSAGES_CC=config/locale/generic/messages_members.cc
3021 CMONEY_CC=config/locale/generic/monetary_members.cc
3022 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3023 CTIME_CC=config/locale/generic/time_members.cc
3026 echo "$ac_t""gnu" 1>&6
3028 # Declare intention to use gettext, and add support for specific
3030 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3033 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3034 # Extract the first word of "msgfmt", so it can be a program name with args.
3035 set dummy msgfmt; ac_word=$2
3036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3037 echo "configure:3038: checking for $ac_word" >&5
3038 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3039 echo $ac_n "(cached) $ac_c" 1>&6
3041 if test -n "$check_msgfmt"; then
3042 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3044 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3046 for ac_dir in $ac_dummy; do
3047 test -z "$ac_dir" && ac_dir=.
3048 if test -f $ac_dir/$ac_word; then
3049 ac_cv_prog_check_msgfmt="yes"
3054 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3057 check_msgfmt="$ac_cv_prog_check_msgfmt"
3058 if test -n "$check_msgfmt"; then
3059 echo "$ac_t""$check_msgfmt" 1>&6
3061 echo "$ac_t""no" 1>&6
3064 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3067 # Export the build objects.
3068 for ling in $ALL_LINGUAS; do \
3069 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3070 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3075 CLOCALE_H=config/locale/gnu/c_locale.h
3076 CLOCALE_CC=config/locale/gnu/c_locale.cc
3077 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3078 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3079 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3080 CMESSAGES_H=config/locale/gnu/messages_members.h
3081 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3082 CMONEY_CC=config/locale/gnu/monetary_members.cc
3083 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3084 CTIME_CC=config/locale/gnu/time_members.cc
3087 echo "$ac_t""generic" 1>&6
3089 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3090 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3091 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3092 CCOLLATE_CC=config/locale/generic/collate_members.cc
3093 CCTYPE_CC=config/locale/generic/ctype_members.cc
3094 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3095 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3096 CMONEY_CC=config/locale/generic/monetary_members.cc
3097 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3098 CTIME_CC=config/locale/generic/time_members.cc
3101 echo "$enable_clocale is an unknown locale package" 1>&2
3106 # This is where the testsuite looks for locale catalogs, using the
3107 # -DLOCALEDIR define during testsuite compilation.
3108 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3123 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3124 if test "${enable_c_mbchar+set}" = set; then
3125 enableval="$enable_c_mbchar"
3126 case "$enableval" in
3127 yes) enable_c_mbchar=yes ;;
3128 no) enable_c_mbchar=no ;;
3129 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3136 # Check whether --enable-c99 or --disable-c99 was given.
3137 if test "${enable_c99+set}" = set; then
3138 enableval="$enable_c99"
3139 case "$enableval" in
3140 yes) enable_c99=yes ;;
3141 no) enable_c99=no ;;
3142 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3151 ac_cpp='$CXXCPP $CPPFLAGS'
3152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3154 cross_compiling=$ac_cv_prog_cxx_cross
3157 # Check for the existence of <math.h> functions used if C99 is enabled.
3159 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3160 echo "configure:3161: checking for ISO C99 support in <math.h>" >&5
3161 cat > conftest.$ac_ext <<EOF
3162 #line 3163 "configure"
3163 #include "confdefs.h"
3169 if { (eval echo configure:3170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3172 echo "configure: failed program was:" >&5
3173 cat conftest.$ac_ext >&5
3178 cat > conftest.$ac_ext <<EOF
3179 #line 3180 "configure"
3180 #include "confdefs.h"
3186 if { (eval echo configure:3187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3189 echo "configure: failed program was:" >&5
3190 cat conftest.$ac_ext >&5
3195 cat > conftest.$ac_ext <<EOF
3196 #line 3197 "configure"
3197 #include "confdefs.h"
3203 if { (eval echo configure:3204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3206 echo "configure: failed program was:" >&5
3207 cat conftest.$ac_ext >&5
3212 cat > conftest.$ac_ext <<EOF
3213 #line 3214 "configure"
3214 #include "confdefs.h"
3220 if { (eval echo configure:3221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3223 echo "configure: failed program was:" >&5
3224 cat conftest.$ac_ext >&5
3229 cat > conftest.$ac_ext <<EOF
3230 #line 3231 "configure"
3231 #include "confdefs.h"
3237 if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3240 echo "configure: failed program was:" >&5
3241 cat conftest.$ac_ext >&5
3246 cat > conftest.$ac_ext <<EOF
3247 #line 3248 "configure"
3248 #include "confdefs.h"
3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3257 echo "configure: failed program was:" >&5
3258 cat conftest.$ac_ext >&5
3263 cat > conftest.$ac_ext <<EOF
3264 #line 3265 "configure"
3265 #include "confdefs.h"
3271 if { (eval echo configure:3272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3274 echo "configure: failed program was:" >&5
3275 cat conftest.$ac_ext >&5
3280 cat > conftest.$ac_ext <<EOF
3281 #line 3282 "configure"
3282 #include "confdefs.h"
3285 isgreaterequal(0.0,0.0);
3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 echo "configure: failed program was:" >&5
3292 cat conftest.$ac_ext >&5
3297 cat > conftest.$ac_ext <<EOF
3298 #line 3299 "configure"
3299 #include "confdefs.h"
3305 if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308 echo "configure: failed program was:" >&5
3309 cat conftest.$ac_ext >&5
3314 cat > conftest.$ac_ext <<EOF
3315 #line 3316 "configure"
3316 #include "confdefs.h"
3319 islessequal(0.0,0.0);
3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3325 echo "configure: failed program was:" >&5
3326 cat conftest.$ac_ext >&5
3331 cat > conftest.$ac_ext <<EOF
3332 #line 3333 "configure"
3333 #include "confdefs.h"
3336 islessgreater(0.0,0.0);
3339 if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3342 echo "configure: failed program was:" >&5
3343 cat conftest.$ac_ext >&5
3348 cat > conftest.$ac_ext <<EOF
3349 #line 3350 "configure"
3350 #include "confdefs.h"
3353 isunordered(0.0,0.0);
3356 if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3359 echo "configure: failed program was:" >&5
3360 cat conftest.$ac_ext >&5
3365 echo "$ac_t""$ac_c99_math" 1>&6
3367 # Check for the existence in <stdio.h> of vscanf, et. al.
3369 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3370 echo "configure:3371: checking for ISO C99 support in <stdio.h>" >&5
3371 cat > conftest.$ac_ext <<EOF
3372 #line 3373 "configure"
3373 #include "confdefs.h"
3376 snprintf("12", 0, "%i");
3379 if { (eval echo configure:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3382 echo "configure: failed program was:" >&5
3383 cat conftest.$ac_ext >&5
3388 cat > conftest.$ac_ext <<EOF
3389 #line 3390 "configure"
3390 #include "confdefs.h"
3393 void foo(char* fmt, ...)
3394 {va_list args; va_start(args, fmt);
3395 vfscanf(stderr, "%i", args);}
3400 if { (eval echo configure:3401: \"$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 3411 "configure"
3411 #include "confdefs.h"
3414 void foo(char* fmt, ...)
3415 {va_list args; va_start(args, fmt);
3416 vscanf("%i", args);}
3421 if { (eval echo configure:3422: \"$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 3432 "configure"
3432 #include "confdefs.h"
3435 void foo(char* fmt, ...)
3436 {va_list args; va_start(args, fmt);
3437 vsnprintf(fmt, 0, "%i", args);}
3442 if { (eval echo configure:3443: \"$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 3453 "configure"
3453 #include "confdefs.h"
3456 void foo(char* fmt, ...)
3457 {va_list args; va_start(args, fmt);
3458 vsscanf(fmt, "%i", args);}
3463 if { (eval echo configure:3464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3466 echo "configure: failed program was:" >&5
3467 cat conftest.$ac_ext >&5
3472 echo "$ac_t""$ac_c99_stdio" 1>&6
3474 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3476 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3477 echo "configure:3478: checking for lldiv_t declaration" >&5
3478 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3479 echo $ac_n "(cached) $ac_c" 1>&6
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure"
3484 #include "confdefs.h"
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3494 echo "configure: failed program was:" >&5
3495 cat conftest.$ac_ext >&5
3503 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3505 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3506 echo "configure:3507: checking for ISO C99 support in <stdlib.h>" >&5
3507 cat > conftest.$ac_ext <<EOF
3508 #line 3509 "configure"
3509 #include "confdefs.h"
3512 char* tmp; strtof("gnu", &tmp);
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure: failed program was:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure"
3526 #include "confdefs.h"
3529 char* tmp; strtold("gnu", &tmp);
3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3535 echo "configure: failed program was:" >&5
3536 cat conftest.$ac_ext >&5
3541 cat > conftest.$ac_ext <<EOF
3542 #line 3543 "configure"
3543 #include "confdefs.h"
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3552 echo "configure: failed program was:" >&5
3553 cat conftest.$ac_ext >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure"
3560 #include "confdefs.h"
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569 echo "configure: failed program was:" >&5
3570 cat conftest.$ac_ext >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure: failed program was:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure"
3594 #include "confdefs.h"
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure: failed program was:" >&5
3604 cat conftest.$ac_ext >&5
3609 if test x"$ac_c99_lldiv_t" = x"no"; then
3612 echo "$ac_t""$ac_c99_stdlib" 1>&6
3614 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3615 # XXX the wchar.h checks should be rolled into the general C99 bits.
3617 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3618 echo "configure:3619: checking for additional ISO C99 support in <wchar.h>" >&5
3619 cat > conftest.$ac_ext <<EOF
3620 #line 3621 "configure"
3621 #include "confdefs.h"
3624 wcstold(L"10.0", NULL);
3627 if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3630 echo "configure: failed program was:" >&5
3631 cat conftest.$ac_ext >&5
3636 cat > conftest.$ac_ext <<EOF
3637 #line 3638 "configure"
3638 #include "confdefs.h"
3641 wcstoll(L"10", NULL, 10);
3644 if { (eval echo configure:3645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3647 echo "configure: failed program was:" >&5
3648 cat conftest.$ac_ext >&5
3653 cat > conftest.$ac_ext <<EOF
3654 #line 3655 "configure"
3655 #include "confdefs.h"
3658 wcstoull(L"10", NULL, 10);
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3664 echo "configure: failed program was:" >&5
3665 cat conftest.$ac_ext >&5
3670 echo "$ac_t""$ac_c99_wchar" 1>&6
3672 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3673 echo "configure:3674: checking for enabled ISO C99 support" >&5
3674 if test x"$ac_c99_math" = x"no" ||
3675 test x"$ac_c99_stdio" = x"no" ||
3676 test x"$ac_c99_stdlib" = x"no" ||
3677 test x"$ac_c99_wchar" = x"no"; then
3680 echo "$ac_t""$enable_c99" 1>&6
3682 # Option parsed, now set things appropriately
3683 if test x"$enable_c99" = x"yes"; then
3684 cat >> confdefs.h <<\EOF
3685 #define _GLIBCPP_USE_C99 1
3691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3692 ac_cpp='$CPP $CPPFLAGS'
3693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3695 cross_compiling=$ac_cv_prog_cc_cross
3699 # Check whether --enable-long-long or --disable-long-long was given.
3700 if test "${enable_long_long+set}" = set; then
3701 enableval="$enable_long_long"
3702 case "$enableval" in
3703 yes) enable_long_long=yes ;;
3704 no) enable_long_long=no ;;
3705 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3708 enable_long_long=yes
3713 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3714 ac_cpp='$CXXCPP $CPPFLAGS'
3715 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3716 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3717 cross_compiling=$ac_cv_prog_cxx_cross
3720 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3721 echo "configure:3722: checking for enabled long long I/O support" >&5
3722 # iostreams require strtoll, strtoull to compile
3723 cat > conftest.$ac_ext <<EOF
3724 #line 3725 "configure"
3725 #include "confdefs.h"
3728 char* tmp; strtoll("gnu", &tmp, 10);
3731 if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3734 echo "configure: failed program was:" >&5
3735 cat conftest.$ac_ext >&5
3740 cat > conftest.$ac_ext <<EOF
3741 #line 3742 "configure"
3742 #include "confdefs.h"
3745 char* tmp; strtoull("gnu", &tmp, 10);
3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3751 echo "configure: failed program was:" >&5
3752 cat conftest.$ac_ext >&5
3758 # Option parsed, now set things appropriately
3759 if test x"$enable_long_long" = xyes; then
3760 cat >> confdefs.h <<\EOF
3761 #define _GLIBCPP_USE_LONG_LONG 1
3765 echo "$ac_t""$enable_long_long" 1>&6
3768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3772 cross_compiling=$ac_cv_prog_cc_cross
3775 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3776 echo "configure:3777: checking for c header strategy to use" >&5
3777 # Check whether --enable-cheaders or --disable-cheaders was given.
3778 if test "${enable_cheaders+set}" = set; then
3779 enableval="$enable_cheaders"
3781 case "$enableval" in
3786 enable_cheaders=c_std
3789 enable_cheaders=c_shadow
3791 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3795 enable_cheaders=c_std
3798 echo "$ac_t""$enable_cheaders" 1>&6
3800 case "$enable_cheaders" in
3802 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3805 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3808 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3815 if test "$enable_cheaders" = c; then
3816 GLIBCPP_C_HEADERS_C_TRUE=
3817 GLIBCPP_C_HEADERS_C_FALSE='#'
3819 GLIBCPP_C_HEADERS_C_TRUE='#'
3820 GLIBCPP_C_HEADERS_C_FALSE=
3824 if test "$enable_cheaders" = c_std; then
3825 GLIBCPP_C_HEADERS_C_STD_TRUE=
3826 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3828 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3829 GLIBCPP_C_HEADERS_C_STD_FALSE=
3833 if test "$c_compatibility" = yes; then
3834 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3835 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3837 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3838 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3842 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3843 echo "configure:3844: checking for thread model used by GCC" >&5
3844 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3845 echo "$ac_t""$target_thread_file" 1>&6
3847 if test $target_thread_file != single; then
3848 cat >> confdefs.h <<\EOF
3849 #define HAVE_GTHR_DEFAULT 1
3852 cat >> confdefs.h <<\EOF
3853 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3858 glibcpp_thread_h=gthr-$target_thread_file.h
3861 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3862 if test "${enable_cxx_flags+set}" = set; then
3863 enableval="$enable_cxx_flags"
3864 case "x$enableval" in
3866 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3868 enable_cxx_flags='' ;;
3870 enable_cxx_flags="$enableval" ;;
3873 enable_cxx_flags='none'
3877 if test "$enable_cxx_flags" = "none"; then
3878 enable_cxx_flags='';
3881 if test -n "$enable_cxx_flags"; then
3882 for f in $enable_cxx_flags; do
3886 *) # and we're trying to pass /what/ exactly?
3887 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3891 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3895 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3896 echo "configure:3897: checking for exception model to use" >&5
3899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3900 ac_cpp='$CXXCPP $CPPFLAGS'
3901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3903 cross_compiling=$ac_cv_prog_cxx_cross
3905 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3906 if test "${enable_sjlj_exceptions+set}" = set; then
3907 enableval="$enable_sjlj_exceptions"
3910 cat > conftest.$ac_ext << EOF
3911 #line 3912 "configure"
3920 old_CXXFLAGS="$CXXFLAGS"
3922 if { (eval echo configure:3923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3923 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3924 enable_sjlj_exceptions=yes
3925 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3926 enable_sjlj_exceptions=no
3929 CXXFLAGS="$old_CXXFLAGS"
3933 if test x$enable_sjlj_exceptions = xyes; then
3934 cat >> confdefs.h <<\EOF
3935 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3938 ac_exception_model_name=sjlj
3939 elif test x$enable_sjlj_exceptions = xno; then
3940 ac_exception_model_name="call frame"
3942 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3946 ac_cpp='$CPP $CPPFLAGS'
3947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3949 cross_compiling=$ac_cv_prog_cc_cross
3951 echo "$ac_t""$ac_exception_model_name" 1>&6
3954 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3955 echo "configure:3956: checking for use of libunwind" >&5
3956 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3957 if test "${enable_libunwind_exceptions+set}" = set; then
3958 enableval="$enable_libunwind_exceptions"
3959 use_libunwind_exceptions=$enableval
3961 use_libunwind_exceptions=no
3964 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3965 if test x"$use_libunwind_exceptions" = xyes; then
3966 LIBUNWIND_FLAG="-lunwind"
3972 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3973 if test "${enable_concept_checks+set}" = set; then
3974 enableval="$enable_concept_checks"
3975 case "$enableval" in
3976 yes) enable_concept_checks=yes ;;
3977 no) enable_concept_checks=no ;;
3978 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
3981 enable_concept_checks=no
3983 if test x"$enable_concept_checks" = xyes; then
3984 cat >> confdefs.h <<\EOF
3985 #define _GLIBCPP_CONCEPT_CHECKS 1
3991 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
3992 for ac_hdr in string.h stdlib.h
3994 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3995 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3996 echo "configure:3997: checking for $ac_hdr" >&5
3997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3998 echo $ac_n "(cached) $ac_c" 1>&6
4000 cat > conftest.$ac_ext <<EOF
4001 #line 4002 "configure"
4002 #include "confdefs.h"
4005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4006 { (eval echo configure:4007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4008 if test -z "$ac_err"; then
4010 eval "ac_cv_header_$ac_safe=yes"
4013 echo "configure: failed program was:" >&5
4014 cat conftest.$ac_ext >&5
4016 eval "ac_cv_header_$ac_safe=no"
4020 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4021 echo "$ac_t""yes" 1>&6
4022 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4023 cat >> confdefs.h <<EOF
4024 #define $ac_tr_hdr 1
4028 echo "$ac_t""no" 1>&6
4033 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4035 # We are being configured with some form of cross compiler.
4036 GLIBCPP_IS_CROSS_COMPILING=1
4038 # This lets us hard-code the functionality we know we'll have in the cross
4039 # target environment. "Let" is a sugar-coated word placed on an especially
4040 # dull and tedious hack, actually.
4042 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4043 # that involve linking, can't be used:
4044 # "cannot open sim-crt0.o"
4045 # "cannot open crt0.o"
4046 # etc. All this is because there currently exists no unified, consistent
4047 # way for top level CC information to be passed down to target directories:
4048 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4049 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4050 # crosses can be removed.
4052 # If Canadian cross, then don't pick up tools from the build directory.
4053 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4054 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4060 # Construct crosses by hand, eliminating bits that need ld...
4061 # GLIBCPP_CHECK_COMPILER_FEATURES
4062 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4063 # GLIBCPP_CHECK_MATH_SUPPORT
4065 case "$target_alias" in
4067 os_include_dir="os/gnu-linux"
4068 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4069 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4070 fp.h locale.h float.h inttypes.h
4072 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4074 echo "configure:4075: checking for $ac_hdr" >&5
4075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4076 echo $ac_n "(cached) $ac_c" 1>&6
4078 cat > conftest.$ac_ext <<EOF
4079 #line 4080 "configure"
4080 #include "confdefs.h"
4083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4084 { (eval echo configure:4085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4086 if test -z "$ac_err"; then
4088 eval "ac_cv_header_$ac_safe=yes"
4091 echo "configure: failed program was:" >&5
4092 cat conftest.$ac_ext >&5
4094 eval "ac_cv_header_$ac_safe=no"
4098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4099 echo "$ac_t""yes" 1>&6
4100 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4101 cat >> confdefs.h <<EOF
4102 #define $ac_tr_hdr 1
4106 echo "$ac_t""no" 1>&6
4110 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4113 # If we're not using GNU ld, then there's no point in even trying these
4114 # tests. Check for that first. We should have already tested for gld
4115 # by now (in libtool), but require it now just to be safe...
4116 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4117 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4120 # The name set by libtool depends on the version of libtool. Shame on us
4121 # for depending on an impl detail, but c'est la vie. Older versions used
4122 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4123 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4124 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4125 # set (hence we're using an older libtool), then set it.
4126 if test x${with_gnu_ld+set} != xset; then
4127 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4128 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4131 with_gnu_ld=$ac_cv_prog_gnu_ld
4135 # Start by getting the version number. I think the libtool test already
4136 # does some of this, but throws away the result.
4138 ldver=`$LD --version 2>/dev/null | head -1 | \
4139 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4141 glibcpp_gnu_ld_version=`echo $ldver | \
4142 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4144 # Set --gc-sections.
4145 if test "$with_gnu_ld" = "notbroken"; then
4146 # GNU ld it is! Joy and bunny rabbits!
4148 # All these tests are for C++; save the language and the compiler flags.
4149 # Need to do this so that g++ won't try to link in libstdc++
4150 ac_test_CFLAGS="${CFLAGS+set}"
4151 ac_save_CFLAGS="$CFLAGS"
4152 CFLAGS='-x c++ -Wl,--gc-sections'
4154 # Check for -Wl,--gc-sections
4155 # XXX This test is broken at the moment, as symbols required for
4156 # linking are now in libsupc++ (not built yet.....). In addition,
4157 # this test has cored on solaris in the past. In addition,
4158 # --gc-sections doesn't really work at the moment (keeps on discarding
4159 # used sections, first .eh_frame and now some of the glibc sections for
4160 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4161 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4162 echo "configure:4163: checking for ld that supports -Wl,--gc-sections" >&5
4163 if test "$cross_compiling" = yes; then
4164 ac_sectionLDflags=yes
4166 cat > conftest.$ac_ext <<EOF
4167 #line 4168 "configure"
4168 #include "confdefs.h"
4178 if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4180 ac_sectionLDflags=yes
4182 echo "configure: failed program was:" >&5
4183 cat conftest.$ac_ext >&5
4185 ac_sectionLDflags=no
4190 if test "$ac_test_CFLAGS" = set; then
4191 CFLAGS="$ac_save_CFLAGS"
4193 # this is the suspicious part
4196 if test "$ac_sectionLDflags" = "yes"; then
4197 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4199 echo "$ac_t""$ac_sectionLDflags" 1>&6
4202 # Set linker optimization flags.
4203 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4204 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4211 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4212 echo "configure:4213: checking for main in -lm" >&5
4213 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4215 echo $ac_n "(cached) $ac_c" 1>&6
4217 ac_save_LIBS="$LIBS"
4219 cat > conftest.$ac_ext <<EOF
4220 #line 4221 "configure"
4221 #include "confdefs.h"
4227 if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4229 eval "ac_cv_lib_$ac_lib_var=yes"
4231 echo "configure: failed program was:" >&5
4232 cat conftest.$ac_ext >&5
4234 eval "ac_cv_lib_$ac_lib_var=no"
4237 LIBS="$ac_save_LIBS"
4240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4241 echo "$ac_t""yes" 1>&6
4242 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4243 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4244 cat >> confdefs.h <<EOF
4245 #define $ac_tr_lib 1
4251 echo "$ac_t""no" 1>&6
4254 for ac_func in nan copysignf
4256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4257 echo "configure:4258: checking for $ac_func" >&5
4258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4259 echo $ac_n "(cached) $ac_c" 1>&6
4261 cat > conftest.$ac_ext <<EOF
4262 #line 4263 "configure"
4263 #include "confdefs.h"
4264 /* System header to define __stub macros and hopefully few prototypes,
4265 which can conflict with char $ac_func(); below. */
4267 /* Override any gcc2 internal prototype to avoid an error. */
4268 /* We use char because int might match the return type of a gcc2
4269 builtin and then its argument prototype would still apply. */
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4285 if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4287 eval "ac_cv_func_$ac_func=yes"
4289 echo "configure: failed program was:" >&5
4290 cat conftest.$ac_ext >&5
4292 eval "ac_cv_func_$ac_func=no"
4297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4298 echo "$ac_t""yes" 1>&6
4299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4300 cat >> confdefs.h <<EOF
4301 #define $ac_tr_func 1
4305 echo "$ac_t""no" 1>&6
4306 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4311 for ac_func in __signbit
4313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4314 echo "configure:4315: checking for $ac_func" >&5
4315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4316 echo $ac_n "(cached) $ac_c" 1>&6
4318 cat > conftest.$ac_ext <<EOF
4319 #line 4320 "configure"
4320 #include "confdefs.h"
4321 /* System header to define __stub macros and hopefully few prototypes,
4322 which can conflict with char $ac_func(); below. */
4324 /* Override any gcc2 internal prototype to avoid an error. */
4325 /* We use char because int might match the return type of a gcc2
4326 builtin and then its argument prototype would still apply. */
4331 /* The GNU C library defines this for functions which it implements
4332 to always fail with ENOSYS. Some functions are actually named
4333 something starting with __ and the normal name is an alias. */
4334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4342 if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4344 eval "ac_cv_func_$ac_func=yes"
4346 echo "configure: failed program was:" >&5
4347 cat conftest.$ac_ext >&5
4349 eval "ac_cv_func_$ac_func=no"
4354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4355 echo "$ac_t""yes" 1>&6
4356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4357 cat >> confdefs.h <<EOF
4358 #define $ac_tr_func 1
4362 echo "$ac_t""no" 1>&6
4363 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4367 for ac_func in __signbitf
4369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4370 echo "configure:4371: checking for $ac_func" >&5
4371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4372 echo $ac_n "(cached) $ac_c" 1>&6
4374 cat > conftest.$ac_ext <<EOF
4375 #line 4376 "configure"
4376 #include "confdefs.h"
4377 /* System header to define __stub macros and hopefully few prototypes,
4378 which can conflict with char $ac_func(); below. */
4380 /* Override any gcc2 internal prototype to avoid an error. */
4381 /* We use char because int might match the return type of a gcc2
4382 builtin and then its argument prototype would still apply. */
4387 /* The GNU C library defines this for functions which it implements
4388 to always fail with ENOSYS. Some functions are actually named
4389 something starting with __ and the normal name is an alias. */
4390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4398 if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4400 eval "ac_cv_func_$ac_func=yes"
4402 echo "configure: failed program was:" >&5
4403 cat conftest.$ac_ext >&5
4405 eval "ac_cv_func_$ac_func=no"
4410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4411 echo "$ac_t""yes" 1>&6
4412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4413 cat >> confdefs.h <<EOF
4414 #define $ac_tr_func 1
4418 echo "$ac_t""no" 1>&6
4419 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4424 if test x$ac_cv_func_copysignl = x"yes"; then
4425 for ac_func in __signbitl
4427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4428 echo "configure:4429: checking for $ac_func" >&5
4429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4430 echo $ac_n "(cached) $ac_c" 1>&6
4432 cat > conftest.$ac_ext <<EOF
4433 #line 4434 "configure"
4434 #include "confdefs.h"
4435 /* System header to define __stub macros and hopefully few prototypes,
4436 which can conflict with char $ac_func(); below. */
4438 /* Override any gcc2 internal prototype to avoid an error. */
4439 /* We use char because int might match the return type of a gcc2
4440 builtin and then its argument prototype would still apply. */
4445 /* The GNU C library defines this for functions which it implements
4446 to always fail with ENOSYS. Some functions are actually named
4447 something starting with __ and the normal name is an alias. */
4448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4456 if { (eval echo configure:4457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4458 eval "ac_cv_func_$ac_func=yes"
4460 echo "configure: failed program was:" >&5
4461 cat conftest.$ac_ext >&5
4463 eval "ac_cv_func_$ac_func=no"
4468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4469 echo "$ac_t""yes" 1>&6
4470 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4471 cat >> confdefs.h <<EOF
4472 #define $ac_tr_func 1
4476 echo "$ac_t""no" 1>&6
4477 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4487 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4488 echo "configure:4489: checking for mbstate_t" >&5
4489 cat > conftest.$ac_ext <<EOF
4490 #line 4491 "configure"
4491 #include "confdefs.h"
4494 mbstate_t teststate;
4497 if { (eval echo configure:4498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4501 echo "configure: failed program was:" >&5
4502 cat conftest.$ac_ext >&5
4507 echo "$ac_t""$have_mbstate_t" 1>&6
4508 if test x"$have_mbstate_t" = xyes; then
4509 cat >> confdefs.h <<\EOF
4510 #define HAVE_MBSTATE_T 1
4515 for ac_hdr in wchar.h
4517 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4518 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4519 echo "configure:4520: checking for $ac_hdr" >&5
4520 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4521 echo $ac_n "(cached) $ac_c" 1>&6
4523 cat > conftest.$ac_ext <<EOF
4524 #line 4525 "configure"
4525 #include "confdefs.h"
4528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4529 { (eval echo configure:4530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4531 if test -z "$ac_err"; then
4533 eval "ac_cv_header_$ac_safe=yes"
4536 echo "configure: failed program was:" >&5
4537 cat conftest.$ac_ext >&5
4539 eval "ac_cv_header_$ac_safe=no"
4543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4544 echo "$ac_t""yes" 1>&6
4545 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4546 cat >> confdefs.h <<EOF
4547 #define $ac_tr_hdr 1
4551 echo "$ac_t""no" 1>&6
4556 for ac_hdr in wctype.h
4558 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4560 echo "configure:4561: checking for $ac_hdr" >&5
4561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4562 echo $ac_n "(cached) $ac_c" 1>&6
4564 cat > conftest.$ac_ext <<EOF
4565 #line 4566 "configure"
4566 #include "confdefs.h"
4569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4570 { (eval echo configure:4571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4572 if test -z "$ac_err"; then
4574 eval "ac_cv_header_$ac_safe=yes"
4577 echo "configure: failed program was:" >&5
4578 cat conftest.$ac_ext >&5
4580 eval "ac_cv_header_$ac_safe=no"
4584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4585 echo "$ac_t""yes" 1>&6
4586 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4587 cat >> confdefs.h <<EOF
4588 #define $ac_tr_hdr 1
4592 echo "$ac_t""no" 1>&6
4598 if test x"$ac_has_wchar_h" = xyes &&
4599 test x"$ac_has_wctype_h" = xyes &&
4600 test x"$enable_c_mbchar" != xno; then
4602 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4603 echo "configure:4604: checking for WCHAR_MIN and WCHAR_MAX" >&5
4604 cat > conftest.$ac_ext <<EOF
4605 #line 4606 "configure"
4606 #include "confdefs.h"
4609 int i = WCHAR_MIN; int j = WCHAR_MAX;
4612 if { (eval echo configure:4613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4614 has_wchar_minmax=yes
4616 echo "configure: failed program was:" >&5
4617 cat conftest.$ac_ext >&5
4622 echo "$ac_t""$has_wchar_minmax" 1>&6
4624 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4625 echo "configure:4626: checking for WEOF" >&5
4626 cat > conftest.$ac_ext <<EOF
4627 #line 4628 "configure"
4628 #include "confdefs.h"
4636 if { (eval echo configure:4637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4640 echo "configure: failed program was:" >&5
4641 cat conftest.$ac_ext >&5
4646 echo "$ac_t""$has_weof" 1>&6
4649 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4652 echo "configure:4653: checking for $ac_func" >&5
4653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4654 echo $ac_n "(cached) $ac_c" 1>&6
4656 cat > conftest.$ac_ext <<EOF
4657 #line 4658 "configure"
4658 #include "confdefs.h"
4659 /* System header to define __stub macros and hopefully few prototypes,
4660 which can conflict with char $ac_func(); below. */
4662 /* Override any gcc2 internal prototype to avoid an error. */
4663 /* We use char because int might match the return type of a gcc2
4664 builtin and then its argument prototype would still apply. */
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4680 if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4682 eval "ac_cv_func_$ac_func=yes"
4684 echo "configure: failed program was:" >&5
4685 cat conftest.$ac_ext >&5
4687 eval "ac_cv_func_$ac_func=no"
4692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4693 echo "$ac_t""yes" 1>&6
4694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4695 cat >> confdefs.h <<EOF
4696 #define $ac_tr_func 1
4700 echo "$ac_t""no" 1>&6
4707 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4708 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4709 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4710 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4711 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4712 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4715 echo "configure:4716: checking for $ac_func" >&5
4716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4717 echo $ac_n "(cached) $ac_c" 1>&6
4719 cat > conftest.$ac_ext <<EOF
4720 #line 4721 "configure"
4721 #include "confdefs.h"
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char $ac_func(); below. */
4725 /* Override any gcc2 internal prototype to avoid an error. */
4726 /* We use char because int might match the return type of a gcc2
4727 builtin and then its argument prototype would still apply. */
4732 /* The GNU C library defines this for functions which it implements
4733 to always fail with ENOSYS. Some functions are actually named
4734 something starting with __ and the normal name is an alias. */
4735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4743 if { (eval echo configure:4744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4745 eval "ac_cv_func_$ac_func=yes"
4747 echo "configure: failed program was:" >&5
4748 cat conftest.$ac_ext >&5
4750 eval "ac_cv_func_$ac_func=no"
4755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4756 echo "$ac_t""yes" 1>&6
4757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4758 cat >> confdefs.h <<EOF
4759 #define $ac_tr_func 1
4763 echo "$ac_t""no" 1>&6
4770 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4771 echo "configure:4772: checking for ISO C99 wchar_t support" >&5
4772 if test x"$has_weof" = xyes &&
4773 test x"$has_wchar_minmax" = xyes &&
4774 test x"$ac_wfuncs" = xyes; then
4775 ac_isoC99_wchar_t=yes
4777 ac_isoC99_wchar_t=no
4779 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4781 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4782 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4783 echo "configure:4784: checking for iconv.h" >&5
4784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4785 echo $ac_n "(cached) $ac_c" 1>&6
4787 cat > conftest.$ac_ext <<EOF
4788 #line 4789 "configure"
4789 #include "confdefs.h"
4792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4793 { (eval echo configure:4794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4795 if test -z "$ac_err"; then
4797 eval "ac_cv_header_$ac_safe=yes"
4800 echo "configure: failed program was:" >&5
4801 cat conftest.$ac_ext >&5
4803 eval "ac_cv_header_$ac_safe=no"
4807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4808 echo "$ac_t""yes" 1>&6
4811 echo "$ac_t""no" 1>&6
4815 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4816 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4817 echo "configure:4818: checking for langinfo.h" >&5
4818 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4819 echo $ac_n "(cached) $ac_c" 1>&6
4821 cat > conftest.$ac_ext <<EOF
4822 #line 4823 "configure"
4823 #include "confdefs.h"
4824 #include <langinfo.h>
4826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4827 { (eval echo configure:4828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4829 if test -z "$ac_err"; then
4831 eval "ac_cv_header_$ac_safe=yes"
4834 echo "configure: failed program was:" >&5
4835 cat conftest.$ac_ext >&5
4837 eval "ac_cv_header_$ac_safe=no"
4841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4842 echo "$ac_t""yes" 1>&6
4843 ac_has_langinfo_h=yes
4845 echo "$ac_t""no" 1>&6
4846 ac_has_langinfo_h=no
4850 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4851 echo "configure:4852: checking for iconv in -liconv" >&5
4852 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4853 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4854 echo $ac_n "(cached) $ac_c" 1>&6
4856 ac_save_LIBS="$LIBS"
4857 LIBS="-liconv $LIBS"
4858 cat > conftest.$ac_ext <<EOF
4859 #line 4860 "configure"
4860 #include "confdefs.h"
4861 /* Override any gcc2 internal prototype to avoid an error. */
4862 /* We use char because int might match the return type of a gcc2
4863 builtin and then its argument prototype would still apply. */
4870 if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4872 eval "ac_cv_lib_$ac_lib_var=yes"
4874 echo "configure: failed program was:" >&5
4875 cat conftest.$ac_ext >&5
4877 eval "ac_cv_lib_$ac_lib_var=no"
4880 LIBS="$ac_save_LIBS"
4883 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4884 echo "$ac_t""yes" 1>&6
4887 echo "$ac_t""no" 1>&6
4890 ac_save_LIBS="$LIBS"
4891 LIBS="$LIBS $libiconv"
4893 for ac_func in iconv_open iconv_close iconv nl_langinfo
4895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4896 echo "configure:4897: checking for $ac_func" >&5
4897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4898 echo $ac_n "(cached) $ac_c" 1>&6
4900 cat > conftest.$ac_ext <<EOF
4901 #line 4902 "configure"
4902 #include "confdefs.h"
4903 /* System header to define __stub macros and hopefully few prototypes,
4904 which can conflict with char $ac_func(); below. */
4906 /* Override any gcc2 internal prototype to avoid an error. */
4907 /* We use char because int might match the return type of a gcc2
4908 builtin and then its argument prototype would still apply. */
4913 /* The GNU C library defines this for functions which it implements
4914 to always fail with ENOSYS. Some functions are actually named
4915 something starting with __ and the normal name is an alias. */
4916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4924 if { (eval echo configure:4925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4926 eval "ac_cv_func_$ac_func=yes"
4928 echo "configure: failed program was:" >&5
4929 cat conftest.$ac_ext >&5
4931 eval "ac_cv_func_$ac_func=no"
4936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4937 echo "$ac_t""yes" 1>&6
4938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4939 cat >> confdefs.h <<EOF
4940 #define $ac_tr_func 1
4945 echo "$ac_t""no" 1>&6
4951 LIBS="$ac_save_LIBS"
4953 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4954 echo "configure:4955: checking for XPG2 wchar_t support" >&5
4955 if test x"$ac_has_iconv_h" = xyes &&
4956 test x"$ac_has_langinfo_h" = xyes &&
4957 test x"$ac_XPG2funcs" = xyes; then
4962 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4964 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4965 echo "configure:4966: checking for enabled wchar_t specializations" >&5
4966 if test x"$ac_isoC99_wchar_t" = xyes &&
4967 test x"$ac_XPG2_wchar_t" = xyes; then
4968 cat >> confdefs.h <<\EOF
4969 #define _GLIBCPP_USE_WCHAR_T 1
4972 echo "$ac_t"""yes"" 1>&6
4974 echo "$ac_t"""no"" 1>&6
4977 echo "configure: warning: wchar_t support disabled." 1>&2
4980 cat >> confdefs.h <<\EOF
4981 #define HAVE_COPYSIGN 1
4984 cat >> confdefs.h <<\EOF
4985 #define HAVE_COPYSIGNF 1
4988 cat >> confdefs.h <<\EOF
4989 #define HAVE_FINITE 1
4992 cat >> confdefs.h <<\EOF
4993 #define HAVE_FINITEF 1
4996 cat >> confdefs.h <<\EOF
4997 #define HAVE_FREXPF 1
5000 cat >> confdefs.h <<\EOF
5001 #define HAVE_HYPOTF 1
5004 cat >> confdefs.h <<\EOF
5005 #define HAVE_ISINF 1
5008 cat >> confdefs.h <<\EOF
5009 #define HAVE_ISINFF 1
5012 cat >> confdefs.h <<\EOF
5013 #define HAVE_ISNAN 1
5016 cat >> confdefs.h <<\EOF
5017 #define HAVE_ISNANF 1
5020 cat >> confdefs.h <<\EOF
5021 #define HAVE_SINCOS 1
5024 cat >> confdefs.h <<\EOF
5025 #define HAVE_SINCOSF 1
5028 if test x"long_double_math_on_this_cpu" = x"yes"; then
5029 cat >> confdefs.h <<\EOF
5030 #define HAVE_FINITEL 1
5033 cat >> confdefs.h <<\EOF
5034 #define HAVE_HYPOTL 1
5037 cat >> confdefs.h <<\EOF
5038 #define HAVE_ISINFL 1
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_ISNANL 1
5048 # Check for available headers.
5049 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5050 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5051 fp.h locale.h float.h inttypes.h
5053 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5055 echo "configure:5056: checking for $ac_hdr" >&5
5056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5057 echo $ac_n "(cached) $ac_c" 1>&6
5059 cat > conftest.$ac_ext <<EOF
5060 #line 5061 "configure"
5061 #include "confdefs.h"
5064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5065 { (eval echo configure:5066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5067 if test -z "$ac_err"; then
5069 eval "ac_cv_header_$ac_safe=yes"
5072 echo "configure: failed program was:" >&5
5073 cat conftest.$ac_ext >&5
5075 eval "ac_cv_header_$ac_safe=no"
5079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5080 echo "$ac_t""yes" 1>&6
5081 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5082 cat >> confdefs.h <<EOF
5083 #define $ac_tr_hdr 1
5087 echo "$ac_t""no" 1>&6
5091 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5094 # If we're not using GNU ld, then there's no point in even trying these
5095 # tests. Check for that first. We should have already tested for gld
5096 # by now (in libtool), but require it now just to be safe...
5097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5101 # The name set by libtool depends on the version of libtool. Shame on us
5102 # for depending on an impl detail, but c'est la vie. Older versions used
5103 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5104 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5105 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5106 # set (hence we're using an older libtool), then set it.
5107 if test x${with_gnu_ld+set} != xset; then
5108 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5109 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5112 with_gnu_ld=$ac_cv_prog_gnu_ld
5116 # Start by getting the version number. I think the libtool test already
5117 # does some of this, but throws away the result.
5119 ldver=`$LD --version 2>/dev/null | head -1 | \
5120 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5122 glibcpp_gnu_ld_version=`echo $ldver | \
5123 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5125 # Set --gc-sections.
5126 if test "$with_gnu_ld" = "notbroken"; then
5127 # GNU ld it is! Joy and bunny rabbits!
5129 # All these tests are for C++; save the language and the compiler flags.
5130 # Need to do this so that g++ won't try to link in libstdc++
5131 ac_test_CFLAGS="${CFLAGS+set}"
5132 ac_save_CFLAGS="$CFLAGS"
5133 CFLAGS='-x c++ -Wl,--gc-sections'
5135 # Check for -Wl,--gc-sections
5136 # XXX This test is broken at the moment, as symbols required for
5137 # linking are now in libsupc++ (not built yet.....). In addition,
5138 # this test has cored on solaris in the past. In addition,
5139 # --gc-sections doesn't really work at the moment (keeps on discarding
5140 # used sections, first .eh_frame and now some of the glibc sections for
5141 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5142 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5143 echo "configure:5144: checking for ld that supports -Wl,--gc-sections" >&5
5144 if test "$cross_compiling" = yes; then
5145 ac_sectionLDflags=yes
5147 cat > conftest.$ac_ext <<EOF
5148 #line 5149 "configure"
5149 #include "confdefs.h"
5159 if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5161 ac_sectionLDflags=yes
5163 echo "configure: failed program was:" >&5
5164 cat conftest.$ac_ext >&5
5166 ac_sectionLDflags=no
5171 if test "$ac_test_CFLAGS" = set; then
5172 CFLAGS="$ac_save_CFLAGS"
5174 # this is the suspicious part
5177 if test "$ac_sectionLDflags" = "yes"; then
5178 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5180 echo "$ac_t""$ac_sectionLDflags" 1>&6
5183 # Set linker optimization flags.
5184 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5185 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5192 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5193 echo "configure:5194: checking for main in -lm" >&5
5194 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5196 echo $ac_n "(cached) $ac_c" 1>&6
5198 ac_save_LIBS="$LIBS"
5200 cat > conftest.$ac_ext <<EOF
5201 #line 5202 "configure"
5202 #include "confdefs.h"
5208 if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5210 eval "ac_cv_lib_$ac_lib_var=yes"
5212 echo "configure: failed program was:" >&5
5213 cat conftest.$ac_ext >&5
5215 eval "ac_cv_lib_$ac_lib_var=no"
5218 LIBS="$ac_save_LIBS"
5221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5222 echo "$ac_t""yes" 1>&6
5223 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5224 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5225 cat >> confdefs.h <<EOF
5226 #define $ac_tr_lib 1
5232 echo "$ac_t""no" 1>&6
5235 for ac_func in nan copysignf
5237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5238 echo "configure:5239: checking for $ac_func" >&5
5239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5240 echo $ac_n "(cached) $ac_c" 1>&6
5242 cat > conftest.$ac_ext <<EOF
5243 #line 5244 "configure"
5244 #include "confdefs.h"
5245 /* System header to define __stub macros and hopefully few prototypes,
5246 which can conflict with char $ac_func(); below. */
5248 /* Override any gcc2 internal prototype to avoid an error. */
5249 /* We use char because int might match the return type of a gcc2
5250 builtin and then its argument prototype would still apply. */
5255 /* The GNU C library defines this for functions which it implements
5256 to always fail with ENOSYS. Some functions are actually named
5257 something starting with __ and the normal name is an alias. */
5258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5266 if { (eval echo configure:5267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5268 eval "ac_cv_func_$ac_func=yes"
5270 echo "configure: failed program was:" >&5
5271 cat conftest.$ac_ext >&5
5273 eval "ac_cv_func_$ac_func=no"
5278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5279 echo "$ac_t""yes" 1>&6
5280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5281 cat >> confdefs.h <<EOF
5282 #define $ac_tr_func 1
5286 echo "$ac_t""no" 1>&6
5287 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5292 for ac_func in __signbit
5294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5295 echo "configure:5296: checking for $ac_func" >&5
5296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5297 echo $ac_n "(cached) $ac_c" 1>&6
5299 cat > conftest.$ac_ext <<EOF
5300 #line 5301 "configure"
5301 #include "confdefs.h"
5302 /* System header to define __stub macros and hopefully few prototypes,
5303 which can conflict with char $ac_func(); below. */
5305 /* Override any gcc2 internal prototype to avoid an error. */
5306 /* We use char because int might match the return type of a gcc2
5307 builtin and then its argument prototype would still apply. */
5312 /* The GNU C library defines this for functions which it implements
5313 to always fail with ENOSYS. Some functions are actually named
5314 something starting with __ and the normal name is an alias. */
5315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5323 if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5325 eval "ac_cv_func_$ac_func=yes"
5327 echo "configure: failed program was:" >&5
5328 cat conftest.$ac_ext >&5
5330 eval "ac_cv_func_$ac_func=no"
5335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5336 echo "$ac_t""yes" 1>&6
5337 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5338 cat >> confdefs.h <<EOF
5339 #define $ac_tr_func 1
5343 echo "$ac_t""no" 1>&6
5344 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5348 for ac_func in __signbitf
5350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5351 echo "configure:5352: checking for $ac_func" >&5
5352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5353 echo $ac_n "(cached) $ac_c" 1>&6
5355 cat > conftest.$ac_ext <<EOF
5356 #line 5357 "configure"
5357 #include "confdefs.h"
5358 /* System header to define __stub macros and hopefully few prototypes,
5359 which can conflict with char $ac_func(); below. */
5361 /* Override any gcc2 internal prototype to avoid an error. */
5362 /* We use char because int might match the return type of a gcc2
5363 builtin and then its argument prototype would still apply. */
5368 /* The GNU C library defines this for functions which it implements
5369 to always fail with ENOSYS. Some functions are actually named
5370 something starting with __ and the normal name is an alias. */
5371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5379 if { (eval echo configure:5380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5381 eval "ac_cv_func_$ac_func=yes"
5383 echo "configure: failed program was:" >&5
5384 cat conftest.$ac_ext >&5
5386 eval "ac_cv_func_$ac_func=no"
5391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5392 echo "$ac_t""yes" 1>&6
5393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5394 cat >> confdefs.h <<EOF
5395 #define $ac_tr_func 1
5399 echo "$ac_t""no" 1>&6
5400 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5405 if test x$ac_cv_func_copysignl = x"yes"; then
5406 for ac_func in __signbitl
5408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5409 echo "configure:5410: checking for $ac_func" >&5
5410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5411 echo $ac_n "(cached) $ac_c" 1>&6
5413 cat > conftest.$ac_ext <<EOF
5414 #line 5415 "configure"
5415 #include "confdefs.h"
5416 /* System header to define __stub macros and hopefully few prototypes,
5417 which can conflict with char $ac_func(); below. */
5419 /* Override any gcc2 internal prototype to avoid an error. */
5420 /* We use char because int might match the return type of a gcc2
5421 builtin and then its argument prototype would still apply. */
5426 /* The GNU C library defines this for functions which it implements
5427 to always fail with ENOSYS. Some functions are actually named
5428 something starting with __ and the normal name is an alias. */
5429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5439 eval "ac_cv_func_$ac_func=yes"
5441 echo "configure: failed program was:" >&5
5442 cat conftest.$ac_ext >&5
5444 eval "ac_cv_func_$ac_func=no"
5449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5450 echo "$ac_t""yes" 1>&6
5451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5452 cat >> confdefs.h <<EOF
5453 #define $ac_tr_func 1
5457 echo "$ac_t""no" 1>&6
5458 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5468 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5469 echo "configure:5470: checking for mbstate_t" >&5
5470 cat > conftest.$ac_ext <<EOF
5471 #line 5472 "configure"
5472 #include "confdefs.h"
5475 mbstate_t teststate;
5478 if { (eval echo configure:5479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5482 echo "configure: failed program was:" >&5
5483 cat conftest.$ac_ext >&5
5488 echo "$ac_t""$have_mbstate_t" 1>&6
5489 if test x"$have_mbstate_t" = xyes; then
5490 cat >> confdefs.h <<\EOF
5491 #define HAVE_MBSTATE_T 1
5496 for ac_hdr in wchar.h
5498 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5499 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5500 echo "configure:5501: checking for $ac_hdr" >&5
5501 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5502 echo $ac_n "(cached) $ac_c" 1>&6
5504 cat > conftest.$ac_ext <<EOF
5505 #line 5506 "configure"
5506 #include "confdefs.h"
5509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5510 { (eval echo configure:5511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5512 if test -z "$ac_err"; then
5514 eval "ac_cv_header_$ac_safe=yes"
5517 echo "configure: failed program was:" >&5
5518 cat conftest.$ac_ext >&5
5520 eval "ac_cv_header_$ac_safe=no"
5524 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5525 echo "$ac_t""yes" 1>&6
5526 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5527 cat >> confdefs.h <<EOF
5528 #define $ac_tr_hdr 1
5532 echo "$ac_t""no" 1>&6
5537 for ac_hdr in wctype.h
5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5541 echo "configure:5542: checking for $ac_hdr" >&5
5542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5543 echo $ac_n "(cached) $ac_c" 1>&6
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5551 { (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5553 if test -z "$ac_err"; then
5555 eval "ac_cv_header_$ac_safe=yes"
5558 echo "configure: failed program was:" >&5
5559 cat conftest.$ac_ext >&5
5561 eval "ac_cv_header_$ac_safe=no"
5565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5566 echo "$ac_t""yes" 1>&6
5567 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5568 cat >> confdefs.h <<EOF
5569 #define $ac_tr_hdr 1
5573 echo "$ac_t""no" 1>&6
5579 if test x"$ac_has_wchar_h" = xyes &&
5580 test x"$ac_has_wctype_h" = xyes &&
5581 test x"$enable_c_mbchar" != xno; then
5583 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5584 echo "configure:5585: checking for WCHAR_MIN and WCHAR_MAX" >&5
5585 cat > conftest.$ac_ext <<EOF
5586 #line 5587 "configure"
5587 #include "confdefs.h"
5590 int i = WCHAR_MIN; int j = WCHAR_MAX;
5593 if { (eval echo configure:5594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5595 has_wchar_minmax=yes
5597 echo "configure: failed program was:" >&5
5598 cat conftest.$ac_ext >&5
5603 echo "$ac_t""$has_wchar_minmax" 1>&6
5605 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5606 echo "configure:5607: checking for WEOF" >&5
5607 cat > conftest.$ac_ext <<EOF
5608 #line 5609 "configure"
5609 #include "confdefs.h"
5617 if { (eval echo configure:5618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5621 echo "configure: failed program was:" >&5
5622 cat conftest.$ac_ext >&5
5627 echo "$ac_t""$has_weof" 1>&6
5630 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5633 echo "configure:5634: checking for $ac_func" >&5
5634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5635 echo $ac_n "(cached) $ac_c" 1>&6
5637 cat > conftest.$ac_ext <<EOF
5638 #line 5639 "configure"
5639 #include "confdefs.h"
5640 /* System header to define __stub macros and hopefully few prototypes,
5641 which can conflict with char $ac_func(); below. */
5643 /* Override any gcc2 internal prototype to avoid an error. */
5644 /* We use char because int might match the return type of a gcc2
5645 builtin and then its argument prototype would still apply. */
5650 /* The GNU C library defines this for functions which it implements
5651 to always fail with ENOSYS. Some functions are actually named
5652 something starting with __ and the normal name is an alias. */
5653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5663 eval "ac_cv_func_$ac_func=yes"
5665 echo "configure: failed program was:" >&5
5666 cat conftest.$ac_ext >&5
5668 eval "ac_cv_func_$ac_func=no"
5673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5674 echo "$ac_t""yes" 1>&6
5675 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5676 cat >> confdefs.h <<EOF
5677 #define $ac_tr_func 1
5681 echo "$ac_t""no" 1>&6
5688 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5689 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5690 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5691 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5692 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5693 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5696 echo "configure:5697: checking for $ac_func" >&5
5697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5698 echo $ac_n "(cached) $ac_c" 1>&6
5700 cat > conftest.$ac_ext <<EOF
5701 #line 5702 "configure"
5702 #include "confdefs.h"
5703 /* System header to define __stub macros and hopefully few prototypes,
5704 which can conflict with char $ac_func(); below. */
5706 /* Override any gcc2 internal prototype to avoid an error. */
5707 /* We use char because int might match the return type of a gcc2
5708 builtin and then its argument prototype would still apply. */
5713 /* The GNU C library defines this for functions which it implements
5714 to always fail with ENOSYS. Some functions are actually named
5715 something starting with __ and the normal name is an alias. */
5716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5724 if { (eval echo configure:5725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5726 eval "ac_cv_func_$ac_func=yes"
5728 echo "configure: failed program was:" >&5
5729 cat conftest.$ac_ext >&5
5731 eval "ac_cv_func_$ac_func=no"
5736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5737 echo "$ac_t""yes" 1>&6
5738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5739 cat >> confdefs.h <<EOF
5740 #define $ac_tr_func 1
5744 echo "$ac_t""no" 1>&6
5751 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5752 echo "configure:5753: checking for ISO C99 wchar_t support" >&5
5753 if test x"$has_weof" = xyes &&
5754 test x"$has_wchar_minmax" = xyes &&
5755 test x"$ac_wfuncs" = xyes; then
5756 ac_isoC99_wchar_t=yes
5758 ac_isoC99_wchar_t=no
5760 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5762 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5763 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5764 echo "configure:5765: checking for iconv.h" >&5
5765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5766 echo $ac_n "(cached) $ac_c" 1>&6
5768 cat > conftest.$ac_ext <<EOF
5769 #line 5770 "configure"
5770 #include "confdefs.h"
5773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5774 { (eval echo configure:5775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5776 if test -z "$ac_err"; then
5778 eval "ac_cv_header_$ac_safe=yes"
5781 echo "configure: failed program was:" >&5
5782 cat conftest.$ac_ext >&5
5784 eval "ac_cv_header_$ac_safe=no"
5788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5789 echo "$ac_t""yes" 1>&6
5792 echo "$ac_t""no" 1>&6
5796 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5797 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5798 echo "configure:5799: checking for langinfo.h" >&5
5799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5800 echo $ac_n "(cached) $ac_c" 1>&6
5802 cat > conftest.$ac_ext <<EOF
5803 #line 5804 "configure"
5804 #include "confdefs.h"
5805 #include <langinfo.h>
5807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5808 { (eval echo configure:5809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5810 if test -z "$ac_err"; then
5812 eval "ac_cv_header_$ac_safe=yes"
5815 echo "configure: failed program was:" >&5
5816 cat conftest.$ac_ext >&5
5818 eval "ac_cv_header_$ac_safe=no"
5822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5823 echo "$ac_t""yes" 1>&6
5824 ac_has_langinfo_h=yes
5826 echo "$ac_t""no" 1>&6
5827 ac_has_langinfo_h=no
5831 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5832 echo "configure:5833: checking for iconv in -liconv" >&5
5833 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5835 echo $ac_n "(cached) $ac_c" 1>&6
5837 ac_save_LIBS="$LIBS"
5838 LIBS="-liconv $LIBS"
5839 cat > conftest.$ac_ext <<EOF
5840 #line 5841 "configure"
5841 #include "confdefs.h"
5842 /* Override any gcc2 internal prototype to avoid an error. */
5843 /* We use char because int might match the return type of a gcc2
5844 builtin and then its argument prototype would still apply. */
5851 if { (eval echo configure:5852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5853 eval "ac_cv_lib_$ac_lib_var=yes"
5855 echo "configure: failed program was:" >&5
5856 cat conftest.$ac_ext >&5
5858 eval "ac_cv_lib_$ac_lib_var=no"
5861 LIBS="$ac_save_LIBS"
5864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5865 echo "$ac_t""yes" 1>&6
5868 echo "$ac_t""no" 1>&6
5871 ac_save_LIBS="$LIBS"
5872 LIBS="$LIBS $libiconv"
5874 for ac_func in iconv_open iconv_close iconv nl_langinfo
5876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5877 echo "configure:5878: checking for $ac_func" >&5
5878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5879 echo $ac_n "(cached) $ac_c" 1>&6
5881 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure"
5883 #include "confdefs.h"
5884 /* System header to define __stub macros and hopefully few prototypes,
5885 which can conflict with char $ac_func(); below. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 /* We use char because int might match the return type of a gcc2
5889 builtin and then its argument prototype would still apply. */
5894 /* The GNU C library defines this for functions which it implements
5895 to always fail with ENOSYS. Some functions are actually named
5896 something starting with __ and the normal name is an alias. */
5897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5905 if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5907 eval "ac_cv_func_$ac_func=yes"
5909 echo "configure: failed program was:" >&5
5910 cat conftest.$ac_ext >&5
5912 eval "ac_cv_func_$ac_func=no"
5917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5918 echo "$ac_t""yes" 1>&6
5919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5920 cat >> confdefs.h <<EOF
5921 #define $ac_tr_func 1
5926 echo "$ac_t""no" 1>&6
5932 LIBS="$ac_save_LIBS"
5934 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5935 echo "configure:5936: checking for XPG2 wchar_t support" >&5
5936 if test x"$ac_has_iconv_h" = xyes &&
5937 test x"$ac_has_langinfo_h" = xyes &&
5938 test x"$ac_XPG2funcs" = xyes; then
5943 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5945 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5946 echo "configure:5947: checking for enabled wchar_t specializations" >&5
5947 if test x"$ac_isoC99_wchar_t" = xyes &&
5948 test x"$ac_XPG2_wchar_t" = xyes; then
5949 cat >> confdefs.h <<\EOF
5950 #define _GLIBCPP_USE_WCHAR_T 1
5953 echo "$ac_t"""yes"" 1>&6
5955 echo "$ac_t"""no"" 1>&6
5958 echo "configure: warning: wchar_t support disabled." 1>&2
5961 os_include_dir="os/hpux"
5962 cat >> confdefs.h <<\EOF
5963 #define HAVE_COPYSIGN 1
5966 cat >> confdefs.h <<\EOF
5967 #define HAVE_COPYSIGNF 1
5970 cat >> confdefs.h <<\EOF
5971 #define HAVE_FREXPF 1
5974 cat >> confdefs.h <<\EOF
5975 #define HAVE_HYPOT 1
5978 case "$target_alias" in
5980 cat >> confdefs.h <<\EOF
5981 #define HAVE_FINITE 1
5984 cat >> confdefs.h <<\EOF
5985 #define HAVE_FINITEF 1
5988 cat >> confdefs.h <<\EOF
5989 #define HAVE_ISINF 1
5992 cat >> confdefs.h <<\EOF
5993 #define HAVE_ISINFF 1
5996 cat >> confdefs.h <<\EOF
5997 #define HAVE_ISNAN 1
6000 cat >> confdefs.h <<\EOF
6001 #define HAVE_ISNANF 1
6009 # Check for available headers.
6010 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6011 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6012 fp.h locale.h float.h inttypes.h
6014 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6015 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6016 echo "configure:6017: checking for $ac_hdr" >&5
6017 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6018 echo $ac_n "(cached) $ac_c" 1>&6
6020 cat > conftest.$ac_ext <<EOF
6021 #line 6022 "configure"
6022 #include "confdefs.h"
6025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6026 { (eval echo configure:6027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6028 if test -z "$ac_err"; then
6030 eval "ac_cv_header_$ac_safe=yes"
6033 echo "configure: failed program was:" >&5
6034 cat conftest.$ac_ext >&5
6036 eval "ac_cv_header_$ac_safe=no"
6040 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6041 echo "$ac_t""yes" 1>&6
6042 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6043 cat >> confdefs.h <<EOF
6044 #define $ac_tr_hdr 1
6048 echo "$ac_t""no" 1>&6
6052 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6055 # If we're not using GNU ld, then there's no point in even trying these
6056 # tests. Check for that first. We should have already tested for gld
6057 # by now (in libtool), but require it now just to be safe...
6058 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6059 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6062 # The name set by libtool depends on the version of libtool. Shame on us
6063 # for depending on an impl detail, but c'est la vie. Older versions used
6064 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6065 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6066 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6067 # set (hence we're using an older libtool), then set it.
6068 if test x${with_gnu_ld+set} != xset; then
6069 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6070 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6073 with_gnu_ld=$ac_cv_prog_gnu_ld
6077 # Start by getting the version number. I think the libtool test already
6078 # does some of this, but throws away the result.
6080 ldver=`$LD --version 2>/dev/null | head -1 | \
6081 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6083 glibcpp_gnu_ld_version=`echo $ldver | \
6084 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6086 # Set --gc-sections.
6087 if test "$with_gnu_ld" = "notbroken"; then
6088 # GNU ld it is! Joy and bunny rabbits!
6090 # All these tests are for C++; save the language and the compiler flags.
6091 # Need to do this so that g++ won't try to link in libstdc++
6092 ac_test_CFLAGS="${CFLAGS+set}"
6093 ac_save_CFLAGS="$CFLAGS"
6094 CFLAGS='-x c++ -Wl,--gc-sections'
6096 # Check for -Wl,--gc-sections
6097 # XXX This test is broken at the moment, as symbols required for
6098 # linking are now in libsupc++ (not built yet.....). In addition,
6099 # this test has cored on solaris in the past. In addition,
6100 # --gc-sections doesn't really work at the moment (keeps on discarding
6101 # used sections, first .eh_frame and now some of the glibc sections for
6102 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6103 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6104 echo "configure:6105: checking for ld that supports -Wl,--gc-sections" >&5
6105 if test "$cross_compiling" = yes; then
6106 ac_sectionLDflags=yes
6108 cat > conftest.$ac_ext <<EOF
6109 #line 6110 "configure"
6110 #include "confdefs.h"
6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6122 ac_sectionLDflags=yes
6124 echo "configure: failed program was:" >&5
6125 cat conftest.$ac_ext >&5
6127 ac_sectionLDflags=no
6132 if test "$ac_test_CFLAGS" = set; then
6133 CFLAGS="$ac_save_CFLAGS"
6135 # this is the suspicious part
6138 if test "$ac_sectionLDflags" = "yes"; then
6139 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6141 echo "$ac_t""$ac_sectionLDflags" 1>&6
6144 # Set linker optimization flags.
6145 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6146 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6153 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6154 echo "configure:6155: checking for main in -lm" >&5
6155 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6157 echo $ac_n "(cached) $ac_c" 1>&6
6159 ac_save_LIBS="$LIBS"
6161 cat > conftest.$ac_ext <<EOF
6162 #line 6163 "configure"
6163 #include "confdefs.h"
6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6171 eval "ac_cv_lib_$ac_lib_var=yes"
6173 echo "configure: failed program was:" >&5
6174 cat conftest.$ac_ext >&5
6176 eval "ac_cv_lib_$ac_lib_var=no"
6179 LIBS="$ac_save_LIBS"
6182 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6183 echo "$ac_t""yes" 1>&6
6184 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6185 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6186 cat >> confdefs.h <<EOF
6187 #define $ac_tr_lib 1
6193 echo "$ac_t""no" 1>&6
6196 for ac_func in nan copysignf
6198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6199 echo "configure:6200: checking for $ac_func" >&5
6200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6201 echo $ac_n "(cached) $ac_c" 1>&6
6203 cat > conftest.$ac_ext <<EOF
6204 #line 6205 "configure"
6205 #include "confdefs.h"
6206 /* System header to define __stub macros and hopefully few prototypes,
6207 which can conflict with char $ac_func(); below. */
6209 /* Override any gcc2 internal prototype to avoid an error. */
6210 /* We use char because int might match the return type of a gcc2
6211 builtin and then its argument prototype would still apply. */
6216 /* The GNU C library defines this for functions which it implements
6217 to always fail with ENOSYS. Some functions are actually named
6218 something starting with __ and the normal name is an alias. */
6219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6227 if { (eval echo configure:6228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6229 eval "ac_cv_func_$ac_func=yes"
6231 echo "configure: failed program was:" >&5
6232 cat conftest.$ac_ext >&5
6234 eval "ac_cv_func_$ac_func=no"
6239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6240 echo "$ac_t""yes" 1>&6
6241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6242 cat >> confdefs.h <<EOF
6243 #define $ac_tr_func 1
6247 echo "$ac_t""no" 1>&6
6248 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6253 for ac_func in __signbit
6255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6256 echo "configure:6257: checking for $ac_func" >&5
6257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6258 echo $ac_n "(cached) $ac_c" 1>&6
6260 cat > conftest.$ac_ext <<EOF
6261 #line 6262 "configure"
6262 #include "confdefs.h"
6263 /* System header to define __stub macros and hopefully few prototypes,
6264 which can conflict with char $ac_func(); below. */
6266 /* Override any gcc2 internal prototype to avoid an error. */
6267 /* We use char because int might match the return type of a gcc2
6268 builtin and then its argument prototype would still apply. */
6273 /* The GNU C library defines this for functions which it implements
6274 to always fail with ENOSYS. Some functions are actually named
6275 something starting with __ and the normal name is an alias. */
6276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6284 if { (eval echo configure:6285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6286 eval "ac_cv_func_$ac_func=yes"
6288 echo "configure: failed program was:" >&5
6289 cat conftest.$ac_ext >&5
6291 eval "ac_cv_func_$ac_func=no"
6296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6297 echo "$ac_t""yes" 1>&6
6298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6299 cat >> confdefs.h <<EOF
6300 #define $ac_tr_func 1
6304 echo "$ac_t""no" 1>&6
6305 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6309 for ac_func in __signbitf
6311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6312 echo "configure:6313: checking for $ac_func" >&5
6313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6314 echo $ac_n "(cached) $ac_c" 1>&6
6316 cat > conftest.$ac_ext <<EOF
6317 #line 6318 "configure"
6318 #include "confdefs.h"
6319 /* System header to define __stub macros and hopefully few prototypes,
6320 which can conflict with char $ac_func(); below. */
6322 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6329 /* The GNU C library defines this for functions which it implements
6330 to always fail with ENOSYS. Some functions are actually named
6331 something starting with __ and the normal name is an alias. */
6332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6342 eval "ac_cv_func_$ac_func=yes"
6344 echo "configure: failed program was:" >&5
6345 cat conftest.$ac_ext >&5
6347 eval "ac_cv_func_$ac_func=no"
6352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6353 echo "$ac_t""yes" 1>&6
6354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6355 cat >> confdefs.h <<EOF
6356 #define $ac_tr_func 1
6360 echo "$ac_t""no" 1>&6
6361 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6366 if test x$ac_cv_func_copysignl = x"yes"; then
6367 for ac_func in __signbitl
6369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6370 echo "configure:6371: checking for $ac_func" >&5
6371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6372 echo $ac_n "(cached) $ac_c" 1>&6
6374 cat > conftest.$ac_ext <<EOF
6375 #line 6376 "configure"
6376 #include "confdefs.h"
6377 /* System header to define __stub macros and hopefully few prototypes,
6378 which can conflict with char $ac_func(); below. */
6380 /* Override any gcc2 internal prototype to avoid an error. */
6381 /* We use char because int might match the return type of a gcc2
6382 builtin and then its argument prototype would still apply. */
6387 /* The GNU C library defines this for functions which it implements
6388 to always fail with ENOSYS. Some functions are actually named
6389 something starting with __ and the normal name is an alias. */
6390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6398 if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6400 eval "ac_cv_func_$ac_func=yes"
6402 echo "configure: failed program was:" >&5
6403 cat conftest.$ac_ext >&5
6405 eval "ac_cv_func_$ac_func=no"
6410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6411 echo "$ac_t""yes" 1>&6
6412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6413 cat >> confdefs.h <<EOF
6414 #define $ac_tr_func 1
6418 echo "$ac_t""no" 1>&6
6419 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6429 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6430 echo "configure:6431: checking for mbstate_t" >&5
6431 cat > conftest.$ac_ext <<EOF
6432 #line 6433 "configure"
6433 #include "confdefs.h"
6436 mbstate_t teststate;
6439 if { (eval echo configure:6440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6443 echo "configure: failed program was:" >&5
6444 cat conftest.$ac_ext >&5
6449 echo "$ac_t""$have_mbstate_t" 1>&6
6450 if test x"$have_mbstate_t" = xyes; then
6451 cat >> confdefs.h <<\EOF
6452 #define HAVE_MBSTATE_T 1
6457 for ac_hdr in wchar.h
6459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6461 echo "configure:6462: checking for $ac_hdr" >&5
6462 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6463 echo $ac_n "(cached) $ac_c" 1>&6
6465 cat > conftest.$ac_ext <<EOF
6466 #line 6467 "configure"
6467 #include "confdefs.h"
6470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6471 { (eval echo configure:6472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6472 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6473 if test -z "$ac_err"; then
6475 eval "ac_cv_header_$ac_safe=yes"
6478 echo "configure: failed program was:" >&5
6479 cat conftest.$ac_ext >&5
6481 eval "ac_cv_header_$ac_safe=no"
6485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6486 echo "$ac_t""yes" 1>&6
6487 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6488 cat >> confdefs.h <<EOF
6489 #define $ac_tr_hdr 1
6493 echo "$ac_t""no" 1>&6
6498 for ac_hdr in wctype.h
6500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6502 echo "configure:6503: checking for $ac_hdr" >&5
6503 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6504 echo $ac_n "(cached) $ac_c" 1>&6
6506 cat > conftest.$ac_ext <<EOF
6507 #line 6508 "configure"
6508 #include "confdefs.h"
6511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6512 { (eval echo configure:6513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6514 if test -z "$ac_err"; then
6516 eval "ac_cv_header_$ac_safe=yes"
6519 echo "configure: failed program was:" >&5
6520 cat conftest.$ac_ext >&5
6522 eval "ac_cv_header_$ac_safe=no"
6526 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6527 echo "$ac_t""yes" 1>&6
6528 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6529 cat >> confdefs.h <<EOF
6530 #define $ac_tr_hdr 1
6534 echo "$ac_t""no" 1>&6
6540 if test x"$ac_has_wchar_h" = xyes &&
6541 test x"$ac_has_wctype_h" = xyes &&
6542 test x"$enable_c_mbchar" != xno; then
6544 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6545 echo "configure:6546: checking for WCHAR_MIN and WCHAR_MAX" >&5
6546 cat > conftest.$ac_ext <<EOF
6547 #line 6548 "configure"
6548 #include "confdefs.h"
6551 int i = WCHAR_MIN; int j = WCHAR_MAX;
6554 if { (eval echo configure:6555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6556 has_wchar_minmax=yes
6558 echo "configure: failed program was:" >&5
6559 cat conftest.$ac_ext >&5
6564 echo "$ac_t""$has_wchar_minmax" 1>&6
6566 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6567 echo "configure:6568: checking for WEOF" >&5
6568 cat > conftest.$ac_ext <<EOF
6569 #line 6570 "configure"
6570 #include "confdefs.h"
6578 if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6582 echo "configure: failed program was:" >&5
6583 cat conftest.$ac_ext >&5
6588 echo "$ac_t""$has_weof" 1>&6
6591 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6594 echo "configure:6595: checking for $ac_func" >&5
6595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6596 echo $ac_n "(cached) $ac_c" 1>&6
6598 cat > conftest.$ac_ext <<EOF
6599 #line 6600 "configure"
6600 #include "confdefs.h"
6601 /* System header to define __stub macros and hopefully few prototypes,
6602 which can conflict with char $ac_func(); below. */
6604 /* Override any gcc2 internal prototype to avoid an error. */
6605 /* We use char because int might match the return type of a gcc2
6606 builtin and then its argument prototype would still apply. */
6611 /* The GNU C library defines this for functions which it implements
6612 to always fail with ENOSYS. Some functions are actually named
6613 something starting with __ and the normal name is an alias. */
6614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622 if { (eval echo configure:6623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6624 eval "ac_cv_func_$ac_func=yes"
6626 echo "configure: failed program was:" >&5
6627 cat conftest.$ac_ext >&5
6629 eval "ac_cv_func_$ac_func=no"
6634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6635 echo "$ac_t""yes" 1>&6
6636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6637 cat >> confdefs.h <<EOF
6638 #define $ac_tr_func 1
6642 echo "$ac_t""no" 1>&6
6649 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6650 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6651 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6652 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6653 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6654 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6657 echo "configure:6658: checking for $ac_func" >&5
6658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6659 echo $ac_n "(cached) $ac_c" 1>&6
6661 cat > conftest.$ac_ext <<EOF
6662 #line 6663 "configure"
6663 #include "confdefs.h"
6664 /* System header to define __stub macros and hopefully few prototypes,
6665 which can conflict with char $ac_func(); below. */
6667 /* Override any gcc2 internal prototype to avoid an error. */
6668 /* We use char because int might match the return type of a gcc2
6669 builtin and then its argument prototype would still apply. */
6674 /* The GNU C library defines this for functions which it implements
6675 to always fail with ENOSYS. Some functions are actually named
6676 something starting with __ and the normal name is an alias. */
6677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6685 if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6687 eval "ac_cv_func_$ac_func=yes"
6689 echo "configure: failed program was:" >&5
6690 cat conftest.$ac_ext >&5
6692 eval "ac_cv_func_$ac_func=no"
6697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6698 echo "$ac_t""yes" 1>&6
6699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6700 cat >> confdefs.h <<EOF
6701 #define $ac_tr_func 1
6705 echo "$ac_t""no" 1>&6
6712 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6713 echo "configure:6714: checking for ISO C99 wchar_t support" >&5
6714 if test x"$has_weof" = xyes &&
6715 test x"$has_wchar_minmax" = xyes &&
6716 test x"$ac_wfuncs" = xyes; then
6717 ac_isoC99_wchar_t=yes
6719 ac_isoC99_wchar_t=no
6721 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6723 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6724 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6725 echo "configure:6726: checking for iconv.h" >&5
6726 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6727 echo $ac_n "(cached) $ac_c" 1>&6
6729 cat > conftest.$ac_ext <<EOF
6730 #line 6731 "configure"
6731 #include "confdefs.h"
6734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6735 { (eval echo configure:6736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6737 if test -z "$ac_err"; then
6739 eval "ac_cv_header_$ac_safe=yes"
6742 echo "configure: failed program was:" >&5
6743 cat conftest.$ac_ext >&5
6745 eval "ac_cv_header_$ac_safe=no"
6749 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6750 echo "$ac_t""yes" 1>&6
6753 echo "$ac_t""no" 1>&6
6757 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6758 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6759 echo "configure:6760: checking for langinfo.h" >&5
6760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6761 echo $ac_n "(cached) $ac_c" 1>&6
6763 cat > conftest.$ac_ext <<EOF
6764 #line 6765 "configure"
6765 #include "confdefs.h"
6766 #include <langinfo.h>
6768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6769 { (eval echo configure:6770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6771 if test -z "$ac_err"; then
6773 eval "ac_cv_header_$ac_safe=yes"
6776 echo "configure: failed program was:" >&5
6777 cat conftest.$ac_ext >&5
6779 eval "ac_cv_header_$ac_safe=no"
6783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6784 echo "$ac_t""yes" 1>&6
6785 ac_has_langinfo_h=yes
6787 echo "$ac_t""no" 1>&6
6788 ac_has_langinfo_h=no
6792 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6793 echo "configure:6794: checking for iconv in -liconv" >&5
6794 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6796 echo $ac_n "(cached) $ac_c" 1>&6
6798 ac_save_LIBS="$LIBS"
6799 LIBS="-liconv $LIBS"
6800 cat > conftest.$ac_ext <<EOF
6801 #line 6802 "configure"
6802 #include "confdefs.h"
6803 /* Override any gcc2 internal prototype to avoid an error. */
6804 /* We use char because int might match the return type of a gcc2
6805 builtin and then its argument prototype would still apply. */
6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6814 eval "ac_cv_lib_$ac_lib_var=yes"
6816 echo "configure: failed program was:" >&5
6817 cat conftest.$ac_ext >&5
6819 eval "ac_cv_lib_$ac_lib_var=no"
6822 LIBS="$ac_save_LIBS"
6825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6826 echo "$ac_t""yes" 1>&6
6829 echo "$ac_t""no" 1>&6
6832 ac_save_LIBS="$LIBS"
6833 LIBS="$LIBS $libiconv"
6835 for ac_func in iconv_open iconv_close iconv nl_langinfo
6837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6838 echo "configure:6839: checking for $ac_func" >&5
6839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6840 echo $ac_n "(cached) $ac_c" 1>&6
6842 cat > conftest.$ac_ext <<EOF
6843 #line 6844 "configure"
6844 #include "confdefs.h"
6845 /* System header to define __stub macros and hopefully few prototypes,
6846 which can conflict with char $ac_func(); below. */
6848 /* Override any gcc2 internal prototype to avoid an error. */
6849 /* We use char because int might match the return type of a gcc2
6850 builtin and then its argument prototype would still apply. */
6855 /* The GNU C library defines this for functions which it implements
6856 to always fail with ENOSYS. Some functions are actually named
6857 something starting with __ and the normal name is an alias. */
6858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6866 if { (eval echo configure:6867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6868 eval "ac_cv_func_$ac_func=yes"
6870 echo "configure: failed program was:" >&5
6871 cat conftest.$ac_ext >&5
6873 eval "ac_cv_func_$ac_func=no"
6878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6879 echo "$ac_t""yes" 1>&6
6880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6881 cat >> confdefs.h <<EOF
6882 #define $ac_tr_func 1
6887 echo "$ac_t""no" 1>&6
6893 LIBS="$ac_save_LIBS"
6895 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6896 echo "configure:6897: checking for XPG2 wchar_t support" >&5
6897 if test x"$ac_has_iconv_h" = xyes &&
6898 test x"$ac_has_langinfo_h" = xyes &&
6899 test x"$ac_XPG2funcs" = xyes; then
6904 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6906 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6907 echo "configure:6908: checking for enabled wchar_t specializations" >&5
6908 if test x"$ac_isoC99_wchar_t" = xyes &&
6909 test x"$ac_XPG2_wchar_t" = xyes; then
6910 cat >> confdefs.h <<\EOF
6911 #define _GLIBCPP_USE_WCHAR_T 1
6914 echo "$ac_t"""yes"" 1>&6
6916 echo "$ac_t"""no"" 1>&6
6919 echo "configure: warning: wchar_t support disabled." 1>&2
6922 os_include_dir="os/bsd/netbsd"
6923 cat >> confdefs.h <<\EOF
6924 #define HAVE_COPYSIGN 1
6927 cat >> confdefs.h <<\EOF
6928 #define HAVE_COPYSIGNF 1
6931 cat >> confdefs.h <<\EOF
6932 #define HAVE_FINITEF 1
6935 cat >> confdefs.h <<\EOF
6936 #define HAVE_FINITE 1
6939 cat >> confdefs.h <<\EOF
6940 #define HAVE_FREXPF 1
6943 cat >> confdefs.h <<\EOF
6944 #define HAVE_HYPOTF 1
6947 cat >> confdefs.h <<\EOF
6948 #define HAVE_ISINF 1
6951 cat >> confdefs.h <<\EOF
6952 #define HAVE_ISINFF 1
6955 cat >> confdefs.h <<\EOF
6956 #define HAVE_ISNAN 1
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_ISNANF 1
6963 if test x"long_double_math_on_this_cpu" = x"yes"; then
6964 cat >> confdefs.h <<\EOF
6965 #define HAVE_FINITEL 1
6968 cat >> confdefs.h <<\EOF
6969 #define HAVE_ISINFL 1
6972 cat >> confdefs.h <<\EOF
6973 #define HAVE_ISNANL 1
6979 for ac_hdr in sys/types.h locale.h float.h
6981 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6982 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6983 echo "configure:6984: checking for $ac_hdr" >&5
6984 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6985 echo $ac_n "(cached) $ac_c" 1>&6
6987 cat > conftest.$ac_ext <<EOF
6988 #line 6989 "configure"
6989 #include "confdefs.h"
6992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6993 { (eval echo configure:6994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6995 if test -z "$ac_err"; then
6997 eval "ac_cv_header_$ac_safe=yes"
7000 echo "configure: failed program was:" >&5
7001 cat conftest.$ac_ext >&5
7003 eval "ac_cv_header_$ac_safe=no"
7007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7008 echo "$ac_t""yes" 1>&6
7009 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7010 cat >> confdefs.h <<EOF
7011 #define $ac_tr_hdr 1
7015 echo "$ac_t""no" 1>&6
7020 # If we're not using GNU ld, then there's no point in even trying these
7021 # tests. Check for that first. We should have already tested for gld
7022 # by now (in libtool), but require it now just to be safe...
7023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7027 # The name set by libtool depends on the version of libtool. Shame on us
7028 # for depending on an impl detail, but c'est la vie. Older versions used
7029 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7030 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7031 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7032 # set (hence we're using an older libtool), then set it.
7033 if test x${with_gnu_ld+set} != xset; then
7034 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7035 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7038 with_gnu_ld=$ac_cv_prog_gnu_ld
7042 # Start by getting the version number. I think the libtool test already
7043 # does some of this, but throws away the result.
7045 ldver=`$LD --version 2>/dev/null | head -1 | \
7046 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7048 glibcpp_gnu_ld_version=`echo $ldver | \
7049 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7051 # Set --gc-sections.
7052 if test "$with_gnu_ld" = "notbroken"; then
7053 # GNU ld it is! Joy and bunny rabbits!
7055 # All these tests are for C++; save the language and the compiler flags.
7056 # Need to do this so that g++ won't try to link in libstdc++
7057 ac_test_CFLAGS="${CFLAGS+set}"
7058 ac_save_CFLAGS="$CFLAGS"
7059 CFLAGS='-x c++ -Wl,--gc-sections'
7061 # Check for -Wl,--gc-sections
7062 # XXX This test is broken at the moment, as symbols required for
7063 # linking are now in libsupc++ (not built yet.....). In addition,
7064 # this test has cored on solaris in the past. In addition,
7065 # --gc-sections doesn't really work at the moment (keeps on discarding
7066 # used sections, first .eh_frame and now some of the glibc sections for
7067 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7068 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7069 echo "configure:7070: checking for ld that supports -Wl,--gc-sections" >&5
7070 if test "$cross_compiling" = yes; then
7071 ac_sectionLDflags=yes
7073 cat > conftest.$ac_ext <<EOF
7074 #line 7075 "configure"
7075 #include "confdefs.h"
7085 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7087 ac_sectionLDflags=yes
7089 echo "configure: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7092 ac_sectionLDflags=no
7097 if test "$ac_test_CFLAGS" = set; then
7098 CFLAGS="$ac_save_CFLAGS"
7100 # this is the suspicious part
7103 if test "$ac_sectionLDflags" = "yes"; then
7104 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7106 echo "$ac_t""$ac_sectionLDflags" 1>&6
7109 # Set linker optimization flags.
7110 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7111 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7118 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7119 echo "configure:7120: checking for main in -lm" >&5
7120 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7122 echo $ac_n "(cached) $ac_c" 1>&6
7124 ac_save_LIBS="$LIBS"
7126 cat > conftest.$ac_ext <<EOF
7127 #line 7128 "configure"
7128 #include "confdefs.h"
7134 if { (eval echo configure:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7136 eval "ac_cv_lib_$ac_lib_var=yes"
7138 echo "configure: failed program was:" >&5
7139 cat conftest.$ac_ext >&5
7141 eval "ac_cv_lib_$ac_lib_var=no"
7144 LIBS="$ac_save_LIBS"
7147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7148 echo "$ac_t""yes" 1>&6
7149 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7150 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7151 cat >> confdefs.h <<EOF
7152 #define $ac_tr_lib 1
7158 echo "$ac_t""no" 1>&6
7161 for ac_func in nan copysignf
7163 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7164 echo "configure:7165: checking for $ac_func" >&5
7165 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7166 echo $ac_n "(cached) $ac_c" 1>&6
7168 cat > conftest.$ac_ext <<EOF
7169 #line 7170 "configure"
7170 #include "confdefs.h"
7171 /* System header to define __stub macros and hopefully few prototypes,
7172 which can conflict with char $ac_func(); below. */
7174 /* Override any gcc2 internal prototype to avoid an error. */
7175 /* We use char because int might match the return type of a gcc2
7176 builtin and then its argument prototype would still apply. */
7181 /* The GNU C library defines this for functions which it implements
7182 to always fail with ENOSYS. Some functions are actually named
7183 something starting with __ and the normal name is an alias. */
7184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7192 if { (eval echo configure:7193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7194 eval "ac_cv_func_$ac_func=yes"
7196 echo "configure: failed program was:" >&5
7197 cat conftest.$ac_ext >&5
7199 eval "ac_cv_func_$ac_func=no"
7204 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7205 echo "$ac_t""yes" 1>&6
7206 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7207 cat >> confdefs.h <<EOF
7208 #define $ac_tr_func 1
7212 echo "$ac_t""no" 1>&6
7213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7218 for ac_func in __signbit
7220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7221 echo "configure:7222: checking for $ac_func" >&5
7222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7223 echo $ac_n "(cached) $ac_c" 1>&6
7225 cat > conftest.$ac_ext <<EOF
7226 #line 7227 "configure"
7227 #include "confdefs.h"
7228 /* System header to define __stub macros and hopefully few prototypes,
7229 which can conflict with char $ac_func(); below. */
7231 /* Override any gcc2 internal prototype to avoid an error. */
7232 /* We use char because int might match the return type of a gcc2
7233 builtin and then its argument prototype would still apply. */
7238 /* The GNU C library defines this for functions which it implements
7239 to always fail with ENOSYS. Some functions are actually named
7240 something starting with __ and the normal name is an alias. */
7241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7249 if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7251 eval "ac_cv_func_$ac_func=yes"
7253 echo "configure: failed program was:" >&5
7254 cat conftest.$ac_ext >&5
7256 eval "ac_cv_func_$ac_func=no"
7261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7262 echo "$ac_t""yes" 1>&6
7263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7264 cat >> confdefs.h <<EOF
7265 #define $ac_tr_func 1
7269 echo "$ac_t""no" 1>&6
7270 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7274 for ac_func in __signbitf
7276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7277 echo "configure:7278: checking for $ac_func" >&5
7278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7279 echo $ac_n "(cached) $ac_c" 1>&6
7281 cat > conftest.$ac_ext <<EOF
7282 #line 7283 "configure"
7283 #include "confdefs.h"
7284 /* System header to define __stub macros and hopefully few prototypes,
7285 which can conflict with char $ac_func(); below. */
7287 /* Override any gcc2 internal prototype to avoid an error. */
7288 /* We use char because int might match the return type of a gcc2
7289 builtin and then its argument prototype would still apply. */
7294 /* The GNU C library defines this for functions which it implements
7295 to always fail with ENOSYS. Some functions are actually named
7296 something starting with __ and the normal name is an alias. */
7297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7305 if { (eval echo configure:7306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7307 eval "ac_cv_func_$ac_func=yes"
7309 echo "configure: failed program was:" >&5
7310 cat conftest.$ac_ext >&5
7312 eval "ac_cv_func_$ac_func=no"
7317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7318 echo "$ac_t""yes" 1>&6
7319 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7320 cat >> confdefs.h <<EOF
7321 #define $ac_tr_func 1
7325 echo "$ac_t""no" 1>&6
7326 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7331 if test x$ac_cv_func_copysignl = x"yes"; then
7332 for ac_func in __signbitl
7334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7335 echo "configure:7336: checking for $ac_func" >&5
7336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7337 echo $ac_n "(cached) $ac_c" 1>&6
7339 cat > conftest.$ac_ext <<EOF
7340 #line 7341 "configure"
7341 #include "confdefs.h"
7342 /* System header to define __stub macros and hopefully few prototypes,
7343 which can conflict with char $ac_func(); below. */
7345 /* Override any gcc2 internal prototype to avoid an error. */
7346 /* We use char because int might match the return type of a gcc2
7347 builtin and then its argument prototype would still apply. */
7352 /* The GNU C library defines this for functions which it implements
7353 to always fail with ENOSYS. Some functions are actually named
7354 something starting with __ and the normal name is an alias. */
7355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7363 if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7365 eval "ac_cv_func_$ac_func=yes"
7367 echo "configure: failed program was:" >&5
7368 cat conftest.$ac_ext >&5
7370 eval "ac_cv_func_$ac_func=no"
7375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7376 echo "$ac_t""yes" 1>&6
7377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7378 cat >> confdefs.h <<EOF
7379 #define $ac_tr_func 1
7383 echo "$ac_t""no" 1>&6
7384 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7394 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7395 echo "configure:7396: checking for mbstate_t" >&5
7396 cat > conftest.$ac_ext <<EOF
7397 #line 7398 "configure"
7398 #include "confdefs.h"
7401 mbstate_t teststate;
7404 if { (eval echo configure:7405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7408 echo "configure: failed program was:" >&5
7409 cat conftest.$ac_ext >&5
7414 echo "$ac_t""$have_mbstate_t" 1>&6
7415 if test x"$have_mbstate_t" = xyes; then
7416 cat >> confdefs.h <<\EOF
7417 #define HAVE_MBSTATE_T 1
7422 for ac_hdr in wchar.h
7424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7426 echo "configure:7427: checking for $ac_hdr" >&5
7427 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7428 echo $ac_n "(cached) $ac_c" 1>&6
7430 cat > conftest.$ac_ext <<EOF
7431 #line 7432 "configure"
7432 #include "confdefs.h"
7435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7436 { (eval echo configure:7437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7437 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7438 if test -z "$ac_err"; then
7440 eval "ac_cv_header_$ac_safe=yes"
7443 echo "configure: failed program was:" >&5
7444 cat conftest.$ac_ext >&5
7446 eval "ac_cv_header_$ac_safe=no"
7450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7451 echo "$ac_t""yes" 1>&6
7452 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7453 cat >> confdefs.h <<EOF
7454 #define $ac_tr_hdr 1
7458 echo "$ac_t""no" 1>&6
7463 for ac_hdr in wctype.h
7465 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7466 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7467 echo "configure:7468: checking for $ac_hdr" >&5
7468 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6
7471 cat > conftest.$ac_ext <<EOF
7472 #line 7473 "configure"
7473 #include "confdefs.h"
7476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7477 { (eval echo configure:7478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7479 if test -z "$ac_err"; then
7481 eval "ac_cv_header_$ac_safe=yes"
7484 echo "configure: failed program was:" >&5
7485 cat conftest.$ac_ext >&5
7487 eval "ac_cv_header_$ac_safe=no"
7491 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7492 echo "$ac_t""yes" 1>&6
7493 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7494 cat >> confdefs.h <<EOF
7495 #define $ac_tr_hdr 1
7499 echo "$ac_t""no" 1>&6
7505 if test x"$ac_has_wchar_h" = xyes &&
7506 test x"$ac_has_wctype_h" = xyes &&
7507 test x"$enable_c_mbchar" != xno; then
7509 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7510 echo "configure:7511: checking for WCHAR_MIN and WCHAR_MAX" >&5
7511 cat > conftest.$ac_ext <<EOF
7512 #line 7513 "configure"
7513 #include "confdefs.h"
7516 int i = WCHAR_MIN; int j = WCHAR_MAX;
7519 if { (eval echo configure:7520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7521 has_wchar_minmax=yes
7523 echo "configure: failed program was:" >&5
7524 cat conftest.$ac_ext >&5
7529 echo "$ac_t""$has_wchar_minmax" 1>&6
7531 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7532 echo "configure:7533: checking for WEOF" >&5
7533 cat > conftest.$ac_ext <<EOF
7534 #line 7535 "configure"
7535 #include "confdefs.h"
7543 if { (eval echo configure:7544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7547 echo "configure: failed program was:" >&5
7548 cat conftest.$ac_ext >&5
7553 echo "$ac_t""$has_weof" 1>&6
7556 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7559 echo "configure:7560: checking for $ac_func" >&5
7560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7561 echo $ac_n "(cached) $ac_c" 1>&6
7563 cat > conftest.$ac_ext <<EOF
7564 #line 7565 "configure"
7565 #include "confdefs.h"
7566 /* System header to define __stub macros and hopefully few prototypes,
7567 which can conflict with char $ac_func(); below. */
7569 /* Override any gcc2 internal prototype to avoid an error. */
7570 /* We use char because int might match the return type of a gcc2
7571 builtin and then its argument prototype would still apply. */
7576 /* The GNU C library defines this for functions which it implements
7577 to always fail with ENOSYS. Some functions are actually named
7578 something starting with __ and the normal name is an alias. */
7579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7587 if { (eval echo configure:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7589 eval "ac_cv_func_$ac_func=yes"
7591 echo "configure: failed program was:" >&5
7592 cat conftest.$ac_ext >&5
7594 eval "ac_cv_func_$ac_func=no"
7599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7600 echo "$ac_t""yes" 1>&6
7601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7602 cat >> confdefs.h <<EOF
7603 #define $ac_tr_func 1
7607 echo "$ac_t""no" 1>&6
7614 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7615 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7616 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7617 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7618 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7619 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7622 echo "configure:7623: checking for $ac_func" >&5
7623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7624 echo $ac_n "(cached) $ac_c" 1>&6
7626 cat > conftest.$ac_ext <<EOF
7627 #line 7628 "configure"
7628 #include "confdefs.h"
7629 /* System header to define __stub macros and hopefully few prototypes,
7630 which can conflict with char $ac_func(); below. */
7632 /* Override any gcc2 internal prototype to avoid an error. */
7633 /* We use char because int might match the return type of a gcc2
7634 builtin and then its argument prototype would still apply. */
7639 /* The GNU C library defines this for functions which it implements
7640 to always fail with ENOSYS. Some functions are actually named
7641 something starting with __ and the normal name is an alias. */
7642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7650 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7652 eval "ac_cv_func_$ac_func=yes"
7654 echo "configure: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 eval "ac_cv_func_$ac_func=no"
7662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7663 echo "$ac_t""yes" 1>&6
7664 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7665 cat >> confdefs.h <<EOF
7666 #define $ac_tr_func 1
7670 echo "$ac_t""no" 1>&6
7677 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7678 echo "configure:7679: checking for ISO C99 wchar_t support" >&5
7679 if test x"$has_weof" = xyes &&
7680 test x"$has_wchar_minmax" = xyes &&
7681 test x"$ac_wfuncs" = xyes; then
7682 ac_isoC99_wchar_t=yes
7684 ac_isoC99_wchar_t=no
7686 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7688 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7689 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7690 echo "configure:7691: checking for iconv.h" >&5
7691 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7692 echo $ac_n "(cached) $ac_c" 1>&6
7694 cat > conftest.$ac_ext <<EOF
7695 #line 7696 "configure"
7696 #include "confdefs.h"
7699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7700 { (eval echo configure:7701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7702 if test -z "$ac_err"; then
7704 eval "ac_cv_header_$ac_safe=yes"
7707 echo "configure: failed program was:" >&5
7708 cat conftest.$ac_ext >&5
7710 eval "ac_cv_header_$ac_safe=no"
7714 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7715 echo "$ac_t""yes" 1>&6
7718 echo "$ac_t""no" 1>&6
7722 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7723 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7724 echo "configure:7725: checking for langinfo.h" >&5
7725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7726 echo $ac_n "(cached) $ac_c" 1>&6
7728 cat > conftest.$ac_ext <<EOF
7729 #line 7730 "configure"
7730 #include "confdefs.h"
7731 #include <langinfo.h>
7733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7734 { (eval echo configure:7735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7736 if test -z "$ac_err"; then
7738 eval "ac_cv_header_$ac_safe=yes"
7741 echo "configure: failed program was:" >&5
7742 cat conftest.$ac_ext >&5
7744 eval "ac_cv_header_$ac_safe=no"
7748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7749 echo "$ac_t""yes" 1>&6
7750 ac_has_langinfo_h=yes
7752 echo "$ac_t""no" 1>&6
7753 ac_has_langinfo_h=no
7757 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7758 echo "configure:7759: checking for iconv in -liconv" >&5
7759 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7761 echo $ac_n "(cached) $ac_c" 1>&6
7763 ac_save_LIBS="$LIBS"
7764 LIBS="-liconv $LIBS"
7765 cat > conftest.$ac_ext <<EOF
7766 #line 7767 "configure"
7767 #include "confdefs.h"
7768 /* Override any gcc2 internal prototype to avoid an error. */
7769 /* We use char because int might match the return type of a gcc2
7770 builtin and then its argument prototype would still apply. */
7777 if { (eval echo configure:7778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7779 eval "ac_cv_lib_$ac_lib_var=yes"
7781 echo "configure: failed program was:" >&5
7782 cat conftest.$ac_ext >&5
7784 eval "ac_cv_lib_$ac_lib_var=no"
7787 LIBS="$ac_save_LIBS"
7790 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7791 echo "$ac_t""yes" 1>&6
7794 echo "$ac_t""no" 1>&6
7797 ac_save_LIBS="$LIBS"
7798 LIBS="$LIBS $libiconv"
7800 for ac_func in iconv_open iconv_close iconv nl_langinfo
7802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7803 echo "configure:7804: checking for $ac_func" >&5
7804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7805 echo $ac_n "(cached) $ac_c" 1>&6
7807 cat > conftest.$ac_ext <<EOF
7808 #line 7809 "configure"
7809 #include "confdefs.h"
7810 /* System header to define __stub macros and hopefully few prototypes,
7811 which can conflict with char $ac_func(); below. */
7813 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7820 /* The GNU C library defines this for functions which it implements
7821 to always fail with ENOSYS. Some functions are actually named
7822 something starting with __ and the normal name is an alias. */
7823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7831 if { (eval echo configure:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7833 eval "ac_cv_func_$ac_func=yes"
7835 echo "configure: failed program was:" >&5
7836 cat conftest.$ac_ext >&5
7838 eval "ac_cv_func_$ac_func=no"
7843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7844 echo "$ac_t""yes" 1>&6
7845 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7846 cat >> confdefs.h <<EOF
7847 #define $ac_tr_func 1
7852 echo "$ac_t""no" 1>&6
7858 LIBS="$ac_save_LIBS"
7860 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7861 echo "configure:7862: checking for XPG2 wchar_t support" >&5
7862 if test x"$ac_has_iconv_h" = xyes &&
7863 test x"$ac_has_langinfo_h" = xyes &&
7864 test x"$ac_XPG2funcs" = xyes; then
7869 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7871 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7872 echo "configure:7873: checking for enabled wchar_t specializations" >&5
7873 if test x"$ac_isoC99_wchar_t" = xyes &&
7874 test x"$ac_XPG2_wchar_t" = xyes; then
7875 cat >> confdefs.h <<\EOF
7876 #define _GLIBCPP_USE_WCHAR_T 1
7879 echo "$ac_t"""yes"" 1>&6
7881 echo "$ac_t"""no"" 1>&6
7884 echo "configure: warning: wchar_t support disabled." 1>&2
7887 os_include_dir="os/mingw32"
7890 os_include_dir="os/windiss"
7893 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7896 # If we're not using GNU ld, then there's no point in even trying these
7897 # tests. Check for that first. We should have already tested for gld
7898 # by now (in libtool), but require it now just to be safe...
7899 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7900 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7903 # The name set by libtool depends on the version of libtool. Shame on us
7904 # for depending on an impl detail, but c'est la vie. Older versions used
7905 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7906 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7907 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7908 # set (hence we're using an older libtool), then set it.
7909 if test x${with_gnu_ld+set} != xset; then
7910 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7911 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7914 with_gnu_ld=$ac_cv_prog_gnu_ld
7918 # Start by getting the version number. I think the libtool test already
7919 # does some of this, but throws away the result.
7921 ldver=`$LD --version 2>/dev/null | head -1 | \
7922 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7924 glibcpp_gnu_ld_version=`echo $ldver | \
7925 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7927 # Set --gc-sections.
7928 if test "$with_gnu_ld" = "notbroken"; then
7929 # GNU ld it is! Joy and bunny rabbits!
7931 # All these tests are for C++; save the language and the compiler flags.
7932 # Need to do this so that g++ won't try to link in libstdc++
7933 ac_test_CFLAGS="${CFLAGS+set}"
7934 ac_save_CFLAGS="$CFLAGS"
7935 CFLAGS='-x c++ -Wl,--gc-sections'
7937 # Check for -Wl,--gc-sections
7938 # XXX This test is broken at the moment, as symbols required for
7939 # linking are now in libsupc++ (not built yet.....). In addition,
7940 # this test has cored on solaris in the past. In addition,
7941 # --gc-sections doesn't really work at the moment (keeps on discarding
7942 # used sections, first .eh_frame and now some of the glibc sections for
7943 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7944 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7945 echo "configure:7946: checking for ld that supports -Wl,--gc-sections" >&5
7946 if test "$cross_compiling" = yes; then
7947 ac_sectionLDflags=yes
7949 cat > conftest.$ac_ext <<EOF
7950 #line 7951 "configure"
7951 #include "confdefs.h"
7961 if { (eval echo configure:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7963 ac_sectionLDflags=yes
7965 echo "configure: failed program was:" >&5
7966 cat conftest.$ac_ext >&5
7968 ac_sectionLDflags=no
7973 if test "$ac_test_CFLAGS" = set; then
7974 CFLAGS="$ac_save_CFLAGS"
7976 # this is the suspicious part
7979 if test "$ac_sectionLDflags" = "yes"; then
7980 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7982 echo "$ac_t""$ac_sectionLDflags" 1>&6
7985 # Set linker optimization flags.
7986 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7987 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7994 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7995 echo "configure:7996: checking for main in -lm" >&5
7996 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7997 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7998 echo $ac_n "(cached) $ac_c" 1>&6
8000 ac_save_LIBS="$LIBS"
8002 cat > conftest.$ac_ext <<EOF
8003 #line 8004 "configure"
8004 #include "confdefs.h"
8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8012 eval "ac_cv_lib_$ac_lib_var=yes"
8014 echo "configure: failed program was:" >&5
8015 cat conftest.$ac_ext >&5
8017 eval "ac_cv_lib_$ac_lib_var=no"
8020 LIBS="$ac_save_LIBS"
8023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8024 echo "$ac_t""yes" 1>&6
8025 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8026 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8027 cat >> confdefs.h <<EOF
8028 #define $ac_tr_lib 1
8034 echo "$ac_t""no" 1>&6
8037 for ac_func in nan copysignf
8039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8040 echo "configure:8041: checking for $ac_func" >&5
8041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8042 echo $ac_n "(cached) $ac_c" 1>&6
8044 cat > conftest.$ac_ext <<EOF
8045 #line 8046 "configure"
8046 #include "confdefs.h"
8047 /* System header to define __stub macros and hopefully few prototypes,
8048 which can conflict with char $ac_func(); below. */
8050 /* Override any gcc2 internal prototype to avoid an error. */
8051 /* We use char because int might match the return type of a gcc2
8052 builtin and then its argument prototype would still apply. */
8057 /* The GNU C library defines this for functions which it implements
8058 to always fail with ENOSYS. Some functions are actually named
8059 something starting with __ and the normal name is an alias. */
8060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8068 if { (eval echo configure:8069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8070 eval "ac_cv_func_$ac_func=yes"
8072 echo "configure: failed program was:" >&5
8073 cat conftest.$ac_ext >&5
8075 eval "ac_cv_func_$ac_func=no"
8080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8081 echo "$ac_t""yes" 1>&6
8082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8083 cat >> confdefs.h <<EOF
8084 #define $ac_tr_func 1
8088 echo "$ac_t""no" 1>&6
8089 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8094 for ac_func in __signbit
8096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8097 echo "configure:8098: checking for $ac_func" >&5
8098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8099 echo $ac_n "(cached) $ac_c" 1>&6
8101 cat > conftest.$ac_ext <<EOF
8102 #line 8103 "configure"
8103 #include "confdefs.h"
8104 /* System header to define __stub macros and hopefully few prototypes,
8105 which can conflict with char $ac_func(); below. */
8107 /* Override any gcc2 internal prototype to avoid an error. */
8108 /* We use char because int might match the return type of a gcc2
8109 builtin and then its argument prototype would still apply. */
8114 /* The GNU C library defines this for functions which it implements
8115 to always fail with ENOSYS. Some functions are actually named
8116 something starting with __ and the normal name is an alias. */
8117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8125 if { (eval echo configure:8126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8127 eval "ac_cv_func_$ac_func=yes"
8129 echo "configure: failed program was:" >&5
8130 cat conftest.$ac_ext >&5
8132 eval "ac_cv_func_$ac_func=no"
8137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8138 echo "$ac_t""yes" 1>&6
8139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8140 cat >> confdefs.h <<EOF
8141 #define $ac_tr_func 1
8145 echo "$ac_t""no" 1>&6
8146 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8150 for ac_func in __signbitf
8152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8153 echo "configure:8154: checking for $ac_func" >&5
8154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8155 echo $ac_n "(cached) $ac_c" 1>&6
8157 cat > conftest.$ac_ext <<EOF
8158 #line 8159 "configure"
8159 #include "confdefs.h"
8160 /* System header to define __stub macros and hopefully few prototypes,
8161 which can conflict with char $ac_func(); below. */
8163 /* Override any gcc2 internal prototype to avoid an error. */
8164 /* We use char because int might match the return type of a gcc2
8165 builtin and then its argument prototype would still apply. */
8170 /* The GNU C library defines this for functions which it implements
8171 to always fail with ENOSYS. Some functions are actually named
8172 something starting with __ and the normal name is an alias. */
8173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8181 if { (eval echo configure:8182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8183 eval "ac_cv_func_$ac_func=yes"
8185 echo "configure: failed program was:" >&5
8186 cat conftest.$ac_ext >&5
8188 eval "ac_cv_func_$ac_func=no"
8193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8194 echo "$ac_t""yes" 1>&6
8195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8196 cat >> confdefs.h <<EOF
8197 #define $ac_tr_func 1
8201 echo "$ac_t""no" 1>&6
8202 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8207 if test x$ac_cv_func_copysignl = x"yes"; then
8208 for ac_func in __signbitl
8210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8211 echo "configure:8212: checking for $ac_func" >&5
8212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8213 echo $ac_n "(cached) $ac_c" 1>&6
8215 cat > conftest.$ac_ext <<EOF
8216 #line 8217 "configure"
8217 #include "confdefs.h"
8218 /* System header to define __stub macros and hopefully few prototypes,
8219 which can conflict with char $ac_func(); below. */
8221 /* Override any gcc2 internal prototype to avoid an error. */
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8228 /* The GNU C library defines this for functions which it implements
8229 to always fail with ENOSYS. Some functions are actually named
8230 something starting with __ and the normal name is an alias. */
8231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8239 if { (eval echo configure:8240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8241 eval "ac_cv_func_$ac_func=yes"
8243 echo "configure: failed program was:" >&5
8244 cat conftest.$ac_ext >&5
8246 eval "ac_cv_func_$ac_func=no"
8251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8252 echo "$ac_t""yes" 1>&6
8253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8254 cat >> confdefs.h <<EOF
8255 #define $ac_tr_func 1
8259 echo "$ac_t""no" 1>&6
8260 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8270 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8271 echo "configure:8272: checking for mbstate_t" >&5
8272 cat > conftest.$ac_ext <<EOF
8273 #line 8274 "configure"
8274 #include "confdefs.h"
8277 mbstate_t teststate;
8280 if { (eval echo configure:8281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8284 echo "configure: failed program was:" >&5
8285 cat conftest.$ac_ext >&5
8290 echo "$ac_t""$have_mbstate_t" 1>&6
8291 if test x"$have_mbstate_t" = xyes; then
8292 cat >> confdefs.h <<\EOF
8293 #define HAVE_MBSTATE_T 1
8298 for ac_hdr in wchar.h
8300 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8302 echo "configure:8303: checking for $ac_hdr" >&5
8303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8304 echo $ac_n "(cached) $ac_c" 1>&6
8306 cat > conftest.$ac_ext <<EOF
8307 #line 8308 "configure"
8308 #include "confdefs.h"
8311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8312 { (eval echo configure:8313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8314 if test -z "$ac_err"; then
8316 eval "ac_cv_header_$ac_safe=yes"
8319 echo "configure: failed program was:" >&5
8320 cat conftest.$ac_ext >&5
8322 eval "ac_cv_header_$ac_safe=no"
8326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8327 echo "$ac_t""yes" 1>&6
8328 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8329 cat >> confdefs.h <<EOF
8330 #define $ac_tr_hdr 1
8334 echo "$ac_t""no" 1>&6
8339 for ac_hdr in wctype.h
8341 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8342 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8343 echo "configure:8344: checking for $ac_hdr" >&5
8344 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8345 echo $ac_n "(cached) $ac_c" 1>&6
8347 cat > conftest.$ac_ext <<EOF
8348 #line 8349 "configure"
8349 #include "confdefs.h"
8352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8353 { (eval echo configure:8354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8355 if test -z "$ac_err"; then
8357 eval "ac_cv_header_$ac_safe=yes"
8360 echo "configure: failed program was:" >&5
8361 cat conftest.$ac_ext >&5
8363 eval "ac_cv_header_$ac_safe=no"
8367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8368 echo "$ac_t""yes" 1>&6
8369 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8370 cat >> confdefs.h <<EOF
8371 #define $ac_tr_hdr 1
8375 echo "$ac_t""no" 1>&6
8381 if test x"$ac_has_wchar_h" = xyes &&
8382 test x"$ac_has_wctype_h" = xyes &&
8383 test x"$enable_c_mbchar" != xno; then
8385 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8386 echo "configure:8387: checking for WCHAR_MIN and WCHAR_MAX" >&5
8387 cat > conftest.$ac_ext <<EOF
8388 #line 8389 "configure"
8389 #include "confdefs.h"
8392 int i = WCHAR_MIN; int j = WCHAR_MAX;
8395 if { (eval echo configure:8396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8397 has_wchar_minmax=yes
8399 echo "configure: failed program was:" >&5
8400 cat conftest.$ac_ext >&5
8405 echo "$ac_t""$has_wchar_minmax" 1>&6
8407 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8408 echo "configure:8409: checking for WEOF" >&5
8409 cat > conftest.$ac_ext <<EOF
8410 #line 8411 "configure"
8411 #include "confdefs.h"
8419 if { (eval echo configure:8420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8423 echo "configure: failed program was:" >&5
8424 cat conftest.$ac_ext >&5
8429 echo "$ac_t""$has_weof" 1>&6
8432 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8434 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8435 echo "configure:8436: checking for $ac_func" >&5
8436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8437 echo $ac_n "(cached) $ac_c" 1>&6
8439 cat > conftest.$ac_ext <<EOF
8440 #line 8441 "configure"
8441 #include "confdefs.h"
8442 /* System header to define __stub macros and hopefully few prototypes,
8443 which can conflict with char $ac_func(); below. */
8445 /* Override any gcc2 internal prototype to avoid an error. */
8446 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */
8452 /* The GNU C library defines this for functions which it implements
8453 to always fail with ENOSYS. Some functions are actually named
8454 something starting with __ and the normal name is an alias. */
8455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8463 if { (eval echo configure:8464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8465 eval "ac_cv_func_$ac_func=yes"
8467 echo "configure: failed program was:" >&5
8468 cat conftest.$ac_ext >&5
8470 eval "ac_cv_func_$ac_func=no"
8475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8476 echo "$ac_t""yes" 1>&6
8477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8478 cat >> confdefs.h <<EOF
8479 #define $ac_tr_func 1
8483 echo "$ac_t""no" 1>&6
8490 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8491 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8492 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8493 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8494 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8495 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8498 echo "configure:8499: checking for $ac_func" >&5
8499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8500 echo $ac_n "(cached) $ac_c" 1>&6
8502 cat > conftest.$ac_ext <<EOF
8503 #line 8504 "configure"
8504 #include "confdefs.h"
8505 /* System header to define __stub macros and hopefully few prototypes,
8506 which can conflict with char $ac_func(); below. */
8508 /* Override any gcc2 internal prototype to avoid an error. */
8509 /* We use char because int might match the return type of a gcc2
8510 builtin and then its argument prototype would still apply. */
8515 /* The GNU C library defines this for functions which it implements
8516 to always fail with ENOSYS. Some functions are actually named
8517 something starting with __ and the normal name is an alias. */
8518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8528 eval "ac_cv_func_$ac_func=yes"
8530 echo "configure: failed program was:" >&5
8531 cat conftest.$ac_ext >&5
8533 eval "ac_cv_func_$ac_func=no"
8538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8539 echo "$ac_t""yes" 1>&6
8540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8541 cat >> confdefs.h <<EOF
8542 #define $ac_tr_func 1
8546 echo "$ac_t""no" 1>&6
8553 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8554 echo "configure:8555: checking for ISO C99 wchar_t support" >&5
8555 if test x"$has_weof" = xyes &&
8556 test x"$has_wchar_minmax" = xyes &&
8557 test x"$ac_wfuncs" = xyes; then
8558 ac_isoC99_wchar_t=yes
8560 ac_isoC99_wchar_t=no
8562 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8564 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8565 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8566 echo "configure:8567: checking for iconv.h" >&5
8567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8568 echo $ac_n "(cached) $ac_c" 1>&6
8570 cat > conftest.$ac_ext <<EOF
8571 #line 8572 "configure"
8572 #include "confdefs.h"
8575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8576 { (eval echo configure:8577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8578 if test -z "$ac_err"; then
8580 eval "ac_cv_header_$ac_safe=yes"
8583 echo "configure: failed program was:" >&5
8584 cat conftest.$ac_ext >&5
8586 eval "ac_cv_header_$ac_safe=no"
8590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8591 echo "$ac_t""yes" 1>&6
8594 echo "$ac_t""no" 1>&6
8598 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8599 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8600 echo "configure:8601: checking for langinfo.h" >&5
8601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8602 echo $ac_n "(cached) $ac_c" 1>&6
8604 cat > conftest.$ac_ext <<EOF
8605 #line 8606 "configure"
8606 #include "confdefs.h"
8607 #include <langinfo.h>
8609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8610 { (eval echo configure:8611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8612 if test -z "$ac_err"; then
8614 eval "ac_cv_header_$ac_safe=yes"
8617 echo "configure: failed program was:" >&5
8618 cat conftest.$ac_ext >&5
8620 eval "ac_cv_header_$ac_safe=no"
8624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8625 echo "$ac_t""yes" 1>&6
8626 ac_has_langinfo_h=yes
8628 echo "$ac_t""no" 1>&6
8629 ac_has_langinfo_h=no
8633 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8634 echo "configure:8635: checking for iconv in -liconv" >&5
8635 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8637 echo $ac_n "(cached) $ac_c" 1>&6
8639 ac_save_LIBS="$LIBS"
8640 LIBS="-liconv $LIBS"
8641 cat > conftest.$ac_ext <<EOF
8642 #line 8643 "configure"
8643 #include "confdefs.h"
8644 /* Override any gcc2 internal prototype to avoid an error. */
8645 /* We use char because int might match the return type of a gcc2
8646 builtin and then its argument prototype would still apply. */
8653 if { (eval echo configure:8654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8655 eval "ac_cv_lib_$ac_lib_var=yes"
8657 echo "configure: failed program was:" >&5
8658 cat conftest.$ac_ext >&5
8660 eval "ac_cv_lib_$ac_lib_var=no"
8663 LIBS="$ac_save_LIBS"
8666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8667 echo "$ac_t""yes" 1>&6
8670 echo "$ac_t""no" 1>&6
8673 ac_save_LIBS="$LIBS"
8674 LIBS="$LIBS $libiconv"
8676 for ac_func in iconv_open iconv_close iconv nl_langinfo
8678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8679 echo "configure:8680: checking for $ac_func" >&5
8680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8681 echo $ac_n "(cached) $ac_c" 1>&6
8683 cat > conftest.$ac_ext <<EOF
8684 #line 8685 "configure"
8685 #include "confdefs.h"
8686 /* System header to define __stub macros and hopefully few prototypes,
8687 which can conflict with char $ac_func(); below. */
8689 /* Override any gcc2 internal prototype to avoid an error. */
8690 /* We use char because int might match the return type of a gcc2
8691 builtin and then its argument prototype would still apply. */
8696 /* The GNU C library defines this for functions which it implements
8697 to always fail with ENOSYS. Some functions are actually named
8698 something starting with __ and the normal name is an alias. */
8699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8707 if { (eval echo configure:8708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8709 eval "ac_cv_func_$ac_func=yes"
8711 echo "configure: failed program was:" >&5
8712 cat conftest.$ac_ext >&5
8714 eval "ac_cv_func_$ac_func=no"
8719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8720 echo "$ac_t""yes" 1>&6
8721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8722 cat >> confdefs.h <<EOF
8723 #define $ac_tr_func 1
8728 echo "$ac_t""no" 1>&6
8734 LIBS="$ac_save_LIBS"
8736 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8737 echo "configure:8738: checking for XPG2 wchar_t support" >&5
8738 if test x"$ac_has_iconv_h" = xyes &&
8739 test x"$ac_has_langinfo_h" = xyes &&
8740 test x"$ac_XPG2funcs" = xyes; then
8745 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8747 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8748 echo "configure:8749: checking for enabled wchar_t specializations" >&5
8749 if test x"$ac_isoC99_wchar_t" = xyes &&
8750 test x"$ac_XPG2_wchar_t" = xyes; then
8751 cat >> confdefs.h <<\EOF
8752 #define _GLIBCPP_USE_WCHAR_T 1
8755 echo "$ac_t"""yes"" 1>&6
8757 echo "$ac_t"""no"" 1>&6
8760 echo "configure: warning: wchar_t support disabled." 1>&2
8763 os_include_dir="os/qnx/qnx6.1"
8764 cat >> confdefs.h <<\EOF
8768 cat >> confdefs.h <<\EOF
8772 cat >> confdefs.h <<\EOF
8773 #define HAVE_COSHF 1
8776 cat >> confdefs.h <<\EOF
8777 #define HAVE_COSHL 1
8780 cat >> confdefs.h <<\EOF
8784 cat >> confdefs.h <<\EOF
8788 cat >> confdefs.h <<\EOF
8789 #define HAVE_LOG10F 1
8792 cat >> confdefs.h <<\EOF
8793 #define HAVE_LOG10L 1
8796 cat >> confdefs.h <<\EOF
8800 cat >> confdefs.h <<\EOF
8804 cat >> confdefs.h <<\EOF
8805 #define HAVE_SINHF 1
8808 cat >> confdefs.h <<\EOF
8809 #define HAVE_SINHL 1
8814 os_include_dir="os/newlib"
8815 cat >> confdefs.h <<\EOF
8816 #define HAVE_HYPOT 1
8822 case "$target_alias" in
8826 cat >> confdefs.h <<\EOF
8827 #define HAVE_ACOSF 1
8830 cat >> confdefs.h <<\EOF
8831 #define HAVE_ASINF 1
8834 cat >> confdefs.h <<\EOF
8835 #define HAVE_ATAN2F 1
8838 cat >> confdefs.h <<\EOF
8839 #define HAVE_ATANF 1
8842 cat >> confdefs.h <<\EOF
8843 #define HAVE_CEILF 1
8846 cat >> confdefs.h <<\EOF
8847 #define HAVE_COPYSIGN 1
8850 cat >> confdefs.h <<\EOF
8851 #define HAVE_COPYSIGNF 1
8854 cat >> confdefs.h <<\EOF
8858 cat >> confdefs.h <<\EOF
8859 #define HAVE_COSHF 1
8862 cat >> confdefs.h <<\EOF
8866 cat >> confdefs.h <<\EOF
8867 #define HAVE_FABSF 1
8870 cat >> confdefs.h <<\EOF
8871 #define HAVE_FLOORF 1
8874 cat >> confdefs.h <<\EOF
8875 #define HAVE_FMODF 1
8878 cat >> confdefs.h <<\EOF
8879 #define HAVE_FREXPF 1
8882 cat >> confdefs.h <<\EOF
8883 #define HAVE_LDEXPF 1
8886 cat >> confdefs.h <<\EOF
8887 #define HAVE_LOG10F 1
8890 cat >> confdefs.h <<\EOF
8894 cat >> confdefs.h <<\EOF
8895 #define HAVE_MODFF 1
8898 cat >> confdefs.h <<\EOF
8902 cat >> confdefs.h <<\EOF
8906 cat >> confdefs.h <<\EOF
8907 #define HAVE_SINHF 1
8910 cat >> confdefs.h <<\EOF
8911 #define HAVE_SQRTF 1
8914 cat >> confdefs.h <<\EOF
8918 cat >> confdefs.h <<\EOF
8919 #define HAVE_TANHF 1
8924 # GLIBCPP_CHECK_STDLIB_SUPPORT
8925 cat >> confdefs.h <<\EOF
8926 #define HAVE_STRTOF 1
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_STRTOLD 1
8934 cat >> confdefs.h <<\EOF
8939 cat >> confdefs.h <<\EOF
8940 #define HAVE_ACOSF 1
8943 cat >> confdefs.h <<\EOF
8944 #define HAVE_ASINF 1
8947 cat >> confdefs.h <<\EOF
8948 #define HAVE_ATAN2F 1
8951 cat >> confdefs.h <<\EOF
8952 #define HAVE_ATANF 1
8955 cat >> confdefs.h <<\EOF
8956 #define HAVE_CEILF 1
8959 cat >> confdefs.h <<\EOF
8960 #define HAVE_COPYSIGN 1
8963 cat >> confdefs.h <<\EOF
8964 #define HAVE_COPYSIGNF 1
8967 cat >> confdefs.h <<\EOF
8971 cat >> confdefs.h <<\EOF
8972 #define HAVE_COSHF 1
8975 cat >> confdefs.h <<\EOF
8979 cat >> confdefs.h <<\EOF
8980 #define HAVE_FABSF 1
8983 cat >> confdefs.h <<\EOF
8984 #define HAVE_FLOORF 1
8987 cat >> confdefs.h <<\EOF
8988 #define HAVE_FMODF 1
8991 cat >> confdefs.h <<\EOF
8992 #define HAVE_FREXPF 1
8995 cat >> confdefs.h <<\EOF
8996 #define HAVE_LDEXPF 1
8999 cat >> confdefs.h <<\EOF
9000 #define HAVE_LOG10F 1
9003 cat >> confdefs.h <<\EOF
9007 cat >> confdefs.h <<\EOF
9008 #define HAVE_MODFF 1
9011 cat >> confdefs.h <<\EOF
9015 cat >> confdefs.h <<\EOF
9019 cat >> confdefs.h <<\EOF
9020 #define HAVE_SINHF 1
9023 cat >> confdefs.h <<\EOF
9024 #define HAVE_SQRTF 1
9027 cat >> confdefs.h <<\EOF
9031 cat >> confdefs.h <<\EOF
9032 #define HAVE_TANHF 1
9038 # At some point, we should differentiate between architectures
9039 # like x86, which have long double versions, and alpha/powerpc/etc.,
9040 # which don't. For the time being, punt.
9041 if test x"long_double_math_on_this_cpu" = x"yes"; then
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE_ACOSL 1
9046 cat >> confdefs.h <<\EOF
9047 #define HAVE_ASINL 1
9050 cat >> confdefs.h <<\EOF
9051 #define HAVE_ATAN2L 1
9054 cat >> confdefs.h <<\EOF
9055 #define HAVE_ATANL 1
9058 cat >> confdefs.h <<\EOF
9059 #define HAVE_CEILL 1
9062 cat >> confdefs.h <<\EOF
9063 #define HAVE_COPYSIGNL 1
9066 cat >> confdefs.h <<\EOF
9070 cat >> confdefs.h <<\EOF
9071 #define HAVE_COSHL 1
9074 cat >> confdefs.h <<\EOF
9078 cat >> confdefs.h <<\EOF
9079 #define HAVE_FABSL 1
9082 cat >> confdefs.h <<\EOF
9083 #define HAVE_FLOORL 1
9086 cat >> confdefs.h <<\EOF
9087 #define HAVE_FMODL 1
9090 cat >> confdefs.h <<\EOF
9091 #define HAVE_FREXPL 1
9094 cat >> confdefs.h <<\EOF
9095 #define HAVE_LDEXPL 1
9098 cat >> confdefs.h <<\EOF
9099 #define HAVE_LOG10L 1
9102 cat >> confdefs.h <<\EOF
9106 cat >> confdefs.h <<\EOF
9107 #define HAVE_MODFL 1
9110 cat >> confdefs.h <<\EOF
9114 cat >> confdefs.h <<\EOF
9115 #define HAVE_SINCOSL 1
9118 cat >> confdefs.h <<\EOF
9122 cat >> confdefs.h <<\EOF
9123 #define HAVE_SINHL 1
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_SQRTL 1
9130 cat >> confdefs.h <<\EOF
9134 cat >> confdefs.h <<\EOF
9135 #define HAVE_TANHL 1
9142 # We are being configured natively. We can do more elaborate tests
9143 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9145 GLIBCPP_IS_CROSS_COMPILING=0
9148 # Check for available headers.
9149 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9150 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9152 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9153 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9154 echo "configure:9155: checking for $ac_hdr" >&5
9155 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9158 cat > conftest.$ac_ext <<EOF
9159 #line 9160 "configure"
9160 #include "confdefs.h"
9163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9164 { (eval echo configure:9165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9166 if test -z "$ac_err"; then
9168 eval "ac_cv_header_$ac_safe=yes"
9171 echo "configure: failed program was:" >&5
9172 cat conftest.$ac_ext >&5
9174 eval "ac_cv_header_$ac_safe=no"
9178 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9179 echo "$ac_t""yes" 1>&6
9180 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9181 cat >> confdefs.h <<EOF
9182 #define $ac_tr_hdr 1
9186 echo "$ac_t""no" 1>&6
9192 # All these tests are for C++; save the language and the compiler flags.
9193 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9194 # found in GLIBCPP_CONFIGURE.
9197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9198 ac_cpp='$CXXCPP $CPPFLAGS'
9199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9201 cross_compiling=$ac_cv_prog_cxx_cross
9203 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9204 ac_save_CXXFLAGS="$CXXFLAGS"
9206 # Check for maintainer-mode bits.
9207 if test x"$USE_MAINTAINER_MODE" = xno; then
9213 # Check for -ffunction-sections -fdata-sections
9214 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9215 echo "configure:9216: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9216 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9217 cat > conftest.$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9226 if { (eval echo configure:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9230 echo "configure: failed program was:" >&5
9231 cat conftest.$ac_ext >&5
9236 if test "$ac_test_CXXFLAGS" = set; then
9237 CXXFLAGS="$ac_save_CXXFLAGS"
9239 # this is the suspicious part
9242 if test x"$ac_fdsections" = x"yes" &&
9243 test x"$enable_debug" = x"no"; then
9244 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9246 echo "$ac_t""$ac_fdsections" 1>&6
9249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9250 ac_cpp='$CPP $CPPFLAGS'
9251 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9252 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9253 cross_compiling=$ac_cv_prog_cc_cross
9259 # If we're not using GNU ld, then there's no point in even trying these
9260 # tests. Check for that first. We should have already tested for gld
9261 # by now (in libtool), but require it now just to be safe...
9262 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9263 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9266 # The name set by libtool depends on the version of libtool. Shame on us
9267 # for depending on an impl detail, but c'est la vie. Older versions used
9268 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9269 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9270 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9271 # set (hence we're using an older libtool), then set it.
9272 if test x${with_gnu_ld+set} != xset; then
9273 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9274 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9277 with_gnu_ld=$ac_cv_prog_gnu_ld
9281 # Start by getting the version number. I think the libtool test already
9282 # does some of this, but throws away the result.
9284 ldver=`$LD --version 2>/dev/null | head -1 | \
9285 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9287 glibcpp_gnu_ld_version=`echo $ldver | \
9288 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9290 # Set --gc-sections.
9291 if test "$with_gnu_ld" = "notbroken"; then
9292 # GNU ld it is! Joy and bunny rabbits!
9294 # All these tests are for C++; save the language and the compiler flags.
9295 # Need to do this so that g++ won't try to link in libstdc++
9296 ac_test_CFLAGS="${CFLAGS+set}"
9297 ac_save_CFLAGS="$CFLAGS"
9298 CFLAGS='-x c++ -Wl,--gc-sections'
9300 # Check for -Wl,--gc-sections
9301 # XXX This test is broken at the moment, as symbols required for
9302 # linking are now in libsupc++ (not built yet.....). In addition,
9303 # this test has cored on solaris in the past. In addition,
9304 # --gc-sections doesn't really work at the moment (keeps on discarding
9305 # used sections, first .eh_frame and now some of the glibc sections for
9306 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9307 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9308 echo "configure:9309: checking for ld that supports -Wl,--gc-sections" >&5
9309 if test "$cross_compiling" = yes; then
9310 ac_sectionLDflags=yes
9312 cat > conftest.$ac_ext <<EOF
9313 #line 9314 "configure"
9314 #include "confdefs.h"
9324 if { (eval echo configure:9325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9326 ac_sectionLDflags=yes
9328 echo "configure: failed program was:" >&5
9329 cat conftest.$ac_ext >&5
9331 ac_sectionLDflags=no
9336 if test "$ac_test_CFLAGS" = set; then
9337 CFLAGS="$ac_save_CFLAGS"
9339 # this is the suspicious part
9342 if test "$ac_sectionLDflags" = "yes"; then
9343 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9345 echo "$ac_t""$ac_sectionLDflags" 1>&6
9348 # Set linker optimization flags.
9349 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9350 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9358 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9359 echo "configure:9360: checking for __builtin_abs declaration" >&5
9360 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9361 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9362 echo $ac_n "(cached) $ac_c" 1>&6
9367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9368 ac_cpp='$CXXCPP $CPPFLAGS'
9369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9371 cross_compiling=$ac_cv_prog_cxx_cross
9373 cat > conftest.$ac_ext <<EOF
9374 #line 9375 "configure"
9375 #include "confdefs.h"
9381 if { (eval echo configure:9382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9383 glibcpp_cv_func___builtin_abs_use=yes
9385 echo "configure: failed program was:" >&5
9386 cat conftest.$ac_ext >&5
9388 glibcpp_cv_func___builtin_abs_use=no
9392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9393 ac_cpp='$CPP $CPPFLAGS'
9394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9396 cross_compiling=$ac_cv_prog_cc_cross
9402 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9403 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9404 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9405 echo "configure:9406: checking for __builtin_abs linkage" >&5
9406 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9408 echo $ac_n "(cached) $ac_c" 1>&6
9411 cat > conftest.$ac_ext <<EOF
9412 #line 9413 "configure"
9413 #include "confdefs.h"
9419 if { (eval echo configure:9420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9421 glibcpp_cv_func___builtin_abs_link=yes
9423 echo "configure: failed program was:" >&5
9424 cat conftest.$ac_ext >&5
9426 glibcpp_cv_func___builtin_abs_link=no
9433 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9434 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9435 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9436 cat >> confdefs.h <<EOF
9437 #define ${ac_tr_func} 1
9444 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9445 echo "configure:9446: checking for __builtin_fabsf declaration" >&5
9446 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9447 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9448 echo $ac_n "(cached) $ac_c" 1>&6
9453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9454 ac_cpp='$CXXCPP $CPPFLAGS'
9455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9457 cross_compiling=$ac_cv_prog_cxx_cross
9459 cat > conftest.$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9467 if { (eval echo configure:9468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9469 glibcpp_cv_func___builtin_fabsf_use=yes
9471 echo "configure: failed program was:" >&5
9472 cat conftest.$ac_ext >&5
9474 glibcpp_cv_func___builtin_fabsf_use=no
9478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9479 ac_cpp='$CPP $CPPFLAGS'
9480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9482 cross_compiling=$ac_cv_prog_cc_cross
9488 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9489 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9490 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9491 echo "configure:9492: checking for __builtin_fabsf linkage" >&5
9492 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9494 echo $ac_n "(cached) $ac_c" 1>&6
9497 cat > conftest.$ac_ext <<EOF
9498 #line 9499 "configure"
9499 #include "confdefs.h"
9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9507 glibcpp_cv_func___builtin_fabsf_link=yes
9509 echo "configure: failed program was:" >&5
9510 cat conftest.$ac_ext >&5
9512 glibcpp_cv_func___builtin_fabsf_link=no
9519 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9520 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9521 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9522 cat >> confdefs.h <<EOF
9523 #define ${ac_tr_func} 1
9530 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9531 echo "configure:9532: checking for __builtin_fabs declaration" >&5
9532 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9534 echo $ac_n "(cached) $ac_c" 1>&6
9539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9540 ac_cpp='$CXXCPP $CPPFLAGS'
9541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9543 cross_compiling=$ac_cv_prog_cxx_cross
9545 cat > conftest.$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9553 if { (eval echo configure:9554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9555 glibcpp_cv_func___builtin_fabs_use=yes
9557 echo "configure: failed program was:" >&5
9558 cat conftest.$ac_ext >&5
9560 glibcpp_cv_func___builtin_fabs_use=no
9564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9565 ac_cpp='$CPP $CPPFLAGS'
9566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9568 cross_compiling=$ac_cv_prog_cc_cross
9574 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9575 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9576 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9577 echo "configure:9578: checking for __builtin_fabs linkage" >&5
9578 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9580 echo $ac_n "(cached) $ac_c" 1>&6
9583 cat > conftest.$ac_ext <<EOF
9584 #line 9585 "configure"
9585 #include "confdefs.h"
9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9593 glibcpp_cv_func___builtin_fabs_link=yes
9595 echo "configure: failed program was:" >&5
9596 cat conftest.$ac_ext >&5
9598 glibcpp_cv_func___builtin_fabs_link=no
9605 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9606 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9607 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9608 cat >> confdefs.h <<EOF
9609 #define ${ac_tr_func} 1
9616 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9617 echo "configure:9618: checking for __builtin_fabsl declaration" >&5
9618 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9619 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9620 echo $ac_n "(cached) $ac_c" 1>&6
9625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9626 ac_cpp='$CXXCPP $CPPFLAGS'
9627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9629 cross_compiling=$ac_cv_prog_cxx_cross
9631 cat > conftest.$ac_ext <<EOF
9632 #line 9633 "configure"
9633 #include "confdefs.h"
9639 if { (eval echo configure:9640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9641 glibcpp_cv_func___builtin_fabsl_use=yes
9643 echo "configure: failed program was:" >&5
9644 cat conftest.$ac_ext >&5
9646 glibcpp_cv_func___builtin_fabsl_use=no
9650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9651 ac_cpp='$CPP $CPPFLAGS'
9652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9654 cross_compiling=$ac_cv_prog_cc_cross
9660 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9661 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9662 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9663 echo "configure:9664: checking for __builtin_fabsl linkage" >&5
9664 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9665 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9666 echo $ac_n "(cached) $ac_c" 1>&6
9669 cat > conftest.$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9677 if { (eval echo configure:9678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9679 glibcpp_cv_func___builtin_fabsl_link=yes
9681 echo "configure: failed program was:" >&5
9682 cat conftest.$ac_ext >&5
9684 glibcpp_cv_func___builtin_fabsl_link=no
9691 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9692 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9693 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9694 cat >> confdefs.h <<EOF
9695 #define ${ac_tr_func} 1
9702 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9703 echo "configure:9704: checking for __builtin_labs declaration" >&5
9704 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9705 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9712 ac_cpp='$CXXCPP $CPPFLAGS'
9713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9715 cross_compiling=$ac_cv_prog_cxx_cross
9717 cat > conftest.$ac_ext <<EOF
9718 #line 9719 "configure"
9719 #include "confdefs.h"
9725 if { (eval echo configure:9726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9727 glibcpp_cv_func___builtin_labs_use=yes
9729 echo "configure: failed program was:" >&5
9730 cat conftest.$ac_ext >&5
9732 glibcpp_cv_func___builtin_labs_use=no
9736 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9737 ac_cpp='$CPP $CPPFLAGS'
9738 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9739 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9740 cross_compiling=$ac_cv_prog_cc_cross
9746 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9747 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9748 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9749 echo "configure:9750: checking for __builtin_labs linkage" >&5
9750 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9751 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9752 echo $ac_n "(cached) $ac_c" 1>&6
9755 cat > conftest.$ac_ext <<EOF
9756 #line 9757 "configure"
9757 #include "confdefs.h"
9763 if { (eval echo configure:9764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9765 glibcpp_cv_func___builtin_labs_link=yes
9767 echo "configure: failed program was:" >&5
9768 cat conftest.$ac_ext >&5
9770 glibcpp_cv_func___builtin_labs_link=no
9777 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9778 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9779 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9780 cat >> confdefs.h <<EOF
9781 #define ${ac_tr_func} 1
9789 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9790 echo "configure:9791: checking for __builtin_sqrtf declaration" >&5
9791 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9792 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9793 echo $ac_n "(cached) $ac_c" 1>&6
9798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9799 ac_cpp='$CXXCPP $CPPFLAGS'
9800 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9801 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9802 cross_compiling=$ac_cv_prog_cxx_cross
9804 cat > conftest.$ac_ext <<EOF
9805 #line 9806 "configure"
9806 #include "confdefs.h"
9812 if { (eval echo configure:9813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9814 glibcpp_cv_func___builtin_sqrtf_use=yes
9816 echo "configure: failed program was:" >&5
9817 cat conftest.$ac_ext >&5
9819 glibcpp_cv_func___builtin_sqrtf_use=no
9823 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9824 ac_cpp='$CPP $CPPFLAGS'
9825 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9826 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9827 cross_compiling=$ac_cv_prog_cc_cross
9833 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9834 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9835 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9836 echo "configure:9837: checking for __builtin_sqrtf linkage" >&5
9837 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9838 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9839 echo $ac_n "(cached) $ac_c" 1>&6
9842 cat > conftest.$ac_ext <<EOF
9843 #line 9844 "configure"
9844 #include "confdefs.h"
9850 if { (eval echo configure:9851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9852 glibcpp_cv_func___builtin_sqrtf_link=yes
9854 echo "configure: failed program was:" >&5
9855 cat conftest.$ac_ext >&5
9857 glibcpp_cv_func___builtin_sqrtf_link=no
9864 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9865 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9866 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9867 cat >> confdefs.h <<EOF
9868 #define ${ac_tr_func} 1
9875 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9876 echo "configure:9877: checking for __builtin_sqrt declaration" >&5
9877 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9878 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9885 ac_cpp='$CXXCPP $CPPFLAGS'
9886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9888 cross_compiling=$ac_cv_prog_cxx_cross
9890 cat > conftest.$ac_ext <<EOF
9891 #line 9892 "configure"
9892 #include "confdefs.h"
9898 if { (eval echo configure:9899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9900 glibcpp_cv_func___builtin_sqrt_use=yes
9902 echo "configure: failed program was:" >&5
9903 cat conftest.$ac_ext >&5
9905 glibcpp_cv_func___builtin_sqrt_use=no
9909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9910 ac_cpp='$CPP $CPPFLAGS'
9911 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9912 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9913 cross_compiling=$ac_cv_prog_cc_cross
9919 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9920 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9921 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9922 echo "configure:9923: checking for __builtin_sqrt linkage" >&5
9923 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9924 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9928 cat > conftest.$ac_ext <<EOF
9929 #line 9930 "configure"
9930 #include "confdefs.h"
9936 if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9938 glibcpp_cv_func___builtin_sqrt_link=yes
9940 echo "configure: failed program was:" >&5
9941 cat conftest.$ac_ext >&5
9943 glibcpp_cv_func___builtin_sqrt_link=no
9950 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9951 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9952 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9953 cat >> confdefs.h <<EOF
9954 #define ${ac_tr_func} 1
9961 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9962 echo "configure:9963: checking for __builtin_sqrtl declaration" >&5
9963 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9964 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9965 echo $ac_n "(cached) $ac_c" 1>&6
9970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9971 ac_cpp='$CXXCPP $CPPFLAGS'
9972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9974 cross_compiling=$ac_cv_prog_cxx_cross
9976 cat > conftest.$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9984 if { (eval echo configure:9985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9986 glibcpp_cv_func___builtin_sqrtl_use=yes
9988 echo "configure: failed program was:" >&5
9989 cat conftest.$ac_ext >&5
9991 glibcpp_cv_func___builtin_sqrtl_use=no
9995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9996 ac_cpp='$CPP $CPPFLAGS'
9997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9999 cross_compiling=$ac_cv_prog_cc_cross
10005 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10006 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10007 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10008 echo "configure:10009: checking for __builtin_sqrtl linkage" >&5
10009 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10010 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10011 echo $ac_n "(cached) $ac_c" 1>&6
10014 cat > conftest.$ac_ext <<EOF
10015 #line 10016 "configure"
10016 #include "confdefs.h"
10019 __builtin_sqrtl(0);
10022 if { (eval echo configure:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10024 glibcpp_cv_func___builtin_sqrtl_link=yes
10026 echo "configure: failed program was:" >&5
10027 cat conftest.$ac_ext >&5
10029 glibcpp_cv_func___builtin_sqrtl_link=no
10036 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10037 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10038 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10039 cat >> confdefs.h <<EOF
10040 #define ${ac_tr_func} 1
10048 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10049 echo "configure:10050: checking for __builtin_sinf declaration" >&5
10050 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10051 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10052 echo $ac_n "(cached) $ac_c" 1>&6
10057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10058 ac_cpp='$CXXCPP $CPPFLAGS'
10059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10061 cross_compiling=$ac_cv_prog_cxx_cross
10063 cat > conftest.$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10071 if { (eval echo configure:10072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10073 glibcpp_cv_func___builtin_sinf_use=yes
10075 echo "configure: failed program was:" >&5
10076 cat conftest.$ac_ext >&5
10078 glibcpp_cv_func___builtin_sinf_use=no
10082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10083 ac_cpp='$CPP $CPPFLAGS'
10084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10086 cross_compiling=$ac_cv_prog_cc_cross
10092 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10093 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10094 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10095 echo "configure:10096: checking for __builtin_sinf linkage" >&5
10096 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10097 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10098 echo $ac_n "(cached) $ac_c" 1>&6
10101 cat > conftest.$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10109 if { (eval echo configure:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10111 glibcpp_cv_func___builtin_sinf_link=yes
10113 echo "configure: failed program was:" >&5
10114 cat conftest.$ac_ext >&5
10116 glibcpp_cv_func___builtin_sinf_link=no
10123 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10124 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10125 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10126 cat >> confdefs.h <<EOF
10127 #define ${ac_tr_func} 1
10134 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10135 echo "configure:10136: checking for __builtin_sin declaration" >&5
10136 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10137 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10138 echo $ac_n "(cached) $ac_c" 1>&6
10143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10144 ac_cpp='$CXXCPP $CPPFLAGS'
10145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10147 cross_compiling=$ac_cv_prog_cxx_cross
10149 cat > conftest.$ac_ext <<EOF
10150 #line 10151 "configure"
10151 #include "confdefs.h"
10157 if { (eval echo configure:10158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10159 glibcpp_cv_func___builtin_sin_use=yes
10161 echo "configure: failed program was:" >&5
10162 cat conftest.$ac_ext >&5
10164 glibcpp_cv_func___builtin_sin_use=no
10168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10169 ac_cpp='$CPP $CPPFLAGS'
10170 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10171 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10172 cross_compiling=$ac_cv_prog_cc_cross
10178 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10179 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10180 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10181 echo "configure:10182: checking for __builtin_sin linkage" >&5
10182 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10183 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10184 echo $ac_n "(cached) $ac_c" 1>&6
10187 cat > conftest.$ac_ext <<EOF
10188 #line 10189 "configure"
10189 #include "confdefs.h"
10195 if { (eval echo configure:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10197 glibcpp_cv_func___builtin_sin_link=yes
10199 echo "configure: failed program was:" >&5
10200 cat conftest.$ac_ext >&5
10202 glibcpp_cv_func___builtin_sin_link=no
10209 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10210 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10211 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10212 cat >> confdefs.h <<EOF
10213 #define ${ac_tr_func} 1
10220 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10221 echo "configure:10222: checking for __builtin_sinl declaration" >&5
10222 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10223 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10224 echo $ac_n "(cached) $ac_c" 1>&6
10229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10230 ac_cpp='$CXXCPP $CPPFLAGS'
10231 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10232 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10233 cross_compiling=$ac_cv_prog_cxx_cross
10235 cat > conftest.$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10243 if { (eval echo configure:10244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10245 glibcpp_cv_func___builtin_sinl_use=yes
10247 echo "configure: failed program was:" >&5
10248 cat conftest.$ac_ext >&5
10250 glibcpp_cv_func___builtin_sinl_use=no
10254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10255 ac_cpp='$CPP $CPPFLAGS'
10256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10258 cross_compiling=$ac_cv_prog_cc_cross
10264 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10265 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10266 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10267 echo "configure:10268: checking for __builtin_sinl linkage" >&5
10268 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10269 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10270 echo $ac_n "(cached) $ac_c" 1>&6
10273 cat > conftest.$ac_ext <<EOF
10274 #line 10275 "configure"
10275 #include "confdefs.h"
10281 if { (eval echo configure:10282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10283 glibcpp_cv_func___builtin_sinl_link=yes
10285 echo "configure: failed program was:" >&5
10286 cat conftest.$ac_ext >&5
10288 glibcpp_cv_func___builtin_sinl_link=no
10295 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10296 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10297 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10298 cat >> confdefs.h <<EOF
10299 #define ${ac_tr_func} 1
10307 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10308 echo "configure:10309: checking for __builtin_cosf declaration" >&5
10309 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10310 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10311 echo $ac_n "(cached) $ac_c" 1>&6
10316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10317 ac_cpp='$CXXCPP $CPPFLAGS'
10318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10320 cross_compiling=$ac_cv_prog_cxx_cross
10322 cat > conftest.$ac_ext <<EOF
10323 #line 10324 "configure"
10324 #include "confdefs.h"
10330 if { (eval echo configure:10331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10332 glibcpp_cv_func___builtin_cosf_use=yes
10334 echo "configure: failed program was:" >&5
10335 cat conftest.$ac_ext >&5
10337 glibcpp_cv_func___builtin_cosf_use=no
10341 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10342 ac_cpp='$CPP $CPPFLAGS'
10343 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10344 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10345 cross_compiling=$ac_cv_prog_cc_cross
10351 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10352 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10353 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10354 echo "configure:10355: checking for __builtin_cosf linkage" >&5
10355 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10356 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10357 echo $ac_n "(cached) $ac_c" 1>&6
10360 cat > conftest.$ac_ext <<EOF
10361 #line 10362 "configure"
10362 #include "confdefs.h"
10368 if { (eval echo configure:10369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10370 glibcpp_cv_func___builtin_cosf_link=yes
10372 echo "configure: failed program was:" >&5
10373 cat conftest.$ac_ext >&5
10375 glibcpp_cv_func___builtin_cosf_link=no
10382 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10383 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10384 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10385 cat >> confdefs.h <<EOF
10386 #define ${ac_tr_func} 1
10393 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10394 echo "configure:10395: checking for __builtin_cos declaration" >&5
10395 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10396 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10403 ac_cpp='$CXXCPP $CPPFLAGS'
10404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10406 cross_compiling=$ac_cv_prog_cxx_cross
10408 cat > conftest.$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10416 if { (eval echo configure:10417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10418 glibcpp_cv_func___builtin_cos_use=yes
10420 echo "configure: failed program was:" >&5
10421 cat conftest.$ac_ext >&5
10423 glibcpp_cv_func___builtin_cos_use=no
10427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10428 ac_cpp='$CPP $CPPFLAGS'
10429 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10430 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10431 cross_compiling=$ac_cv_prog_cc_cross
10437 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10438 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10439 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10440 echo "configure:10441: checking for __builtin_cos linkage" >&5
10441 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10442 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10443 echo $ac_n "(cached) $ac_c" 1>&6
10446 cat > conftest.$ac_ext <<EOF
10447 #line 10448 "configure"
10448 #include "confdefs.h"
10454 if { (eval echo configure:10455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10456 glibcpp_cv_func___builtin_cos_link=yes
10458 echo "configure: failed program was:" >&5
10459 cat conftest.$ac_ext >&5
10461 glibcpp_cv_func___builtin_cos_link=no
10468 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10469 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10470 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10471 cat >> confdefs.h <<EOF
10472 #define ${ac_tr_func} 1
10479 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10480 echo "configure:10481: checking for __builtin_cosl declaration" >&5
10481 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10482 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10483 echo $ac_n "(cached) $ac_c" 1>&6
10488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10489 ac_cpp='$CXXCPP $CPPFLAGS'
10490 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10491 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10492 cross_compiling=$ac_cv_prog_cxx_cross
10494 cat > conftest.$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10502 if { (eval echo configure:10503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10504 glibcpp_cv_func___builtin_cosl_use=yes
10506 echo "configure: failed program was:" >&5
10507 cat conftest.$ac_ext >&5
10509 glibcpp_cv_func___builtin_cosl_use=no
10513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10514 ac_cpp='$CPP $CPPFLAGS'
10515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10517 cross_compiling=$ac_cv_prog_cc_cross
10523 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10524 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10525 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10526 echo "configure:10527: checking for __builtin_cosl linkage" >&5
10527 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10528 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10529 echo $ac_n "(cached) $ac_c" 1>&6
10532 cat > conftest.$ac_ext <<EOF
10533 #line 10534 "configure"
10534 #include "confdefs.h"
10540 if { (eval echo configure:10541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10542 glibcpp_cv_func___builtin_cosl_link=yes
10544 echo "configure: failed program was:" >&5
10545 cat conftest.$ac_ext >&5
10547 glibcpp_cv_func___builtin_cosl_link=no
10554 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10555 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10556 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10557 cat >> confdefs.h <<EOF
10558 #define ${ac_tr_func} 1
10566 if test x$dummyvar = x"yes"; then
10567 cat >> confdefs.h <<\EOF
10568 #define HAVE___BUILTIN_ABS 1
10571 cat >> confdefs.h <<\EOF
10572 #define HAVE___BUILTIN_LABS 1
10575 cat >> confdefs.h <<\EOF
10576 #define HAVE___BUILTIN_COS 1
10579 cat >> confdefs.h <<\EOF
10580 #define HAVE___BUILTIN_COSF 1
10583 cat >> confdefs.h <<\EOF
10584 #define HAVE___BUILTIN_COSL 1
10587 cat >> confdefs.h <<\EOF
10588 #define HAVE___BUILTIN_FABS 1
10591 cat >> confdefs.h <<\EOF
10592 #define HAVE___BUILTIN_FABSF 1
10595 cat >> confdefs.h <<\EOF
10596 #define HAVE___BUILTIN_FABSL 1
10599 cat >> confdefs.h <<\EOF
10600 #define HAVE___BUILTIN_SIN 1
10603 cat >> confdefs.h <<\EOF
10604 #define HAVE___BUILTIN_SINF 1
10607 cat >> confdefs.h <<\EOF
10608 #define HAVE___BUILTIN_SINL 1
10611 cat >> confdefs.h <<\EOF
10612 #define HAVE___BUILTIN_SQRT 1
10615 cat >> confdefs.h <<\EOF
10616 #define HAVE___BUILTIN_SQRTF 1
10619 cat >> confdefs.h <<\EOF
10620 #define HAVE___BUILTIN_SQRTL 1
10626 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10627 ac_save_CXXFLAGS="$CXXFLAGS"
10628 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10630 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10631 echo "configure:10632: checking for sin in -lm" >&5
10632 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 ac_save_LIBS="$LIBS"
10638 cat > conftest.$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10641 /* Override any gcc2 internal prototype to avoid an error. */
10642 /* We use char because int might match the return type of a gcc2
10643 builtin and then its argument prototype would still apply. */
10650 if { (eval echo configure:10651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10652 eval "ac_cv_lib_$ac_lib_var=yes"
10654 echo "configure: failed program was:" >&5
10655 cat conftest.$ac_ext >&5
10657 eval "ac_cv_lib_$ac_lib_var=no"
10660 LIBS="$ac_save_LIBS"
10663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10664 echo "$ac_t""yes" 1>&6
10667 echo "$ac_t""no" 1>&6
10670 ac_save_LIBS="$LIBS"
10675 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10676 echo "configure:10677: checking for isinf declaration" >&5
10677 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10678 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10679 echo $ac_n "(cached) $ac_c" 1>&6
10684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10685 ac_cpp='$CXXCPP $CPPFLAGS'
10686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10688 cross_compiling=$ac_cv_prog_cxx_cross
10690 cat > conftest.$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10694 #ifdef HAVE_IEEEFP_H
10695 #include <ieeefp.h>
10702 if { (eval echo configure:10703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10704 glibcpp_cv_func_isinf_use=yes
10706 echo "configure: failed program was:" >&5
10707 cat conftest.$ac_ext >&5
10709 glibcpp_cv_func_isinf_use=no
10713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10714 ac_cpp='$CPP $CPPFLAGS'
10715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10717 cross_compiling=$ac_cv_prog_cc_cross
10723 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10725 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10726 for ac_func in isinf
10728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10729 echo "configure:10730: checking for $ac_func" >&5
10730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10731 echo $ac_n "(cached) $ac_c" 1>&6
10733 cat > conftest.$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10736 /* System header to define __stub macros and hopefully few prototypes,
10737 which can conflict with char $ac_func(); below. */
10738 #include <assert.h>
10739 /* Override any gcc2 internal prototype to avoid an error. */
10740 /* We use char because int might match the return type of a gcc2
10741 builtin and then its argument prototype would still apply. */
10746 /* The GNU C library defines this for functions which it implements
10747 to always fail with ENOSYS. Some functions are actually named
10748 something starting with __ and the normal name is an alias. */
10749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10757 if { (eval echo configure:10758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10759 eval "ac_cv_func_$ac_func=yes"
10761 echo "configure: failed program was:" >&5
10762 cat conftest.$ac_ext >&5
10764 eval "ac_cv_func_$ac_func=no"
10769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10770 echo "$ac_t""yes" 1>&6
10771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10772 cat >> confdefs.h <<EOF
10773 #define $ac_tr_func 1
10777 echo "$ac_t""no" 1>&6
10783 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10784 echo "configure:10785: checking for _isinf declaration" >&5
10785 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10786 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10792 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10793 ac_cpp='$CXXCPP $CPPFLAGS'
10794 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10795 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10796 cross_compiling=$ac_cv_prog_cxx_cross
10798 cat > conftest.$ac_ext <<EOF
10799 #line 10800 "configure"
10800 #include "confdefs.h"
10802 #ifdef HAVE_IEEEFP_H
10803 #include <ieeefp.h>
10810 if { (eval echo configure:10811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10812 glibcpp_cv_func__isinf_use=yes
10814 echo "configure: failed program was:" >&5
10815 cat conftest.$ac_ext >&5
10817 glibcpp_cv_func__isinf_use=no
10821 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10822 ac_cpp='$CPP $CPPFLAGS'
10823 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10824 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10825 cross_compiling=$ac_cv_prog_cc_cross
10831 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10833 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10834 for ac_func in _isinf
10836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10837 echo "configure:10838: checking for $ac_func" >&5
10838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10839 echo $ac_n "(cached) $ac_c" 1>&6
10841 cat > conftest.$ac_ext <<EOF
10842 #line 10843 "configure"
10843 #include "confdefs.h"
10844 /* System header to define __stub macros and hopefully few prototypes,
10845 which can conflict with char $ac_func(); below. */
10846 #include <assert.h>
10847 /* Override any gcc2 internal prototype to avoid an error. */
10848 /* We use char because int might match the return type of a gcc2
10849 builtin and then its argument prototype would still apply. */
10854 /* The GNU C library defines this for functions which it implements
10855 to always fail with ENOSYS. Some functions are actually named
10856 something starting with __ and the normal name is an alias. */
10857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10865 if { (eval echo configure:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10867 eval "ac_cv_func_$ac_func=yes"
10869 echo "configure: failed program was:" >&5
10870 cat conftest.$ac_ext >&5
10872 eval "ac_cv_func_$ac_func=no"
10877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10878 echo "$ac_t""yes" 1>&6
10879 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10880 cat >> confdefs.h <<EOF
10881 #define $ac_tr_func 1
10885 echo "$ac_t""no" 1>&6
10894 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10895 echo "configure:10896: checking for isnan declaration" >&5
10896 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10897 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10898 echo $ac_n "(cached) $ac_c" 1>&6
10903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10904 ac_cpp='$CXXCPP $CPPFLAGS'
10905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10907 cross_compiling=$ac_cv_prog_cxx_cross
10909 cat > conftest.$ac_ext <<EOF
10910 #line 10911 "configure"
10911 #include "confdefs.h"
10913 #ifdef HAVE_IEEEFP_H
10914 #include <ieeefp.h>
10921 if { (eval echo configure:10922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10923 glibcpp_cv_func_isnan_use=yes
10925 echo "configure: failed program was:" >&5
10926 cat conftest.$ac_ext >&5
10928 glibcpp_cv_func_isnan_use=no
10932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10933 ac_cpp='$CPP $CPPFLAGS'
10934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10936 cross_compiling=$ac_cv_prog_cc_cross
10942 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10944 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10945 for ac_func in isnan
10947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10948 echo "configure:10949: checking for $ac_func" >&5
10949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 cat > conftest.$ac_ext <<EOF
10953 #line 10954 "configure"
10954 #include "confdefs.h"
10955 /* System header to define __stub macros and hopefully few prototypes,
10956 which can conflict with char $ac_func(); below. */
10957 #include <assert.h>
10958 /* Override any gcc2 internal prototype to avoid an error. */
10959 /* We use char because int might match the return type of a gcc2
10960 builtin and then its argument prototype would still apply. */
10965 /* The GNU C library defines this for functions which it implements
10966 to always fail with ENOSYS. Some functions are actually named
10967 something starting with __ and the normal name is an alias. */
10968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10976 if { (eval echo configure:10977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10978 eval "ac_cv_func_$ac_func=yes"
10980 echo "configure: failed program was:" >&5
10981 cat conftest.$ac_ext >&5
10983 eval "ac_cv_func_$ac_func=no"
10988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10989 echo "$ac_t""yes" 1>&6
10990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10991 cat >> confdefs.h <<EOF
10992 #define $ac_tr_func 1
10996 echo "$ac_t""no" 1>&6
11002 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11003 echo "configure:11004: checking for _isnan declaration" >&5
11004 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11005 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11006 echo $ac_n "(cached) $ac_c" 1>&6
11011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11012 ac_cpp='$CXXCPP $CPPFLAGS'
11013 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11014 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11015 cross_compiling=$ac_cv_prog_cxx_cross
11017 cat > conftest.$ac_ext <<EOF
11018 #line 11019 "configure"
11019 #include "confdefs.h"
11021 #ifdef HAVE_IEEEFP_H
11022 #include <ieeefp.h>
11029 if { (eval echo configure:11030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11031 glibcpp_cv_func__isnan_use=yes
11033 echo "configure: failed program was:" >&5
11034 cat conftest.$ac_ext >&5
11036 glibcpp_cv_func__isnan_use=no
11040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11041 ac_cpp='$CPP $CPPFLAGS'
11042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11044 cross_compiling=$ac_cv_prog_cc_cross
11050 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11052 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11053 for ac_func in _isnan
11055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11056 echo "configure:11057: checking for $ac_func" >&5
11057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11058 echo $ac_n "(cached) $ac_c" 1>&6
11060 cat > conftest.$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11063 /* System header to define __stub macros and hopefully few prototypes,
11064 which can conflict with char $ac_func(); below. */
11065 #include <assert.h>
11066 /* Override any gcc2 internal prototype to avoid an error. */
11067 /* We use char because int might match the return type of a gcc2
11068 builtin and then its argument prototype would still apply. */
11073 /* The GNU C library defines this for functions which it implements
11074 to always fail with ENOSYS. Some functions are actually named
11075 something starting with __ and the normal name is an alias. */
11076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11084 if { (eval echo configure:11085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11086 eval "ac_cv_func_$ac_func=yes"
11088 echo "configure: failed program was:" >&5
11089 cat conftest.$ac_ext >&5
11091 eval "ac_cv_func_$ac_func=no"
11096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11097 echo "$ac_t""yes" 1>&6
11098 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11099 cat >> confdefs.h <<EOF
11100 #define $ac_tr_func 1
11104 echo "$ac_t""no" 1>&6
11113 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11114 echo "configure:11115: checking for finite declaration" >&5
11115 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11116 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11117 echo $ac_n "(cached) $ac_c" 1>&6
11122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11123 ac_cpp='$CXXCPP $CPPFLAGS'
11124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11126 cross_compiling=$ac_cv_prog_cxx_cross
11128 cat > conftest.$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11132 #ifdef HAVE_IEEEFP_H
11133 #include <ieeefp.h>
11140 if { (eval echo configure:11141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11142 glibcpp_cv_func_finite_use=yes
11144 echo "configure: failed program was:" >&5
11145 cat conftest.$ac_ext >&5
11147 glibcpp_cv_func_finite_use=no
11151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11152 ac_cpp='$CPP $CPPFLAGS'
11153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11155 cross_compiling=$ac_cv_prog_cc_cross
11161 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11163 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11164 for ac_func in finite
11166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11167 echo "configure:11168: checking for $ac_func" >&5
11168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11169 echo $ac_n "(cached) $ac_c" 1>&6
11171 cat > conftest.$ac_ext <<EOF
11172 #line 11173 "configure"
11173 #include "confdefs.h"
11174 /* System header to define __stub macros and hopefully few prototypes,
11175 which can conflict with char $ac_func(); below. */
11176 #include <assert.h>
11177 /* Override any gcc2 internal prototype to avoid an error. */
11178 /* We use char because int might match the return type of a gcc2
11179 builtin and then its argument prototype would still apply. */
11184 /* The GNU C library defines this for functions which it implements
11185 to always fail with ENOSYS. Some functions are actually named
11186 something starting with __ and the normal name is an alias. */
11187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11195 if { (eval echo configure:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11197 eval "ac_cv_func_$ac_func=yes"
11199 echo "configure: failed program was:" >&5
11200 cat conftest.$ac_ext >&5
11202 eval "ac_cv_func_$ac_func=no"
11207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11208 echo "$ac_t""yes" 1>&6
11209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11210 cat >> confdefs.h <<EOF
11211 #define $ac_tr_func 1
11215 echo "$ac_t""no" 1>&6
11221 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11222 echo "configure:11223: checking for _finite declaration" >&5
11223 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11224 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11225 echo $ac_n "(cached) $ac_c" 1>&6
11230 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11231 ac_cpp='$CXXCPP $CPPFLAGS'
11232 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11233 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11234 cross_compiling=$ac_cv_prog_cxx_cross
11236 cat > conftest.$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11240 #ifdef HAVE_IEEEFP_H
11241 #include <ieeefp.h>
11248 if { (eval echo configure:11249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11250 glibcpp_cv_func__finite_use=yes
11252 echo "configure: failed program was:" >&5
11253 cat conftest.$ac_ext >&5
11255 glibcpp_cv_func__finite_use=no
11259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11260 ac_cpp='$CPP $CPPFLAGS'
11261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11263 cross_compiling=$ac_cv_prog_cc_cross
11269 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11271 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11272 for ac_func in _finite
11274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11275 echo "configure:11276: checking for $ac_func" >&5
11276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11279 cat > conftest.$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 /* System header to define __stub macros and hopefully few prototypes,
11283 which can conflict with char $ac_func(); below. */
11284 #include <assert.h>
11285 /* Override any gcc2 internal prototype to avoid an error. */
11286 /* We use char because int might match the return type of a gcc2
11287 builtin and then its argument prototype would still apply. */
11292 /* The GNU C library defines this for functions which it implements
11293 to always fail with ENOSYS. Some functions are actually named
11294 something starting with __ and the normal name is an alias. */
11295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11305 eval "ac_cv_func_$ac_func=yes"
11307 echo "configure: failed program was:" >&5
11308 cat conftest.$ac_ext >&5
11310 eval "ac_cv_func_$ac_func=no"
11315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11316 echo "$ac_t""yes" 1>&6
11317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11318 cat >> confdefs.h <<EOF
11319 #define $ac_tr_func 1
11323 echo "$ac_t""no" 1>&6
11332 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11333 echo "configure:11334: checking for copysign declaration" >&5
11334 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11335 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11336 echo $ac_n "(cached) $ac_c" 1>&6
11341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11342 ac_cpp='$CXXCPP $CPPFLAGS'
11343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11345 cross_compiling=$ac_cv_prog_cxx_cross
11347 cat > conftest.$ac_ext <<EOF
11348 #line 11349 "configure"
11349 #include "confdefs.h"
11355 if { (eval echo configure:11356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11357 glibcpp_cv_func_copysign_use=yes
11359 echo "configure: failed program was:" >&5
11360 cat conftest.$ac_ext >&5
11362 glibcpp_cv_func_copysign_use=no
11366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11367 ac_cpp='$CPP $CPPFLAGS'
11368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11370 cross_compiling=$ac_cv_prog_cc_cross
11376 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11378 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11379 for ac_func in copysign
11381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11382 echo "configure:11383: checking for $ac_func" >&5
11383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11386 cat > conftest.$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11389 /* System header to define __stub macros and hopefully few prototypes,
11390 which can conflict with char $ac_func(); below. */
11391 #include <assert.h>
11392 /* Override any gcc2 internal prototype to avoid an error. */
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11399 /* The GNU C library defines this for functions which it implements
11400 to always fail with ENOSYS. Some functions are actually named
11401 something starting with __ and the normal name is an alias. */
11402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11410 if { (eval echo configure:11411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11412 eval "ac_cv_func_$ac_func=yes"
11414 echo "configure: failed program was:" >&5
11415 cat conftest.$ac_ext >&5
11417 eval "ac_cv_func_$ac_func=no"
11422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11423 echo "$ac_t""yes" 1>&6
11424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11425 cat >> confdefs.h <<EOF
11426 #define $ac_tr_func 1
11430 echo "$ac_t""no" 1>&6
11436 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11437 echo "configure:11438: checking for _copysign declaration" >&5
11438 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11439 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11440 echo $ac_n "(cached) $ac_c" 1>&6
11445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11446 ac_cpp='$CXXCPP $CPPFLAGS'
11447 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11448 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11449 cross_compiling=$ac_cv_prog_cxx_cross
11451 cat > conftest.$ac_ext <<EOF
11452 #line 11453 "configure"
11453 #include "confdefs.h"
11459 if { (eval echo configure:11460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11461 glibcpp_cv_func__copysign_use=yes
11463 echo "configure: failed program was:" >&5
11464 cat conftest.$ac_ext >&5
11466 glibcpp_cv_func__copysign_use=no
11470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11471 ac_cpp='$CPP $CPPFLAGS'
11472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11474 cross_compiling=$ac_cv_prog_cc_cross
11480 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11482 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11483 for ac_func in _copysign
11485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11486 echo "configure:11487: checking for $ac_func" >&5
11487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11488 echo $ac_n "(cached) $ac_c" 1>&6
11490 cat > conftest.$ac_ext <<EOF
11491 #line 11492 "configure"
11492 #include "confdefs.h"
11493 /* System header to define __stub macros and hopefully few prototypes,
11494 which can conflict with char $ac_func(); below. */
11495 #include <assert.h>
11496 /* Override any gcc2 internal prototype to avoid an error. */
11497 /* We use char because int might match the return type of a gcc2
11498 builtin and then its argument prototype would still apply. */
11503 /* The GNU C library defines this for functions which it implements
11504 to always fail with ENOSYS. Some functions are actually named
11505 something starting with __ and the normal name is an alias. */
11506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11514 if { (eval echo configure:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11516 eval "ac_cv_func_$ac_func=yes"
11518 echo "configure: failed program was:" >&5
11519 cat conftest.$ac_ext >&5
11521 eval "ac_cv_func_$ac_func=no"
11526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11527 echo "$ac_t""yes" 1>&6
11528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11529 cat >> confdefs.h <<EOF
11530 #define $ac_tr_func 1
11534 echo "$ac_t""no" 1>&6
11543 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11544 echo "configure:11545: checking for sincos declaration" >&5
11545 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11546 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11547 echo $ac_n "(cached) $ac_c" 1>&6
11552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11553 ac_cpp='$CXXCPP $CPPFLAGS'
11554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11556 cross_compiling=$ac_cv_prog_cxx_cross
11558 cat > conftest.$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11566 if { (eval echo configure:11567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11568 glibcpp_cv_func_sincos_use=yes
11570 echo "configure: failed program was:" >&5
11571 cat conftest.$ac_ext >&5
11573 glibcpp_cv_func_sincos_use=no
11577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11578 ac_cpp='$CPP $CPPFLAGS'
11579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11581 cross_compiling=$ac_cv_prog_cc_cross
11587 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11589 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11590 for ac_func in sincos
11592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11593 echo "configure:11594: checking for $ac_func" >&5
11594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11597 cat > conftest.$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 /* System header to define __stub macros and hopefully few prototypes,
11601 which can conflict with char $ac_func(); below. */
11602 #include <assert.h>
11603 /* Override any gcc2 internal prototype to avoid an error. */
11604 /* We use char because int might match the return type of a gcc2
11605 builtin and then its argument prototype would still apply. */
11610 /* The GNU C library defines this for functions which it implements
11611 to always fail with ENOSYS. Some functions are actually named
11612 something starting with __ and the normal name is an alias. */
11613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11621 if { (eval echo configure:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11623 eval "ac_cv_func_$ac_func=yes"
11625 echo "configure: failed program was:" >&5
11626 cat conftest.$ac_ext >&5
11628 eval "ac_cv_func_$ac_func=no"
11633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11634 echo "$ac_t""yes" 1>&6
11635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11636 cat >> confdefs.h <<EOF
11637 #define $ac_tr_func 1
11641 echo "$ac_t""no" 1>&6
11647 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11648 echo "configure:11649: checking for _sincos declaration" >&5
11649 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11650 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11651 echo $ac_n "(cached) $ac_c" 1>&6
11656 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11657 ac_cpp='$CXXCPP $CPPFLAGS'
11658 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11659 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11660 cross_compiling=$ac_cv_prog_cxx_cross
11662 cat > conftest.$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11670 if { (eval echo configure:11671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11672 glibcpp_cv_func__sincos_use=yes
11674 echo "configure: failed program was:" >&5
11675 cat conftest.$ac_ext >&5
11677 glibcpp_cv_func__sincos_use=no
11681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11682 ac_cpp='$CPP $CPPFLAGS'
11683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11685 cross_compiling=$ac_cv_prog_cc_cross
11691 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11693 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11694 for ac_func in _sincos
11696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11697 echo "configure:11698: checking for $ac_func" >&5
11698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11699 echo $ac_n "(cached) $ac_c" 1>&6
11701 cat > conftest.$ac_ext <<EOF
11702 #line 11703 "configure"
11703 #include "confdefs.h"
11704 /* System header to define __stub macros and hopefully few prototypes,
11705 which can conflict with char $ac_func(); below. */
11706 #include <assert.h>
11707 /* Override any gcc2 internal prototype to avoid an error. */
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11714 /* The GNU C library defines this for functions which it implements
11715 to always fail with ENOSYS. Some functions are actually named
11716 something starting with __ and the normal name is an alias. */
11717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11727 eval "ac_cv_func_$ac_func=yes"
11729 echo "configure: failed program was:" >&5
11730 cat conftest.$ac_ext >&5
11732 eval "ac_cv_func_$ac_func=no"
11737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11738 echo "$ac_t""yes" 1>&6
11739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11740 cat >> confdefs.h <<EOF
11741 #define $ac_tr_func 1
11745 echo "$ac_t""no" 1>&6
11754 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11755 echo "configure:11756: checking for fpclass declaration" >&5
11756 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11757 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11758 echo $ac_n "(cached) $ac_c" 1>&6
11763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11764 ac_cpp='$CXXCPP $CPPFLAGS'
11765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11767 cross_compiling=$ac_cv_prog_cxx_cross
11769 cat > conftest.$ac_ext <<EOF
11770 #line 11771 "configure"
11771 #include "confdefs.h"
11773 #ifdef HAVE_IEEEFP_H
11774 #include <ieeefp.h>
11781 if { (eval echo configure:11782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11783 glibcpp_cv_func_fpclass_use=yes
11785 echo "configure: failed program was:" >&5
11786 cat conftest.$ac_ext >&5
11788 glibcpp_cv_func_fpclass_use=no
11792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11793 ac_cpp='$CPP $CPPFLAGS'
11794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11796 cross_compiling=$ac_cv_prog_cc_cross
11802 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11804 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11805 for ac_func in fpclass
11807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11808 echo "configure:11809: checking for $ac_func" >&5
11809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11810 echo $ac_n "(cached) $ac_c" 1>&6
11812 cat > conftest.$ac_ext <<EOF
11813 #line 11814 "configure"
11814 #include "confdefs.h"
11815 /* System header to define __stub macros and hopefully few prototypes,
11816 which can conflict with char $ac_func(); below. */
11817 #include <assert.h>
11818 /* Override any gcc2 internal prototype to avoid an error. */
11819 /* We use char because int might match the return type of a gcc2
11820 builtin and then its argument prototype would still apply. */
11825 /* The GNU C library defines this for functions which it implements
11826 to always fail with ENOSYS. Some functions are actually named
11827 something starting with __ and the normal name is an alias. */
11828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11836 if { (eval echo configure:11837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11838 eval "ac_cv_func_$ac_func=yes"
11840 echo "configure: failed program was:" >&5
11841 cat conftest.$ac_ext >&5
11843 eval "ac_cv_func_$ac_func=no"
11848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11849 echo "$ac_t""yes" 1>&6
11850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11851 cat >> confdefs.h <<EOF
11852 #define $ac_tr_func 1
11856 echo "$ac_t""no" 1>&6
11862 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11863 echo "configure:11864: checking for _fpclass declaration" >&5
11864 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11865 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11866 echo $ac_n "(cached) $ac_c" 1>&6
11871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11872 ac_cpp='$CXXCPP $CPPFLAGS'
11873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11875 cross_compiling=$ac_cv_prog_cxx_cross
11877 cat > conftest.$ac_ext <<EOF
11878 #line 11879 "configure"
11879 #include "confdefs.h"
11881 #ifdef HAVE_IEEEFP_H
11882 #include <ieeefp.h>
11889 if { (eval echo configure:11890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11891 glibcpp_cv_func__fpclass_use=yes
11893 echo "configure: failed program was:" >&5
11894 cat conftest.$ac_ext >&5
11896 glibcpp_cv_func__fpclass_use=no
11900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11901 ac_cpp='$CPP $CPPFLAGS'
11902 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11903 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11904 cross_compiling=$ac_cv_prog_cc_cross
11910 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11912 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11913 for ac_func in _fpclass
11915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11916 echo "configure:11917: checking for $ac_func" >&5
11917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11918 echo $ac_n "(cached) $ac_c" 1>&6
11920 cat > conftest.$ac_ext <<EOF
11921 #line 11922 "configure"
11922 #include "confdefs.h"
11923 /* System header to define __stub macros and hopefully few prototypes,
11924 which can conflict with char $ac_func(); below. */
11925 #include <assert.h>
11926 /* Override any gcc2 internal prototype to avoid an error. */
11927 /* We use char because int might match the return type of a gcc2
11928 builtin and then its argument prototype would still apply. */
11933 /* The GNU C library defines this for functions which it implements
11934 to always fail with ENOSYS. Some functions are actually named
11935 something starting with __ and the normal name is an alias. */
11936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11944 if { (eval echo configure:11945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11946 eval "ac_cv_func_$ac_func=yes"
11948 echo "configure: failed program was:" >&5
11949 cat conftest.$ac_ext >&5
11951 eval "ac_cv_func_$ac_func=no"
11956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11957 echo "$ac_t""yes" 1>&6
11958 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11959 cat >> confdefs.h <<EOF
11960 #define $ac_tr_func 1
11964 echo "$ac_t""no" 1>&6
11973 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
11974 echo "configure:11975: checking for qfpclass declaration" >&5
11975 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11976 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11977 echo $ac_n "(cached) $ac_c" 1>&6
11982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11983 ac_cpp='$CXXCPP $CPPFLAGS'
11984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11986 cross_compiling=$ac_cv_prog_cxx_cross
11988 cat > conftest.$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
11992 #ifdef HAVE_IEEEFP_H
11993 #include <ieeefp.h>
12000 if { (eval echo configure:12001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12002 glibcpp_cv_func_qfpclass_use=yes
12004 echo "configure: failed program was:" >&5
12005 cat conftest.$ac_ext >&5
12007 glibcpp_cv_func_qfpclass_use=no
12011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12012 ac_cpp='$CPP $CPPFLAGS'
12013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12015 cross_compiling=$ac_cv_prog_cc_cross
12021 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12023 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12024 for ac_func in qfpclass
12026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12027 echo "configure:12028: checking for $ac_func" >&5
12028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12029 echo $ac_n "(cached) $ac_c" 1>&6
12031 cat > conftest.$ac_ext <<EOF
12032 #line 12033 "configure"
12033 #include "confdefs.h"
12034 /* System header to define __stub macros and hopefully few prototypes,
12035 which can conflict with char $ac_func(); below. */
12036 #include <assert.h>
12037 /* Override any gcc2 internal prototype to avoid an error. */
12038 /* We use char because int might match the return type of a gcc2
12039 builtin and then its argument prototype would still apply. */
12044 /* The GNU C library defines this for functions which it implements
12045 to always fail with ENOSYS. Some functions are actually named
12046 something starting with __ and the normal name is an alias. */
12047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12055 if { (eval echo configure:12056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12057 eval "ac_cv_func_$ac_func=yes"
12059 echo "configure: failed program was:" >&5
12060 cat conftest.$ac_ext >&5
12062 eval "ac_cv_func_$ac_func=no"
12067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12068 echo "$ac_t""yes" 1>&6
12069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12070 cat >> confdefs.h <<EOF
12071 #define $ac_tr_func 1
12075 echo "$ac_t""no" 1>&6
12081 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12082 echo "configure:12083: checking for _qfpclass declaration" >&5
12083 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12084 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12085 echo $ac_n "(cached) $ac_c" 1>&6
12090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12091 ac_cpp='$CXXCPP $CPPFLAGS'
12092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12094 cross_compiling=$ac_cv_prog_cxx_cross
12096 cat > conftest.$ac_ext <<EOF
12097 #line 12098 "configure"
12098 #include "confdefs.h"
12100 #ifdef HAVE_IEEEFP_H
12101 #include <ieeefp.h>
12108 if { (eval echo configure:12109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12110 glibcpp_cv_func__qfpclass_use=yes
12112 echo "configure: failed program was:" >&5
12113 cat conftest.$ac_ext >&5
12115 glibcpp_cv_func__qfpclass_use=no
12119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12120 ac_cpp='$CPP $CPPFLAGS'
12121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12123 cross_compiling=$ac_cv_prog_cc_cross
12129 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12131 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12132 for ac_func in _qfpclass
12134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12135 echo "configure:12136: checking for $ac_func" >&5
12136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12137 echo $ac_n "(cached) $ac_c" 1>&6
12139 cat > conftest.$ac_ext <<EOF
12140 #line 12141 "configure"
12141 #include "confdefs.h"
12142 /* System header to define __stub macros and hopefully few prototypes,
12143 which can conflict with char $ac_func(); below. */
12144 #include <assert.h>
12145 /* Override any gcc2 internal prototype to avoid an error. */
12146 /* We use char because int might match the return type of a gcc2
12147 builtin and then its argument prototype would still apply. */
12152 /* The GNU C library defines this for functions which it implements
12153 to always fail with ENOSYS. Some functions are actually named
12154 something starting with __ and the normal name is an alias. */
12155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12163 if { (eval echo configure:12164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12165 eval "ac_cv_func_$ac_func=yes"
12167 echo "configure: failed program was:" >&5
12168 cat conftest.$ac_ext >&5
12170 eval "ac_cv_func_$ac_func=no"
12175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12176 echo "$ac_t""yes" 1>&6
12177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12178 cat >> confdefs.h <<EOF
12179 #define $ac_tr_func 1
12183 echo "$ac_t""no" 1>&6
12192 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12193 echo "configure:12194: checking for hypot declaration" >&5
12194 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12195 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12196 echo $ac_n "(cached) $ac_c" 1>&6
12201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12202 ac_cpp='$CXXCPP $CPPFLAGS'
12203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12205 cross_compiling=$ac_cv_prog_cxx_cross
12207 cat > conftest.$ac_ext <<EOF
12208 #line 12209 "configure"
12209 #include "confdefs.h"
12215 if { (eval echo configure:12216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12217 glibcpp_cv_func_hypot_use=yes
12219 echo "configure: failed program was:" >&5
12220 cat conftest.$ac_ext >&5
12222 glibcpp_cv_func_hypot_use=no
12226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12227 ac_cpp='$CPP $CPPFLAGS'
12228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12230 cross_compiling=$ac_cv_prog_cc_cross
12236 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12238 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12239 for ac_func in hypot
12241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12242 echo "configure:12243: checking for $ac_func" >&5
12243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12244 echo $ac_n "(cached) $ac_c" 1>&6
12246 cat > conftest.$ac_ext <<EOF
12247 #line 12248 "configure"
12248 #include "confdefs.h"
12249 /* System header to define __stub macros and hopefully few prototypes,
12250 which can conflict with char $ac_func(); below. */
12251 #include <assert.h>
12252 /* Override any gcc2 internal prototype to avoid an error. */
12253 /* We use char because int might match the return type of a gcc2
12254 builtin and then its argument prototype would still apply. */
12259 /* The GNU C library defines this for functions which it implements
12260 to always fail with ENOSYS. Some functions are actually named
12261 something starting with __ and the normal name is an alias. */
12262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12270 if { (eval echo configure:12271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12272 eval "ac_cv_func_$ac_func=yes"
12274 echo "configure: failed program was:" >&5
12275 cat conftest.$ac_ext >&5
12277 eval "ac_cv_func_$ac_func=no"
12282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12283 echo "$ac_t""yes" 1>&6
12284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12285 cat >> confdefs.h <<EOF
12286 #define $ac_tr_func 1
12290 echo "$ac_t""no" 1>&6
12296 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12297 echo "configure:12298: checking for _hypot declaration" >&5
12298 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12299 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12300 echo $ac_n "(cached) $ac_c" 1>&6
12305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12306 ac_cpp='$CXXCPP $CPPFLAGS'
12307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12309 cross_compiling=$ac_cv_prog_cxx_cross
12311 cat > conftest.$ac_ext <<EOF
12312 #line 12313 "configure"
12313 #include "confdefs.h"
12319 if { (eval echo configure:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12321 glibcpp_cv_func__hypot_use=yes
12323 echo "configure: failed program was:" >&5
12324 cat conftest.$ac_ext >&5
12326 glibcpp_cv_func__hypot_use=no
12330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12331 ac_cpp='$CPP $CPPFLAGS'
12332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12334 cross_compiling=$ac_cv_prog_cc_cross
12340 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12342 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12343 for ac_func in _hypot
12345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12346 echo "configure:12347: checking for $ac_func" >&5
12347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12348 echo $ac_n "(cached) $ac_c" 1>&6
12350 cat > conftest.$ac_ext <<EOF
12351 #line 12352 "configure"
12352 #include "confdefs.h"
12353 /* System header to define __stub macros and hopefully few prototypes,
12354 which can conflict with char $ac_func(); below. */
12355 #include <assert.h>
12356 /* Override any gcc2 internal prototype to avoid an error. */
12357 /* We use char because int might match the return type of a gcc2
12358 builtin and then its argument prototype would still apply. */
12363 /* The GNU C library defines this for functions which it implements
12364 to always fail with ENOSYS. Some functions are actually named
12365 something starting with __ and the normal name is an alias. */
12366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12374 if { (eval echo configure:12375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12376 eval "ac_cv_func_$ac_func=yes"
12378 echo "configure: failed program was:" >&5
12379 cat conftest.$ac_ext >&5
12381 eval "ac_cv_func_$ac_func=no"
12386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12387 echo "$ac_t""yes" 1>&6
12388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12389 cat >> confdefs.h <<EOF
12390 #define $ac_tr_func 1
12394 echo "$ac_t""no" 1>&6
12403 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12404 echo "configure:12405: checking for float trig functions" >&5
12405 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12406 echo $ac_n "(cached) $ac_c" 1>&6
12411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12412 ac_cpp='$CXXCPP $CPPFLAGS'
12413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12415 cross_compiling=$ac_cv_prog_cxx_cross
12417 cat > conftest.$ac_ext <<EOF
12418 #line 12419 "configure"
12419 #include "confdefs.h"
12422 `for x in acosf asinf atanf \
12424 coshf sinhf tanhf; do echo "$x (0);"; done`
12427 if { (eval echo configure:12428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12429 glibcpp_cv_func_float_trig_use=yes
12431 echo "configure: failed program was:" >&5
12432 cat conftest.$ac_ext >&5
12434 glibcpp_cv_func_float_trig_use=no
12438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12439 ac_cpp='$CPP $CPPFLAGS'
12440 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12441 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12442 cross_compiling=$ac_cv_prog_cc_cross
12446 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12447 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12448 for ac_func in acosf asinf atanf \
12452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12453 echo "configure:12454: checking for $ac_func" >&5
12454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12455 echo $ac_n "(cached) $ac_c" 1>&6
12457 cat > conftest.$ac_ext <<EOF
12458 #line 12459 "configure"
12459 #include "confdefs.h"
12460 /* System header to define __stub macros and hopefully few prototypes,
12461 which can conflict with char $ac_func(); below. */
12462 #include <assert.h>
12463 /* Override any gcc2 internal prototype to avoid an error. */
12464 /* We use char because int might match the return type of a gcc2
12465 builtin and then its argument prototype would still apply. */
12470 /* The GNU C library defines this for functions which it implements
12471 to always fail with ENOSYS. Some functions are actually named
12472 something starting with __ and the normal name is an alias. */
12473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12481 if { (eval echo configure:12482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12483 eval "ac_cv_func_$ac_func=yes"
12485 echo "configure: failed program was:" >&5
12486 cat conftest.$ac_ext >&5
12488 eval "ac_cv_func_$ac_func=no"
12493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12494 echo "$ac_t""yes" 1>&6
12495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12496 cat >> confdefs.h <<EOF
12497 #define $ac_tr_func 1
12501 echo "$ac_t""no" 1>&6
12508 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12509 echo "configure:12510: checking for float round functions" >&5
12510 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12511 echo $ac_n "(cached) $ac_c" 1>&6
12516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12520 cross_compiling=$ac_cv_prog_cxx_cross
12522 cat > conftest.$ac_ext <<EOF
12523 #line 12524 "configure"
12524 #include "confdefs.h"
12527 `for x in ceilf floorf; do echo "$x (0);"; done`
12530 if { (eval echo configure:12531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12532 glibcpp_cv_func_float_round_use=yes
12534 echo "configure: failed program was:" >&5
12535 cat conftest.$ac_ext >&5
12537 glibcpp_cv_func_float_round_use=no
12541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12542 ac_cpp='$CPP $CPPFLAGS'
12543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12545 cross_compiling=$ac_cv_prog_cc_cross
12549 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12550 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12551 for ac_func in ceilf floorf
12553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12554 echo "configure:12555: checking for $ac_func" >&5
12555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12556 echo $ac_n "(cached) $ac_c" 1>&6
12558 cat > conftest.$ac_ext <<EOF
12559 #line 12560 "configure"
12560 #include "confdefs.h"
12561 /* System header to define __stub macros and hopefully few prototypes,
12562 which can conflict with char $ac_func(); below. */
12563 #include <assert.h>
12564 /* Override any gcc2 internal prototype to avoid an error. */
12565 /* We use char because int might match the return type of a gcc2
12566 builtin and then its argument prototype would still apply. */
12571 /* The GNU C library defines this for functions which it implements
12572 to always fail with ENOSYS. Some functions are actually named
12573 something starting with __ and the normal name is an alias. */
12574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12582 if { (eval echo configure:12583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12584 eval "ac_cv_func_$ac_func=yes"
12586 echo "configure: failed program was:" >&5
12587 cat conftest.$ac_ext >&5
12589 eval "ac_cv_func_$ac_func=no"
12594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12595 echo "$ac_t""yes" 1>&6
12596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12597 cat >> confdefs.h <<EOF
12598 #define $ac_tr_func 1
12602 echo "$ac_t""no" 1>&6
12610 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12611 echo "configure:12612: checking for expf declaration" >&5
12612 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12613 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12614 echo $ac_n "(cached) $ac_c" 1>&6
12619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12620 ac_cpp='$CXXCPP $CPPFLAGS'
12621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12623 cross_compiling=$ac_cv_prog_cxx_cross
12625 cat > conftest.$ac_ext <<EOF
12626 #line 12627 "configure"
12627 #include "confdefs.h"
12629 #ifdef HAVE_IEEEFP_H
12630 #include <ieeefp.h>
12637 if { (eval echo configure:12638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12639 glibcpp_cv_func_expf_use=yes
12641 echo "configure: failed program was:" >&5
12642 cat conftest.$ac_ext >&5
12644 glibcpp_cv_func_expf_use=no
12648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12649 ac_cpp='$CPP $CPPFLAGS'
12650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12652 cross_compiling=$ac_cv_prog_cc_cross
12658 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12660 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12661 for ac_func in expf
12663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12664 echo "configure:12665: checking for $ac_func" >&5
12665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12666 echo $ac_n "(cached) $ac_c" 1>&6
12668 cat > conftest.$ac_ext <<EOF
12669 #line 12670 "configure"
12670 #include "confdefs.h"
12671 /* System header to define __stub macros and hopefully few prototypes,
12672 which can conflict with char $ac_func(); below. */
12673 #include <assert.h>
12674 /* Override any gcc2 internal prototype to avoid an error. */
12675 /* We use char because int might match the return type of a gcc2
12676 builtin and then its argument prototype would still apply. */
12681 /* The GNU C library defines this for functions which it implements
12682 to always fail with ENOSYS. Some functions are actually named
12683 something starting with __ and the normal name is an alias. */
12684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12692 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12694 eval "ac_cv_func_$ac_func=yes"
12696 echo "configure: failed program was:" >&5
12697 cat conftest.$ac_ext >&5
12699 eval "ac_cv_func_$ac_func=no"
12704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12705 echo "$ac_t""yes" 1>&6
12706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12707 cat >> confdefs.h <<EOF
12708 #define $ac_tr_func 1
12712 echo "$ac_t""no" 1>&6
12718 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12719 echo "configure:12720: checking for _expf declaration" >&5
12720 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12721 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12722 echo $ac_n "(cached) $ac_c" 1>&6
12727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12728 ac_cpp='$CXXCPP $CPPFLAGS'
12729 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12730 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12731 cross_compiling=$ac_cv_prog_cxx_cross
12733 cat > conftest.$ac_ext <<EOF
12734 #line 12735 "configure"
12735 #include "confdefs.h"
12737 #ifdef HAVE_IEEEFP_H
12738 #include <ieeefp.h>
12745 if { (eval echo configure:12746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12747 glibcpp_cv_func__expf_use=yes
12749 echo "configure: failed program was:" >&5
12750 cat conftest.$ac_ext >&5
12752 glibcpp_cv_func__expf_use=no
12756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12757 ac_cpp='$CPP $CPPFLAGS'
12758 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12759 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12760 cross_compiling=$ac_cv_prog_cc_cross
12766 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12768 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12769 for ac_func in _expf
12771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12772 echo "configure:12773: checking for $ac_func" >&5
12773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12774 echo $ac_n "(cached) $ac_c" 1>&6
12776 cat > conftest.$ac_ext <<EOF
12777 #line 12778 "configure"
12778 #include "confdefs.h"
12779 /* System header to define __stub macros and hopefully few prototypes,
12780 which can conflict with char $ac_func(); below. */
12781 #include <assert.h>
12782 /* Override any gcc2 internal prototype to avoid an error. */
12783 /* We use char because int might match the return type of a gcc2
12784 builtin and then its argument prototype would still apply. */
12789 /* The GNU C library defines this for functions which it implements
12790 to always fail with ENOSYS. Some functions are actually named
12791 something starting with __ and the normal name is an alias. */
12792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12800 if { (eval echo configure:12801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12802 eval "ac_cv_func_$ac_func=yes"
12804 echo "configure: failed program was:" >&5
12805 cat conftest.$ac_ext >&5
12807 eval "ac_cv_func_$ac_func=no"
12812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12813 echo "$ac_t""yes" 1>&6
12814 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12815 cat >> confdefs.h <<EOF
12816 #define $ac_tr_func 1
12820 echo "$ac_t""no" 1>&6
12829 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12830 echo "configure:12831: checking for isnanf declaration" >&5
12831 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12832 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12833 echo $ac_n "(cached) $ac_c" 1>&6
12838 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12839 ac_cpp='$CXXCPP $CPPFLAGS'
12840 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12841 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12842 cross_compiling=$ac_cv_prog_cxx_cross
12844 cat > conftest.$ac_ext <<EOF
12845 #line 12846 "configure"
12846 #include "confdefs.h"
12848 #ifdef HAVE_IEEEFP_H
12849 #include <ieeefp.h>
12856 if { (eval echo configure:12857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12858 glibcpp_cv_func_isnanf_use=yes
12860 echo "configure: failed program was:" >&5
12861 cat conftest.$ac_ext >&5
12863 glibcpp_cv_func_isnanf_use=no
12867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12868 ac_cpp='$CPP $CPPFLAGS'
12869 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12870 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12871 cross_compiling=$ac_cv_prog_cc_cross
12877 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12879 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12880 for ac_func in isnanf
12882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12883 echo "configure:12884: checking for $ac_func" >&5
12884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12885 echo $ac_n "(cached) $ac_c" 1>&6
12887 cat > conftest.$ac_ext <<EOF
12888 #line 12889 "configure"
12889 #include "confdefs.h"
12890 /* System header to define __stub macros and hopefully few prototypes,
12891 which can conflict with char $ac_func(); below. */
12892 #include <assert.h>
12893 /* Override any gcc2 internal prototype to avoid an error. */
12894 /* We use char because int might match the return type of a gcc2
12895 builtin and then its argument prototype would still apply. */
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12911 if { (eval echo configure:12912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12913 eval "ac_cv_func_$ac_func=yes"
12915 echo "configure: failed program was:" >&5
12916 cat conftest.$ac_ext >&5
12918 eval "ac_cv_func_$ac_func=no"
12923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12924 echo "$ac_t""yes" 1>&6
12925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12926 cat >> confdefs.h <<EOF
12927 #define $ac_tr_func 1
12931 echo "$ac_t""no" 1>&6
12937 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12938 echo "configure:12939: checking for _isnanf declaration" >&5
12939 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12940 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12941 echo $ac_n "(cached) $ac_c" 1>&6
12946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12947 ac_cpp='$CXXCPP $CPPFLAGS'
12948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12950 cross_compiling=$ac_cv_prog_cxx_cross
12952 cat > conftest.$ac_ext <<EOF
12953 #line 12954 "configure"
12954 #include "confdefs.h"
12956 #ifdef HAVE_IEEEFP_H
12957 #include <ieeefp.h>
12964 if { (eval echo configure:12965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12966 glibcpp_cv_func__isnanf_use=yes
12968 echo "configure: failed program was:" >&5
12969 cat conftest.$ac_ext >&5
12971 glibcpp_cv_func__isnanf_use=no
12975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12976 ac_cpp='$CPP $CPPFLAGS'
12977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12979 cross_compiling=$ac_cv_prog_cc_cross
12985 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12987 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12988 for ac_func in _isnanf
12990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12991 echo "configure:12992: checking for $ac_func" >&5
12992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12993 echo $ac_n "(cached) $ac_c" 1>&6
12995 cat > conftest.$ac_ext <<EOF
12996 #line 12997 "configure"
12997 #include "confdefs.h"
12998 /* System header to define __stub macros and hopefully few prototypes,
12999 which can conflict with char $ac_func(); below. */
13000 #include <assert.h>
13001 /* Override any gcc2 internal prototype to avoid an error. */
13002 /* We use char because int might match the return type of a gcc2
13003 builtin and then its argument prototype would still apply. */
13008 /* The GNU C library defines this for functions which it implements
13009 to always fail with ENOSYS. Some functions are actually named
13010 something starting with __ and the normal name is an alias. */
13011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13019 if { (eval echo configure:13020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13021 eval "ac_cv_func_$ac_func=yes"
13023 echo "configure: failed program was:" >&5
13024 cat conftest.$ac_ext >&5
13026 eval "ac_cv_func_$ac_func=no"
13031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13032 echo "$ac_t""yes" 1>&6
13033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13034 cat >> confdefs.h <<EOF
13035 #define $ac_tr_func 1
13039 echo "$ac_t""no" 1>&6
13048 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13049 echo "configure:13050: checking for isinff declaration" >&5
13050 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13051 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13052 echo $ac_n "(cached) $ac_c" 1>&6
13057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13058 ac_cpp='$CXXCPP $CPPFLAGS'
13059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13061 cross_compiling=$ac_cv_prog_cxx_cross
13063 cat > conftest.$ac_ext <<EOF
13064 #line 13065 "configure"
13065 #include "confdefs.h"
13067 #ifdef HAVE_IEEEFP_H
13068 #include <ieeefp.h>
13075 if { (eval echo configure:13076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13077 glibcpp_cv_func_isinff_use=yes
13079 echo "configure: failed program was:" >&5
13080 cat conftest.$ac_ext >&5
13082 glibcpp_cv_func_isinff_use=no
13086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13087 ac_cpp='$CPP $CPPFLAGS'
13088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13090 cross_compiling=$ac_cv_prog_cc_cross
13096 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13098 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13099 for ac_func in isinff
13101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13102 echo "configure:13103: checking for $ac_func" >&5
13103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13104 echo $ac_n "(cached) $ac_c" 1>&6
13106 cat > conftest.$ac_ext <<EOF
13107 #line 13108 "configure"
13108 #include "confdefs.h"
13109 /* System header to define __stub macros and hopefully few prototypes,
13110 which can conflict with char $ac_func(); below. */
13111 #include <assert.h>
13112 /* Override any gcc2 internal prototype to avoid an error. */
13113 /* We use char because int might match the return type of a gcc2
13114 builtin and then its argument prototype would still apply. */
13119 /* The GNU C library defines this for functions which it implements
13120 to always fail with ENOSYS. Some functions are actually named
13121 something starting with __ and the normal name is an alias. */
13122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13130 if { (eval echo configure:13131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13132 eval "ac_cv_func_$ac_func=yes"
13134 echo "configure: failed program was:" >&5
13135 cat conftest.$ac_ext >&5
13137 eval "ac_cv_func_$ac_func=no"
13142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13143 echo "$ac_t""yes" 1>&6
13144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13145 cat >> confdefs.h <<EOF
13146 #define $ac_tr_func 1
13150 echo "$ac_t""no" 1>&6
13156 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13157 echo "configure:13158: checking for _isinff declaration" >&5
13158 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13159 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13160 echo $ac_n "(cached) $ac_c" 1>&6
13165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13166 ac_cpp='$CXXCPP $CPPFLAGS'
13167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13169 cross_compiling=$ac_cv_prog_cxx_cross
13171 cat > conftest.$ac_ext <<EOF
13172 #line 13173 "configure"
13173 #include "confdefs.h"
13175 #ifdef HAVE_IEEEFP_H
13176 #include <ieeefp.h>
13183 if { (eval echo configure:13184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13185 glibcpp_cv_func__isinff_use=yes
13187 echo "configure: failed program was:" >&5
13188 cat conftest.$ac_ext >&5
13190 glibcpp_cv_func__isinff_use=no
13194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13195 ac_cpp='$CPP $CPPFLAGS'
13196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13198 cross_compiling=$ac_cv_prog_cc_cross
13204 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13206 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13207 for ac_func in _isinff
13209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13210 echo "configure:13211: checking for $ac_func" >&5
13211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13212 echo $ac_n "(cached) $ac_c" 1>&6
13214 cat > conftest.$ac_ext <<EOF
13215 #line 13216 "configure"
13216 #include "confdefs.h"
13217 /* System header to define __stub macros and hopefully few prototypes,
13218 which can conflict with char $ac_func(); below. */
13219 #include <assert.h>
13220 /* Override any gcc2 internal prototype to avoid an error. */
13221 /* We use char because int might match the return type of a gcc2
13222 builtin and then its argument prototype would still apply. */
13227 /* The GNU C library defines this for functions which it implements
13228 to always fail with ENOSYS. Some functions are actually named
13229 something starting with __ and the normal name is an alias. */
13230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13238 if { (eval echo configure:13239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13240 eval "ac_cv_func_$ac_func=yes"
13242 echo "configure: failed program was:" >&5
13243 cat conftest.$ac_ext >&5
13245 eval "ac_cv_func_$ac_func=no"
13250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13251 echo "$ac_t""yes" 1>&6
13252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13253 cat >> confdefs.h <<EOF
13254 #define $ac_tr_func 1
13258 echo "$ac_t""no" 1>&6
13267 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13268 echo "configure:13269: checking for atan2f declaration" >&5
13269 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13270 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13271 echo $ac_n "(cached) $ac_c" 1>&6
13276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13277 ac_cpp='$CXXCPP $CPPFLAGS'
13278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13280 cross_compiling=$ac_cv_prog_cxx_cross
13282 cat > conftest.$ac_ext <<EOF
13283 #line 13284 "configure"
13284 #include "confdefs.h"
13290 if { (eval echo configure:13291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13292 glibcpp_cv_func_atan2f_use=yes
13294 echo "configure: failed program was:" >&5
13295 cat conftest.$ac_ext >&5
13297 glibcpp_cv_func_atan2f_use=no
13301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13302 ac_cpp='$CPP $CPPFLAGS'
13303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13305 cross_compiling=$ac_cv_prog_cc_cross
13311 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13313 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13314 for ac_func in atan2f
13316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13317 echo "configure:13318: checking for $ac_func" >&5
13318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13319 echo $ac_n "(cached) $ac_c" 1>&6
13321 cat > conftest.$ac_ext <<EOF
13322 #line 13323 "configure"
13323 #include "confdefs.h"
13324 /* System header to define __stub macros and hopefully few prototypes,
13325 which can conflict with char $ac_func(); below. */
13326 #include <assert.h>
13327 /* Override any gcc2 internal prototype to avoid an error. */
13328 /* We use char because int might match the return type of a gcc2
13329 builtin and then its argument prototype would still apply. */
13334 /* The GNU C library defines this for functions which it implements
13335 to always fail with ENOSYS. Some functions are actually named
13336 something starting with __ and the normal name is an alias. */
13337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13345 if { (eval echo configure:13346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13347 eval "ac_cv_func_$ac_func=yes"
13349 echo "configure: failed program was:" >&5
13350 cat conftest.$ac_ext >&5
13352 eval "ac_cv_func_$ac_func=no"
13357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13358 echo "$ac_t""yes" 1>&6
13359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13360 cat >> confdefs.h <<EOF
13361 #define $ac_tr_func 1
13365 echo "$ac_t""no" 1>&6
13371 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13372 echo "configure:13373: checking for _atan2f declaration" >&5
13373 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13374 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13375 echo $ac_n "(cached) $ac_c" 1>&6
13380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13381 ac_cpp='$CXXCPP $CPPFLAGS'
13382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13384 cross_compiling=$ac_cv_prog_cxx_cross
13386 cat > conftest.$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13394 if { (eval echo configure:13395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13396 glibcpp_cv_func__atan2f_use=yes
13398 echo "configure: failed program was:" >&5
13399 cat conftest.$ac_ext >&5
13401 glibcpp_cv_func__atan2f_use=no
13405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13406 ac_cpp='$CPP $CPPFLAGS'
13407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13409 cross_compiling=$ac_cv_prog_cc_cross
13415 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13417 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13418 for ac_func in _atan2f
13420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13421 echo "configure:13422: checking for $ac_func" >&5
13422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13423 echo $ac_n "(cached) $ac_c" 1>&6
13425 cat > conftest.$ac_ext <<EOF
13426 #line 13427 "configure"
13427 #include "confdefs.h"
13428 /* System header to define __stub macros and hopefully few prototypes,
13429 which can conflict with char $ac_func(); below. */
13430 #include <assert.h>
13431 /* Override any gcc2 internal prototype to avoid an error. */
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13438 /* The GNU C library defines this for functions which it implements
13439 to always fail with ENOSYS. Some functions are actually named
13440 something starting with __ and the normal name is an alias. */
13441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13451 eval "ac_cv_func_$ac_func=yes"
13453 echo "configure: failed program was:" >&5
13454 cat conftest.$ac_ext >&5
13456 eval "ac_cv_func_$ac_func=no"
13461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13462 echo "$ac_t""yes" 1>&6
13463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13464 cat >> confdefs.h <<EOF
13465 #define $ac_tr_func 1
13469 echo "$ac_t""no" 1>&6
13478 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13479 echo "configure:13480: checking for fabsf declaration" >&5
13480 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13481 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13482 echo $ac_n "(cached) $ac_c" 1>&6
13487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13488 ac_cpp='$CXXCPP $CPPFLAGS'
13489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13491 cross_compiling=$ac_cv_prog_cxx_cross
13493 cat > conftest.$ac_ext <<EOF
13494 #line 13495 "configure"
13495 #include "confdefs.h"
13497 #ifdef HAVE_IEEEFP_H
13498 #include <ieeefp.h>
13505 if { (eval echo configure:13506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13507 glibcpp_cv_func_fabsf_use=yes
13509 echo "configure: failed program was:" >&5
13510 cat conftest.$ac_ext >&5
13512 glibcpp_cv_func_fabsf_use=no
13516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13517 ac_cpp='$CPP $CPPFLAGS'
13518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13520 cross_compiling=$ac_cv_prog_cc_cross
13526 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13528 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13529 for ac_func in fabsf
13531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13532 echo "configure:13533: checking for $ac_func" >&5
13533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13534 echo $ac_n "(cached) $ac_c" 1>&6
13536 cat > conftest.$ac_ext <<EOF
13537 #line 13538 "configure"
13538 #include "confdefs.h"
13539 /* System header to define __stub macros and hopefully few prototypes,
13540 which can conflict with char $ac_func(); below. */
13541 #include <assert.h>
13542 /* Override any gcc2 internal prototype to avoid an error. */
13543 /* We use char because int might match the return type of a gcc2
13544 builtin and then its argument prototype would still apply. */
13549 /* The GNU C library defines this for functions which it implements
13550 to always fail with ENOSYS. Some functions are actually named
13551 something starting with __ and the normal name is an alias. */
13552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13560 if { (eval echo configure:13561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13562 eval "ac_cv_func_$ac_func=yes"
13564 echo "configure: failed program was:" >&5
13565 cat conftest.$ac_ext >&5
13567 eval "ac_cv_func_$ac_func=no"
13572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13573 echo "$ac_t""yes" 1>&6
13574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13575 cat >> confdefs.h <<EOF
13576 #define $ac_tr_func 1
13580 echo "$ac_t""no" 1>&6
13586 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13587 echo "configure:13588: checking for _fabsf declaration" >&5
13588 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13589 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13596 ac_cpp='$CXXCPP $CPPFLAGS'
13597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13599 cross_compiling=$ac_cv_prog_cxx_cross
13601 cat > conftest.$ac_ext <<EOF
13602 #line 13603 "configure"
13603 #include "confdefs.h"
13605 #ifdef HAVE_IEEEFP_H
13606 #include <ieeefp.h>
13613 if { (eval echo configure:13614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13615 glibcpp_cv_func__fabsf_use=yes
13617 echo "configure: failed program was:" >&5
13618 cat conftest.$ac_ext >&5
13620 glibcpp_cv_func__fabsf_use=no
13624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13625 ac_cpp='$CPP $CPPFLAGS'
13626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13628 cross_compiling=$ac_cv_prog_cc_cross
13634 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13636 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13637 for ac_func in _fabsf
13639 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13640 echo "configure:13641: checking for $ac_func" >&5
13641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13642 echo $ac_n "(cached) $ac_c" 1>&6
13644 cat > conftest.$ac_ext <<EOF
13645 #line 13646 "configure"
13646 #include "confdefs.h"
13647 /* System header to define __stub macros and hopefully few prototypes,
13648 which can conflict with char $ac_func(); below. */
13649 #include <assert.h>
13650 /* Override any gcc2 internal prototype to avoid an error. */
13651 /* We use char because int might match the return type of a gcc2
13652 builtin and then its argument prototype would still apply. */
13657 /* The GNU C library defines this for functions which it implements
13658 to always fail with ENOSYS. Some functions are actually named
13659 something starting with __ and the normal name is an alias. */
13660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13668 if { (eval echo configure:13669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13670 eval "ac_cv_func_$ac_func=yes"
13672 echo "configure: failed program was:" >&5
13673 cat conftest.$ac_ext >&5
13675 eval "ac_cv_func_$ac_func=no"
13680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13681 echo "$ac_t""yes" 1>&6
13682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13683 cat >> confdefs.h <<EOF
13684 #define $ac_tr_func 1
13688 echo "$ac_t""no" 1>&6
13697 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13698 echo "configure:13699: checking for fmodf declaration" >&5
13699 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13700 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13707 ac_cpp='$CXXCPP $CPPFLAGS'
13708 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13709 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13710 cross_compiling=$ac_cv_prog_cxx_cross
13712 cat > conftest.$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13720 if { (eval echo configure:13721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13722 glibcpp_cv_func_fmodf_use=yes
13724 echo "configure: failed program was:" >&5
13725 cat conftest.$ac_ext >&5
13727 glibcpp_cv_func_fmodf_use=no
13731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13732 ac_cpp='$CPP $CPPFLAGS'
13733 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13734 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13735 cross_compiling=$ac_cv_prog_cc_cross
13741 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13743 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13744 for ac_func in fmodf
13746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13747 echo "configure:13748: checking for $ac_func" >&5
13748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13749 echo $ac_n "(cached) $ac_c" 1>&6
13751 cat > conftest.$ac_ext <<EOF
13752 #line 13753 "configure"
13753 #include "confdefs.h"
13754 /* System header to define __stub macros and hopefully few prototypes,
13755 which can conflict with char $ac_func(); below. */
13756 #include <assert.h>
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13764 /* The GNU C library defines this for functions which it implements
13765 to always fail with ENOSYS. Some functions are actually named
13766 something starting with __ and the normal name is an alias. */
13767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13775 if { (eval echo configure:13776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13777 eval "ac_cv_func_$ac_func=yes"
13779 echo "configure: failed program was:" >&5
13780 cat conftest.$ac_ext >&5
13782 eval "ac_cv_func_$ac_func=no"
13787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13788 echo "$ac_t""yes" 1>&6
13789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13790 cat >> confdefs.h <<EOF
13791 #define $ac_tr_func 1
13795 echo "$ac_t""no" 1>&6
13801 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13802 echo "configure:13803: checking for _fmodf declaration" >&5
13803 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13804 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13805 echo $ac_n "(cached) $ac_c" 1>&6
13810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13811 ac_cpp='$CXXCPP $CPPFLAGS'
13812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13814 cross_compiling=$ac_cv_prog_cxx_cross
13816 cat > conftest.$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13824 if { (eval echo configure:13825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13826 glibcpp_cv_func__fmodf_use=yes
13828 echo "configure: failed program was:" >&5
13829 cat conftest.$ac_ext >&5
13831 glibcpp_cv_func__fmodf_use=no
13835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13836 ac_cpp='$CPP $CPPFLAGS'
13837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13839 cross_compiling=$ac_cv_prog_cc_cross
13845 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13847 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13848 for ac_func in _fmodf
13850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13851 echo "configure:13852: checking for $ac_func" >&5
13852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13853 echo $ac_n "(cached) $ac_c" 1>&6
13855 cat > conftest.$ac_ext <<EOF
13856 #line 13857 "configure"
13857 #include "confdefs.h"
13858 /* System header to define __stub macros and hopefully few prototypes,
13859 which can conflict with char $ac_func(); below. */
13860 #include <assert.h>
13861 /* Override any gcc2 internal prototype to avoid an error. */
13862 /* We use char because int might match the return type of a gcc2
13863 builtin and then its argument prototype would still apply. */
13868 /* The GNU C library defines this for functions which it implements
13869 to always fail with ENOSYS. Some functions are actually named
13870 something starting with __ and the normal name is an alias. */
13871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13879 if { (eval echo configure:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13881 eval "ac_cv_func_$ac_func=yes"
13883 echo "configure: failed program was:" >&5
13884 cat conftest.$ac_ext >&5
13886 eval "ac_cv_func_$ac_func=no"
13891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13892 echo "$ac_t""yes" 1>&6
13893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13894 cat >> confdefs.h <<EOF
13895 #define $ac_tr_func 1
13899 echo "$ac_t""no" 1>&6
13908 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13909 echo "configure:13910: checking for frexpf declaration" >&5
13910 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13911 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13912 echo $ac_n "(cached) $ac_c" 1>&6
13917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13918 ac_cpp='$CXXCPP $CPPFLAGS'
13919 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13920 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13921 cross_compiling=$ac_cv_prog_cxx_cross
13923 cat > conftest.$ac_ext <<EOF
13924 #line 13925 "configure"
13925 #include "confdefs.h"
13931 if { (eval echo configure:13932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13933 glibcpp_cv_func_frexpf_use=yes
13935 echo "configure: failed program was:" >&5
13936 cat conftest.$ac_ext >&5
13938 glibcpp_cv_func_frexpf_use=no
13942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13943 ac_cpp='$CPP $CPPFLAGS'
13944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13946 cross_compiling=$ac_cv_prog_cc_cross
13952 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13954 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13955 for ac_func in frexpf
13957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13958 echo "configure:13959: checking for $ac_func" >&5
13959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13960 echo $ac_n "(cached) $ac_c" 1>&6
13962 cat > conftest.$ac_ext <<EOF
13963 #line 13964 "configure"
13964 #include "confdefs.h"
13965 /* System header to define __stub macros and hopefully few prototypes,
13966 which can conflict with char $ac_func(); below. */
13967 #include <assert.h>
13968 /* Override any gcc2 internal prototype to avoid an error. */
13969 /* We use char because int might match the return type of a gcc2
13970 builtin and then its argument prototype would still apply. */
13975 /* The GNU C library defines this for functions which it implements
13976 to always fail with ENOSYS. Some functions are actually named
13977 something starting with __ and the normal name is an alias. */
13978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13986 if { (eval echo configure:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13988 eval "ac_cv_func_$ac_func=yes"
13990 echo "configure: failed program was:" >&5
13991 cat conftest.$ac_ext >&5
13993 eval "ac_cv_func_$ac_func=no"
13998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13999 echo "$ac_t""yes" 1>&6
14000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14001 cat >> confdefs.h <<EOF
14002 #define $ac_tr_func 1
14006 echo "$ac_t""no" 1>&6
14012 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14013 echo "configure:14014: checking for _frexpf declaration" >&5
14014 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14015 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14016 echo $ac_n "(cached) $ac_c" 1>&6
14021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14022 ac_cpp='$CXXCPP $CPPFLAGS'
14023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14025 cross_compiling=$ac_cv_prog_cxx_cross
14027 cat > conftest.$ac_ext <<EOF
14028 #line 14029 "configure"
14029 #include "confdefs.h"
14035 if { (eval echo configure:14036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14037 glibcpp_cv_func__frexpf_use=yes
14039 echo "configure: failed program was:" >&5
14040 cat conftest.$ac_ext >&5
14042 glibcpp_cv_func__frexpf_use=no
14046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14047 ac_cpp='$CPP $CPPFLAGS'
14048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14050 cross_compiling=$ac_cv_prog_cc_cross
14056 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14058 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14059 for ac_func in _frexpf
14061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14062 echo "configure:14063: checking for $ac_func" >&5
14063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14064 echo $ac_n "(cached) $ac_c" 1>&6
14066 cat > conftest.$ac_ext <<EOF
14067 #line 14068 "configure"
14068 #include "confdefs.h"
14069 /* System header to define __stub macros and hopefully few prototypes,
14070 which can conflict with char $ac_func(); below. */
14071 #include <assert.h>
14072 /* Override any gcc2 internal prototype to avoid an error. */
14073 /* We use char because int might match the return type of a gcc2
14074 builtin and then its argument prototype would still apply. */
14079 /* The GNU C library defines this for functions which it implements
14080 to always fail with ENOSYS. Some functions are actually named
14081 something starting with __ and the normal name is an alias. */
14082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14090 if { (eval echo configure:14091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14092 eval "ac_cv_func_$ac_func=yes"
14094 echo "configure: failed program was:" >&5
14095 cat conftest.$ac_ext >&5
14097 eval "ac_cv_func_$ac_func=no"
14102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14103 echo "$ac_t""yes" 1>&6
14104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14105 cat >> confdefs.h <<EOF
14106 #define $ac_tr_func 1
14110 echo "$ac_t""no" 1>&6
14119 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14120 echo "configure:14121: checking for hypotf declaration" >&5
14121 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14122 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14123 echo $ac_n "(cached) $ac_c" 1>&6
14128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14129 ac_cpp='$CXXCPP $CPPFLAGS'
14130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14132 cross_compiling=$ac_cv_prog_cxx_cross
14134 cat > conftest.$ac_ext <<EOF
14135 #line 14136 "configure"
14136 #include "confdefs.h"
14142 if { (eval echo configure:14143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14144 glibcpp_cv_func_hypotf_use=yes
14146 echo "configure: failed program was:" >&5
14147 cat conftest.$ac_ext >&5
14149 glibcpp_cv_func_hypotf_use=no
14153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14154 ac_cpp='$CPP $CPPFLAGS'
14155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14157 cross_compiling=$ac_cv_prog_cc_cross
14163 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14165 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14166 for ac_func in hypotf
14168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14169 echo "configure:14170: checking for $ac_func" >&5
14170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14171 echo $ac_n "(cached) $ac_c" 1>&6
14173 cat > conftest.$ac_ext <<EOF
14174 #line 14175 "configure"
14175 #include "confdefs.h"
14176 /* System header to define __stub macros and hopefully few prototypes,
14177 which can conflict with char $ac_func(); below. */
14178 #include <assert.h>
14179 /* Override any gcc2 internal prototype to avoid an error. */
14180 /* We use char because int might match the return type of a gcc2
14181 builtin and then its argument prototype would still apply. */
14186 /* The GNU C library defines this for functions which it implements
14187 to always fail with ENOSYS. Some functions are actually named
14188 something starting with __ and the normal name is an alias. */
14189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14197 if { (eval echo configure:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14199 eval "ac_cv_func_$ac_func=yes"
14201 echo "configure: failed program was:" >&5
14202 cat conftest.$ac_ext >&5
14204 eval "ac_cv_func_$ac_func=no"
14209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14210 echo "$ac_t""yes" 1>&6
14211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14212 cat >> confdefs.h <<EOF
14213 #define $ac_tr_func 1
14217 echo "$ac_t""no" 1>&6
14223 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14224 echo "configure:14225: checking for _hypotf declaration" >&5
14225 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14226 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14227 echo $ac_n "(cached) $ac_c" 1>&6
14232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14233 ac_cpp='$CXXCPP $CPPFLAGS'
14234 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14235 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14236 cross_compiling=$ac_cv_prog_cxx_cross
14238 cat > conftest.$ac_ext <<EOF
14239 #line 14240 "configure"
14240 #include "confdefs.h"
14246 if { (eval echo configure:14247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14248 glibcpp_cv_func__hypotf_use=yes
14250 echo "configure: failed program was:" >&5
14251 cat conftest.$ac_ext >&5
14253 glibcpp_cv_func__hypotf_use=no
14257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14258 ac_cpp='$CPP $CPPFLAGS'
14259 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14260 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14261 cross_compiling=$ac_cv_prog_cc_cross
14267 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14269 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14270 for ac_func in _hypotf
14272 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14273 echo "configure:14274: checking for $ac_func" >&5
14274 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14275 echo $ac_n "(cached) $ac_c" 1>&6
14277 cat > conftest.$ac_ext <<EOF
14278 #line 14279 "configure"
14279 #include "confdefs.h"
14280 /* System header to define __stub macros and hopefully few prototypes,
14281 which can conflict with char $ac_func(); below. */
14282 #include <assert.h>
14283 /* Override any gcc2 internal prototype to avoid an error. */
14284 /* We use char because int might match the return type of a gcc2
14285 builtin and then its argument prototype would still apply. */
14290 /* The GNU C library defines this for functions which it implements
14291 to always fail with ENOSYS. Some functions are actually named
14292 something starting with __ and the normal name is an alias. */
14293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14301 if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14303 eval "ac_cv_func_$ac_func=yes"
14305 echo "configure: failed program was:" >&5
14306 cat conftest.$ac_ext >&5
14308 eval "ac_cv_func_$ac_func=no"
14313 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14314 echo "$ac_t""yes" 1>&6
14315 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14316 cat >> confdefs.h <<EOF
14317 #define $ac_tr_func 1
14321 echo "$ac_t""no" 1>&6
14330 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14331 echo "configure:14332: checking for ldexpf declaration" >&5
14332 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14333 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14334 echo $ac_n "(cached) $ac_c" 1>&6
14339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14340 ac_cpp='$CXXCPP $CPPFLAGS'
14341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14343 cross_compiling=$ac_cv_prog_cxx_cross
14345 cat > conftest.$ac_ext <<EOF
14346 #line 14347 "configure"
14347 #include "confdefs.h"
14353 if { (eval echo configure:14354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14355 glibcpp_cv_func_ldexpf_use=yes
14357 echo "configure: failed program was:" >&5
14358 cat conftest.$ac_ext >&5
14360 glibcpp_cv_func_ldexpf_use=no
14364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14365 ac_cpp='$CPP $CPPFLAGS'
14366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14368 cross_compiling=$ac_cv_prog_cc_cross
14374 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14376 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14377 for ac_func in ldexpf
14379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14380 echo "configure:14381: checking for $ac_func" >&5
14381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14382 echo $ac_n "(cached) $ac_c" 1>&6
14384 cat > conftest.$ac_ext <<EOF
14385 #line 14386 "configure"
14386 #include "confdefs.h"
14387 /* System header to define __stub macros and hopefully few prototypes,
14388 which can conflict with char $ac_func(); below. */
14389 #include <assert.h>
14390 /* Override any gcc2 internal prototype to avoid an error. */
14391 /* We use char because int might match the return type of a gcc2
14392 builtin and then its argument prototype would still apply. */
14397 /* The GNU C library defines this for functions which it implements
14398 to always fail with ENOSYS. Some functions are actually named
14399 something starting with __ and the normal name is an alias. */
14400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14408 if { (eval echo configure:14409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14410 eval "ac_cv_func_$ac_func=yes"
14412 echo "configure: failed program was:" >&5
14413 cat conftest.$ac_ext >&5
14415 eval "ac_cv_func_$ac_func=no"
14420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14421 echo "$ac_t""yes" 1>&6
14422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14423 cat >> confdefs.h <<EOF
14424 #define $ac_tr_func 1
14428 echo "$ac_t""no" 1>&6
14434 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14435 echo "configure:14436: checking for _ldexpf declaration" >&5
14436 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14437 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14438 echo $ac_n "(cached) $ac_c" 1>&6
14443 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14444 ac_cpp='$CXXCPP $CPPFLAGS'
14445 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14446 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14447 cross_compiling=$ac_cv_prog_cxx_cross
14449 cat > conftest.$ac_ext <<EOF
14450 #line 14451 "configure"
14451 #include "confdefs.h"
14457 if { (eval echo configure:14458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14459 glibcpp_cv_func__ldexpf_use=yes
14461 echo "configure: failed program was:" >&5
14462 cat conftest.$ac_ext >&5
14464 glibcpp_cv_func__ldexpf_use=no
14468 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14469 ac_cpp='$CPP $CPPFLAGS'
14470 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14471 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14472 cross_compiling=$ac_cv_prog_cc_cross
14478 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14480 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14481 for ac_func in _ldexpf
14483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14484 echo "configure:14485: checking for $ac_func" >&5
14485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14486 echo $ac_n "(cached) $ac_c" 1>&6
14488 cat > conftest.$ac_ext <<EOF
14489 #line 14490 "configure"
14490 #include "confdefs.h"
14491 /* System header to define __stub macros and hopefully few prototypes,
14492 which can conflict with char $ac_func(); below. */
14493 #include <assert.h>
14494 /* Override any gcc2 internal prototype to avoid an error. */
14495 /* We use char because int might match the return type of a gcc2
14496 builtin and then its argument prototype would still apply. */
14501 /* The GNU C library defines this for functions which it implements
14502 to always fail with ENOSYS. Some functions are actually named
14503 something starting with __ and the normal name is an alias. */
14504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14512 if { (eval echo configure:14513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14514 eval "ac_cv_func_$ac_func=yes"
14516 echo "configure: failed program was:" >&5
14517 cat conftest.$ac_ext >&5
14519 eval "ac_cv_func_$ac_func=no"
14524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14525 echo "$ac_t""yes" 1>&6
14526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14527 cat >> confdefs.h <<EOF
14528 #define $ac_tr_func 1
14532 echo "$ac_t""no" 1>&6
14541 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14542 echo "configure:14543: checking for logf declaration" >&5
14543 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14544 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14545 echo $ac_n "(cached) $ac_c" 1>&6
14550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14551 ac_cpp='$CXXCPP $CPPFLAGS'
14552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14554 cross_compiling=$ac_cv_prog_cxx_cross
14556 cat > conftest.$ac_ext <<EOF
14557 #line 14558 "configure"
14558 #include "confdefs.h"
14560 #ifdef HAVE_IEEEFP_H
14561 #include <ieeefp.h>
14568 if { (eval echo configure:14569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14570 glibcpp_cv_func_logf_use=yes
14572 echo "configure: failed program was:" >&5
14573 cat conftest.$ac_ext >&5
14575 glibcpp_cv_func_logf_use=no
14579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14580 ac_cpp='$CPP $CPPFLAGS'
14581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14583 cross_compiling=$ac_cv_prog_cc_cross
14589 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14591 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14592 for ac_func in logf
14594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14595 echo "configure:14596: checking for $ac_func" >&5
14596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14597 echo $ac_n "(cached) $ac_c" 1>&6
14599 cat > conftest.$ac_ext <<EOF
14600 #line 14601 "configure"
14601 #include "confdefs.h"
14602 /* System header to define __stub macros and hopefully few prototypes,
14603 which can conflict with char $ac_func(); below. */
14604 #include <assert.h>
14605 /* Override any gcc2 internal prototype to avoid an error. */
14606 /* We use char because int might match the return type of a gcc2
14607 builtin and then its argument prototype would still apply. */
14612 /* The GNU C library defines this for functions which it implements
14613 to always fail with ENOSYS. Some functions are actually named
14614 something starting with __ and the normal name is an alias. */
14615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14623 if { (eval echo configure:14624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14625 eval "ac_cv_func_$ac_func=yes"
14627 echo "configure: failed program was:" >&5
14628 cat conftest.$ac_ext >&5
14630 eval "ac_cv_func_$ac_func=no"
14635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14636 echo "$ac_t""yes" 1>&6
14637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14638 cat >> confdefs.h <<EOF
14639 #define $ac_tr_func 1
14643 echo "$ac_t""no" 1>&6
14649 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14650 echo "configure:14651: checking for _logf declaration" >&5
14651 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14652 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14653 echo $ac_n "(cached) $ac_c" 1>&6
14658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14659 ac_cpp='$CXXCPP $CPPFLAGS'
14660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14662 cross_compiling=$ac_cv_prog_cxx_cross
14664 cat > conftest.$ac_ext <<EOF
14665 #line 14666 "configure"
14666 #include "confdefs.h"
14668 #ifdef HAVE_IEEEFP_H
14669 #include <ieeefp.h>
14676 if { (eval echo configure:14677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14678 glibcpp_cv_func__logf_use=yes
14680 echo "configure: failed program was:" >&5
14681 cat conftest.$ac_ext >&5
14683 glibcpp_cv_func__logf_use=no
14687 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14688 ac_cpp='$CPP $CPPFLAGS'
14689 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14690 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14691 cross_compiling=$ac_cv_prog_cc_cross
14697 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14699 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14700 for ac_func in _logf
14702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14703 echo "configure:14704: checking for $ac_func" >&5
14704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14705 echo $ac_n "(cached) $ac_c" 1>&6
14707 cat > conftest.$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14710 /* System header to define __stub macros and hopefully few prototypes,
14711 which can conflict with char $ac_func(); below. */
14712 #include <assert.h>
14713 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14720 /* The GNU C library defines this for functions which it implements
14721 to always fail with ENOSYS. Some functions are actually named
14722 something starting with __ and the normal name is an alias. */
14723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14731 if { (eval echo configure:14732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14733 eval "ac_cv_func_$ac_func=yes"
14735 echo "configure: failed program was:" >&5
14736 cat conftest.$ac_ext >&5
14738 eval "ac_cv_func_$ac_func=no"
14743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14744 echo "$ac_t""yes" 1>&6
14745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14746 cat >> confdefs.h <<EOF
14747 #define $ac_tr_func 1
14751 echo "$ac_t""no" 1>&6
14760 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14761 echo "configure:14762: checking for log10f declaration" >&5
14762 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14763 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14764 echo $ac_n "(cached) $ac_c" 1>&6
14769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14773 cross_compiling=$ac_cv_prog_cxx_cross
14775 cat > conftest.$ac_ext <<EOF
14776 #line 14777 "configure"
14777 #include "confdefs.h"
14779 #ifdef HAVE_IEEEFP_H
14780 #include <ieeefp.h>
14787 if { (eval echo configure:14788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14789 glibcpp_cv_func_log10f_use=yes
14791 echo "configure: failed program was:" >&5
14792 cat conftest.$ac_ext >&5
14794 glibcpp_cv_func_log10f_use=no
14798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14799 ac_cpp='$CPP $CPPFLAGS'
14800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14802 cross_compiling=$ac_cv_prog_cc_cross
14808 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14810 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14811 for ac_func in log10f
14813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14814 echo "configure:14815: checking for $ac_func" >&5
14815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14816 echo $ac_n "(cached) $ac_c" 1>&6
14818 cat > conftest.$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14821 /* System header to define __stub macros and hopefully few prototypes,
14822 which can conflict with char $ac_func(); below. */
14823 #include <assert.h>
14824 /* Override any gcc2 internal prototype to avoid an error. */
14825 /* We use char because int might match the return type of a gcc2
14826 builtin and then its argument prototype would still apply. */
14831 /* The GNU C library defines this for functions which it implements
14832 to always fail with ENOSYS. Some functions are actually named
14833 something starting with __ and the normal name is an alias. */
14834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14842 if { (eval echo configure:14843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14844 eval "ac_cv_func_$ac_func=yes"
14846 echo "configure: failed program was:" >&5
14847 cat conftest.$ac_ext >&5
14849 eval "ac_cv_func_$ac_func=no"
14854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14857 cat >> confdefs.h <<EOF
14858 #define $ac_tr_func 1
14862 echo "$ac_t""no" 1>&6
14868 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14869 echo "configure:14870: checking for _log10f declaration" >&5
14870 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14871 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14872 echo $ac_n "(cached) $ac_c" 1>&6
14877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14878 ac_cpp='$CXXCPP $CPPFLAGS'
14879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14881 cross_compiling=$ac_cv_prog_cxx_cross
14883 cat > conftest.$ac_ext <<EOF
14884 #line 14885 "configure"
14885 #include "confdefs.h"
14887 #ifdef HAVE_IEEEFP_H
14888 #include <ieeefp.h>
14895 if { (eval echo configure:14896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14897 glibcpp_cv_func__log10f_use=yes
14899 echo "configure: failed program was:" >&5
14900 cat conftest.$ac_ext >&5
14902 glibcpp_cv_func__log10f_use=no
14906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14907 ac_cpp='$CPP $CPPFLAGS'
14908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14910 cross_compiling=$ac_cv_prog_cc_cross
14916 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14918 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14919 for ac_func in _log10f
14921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14922 echo "configure:14923: checking for $ac_func" >&5
14923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14924 echo $ac_n "(cached) $ac_c" 1>&6
14926 cat > conftest.$ac_ext <<EOF
14927 #line 14928 "configure"
14928 #include "confdefs.h"
14929 /* System header to define __stub macros and hopefully few prototypes,
14930 which can conflict with char $ac_func(); below. */
14931 #include <assert.h>
14932 /* Override any gcc2 internal prototype to avoid an error. */
14933 /* We use char because int might match the return type of a gcc2
14934 builtin and then its argument prototype would still apply. */
14939 /* The GNU C library defines this for functions which it implements
14940 to always fail with ENOSYS. Some functions are actually named
14941 something starting with __ and the normal name is an alias. */
14942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14950 if { (eval echo configure:14951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14952 eval "ac_cv_func_$ac_func=yes"
14954 echo "configure: failed program was:" >&5
14955 cat conftest.$ac_ext >&5
14957 eval "ac_cv_func_$ac_func=no"
14962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14963 echo "$ac_t""yes" 1>&6
14964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14965 cat >> confdefs.h <<EOF
14966 #define $ac_tr_func 1
14970 echo "$ac_t""no" 1>&6
14979 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
14980 echo "configure:14981: checking for modff declaration" >&5
14981 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14982 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14983 echo $ac_n "(cached) $ac_c" 1>&6
14988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14989 ac_cpp='$CXXCPP $CPPFLAGS'
14990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14992 cross_compiling=$ac_cv_prog_cxx_cross
14994 cat > conftest.$ac_ext <<EOF
14995 #line 14996 "configure"
14996 #include "confdefs.h"
15002 if { (eval echo configure:15003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15004 glibcpp_cv_func_modff_use=yes
15006 echo "configure: failed program was:" >&5
15007 cat conftest.$ac_ext >&5
15009 glibcpp_cv_func_modff_use=no
15013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15017 cross_compiling=$ac_cv_prog_cc_cross
15023 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15025 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15026 for ac_func in modff
15028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15029 echo "configure:15030: checking for $ac_func" >&5
15030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15031 echo $ac_n "(cached) $ac_c" 1>&6
15033 cat > conftest.$ac_ext <<EOF
15034 #line 15035 "configure"
15035 #include "confdefs.h"
15036 /* System header to define __stub macros and hopefully few prototypes,
15037 which can conflict with char $ac_func(); below. */
15038 #include <assert.h>
15039 /* Override any gcc2 internal prototype to avoid an error. */
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15046 /* The GNU C library defines this for functions which it implements
15047 to always fail with ENOSYS. Some functions are actually named
15048 something starting with __ and the normal name is an alias. */
15049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15057 if { (eval echo configure:15058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15059 eval "ac_cv_func_$ac_func=yes"
15061 echo "configure: failed program was:" >&5
15062 cat conftest.$ac_ext >&5
15064 eval "ac_cv_func_$ac_func=no"
15069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15070 echo "$ac_t""yes" 1>&6
15071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15072 cat >> confdefs.h <<EOF
15073 #define $ac_tr_func 1
15077 echo "$ac_t""no" 1>&6
15083 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15084 echo "configure:15085: checking for _modff declaration" >&5
15085 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15086 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15087 echo $ac_n "(cached) $ac_c" 1>&6
15092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15093 ac_cpp='$CXXCPP $CPPFLAGS'
15094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15096 cross_compiling=$ac_cv_prog_cxx_cross
15098 cat > conftest.$ac_ext <<EOF
15099 #line 15100 "configure"
15100 #include "confdefs.h"
15106 if { (eval echo configure:15107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15108 glibcpp_cv_func__modff_use=yes
15110 echo "configure: failed program was:" >&5
15111 cat conftest.$ac_ext >&5
15113 glibcpp_cv_func__modff_use=no
15117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15118 ac_cpp='$CPP $CPPFLAGS'
15119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15121 cross_compiling=$ac_cv_prog_cc_cross
15127 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15129 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15130 for ac_func in _modff
15132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15133 echo "configure:15134: checking for $ac_func" >&5
15134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15135 echo $ac_n "(cached) $ac_c" 1>&6
15137 cat > conftest.$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15140 /* System header to define __stub macros and hopefully few prototypes,
15141 which can conflict with char $ac_func(); below. */
15142 #include <assert.h>
15143 /* Override any gcc2 internal prototype to avoid an error. */
15144 /* We use char because int might match the return type of a gcc2
15145 builtin and then its argument prototype would still apply. */
15150 /* The GNU C library defines this for functions which it implements
15151 to always fail with ENOSYS. Some functions are actually named
15152 something starting with __ and the normal name is an alias. */
15153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15161 if { (eval echo configure:15162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15163 eval "ac_cv_func_$ac_func=yes"
15165 echo "configure: failed program was:" >&5
15166 cat conftest.$ac_ext >&5
15168 eval "ac_cv_func_$ac_func=no"
15173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15174 echo "$ac_t""yes" 1>&6
15175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15176 cat >> confdefs.h <<EOF
15177 #define $ac_tr_func 1
15181 echo "$ac_t""no" 1>&6
15190 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15191 echo "configure:15192: checking for powf declaration" >&5
15192 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15193 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15194 echo $ac_n "(cached) $ac_c" 1>&6
15199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15200 ac_cpp='$CXXCPP $CPPFLAGS'
15201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15203 cross_compiling=$ac_cv_prog_cxx_cross
15205 cat > conftest.$ac_ext <<EOF
15206 #line 15207 "configure"
15207 #include "confdefs.h"
15213 if { (eval echo configure:15214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15215 glibcpp_cv_func_powf_use=yes
15217 echo "configure: failed program was:" >&5
15218 cat conftest.$ac_ext >&5
15220 glibcpp_cv_func_powf_use=no
15224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15225 ac_cpp='$CPP $CPPFLAGS'
15226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15228 cross_compiling=$ac_cv_prog_cc_cross
15234 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15236 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15237 for ac_func in powf
15239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15240 echo "configure:15241: checking for $ac_func" >&5
15241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15242 echo $ac_n "(cached) $ac_c" 1>&6
15244 cat > conftest.$ac_ext <<EOF
15245 #line 15246 "configure"
15246 #include "confdefs.h"
15247 /* System header to define __stub macros and hopefully few prototypes,
15248 which can conflict with char $ac_func(); below. */
15249 #include <assert.h>
15250 /* Override any gcc2 internal prototype to avoid an error. */
15251 /* We use char because int might match the return type of a gcc2
15252 builtin and then its argument prototype would still apply. */
15257 /* The GNU C library defines this for functions which it implements
15258 to always fail with ENOSYS. Some functions are actually named
15259 something starting with __ and the normal name is an alias. */
15260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15268 if { (eval echo configure:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15270 eval "ac_cv_func_$ac_func=yes"
15272 echo "configure: failed program was:" >&5
15273 cat conftest.$ac_ext >&5
15275 eval "ac_cv_func_$ac_func=no"
15280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15281 echo "$ac_t""yes" 1>&6
15282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15283 cat >> confdefs.h <<EOF
15284 #define $ac_tr_func 1
15288 echo "$ac_t""no" 1>&6
15294 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15295 echo "configure:15296: checking for _powf declaration" >&5
15296 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15297 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15304 ac_cpp='$CXXCPP $CPPFLAGS'
15305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15307 cross_compiling=$ac_cv_prog_cxx_cross
15309 cat > conftest.$ac_ext <<EOF
15310 #line 15311 "configure"
15311 #include "confdefs.h"
15317 if { (eval echo configure:15318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15319 glibcpp_cv_func__powf_use=yes
15321 echo "configure: failed program was:" >&5
15322 cat conftest.$ac_ext >&5
15324 glibcpp_cv_func__powf_use=no
15328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15331 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15332 cross_compiling=$ac_cv_prog_cc_cross
15338 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15340 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15341 for ac_func in _powf
15343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15344 echo "configure:15345: checking for $ac_func" >&5
15345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15346 echo $ac_n "(cached) $ac_c" 1>&6
15348 cat > conftest.$ac_ext <<EOF
15349 #line 15350 "configure"
15350 #include "confdefs.h"
15351 /* System header to define __stub macros and hopefully few prototypes,
15352 which can conflict with char $ac_func(); below. */
15353 #include <assert.h>
15354 /* Override any gcc2 internal prototype to avoid an error. */
15355 /* We use char because int might match the return type of a gcc2
15356 builtin and then its argument prototype would still apply. */
15361 /* The GNU C library defines this for functions which it implements
15362 to always fail with ENOSYS. Some functions are actually named
15363 something starting with __ and the normal name is an alias. */
15364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15372 if { (eval echo configure:15373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15374 eval "ac_cv_func_$ac_func=yes"
15376 echo "configure: failed program was:" >&5
15377 cat conftest.$ac_ext >&5
15379 eval "ac_cv_func_$ac_func=no"
15384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15385 echo "$ac_t""yes" 1>&6
15386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15387 cat >> confdefs.h <<EOF
15388 #define $ac_tr_func 1
15392 echo "$ac_t""no" 1>&6
15401 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15402 echo "configure:15403: checking for sqrtf declaration" >&5
15403 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15404 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15405 echo $ac_n "(cached) $ac_c" 1>&6
15410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15411 ac_cpp='$CXXCPP $CPPFLAGS'
15412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15414 cross_compiling=$ac_cv_prog_cxx_cross
15416 cat > conftest.$ac_ext <<EOF
15417 #line 15418 "configure"
15418 #include "confdefs.h"
15420 #ifdef HAVE_IEEEFP_H
15421 #include <ieeefp.h>
15428 if { (eval echo configure:15429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15430 glibcpp_cv_func_sqrtf_use=yes
15432 echo "configure: failed program was:" >&5
15433 cat conftest.$ac_ext >&5
15435 glibcpp_cv_func_sqrtf_use=no
15439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15440 ac_cpp='$CPP $CPPFLAGS'
15441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15443 cross_compiling=$ac_cv_prog_cc_cross
15449 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15451 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15452 for ac_func in sqrtf
15454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15455 echo "configure:15456: checking for $ac_func" >&5
15456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15457 echo $ac_n "(cached) $ac_c" 1>&6
15459 cat > conftest.$ac_ext <<EOF
15460 #line 15461 "configure"
15461 #include "confdefs.h"
15462 /* System header to define __stub macros and hopefully few prototypes,
15463 which can conflict with char $ac_func(); below. */
15464 #include <assert.h>
15465 /* Override any gcc2 internal prototype to avoid an error. */
15466 /* We use char because int might match the return type of a gcc2
15467 builtin and then its argument prototype would still apply. */
15472 /* The GNU C library defines this for functions which it implements
15473 to always fail with ENOSYS. Some functions are actually named
15474 something starting with __ and the normal name is an alias. */
15475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15483 if { (eval echo configure:15484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15485 eval "ac_cv_func_$ac_func=yes"
15487 echo "configure: failed program was:" >&5
15488 cat conftest.$ac_ext >&5
15490 eval "ac_cv_func_$ac_func=no"
15495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15496 echo "$ac_t""yes" 1>&6
15497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15498 cat >> confdefs.h <<EOF
15499 #define $ac_tr_func 1
15503 echo "$ac_t""no" 1>&6
15509 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15510 echo "configure:15511: checking for _sqrtf declaration" >&5
15511 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15512 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15519 ac_cpp='$CXXCPP $CPPFLAGS'
15520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15522 cross_compiling=$ac_cv_prog_cxx_cross
15524 cat > conftest.$ac_ext <<EOF
15525 #line 15526 "configure"
15526 #include "confdefs.h"
15528 #ifdef HAVE_IEEEFP_H
15529 #include <ieeefp.h>
15536 if { (eval echo configure:15537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15538 glibcpp_cv_func__sqrtf_use=yes
15540 echo "configure: failed program was:" >&5
15541 cat conftest.$ac_ext >&5
15543 glibcpp_cv_func__sqrtf_use=no
15547 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15550 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15551 cross_compiling=$ac_cv_prog_cc_cross
15557 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15559 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15560 for ac_func in _sqrtf
15562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15563 echo "configure:15564: checking for $ac_func" >&5
15564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15565 echo $ac_n "(cached) $ac_c" 1>&6
15567 cat > conftest.$ac_ext <<EOF
15568 #line 15569 "configure"
15569 #include "confdefs.h"
15570 /* System header to define __stub macros and hopefully few prototypes,
15571 which can conflict with char $ac_func(); below. */
15572 #include <assert.h>
15573 /* Override any gcc2 internal prototype to avoid an error. */
15574 /* We use char because int might match the return type of a gcc2
15575 builtin and then its argument prototype would still apply. */
15580 /* The GNU C library defines this for functions which it implements
15581 to always fail with ENOSYS. Some functions are actually named
15582 something starting with __ and the normal name is an alias. */
15583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15591 if { (eval echo configure:15592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15593 eval "ac_cv_func_$ac_func=yes"
15595 echo "configure: failed program was:" >&5
15596 cat conftest.$ac_ext >&5
15598 eval "ac_cv_func_$ac_func=no"
15603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15604 echo "$ac_t""yes" 1>&6
15605 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15606 cat >> confdefs.h <<EOF
15607 #define $ac_tr_func 1
15611 echo "$ac_t""no" 1>&6
15620 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15621 echo "configure:15622: checking for sincosf declaration" >&5
15622 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15623 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15624 echo $ac_n "(cached) $ac_c" 1>&6
15629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15630 ac_cpp='$CXXCPP $CPPFLAGS'
15631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15633 cross_compiling=$ac_cv_prog_cxx_cross
15635 cat > conftest.$ac_ext <<EOF
15636 #line 15637 "configure"
15637 #include "confdefs.h"
15643 if { (eval echo configure:15644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15645 glibcpp_cv_func_sincosf_use=yes
15647 echo "configure: failed program was:" >&5
15648 cat conftest.$ac_ext >&5
15650 glibcpp_cv_func_sincosf_use=no
15654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15655 ac_cpp='$CPP $CPPFLAGS'
15656 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15657 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15658 cross_compiling=$ac_cv_prog_cc_cross
15664 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15666 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15667 for ac_func in sincosf
15669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15670 echo "configure:15671: checking for $ac_func" >&5
15671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15672 echo $ac_n "(cached) $ac_c" 1>&6
15674 cat > conftest.$ac_ext <<EOF
15675 #line 15676 "configure"
15676 #include "confdefs.h"
15677 /* System header to define __stub macros and hopefully few prototypes,
15678 which can conflict with char $ac_func(); below. */
15679 #include <assert.h>
15680 /* Override any gcc2 internal prototype to avoid an error. */
15681 /* We use char because int might match the return type of a gcc2
15682 builtin and then its argument prototype would still apply. */
15687 /* The GNU C library defines this for functions which it implements
15688 to always fail with ENOSYS. Some functions are actually named
15689 something starting with __ and the normal name is an alias. */
15690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15698 if { (eval echo configure:15699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15700 eval "ac_cv_func_$ac_func=yes"
15702 echo "configure: failed program was:" >&5
15703 cat conftest.$ac_ext >&5
15705 eval "ac_cv_func_$ac_func=no"
15710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15711 echo "$ac_t""yes" 1>&6
15712 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15713 cat >> confdefs.h <<EOF
15714 #define $ac_tr_func 1
15718 echo "$ac_t""no" 1>&6
15724 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15725 echo "configure:15726: checking for _sincosf declaration" >&5
15726 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15727 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15728 echo $ac_n "(cached) $ac_c" 1>&6
15733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15734 ac_cpp='$CXXCPP $CPPFLAGS'
15735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15737 cross_compiling=$ac_cv_prog_cxx_cross
15739 cat > conftest.$ac_ext <<EOF
15740 #line 15741 "configure"
15741 #include "confdefs.h"
15747 if { (eval echo configure:15748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15749 glibcpp_cv_func__sincosf_use=yes
15751 echo "configure: failed program was:" >&5
15752 cat conftest.$ac_ext >&5
15754 glibcpp_cv_func__sincosf_use=no
15758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15762 cross_compiling=$ac_cv_prog_cc_cross
15768 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15770 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15771 for ac_func in _sincosf
15773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15774 echo "configure:15775: checking for $ac_func" >&5
15775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15776 echo $ac_n "(cached) $ac_c" 1>&6
15778 cat > conftest.$ac_ext <<EOF
15779 #line 15780 "configure"
15780 #include "confdefs.h"
15781 /* System header to define __stub macros and hopefully few prototypes,
15782 which can conflict with char $ac_func(); below. */
15783 #include <assert.h>
15784 /* Override any gcc2 internal prototype to avoid an error. */
15785 /* We use char because int might match the return type of a gcc2
15786 builtin and then its argument prototype would still apply. */
15791 /* The GNU C library defines this for functions which it implements
15792 to always fail with ENOSYS. Some functions are actually named
15793 something starting with __ and the normal name is an alias. */
15794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15802 if { (eval echo configure:15803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15804 eval "ac_cv_func_$ac_func=yes"
15806 echo "configure: failed program was:" >&5
15807 cat conftest.$ac_ext >&5
15809 eval "ac_cv_func_$ac_func=no"
15814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15815 echo "$ac_t""yes" 1>&6
15816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15817 cat >> confdefs.h <<EOF
15818 #define $ac_tr_func 1
15822 echo "$ac_t""no" 1>&6
15831 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15832 echo "configure:15833: checking for finitef declaration" >&5
15833 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15834 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15835 echo $ac_n "(cached) $ac_c" 1>&6
15840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15841 ac_cpp='$CXXCPP $CPPFLAGS'
15842 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15843 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15844 cross_compiling=$ac_cv_prog_cxx_cross
15846 cat > conftest.$ac_ext <<EOF
15847 #line 15848 "configure"
15848 #include "confdefs.h"
15850 #ifdef HAVE_IEEEFP_H
15851 #include <ieeefp.h>
15858 if { (eval echo configure:15859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15860 glibcpp_cv_func_finitef_use=yes
15862 echo "configure: failed program was:" >&5
15863 cat conftest.$ac_ext >&5
15865 glibcpp_cv_func_finitef_use=no
15869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15873 cross_compiling=$ac_cv_prog_cc_cross
15879 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15881 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15882 for ac_func in finitef
15884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15885 echo "configure:15886: checking for $ac_func" >&5
15886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15887 echo $ac_n "(cached) $ac_c" 1>&6
15889 cat > conftest.$ac_ext <<EOF
15890 #line 15891 "configure"
15891 #include "confdefs.h"
15892 /* System header to define __stub macros and hopefully few prototypes,
15893 which can conflict with char $ac_func(); below. */
15894 #include <assert.h>
15895 /* Override any gcc2 internal prototype to avoid an error. */
15896 /* We use char because int might match the return type of a gcc2
15897 builtin and then its argument prototype would still apply. */
15902 /* The GNU C library defines this for functions which it implements
15903 to always fail with ENOSYS. Some functions are actually named
15904 something starting with __ and the normal name is an alias. */
15905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15913 if { (eval echo configure:15914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15915 eval "ac_cv_func_$ac_func=yes"
15917 echo "configure: failed program was:" >&5
15918 cat conftest.$ac_ext >&5
15920 eval "ac_cv_func_$ac_func=no"
15925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15926 echo "$ac_t""yes" 1>&6
15927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15928 cat >> confdefs.h <<EOF
15929 #define $ac_tr_func 1
15933 echo "$ac_t""no" 1>&6
15939 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15940 echo "configure:15941: checking for _finitef declaration" >&5
15941 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15942 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15943 echo $ac_n "(cached) $ac_c" 1>&6
15948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15949 ac_cpp='$CXXCPP $CPPFLAGS'
15950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15952 cross_compiling=$ac_cv_prog_cxx_cross
15954 cat > conftest.$ac_ext <<EOF
15955 #line 15956 "configure"
15956 #include "confdefs.h"
15958 #ifdef HAVE_IEEEFP_H
15959 #include <ieeefp.h>
15966 if { (eval echo configure:15967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15968 glibcpp_cv_func__finitef_use=yes
15970 echo "configure: failed program was:" >&5
15971 cat conftest.$ac_ext >&5
15973 glibcpp_cv_func__finitef_use=no
15977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15978 ac_cpp='$CPP $CPPFLAGS'
15979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15981 cross_compiling=$ac_cv_prog_cc_cross
15987 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
15989 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
15990 for ac_func in _finitef
15992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15993 echo "configure:15994: checking for $ac_func" >&5
15994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15995 echo $ac_n "(cached) $ac_c" 1>&6
15997 cat > conftest.$ac_ext <<EOF
15998 #line 15999 "configure"
15999 #include "confdefs.h"
16000 /* System header to define __stub macros and hopefully few prototypes,
16001 which can conflict with char $ac_func(); below. */
16002 #include <assert.h>
16003 /* Override any gcc2 internal prototype to avoid an error. */
16004 /* We use char because int might match the return type of a gcc2
16005 builtin and then its argument prototype would still apply. */
16010 /* The GNU C library defines this for functions which it implements
16011 to always fail with ENOSYS. Some functions are actually named
16012 something starting with __ and the normal name is an alias. */
16013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16021 if { (eval echo configure:16022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16023 eval "ac_cv_func_$ac_func=yes"
16025 echo "configure: failed program was:" >&5
16026 cat conftest.$ac_ext >&5
16028 eval "ac_cv_func_$ac_func=no"
16033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16034 echo "$ac_t""yes" 1>&6
16035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16036 cat >> confdefs.h <<EOF
16037 #define $ac_tr_func 1
16041 echo "$ac_t""no" 1>&6
16050 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16051 echo "configure:16052: checking for long double trig functions" >&5
16052 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16053 echo $ac_n "(cached) $ac_c" 1>&6
16058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16059 ac_cpp='$CXXCPP $CPPFLAGS'
16060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16062 cross_compiling=$ac_cv_prog_cxx_cross
16064 cat > conftest.$ac_ext <<EOF
16065 #line 16066 "configure"
16066 #include "confdefs.h"
16069 `for x in acosl asinl atanl \
16071 coshl sinhl tanhl; do echo "$x (0);"; done`
16074 if { (eval echo configure:16075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16076 glibcpp_cv_func_long_double_trig_use=yes
16078 echo "configure: failed program was:" >&5
16079 cat conftest.$ac_ext >&5
16081 glibcpp_cv_func_long_double_trig_use=no
16085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16086 ac_cpp='$CPP $CPPFLAGS'
16087 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16088 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16089 cross_compiling=$ac_cv_prog_cc_cross
16093 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16094 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16095 for ac_func in acosl asinl atanl \
16099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16100 echo "configure:16101: checking for $ac_func" >&5
16101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16102 echo $ac_n "(cached) $ac_c" 1>&6
16104 cat > conftest.$ac_ext <<EOF
16105 #line 16106 "configure"
16106 #include "confdefs.h"
16107 /* System header to define __stub macros and hopefully few prototypes,
16108 which can conflict with char $ac_func(); below. */
16109 #include <assert.h>
16110 /* Override any gcc2 internal prototype to avoid an error. */
16111 /* We use char because int might match the return type of a gcc2
16112 builtin and then its argument prototype would still apply. */
16117 /* The GNU C library defines this for functions which it implements
16118 to always fail with ENOSYS. Some functions are actually named
16119 something starting with __ and the normal name is an alias. */
16120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16128 if { (eval echo configure:16129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16130 eval "ac_cv_func_$ac_func=yes"
16132 echo "configure: failed program was:" >&5
16133 cat conftest.$ac_ext >&5
16135 eval "ac_cv_func_$ac_func=no"
16140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16141 echo "$ac_t""yes" 1>&6
16142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16143 cat >> confdefs.h <<EOF
16144 #define $ac_tr_func 1
16148 echo "$ac_t""no" 1>&6
16155 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16156 echo "configure:16157: checking for long double round functions" >&5
16157 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16158 echo $ac_n "(cached) $ac_c" 1>&6
16163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16164 ac_cpp='$CXXCPP $CPPFLAGS'
16165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16167 cross_compiling=$ac_cv_prog_cxx_cross
16169 cat > conftest.$ac_ext <<EOF
16170 #line 16171 "configure"
16171 #include "confdefs.h"
16174 `for x in ceill floorl; do echo "$x (0);"; done`
16177 if { (eval echo configure:16178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16179 glibcpp_cv_func_long_double_round_use=yes
16181 echo "configure: failed program was:" >&5
16182 cat conftest.$ac_ext >&5
16184 glibcpp_cv_func_long_double_round_use=no
16188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16189 ac_cpp='$CPP $CPPFLAGS'
16190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16192 cross_compiling=$ac_cv_prog_cc_cross
16196 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16197 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16198 for ac_func in ceill floorl
16200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16201 echo "configure:16202: checking for $ac_func" >&5
16202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16203 echo $ac_n "(cached) $ac_c" 1>&6
16205 cat > conftest.$ac_ext <<EOF
16206 #line 16207 "configure"
16207 #include "confdefs.h"
16208 /* System header to define __stub macros and hopefully few prototypes,
16209 which can conflict with char $ac_func(); below. */
16210 #include <assert.h>
16211 /* Override any gcc2 internal prototype to avoid an error. */
16212 /* We use char because int might match the return type of a gcc2
16213 builtin and then its argument prototype would still apply. */
16218 /* The GNU C library defines this for functions which it implements
16219 to always fail with ENOSYS. Some functions are actually named
16220 something starting with __ and the normal name is an alias. */
16221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16229 if { (eval echo configure:16230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16231 eval "ac_cv_func_$ac_func=yes"
16233 echo "configure: failed program was:" >&5
16234 cat conftest.$ac_ext >&5
16236 eval "ac_cv_func_$ac_func=no"
16241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16242 echo "$ac_t""yes" 1>&6
16243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16244 cat >> confdefs.h <<EOF
16245 #define $ac_tr_func 1
16249 echo "$ac_t""no" 1>&6
16257 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16258 echo "configure:16259: checking for isnanl declaration" >&5
16259 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16260 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16261 echo $ac_n "(cached) $ac_c" 1>&6
16266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16267 ac_cpp='$CXXCPP $CPPFLAGS'
16268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16270 cross_compiling=$ac_cv_prog_cxx_cross
16272 cat > conftest.$ac_ext <<EOF
16273 #line 16274 "configure"
16274 #include "confdefs.h"
16276 #ifdef HAVE_IEEEFP_H
16277 #include <ieeefp.h>
16284 if { (eval echo configure:16285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16286 glibcpp_cv_func_isnanl_use=yes
16288 echo "configure: failed program was:" >&5
16289 cat conftest.$ac_ext >&5
16291 glibcpp_cv_func_isnanl_use=no
16295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16296 ac_cpp='$CPP $CPPFLAGS'
16297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16299 cross_compiling=$ac_cv_prog_cc_cross
16305 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16307 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16308 for ac_func in isnanl
16310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16311 echo "configure:16312: checking for $ac_func" >&5
16312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16313 echo $ac_n "(cached) $ac_c" 1>&6
16315 cat > conftest.$ac_ext <<EOF
16316 #line 16317 "configure"
16317 #include "confdefs.h"
16318 /* System header to define __stub macros and hopefully few prototypes,
16319 which can conflict with char $ac_func(); below. */
16320 #include <assert.h>
16321 /* Override any gcc2 internal prototype to avoid an error. */
16322 /* We use char because int might match the return type of a gcc2
16323 builtin and then its argument prototype would still apply. */
16328 /* The GNU C library defines this for functions which it implements
16329 to always fail with ENOSYS. Some functions are actually named
16330 something starting with __ and the normal name is an alias. */
16331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16339 if { (eval echo configure:16340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16341 eval "ac_cv_func_$ac_func=yes"
16343 echo "configure: failed program was:" >&5
16344 cat conftest.$ac_ext >&5
16346 eval "ac_cv_func_$ac_func=no"
16351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16352 echo "$ac_t""yes" 1>&6
16353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16354 cat >> confdefs.h <<EOF
16355 #define $ac_tr_func 1
16359 echo "$ac_t""no" 1>&6
16365 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16366 echo "configure:16367: checking for _isnanl declaration" >&5
16367 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16368 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16369 echo $ac_n "(cached) $ac_c" 1>&6
16374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16375 ac_cpp='$CXXCPP $CPPFLAGS'
16376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16378 cross_compiling=$ac_cv_prog_cxx_cross
16380 cat > conftest.$ac_ext <<EOF
16381 #line 16382 "configure"
16382 #include "confdefs.h"
16384 #ifdef HAVE_IEEEFP_H
16385 #include <ieeefp.h>
16392 if { (eval echo configure:16393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16394 glibcpp_cv_func__isnanl_use=yes
16396 echo "configure: failed program was:" >&5
16397 cat conftest.$ac_ext >&5
16399 glibcpp_cv_func__isnanl_use=no
16403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16404 ac_cpp='$CPP $CPPFLAGS'
16405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16407 cross_compiling=$ac_cv_prog_cc_cross
16413 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16415 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16416 for ac_func in _isnanl
16418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16419 echo "configure:16420: checking for $ac_func" >&5
16420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16421 echo $ac_n "(cached) $ac_c" 1>&6
16423 cat > conftest.$ac_ext <<EOF
16424 #line 16425 "configure"
16425 #include "confdefs.h"
16426 /* System header to define __stub macros and hopefully few prototypes,
16427 which can conflict with char $ac_func(); below. */
16428 #include <assert.h>
16429 /* Override any gcc2 internal prototype to avoid an error. */
16430 /* We use char because int might match the return type of a gcc2
16431 builtin and then its argument prototype would still apply. */
16436 /* The GNU C library defines this for functions which it implements
16437 to always fail with ENOSYS. Some functions are actually named
16438 something starting with __ and the normal name is an alias. */
16439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16447 if { (eval echo configure:16448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16449 eval "ac_cv_func_$ac_func=yes"
16451 echo "configure: failed program was:" >&5
16452 cat conftest.$ac_ext >&5
16454 eval "ac_cv_func_$ac_func=no"
16459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16460 echo "$ac_t""yes" 1>&6
16461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16462 cat >> confdefs.h <<EOF
16463 #define $ac_tr_func 1
16467 echo "$ac_t""no" 1>&6
16476 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16477 echo "configure:16478: checking for isinfl declaration" >&5
16478 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16479 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16480 echo $ac_n "(cached) $ac_c" 1>&6
16485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16486 ac_cpp='$CXXCPP $CPPFLAGS'
16487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16489 cross_compiling=$ac_cv_prog_cxx_cross
16491 cat > conftest.$ac_ext <<EOF
16492 #line 16493 "configure"
16493 #include "confdefs.h"
16495 #ifdef HAVE_IEEEFP_H
16496 #include <ieeefp.h>
16503 if { (eval echo configure:16504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16505 glibcpp_cv_func_isinfl_use=yes
16507 echo "configure: failed program was:" >&5
16508 cat conftest.$ac_ext >&5
16510 glibcpp_cv_func_isinfl_use=no
16514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16518 cross_compiling=$ac_cv_prog_cc_cross
16524 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16526 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16527 for ac_func in isinfl
16529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16530 echo "configure:16531: checking for $ac_func" >&5
16531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16532 echo $ac_n "(cached) $ac_c" 1>&6
16534 cat > conftest.$ac_ext <<EOF
16535 #line 16536 "configure"
16536 #include "confdefs.h"
16537 /* System header to define __stub macros and hopefully few prototypes,
16538 which can conflict with char $ac_func(); below. */
16539 #include <assert.h>
16540 /* Override any gcc2 internal prototype to avoid an error. */
16541 /* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16547 /* The GNU C library defines this for functions which it implements
16548 to always fail with ENOSYS. Some functions are actually named
16549 something starting with __ and the normal name is an alias. */
16550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16558 if { (eval echo configure:16559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16560 eval "ac_cv_func_$ac_func=yes"
16562 echo "configure: failed program was:" >&5
16563 cat conftest.$ac_ext >&5
16565 eval "ac_cv_func_$ac_func=no"
16570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16571 echo "$ac_t""yes" 1>&6
16572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16573 cat >> confdefs.h <<EOF
16574 #define $ac_tr_func 1
16578 echo "$ac_t""no" 1>&6
16584 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16585 echo "configure:16586: checking for _isinfl declaration" >&5
16586 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16587 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16588 echo $ac_n "(cached) $ac_c" 1>&6
16593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16594 ac_cpp='$CXXCPP $CPPFLAGS'
16595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16597 cross_compiling=$ac_cv_prog_cxx_cross
16599 cat > conftest.$ac_ext <<EOF
16600 #line 16601 "configure"
16601 #include "confdefs.h"
16603 #ifdef HAVE_IEEEFP_H
16604 #include <ieeefp.h>
16611 if { (eval echo configure:16612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16613 glibcpp_cv_func__isinfl_use=yes
16615 echo "configure: failed program was:" >&5
16616 cat conftest.$ac_ext >&5
16618 glibcpp_cv_func__isinfl_use=no
16622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16623 ac_cpp='$CPP $CPPFLAGS'
16624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16626 cross_compiling=$ac_cv_prog_cc_cross
16632 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16634 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16635 for ac_func in _isinfl
16637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16638 echo "configure:16639: checking for $ac_func" >&5
16639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16640 echo $ac_n "(cached) $ac_c" 1>&6
16642 cat > conftest.$ac_ext <<EOF
16643 #line 16644 "configure"
16644 #include "confdefs.h"
16645 /* System header to define __stub macros and hopefully few prototypes,
16646 which can conflict with char $ac_func(); below. */
16647 #include <assert.h>
16648 /* Override any gcc2 internal prototype to avoid an error. */
16649 /* We use char because int might match the return type of a gcc2
16650 builtin and then its argument prototype would still apply. */
16655 /* The GNU C library defines this for functions which it implements
16656 to always fail with ENOSYS. Some functions are actually named
16657 something starting with __ and the normal name is an alias. */
16658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16666 if { (eval echo configure:16667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16668 eval "ac_cv_func_$ac_func=yes"
16670 echo "configure: failed program was:" >&5
16671 cat conftest.$ac_ext >&5
16673 eval "ac_cv_func_$ac_func=no"
16678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16679 echo "$ac_t""yes" 1>&6
16680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16681 cat >> confdefs.h <<EOF
16682 #define $ac_tr_func 1
16686 echo "$ac_t""no" 1>&6
16695 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16696 echo "configure:16697: checking for copysignl declaration" >&5
16697 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16698 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16699 echo $ac_n "(cached) $ac_c" 1>&6
16704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16705 ac_cpp='$CXXCPP $CPPFLAGS'
16706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16708 cross_compiling=$ac_cv_prog_cxx_cross
16710 cat > conftest.$ac_ext <<EOF
16711 #line 16712 "configure"
16712 #include "confdefs.h"
16718 if { (eval echo configure:16719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16720 glibcpp_cv_func_copysignl_use=yes
16722 echo "configure: failed program was:" >&5
16723 cat conftest.$ac_ext >&5
16725 glibcpp_cv_func_copysignl_use=no
16729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16730 ac_cpp='$CPP $CPPFLAGS'
16731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16733 cross_compiling=$ac_cv_prog_cc_cross
16739 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16741 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16742 for ac_func in copysignl
16744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16745 echo "configure:16746: checking for $ac_func" >&5
16746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16747 echo $ac_n "(cached) $ac_c" 1>&6
16749 cat > conftest.$ac_ext <<EOF
16750 #line 16751 "configure"
16751 #include "confdefs.h"
16752 /* System header to define __stub macros and hopefully few prototypes,
16753 which can conflict with char $ac_func(); below. */
16754 #include <assert.h>
16755 /* Override any gcc2 internal prototype to avoid an error. */
16756 /* We use char because int might match the return type of a gcc2
16757 builtin and then its argument prototype would still apply. */
16762 /* The GNU C library defines this for functions which it implements
16763 to always fail with ENOSYS. Some functions are actually named
16764 something starting with __ and the normal name is an alias. */
16765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16773 if { (eval echo configure:16774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16775 eval "ac_cv_func_$ac_func=yes"
16777 echo "configure: failed program was:" >&5
16778 cat conftest.$ac_ext >&5
16780 eval "ac_cv_func_$ac_func=no"
16785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16786 echo "$ac_t""yes" 1>&6
16787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16788 cat >> confdefs.h <<EOF
16789 #define $ac_tr_func 1
16793 echo "$ac_t""no" 1>&6
16799 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16800 echo "configure:16801: checking for _copysignl declaration" >&5
16801 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16802 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16803 echo $ac_n "(cached) $ac_c" 1>&6
16808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16809 ac_cpp='$CXXCPP $CPPFLAGS'
16810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16812 cross_compiling=$ac_cv_prog_cxx_cross
16814 cat > conftest.$ac_ext <<EOF
16815 #line 16816 "configure"
16816 #include "confdefs.h"
16822 if { (eval echo configure:16823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16824 glibcpp_cv_func__copysignl_use=yes
16826 echo "configure: failed program was:" >&5
16827 cat conftest.$ac_ext >&5
16829 glibcpp_cv_func__copysignl_use=no
16833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16834 ac_cpp='$CPP $CPPFLAGS'
16835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16837 cross_compiling=$ac_cv_prog_cc_cross
16843 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16845 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16846 for ac_func in _copysignl
16848 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16849 echo "configure:16850: checking for $ac_func" >&5
16850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16851 echo $ac_n "(cached) $ac_c" 1>&6
16853 cat > conftest.$ac_ext <<EOF
16854 #line 16855 "configure"
16855 #include "confdefs.h"
16856 /* System header to define __stub macros and hopefully few prototypes,
16857 which can conflict with char $ac_func(); below. */
16858 #include <assert.h>
16859 /* Override any gcc2 internal prototype to avoid an error. */
16860 /* We use char because int might match the return type of a gcc2
16861 builtin and then its argument prototype would still apply. */
16866 /* The GNU C library defines this for functions which it implements
16867 to always fail with ENOSYS. Some functions are actually named
16868 something starting with __ and the normal name is an alias. */
16869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16877 if { (eval echo configure:16878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16879 eval "ac_cv_func_$ac_func=yes"
16881 echo "configure: failed program was:" >&5
16882 cat conftest.$ac_ext >&5
16884 eval "ac_cv_func_$ac_func=no"
16889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16890 echo "$ac_t""yes" 1>&6
16891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16892 cat >> confdefs.h <<EOF
16893 #define $ac_tr_func 1
16897 echo "$ac_t""no" 1>&6
16906 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16907 echo "configure:16908: checking for atan2l declaration" >&5
16908 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16909 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16910 echo $ac_n "(cached) $ac_c" 1>&6
16915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16916 ac_cpp='$CXXCPP $CPPFLAGS'
16917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16919 cross_compiling=$ac_cv_prog_cxx_cross
16921 cat > conftest.$ac_ext <<EOF
16922 #line 16923 "configure"
16923 #include "confdefs.h"
16929 if { (eval echo configure:16930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16931 glibcpp_cv_func_atan2l_use=yes
16933 echo "configure: failed program was:" >&5
16934 cat conftest.$ac_ext >&5
16936 glibcpp_cv_func_atan2l_use=no
16940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16941 ac_cpp='$CPP $CPPFLAGS'
16942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16944 cross_compiling=$ac_cv_prog_cc_cross
16950 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16952 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16953 for ac_func in atan2l
16955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16956 echo "configure:16957: checking for $ac_func" >&5
16957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16958 echo $ac_n "(cached) $ac_c" 1>&6
16960 cat > conftest.$ac_ext <<EOF
16961 #line 16962 "configure"
16962 #include "confdefs.h"
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func(); below. */
16965 #include <assert.h>
16966 /* Override any gcc2 internal prototype to avoid an error. */
16967 /* We use char because int might match the return type of a gcc2
16968 builtin and then its argument prototype would still apply. */
16973 /* The GNU C library defines this for functions which it implements
16974 to always fail with ENOSYS. Some functions are actually named
16975 something starting with __ and the normal name is an alias. */
16976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16984 if { (eval echo configure:16985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16986 eval "ac_cv_func_$ac_func=yes"
16988 echo "configure: failed program was:" >&5
16989 cat conftest.$ac_ext >&5
16991 eval "ac_cv_func_$ac_func=no"
16996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16997 echo "$ac_t""yes" 1>&6
16998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16999 cat >> confdefs.h <<EOF
17000 #define $ac_tr_func 1
17004 echo "$ac_t""no" 1>&6
17010 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17011 echo "configure:17012: checking for _atan2l declaration" >&5
17012 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17013 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17014 echo $ac_n "(cached) $ac_c" 1>&6
17019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17020 ac_cpp='$CXXCPP $CPPFLAGS'
17021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17023 cross_compiling=$ac_cv_prog_cxx_cross
17025 cat > conftest.$ac_ext <<EOF
17026 #line 17027 "configure"
17027 #include "confdefs.h"
17033 if { (eval echo configure:17034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17035 glibcpp_cv_func__atan2l_use=yes
17037 echo "configure: failed program was:" >&5
17038 cat conftest.$ac_ext >&5
17040 glibcpp_cv_func__atan2l_use=no
17044 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17045 ac_cpp='$CPP $CPPFLAGS'
17046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17048 cross_compiling=$ac_cv_prog_cc_cross
17054 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17056 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17057 for ac_func in _atan2l
17059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17060 echo "configure:17061: checking for $ac_func" >&5
17061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17062 echo $ac_n "(cached) $ac_c" 1>&6
17064 cat > conftest.$ac_ext <<EOF
17065 #line 17066 "configure"
17066 #include "confdefs.h"
17067 /* System header to define __stub macros and hopefully few prototypes,
17068 which can conflict with char $ac_func(); below. */
17069 #include <assert.h>
17070 /* Override any gcc2 internal prototype to avoid an error. */
17071 /* We use char because int might match the return type of a gcc2
17072 builtin and then its argument prototype would still apply. */
17077 /* The GNU C library defines this for functions which it implements
17078 to always fail with ENOSYS. Some functions are actually named
17079 something starting with __ and the normal name is an alias. */
17080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17088 if { (eval echo configure:17089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17090 eval "ac_cv_func_$ac_func=yes"
17092 echo "configure: failed program was:" >&5
17093 cat conftest.$ac_ext >&5
17095 eval "ac_cv_func_$ac_func=no"
17100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17101 echo "$ac_t""yes" 1>&6
17102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17103 cat >> confdefs.h <<EOF
17104 #define $ac_tr_func 1
17108 echo "$ac_t""no" 1>&6
17117 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17118 echo "configure:17119: checking for expl declaration" >&5
17119 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17120 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17121 echo $ac_n "(cached) $ac_c" 1>&6
17126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17127 ac_cpp='$CXXCPP $CPPFLAGS'
17128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17130 cross_compiling=$ac_cv_prog_cxx_cross
17132 cat > conftest.$ac_ext <<EOF
17133 #line 17134 "configure"
17134 #include "confdefs.h"
17136 #ifdef HAVE_IEEEFP_H
17137 #include <ieeefp.h>
17144 if { (eval echo configure:17145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17146 glibcpp_cv_func_expl_use=yes
17148 echo "configure: failed program was:" >&5
17149 cat conftest.$ac_ext >&5
17151 glibcpp_cv_func_expl_use=no
17155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17156 ac_cpp='$CPP $CPPFLAGS'
17157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17159 cross_compiling=$ac_cv_prog_cc_cross
17165 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17167 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17168 for ac_func in expl
17170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17171 echo "configure:17172: checking for $ac_func" >&5
17172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17173 echo $ac_n "(cached) $ac_c" 1>&6
17175 cat > conftest.$ac_ext <<EOF
17176 #line 17177 "configure"
17177 #include "confdefs.h"
17178 /* System header to define __stub macros and hopefully few prototypes,
17179 which can conflict with char $ac_func(); below. */
17180 #include <assert.h>
17181 /* Override any gcc2 internal prototype to avoid an error. */
17182 /* We use char because int might match the return type of a gcc2
17183 builtin and then its argument prototype would still apply. */
17188 /* The GNU C library defines this for functions which it implements
17189 to always fail with ENOSYS. Some functions are actually named
17190 something starting with __ and the normal name is an alias. */
17191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17199 if { (eval echo configure:17200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17201 eval "ac_cv_func_$ac_func=yes"
17203 echo "configure: failed program was:" >&5
17204 cat conftest.$ac_ext >&5
17206 eval "ac_cv_func_$ac_func=no"
17211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17212 echo "$ac_t""yes" 1>&6
17213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17214 cat >> confdefs.h <<EOF
17215 #define $ac_tr_func 1
17219 echo "$ac_t""no" 1>&6
17225 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17226 echo "configure:17227: checking for _expl declaration" >&5
17227 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17228 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17229 echo $ac_n "(cached) $ac_c" 1>&6
17234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17235 ac_cpp='$CXXCPP $CPPFLAGS'
17236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17238 cross_compiling=$ac_cv_prog_cxx_cross
17240 cat > conftest.$ac_ext <<EOF
17241 #line 17242 "configure"
17242 #include "confdefs.h"
17244 #ifdef HAVE_IEEEFP_H
17245 #include <ieeefp.h>
17252 if { (eval echo configure:17253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17254 glibcpp_cv_func__expl_use=yes
17256 echo "configure: failed program was:" >&5
17257 cat conftest.$ac_ext >&5
17259 glibcpp_cv_func__expl_use=no
17263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17267 cross_compiling=$ac_cv_prog_cc_cross
17273 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17275 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17276 for ac_func in _expl
17278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17279 echo "configure:17280: checking for $ac_func" >&5
17280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17281 echo $ac_n "(cached) $ac_c" 1>&6
17283 cat > conftest.$ac_ext <<EOF
17284 #line 17285 "configure"
17285 #include "confdefs.h"
17286 /* System header to define __stub macros and hopefully few prototypes,
17287 which can conflict with char $ac_func(); below. */
17288 #include <assert.h>
17289 /* Override any gcc2 internal prototype to avoid an error. */
17290 /* We use char because int might match the return type of a gcc2
17291 builtin and then its argument prototype would still apply. */
17296 /* The GNU C library defines this for functions which it implements
17297 to always fail with ENOSYS. Some functions are actually named
17298 something starting with __ and the normal name is an alias. */
17299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17307 if { (eval echo configure:17308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17309 eval "ac_cv_func_$ac_func=yes"
17311 echo "configure: failed program was:" >&5
17312 cat conftest.$ac_ext >&5
17314 eval "ac_cv_func_$ac_func=no"
17319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17320 echo "$ac_t""yes" 1>&6
17321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17322 cat >> confdefs.h <<EOF
17323 #define $ac_tr_func 1
17327 echo "$ac_t""no" 1>&6
17336 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17337 echo "configure:17338: checking for fabsl declaration" >&5
17338 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17339 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17340 echo $ac_n "(cached) $ac_c" 1>&6
17345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17346 ac_cpp='$CXXCPP $CPPFLAGS'
17347 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17348 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17349 cross_compiling=$ac_cv_prog_cxx_cross
17351 cat > conftest.$ac_ext <<EOF
17352 #line 17353 "configure"
17353 #include "confdefs.h"
17355 #ifdef HAVE_IEEEFP_H
17356 #include <ieeefp.h>
17363 if { (eval echo configure:17364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17365 glibcpp_cv_func_fabsl_use=yes
17367 echo "configure: failed program was:" >&5
17368 cat conftest.$ac_ext >&5
17370 glibcpp_cv_func_fabsl_use=no
17374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17375 ac_cpp='$CPP $CPPFLAGS'
17376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17378 cross_compiling=$ac_cv_prog_cc_cross
17384 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17386 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17387 for ac_func in fabsl
17389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17390 echo "configure:17391: checking for $ac_func" >&5
17391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17392 echo $ac_n "(cached) $ac_c" 1>&6
17394 cat > conftest.$ac_ext <<EOF
17395 #line 17396 "configure"
17396 #include "confdefs.h"
17397 /* System header to define __stub macros and hopefully few prototypes,
17398 which can conflict with char $ac_func(); below. */
17399 #include <assert.h>
17400 /* Override any gcc2 internal prototype to avoid an error. */
17401 /* We use char because int might match the return type of a gcc2
17402 builtin and then its argument prototype would still apply. */
17407 /* The GNU C library defines this for functions which it implements
17408 to always fail with ENOSYS. Some functions are actually named
17409 something starting with __ and the normal name is an alias. */
17410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17418 if { (eval echo configure:17419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17420 eval "ac_cv_func_$ac_func=yes"
17422 echo "configure: failed program was:" >&5
17423 cat conftest.$ac_ext >&5
17425 eval "ac_cv_func_$ac_func=no"
17430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17431 echo "$ac_t""yes" 1>&6
17432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17433 cat >> confdefs.h <<EOF
17434 #define $ac_tr_func 1
17438 echo "$ac_t""no" 1>&6
17444 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17445 echo "configure:17446: checking for _fabsl declaration" >&5
17446 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17447 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17448 echo $ac_n "(cached) $ac_c" 1>&6
17453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17454 ac_cpp='$CXXCPP $CPPFLAGS'
17455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17457 cross_compiling=$ac_cv_prog_cxx_cross
17459 cat > conftest.$ac_ext <<EOF
17460 #line 17461 "configure"
17461 #include "confdefs.h"
17463 #ifdef HAVE_IEEEFP_H
17464 #include <ieeefp.h>
17471 if { (eval echo configure:17472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17473 glibcpp_cv_func__fabsl_use=yes
17475 echo "configure: failed program was:" >&5
17476 cat conftest.$ac_ext >&5
17478 glibcpp_cv_func__fabsl_use=no
17482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17483 ac_cpp='$CPP $CPPFLAGS'
17484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17486 cross_compiling=$ac_cv_prog_cc_cross
17492 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17494 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17495 for ac_func in _fabsl
17497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17498 echo "configure:17499: checking for $ac_func" >&5
17499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17500 echo $ac_n "(cached) $ac_c" 1>&6
17502 cat > conftest.$ac_ext <<EOF
17503 #line 17504 "configure"
17504 #include "confdefs.h"
17505 /* System header to define __stub macros and hopefully few prototypes,
17506 which can conflict with char $ac_func(); below. */
17507 #include <assert.h>
17508 /* Override any gcc2 internal prototype to avoid an error. */
17509 /* We use char because int might match the return type of a gcc2
17510 builtin and then its argument prototype would still apply. */
17515 /* The GNU C library defines this for functions which it implements
17516 to always fail with ENOSYS. Some functions are actually named
17517 something starting with __ and the normal name is an alias. */
17518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17526 if { (eval echo configure:17527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17528 eval "ac_cv_func_$ac_func=yes"
17530 echo "configure: failed program was:" >&5
17531 cat conftest.$ac_ext >&5
17533 eval "ac_cv_func_$ac_func=no"
17538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17539 echo "$ac_t""yes" 1>&6
17540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17541 cat >> confdefs.h <<EOF
17542 #define $ac_tr_func 1
17546 echo "$ac_t""no" 1>&6
17555 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17556 echo "configure:17557: checking for fmodl declaration" >&5
17557 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17558 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17559 echo $ac_n "(cached) $ac_c" 1>&6
17564 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17565 ac_cpp='$CXXCPP $CPPFLAGS'
17566 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17567 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17568 cross_compiling=$ac_cv_prog_cxx_cross
17570 cat > conftest.$ac_ext <<EOF
17571 #line 17572 "configure"
17572 #include "confdefs.h"
17578 if { (eval echo configure:17579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17580 glibcpp_cv_func_fmodl_use=yes
17582 echo "configure: failed program was:" >&5
17583 cat conftest.$ac_ext >&5
17585 glibcpp_cv_func_fmodl_use=no
17589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17590 ac_cpp='$CPP $CPPFLAGS'
17591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17593 cross_compiling=$ac_cv_prog_cc_cross
17599 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17601 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17602 for ac_func in fmodl
17604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17605 echo "configure:17606: checking for $ac_func" >&5
17606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17607 echo $ac_n "(cached) $ac_c" 1>&6
17609 cat > conftest.$ac_ext <<EOF
17610 #line 17611 "configure"
17611 #include "confdefs.h"
17612 /* System header to define __stub macros and hopefully few prototypes,
17613 which can conflict with char $ac_func(); below. */
17614 #include <assert.h>
17615 /* Override any gcc2 internal prototype to avoid an error. */
17616 /* We use char because int might match the return type of a gcc2
17617 builtin and then its argument prototype would still apply. */
17622 /* The GNU C library defines this for functions which it implements
17623 to always fail with ENOSYS. Some functions are actually named
17624 something starting with __ and the normal name is an alias. */
17625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17633 if { (eval echo configure:17634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17635 eval "ac_cv_func_$ac_func=yes"
17637 echo "configure: failed program was:" >&5
17638 cat conftest.$ac_ext >&5
17640 eval "ac_cv_func_$ac_func=no"
17645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17646 echo "$ac_t""yes" 1>&6
17647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17648 cat >> confdefs.h <<EOF
17649 #define $ac_tr_func 1
17653 echo "$ac_t""no" 1>&6
17659 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17660 echo "configure:17661: checking for _fmodl declaration" >&5
17661 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17662 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17663 echo $ac_n "(cached) $ac_c" 1>&6
17668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17669 ac_cpp='$CXXCPP $CPPFLAGS'
17670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17672 cross_compiling=$ac_cv_prog_cxx_cross
17674 cat > conftest.$ac_ext <<EOF
17675 #line 17676 "configure"
17676 #include "confdefs.h"
17682 if { (eval echo configure:17683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17684 glibcpp_cv_func__fmodl_use=yes
17686 echo "configure: failed program was:" >&5
17687 cat conftest.$ac_ext >&5
17689 glibcpp_cv_func__fmodl_use=no
17693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17697 cross_compiling=$ac_cv_prog_cc_cross
17703 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17705 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17706 for ac_func in _fmodl
17708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17709 echo "configure:17710: checking for $ac_func" >&5
17710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17711 echo $ac_n "(cached) $ac_c" 1>&6
17713 cat > conftest.$ac_ext <<EOF
17714 #line 17715 "configure"
17715 #include "confdefs.h"
17716 /* System header to define __stub macros and hopefully few prototypes,
17717 which can conflict with char $ac_func(); below. */
17718 #include <assert.h>
17719 /* Override any gcc2 internal prototype to avoid an error. */
17720 /* We use char because int might match the return type of a gcc2
17721 builtin and then its argument prototype would still apply. */
17726 /* The GNU C library defines this for functions which it implements
17727 to always fail with ENOSYS. Some functions are actually named
17728 something starting with __ and the normal name is an alias. */
17729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17737 if { (eval echo configure:17738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17739 eval "ac_cv_func_$ac_func=yes"
17741 echo "configure: failed program was:" >&5
17742 cat conftest.$ac_ext >&5
17744 eval "ac_cv_func_$ac_func=no"
17749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17750 echo "$ac_t""yes" 1>&6
17751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17752 cat >> confdefs.h <<EOF
17753 #define $ac_tr_func 1
17757 echo "$ac_t""no" 1>&6
17766 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17767 echo "configure:17768: checking for frexpl declaration" >&5
17768 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17769 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17770 echo $ac_n "(cached) $ac_c" 1>&6
17775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17776 ac_cpp='$CXXCPP $CPPFLAGS'
17777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17779 cross_compiling=$ac_cv_prog_cxx_cross
17781 cat > conftest.$ac_ext <<EOF
17782 #line 17783 "configure"
17783 #include "confdefs.h"
17789 if { (eval echo configure:17790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17791 glibcpp_cv_func_frexpl_use=yes
17793 echo "configure: failed program was:" >&5
17794 cat conftest.$ac_ext >&5
17796 glibcpp_cv_func_frexpl_use=no
17800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17801 ac_cpp='$CPP $CPPFLAGS'
17802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17804 cross_compiling=$ac_cv_prog_cc_cross
17810 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17812 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17813 for ac_func in frexpl
17815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17816 echo "configure:17817: checking for $ac_func" >&5
17817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17818 echo $ac_n "(cached) $ac_c" 1>&6
17820 cat > conftest.$ac_ext <<EOF
17821 #line 17822 "configure"
17822 #include "confdefs.h"
17823 /* System header to define __stub macros and hopefully few prototypes,
17824 which can conflict with char $ac_func(); below. */
17825 #include <assert.h>
17826 /* Override any gcc2 internal prototype to avoid an error. */
17827 /* We use char because int might match the return type of a gcc2
17828 builtin and then its argument prototype would still apply. */
17833 /* The GNU C library defines this for functions which it implements
17834 to always fail with ENOSYS. Some functions are actually named
17835 something starting with __ and the normal name is an alias. */
17836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17844 if { (eval echo configure:17845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17846 eval "ac_cv_func_$ac_func=yes"
17848 echo "configure: failed program was:" >&5
17849 cat conftest.$ac_ext >&5
17851 eval "ac_cv_func_$ac_func=no"
17856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17857 echo "$ac_t""yes" 1>&6
17858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17859 cat >> confdefs.h <<EOF
17860 #define $ac_tr_func 1
17864 echo "$ac_t""no" 1>&6
17870 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17871 echo "configure:17872: checking for _frexpl declaration" >&5
17872 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17873 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17874 echo $ac_n "(cached) $ac_c" 1>&6
17879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17880 ac_cpp='$CXXCPP $CPPFLAGS'
17881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17883 cross_compiling=$ac_cv_prog_cxx_cross
17885 cat > conftest.$ac_ext <<EOF
17886 #line 17887 "configure"
17887 #include "confdefs.h"
17893 if { (eval echo configure:17894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17895 glibcpp_cv_func__frexpl_use=yes
17897 echo "configure: failed program was:" >&5
17898 cat conftest.$ac_ext >&5
17900 glibcpp_cv_func__frexpl_use=no
17904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17905 ac_cpp='$CPP $CPPFLAGS'
17906 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17907 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17908 cross_compiling=$ac_cv_prog_cc_cross
17914 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17916 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17917 for ac_func in _frexpl
17919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17920 echo "configure:17921: checking for $ac_func" >&5
17921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17922 echo $ac_n "(cached) $ac_c" 1>&6
17924 cat > conftest.$ac_ext <<EOF
17925 #line 17926 "configure"
17926 #include "confdefs.h"
17927 /* System header to define __stub macros and hopefully few prototypes,
17928 which can conflict with char $ac_func(); below. */
17929 #include <assert.h>
17930 /* Override any gcc2 internal prototype to avoid an error. */
17931 /* We use char because int might match the return type of a gcc2
17932 builtin and then its argument prototype would still apply. */
17937 /* The GNU C library defines this for functions which it implements
17938 to always fail with ENOSYS. Some functions are actually named
17939 something starting with __ and the normal name is an alias. */
17940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17948 if { (eval echo configure:17949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17950 eval "ac_cv_func_$ac_func=yes"
17952 echo "configure: failed program was:" >&5
17953 cat conftest.$ac_ext >&5
17955 eval "ac_cv_func_$ac_func=no"
17960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17961 echo "$ac_t""yes" 1>&6
17962 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17963 cat >> confdefs.h <<EOF
17964 #define $ac_tr_func 1
17968 echo "$ac_t""no" 1>&6
17977 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
17978 echo "configure:17979: checking for hypotl declaration" >&5
17979 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17980 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17981 echo $ac_n "(cached) $ac_c" 1>&6
17986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17987 ac_cpp='$CXXCPP $CPPFLAGS'
17988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17990 cross_compiling=$ac_cv_prog_cxx_cross
17992 cat > conftest.$ac_ext <<EOF
17993 #line 17994 "configure"
17994 #include "confdefs.h"
18000 if { (eval echo configure:18001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18002 glibcpp_cv_func_hypotl_use=yes
18004 echo "configure: failed program was:" >&5
18005 cat conftest.$ac_ext >&5
18007 glibcpp_cv_func_hypotl_use=no
18011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18012 ac_cpp='$CPP $CPPFLAGS'
18013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18015 cross_compiling=$ac_cv_prog_cc_cross
18021 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18023 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18024 for ac_func in hypotl
18026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18027 echo "configure:18028: checking for $ac_func" >&5
18028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18029 echo $ac_n "(cached) $ac_c" 1>&6
18031 cat > conftest.$ac_ext <<EOF
18032 #line 18033 "configure"
18033 #include "confdefs.h"
18034 /* System header to define __stub macros and hopefully few prototypes,
18035 which can conflict with char $ac_func(); below. */
18036 #include <assert.h>
18037 /* Override any gcc2 internal prototype to avoid an error. */
18038 /* We use char because int might match the return type of a gcc2
18039 builtin and then its argument prototype would still apply. */
18044 /* The GNU C library defines this for functions which it implements
18045 to always fail with ENOSYS. Some functions are actually named
18046 something starting with __ and the normal name is an alias. */
18047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18055 if { (eval echo configure:18056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18057 eval "ac_cv_func_$ac_func=yes"
18059 echo "configure: failed program was:" >&5
18060 cat conftest.$ac_ext >&5
18062 eval "ac_cv_func_$ac_func=no"
18067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18068 echo "$ac_t""yes" 1>&6
18069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18070 cat >> confdefs.h <<EOF
18071 #define $ac_tr_func 1
18075 echo "$ac_t""no" 1>&6
18081 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18082 echo "configure:18083: checking for _hypotl declaration" >&5
18083 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18084 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18085 echo $ac_n "(cached) $ac_c" 1>&6
18090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18091 ac_cpp='$CXXCPP $CPPFLAGS'
18092 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18093 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18094 cross_compiling=$ac_cv_prog_cxx_cross
18096 cat > conftest.$ac_ext <<EOF
18097 #line 18098 "configure"
18098 #include "confdefs.h"
18104 if { (eval echo configure:18105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18106 glibcpp_cv_func__hypotl_use=yes
18108 echo "configure: failed program was:" >&5
18109 cat conftest.$ac_ext >&5
18111 glibcpp_cv_func__hypotl_use=no
18115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18118 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18119 cross_compiling=$ac_cv_prog_cc_cross
18125 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18127 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18128 for ac_func in _hypotl
18130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18131 echo "configure:18132: checking for $ac_func" >&5
18132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18133 echo $ac_n "(cached) $ac_c" 1>&6
18135 cat > conftest.$ac_ext <<EOF
18136 #line 18137 "configure"
18137 #include "confdefs.h"
18138 /* System header to define __stub macros and hopefully few prototypes,
18139 which can conflict with char $ac_func(); below. */
18140 #include <assert.h>
18141 /* Override any gcc2 internal prototype to avoid an error. */
18142 /* We use char because int might match the return type of a gcc2
18143 builtin and then its argument prototype would still apply. */
18148 /* The GNU C library defines this for functions which it implements
18149 to always fail with ENOSYS. Some functions are actually named
18150 something starting with __ and the normal name is an alias. */
18151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18159 if { (eval echo configure:18160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18161 eval "ac_cv_func_$ac_func=yes"
18163 echo "configure: failed program was:" >&5
18164 cat conftest.$ac_ext >&5
18166 eval "ac_cv_func_$ac_func=no"
18171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18172 echo "$ac_t""yes" 1>&6
18173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18174 cat >> confdefs.h <<EOF
18175 #define $ac_tr_func 1
18179 echo "$ac_t""no" 1>&6
18188 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18189 echo "configure:18190: checking for ldexpl declaration" >&5
18190 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18191 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18192 echo $ac_n "(cached) $ac_c" 1>&6
18197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18198 ac_cpp='$CXXCPP $CPPFLAGS'
18199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18201 cross_compiling=$ac_cv_prog_cxx_cross
18203 cat > conftest.$ac_ext <<EOF
18204 #line 18205 "configure"
18205 #include "confdefs.h"
18211 if { (eval echo configure:18212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18213 glibcpp_cv_func_ldexpl_use=yes
18215 echo "configure: failed program was:" >&5
18216 cat conftest.$ac_ext >&5
18218 glibcpp_cv_func_ldexpl_use=no
18222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18223 ac_cpp='$CPP $CPPFLAGS'
18224 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18225 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18226 cross_compiling=$ac_cv_prog_cc_cross
18232 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18234 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18235 for ac_func in ldexpl
18237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18238 echo "configure:18239: checking for $ac_func" >&5
18239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18240 echo $ac_n "(cached) $ac_c" 1>&6
18242 cat > conftest.$ac_ext <<EOF
18243 #line 18244 "configure"
18244 #include "confdefs.h"
18245 /* System header to define __stub macros and hopefully few prototypes,
18246 which can conflict with char $ac_func(); below. */
18247 #include <assert.h>
18248 /* Override any gcc2 internal prototype to avoid an error. */
18249 /* We use char because int might match the return type of a gcc2
18250 builtin and then its argument prototype would still apply. */
18255 /* The GNU C library defines this for functions which it implements
18256 to always fail with ENOSYS. Some functions are actually named
18257 something starting with __ and the normal name is an alias. */
18258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18266 if { (eval echo configure:18267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18268 eval "ac_cv_func_$ac_func=yes"
18270 echo "configure: failed program was:" >&5
18271 cat conftest.$ac_ext >&5
18273 eval "ac_cv_func_$ac_func=no"
18278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18279 echo "$ac_t""yes" 1>&6
18280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18281 cat >> confdefs.h <<EOF
18282 #define $ac_tr_func 1
18286 echo "$ac_t""no" 1>&6
18292 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18293 echo "configure:18294: checking for _ldexpl declaration" >&5
18294 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18295 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18296 echo $ac_n "(cached) $ac_c" 1>&6
18301 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18302 ac_cpp='$CXXCPP $CPPFLAGS'
18303 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18304 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18305 cross_compiling=$ac_cv_prog_cxx_cross
18307 cat > conftest.$ac_ext <<EOF
18308 #line 18309 "configure"
18309 #include "confdefs.h"
18315 if { (eval echo configure:18316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18317 glibcpp_cv_func__ldexpl_use=yes
18319 echo "configure: failed program was:" >&5
18320 cat conftest.$ac_ext >&5
18322 glibcpp_cv_func__ldexpl_use=no
18326 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18327 ac_cpp='$CPP $CPPFLAGS'
18328 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18329 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18330 cross_compiling=$ac_cv_prog_cc_cross
18336 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18338 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18339 for ac_func in _ldexpl
18341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18342 echo "configure:18343: checking for $ac_func" >&5
18343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18344 echo $ac_n "(cached) $ac_c" 1>&6
18346 cat > conftest.$ac_ext <<EOF
18347 #line 18348 "configure"
18348 #include "confdefs.h"
18349 /* System header to define __stub macros and hopefully few prototypes,
18350 which can conflict with char $ac_func(); below. */
18351 #include <assert.h>
18352 /* Override any gcc2 internal prototype to avoid an error. */
18353 /* We use char because int might match the return type of a gcc2
18354 builtin and then its argument prototype would still apply. */
18359 /* The GNU C library defines this for functions which it implements
18360 to always fail with ENOSYS. Some functions are actually named
18361 something starting with __ and the normal name is an alias. */
18362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18370 if { (eval echo configure:18371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18372 eval "ac_cv_func_$ac_func=yes"
18374 echo "configure: failed program was:" >&5
18375 cat conftest.$ac_ext >&5
18377 eval "ac_cv_func_$ac_func=no"
18382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18383 echo "$ac_t""yes" 1>&6
18384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18385 cat >> confdefs.h <<EOF
18386 #define $ac_tr_func 1
18390 echo "$ac_t""no" 1>&6
18399 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18400 echo "configure:18401: checking for logl declaration" >&5
18401 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18402 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18403 echo $ac_n "(cached) $ac_c" 1>&6
18408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18409 ac_cpp='$CXXCPP $CPPFLAGS'
18410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18412 cross_compiling=$ac_cv_prog_cxx_cross
18414 cat > conftest.$ac_ext <<EOF
18415 #line 18416 "configure"
18416 #include "confdefs.h"
18418 #ifdef HAVE_IEEEFP_H
18419 #include <ieeefp.h>
18426 if { (eval echo configure:18427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18428 glibcpp_cv_func_logl_use=yes
18430 echo "configure: failed program was:" >&5
18431 cat conftest.$ac_ext >&5
18433 glibcpp_cv_func_logl_use=no
18437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18441 cross_compiling=$ac_cv_prog_cc_cross
18447 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18449 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18450 for ac_func in logl
18452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18453 echo "configure:18454: checking for $ac_func" >&5
18454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18455 echo $ac_n "(cached) $ac_c" 1>&6
18457 cat > conftest.$ac_ext <<EOF
18458 #line 18459 "configure"
18459 #include "confdefs.h"
18460 /* System header to define __stub macros and hopefully few prototypes,
18461 which can conflict with char $ac_func(); below. */
18462 #include <assert.h>
18463 /* Override any gcc2 internal prototype to avoid an error. */
18464 /* We use char because int might match the return type of a gcc2
18465 builtin and then its argument prototype would still apply. */
18470 /* The GNU C library defines this for functions which it implements
18471 to always fail with ENOSYS. Some functions are actually named
18472 something starting with __ and the normal name is an alias. */
18473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18481 if { (eval echo configure:18482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18483 eval "ac_cv_func_$ac_func=yes"
18485 echo "configure: failed program was:" >&5
18486 cat conftest.$ac_ext >&5
18488 eval "ac_cv_func_$ac_func=no"
18493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18494 echo "$ac_t""yes" 1>&6
18495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18496 cat >> confdefs.h <<EOF
18497 #define $ac_tr_func 1
18501 echo "$ac_t""no" 1>&6
18507 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18508 echo "configure:18509: checking for _logl declaration" >&5
18509 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18510 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18511 echo $ac_n "(cached) $ac_c" 1>&6
18516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18517 ac_cpp='$CXXCPP $CPPFLAGS'
18518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18520 cross_compiling=$ac_cv_prog_cxx_cross
18522 cat > conftest.$ac_ext <<EOF
18523 #line 18524 "configure"
18524 #include "confdefs.h"
18526 #ifdef HAVE_IEEEFP_H
18527 #include <ieeefp.h>
18534 if { (eval echo configure:18535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18536 glibcpp_cv_func__logl_use=yes
18538 echo "configure: failed program was:" >&5
18539 cat conftest.$ac_ext >&5
18541 glibcpp_cv_func__logl_use=no
18545 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18546 ac_cpp='$CPP $CPPFLAGS'
18547 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18548 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18549 cross_compiling=$ac_cv_prog_cc_cross
18555 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18557 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18558 for ac_func in _logl
18560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18561 echo "configure:18562: checking for $ac_func" >&5
18562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18563 echo $ac_n "(cached) $ac_c" 1>&6
18565 cat > conftest.$ac_ext <<EOF
18566 #line 18567 "configure"
18567 #include "confdefs.h"
18568 /* System header to define __stub macros and hopefully few prototypes,
18569 which can conflict with char $ac_func(); below. */
18570 #include <assert.h>
18571 /* Override any gcc2 internal prototype to avoid an error. */
18572 /* We use char because int might match the return type of a gcc2
18573 builtin and then its argument prototype would still apply. */
18578 /* The GNU C library defines this for functions which it implements
18579 to always fail with ENOSYS. Some functions are actually named
18580 something starting with __ and the normal name is an alias. */
18581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18589 if { (eval echo configure:18590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18591 eval "ac_cv_func_$ac_func=yes"
18593 echo "configure: failed program was:" >&5
18594 cat conftest.$ac_ext >&5
18596 eval "ac_cv_func_$ac_func=no"
18601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18602 echo "$ac_t""yes" 1>&6
18603 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18604 cat >> confdefs.h <<EOF
18605 #define $ac_tr_func 1
18609 echo "$ac_t""no" 1>&6
18618 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18619 echo "configure:18620: checking for log10l declaration" >&5
18620 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18621 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18622 echo $ac_n "(cached) $ac_c" 1>&6
18627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18631 cross_compiling=$ac_cv_prog_cxx_cross
18633 cat > conftest.$ac_ext <<EOF
18634 #line 18635 "configure"
18635 #include "confdefs.h"
18637 #ifdef HAVE_IEEEFP_H
18638 #include <ieeefp.h>
18645 if { (eval echo configure:18646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18647 glibcpp_cv_func_log10l_use=yes
18649 echo "configure: failed program was:" >&5
18650 cat conftest.$ac_ext >&5
18652 glibcpp_cv_func_log10l_use=no
18656 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18657 ac_cpp='$CPP $CPPFLAGS'
18658 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18659 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18660 cross_compiling=$ac_cv_prog_cc_cross
18666 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18668 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18669 for ac_func in log10l
18671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18672 echo "configure:18673: checking for $ac_func" >&5
18673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18674 echo $ac_n "(cached) $ac_c" 1>&6
18676 cat > conftest.$ac_ext <<EOF
18677 #line 18678 "configure"
18678 #include "confdefs.h"
18679 /* System header to define __stub macros and hopefully few prototypes,
18680 which can conflict with char $ac_func(); below. */
18681 #include <assert.h>
18682 /* Override any gcc2 internal prototype to avoid an error. */
18683 /* We use char because int might match the return type of a gcc2
18684 builtin and then its argument prototype would still apply. */
18689 /* The GNU C library defines this for functions which it implements
18690 to always fail with ENOSYS. Some functions are actually named
18691 something starting with __ and the normal name is an alias. */
18692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18700 if { (eval echo configure:18701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18702 eval "ac_cv_func_$ac_func=yes"
18704 echo "configure: failed program was:" >&5
18705 cat conftest.$ac_ext >&5
18707 eval "ac_cv_func_$ac_func=no"
18712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18713 echo "$ac_t""yes" 1>&6
18714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18715 cat >> confdefs.h <<EOF
18716 #define $ac_tr_func 1
18720 echo "$ac_t""no" 1>&6
18726 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18727 echo "configure:18728: checking for _log10l declaration" >&5
18728 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18729 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18730 echo $ac_n "(cached) $ac_c" 1>&6
18735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18736 ac_cpp='$CXXCPP $CPPFLAGS'
18737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18739 cross_compiling=$ac_cv_prog_cxx_cross
18741 cat > conftest.$ac_ext <<EOF
18742 #line 18743 "configure"
18743 #include "confdefs.h"
18745 #ifdef HAVE_IEEEFP_H
18746 #include <ieeefp.h>
18753 if { (eval echo configure:18754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18755 glibcpp_cv_func__log10l_use=yes
18757 echo "configure: failed program was:" >&5
18758 cat conftest.$ac_ext >&5
18760 glibcpp_cv_func__log10l_use=no
18764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18765 ac_cpp='$CPP $CPPFLAGS'
18766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18768 cross_compiling=$ac_cv_prog_cc_cross
18774 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18776 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18777 for ac_func in _log10l
18779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18780 echo "configure:18781: checking for $ac_func" >&5
18781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18782 echo $ac_n "(cached) $ac_c" 1>&6
18784 cat > conftest.$ac_ext <<EOF
18785 #line 18786 "configure"
18786 #include "confdefs.h"
18787 /* System header to define __stub macros and hopefully few prototypes,
18788 which can conflict with char $ac_func(); below. */
18789 #include <assert.h>
18790 /* Override any gcc2 internal prototype to avoid an error. */
18791 /* We use char because int might match the return type of a gcc2
18792 builtin and then its argument prototype would still apply. */
18797 /* The GNU C library defines this for functions which it implements
18798 to always fail with ENOSYS. Some functions are actually named
18799 something starting with __ and the normal name is an alias. */
18800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18808 if { (eval echo configure:18809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18810 eval "ac_cv_func_$ac_func=yes"
18812 echo "configure: failed program was:" >&5
18813 cat conftest.$ac_ext >&5
18815 eval "ac_cv_func_$ac_func=no"
18820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18821 echo "$ac_t""yes" 1>&6
18822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18823 cat >> confdefs.h <<EOF
18824 #define $ac_tr_func 1
18828 echo "$ac_t""no" 1>&6
18837 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18838 echo "configure:18839: checking for modfl declaration" >&5
18839 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18840 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18841 echo $ac_n "(cached) $ac_c" 1>&6
18846 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18847 ac_cpp='$CXXCPP $CPPFLAGS'
18848 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18849 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18850 cross_compiling=$ac_cv_prog_cxx_cross
18852 cat > conftest.$ac_ext <<EOF
18853 #line 18854 "configure"
18854 #include "confdefs.h"
18860 if { (eval echo configure:18861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18862 glibcpp_cv_func_modfl_use=yes
18864 echo "configure: failed program was:" >&5
18865 cat conftest.$ac_ext >&5
18867 glibcpp_cv_func_modfl_use=no
18871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18872 ac_cpp='$CPP $CPPFLAGS'
18873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18875 cross_compiling=$ac_cv_prog_cc_cross
18881 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18883 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18884 for ac_func in modfl
18886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18887 echo "configure:18888: checking for $ac_func" >&5
18888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18889 echo $ac_n "(cached) $ac_c" 1>&6
18891 cat > conftest.$ac_ext <<EOF
18892 #line 18893 "configure"
18893 #include "confdefs.h"
18894 /* System header to define __stub macros and hopefully few prototypes,
18895 which can conflict with char $ac_func(); below. */
18896 #include <assert.h>
18897 /* Override any gcc2 internal prototype to avoid an error. */
18898 /* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18904 /* The GNU C library defines this for functions which it implements
18905 to always fail with ENOSYS. Some functions are actually named
18906 something starting with __ and the normal name is an alias. */
18907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18915 if { (eval echo configure:18916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18917 eval "ac_cv_func_$ac_func=yes"
18919 echo "configure: failed program was:" >&5
18920 cat conftest.$ac_ext >&5
18922 eval "ac_cv_func_$ac_func=no"
18927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18928 echo "$ac_t""yes" 1>&6
18929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18930 cat >> confdefs.h <<EOF
18931 #define $ac_tr_func 1
18935 echo "$ac_t""no" 1>&6
18941 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18942 echo "configure:18943: checking for _modfl declaration" >&5
18943 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18944 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18945 echo $ac_n "(cached) $ac_c" 1>&6
18950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18951 ac_cpp='$CXXCPP $CPPFLAGS'
18952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18954 cross_compiling=$ac_cv_prog_cxx_cross
18956 cat > conftest.$ac_ext <<EOF
18957 #line 18958 "configure"
18958 #include "confdefs.h"
18964 if { (eval echo configure:18965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18966 glibcpp_cv_func__modfl_use=yes
18968 echo "configure: failed program was:" >&5
18969 cat conftest.$ac_ext >&5
18971 glibcpp_cv_func__modfl_use=no
18975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18978 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18979 cross_compiling=$ac_cv_prog_cc_cross
18985 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18987 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18988 for ac_func in _modfl
18990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18991 echo "configure:18992: checking for $ac_func" >&5
18992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18993 echo $ac_n "(cached) $ac_c" 1>&6
18995 cat > conftest.$ac_ext <<EOF
18996 #line 18997 "configure"
18997 #include "confdefs.h"
18998 /* System header to define __stub macros and hopefully few prototypes,
18999 which can conflict with char $ac_func(); below. */
19000 #include <assert.h>
19001 /* Override any gcc2 internal prototype to avoid an error. */
19002 /* We use char because int might match the return type of a gcc2
19003 builtin and then its argument prototype would still apply. */
19008 /* The GNU C library defines this for functions which it implements
19009 to always fail with ENOSYS. Some functions are actually named
19010 something starting with __ and the normal name is an alias. */
19011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19019 if { (eval echo configure:19020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19021 eval "ac_cv_func_$ac_func=yes"
19023 echo "configure: failed program was:" >&5
19024 cat conftest.$ac_ext >&5
19026 eval "ac_cv_func_$ac_func=no"
19031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19032 echo "$ac_t""yes" 1>&6
19033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19034 cat >> confdefs.h <<EOF
19035 #define $ac_tr_func 1
19039 echo "$ac_t""no" 1>&6
19048 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19049 echo "configure:19050: checking for powl declaration" >&5
19050 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19051 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19052 echo $ac_n "(cached) $ac_c" 1>&6
19057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19058 ac_cpp='$CXXCPP $CPPFLAGS'
19059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19061 cross_compiling=$ac_cv_prog_cxx_cross
19063 cat > conftest.$ac_ext <<EOF
19064 #line 19065 "configure"
19065 #include "confdefs.h"
19071 if { (eval echo configure:19072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19073 glibcpp_cv_func_powl_use=yes
19075 echo "configure: failed program was:" >&5
19076 cat conftest.$ac_ext >&5
19078 glibcpp_cv_func_powl_use=no
19082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19086 cross_compiling=$ac_cv_prog_cc_cross
19092 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19094 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19095 for ac_func in powl
19097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19098 echo "configure:19099: checking for $ac_func" >&5
19099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19100 echo $ac_n "(cached) $ac_c" 1>&6
19102 cat > conftest.$ac_ext <<EOF
19103 #line 19104 "configure"
19104 #include "confdefs.h"
19105 /* System header to define __stub macros and hopefully few prototypes,
19106 which can conflict with char $ac_func(); below. */
19107 #include <assert.h>
19108 /* Override any gcc2 internal prototype to avoid an error. */
19109 /* We use char because int might match the return type of a gcc2
19110 builtin and then its argument prototype would still apply. */
19115 /* The GNU C library defines this for functions which it implements
19116 to always fail with ENOSYS. Some functions are actually named
19117 something starting with __ and the normal name is an alias. */
19118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19126 if { (eval echo configure:19127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19128 eval "ac_cv_func_$ac_func=yes"
19130 echo "configure: failed program was:" >&5
19131 cat conftest.$ac_ext >&5
19133 eval "ac_cv_func_$ac_func=no"
19138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19139 echo "$ac_t""yes" 1>&6
19140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19141 cat >> confdefs.h <<EOF
19142 #define $ac_tr_func 1
19146 echo "$ac_t""no" 1>&6
19152 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19153 echo "configure:19154: checking for _powl declaration" >&5
19154 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19155 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19156 echo $ac_n "(cached) $ac_c" 1>&6
19161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19162 ac_cpp='$CXXCPP $CPPFLAGS'
19163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19165 cross_compiling=$ac_cv_prog_cxx_cross
19167 cat > conftest.$ac_ext <<EOF
19168 #line 19169 "configure"
19169 #include "confdefs.h"
19175 if { (eval echo configure:19176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19177 glibcpp_cv_func__powl_use=yes
19179 echo "configure: failed program was:" >&5
19180 cat conftest.$ac_ext >&5
19182 glibcpp_cv_func__powl_use=no
19186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19187 ac_cpp='$CPP $CPPFLAGS'
19188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19190 cross_compiling=$ac_cv_prog_cc_cross
19196 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19198 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19199 for ac_func in _powl
19201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19202 echo "configure:19203: checking for $ac_func" >&5
19203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19204 echo $ac_n "(cached) $ac_c" 1>&6
19206 cat > conftest.$ac_ext <<EOF
19207 #line 19208 "configure"
19208 #include "confdefs.h"
19209 /* System header to define __stub macros and hopefully few prototypes,
19210 which can conflict with char $ac_func(); below. */
19211 #include <assert.h>
19212 /* Override any gcc2 internal prototype to avoid an error. */
19213 /* We use char because int might match the return type of a gcc2
19214 builtin and then its argument prototype would still apply. */
19219 /* The GNU C library defines this for functions which it implements
19220 to always fail with ENOSYS. Some functions are actually named
19221 something starting with __ and the normal name is an alias. */
19222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19230 if { (eval echo configure:19231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19232 eval "ac_cv_func_$ac_func=yes"
19234 echo "configure: failed program was:" >&5
19235 cat conftest.$ac_ext >&5
19237 eval "ac_cv_func_$ac_func=no"
19242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19243 echo "$ac_t""yes" 1>&6
19244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19245 cat >> confdefs.h <<EOF
19246 #define $ac_tr_func 1
19250 echo "$ac_t""no" 1>&6
19259 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19260 echo "configure:19261: checking for sqrtl declaration" >&5
19261 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19262 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19263 echo $ac_n "(cached) $ac_c" 1>&6
19268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19269 ac_cpp='$CXXCPP $CPPFLAGS'
19270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19272 cross_compiling=$ac_cv_prog_cxx_cross
19274 cat > conftest.$ac_ext <<EOF
19275 #line 19276 "configure"
19276 #include "confdefs.h"
19278 #ifdef HAVE_IEEEFP_H
19279 #include <ieeefp.h>
19286 if { (eval echo configure:19287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19288 glibcpp_cv_func_sqrtl_use=yes
19290 echo "configure: failed program was:" >&5
19291 cat conftest.$ac_ext >&5
19293 glibcpp_cv_func_sqrtl_use=no
19297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19298 ac_cpp='$CPP $CPPFLAGS'
19299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19301 cross_compiling=$ac_cv_prog_cc_cross
19307 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19309 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19310 for ac_func in sqrtl
19312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19313 echo "configure:19314: checking for $ac_func" >&5
19314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19315 echo $ac_n "(cached) $ac_c" 1>&6
19317 cat > conftest.$ac_ext <<EOF
19318 #line 19319 "configure"
19319 #include "confdefs.h"
19320 /* System header to define __stub macros and hopefully few prototypes,
19321 which can conflict with char $ac_func(); below. */
19322 #include <assert.h>
19323 /* Override any gcc2 internal prototype to avoid an error. */
19324 /* We use char because int might match the return type of a gcc2
19325 builtin and then its argument prototype would still apply. */
19330 /* The GNU C library defines this for functions which it implements
19331 to always fail with ENOSYS. Some functions are actually named
19332 something starting with __ and the normal name is an alias. */
19333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19341 if { (eval echo configure:19342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19343 eval "ac_cv_func_$ac_func=yes"
19345 echo "configure: failed program was:" >&5
19346 cat conftest.$ac_ext >&5
19348 eval "ac_cv_func_$ac_func=no"
19353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19354 echo "$ac_t""yes" 1>&6
19355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19356 cat >> confdefs.h <<EOF
19357 #define $ac_tr_func 1
19361 echo "$ac_t""no" 1>&6
19367 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19368 echo "configure:19369: checking for _sqrtl declaration" >&5
19369 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19370 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19371 echo $ac_n "(cached) $ac_c" 1>&6
19376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19380 cross_compiling=$ac_cv_prog_cxx_cross
19382 cat > conftest.$ac_ext <<EOF
19383 #line 19384 "configure"
19384 #include "confdefs.h"
19386 #ifdef HAVE_IEEEFP_H
19387 #include <ieeefp.h>
19394 if { (eval echo configure:19395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19396 glibcpp_cv_func__sqrtl_use=yes
19398 echo "configure: failed program was:" >&5
19399 cat conftest.$ac_ext >&5
19401 glibcpp_cv_func__sqrtl_use=no
19405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19406 ac_cpp='$CPP $CPPFLAGS'
19407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19409 cross_compiling=$ac_cv_prog_cc_cross
19415 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19417 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19418 for ac_func in _sqrtl
19420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19421 echo "configure:19422: checking for $ac_func" >&5
19422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19423 echo $ac_n "(cached) $ac_c" 1>&6
19425 cat > conftest.$ac_ext <<EOF
19426 #line 19427 "configure"
19427 #include "confdefs.h"
19428 /* System header to define __stub macros and hopefully few prototypes,
19429 which can conflict with char $ac_func(); below. */
19430 #include <assert.h>
19431 /* Override any gcc2 internal prototype to avoid an error. */
19432 /* We use char because int might match the return type of a gcc2
19433 builtin and then its argument prototype would still apply. */
19438 /* The GNU C library defines this for functions which it implements
19439 to always fail with ENOSYS. Some functions are actually named
19440 something starting with __ and the normal name is an alias. */
19441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19449 if { (eval echo configure:19450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19451 eval "ac_cv_func_$ac_func=yes"
19453 echo "configure: failed program was:" >&5
19454 cat conftest.$ac_ext >&5
19456 eval "ac_cv_func_$ac_func=no"
19461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19462 echo "$ac_t""yes" 1>&6
19463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19464 cat >> confdefs.h <<EOF
19465 #define $ac_tr_func 1
19469 echo "$ac_t""no" 1>&6
19478 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19479 echo "configure:19480: checking for sincosl declaration" >&5
19480 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19481 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19482 echo $ac_n "(cached) $ac_c" 1>&6
19487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19488 ac_cpp='$CXXCPP $CPPFLAGS'
19489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19491 cross_compiling=$ac_cv_prog_cxx_cross
19493 cat > conftest.$ac_ext <<EOF
19494 #line 19495 "configure"
19495 #include "confdefs.h"
19501 if { (eval echo configure:19502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19503 glibcpp_cv_func_sincosl_use=yes
19505 echo "configure: failed program was:" >&5
19506 cat conftest.$ac_ext >&5
19508 glibcpp_cv_func_sincosl_use=no
19512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19513 ac_cpp='$CPP $CPPFLAGS'
19514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19516 cross_compiling=$ac_cv_prog_cc_cross
19522 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19524 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19525 for ac_func in sincosl
19527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19528 echo "configure:19529: checking for $ac_func" >&5
19529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19530 echo $ac_n "(cached) $ac_c" 1>&6
19532 cat > conftest.$ac_ext <<EOF
19533 #line 19534 "configure"
19534 #include "confdefs.h"
19535 /* System header to define __stub macros and hopefully few prototypes,
19536 which can conflict with char $ac_func(); below. */
19537 #include <assert.h>
19538 /* Override any gcc2 internal prototype to avoid an error. */
19539 /* We use char because int might match the return type of a gcc2
19540 builtin and then its argument prototype would still apply. */
19545 /* The GNU C library defines this for functions which it implements
19546 to always fail with ENOSYS. Some functions are actually named
19547 something starting with __ and the normal name is an alias. */
19548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19556 if { (eval echo configure:19557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19558 eval "ac_cv_func_$ac_func=yes"
19560 echo "configure: failed program was:" >&5
19561 cat conftest.$ac_ext >&5
19563 eval "ac_cv_func_$ac_func=no"
19568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19569 echo "$ac_t""yes" 1>&6
19570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19571 cat >> confdefs.h <<EOF
19572 #define $ac_tr_func 1
19576 echo "$ac_t""no" 1>&6
19582 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19583 echo "configure:19584: checking for _sincosl declaration" >&5
19584 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19585 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19586 echo $ac_n "(cached) $ac_c" 1>&6
19591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19595 cross_compiling=$ac_cv_prog_cxx_cross
19597 cat > conftest.$ac_ext <<EOF
19598 #line 19599 "configure"
19599 #include "confdefs.h"
19605 if { (eval echo configure:19606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19607 glibcpp_cv_func__sincosl_use=yes
19609 echo "configure: failed program was:" >&5
19610 cat conftest.$ac_ext >&5
19612 glibcpp_cv_func__sincosl_use=no
19616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19617 ac_cpp='$CPP $CPPFLAGS'
19618 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19619 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19620 cross_compiling=$ac_cv_prog_cc_cross
19626 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19628 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19629 for ac_func in _sincosl
19631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19632 echo "configure:19633: checking for $ac_func" >&5
19633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19634 echo $ac_n "(cached) $ac_c" 1>&6
19636 cat > conftest.$ac_ext <<EOF
19637 #line 19638 "configure"
19638 #include "confdefs.h"
19639 /* System header to define __stub macros and hopefully few prototypes,
19640 which can conflict with char $ac_func(); below. */
19641 #include <assert.h>
19642 /* Override any gcc2 internal prototype to avoid an error. */
19643 /* We use char because int might match the return type of a gcc2
19644 builtin and then its argument prototype would still apply. */
19649 /* The GNU C library defines this for functions which it implements
19650 to always fail with ENOSYS. Some functions are actually named
19651 something starting with __ and the normal name is an alias. */
19652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19660 if { (eval echo configure:19661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19662 eval "ac_cv_func_$ac_func=yes"
19664 echo "configure: failed program was:" >&5
19665 cat conftest.$ac_ext >&5
19667 eval "ac_cv_func_$ac_func=no"
19672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19673 echo "$ac_t""yes" 1>&6
19674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19675 cat >> confdefs.h <<EOF
19676 #define $ac_tr_func 1
19680 echo "$ac_t""no" 1>&6
19689 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19690 echo "configure:19691: checking for finitel declaration" >&5
19691 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19692 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19693 echo $ac_n "(cached) $ac_c" 1>&6
19698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19699 ac_cpp='$CXXCPP $CPPFLAGS'
19700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19702 cross_compiling=$ac_cv_prog_cxx_cross
19704 cat > conftest.$ac_ext <<EOF
19705 #line 19706 "configure"
19706 #include "confdefs.h"
19708 #ifdef HAVE_IEEEFP_H
19709 #include <ieeefp.h>
19716 if { (eval echo configure:19717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19718 glibcpp_cv_func_finitel_use=yes
19720 echo "configure: failed program was:" >&5
19721 cat conftest.$ac_ext >&5
19723 glibcpp_cv_func_finitel_use=no
19727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19728 ac_cpp='$CPP $CPPFLAGS'
19729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19731 cross_compiling=$ac_cv_prog_cc_cross
19737 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19739 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19740 for ac_func in finitel
19742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19743 echo "configure:19744: checking for $ac_func" >&5
19744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19745 echo $ac_n "(cached) $ac_c" 1>&6
19747 cat > conftest.$ac_ext <<EOF
19748 #line 19749 "configure"
19749 #include "confdefs.h"
19750 /* System header to define __stub macros and hopefully few prototypes,
19751 which can conflict with char $ac_func(); below. */
19752 #include <assert.h>
19753 /* Override any gcc2 internal prototype to avoid an error. */
19754 /* We use char because int might match the return type of a gcc2
19755 builtin and then its argument prototype would still apply. */
19760 /* The GNU C library defines this for functions which it implements
19761 to always fail with ENOSYS. Some functions are actually named
19762 something starting with __ and the normal name is an alias. */
19763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19771 if { (eval echo configure:19772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19773 eval "ac_cv_func_$ac_func=yes"
19775 echo "configure: failed program was:" >&5
19776 cat conftest.$ac_ext >&5
19778 eval "ac_cv_func_$ac_func=no"
19783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19784 echo "$ac_t""yes" 1>&6
19785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19786 cat >> confdefs.h <<EOF
19787 #define $ac_tr_func 1
19791 echo "$ac_t""no" 1>&6
19797 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19798 echo "configure:19799: checking for _finitel declaration" >&5
19799 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19800 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19801 echo $ac_n "(cached) $ac_c" 1>&6
19806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19807 ac_cpp='$CXXCPP $CPPFLAGS'
19808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19810 cross_compiling=$ac_cv_prog_cxx_cross
19812 cat > conftest.$ac_ext <<EOF
19813 #line 19814 "configure"
19814 #include "confdefs.h"
19816 #ifdef HAVE_IEEEFP_H
19817 #include <ieeefp.h>
19824 if { (eval echo configure:19825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19826 glibcpp_cv_func__finitel_use=yes
19828 echo "configure: failed program was:" >&5
19829 cat conftest.$ac_ext >&5
19831 glibcpp_cv_func__finitel_use=no
19835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19836 ac_cpp='$CPP $CPPFLAGS'
19837 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19838 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19839 cross_compiling=$ac_cv_prog_cc_cross
19845 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19847 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19848 for ac_func in _finitel
19850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19851 echo "configure:19852: checking for $ac_func" >&5
19852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19853 echo $ac_n "(cached) $ac_c" 1>&6
19855 cat > conftest.$ac_ext <<EOF
19856 #line 19857 "configure"
19857 #include "confdefs.h"
19858 /* System header to define __stub macros and hopefully few prototypes,
19859 which can conflict with char $ac_func(); below. */
19860 #include <assert.h>
19861 /* Override any gcc2 internal prototype to avoid an error. */
19862 /* We use char because int might match the return type of a gcc2
19863 builtin and then its argument prototype would still apply. */
19868 /* The GNU C library defines this for functions which it implements
19869 to always fail with ENOSYS. Some functions are actually named
19870 something starting with __ and the normal name is an alias. */
19871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19879 if { (eval echo configure:19880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19881 eval "ac_cv_func_$ac_func=yes"
19883 echo "configure: failed program was:" >&5
19884 cat conftest.$ac_ext >&5
19886 eval "ac_cv_func_$ac_func=no"
19891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19892 echo "$ac_t""yes" 1>&6
19893 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19894 cat >> confdefs.h <<EOF
19895 #define $ac_tr_func 1
19899 echo "$ac_t""no" 1>&6
19909 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19910 echo "configure:19911: checking for _float trig functions" >&5
19911 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19912 echo $ac_n "(cached) $ac_c" 1>&6
19917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19918 ac_cpp='$CXXCPP $CPPFLAGS'
19919 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19920 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19921 cross_compiling=$ac_cv_prog_cxx_cross
19923 cat > conftest.$ac_ext <<EOF
19924 #line 19925 "configure"
19925 #include "confdefs.h"
19928 `for x in _acosf _asinf _atanf \
19929 _cosf _sinf _tanf \
19930 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19933 if { (eval echo configure:19934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19935 glibcpp_cv_func__float_trig_use=yes
19937 echo "configure: failed program was:" >&5
19938 cat conftest.$ac_ext >&5
19940 glibcpp_cv_func__float_trig_use=no
19944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19945 ac_cpp='$CPP $CPPFLAGS'
19946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19948 cross_compiling=$ac_cv_prog_cc_cross
19952 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19953 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19954 for ac_func in _acosf _asinf _atanf \
19955 _cosf _sinf _tanf \
19956 _coshf _sinhf _tanhf
19958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19959 echo "configure:19960: checking for $ac_func" >&5
19960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19961 echo $ac_n "(cached) $ac_c" 1>&6
19963 cat > conftest.$ac_ext <<EOF
19964 #line 19965 "configure"
19965 #include "confdefs.h"
19966 /* System header to define __stub macros and hopefully few prototypes,
19967 which can conflict with char $ac_func(); below. */
19968 #include <assert.h>
19969 /* Override any gcc2 internal prototype to avoid an error. */
19970 /* We use char because int might match the return type of a gcc2
19971 builtin and then its argument prototype would still apply. */
19976 /* The GNU C library defines this for functions which it implements
19977 to always fail with ENOSYS. Some functions are actually named
19978 something starting with __ and the normal name is an alias. */
19979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19987 if { (eval echo configure:19988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19989 eval "ac_cv_func_$ac_func=yes"
19991 echo "configure: failed program was:" >&5
19992 cat conftest.$ac_ext >&5
19994 eval "ac_cv_func_$ac_func=no"
19999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20000 echo "$ac_t""yes" 1>&6
20001 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20002 cat >> confdefs.h <<EOF
20003 #define $ac_tr_func 1
20007 echo "$ac_t""no" 1>&6
20014 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20015 echo "configure:20016: checking for _float round functions" >&5
20016 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20017 echo $ac_n "(cached) $ac_c" 1>&6
20022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20023 ac_cpp='$CXXCPP $CPPFLAGS'
20024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20026 cross_compiling=$ac_cv_prog_cxx_cross
20028 cat > conftest.$ac_ext <<EOF
20029 #line 20030 "configure"
20030 #include "confdefs.h"
20033 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20036 if { (eval echo configure:20037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20038 glibcpp_cv_func__float_round_use=yes
20040 echo "configure: failed program was:" >&5
20041 cat conftest.$ac_ext >&5
20043 glibcpp_cv_func__float_round_use=no
20047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20048 ac_cpp='$CPP $CPPFLAGS'
20049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20051 cross_compiling=$ac_cv_prog_cc_cross
20055 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20056 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20057 for ac_func in _ceilf _floorf
20059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20060 echo "configure:20061: checking for $ac_func" >&5
20061 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20062 echo $ac_n "(cached) $ac_c" 1>&6
20064 cat > conftest.$ac_ext <<EOF
20065 #line 20066 "configure"
20066 #include "confdefs.h"
20067 /* System header to define __stub macros and hopefully few prototypes,
20068 which can conflict with char $ac_func(); below. */
20069 #include <assert.h>
20070 /* Override any gcc2 internal prototype to avoid an error. */
20071 /* We use char because int might match the return type of a gcc2
20072 builtin and then its argument prototype would still apply. */
20077 /* The GNU C library defines this for functions which it implements
20078 to always fail with ENOSYS. Some functions are actually named
20079 something starting with __ and the normal name is an alias. */
20080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20088 if { (eval echo configure:20089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20090 eval "ac_cv_func_$ac_func=yes"
20092 echo "configure: failed program was:" >&5
20093 cat conftest.$ac_ext >&5
20095 eval "ac_cv_func_$ac_func=no"
20100 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20101 echo "$ac_t""yes" 1>&6
20102 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20103 cat >> confdefs.h <<EOF
20104 #define $ac_tr_func 1
20108 echo "$ac_t""no" 1>&6
20116 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20117 echo "configure:20118: checking for _long double trig functions" >&5
20118 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20119 echo $ac_n "(cached) $ac_c" 1>&6
20124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20125 ac_cpp='$CXXCPP $CPPFLAGS'
20126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20128 cross_compiling=$ac_cv_prog_cxx_cross
20130 cat > conftest.$ac_ext <<EOF
20131 #line 20132 "configure"
20132 #include "confdefs.h"
20135 `for x in _acosl _asinl _atanl \
20136 _cosl _sinl _tanl \
20137 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20140 if { (eval echo configure:20141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20142 glibcpp_cv_func__long_double_trig_use=yes
20144 echo "configure: failed program was:" >&5
20145 cat conftest.$ac_ext >&5
20147 glibcpp_cv_func__long_double_trig_use=no
20151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20152 ac_cpp='$CPP $CPPFLAGS'
20153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20155 cross_compiling=$ac_cv_prog_cc_cross
20159 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20160 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20161 for ac_func in _acosl _asinl _atanl \
20162 _cosl _sinl _tanl \
20163 _coshl _sinhl _tanhl
20165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20166 echo "configure:20167: checking for $ac_func" >&5
20167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20168 echo $ac_n "(cached) $ac_c" 1>&6
20170 cat > conftest.$ac_ext <<EOF
20171 #line 20172 "configure"
20172 #include "confdefs.h"
20173 /* System header to define __stub macros and hopefully few prototypes,
20174 which can conflict with char $ac_func(); below. */
20175 #include <assert.h>
20176 /* Override any gcc2 internal prototype to avoid an error. */
20177 /* We use char because int might match the return type of a gcc2
20178 builtin and then its argument prototype would still apply. */
20183 /* The GNU C library defines this for functions which it implements
20184 to always fail with ENOSYS. Some functions are actually named
20185 something starting with __ and the normal name is an alias. */
20186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20194 if { (eval echo configure:20195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20196 eval "ac_cv_func_$ac_func=yes"
20198 echo "configure: failed program was:" >&5
20199 cat conftest.$ac_ext >&5
20201 eval "ac_cv_func_$ac_func=no"
20206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20207 echo "$ac_t""yes" 1>&6
20208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20209 cat >> confdefs.h <<EOF
20210 #define $ac_tr_func 1
20214 echo "$ac_t""no" 1>&6
20221 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20222 echo "configure:20223: checking for _long double round functions" >&5
20223 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20224 echo $ac_n "(cached) $ac_c" 1>&6
20229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20230 ac_cpp='$CXXCPP $CPPFLAGS'
20231 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20232 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20233 cross_compiling=$ac_cv_prog_cxx_cross
20235 cat > conftest.$ac_ext <<EOF
20236 #line 20237 "configure"
20237 #include "confdefs.h"
20240 `for x in _ceill _floorl; do echo "$x (0);"; done`
20243 if { (eval echo configure:20244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20245 glibcpp_cv_func__long_double_round_use=yes
20247 echo "configure: failed program was:" >&5
20248 cat conftest.$ac_ext >&5
20250 glibcpp_cv_func__long_double_round_use=no
20254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20255 ac_cpp='$CPP $CPPFLAGS'
20256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20258 cross_compiling=$ac_cv_prog_cc_cross
20262 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20263 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20264 for ac_func in _ceill _floorl
20266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20267 echo "configure:20268: checking for $ac_func" >&5
20268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20269 echo $ac_n "(cached) $ac_c" 1>&6
20271 cat > conftest.$ac_ext <<EOF
20272 #line 20273 "configure"
20273 #include "confdefs.h"
20274 /* System header to define __stub macros and hopefully few prototypes,
20275 which can conflict with char $ac_func(); below. */
20276 #include <assert.h>
20277 /* Override any gcc2 internal prototype to avoid an error. */
20278 /* We use char because int might match the return type of a gcc2
20279 builtin and then its argument prototype would still apply. */
20284 /* The GNU C library defines this for functions which it implements
20285 to always fail with ENOSYS. Some functions are actually named
20286 something starting with __ and the normal name is an alias. */
20287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20295 if { (eval echo configure:20296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20297 eval "ac_cv_func_$ac_func=yes"
20299 echo "configure: failed program was:" >&5
20300 cat conftest.$ac_ext >&5
20302 eval "ac_cv_func_$ac_func=no"
20307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20308 echo "$ac_t""yes" 1>&6
20309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20310 cat >> confdefs.h <<EOF
20311 #define $ac_tr_func 1
20315 echo "$ac_t""no" 1>&6
20322 LIBS="$ac_save_LIBS"
20323 CXXFLAGS="$ac_save_CXXFLAGS"
20326 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20327 echo "configure:20328: checking for main in -lm" >&5
20328 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20330 echo $ac_n "(cached) $ac_c" 1>&6
20332 ac_save_LIBS="$LIBS"
20334 cat > conftest.$ac_ext <<EOF
20335 #line 20336 "configure"
20336 #include "confdefs.h"
20342 if { (eval echo configure:20343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20344 eval "ac_cv_lib_$ac_lib_var=yes"
20346 echo "configure: failed program was:" >&5
20347 cat conftest.$ac_ext >&5
20349 eval "ac_cv_lib_$ac_lib_var=no"
20352 LIBS="$ac_save_LIBS"
20355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20356 echo "$ac_t""yes" 1>&6
20357 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20358 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20359 cat >> confdefs.h <<EOF
20360 #define $ac_tr_lib 1
20366 echo "$ac_t""no" 1>&6
20369 for ac_func in nan copysignf
20371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20372 echo "configure:20373: checking for $ac_func" >&5
20373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20374 echo $ac_n "(cached) $ac_c" 1>&6
20376 cat > conftest.$ac_ext <<EOF
20377 #line 20378 "configure"
20378 #include "confdefs.h"
20379 /* System header to define __stub macros and hopefully few prototypes,
20380 which can conflict with char $ac_func(); below. */
20381 #include <assert.h>
20382 /* Override any gcc2 internal prototype to avoid an error. */
20383 /* We use char because int might match the return type of a gcc2
20384 builtin and then its argument prototype would still apply. */
20389 /* The GNU C library defines this for functions which it implements
20390 to always fail with ENOSYS. Some functions are actually named
20391 something starting with __ and the normal name is an alias. */
20392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20400 if { (eval echo configure:20401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20402 eval "ac_cv_func_$ac_func=yes"
20404 echo "configure: failed program was:" >&5
20405 cat conftest.$ac_ext >&5
20407 eval "ac_cv_func_$ac_func=no"
20412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20413 echo "$ac_t""yes" 1>&6
20414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20415 cat >> confdefs.h <<EOF
20416 #define $ac_tr_func 1
20420 echo "$ac_t""no" 1>&6
20421 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20426 for ac_func in __signbit
20428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20429 echo "configure:20430: checking for $ac_func" >&5
20430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20431 echo $ac_n "(cached) $ac_c" 1>&6
20433 cat > conftest.$ac_ext <<EOF
20434 #line 20435 "configure"
20435 #include "confdefs.h"
20436 /* System header to define __stub macros and hopefully few prototypes,
20437 which can conflict with char $ac_func(); below. */
20438 #include <assert.h>
20439 /* Override any gcc2 internal prototype to avoid an error. */
20440 /* We use char because int might match the return type of a gcc2
20441 builtin and then its argument prototype would still apply. */
20446 /* The GNU C library defines this for functions which it implements
20447 to always fail with ENOSYS. Some functions are actually named
20448 something starting with __ and the normal name is an alias. */
20449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20457 if { (eval echo configure:20458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20459 eval "ac_cv_func_$ac_func=yes"
20461 echo "configure: failed program was:" >&5
20462 cat conftest.$ac_ext >&5
20464 eval "ac_cv_func_$ac_func=no"
20469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20470 echo "$ac_t""yes" 1>&6
20471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20472 cat >> confdefs.h <<EOF
20473 #define $ac_tr_func 1
20477 echo "$ac_t""no" 1>&6
20478 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20482 for ac_func in __signbitf
20484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20485 echo "configure:20486: checking for $ac_func" >&5
20486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20487 echo $ac_n "(cached) $ac_c" 1>&6
20489 cat > conftest.$ac_ext <<EOF
20490 #line 20491 "configure"
20491 #include "confdefs.h"
20492 /* System header to define __stub macros and hopefully few prototypes,
20493 which can conflict with char $ac_func(); below. */
20494 #include <assert.h>
20495 /* Override any gcc2 internal prototype to avoid an error. */
20496 /* We use char because int might match the return type of a gcc2
20497 builtin and then its argument prototype would still apply. */
20502 /* The GNU C library defines this for functions which it implements
20503 to always fail with ENOSYS. Some functions are actually named
20504 something starting with __ and the normal name is an alias. */
20505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20513 if { (eval echo configure:20514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20515 eval "ac_cv_func_$ac_func=yes"
20517 echo "configure: failed program was:" >&5
20518 cat conftest.$ac_ext >&5
20520 eval "ac_cv_func_$ac_func=no"
20525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20526 echo "$ac_t""yes" 1>&6
20527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20528 cat >> confdefs.h <<EOF
20529 #define $ac_tr_func 1
20533 echo "$ac_t""no" 1>&6
20534 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20539 if test x$ac_cv_func_copysignl = x"yes"; then
20540 for ac_func in __signbitl
20542 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20543 echo "configure:20544: checking for $ac_func" >&5
20544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20545 echo $ac_n "(cached) $ac_c" 1>&6
20547 cat > conftest.$ac_ext <<EOF
20548 #line 20549 "configure"
20549 #include "confdefs.h"
20550 /* System header to define __stub macros and hopefully few prototypes,
20551 which can conflict with char $ac_func(); below. */
20552 #include <assert.h>
20553 /* Override any gcc2 internal prototype to avoid an error. */
20554 /* We use char because int might match the return type of a gcc2
20555 builtin and then its argument prototype would still apply. */
20560 /* The GNU C library defines this for functions which it implements
20561 to always fail with ENOSYS. Some functions are actually named
20562 something starting with __ and the normal name is an alias. */
20563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20571 if { (eval echo configure:20572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20573 eval "ac_cv_func_$ac_func=yes"
20575 echo "configure: failed program was:" >&5
20576 cat conftest.$ac_ext >&5
20578 eval "ac_cv_func_$ac_func=no"
20583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20584 echo "$ac_t""yes" 1>&6
20585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20586 cat >> confdefs.h <<EOF
20587 #define $ac_tr_func 1
20591 echo "$ac_t""no" 1>&6
20592 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20602 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20603 echo "configure:20604: checking for mbstate_t" >&5
20604 cat > conftest.$ac_ext <<EOF
20605 #line 20606 "configure"
20606 #include "confdefs.h"
20609 mbstate_t teststate;
20612 if { (eval echo configure:20613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20616 echo "configure: failed program was:" >&5
20617 cat conftest.$ac_ext >&5
20622 echo "$ac_t""$have_mbstate_t" 1>&6
20623 if test x"$have_mbstate_t" = xyes; then
20624 cat >> confdefs.h <<\EOF
20625 #define HAVE_MBSTATE_T 1
20630 for ac_hdr in wchar.h
20632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20634 echo "configure:20635: checking for $ac_hdr" >&5
20635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20636 echo $ac_n "(cached) $ac_c" 1>&6
20638 cat > conftest.$ac_ext <<EOF
20639 #line 20640 "configure"
20640 #include "confdefs.h"
20643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20644 { (eval echo configure:20645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20646 if test -z "$ac_err"; then
20648 eval "ac_cv_header_$ac_safe=yes"
20651 echo "configure: failed program was:" >&5
20652 cat conftest.$ac_ext >&5
20654 eval "ac_cv_header_$ac_safe=no"
20658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20659 echo "$ac_t""yes" 1>&6
20660 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20661 cat >> confdefs.h <<EOF
20662 #define $ac_tr_hdr 1
20666 echo "$ac_t""no" 1>&6
20671 for ac_hdr in wctype.h
20673 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20675 echo "configure:20676: checking for $ac_hdr" >&5
20676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20677 echo $ac_n "(cached) $ac_c" 1>&6
20679 cat > conftest.$ac_ext <<EOF
20680 #line 20681 "configure"
20681 #include "confdefs.h"
20684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20685 { (eval echo configure:20686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20687 if test -z "$ac_err"; then
20689 eval "ac_cv_header_$ac_safe=yes"
20692 echo "configure: failed program was:" >&5
20693 cat conftest.$ac_ext >&5
20695 eval "ac_cv_header_$ac_safe=no"
20699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20700 echo "$ac_t""yes" 1>&6
20701 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20702 cat >> confdefs.h <<EOF
20703 #define $ac_tr_hdr 1
20705 ac_has_wctype_h=yes
20707 echo "$ac_t""no" 1>&6
20713 if test x"$ac_has_wchar_h" = xyes &&
20714 test x"$ac_has_wctype_h" = xyes &&
20715 test x"$enable_c_mbchar" != xno; then
20717 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20718 echo "configure:20719: checking for WCHAR_MIN and WCHAR_MAX" >&5
20719 cat > conftest.$ac_ext <<EOF
20720 #line 20721 "configure"
20721 #include "confdefs.h"
20724 int i = WCHAR_MIN; int j = WCHAR_MAX;
20727 if { (eval echo configure:20728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20729 has_wchar_minmax=yes
20731 echo "configure: failed program was:" >&5
20732 cat conftest.$ac_ext >&5
20734 has_wchar_minmax=no
20737 echo "$ac_t""$has_wchar_minmax" 1>&6
20739 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20740 echo "configure:20741: checking for WEOF" >&5
20741 cat > conftest.$ac_ext <<EOF
20742 #line 20743 "configure"
20743 #include "confdefs.h"
20746 #include <stddef.h>
20751 if { (eval echo configure:20752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20755 echo "configure: failed program was:" >&5
20756 cat conftest.$ac_ext >&5
20761 echo "$ac_t""$has_weof" 1>&6
20764 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20767 echo "configure:20768: checking for $ac_func" >&5
20768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20769 echo $ac_n "(cached) $ac_c" 1>&6
20771 cat > conftest.$ac_ext <<EOF
20772 #line 20773 "configure"
20773 #include "confdefs.h"
20774 /* System header to define __stub macros and hopefully few prototypes,
20775 which can conflict with char $ac_func(); below. */
20776 #include <assert.h>
20777 /* Override any gcc2 internal prototype to avoid an error. */
20778 /* We use char because int might match the return type of a gcc2
20779 builtin and then its argument prototype would still apply. */
20784 /* The GNU C library defines this for functions which it implements
20785 to always fail with ENOSYS. Some functions are actually named
20786 something starting with __ and the normal name is an alias. */
20787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20795 if { (eval echo configure:20796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20797 eval "ac_cv_func_$ac_func=yes"
20799 echo "configure: failed program was:" >&5
20800 cat conftest.$ac_ext >&5
20802 eval "ac_cv_func_$ac_func=no"
20807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20808 echo "$ac_t""yes" 1>&6
20809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20810 cat >> confdefs.h <<EOF
20811 #define $ac_tr_func 1
20815 echo "$ac_t""no" 1>&6
20822 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20823 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20824 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20825 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20826 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20827 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20830 echo "configure:20831: checking for $ac_func" >&5
20831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20832 echo $ac_n "(cached) $ac_c" 1>&6
20834 cat > conftest.$ac_ext <<EOF
20835 #line 20836 "configure"
20836 #include "confdefs.h"
20837 /* System header to define __stub macros and hopefully few prototypes,
20838 which can conflict with char $ac_func(); below. */
20839 #include <assert.h>
20840 /* Override any gcc2 internal prototype to avoid an error. */
20841 /* We use char because int might match the return type of a gcc2
20842 builtin and then its argument prototype would still apply. */
20847 /* The GNU C library defines this for functions which it implements
20848 to always fail with ENOSYS. Some functions are actually named
20849 something starting with __ and the normal name is an alias. */
20850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20858 if { (eval echo configure:20859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20860 eval "ac_cv_func_$ac_func=yes"
20862 echo "configure: failed program was:" >&5
20863 cat conftest.$ac_ext >&5
20865 eval "ac_cv_func_$ac_func=no"
20870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20871 echo "$ac_t""yes" 1>&6
20872 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20873 cat >> confdefs.h <<EOF
20874 #define $ac_tr_func 1
20878 echo "$ac_t""no" 1>&6
20885 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20886 echo "configure:20887: checking for ISO C99 wchar_t support" >&5
20887 if test x"$has_weof" = xyes &&
20888 test x"$has_wchar_minmax" = xyes &&
20889 test x"$ac_wfuncs" = xyes; then
20890 ac_isoC99_wchar_t=yes
20892 ac_isoC99_wchar_t=no
20894 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20896 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20897 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20898 echo "configure:20899: checking for iconv.h" >&5
20899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20900 echo $ac_n "(cached) $ac_c" 1>&6
20902 cat > conftest.$ac_ext <<EOF
20903 #line 20904 "configure"
20904 #include "confdefs.h"
20907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20908 { (eval echo configure:20909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20910 if test -z "$ac_err"; then
20912 eval "ac_cv_header_$ac_safe=yes"
20915 echo "configure: failed program was:" >&5
20916 cat conftest.$ac_ext >&5
20918 eval "ac_cv_header_$ac_safe=no"
20922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20923 echo "$ac_t""yes" 1>&6
20926 echo "$ac_t""no" 1>&6
20930 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20931 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20932 echo "configure:20933: checking for langinfo.h" >&5
20933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20934 echo $ac_n "(cached) $ac_c" 1>&6
20936 cat > conftest.$ac_ext <<EOF
20937 #line 20938 "configure"
20938 #include "confdefs.h"
20939 #include <langinfo.h>
20941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20942 { (eval echo configure:20943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20943 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20944 if test -z "$ac_err"; then
20946 eval "ac_cv_header_$ac_safe=yes"
20949 echo "configure: failed program was:" >&5
20950 cat conftest.$ac_ext >&5
20952 eval "ac_cv_header_$ac_safe=no"
20956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20957 echo "$ac_t""yes" 1>&6
20958 ac_has_langinfo_h=yes
20960 echo "$ac_t""no" 1>&6
20961 ac_has_langinfo_h=no
20965 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20966 echo "configure:20967: checking for iconv in -liconv" >&5
20967 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20968 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20969 echo $ac_n "(cached) $ac_c" 1>&6
20971 ac_save_LIBS="$LIBS"
20972 LIBS="-liconv $LIBS"
20973 cat > conftest.$ac_ext <<EOF
20974 #line 20975 "configure"
20975 #include "confdefs.h"
20976 /* Override any gcc2 internal prototype to avoid an error. */
20977 /* We use char because int might match the return type of a gcc2
20978 builtin and then its argument prototype would still apply. */
20985 if { (eval echo configure:20986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20987 eval "ac_cv_lib_$ac_lib_var=yes"
20989 echo "configure: failed program was:" >&5
20990 cat conftest.$ac_ext >&5
20992 eval "ac_cv_lib_$ac_lib_var=no"
20995 LIBS="$ac_save_LIBS"
20998 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20999 echo "$ac_t""yes" 1>&6
21002 echo "$ac_t""no" 1>&6
21005 ac_save_LIBS="$LIBS"
21006 LIBS="$LIBS $libiconv"
21008 for ac_func in iconv_open iconv_close iconv nl_langinfo
21010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21011 echo "configure:21012: checking for $ac_func" >&5
21012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21013 echo $ac_n "(cached) $ac_c" 1>&6
21015 cat > conftest.$ac_ext <<EOF
21016 #line 21017 "configure"
21017 #include "confdefs.h"
21018 /* System header to define __stub macros and hopefully few prototypes,
21019 which can conflict with char $ac_func(); below. */
21020 #include <assert.h>
21021 /* Override any gcc2 internal prototype to avoid an error. */
21022 /* We use char because int might match the return type of a gcc2
21023 builtin and then its argument prototype would still apply. */
21028 /* The GNU C library defines this for functions which it implements
21029 to always fail with ENOSYS. Some functions are actually named
21030 something starting with __ and the normal name is an alias. */
21031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21039 if { (eval echo configure:21040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21041 eval "ac_cv_func_$ac_func=yes"
21043 echo "configure: failed program was:" >&5
21044 cat conftest.$ac_ext >&5
21046 eval "ac_cv_func_$ac_func=no"
21051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21052 echo "$ac_t""yes" 1>&6
21053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21054 cat >> confdefs.h <<EOF
21055 #define $ac_tr_func 1
21060 echo "$ac_t""no" 1>&6
21066 LIBS="$ac_save_LIBS"
21068 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21069 echo "configure:21070: checking for XPG2 wchar_t support" >&5
21070 if test x"$ac_has_iconv_h" = xyes &&
21071 test x"$ac_has_langinfo_h" = xyes &&
21072 test x"$ac_XPG2funcs" = xyes; then
21073 ac_XPG2_wchar_t=yes
21077 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21079 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21080 echo "configure:21081: checking for enabled wchar_t specializations" >&5
21081 if test x"$ac_isoC99_wchar_t" = xyes &&
21082 test x"$ac_XPG2_wchar_t" = xyes; then
21083 cat >> confdefs.h <<\EOF
21084 #define _GLIBCPP_USE_WCHAR_T 1
21087 echo "$ac_t"""yes"" 1>&6
21089 echo "$ac_t"""no"" 1>&6
21092 echo "configure: warning: wchar_t support disabled." 1>&2
21096 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21097 ac_save_CXXFLAGS="$CXXFLAGS"
21098 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21101 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21102 echo "configure:21103: checking for strtold declaration" >&5
21103 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21104 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21105 echo $ac_n "(cached) $ac_c" 1>&6
21110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21111 ac_cpp='$CXXCPP $CPPFLAGS'
21112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21114 cross_compiling=$ac_cv_prog_cxx_cross
21116 cat > conftest.$ac_ext <<EOF
21117 #line 21118 "configure"
21118 #include "confdefs.h"
21119 #include <stdlib.h>
21124 if { (eval echo configure:21125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21126 glibcpp_cv_func_strtold_use=yes
21128 echo "configure: failed program was:" >&5
21129 cat conftest.$ac_ext >&5
21131 glibcpp_cv_func_strtold_use=no
21135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21139 cross_compiling=$ac_cv_prog_cc_cross
21145 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21146 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21147 for ac_func in strtold
21149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21150 echo "configure:21151: checking for $ac_func" >&5
21151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21152 echo $ac_n "(cached) $ac_c" 1>&6
21154 cat > conftest.$ac_ext <<EOF
21155 #line 21156 "configure"
21156 #include "confdefs.h"
21157 /* System header to define __stub macros and hopefully few prototypes,
21158 which can conflict with char $ac_func(); below. */
21159 #include <assert.h>
21160 /* Override any gcc2 internal prototype to avoid an error. */
21161 /* We use char because int might match the return type of a gcc2
21162 builtin and then its argument prototype would still apply. */
21167 /* The GNU C library defines this for functions which it implements
21168 to always fail with ENOSYS. Some functions are actually named
21169 something starting with __ and the normal name is an alias. */
21170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21178 if { (eval echo configure:21179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21180 eval "ac_cv_func_$ac_func=yes"
21182 echo "configure: failed program was:" >&5
21183 cat conftest.$ac_ext >&5
21185 eval "ac_cv_func_$ac_func=no"
21190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21191 echo "$ac_t""yes" 1>&6
21192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21193 cat >> confdefs.h <<EOF
21194 #define $ac_tr_func 1
21198 echo "$ac_t""no" 1>&6
21205 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21206 echo "configure:21207: checking for strtof declaration" >&5
21207 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21208 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21209 echo $ac_n "(cached) $ac_c" 1>&6
21214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21215 ac_cpp='$CXXCPP $CPPFLAGS'
21216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21218 cross_compiling=$ac_cv_prog_cxx_cross
21220 cat > conftest.$ac_ext <<EOF
21221 #line 21222 "configure"
21222 #include "confdefs.h"
21223 #include <stdlib.h>
21228 if { (eval echo configure:21229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21230 glibcpp_cv_func_strtof_use=yes
21232 echo "configure: failed program was:" >&5
21233 cat conftest.$ac_ext >&5
21235 glibcpp_cv_func_strtof_use=no
21239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21243 cross_compiling=$ac_cv_prog_cc_cross
21249 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21250 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21251 for ac_func in strtof
21253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21254 echo "configure:21255: checking for $ac_func" >&5
21255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21256 echo $ac_n "(cached) $ac_c" 1>&6
21258 cat > conftest.$ac_ext <<EOF
21259 #line 21260 "configure"
21260 #include "confdefs.h"
21261 /* System header to define __stub macros and hopefully few prototypes,
21262 which can conflict with char $ac_func(); below. */
21263 #include <assert.h>
21264 /* Override any gcc2 internal prototype to avoid an error. */
21265 /* We use char because int might match the return type of a gcc2
21266 builtin and then its argument prototype would still apply. */
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21282 if { (eval echo configure:21283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21284 eval "ac_cv_func_$ac_func=yes"
21286 echo "configure: failed program was:" >&5
21287 cat conftest.$ac_ext >&5
21289 eval "ac_cv_func_$ac_func=no"
21294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21295 echo "$ac_t""yes" 1>&6
21296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21297 cat >> confdefs.h <<EOF
21298 #define $ac_tr_func 1
21302 echo "$ac_t""no" 1>&6
21308 for ac_func in drand48
21310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21311 echo "configure:21312: checking for $ac_func" >&5
21312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21313 echo $ac_n "(cached) $ac_c" 1>&6
21315 cat > conftest.$ac_ext <<EOF
21316 #line 21317 "configure"
21317 #include "confdefs.h"
21318 /* System header to define __stub macros and hopefully few prototypes,
21319 which can conflict with char $ac_func(); below. */
21320 #include <assert.h>
21321 /* Override any gcc2 internal prototype to avoid an error. */
21322 /* We use char because int might match the return type of a gcc2
21323 builtin and then its argument prototype would still apply. */
21328 /* The GNU C library defines this for functions which it implements
21329 to always fail with ENOSYS. Some functions are actually named
21330 something starting with __ and the normal name is an alias. */
21331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21339 if { (eval echo configure:21340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21341 eval "ac_cv_func_$ac_func=yes"
21343 echo "configure: failed program was:" >&5
21344 cat conftest.$ac_ext >&5
21346 eval "ac_cv_func_$ac_func=no"
21351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21352 echo "$ac_t""yes" 1>&6
21353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21354 cat >> confdefs.h <<EOF
21355 #define $ac_tr_func 1
21359 echo "$ac_t""no" 1>&6
21364 CXXFLAGS="$ac_save_CXXFLAGS"
21367 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21368 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21369 echo "configure:21370: checking for locale.h" >&5
21370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21371 echo $ac_n "(cached) $ac_c" 1>&6
21373 cat > conftest.$ac_ext <<EOF
21374 #line 21375 "configure"
21375 #include "confdefs.h"
21376 #include <locale.h>
21378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21379 { (eval echo configure:21380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21381 if test -z "$ac_err"; then
21383 eval "ac_cv_header_$ac_safe=yes"
21386 echo "configure: failed program was:" >&5
21387 cat conftest.$ac_ext >&5
21389 eval "ac_cv_header_$ac_safe=no"
21393 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21394 echo "$ac_t""yes" 1>&6
21396 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21397 echo "configure:21398: checking for LC_MESSAGES" >&5
21398 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21399 echo $ac_n "(cached) $ac_c" 1>&6
21401 cat > conftest.$ac_ext <<EOF
21402 #line 21403 "configure"
21403 #include "confdefs.h"
21404 #include <locale.h>
21409 if { (eval echo configure:21410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21411 ac_cv_val_LC_MESSAGES=yes
21413 echo "configure: failed program was:" >&5
21414 cat conftest.$ac_ext >&5
21416 ac_cv_val_LC_MESSAGES=no
21421 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21422 if test $ac_cv_val_LC_MESSAGES = yes; then
21423 cat >> confdefs.h <<\EOF
21424 #define HAVE_LC_MESSAGES 1
21430 echo "$ac_t""no" 1>&6
21435 cat > conftest.$ac_ext <<EOF
21436 #line 21437 "configure"
21437 #include "confdefs.h"
21439 #include <setjmp.h>
21442 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21445 if { (eval echo configure:21446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21447 cat >> confdefs.h <<\EOF
21448 #define HAVE_SIGSETJMP 1
21453 echo "configure: failed program was:" >&5
21454 cat conftest.$ac_ext >&5
21458 for ac_hdr in unistd.h
21460 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21462 echo "configure:21463: checking for $ac_hdr" >&5
21463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21464 echo $ac_n "(cached) $ac_c" 1>&6
21466 cat > conftest.$ac_ext <<EOF
21467 #line 21468 "configure"
21468 #include "confdefs.h"
21471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21472 { (eval echo configure:21473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21474 if test -z "$ac_err"; then
21476 eval "ac_cv_header_$ac_safe=yes"
21479 echo "configure: failed program was:" >&5
21480 cat conftest.$ac_ext >&5
21482 eval "ac_cv_header_$ac_safe=no"
21486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21487 echo "$ac_t""yes" 1>&6
21488 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21489 cat >> confdefs.h <<EOF
21490 #define $ac_tr_hdr 1
21494 echo "$ac_t""no" 1>&6
21498 for ac_func in getpagesize
21500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21501 echo "configure:21502: checking for $ac_func" >&5
21502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21503 echo $ac_n "(cached) $ac_c" 1>&6
21505 cat > conftest.$ac_ext <<EOF
21506 #line 21507 "configure"
21507 #include "confdefs.h"
21508 /* System header to define __stub macros and hopefully few prototypes,
21509 which can conflict with char $ac_func(); below. */
21510 #include <assert.h>
21511 /* Override any gcc2 internal prototype to avoid an error. */
21512 /* We use char because int might match the return type of a gcc2
21513 builtin and then its argument prototype would still apply. */
21518 /* The GNU C library defines this for functions which it implements
21519 to always fail with ENOSYS. Some functions are actually named
21520 something starting with __ and the normal name is an alias. */
21521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21529 if { (eval echo configure:21530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21531 eval "ac_cv_func_$ac_func=yes"
21533 echo "configure: failed program was:" >&5
21534 cat conftest.$ac_ext >&5
21536 eval "ac_cv_func_$ac_func=no"
21541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21542 echo "$ac_t""yes" 1>&6
21543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21544 cat >> confdefs.h <<EOF
21545 #define $ac_tr_func 1
21549 echo "$ac_t""no" 1>&6
21553 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21554 echo "configure:21555: checking for working mmap" >&5
21555 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21556 echo $ac_n "(cached) $ac_c" 1>&6
21558 if test "$cross_compiling" = yes; then
21559 ac_cv_func_mmap_fixed_mapped=no
21561 cat > conftest.$ac_ext <<EOF
21562 #line 21563 "configure"
21563 #include "confdefs.h"
21565 /* Thanks to Mike Haertel and Jim Avera for this test.
21566 Here is a matrix of mmap possibilities:
21567 mmap private not fixed
21568 mmap private fixed at somewhere currently unmapped
21569 mmap private fixed at somewhere already mapped
21570 mmap shared not fixed
21571 mmap shared fixed at somewhere currently unmapped
21572 mmap shared fixed at somewhere already mapped
21573 For private mappings, we should verify that changes cannot be read()
21574 back from the file, nor mmap's back from the file at a different
21575 address. (There have been systems where private was not correctly
21576 implemented like the infamous i386 svr4.0, and systems where the
21577 VM page cache was not coherent with the filesystem buffer cache
21578 like early versions of FreeBSD and possibly contemporary NetBSD.)
21579 For shared mappings, we should conversely verify that changes get
21580 propogated back to all the places they're supposed to be.
21582 Grep wants private fixed already mapped.
21583 The main things grep needs to know about mmap are:
21584 * does it exist and is it safe to write into the mmap'd area
21585 * how to use it (BSD variants) */
21586 #include <sys/types.h>
21588 #include <sys/mman.h>
21590 /* This mess was copied from the GNU getpagesize.h. */
21591 #ifndef HAVE_GETPAGESIZE
21592 # ifdef HAVE_UNISTD_H
21593 # include <unistd.h>
21596 /* Assume that all systems that can run configure have sys/param.h. */
21597 # ifndef HAVE_SYS_PARAM_H
21598 # define HAVE_SYS_PARAM_H 1
21601 # ifdef _SC_PAGESIZE
21602 # define getpagesize() sysconf(_SC_PAGESIZE)
21603 # else /* no _SC_PAGESIZE */
21604 # ifdef HAVE_SYS_PARAM_H
21605 # include <sys/param.h>
21606 # ifdef EXEC_PAGESIZE
21607 # define getpagesize() EXEC_PAGESIZE
21608 # else /* no EXEC_PAGESIZE */
21610 # define getpagesize() NBPG * CLSIZE
21613 # endif /* no CLSIZE */
21614 # else /* no NBPG */
21616 # define getpagesize() NBPC
21617 # else /* no NBPC */
21619 # define getpagesize() PAGESIZE
21620 # endif /* PAGESIZE */
21621 # endif /* no NBPC */
21622 # endif /* no NBPG */
21623 # endif /* no EXEC_PAGESIZE */
21624 # else /* no HAVE_SYS_PARAM_H */
21625 # define getpagesize() 8192 /* punt totally */
21626 # endif /* no HAVE_SYS_PARAM_H */
21627 # endif /* no _SC_PAGESIZE */
21629 #endif /* no HAVE_GETPAGESIZE */
21632 extern "C" { void *malloc(unsigned); }
21640 char *data, *data2, *data3;
21644 pagesize = getpagesize();
21647 * First, make a file with some known garbage in it.
21649 data = malloc(pagesize);
21652 for (i = 0; i < pagesize; ++i)
21653 *(data + i) = rand();
21655 fd = creat("conftestmmap", 0600);
21658 if (write(fd, data, pagesize) != pagesize)
21663 * Next, try to mmap the file at a fixed address which
21664 * already has something else allocated at it. If we can,
21665 * also make sure that we see the same garbage.
21667 fd = open("conftestmmap", O_RDWR);
21670 data2 = malloc(2 * pagesize);
21673 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21674 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21675 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21677 for (i = 0; i < pagesize; ++i)
21678 if (*(data + i) != *(data2 + i))
21682 * Finally, make sure that changes to the mapped area
21683 * do not percolate back to the file as seen by read().
21684 * (This is a bug on some variants of i386 svr4.0.)
21686 for (i = 0; i < pagesize; ++i)
21687 *(data2 + i) = *(data2 + i) + 1;
21688 data3 = malloc(pagesize);
21691 if (read(fd, data3, pagesize) != pagesize)
21693 for (i = 0; i < pagesize; ++i)
21694 if (*(data + i) != *(data3 + i))
21697 unlink("conftestmmap");
21702 if { (eval echo configure:21703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21704 ac_cv_func_mmap_fixed_mapped=yes
21706 echo "configure: failed program was:" >&5
21707 cat conftest.$ac_ext >&5
21709 ac_cv_func_mmap_fixed_mapped=no
21716 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21717 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21718 cat >> confdefs.h <<\EOF
21719 #define HAVE_MMAP 1
21725 # Establish limits on memory usage during 'make check'
21728 setrlimit_have_headers=yes
21729 for ac_hdr in unistd.h sys/time.h sys/resource.h
21731 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21733 echo "configure:21734: checking for $ac_hdr" >&5
21734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21735 echo $ac_n "(cached) $ac_c" 1>&6
21737 cat > conftest.$ac_ext <<EOF
21738 #line 21739 "configure"
21739 #include "confdefs.h"
21742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21743 { (eval echo configure:21744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21745 if test -z "$ac_err"; then
21747 eval "ac_cv_header_$ac_safe=yes"
21750 echo "configure: failed program was:" >&5
21751 cat conftest.$ac_ext >&5
21753 eval "ac_cv_header_$ac_safe=no"
21757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21758 echo "$ac_t""yes" 1>&6
21759 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21760 cat >> confdefs.h <<EOF
21761 #define $ac_tr_hdr 1
21765 echo "$ac_t""no" 1>&6
21766 setrlimit_have_headers=no
21770 # If don't have the headers, then we can't run the tests now, and we
21771 # won't be seeing any of these during testsuite compilation.
21772 if test $setrlimit_have_headers = yes; then
21773 # Can't do these in a loop, else the resulting syntax is wrong.
21775 cat > conftest.$ac_ext <<EOF
21776 #line 21777 "configure"
21777 #include "confdefs.h"
21778 #include <unistd.h>
21779 #include <sys/time.h>
21780 #include <sys/resource.h>
21783 int f = RLIMIT_DATA ;
21786 if { (eval echo configure:21787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21790 echo "configure: failed program was:" >&5
21791 cat conftest.$ac_ext >&5
21796 cat >> confdefs.h <<EOF
21797 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21802 cat > conftest.$ac_ext <<EOF
21803 #line 21804 "configure"
21804 #include "confdefs.h"
21805 #include <unistd.h>
21806 #include <sys/time.h>
21807 #include <sys/resource.h>
21810 int f = RLIMIT_RSS ;
21813 if { (eval echo configure:21814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21817 echo "configure: failed program was:" >&5
21818 cat conftest.$ac_ext >&5
21823 cat >> confdefs.h <<EOF
21824 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21829 cat > conftest.$ac_ext <<EOF
21830 #line 21831 "configure"
21831 #include "confdefs.h"
21832 #include <unistd.h>
21833 #include <sys/time.h>
21834 #include <sys/resource.h>
21837 int f = RLIMIT_VMEM ;
21840 if { (eval echo configure:21841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21844 echo "configure: failed program was:" >&5
21845 cat conftest.$ac_ext >&5
21850 cat >> confdefs.h <<EOF
21851 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21856 cat > conftest.$ac_ext <<EOF
21857 #line 21858 "configure"
21858 #include "confdefs.h"
21859 #include <unistd.h>
21860 #include <sys/time.h>
21861 #include <sys/resource.h>
21864 int f = RLIMIT_AS ;
21867 if { (eval echo configure:21868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21871 echo "configure: failed program was:" >&5
21872 cat conftest.$ac_ext >&5
21877 cat >> confdefs.h <<EOF
21878 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21883 # Check for rlimit, setrlimit.
21884 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21885 echo $ac_n "(cached) $ac_c" 1>&6
21888 cat > conftest.$ac_ext <<EOF
21889 #line 21890 "configure"
21890 #include "confdefs.h"
21891 #include <unistd.h>
21892 #include <sys/time.h>
21893 #include <sys/resource.h>
21896 struct rlimit r; setrlimit(0, &r);
21899 if { (eval echo configure:21900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21903 echo "configure: failed program was:" >&5
21904 cat conftest.$ac_ext >&5
21914 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21915 echo "configure:21916: checking for testsuite memory limit support" >&5
21916 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21918 cat >> confdefs.h <<\EOF
21919 #define _GLIBCPP_MEM_LIMITS 1
21925 echo "$ac_t""$ac_mem_limits" 1>&6
21928 # Look for setenv, so that extended locale tests can be performed.
21930 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21931 echo "configure:21932: checking for setenv declaration" >&5
21932 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21933 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21934 echo $ac_n "(cached) $ac_c" 1>&6
21939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21940 ac_cpp='$CXXCPP $CPPFLAGS'
21941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21943 cross_compiling=$ac_cv_prog_cxx_cross
21945 cat > conftest.$ac_ext <<EOF
21946 #line 21947 "configure"
21947 #include "confdefs.h"
21948 #include <stdlib.h>
21953 if { (eval echo configure:21954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21955 glibcpp_cv_func_setenv_use=yes
21957 echo "configure: failed program was:" >&5
21958 cat conftest.$ac_ext >&5
21960 glibcpp_cv_func_setenv_use=no
21964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21965 ac_cpp='$CPP $CPPFLAGS'
21966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21968 cross_compiling=$ac_cv_prog_cc_cross
21974 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21975 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21976 for ac_func in setenv
21978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21979 echo "configure:21980: checking for $ac_func" >&5
21980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21981 echo $ac_n "(cached) $ac_c" 1>&6
21983 cat > conftest.$ac_ext <<EOF
21984 #line 21985 "configure"
21985 #include "confdefs.h"
21986 /* System header to define __stub macros and hopefully few prototypes,
21987 which can conflict with char $ac_func(); below. */
21988 #include <assert.h>
21989 /* Override any gcc2 internal prototype to avoid an error. */
21990 /* We use char because int might match the return type of a gcc2
21991 builtin and then its argument prototype would still apply. */
21996 /* The GNU C library defines this for functions which it implements
21997 to always fail with ENOSYS. Some functions are actually named
21998 something starting with __ and the normal name is an alias. */
21999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22007 if { (eval echo configure:22008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22009 eval "ac_cv_func_$ac_func=yes"
22011 echo "configure: failed program was:" >&5
22012 cat conftest.$ac_ext >&5
22014 eval "ac_cv_func_$ac_func=no"
22019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22020 echo "$ac_t""yes" 1>&6
22021 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22022 cat >> confdefs.h <<EOF
22023 #define $ac_tr_func 1
22027 echo "$ac_t""no" 1>&6
22036 # This depends on the possibly-skipped linker test above.
22037 # Check whether --enable-symvers or --disable-symvers was given.
22038 if test "${enable_symvers+set}" = set; then
22039 enableval="$enable_symvers"
22040 case "$enableval" in
22041 yes) enable_symvers=yes ;;
22042 no) enable_symvers=no ;;
22043 # other names here, just as sanity checks
22044 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22045 gnu) enable_symvers=$enableval ;;
22046 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22052 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22053 # don't know enough about $LD to do tricks...
22054 if test x$enable_shared = xno ||
22056 test x$glibcpp_gnu_ld_version = x; then
22060 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22061 if test $enable_symvers != no; then
22062 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22063 echo "configure:22064: checking for shared libgcc" >&5
22064 ac_save_CFLAGS="$CFLAGS"
22066 cat > conftest.$ac_ext <<EOF
22067 #line 22068 "configure"
22068 #include "confdefs.h"
22074 if { (eval echo configure:22075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22076 glibcpp_shared_libgcc=yes
22078 echo "configure: failed program was:" >&5
22079 cat conftest.$ac_ext >&5
22081 glibcpp_shared_libgcc=no
22084 CFLAGS="$ac_save_CFLAGS"
22085 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22088 # For GNU ld, we need at least this version. It's 2.12 in the same format
22089 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22090 glibcpp_min_gnu_ld_version=21200
22092 # Check to see if unspecified "yes" value can win, given results
22094 if test $enable_symvers = yes ; then
22095 if test $with_gnu_ld = yes &&
22096 test $glibcpp_shared_libgcc = yes ;
22098 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22101 ac_test_CFLAGS="${CFLAGS+set}"
22102 ac_save_CFLAGS="$CFLAGS"
22103 CFLAGS='-shared -Wl,--version-script,conftest.map'
22106 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22108 cat > conftest.$ac_ext <<EOF
22109 #line 22110 "configure"
22110 #include "confdefs.h"
22116 if { (eval echo configure:22117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22120 echo "configure: failed program was:" >&5
22121 cat conftest.$ac_ext >&5
22124 if test "$ac_test_CFLAGS" = set; then
22125 CFLAGS="$ac_save_CFLAGS"
22127 # this is the suspicious part
22133 # just fail for now
22138 case $enable_symvers in
22140 LINKER_MAP=config/linker-map.dummy
22143 LINKER_MAP=config/linker-map.gnu
22150 if test $enable_symvers != no; then
22151 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22152 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22154 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22155 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22157 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22158 echo "configure:22159: checking versioning on shared library symbols" >&5
22159 echo "$ac_t""$enable_symvers" 1>&6
22162 # Propagate the target-specific source directories through the build chain.
22163 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22164 # CPULIMITSH [might] use it, and they only get used here.)
22165 OS_INC_SRCDIR=config/${os_include_dir}
22166 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22167 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22172 # Set up cross-compile flags
22175 if test "$CANADIAN" = yes; then
22183 cat > confcache <<\EOF
22184 # This file is a shell script that caches the results of configure
22185 # tests run on this system so they can be shared between configure
22186 # scripts and configure runs. It is not useful on other systems.
22187 # If it contains results you don't want to keep, you may remove or edit it.
22189 # By default, configure uses ./config.cache as the cache file,
22190 # creating it if it does not exist already. You can give configure
22191 # the --cache-file=FILE option to use a different cache file; that is
22192 # what configure does when it calls configure scripts in
22193 # subdirectories, so they share the cache.
22194 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22195 # config.status only pays attention to the cache file if you give it the
22196 # --recheck option to rerun configure.
22199 # The following way of writing the cache mishandles newlines in values,
22200 # but we know of no workaround that is simple, portable, and efficient.
22201 # So, don't put newlines in cache variables' values.
22202 # Ultrix sh set writes to stderr and can't be redirected directly,
22203 # and sets the high bit in the cache file unless we assign to the vars.
22205 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22207 # `set' does not quote correctly, so add quotes (double-quote substitution
22208 # turns \\\\ into \\, and sed turns \\ into \).
22210 -e "s/'/'\\\\''/g" \
22211 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22214 # `set' quotes correctly as required by POSIX, so do not add quotes.
22215 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22218 if cmp -s $cache_file confcache; then
22221 if test -w $cache_file; then
22222 echo "updating cache $cache_file"
22223 cat confcache > $cache_file
22225 echo "not updating unwritable cache $cache_file"
22231 if test "${multilib}" = "yes"; then
22232 multilib_arg="--enable-multilib"
22237 # Export all the install information
22239 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22240 # exported correctly in GLIBCPP_CONFIGURE.
22241 glibcpp_toolexecdir=no
22242 glibcpp_toolexeclibdir=no
22243 glibcpp_prefixdir=${prefix}
22245 # Process the option --with-gxx-include-dir=<path to include-files directory>
22246 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22247 echo "configure:22248: checking for --with-gxx-include-dir" >&5
22248 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22249 if test "${with_gxx_include_dir+set}" = set; then
22250 withval="$with_gxx_include_dir"
22251 case "${withval}" in
22253 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22260 gxx_include_dir=${withval}
22267 echo "$ac_t""$gxx_include_dir" 1>&6
22269 # Process the option "--enable-version-specific-runtime-libs"
22270 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22271 echo "configure:22272: checking for --enable-version-specific-runtime-libs" >&5
22272 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22273 if test "${enable_version_specific_runtime_libs+set}" = set; then
22274 enableval="$enable_version_specific_runtime_libs"
22275 case "$enableval" in
22276 yes) version_specific_libs=yes ;;
22277 no) version_specific_libs=no ;;
22278 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22281 version_specific_libs=no
22283 # Option set, now we can test it.
22284 echo "$ac_t""$version_specific_libs" 1>&6
22286 # Default case for install directory for include files.
22287 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22288 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22291 # Version-specific runtime libs processing.
22292 if test $version_specific_libs = yes; then
22293 # Need the gcc compiler version to know where to install libraries
22294 # and header files if --enable-version-specific-runtime-libs option
22296 if test x"$gxx_include_dir" = x"no"; then
22297 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22299 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22300 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22303 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22304 # Install a library built with a cross compiler in tooldir, not libdir.
22305 if test x"$glibcpp_toolexecdir" = x"no"; then
22306 if test -n "$with_cross_host" &&
22307 test x"$with_cross_host" != x"no"; then
22308 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22309 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22311 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22312 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22316 echo $ac_n "checking for install location""... $ac_c" 1>&6
22317 echo "configure:22318: checking for install location" >&5
22318 echo "$ac_t""$gxx_include_dir" 1>&6
22326 # Export all the include and flag information to makefiles.
22328 # Root level of the build directory include sources.
22329 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22331 # Passed down for canadian crosses.
22332 if test x"$CANADIAN" = xyes; then
22333 TOPLEVEL_INCLUDES='-I$(includedir)'
22336 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22338 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22340 if test x"$need_libio" = xyes; then
22341 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22345 # Now, export this to all the little Makefiles....
22352 # Optimization flags that are probably a good idea for thrill-seekers. Just
22353 # uncomment the lines below and make, everything else is ready to go...
22354 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22358 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22362 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22363 grep "enable shared" > /dev/null; then
22364 LIBSUPCXX_PICFLAGS=-prefer-pic
22366 LIBSUPCXX_PICFLAGS=
22370 # Generate the various Makefiles, include files, and scripts.
22371 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22372 # and libsupc++/Makefile.am so that multilib installs will end up
22373 # installed in the correct place. To work around this not being passed
22374 # down from config-ml.in -> top_srcdir/Makefile.am ->
22375 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22377 cat > confcache <<\EOF
22378 # This file is a shell script that caches the results of configure
22379 # tests run on this system so they can be shared between configure
22380 # scripts and configure runs. It is not useful on other systems.
22381 # If it contains results you don't want to keep, you may remove or edit it.
22383 # By default, configure uses ./config.cache as the cache file,
22384 # creating it if it does not exist already. You can give configure
22385 # the --cache-file=FILE option to use a different cache file; that is
22386 # what configure does when it calls configure scripts in
22387 # subdirectories, so they share the cache.
22388 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22389 # config.status only pays attention to the cache file if you give it the
22390 # --recheck option to rerun configure.
22393 # The following way of writing the cache mishandles newlines in values,
22394 # but we know of no workaround that is simple, portable, and efficient.
22395 # So, don't put newlines in cache variables' values.
22396 # Ultrix sh set writes to stderr and can't be redirected directly,
22397 # and sets the high bit in the cache file unless we assign to the vars.
22399 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22401 # `set' does not quote correctly, so add quotes (double-quote substitution
22402 # turns \\\\ into \\, and sed turns \\ into \).
22404 -e "s/'/'\\\\''/g" \
22405 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22408 # `set' quotes correctly as required by POSIX, so do not add quotes.
22409 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22412 if cmp -s $cache_file confcache; then
22415 if test -w $cache_file; then
22416 echo "updating cache $cache_file"
22417 cat confcache > $cache_file
22419 echo "not updating unwritable cache $cache_file"
22424 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22426 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22427 # Let make expand exec_prefix.
22428 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22430 # Any assignment to VPATH causes Sun make to only execute
22431 # the first set of double-colon rules, so remove it if not needed.
22432 # If there is a colon in the path, we need to keep it.
22433 if test "x$srcdir" = x.; then
22434 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22437 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22439 DEFS=-DHAVE_CONFIG_H
22441 # Without the "./", some shells look in PATH for config.status.
22442 : ${CONFIG_STATUS=./config.status}
22444 echo creating $CONFIG_STATUS
22445 rm -f $CONFIG_STATUS
22446 cat > $CONFIG_STATUS <<EOF
22448 # Generated automatically by configure.
22449 # Run this file to recreate the current configuration.
22450 # This directory was configured as follows,
22451 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22453 # $0 $ac_configure_args
22455 # Compiler output produced by configure, useful for debugging
22456 # configure, is in ./config.log if it exists.
22458 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22461 case "\$ac_option" in
22462 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22463 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22464 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22465 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22466 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22468 -help | --help | --hel | --he | --h)
22469 echo "\$ac_cs_usage"; exit 0 ;;
22470 *) echo "\$ac_cs_usage"; exit 1 ;;
22474 ac_given_srcdir=$srcdir
22475 ac_given_INSTALL="$INSTALL"
22477 trap 'rm -fr `echo "Makefile \
22478 include/Makefile src/Makefile \
22479 libmath/Makefile libio/Makefile libsupc++/Makefile \
22480 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22482 cat >> $CONFIG_STATUS <<EOF
22484 # Protect against being on the right side of a sed subst in config.status.
22485 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22486 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22490 s%@CFLAGS@%$CFLAGS%g
22491 s%@CPPFLAGS@%$CPPFLAGS%g
22492 s%@CXXFLAGS@%$CXXFLAGS%g
22493 s%@FFLAGS@%$FFLAGS%g
22495 s%@LDFLAGS@%$LDFLAGS%g
22497 s%@exec_prefix@%$exec_prefix%g
22498 s%@prefix@%$prefix%g
22499 s%@program_transform_name@%$program_transform_name%g
22500 s%@bindir@%$bindir%g
22501 s%@sbindir@%$sbindir%g
22502 s%@libexecdir@%$libexecdir%g
22503 s%@datadir@%$datadir%g
22504 s%@sysconfdir@%$sysconfdir%g
22505 s%@sharedstatedir@%$sharedstatedir%g
22506 s%@localstatedir@%$localstatedir%g
22507 s%@libdir@%$libdir%g
22508 s%@includedir@%$includedir%g
22509 s%@oldincludedir@%$oldincludedir%g
22510 s%@infodir@%$infodir%g
22511 s%@mandir@%$mandir%g
22512 s%@PACKAGE@%$PACKAGE%g
22513 s%@libtool_VERSION@%$libtool_VERSION%g
22514 s%@toplevel_srcdir@%$toplevel_srcdir%g
22516 s%@host_alias@%$host_alias%g
22517 s%@host_cpu@%$host_cpu%g
22518 s%@host_vendor@%$host_vendor%g
22519 s%@host_os@%$host_os%g
22520 s%@target@%$target%g
22521 s%@target_alias@%$target_alias%g
22522 s%@target_cpu@%$target_cpu%g
22523 s%@target_vendor@%$target_vendor%g
22524 s%@target_os@%$target_os%g
22526 s%@build_alias@%$build_alias%g
22527 s%@build_cpu@%$build_cpu%g
22528 s%@build_vendor@%$build_vendor%g
22529 s%@build_os@%$build_os%g
22530 s%@glibcpp_builddir@%$glibcpp_builddir%g
22531 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22534 s%@glibcpp_basedir@%$glibcpp_basedir%g
22536 s%@glibcpp_CXX@%$glibcpp_CXX%g
22539 s%@RANLIB@%$RANLIB%g
22540 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22541 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22542 s%@INSTALL_DATA@%$INSTALL_DATA%g
22543 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22544 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22546 s%@EXEEXT@%$EXEEXT%g
22547 s%@VERSION@%$VERSION%g
22548 s%@ACLOCAL@%$ACLOCAL%g
22549 s%@AUTOCONF@%$AUTOCONF%g
22550 s%@AUTOMAKE@%$AUTOMAKE%g
22551 s%@AUTOHEADER@%$AUTOHEADER%g
22552 s%@MAKEINFO@%$MAKEINFO%g
22553 s%@SET_MAKE@%$SET_MAKE%g
22554 s%@OBJEXT@%$OBJEXT%g
22556 s%@LIBTOOL@%$LIBTOOL%g
22557 s%@CXXCPP@%$CXXCPP%g
22558 s%@enable_shared@%$enable_shared%g
22559 s%@enable_static@%$enable_static%g
22560 s%@ifGNUmake@%$ifGNUmake%g
22561 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22563 s%@CSTDIO_H@%$CSTDIO_H%g
22564 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22565 s%@CCODECVT_C@%$CCODECVT_C%g
22566 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22567 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22568 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22569 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22570 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22571 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22572 s%@libio_la@%$libio_la%g
22573 s%@check_msgfmt@%$check_msgfmt%g
22574 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22575 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22576 s%@glibcpp_localedir@%$glibcpp_localedir%g
22577 s%@USE_NLS@%$USE_NLS%g
22578 s%@CLOCALE_H@%$CLOCALE_H%g
22579 s%@CCODECVT_H@%$CCODECVT_H%g
22580 s%@CMESSAGES_H@%$CMESSAGES_H%g
22581 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22582 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22583 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22584 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22585 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22586 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22587 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22588 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22589 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22590 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22591 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22592 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22593 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22594 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22595 s%@WERROR@%$WERROR%g
22596 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22597 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22598 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22599 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22600 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22601 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22602 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22603 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22604 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22605 s%@gxx_include_dir@%$gxx_include_dir%g
22606 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22607 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22608 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22609 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22610 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22611 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22612 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22613 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22614 s%@WARN_FLAGS@%$WARN_FLAGS%g
22615 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22620 cat >> $CONFIG_STATUS <<\EOF
22622 # Split the substitutions into bite-sized pieces for seds with
22623 # small command number limits, like on Digital OSF/1 and HP-UX.
22624 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22625 ac_file=1 # Number of current file.
22626 ac_beg=1 # First line for current file.
22627 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22630 while $ac_more_lines; do
22631 if test $ac_beg -gt 1; then
22632 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22634 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22636 if test ! -s conftest.s$ac_file; then
22637 ac_more_lines=false
22638 rm -f conftest.s$ac_file
22640 if test -z "$ac_sed_cmds"; then
22641 ac_sed_cmds="sed -f conftest.s$ac_file"
22643 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22645 ac_file=`expr $ac_file + 1`
22647 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22650 if test -z "$ac_sed_cmds"; then
22655 cat >> $CONFIG_STATUS <<EOF
22657 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22658 include/Makefile src/Makefile \
22659 libmath/Makefile libio/Makefile libsupc++/Makefile \
22660 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22662 cat >> $CONFIG_STATUS <<\EOF
22663 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22664 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22666 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22667 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22668 *) ac_file_in="${ac_file}.in" ;;
22671 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22673 # Remove last slash and all that follows it. Not all systems have dirname.
22674 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22675 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22676 # The file is in a subdirectory.
22677 test ! -d "$ac_dir" && mkdir "$ac_dir"
22678 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22679 # A "../" for each directory in $ac_dir_suffix.
22680 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22682 ac_dir_suffix= ac_dots=
22685 case "$ac_given_srcdir" in
22687 if test -z "$ac_dots"; then top_srcdir=.
22688 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22689 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22690 *) # Relative path.
22691 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22692 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22695 case "$ac_given_INSTALL" in
22696 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22697 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22700 echo creating "$ac_file"
22702 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22704 *Makefile*) ac_comsub="1i\\
22705 # $configure_input" ;;
22709 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22711 s%@configure_input@%$configure_input%g
22712 s%@srcdir@%$srcdir%g
22713 s%@top_srcdir@%$top_srcdir%g
22714 s%@INSTALL@%$INSTALL%g
22715 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22719 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22720 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22722 # ac_d sets the value in "#define NAME VALUE" lines.
22723 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22724 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22727 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22728 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22729 ac_uB='\([ ]\)%\1#\2define\3'
22732 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22733 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22734 ac_eB='$%\1#\2define\3'
22738 if test "${CONFIG_HEADERS+set}" != set; then
22740 cat >> $CONFIG_STATUS <<EOF
22741 CONFIG_HEADERS="config.h"
22743 cat >> $CONFIG_STATUS <<\EOF
22745 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22746 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22748 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22749 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22750 *) ac_file_in="${ac_file}.in" ;;
22753 echo creating $ac_file
22755 rm -f conftest.frag conftest.in conftest.out
22756 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22757 cat $ac_file_inputs > conftest.in
22761 # Transform confdefs.h into a sed script conftest.vals that substitutes
22762 # the proper values into config.h.in to produce config.h. And first:
22763 # Protect against being on the right side of a sed subst in config.status.
22764 # Protect against being in an unquoted here document in config.status.
22765 rm -f conftest.vals
22766 cat > conftest.hdr <<\EOF
22769 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22773 sed -n -f conftest.hdr confdefs.h > conftest.vals
22776 # This sed command replaces #undef with comments. This is necessary, for
22777 # example, in the case of _POSIX_SOURCE, which is predefined and required
22778 # on some systems where configure will not decide to define it.
22779 cat >> conftest.vals <<\EOF
22780 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22783 # Break up conftest.vals because some shells have a limit on
22784 # the size of here documents, and old seds have small limits too.
22786 rm -f conftest.tail
22789 ac_lines=`grep -c . conftest.vals`
22790 # grep -c gives empty output for an empty file on some AIX systems.
22791 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22792 # Write a limited-size here document to conftest.frag.
22793 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22794 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22796 sed -f conftest.frag conftest.in > conftest.out
22798 mv conftest.out conftest.in
22799 ' >> $CONFIG_STATUS
22800 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22801 rm -f conftest.vals
22802 mv conftest.tail conftest.vals
22804 rm -f conftest.vals
22806 cat >> $CONFIG_STATUS <<\EOF
22807 rm -f conftest.frag conftest.h
22808 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22809 cat conftest.in >> conftest.h
22811 if cmp -s $ac_file conftest.h 2>/dev/null; then
22812 echo "$ac_file is unchanged"
22815 # Remove last slash and all that follows it. Not all systems have dirname.
22816 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22817 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22818 # The file is in a subdirectory.
22819 test ! -d "$ac_dir" && mkdir "$ac_dir"
22822 mv conftest.h $ac_file
22828 cat >> $CONFIG_STATUS <<EOF
22829 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22830 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/linker.map"
22833 cat >> $CONFIG_STATUS <<\EOF
22834 srcdir=$ac_given_srcdir
22835 while test -n "$ac_sources"; do
22836 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22837 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22839 echo "linking $srcdir/$ac_source to $ac_dest"
22841 if test ! -r $srcdir/$ac_source; then
22842 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22846 # Make relative symlinks.
22847 # Remove last slash and all that follows it. Not all systems have dirname.
22848 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22849 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22850 # The dest file is in a subdirectory.
22851 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22852 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22853 # A "../" for each directory in $ac_dest_dir_suffix.
22854 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22856 ac_dest_dir_suffix= ac_dots=
22860 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22861 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22864 # Make a symlink if possible; otherwise try a hard link.
22865 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22866 ln $srcdir/$ac_source $ac_dest; then :
22868 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22872 cat >> $CONFIG_STATUS <<EOF
22877 with_multisubdir=${with_multisubdir}
22878 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22879 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22880 glibcpp_basedir=${glibcpp_basedir}
22885 cat >> $CONFIG_STATUS <<\EOF
22886 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22887 if test -n "$CONFIG_FILES"; then
22888 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22889 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22890 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22891 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22894 chmod +x testsuite_flags
22898 chmod +x $CONFIG_STATUS
22899 rm -fr confdefs* $ac_clean_files
22900 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22904 # Sanity checking & User-visible messages.
22905 # Checks down here, otherwise they get scrolled off before
22906 # the user will notice.
22908 # Trying to get more people to read documentation. Possibly remove
22909 # check and warn all the time. There is no "informational" AC_MSG_
22910 # macro, so these are going to be printed even when --quiet/--silent
22912 if test ! -f stamp-sanity-warned; then
22913 touch stamp-sanity-warned
22915 echo "Please make certain that you read the installation information here:"
22916 echo " faster => ${srcdir}/docs/html/install.html"
22917 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22919 echo "and the configuration information here:"
22920 echo " faster => ${srcdir}/docs/html/configopts.html"
22921 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22923 echo "before proceeding with ${_cv_gnu_make_command}."