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.
1191 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1192 echo "configure:1193: checking for strerror in -lcposix" >&5
1193 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1195 echo $ac_n "(cached) $ac_c" 1>&6
1197 ac_save_LIBS="$LIBS"
1198 LIBS="-lcposix $LIBS"
1199 cat > conftest.$ac_ext <<EOF
1200 #line 1201 "configure"
1201 #include "confdefs.h"
1202 /* Override any gcc2 internal prototype to avoid an error. */
1203 /* We use char because int might match the return type of a gcc2
1204 builtin and then its argument prototype would still apply. */
1211 if { (eval echo configure:1212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1213 eval "ac_cv_lib_$ac_lib_var=yes"
1215 echo "configure: failed program was:" >&5
1216 cat conftest.$ac_ext >&5
1218 eval "ac_cv_lib_$ac_lib_var=no"
1221 LIBS="$ac_save_LIBS"
1224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1225 echo "$ac_t""yes" 1>&6
1226 LIBS="$LIBS -lcposix"
1228 echo "$ac_t""no" 1>&6
1234 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1235 set dummy ${ac_tool_prefix}as; ac_word=$2
1236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1237 echo "configure:1238: checking for $ac_word" >&5
1238 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1239 echo $ac_n "(cached) $ac_c" 1>&6
1241 if test -n "$AS"; then
1242 ac_cv_prog_AS="$AS" # Let the user override the test.
1244 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1246 for ac_dir in $ac_dummy; do
1247 test -z "$ac_dir" && ac_dir=.
1248 if test -f $ac_dir/$ac_word; then
1249 ac_cv_prog_AS="${ac_tool_prefix}as"
1254 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1258 if test -n "$AS"; then
1259 echo "$ac_t""$AS" 1>&6
1261 echo "$ac_t""no" 1>&6
1266 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}ar; ac_word=$2
1268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1269 echo "configure:1270: checking for $ac_word" >&5
1270 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1271 echo $ac_n "(cached) $ac_c" 1>&6
1273 if test -n "$AR"; then
1274 ac_cv_prog_AR="$AR" # Let the user override the test.
1276 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1278 for ac_dir in $ac_dummy; do
1279 test -z "$ac_dir" && ac_dir=.
1280 if test -f $ac_dir/$ac_word; then
1281 ac_cv_prog_AR="${ac_tool_prefix}ar"
1286 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1290 if test -n "$AR"; then
1291 echo "$ac_t""$AR" 1>&6
1293 echo "$ac_t""no" 1>&6
1298 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1299 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1301 echo "configure:1302: checking for $ac_word" >&5
1302 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1303 echo $ac_n "(cached) $ac_c" 1>&6
1305 if test -n "$RANLIB"; then
1306 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1310 for ac_dir in $ac_dummy; do
1311 test -z "$ac_dir" && ac_dir=.
1312 if test -f $ac_dir/$ac_word; then
1313 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1320 RANLIB="$ac_cv_prog_RANLIB"
1321 if test -n "$RANLIB"; then
1322 echo "$ac_t""$RANLIB" 1>&6
1324 echo "$ac_t""no" 1>&6
1328 if test -z "$ac_cv_prog_RANLIB"; then
1329 if test -n "$ac_tool_prefix"; then
1330 # Extract the first word of "ranlib", so it can be a program name with args.
1331 set dummy ranlib; ac_word=$2
1332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1333 echo "configure:1334: checking for $ac_word" >&5
1334 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1337 if test -n "$RANLIB"; then
1338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1340 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1342 for ac_dir in $ac_dummy; do
1343 test -z "$ac_dir" && ac_dir=.
1344 if test -f $ac_dir/$ac_word; then
1345 ac_cv_prog_RANLIB="ranlib"
1350 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1353 RANLIB="$ac_cv_prog_RANLIB"
1354 if test -n "$RANLIB"; then
1355 echo "$ac_t""$RANLIB" 1>&6
1357 echo "$ac_t""no" 1>&6
1361 RANLIB="ranlib-not-found-in-path-error"
1365 # Find a good install program. We prefer a C program (faster),
1366 # so one script is as good as another. But avoid the broken or
1367 # incompatible versions:
1368 # SysV /etc/install, /usr/sbin/install
1369 # SunOS /usr/etc/install
1370 # IRIX /sbin/install
1372 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1373 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1374 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1375 # ./install, which can be erroneously created by make from ./install.sh.
1376 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1377 echo "configure:1378: checking for a BSD compatible install" >&5
1378 if test -z "$INSTALL"; then
1379 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1382 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1383 for ac_dir in $PATH; do
1384 # Account for people who put trailing slashes in PATH elements.
1386 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1388 # OSF1 and SCO ODT 3.0 have their own names for install.
1389 # Don't use installbsd from OSF since it installs stuff as root
1391 for ac_prog in ginstall scoinst install; do
1392 if test -f $ac_dir/$ac_prog; then
1393 if test $ac_prog = install &&
1394 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1395 # AIX install. It has an incompatible calling convention.
1398 ac_cv_path_install="$ac_dir/$ac_prog -c"
1409 if test "${ac_cv_path_install+set}" = set; then
1410 INSTALL="$ac_cv_path_install"
1412 # As a last resort, use the slow shell script. We don't cache a
1413 # path for INSTALL within a source directory, because that will
1414 # break other packages using the cache if that directory is
1415 # removed, or if the path is relative.
1416 INSTALL="$ac_install_sh"
1419 echo "$ac_t""$INSTALL" 1>&6
1421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1422 # It thinks the first close brace ends the variable substitution.
1423 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1425 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1427 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1430 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1431 echo "configure:1432: checking whether to enable maintainer-specific portions of Makefiles" >&5
1432 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1433 if test "${enable_maintainer_mode+set}" = set; then
1434 enableval="$enable_maintainer_mode"
1435 USE_MAINTAINER_MODE=$enableval
1437 USE_MAINTAINER_MODE=no
1440 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1443 if test $USE_MAINTAINER_MODE = yes; then
1444 MAINTAINER_MODE_TRUE=
1445 MAINTAINER_MODE_FALSE='#'
1447 MAINTAINER_MODE_TRUE='#'
1448 MAINTAINER_MODE_FALSE=
1450 MAINT=$MAINTAINER_MODE_TRUE
1454 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1455 # at least currently, we never actually build a program, so we never
1456 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1457 # fails, because we are probably configuring with a cross compiler
1458 # which can't create executables. So we include AC_EXEEXT to keep
1459 # automake happy, but we don't execute it, since we don't care about
1462 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1463 # to nothing, so nothing would remain between `then' and `fi' if it
1464 # were not for the `:' below.
1468 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1469 echo "configure:1470: checking for executable suffix" >&5
1470 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1471 echo $ac_n "(cached) $ac_c" 1>&6
1473 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1477 echo 'int main () { return 0; }' > conftest.$ac_ext
1479 if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1480 for file in conftest.*; do
1482 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1483 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1487 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1490 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1495 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1496 echo "$ac_t""${ac_cv_exeext}" 1>&6
1501 case ${glibcpp_basedir} in
1502 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1503 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1506 # Find platform-specific directories containing configuration info. In
1507 # addition to possibly modifying the same flags, it also sets up symlinks.
1509 . ${glibcpp_basedir}/configure.target
1510 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1511 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1515 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1516 echo "configure:1517: checking whether build environment is sane" >&5
1519 echo timestamp > conftestfile
1520 # Do `set' in a subshell so we don't clobber the current shell's
1521 # arguments. Must try -L first in case configure is actually a
1522 # symlink; some systems play weird games with the mod time of symlinks
1523 # (eg FreeBSD returns the mod time of the symlink's containing
1526 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1527 if test "$*" = "X"; then
1529 set X `ls -t $srcdir/configure conftestfile`
1531 if test "$*" != "X $srcdir/configure conftestfile" \
1532 && test "$*" != "X conftestfile $srcdir/configure"; then
1534 # If neither matched, then we have a broken ls. This can happen
1535 # if, for instance, CONFIG_SHELL is bash and it inherits a
1536 # broken ls alias from the environment. This has actually
1537 # happened. Such a system could not be considered "sane".
1538 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1539 alias in your environment" 1>&2; exit 1; }
1542 test "$2" = conftestfile
1548 { echo "configure: error: newly created file is older than distributed files!
1549 Check your system clock" 1>&2; exit 1; }
1552 echo "$ac_t""yes" 1>&6
1553 if test "$program_transform_name" = s,x,x,; then
1554 program_transform_name=
1556 # Double any \ or $. echo might interpret backslashes.
1557 cat <<\EOF_SED > conftestsed
1558 s,\\,\\\\,g; s,\$,$$,g
1560 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1563 test "$program_prefix" != NONE &&
1564 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1565 # Use a double $ so make ignores it.
1566 test "$program_suffix" != NONE &&
1567 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1569 # sed with no file args requires a program.
1570 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1572 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1573 echo "configure:1574: checking whether ${MAKE-make} sets \${MAKE}" >&5
1574 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1575 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1576 echo $ac_n "(cached) $ac_c" 1>&6
1578 cat > conftestmake <<\EOF
1580 @echo 'ac_maketemp="${MAKE}"'
1582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1583 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1584 if test -n "$ac_maketemp"; then
1585 eval ac_cv_prog_make_${ac_make}_set=yes
1587 eval ac_cv_prog_make_${ac_make}_set=no
1591 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1592 echo "$ac_t""yes" 1>&6
1595 echo "$ac_t""no" 1>&6
1596 SET_MAKE="MAKE=${MAKE-make}"
1602 VERSION=$gcc_version
1604 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1605 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1607 cat >> confdefs.h <<EOF
1608 #define PACKAGE "$PACKAGE"
1611 cat >> confdefs.h <<EOF
1612 #define VERSION "$VERSION"
1617 missing_dir=`cd $ac_aux_dir && pwd`
1618 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1619 echo "configure:1620: checking for working aclocal" >&5
1620 # Run test in a subshell; some versions of sh will print an error if
1621 # an executable is not found, even if stderr is redirected.
1622 # Redirect stdin to placate older versions of autoconf. Sigh.
1623 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1625 echo "$ac_t""found" 1>&6
1627 ACLOCAL="$missing_dir/missing aclocal"
1628 echo "$ac_t""missing" 1>&6
1631 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1632 echo "configure:1633: checking for working autoconf" >&5
1633 # Run test in a subshell; some versions of sh will print an error if
1634 # an executable is not found, even if stderr is redirected.
1635 # Redirect stdin to placate older versions of autoconf. Sigh.
1636 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1638 echo "$ac_t""found" 1>&6
1640 AUTOCONF="$missing_dir/missing autoconf"
1641 echo "$ac_t""missing" 1>&6
1644 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1645 echo "configure:1646: checking for working automake" >&5
1646 # Run test in a subshell; some versions of sh will print an error if
1647 # an executable is not found, even if stderr is redirected.
1648 # Redirect stdin to placate older versions of autoconf. Sigh.
1649 if (automake --version) < /dev/null > /dev/null 2>&1; then
1651 echo "$ac_t""found" 1>&6
1653 AUTOMAKE="$missing_dir/missing automake"
1654 echo "$ac_t""missing" 1>&6
1657 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1658 echo "configure:1659: checking for working autoheader" >&5
1659 # Run test in a subshell; some versions of sh will print an error if
1660 # an executable is not found, even if stderr is redirected.
1661 # Redirect stdin to placate older versions of autoconf. Sigh.
1662 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1663 AUTOHEADER=autoheader
1664 echo "$ac_t""found" 1>&6
1666 AUTOHEADER="$missing_dir/missing autoheader"
1667 echo "$ac_t""missing" 1>&6
1670 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1671 echo "configure:1672: checking for working makeinfo" >&5
1672 # Run test in a subshell; some versions of sh will print an error if
1673 # an executable is not found, even if stderr is redirected.
1674 # Redirect stdin to placate older versions of autoconf. Sigh.
1675 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1677 echo "$ac_t""found" 1>&6
1679 MAKEINFO="$missing_dir/missing makeinfo"
1680 echo "$ac_t""missing" 1>&6
1689 # Check whether --enable-shared or --disable-shared was given.
1690 if test "${enable_shared+set}" = set; then
1691 enableval="$enable_shared"
1692 p=${PACKAGE-default}
1694 yes) enable_shared=yes ;;
1695 no) enable_shared=no ;;
1698 # Look at the argument we got. We use all the common list separators.
1699 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1700 for pkg in $enableval; do
1701 if test "X$pkg" = "X$p"; then
1712 # Check whether --enable-static or --disable-static was given.
1713 if test "${enable_static+set}" = set; then
1714 enableval="$enable_static"
1715 p=${PACKAGE-default}
1717 yes) enable_static=yes ;;
1718 no) enable_static=no ;;
1721 # Look at the argument we got. We use all the common list separators.
1722 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1723 for pkg in $enableval; do
1724 if test "X$pkg" = "X$p"; then
1735 # Check whether --enable-fast-install or --disable-fast-install was given.
1736 if test "${enable_fast_install+set}" = set; then
1737 enableval="$enable_fast_install"
1738 p=${PACKAGE-default}
1740 yes) enable_fast_install=yes ;;
1741 no) enable_fast_install=no ;;
1743 enable_fast_install=no
1744 # Look at the argument we got. We use all the common list separators.
1745 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1746 for pkg in $enableval; do
1747 if test "X$pkg" = "X$p"; then
1748 enable_fast_install=yes
1755 enable_fast_install=yes
1758 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1759 if test "${with_gnu_ld+set}" = set; then
1760 withval="$with_gnu_ld"
1761 test "$withval" = no || with_gnu_ld=yes
1767 if test "$GCC" = yes; then
1768 # Check if gcc -print-prog-name=ld gives a path.
1769 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1770 echo "configure:1771: checking for ld used by GCC" >&5
1773 # gcc leaves a trailing carriage return which upsets mingw
1774 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1776 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1779 # Accept absolute paths.
1780 [\\/]* | [A-Za-z]:[\\/]*)
1781 re_direlt='/[^/][^/]*/\.\./'
1782 # Canonicalize the path of ld
1783 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1784 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1785 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1787 test -z "$LD" && LD="$ac_prog"
1790 # If it fails, then pretend we aren't using GCC.
1794 # If it is relative, then search for the first ld in PATH.
1798 elif test "$with_gnu_ld" = yes; then
1799 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1800 echo "configure:1801: checking for GNU ld" >&5
1802 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1803 echo "configure:1804: checking for non-GNU ld" >&5
1805 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1806 echo $ac_n "(cached) $ac_c" 1>&6
1808 if test -z "$LD"; then
1809 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1810 for ac_dir in $PATH; do
1811 test -z "$ac_dir" && ac_dir=.
1812 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1813 lt_cv_path_LD="$ac_dir/$ac_prog"
1814 # Check to see if the program is GNU ld. I'd rather use --version,
1815 # but apparently some GNU ld's only accept -v.
1816 # Break only if it was the GNU/non-GNU ld that we prefer.
1817 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1818 test "$with_gnu_ld" != no && break
1820 test "$with_gnu_ld" != yes && break
1826 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1831 if test -n "$LD"; then
1832 echo "$ac_t""$LD" 1>&6
1834 echo "$ac_t""no" 1>&6
1836 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1837 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1838 echo "configure:1839: checking if the linker ($LD) is GNU ld" >&5
1839 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1840 echo $ac_n "(cached) $ac_c" 1>&6
1842 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1843 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1844 lt_cv_prog_gnu_ld=yes
1846 lt_cv_prog_gnu_ld=no
1850 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1851 with_gnu_ld=$lt_cv_prog_gnu_ld
1854 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1855 echo "configure:1856: checking for $LD option to reload object files" >&5
1856 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1857 echo $ac_n "(cached) $ac_c" 1>&6
1859 lt_cv_ld_reload_flag='-r'
1862 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1863 reload_flag=$lt_cv_ld_reload_flag
1864 test -n "$reload_flag" && reload_flag=" $reload_flag"
1866 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1867 echo "configure:1868: checking for BSD-compatible nm" >&5
1868 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1869 echo $ac_n "(cached) $ac_c" 1>&6
1871 if test -n "$NM"; then
1872 # Let the user override the test.
1875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1876 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1877 test -z "$ac_dir" && ac_dir=.
1878 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1879 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1880 # Check to see if the nm accepts a BSD-compat flag.
1881 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1882 # nm: unknown option "B" ignored
1883 # Tru64's nm complains that /dev/null is an invalid object file
1884 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1885 lt_cv_path_NM="$tmp_nm -B"
1887 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1888 lt_cv_path_NM="$tmp_nm -p"
1891 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1892 continue # so that we can try to find one that supports BSD flags
1897 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1902 echo "$ac_t""$NM" 1>&6
1904 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1905 echo "configure:1906: checking how to recognise dependant libraries" >&5
1906 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1907 echo $ac_n "(cached) $ac_c" 1>&6
1909 lt_cv_file_magic_cmd='$MAGIC_CMD'
1910 lt_cv_file_magic_test_file=
1911 lt_cv_deplibs_check_method='unknown'
1912 # Need to set the preceding variable on all platforms that support
1913 # interlibrary dependencies.
1914 # 'none' -- dependencies not supported.
1915 # `unknown' -- same as none, but documents that we really don't know.
1916 # 'pass_all' -- all dependencies passed with no checks.
1917 # 'test_compile' -- check by making test program.
1918 # 'file_magic [regex]' -- check by looking for files in library path
1919 # which responds to the $file_magic_cmd with a given egrep regex.
1920 # If you have `file' or equivalent on your system and you're not sure
1921 # whether `pass_all' will *always* work, you probably want this one.
1925 lt_cv_deplibs_check_method=pass_all
1929 lt_cv_deplibs_check_method=pass_all
1933 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1935 lt_cv_file_magic_test_file=/shlib/libc.so
1938 cygwin* | mingw* |pw32*)
1939 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1940 lt_cv_file_magic_cmd='$OBJDUMP -f'
1943 darwin* | rhapsody*)
1944 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1945 lt_cv_file_magic_cmd='/usr/bin/file -L'
1947 rhapsody* | darwin1.012)
1948 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1951 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1957 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1960 # Not sure whether the presence of OpenBSD here was a mistake.
1961 # Let's accept both of them until this is cleared up.
1962 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1963 lt_cv_file_magic_cmd=/usr/bin/file
1964 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1968 lt_cv_deplibs_check_method=pass_all
1973 lt_cv_deplibs_check_method=pass_all
1979 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1980 lt_cv_file_magic_cmd=/usr/bin/file
1981 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1984 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1985 lt_cv_file_magic_cmd=/usr/bin/file
1986 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1994 # this will be overridden with pass_all, but let us keep it just in case
1995 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1999 *-32|*"-32 ") libmagic=32-bit;;
2000 *-n32|*"-n32 ") libmagic=N32;;
2001 *-64|*"-64 ") libmagic=64-bit;;
2002 *) libmagic=never-match;;
2004 # this will be overridden with pass_all, but let us keep it just in case
2005 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2008 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2009 lt_cv_deplibs_check_method=pass_all
2012 # This must be Linux ELF.
2015 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2016 lt_cv_deplibs_check_method=pass_all ;;
2018 # glibc up to 2.1.1 does not perform some relocations on ARM
2019 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2021 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2025 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2026 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2028 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2034 lt_cv_file_magic_cmd=/usr/bin/file
2035 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2038 osf3* | osf4* | osf5*)
2039 # this will be overridden with pass_all, but let us keep it just in case
2040 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2041 lt_cv_file_magic_test_file=/shlib/libc.so
2042 lt_cv_deplibs_check_method=pass_all
2046 lt_cv_deplibs_check_method=pass_all
2050 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_file_magic_test_file=/lib/libc.so
2054 sysv5uw[78]* | sysv4*uw2*)
2055 lt_cv_deplibs_check_method=pass_all
2058 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2059 case $host_vendor in
2061 lt_cv_deplibs_check_method=pass_all
2064 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]'
2065 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2073 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2074 file_magic_cmd=$lt_cv_file_magic_cmd
2075 deplibs_check_method=$lt_cv_deplibs_check_method
2077 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2078 echo "configure:2079: checking for object suffix" >&5
2079 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2080 echo $ac_n "(cached) $ac_c" 1>&6
2083 echo 'int i = 1;' > conftest.$ac_ext
2084 if { (eval echo configure:2085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2085 for ac_file in conftest.*; do
2088 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2092 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2097 echo "$ac_t""$ac_cv_objext" 1>&6
2098 OBJEXT=$ac_cv_objext
2099 ac_objext=$ac_cv_objext
2101 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2103 # Only perform the check for file, if the check method requires it
2104 case $deplibs_check_method in
2106 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2107 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2108 echo "configure:2109: checking for ${ac_tool_prefix}file" >&5
2109 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2110 echo $ac_n "(cached) $ac_c" 1>&6
2114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2120 ac_save_MAGIC_CMD="$MAGIC_CMD"
2121 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2122 ac_dummy="/usr/bin:$PATH"
2123 for ac_dir in $ac_dummy; do
2124 test -z "$ac_dir" && ac_dir=.
2125 if test -f $ac_dir/${ac_tool_prefix}file; then
2126 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2127 if test -n "$file_magic_test_file"; then
2128 case $deplibs_check_method in
2130 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2132 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2133 egrep "$file_magic_regex" > /dev/null; then
2138 *** Warning: the command libtool uses to detect shared libraries,
2139 *** $file_magic_cmd, produces output that libtool cannot recognize.
2140 *** The result is that libtool may fail to recognize shared libraries
2141 *** as such. This will affect the creation of libtool libraries that
2142 *** depend on shared libraries, but programs linked with such libtool
2143 *** libraries will work regardless of this problem. Nevertheless, you
2144 *** may want to report the problem to your system manager and/or to
2145 *** bug-libtool@gnu.org
2155 MAGIC_CMD="$ac_save_MAGIC_CMD"
2160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2161 if test -n "$MAGIC_CMD"; then
2162 echo "$ac_t""$MAGIC_CMD" 1>&6
2164 echo "$ac_t""no" 1>&6
2167 if test -z "$lt_cv_path_MAGIC_CMD"; then
2168 if test -n "$ac_tool_prefix"; then
2169 echo $ac_n "checking for file""... $ac_c" 1>&6
2170 echo "configure:2171: checking for file" >&5
2171 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2172 echo $ac_n "(cached) $ac_c" 1>&6
2176 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2179 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2182 ac_save_MAGIC_CMD="$MAGIC_CMD"
2183 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2184 ac_dummy="/usr/bin:$PATH"
2185 for ac_dir in $ac_dummy; do
2186 test -z "$ac_dir" && ac_dir=.
2187 if test -f $ac_dir/file; then
2188 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2189 if test -n "$file_magic_test_file"; then
2190 case $deplibs_check_method in
2192 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2193 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2194 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2195 egrep "$file_magic_regex" > /dev/null; then
2200 *** Warning: the command libtool uses to detect shared libraries,
2201 *** $file_magic_cmd, produces output that libtool cannot recognize.
2202 *** The result is that libtool may fail to recognize shared libraries
2203 *** as such. This will affect the creation of libtool libraries that
2204 *** depend on shared libraries, but programs linked with such libtool
2205 *** libraries will work regardless of this problem. Nevertheless, you
2206 *** may want to report the problem to your system manager and/or to
2207 *** bug-libtool@gnu.org
2217 MAGIC_CMD="$ac_save_MAGIC_CMD"
2222 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2223 if test -n "$MAGIC_CMD"; then
2224 echo "$ac_t""$MAGIC_CMD" 1>&6
2226 echo "$ac_t""no" 1>&6
2238 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2239 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2240 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2241 echo "configure:2242: checking for $ac_word" >&5
2242 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2243 echo $ac_n "(cached) $ac_c" 1>&6
2245 if test -n "$RANLIB"; then
2246 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2250 for ac_dir in $ac_dummy; do
2251 test -z "$ac_dir" && ac_dir=.
2252 if test -f $ac_dir/$ac_word; then
2253 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2260 RANLIB="$ac_cv_prog_RANLIB"
2261 if test -n "$RANLIB"; then
2262 echo "$ac_t""$RANLIB" 1>&6
2264 echo "$ac_t""no" 1>&6
2268 if test -z "$ac_cv_prog_RANLIB"; then
2269 if test -n "$ac_tool_prefix"; then
2270 # Extract the first word of "ranlib", so it can be a program name with args.
2271 set dummy ranlib; ac_word=$2
2272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2273 echo "configure:2274: checking for $ac_word" >&5
2274 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2275 echo $ac_n "(cached) $ac_c" 1>&6
2277 if test -n "$RANLIB"; then
2278 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2280 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2282 for ac_dir in $ac_dummy; do
2283 test -z "$ac_dir" && ac_dir=.
2284 if test -f $ac_dir/$ac_word; then
2285 ac_cv_prog_RANLIB="ranlib"
2290 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2293 RANLIB="$ac_cv_prog_RANLIB"
2294 if test -n "$RANLIB"; then
2295 echo "$ac_t""$RANLIB" 1>&6
2297 echo "$ac_t""no" 1>&6
2305 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2306 set dummy ${ac_tool_prefix}strip; ac_word=$2
2307 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2308 echo "configure:2309: checking for $ac_word" >&5
2309 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2310 echo $ac_n "(cached) $ac_c" 1>&6
2312 if test -n "$STRIP"; then
2313 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2315 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2317 for ac_dir in $ac_dummy; do
2318 test -z "$ac_dir" && ac_dir=.
2319 if test -f $ac_dir/$ac_word; then
2320 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2327 STRIP="$ac_cv_prog_STRIP"
2328 if test -n "$STRIP"; then
2329 echo "$ac_t""$STRIP" 1>&6
2331 echo "$ac_t""no" 1>&6
2335 if test -z "$ac_cv_prog_STRIP"; then
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "strip", so it can be a program name with args.
2338 set dummy strip; ac_word=$2
2339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2340 echo "configure:2341: checking for $ac_word" >&5
2341 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2342 echo $ac_n "(cached) $ac_c" 1>&6
2344 if test -n "$STRIP"; then
2345 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2347 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2349 for ac_dir in $ac_dummy; do
2350 test -z "$ac_dir" && ac_dir=.
2351 if test -f $ac_dir/$ac_word; then
2352 ac_cv_prog_STRIP="strip"
2357 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2360 STRIP="$ac_cv_prog_STRIP"
2361 if test -n "$STRIP"; then
2362 echo "$ac_t""$STRIP" 1>&6
2364 echo "$ac_t""no" 1>&6
2373 # Check for any special flags to pass to ltconfig.
2374 libtool_flags="--cache-file=$cache_file"
2375 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2376 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2377 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2378 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2379 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2380 libtool_flags="$libtool_flags --enable-dlopen"
2382 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2383 if test "${enable_libtool_lock+set}" = set; then
2384 enableval="$enable_libtool_lock"
2388 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2389 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2391 # Check whether --with-pic or --without-pic was given.
2392 if test "${with_pic+set}" = set; then
2399 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2400 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2402 # Some flags need to be propagated to the compiler or linker for good
2406 # Find out which ABI we are using.
2407 echo '#line 2408 "configure"' > conftest.$ac_ext
2408 if { (eval echo configure:2409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2409 case `/usr/bin/file conftest.$ac_objext` in
2425 # Find out which ABI we are using.
2426 echo 'int i;' > conftest.$ac_ext
2427 if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2428 case "`/usr/bin/file conftest.o`" in
2441 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2442 SAVE_CFLAGS="$CFLAGS"
2443 CFLAGS="$CFLAGS -belf"
2444 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2445 echo "configure:2446: checking whether the C compiler needs -belf" >&5
2446 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2447 echo $ac_n "(cached) $ac_c" 1>&6
2451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2455 cross_compiling=$ac_cv_prog_cc_cross
2457 cat > conftest.$ac_ext <<EOF
2458 #line 2459 "configure"
2459 #include "confdefs.h"
2465 if { (eval echo configure:2466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2467 lt_cv_cc_needs_belf=yes
2469 echo "configure: failed program was:" >&5
2470 cat conftest.$ac_ext >&5
2472 lt_cv_cc_needs_belf=no
2476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2477 ac_cpp='$CPP $CPPFLAGS'
2478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2480 cross_compiling=$ac_cv_prog_cc_cross
2484 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2485 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2486 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2487 CFLAGS="$SAVE_CFLAGS"
2494 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2495 echo "configure:2496: checking how to run the C++ preprocessor" >&5
2496 if test -z "$CXXCPP"; then
2497 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2498 echo $ac_n "(cached) $ac_c" 1>&6
2501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2502 ac_cpp='$CXXCPP $CPPFLAGS'
2503 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2504 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2505 cross_compiling=$ac_cv_prog_cxx_cross
2506 CXXCPP="${CXX-g++} -E"
2507 cat > conftest.$ac_ext <<EOF
2508 #line 2509 "configure"
2509 #include "confdefs.h"
2512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2513 { (eval echo configure:2514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2515 if test -z "$ac_err"; then
2519 echo "configure: failed program was:" >&5
2520 cat conftest.$ac_ext >&5
2525 ac_cv_prog_CXXCPP="$CXXCPP"
2527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2528 ac_cpp='$CPP $CPPFLAGS'
2529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2531 cross_compiling=$ac_cv_prog_cc_cross
2534 CXXCPP="$ac_cv_prog_CXXCPP"
2535 echo "$ac_t""$CXXCPP" 1>&6
2538 # Save cache, so that ltconfig can load it
2539 cat > confcache <<\EOF
2540 # This file is a shell script that caches the results of configure
2541 # tests run on this system so they can be shared between configure
2542 # scripts and configure runs. It is not useful on other systems.
2543 # If it contains results you don't want to keep, you may remove or edit it.
2545 # By default, configure uses ./config.cache as the cache file,
2546 # creating it if it does not exist already. You can give configure
2547 # the --cache-file=FILE option to use a different cache file; that is
2548 # what configure does when it calls configure scripts in
2549 # subdirectories, so they share the cache.
2550 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2551 # config.status only pays attention to the cache file if you give it the
2552 # --recheck option to rerun configure.
2555 # The following way of writing the cache mishandles newlines in values,
2556 # but we know of no workaround that is simple, portable, and efficient.
2557 # So, don't put newlines in cache variables' values.
2558 # Ultrix sh set writes to stderr and can't be redirected directly,
2559 # and sets the high bit in the cache file unless we assign to the vars.
2561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2563 # `set' does not quote correctly, so add quotes (double-quote substitution
2564 # turns \\\\ into \\, and sed turns \\ into \).
2566 -e "s/'/'\\\\''/g" \
2567 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2570 # `set' quotes correctly as required by POSIX, so do not add quotes.
2571 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2574 if cmp -s $cache_file confcache; then
2577 if test -w $cache_file; then
2578 echo "updating cache $cache_file"
2579 cat confcache > $cache_file
2581 echo "not updating unwritable cache $cache_file"
2587 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2588 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2589 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2590 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2591 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2592 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2593 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2594 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2595 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2596 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2598 # Reload cache, that may have been modified by ltconfig
2599 if test -r "$cache_file"; then
2600 echo "loading cache $cache_file"
2603 echo "creating cache $cache_file"
2608 # This can be used to rebuild libtool when needed
2609 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2611 # Always use our own libtool.
2612 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2614 # Redirect the config.log output again, so that the ltconfig log is not
2615 # clobbered by the next message.
2616 exec 5>>./config.log
2620 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2622 lt_save_CFLAGS="$CFLAGS"
2623 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2624 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2625 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2626 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2627 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2628 deplibs_check_method="$deplibs_check_method" \
2629 file_magic_cmd="$file_magic_cmd" \
2630 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2631 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2632 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2634 CFLAGS="$lt_save_CFLAGS"
2636 # Redirect the config.log output again, so that the ltconfig log is not
2637 # clobbered by the next message.
2638 exec 5>>./config.log
2648 # Check for c++ or library specific bits that don't require linking.
2649 #GLIBCPP_CHECK_COMPILER_VERSION
2650 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2651 echo "configure:2652: checking for GNU make" >&5
2652 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2653 echo $ac_n "(cached) $ac_c" 1>&6
2655 _cv_gnu_make_command='' ;
2656 for a in "${MAKE-make}" make gmake gnumake ; do
2657 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2659 _cv_gnu_make_command=$a ;
2666 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2667 if test "x$_cv_gnu_make_command" != "x" ; then
2675 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2676 # Check whether --enable-debug or --disable-debug was given.
2677 if test "${enable_debug+set}" = set; then
2678 enableval="$enable_debug"
2679 case "${enableval}" in
2680 yes) enable_debug=yes ;;
2681 no) enable_debug=no ;;
2682 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2688 case "${enable_debug}" in
2690 DEBUG_FLAGS='-O0 -ggdb3'
2698 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2699 echo "configure:2700: checking how to run the C preprocessor" >&5
2700 # On Suns, sometimes $CPP names a directory.
2701 if test -n "$CPP" && test -d "$CPP"; then
2704 if test -z "$CPP"; then
2705 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2706 echo $ac_n "(cached) $ac_c" 1>&6
2708 # This must be in double quotes, not single quotes, because CPP may get
2709 # substituted into the Makefile and "${CC-cc}" will confuse make.
2711 # On the NeXT, cc -E runs the code through the compiler's parser,
2712 # not just through cpp.
2713 cat > conftest.$ac_ext <<EOF
2714 #line 2715 "configure"
2715 #include "confdefs.h"
2719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2720 { (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2722 if test -z "$ac_err"; then
2726 echo "configure: failed program was:" >&5
2727 cat conftest.$ac_ext >&5
2729 CPP="${CC-cc} -E -traditional-cpp"
2730 cat > conftest.$ac_ext <<EOF
2731 #line 2732 "configure"
2732 #include "confdefs.h"
2736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2737 { (eval echo configure:2738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2738 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2739 if test -z "$ac_err"; then
2743 echo "configure: failed program was:" >&5
2744 cat conftest.$ac_ext >&5
2746 CPP="${CC-cc} -nologo -E"
2747 cat > conftest.$ac_ext <<EOF
2748 #line 2749 "configure"
2749 #include "confdefs.h"
2753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2754 { (eval echo configure:2755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2756 if test -z "$ac_err"; then
2760 echo "configure: failed program was:" >&5
2761 cat conftest.$ac_ext >&5
2770 ac_cv_prog_CPP="$CPP"
2772 CPP="$ac_cv_prog_CPP"
2774 ac_cv_prog_CPP="$CPP"
2776 echo "$ac_t""$CPP" 1>&6
2779 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2780 echo "configure:2781: checking for cstdio to use" >&5
2781 # Check whether --enable-cstdio or --disable-cstdio was given.
2782 if test "${enable_cstdio+set}" = set; then
2783 enableval="$enable_cstdio"
2784 if test x$enable_cstdio = xno; then
2792 enable_cstdio_flag=$enable_cstdio
2794 case x${enable_cstdio_flag} in
2796 CSTDIO_H=config/io/c_io_libio.h
2797 BASIC_FILE_H=config/io/basic_file_libio.h
2798 BASIC_FILE_CC=config/io/basic_file_libio.cc
2799 echo "$ac_t""libio" 1>&6
2801 # see if we are on a system with libio native (ie, linux)
2802 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2803 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2804 echo "configure:2805: checking for libio.h" >&5
2805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2806 echo $ac_n "(cached) $ac_c" 1>&6
2808 cat > conftest.$ac_ext <<EOF
2809 #line 2810 "configure"
2810 #include "confdefs.h"
2813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2814 { (eval echo configure:2815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2816 if test -z "$ac_err"; then
2818 eval "ac_cv_header_$ac_safe=yes"
2821 echo "configure: failed program was:" >&5
2822 cat conftest.$ac_ext >&5
2824 eval "ac_cv_header_$ac_safe=no"
2828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2829 echo "$ac_t""yes" 1>&6
2832 echo "$ac_t""no" 1>&6
2837 # Need to check and see what version of glibc is being used. If
2838 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2839 # compile most of libio for linux systems.
2840 if test x$has_libio = x"yes"; then
2843 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2844 echo "configure:2845: checking for glibc version >= 2.2" >&5
2845 cat > conftest.$ac_ext <<EOF
2846 #line 2847 "configure"
2847 #include "confdefs.h"
2849 #include <features.h>
2850 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2856 egrep "ok" >/dev/null 2>&1; then
2858 glibc_satisfactory=yes
2861 glibc_satisfactory=no
2865 echo "$ac_t""$glibc_satisfactory" 1>&6
2869 # XXX at the moment, admit defeat and force the recompilation
2870 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2871 glibc_satisfactory=no
2873 if test x$glibc_satisfactory = x"yes"; then
2878 # bkoz XXX need to add checks to enable this
2879 # pme XXX here's a first pass at such a check
2880 if test x$enable_c_mbchar != xno; then
2888 # Using libio, but <libio.h> doesn't exist on the target system. . .
2890 # bkoz XXX need to add checks to enable this
2891 # pme XXX here's a first pass at such a check
2892 if test x$enable_c_mbchar != xno; then
2899 xstdio | x | xno | xnone | xyes)
2901 CSTDIO_H=config/io/c_io_stdio.h
2902 BASIC_FILE_H=config/io/basic_file_stdio.h
2903 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2904 echo "$ac_t""stdio" 1>&6
2906 # We're not using stdio.
2911 echo "$enable_cstdio is an unknown io package" 1>&2
2919 # 2000-08-04 bkoz hack
2920 CCODECVT_C=config/io/c_io_libio_codecvt.c
2922 # 2000-08-04 bkoz hack
2926 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2927 GLIBCPP_BUILD_LIBIO_TRUE=
2928 GLIBCPP_BUILD_LIBIO_FALSE='#'
2930 GLIBCPP_BUILD_LIBIO_TRUE='#'
2931 GLIBCPP_BUILD_LIBIO_FALSE=
2935 if test "$need_libio" = yes; then
2936 GLIBCPP_NEED_LIBIO_TRUE=
2937 GLIBCPP_NEED_LIBIO_FALSE='#'
2939 GLIBCPP_NEED_LIBIO_TRUE='#'
2940 GLIBCPP_NEED_LIBIO_FALSE=
2944 if test "$need_wlibio" = yes; then
2945 GLIBCPP_NEED_WLIBIO_TRUE=
2946 GLIBCPP_NEED_WLIBIO_FALSE='#'
2948 GLIBCPP_NEED_WLIBIO_TRUE='#'
2949 GLIBCPP_NEED_WLIBIO_FALSE=
2951 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2952 libio_la=../libio/libio.la
2959 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2960 echo "configure:2961: checking for clocale to use" >&5
2961 # Check whether --enable-clocale or --disable-clocale was given.
2962 if test "${enable_clocale+set}" = set; then
2963 enableval="$enable_clocale"
2964 if test x$enable_clocale = xno; then
2972 enable_clocale_flag=$enable_clocale
2974 if test x$enable_clocale_flag = xno; then
2975 case x${target_os} in
2977 cat > conftest.$ac_ext <<EOF
2978 #line 2979 "configure"
2979 #include "confdefs.h"
2981 #include <features.h>
2982 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2988 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2990 enable_clocale_flag=gnu
2993 enable_clocale_flag=generic
2998 # Test for bugs early in glibc-2.2.x series
2999 if test x$enable_clocale_flag = xgnu; then
3000 if test "$cross_compiling" = yes; then
3001 enable_clocale_flag=generic
3003 cat > conftest.$ac_ext <<EOF
3004 #line 3005 "configure"
3005 #include "confdefs.h"
3007 #define _GNU_SOURCE 1
3011 const char __one[] = "Äuglein Augmen";
3012 const char __two[] = "Äuglein";
3017 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3018 loc_dup = __duplocale(loc);
3019 i = __strcoll_l(__one, __two, loc);
3020 j = __strcoll_l(__one, __two, loc_dup);
3025 if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3027 enable_clocale_flag=gnu
3029 echo "configure: failed program was:" >&5
3030 cat conftest.$ac_ext >&5
3032 enable_clocale_flag=generic
3039 # ... at some point put __strxfrm_l tests in as well.
3042 enable_clocale_flag=generic
3047 # Check whether --enable-nls or --disable-nls was given.
3048 if test "${enable_nls+set}" = set; then
3049 enableval="$enable_nls"
3057 case x${enable_clocale_flag} in
3059 echo "$ac_t""generic" 1>&6
3061 CLOCALE_H=config/locale/generic/c_locale.h
3062 CLOCALE_CC=config/locale/generic/c_locale.cc
3063 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3064 CCOLLATE_CC=config/locale/generic/collate_members.cc
3065 CCTYPE_CC=config/locale/generic/ctype_members.cc
3066 CMESSAGES_H=config/locale/generic/messages_members.h
3067 CMESSAGES_CC=config/locale/generic/messages_members.cc
3068 CMONEY_CC=config/locale/generic/monetary_members.cc
3069 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3070 CTIME_CC=config/locale/generic/time_members.cc
3073 echo "$ac_t""gnu" 1>&6
3075 # Declare intention to use gettext, and add support for specific
3077 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3080 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3081 # Extract the first word of "msgfmt", so it can be a program name with args.
3082 set dummy msgfmt; ac_word=$2
3083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3084 echo "configure:3085: checking for $ac_word" >&5
3085 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3086 echo $ac_n "(cached) $ac_c" 1>&6
3088 if test -n "$check_msgfmt"; then
3089 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3093 for ac_dir in $ac_dummy; do
3094 test -z "$ac_dir" && ac_dir=.
3095 if test -f $ac_dir/$ac_word; then
3096 ac_cv_prog_check_msgfmt="yes"
3101 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3104 check_msgfmt="$ac_cv_prog_check_msgfmt"
3105 if test -n "$check_msgfmt"; then
3106 echo "$ac_t""$check_msgfmt" 1>&6
3108 echo "$ac_t""no" 1>&6
3111 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3114 # Export the build objects.
3115 for ling in $ALL_LINGUAS; do \
3116 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3117 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3122 CLOCALE_H=config/locale/gnu/c_locale.h
3123 CLOCALE_CC=config/locale/gnu/c_locale.cc
3124 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3125 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3126 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3127 CMESSAGES_H=config/locale/gnu/messages_members.h
3128 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3129 CMONEY_CC=config/locale/gnu/monetary_members.cc
3130 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3131 CTIME_CC=config/locale/gnu/time_members.cc
3134 echo "$ac_t""generic" 1>&6
3136 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3137 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3138 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3139 CCOLLATE_CC=config/locale/generic/collate_members.cc
3140 CCTYPE_CC=config/locale/generic/ctype_members.cc
3141 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3142 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3143 CMONEY_CC=config/locale/generic/monetary_members.cc
3144 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3145 CTIME_CC=config/locale/generic/time_members.cc
3148 echo "$enable_clocale is an unknown locale package" 1>&2
3153 # This is where the testsuite looks for locale catalogs, using the
3154 # -DLOCALEDIR define during testsuite compilation.
3155 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3170 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3171 if test "${enable_c_mbchar+set}" = set; then
3172 enableval="$enable_c_mbchar"
3173 case "$enableval" in
3174 yes) enable_c_mbchar=yes ;;
3175 no) enable_c_mbchar=no ;;
3176 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3183 # Check whether --enable-c99 or --disable-c99 was given.
3184 if test "${enable_c99+set}" = set; then
3185 enableval="$enable_c99"
3186 case "$enableval" in
3187 yes) enable_c99=yes ;;
3188 no) enable_c99=no ;;
3189 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3198 ac_cpp='$CXXCPP $CPPFLAGS'
3199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3201 cross_compiling=$ac_cv_prog_cxx_cross
3204 # Check for the existence of <math.h> functions used if C99 is enabled.
3206 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3207 echo "configure:3208: checking for ISO C99 support in <math.h>" >&5
3208 cat > conftest.$ac_ext <<EOF
3209 #line 3210 "configure"
3210 #include "confdefs.h"
3216 if { (eval echo configure:3217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3219 echo "configure: failed program was:" >&5
3220 cat conftest.$ac_ext >&5
3225 cat > conftest.$ac_ext <<EOF
3226 #line 3227 "configure"
3227 #include "confdefs.h"
3233 if { (eval echo configure:3234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3236 echo "configure: failed program was:" >&5
3237 cat conftest.$ac_ext >&5
3242 cat > conftest.$ac_ext <<EOF
3243 #line 3244 "configure"
3244 #include "confdefs.h"
3250 if { (eval echo configure:3251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3253 echo "configure: failed program was:" >&5
3254 cat conftest.$ac_ext >&5
3259 cat > conftest.$ac_ext <<EOF
3260 #line 3261 "configure"
3261 #include "confdefs.h"
3267 if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3270 echo "configure: failed program was:" >&5
3271 cat conftest.$ac_ext >&5
3276 cat > conftest.$ac_ext <<EOF
3277 #line 3278 "configure"
3278 #include "confdefs.h"
3284 if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3287 echo "configure: failed program was:" >&5
3288 cat conftest.$ac_ext >&5
3293 cat > conftest.$ac_ext <<EOF
3294 #line 3295 "configure"
3295 #include "confdefs.h"
3301 if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3304 echo "configure: failed program was:" >&5
3305 cat conftest.$ac_ext >&5
3310 cat > conftest.$ac_ext <<EOF
3311 #line 3312 "configure"
3312 #include "confdefs.h"
3318 if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3321 echo "configure: failed program was:" >&5
3322 cat conftest.$ac_ext >&5
3327 cat > conftest.$ac_ext <<EOF
3328 #line 3329 "configure"
3329 #include "confdefs.h"
3332 isgreaterequal(0.0,0.0);
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3338 echo "configure: failed program was:" >&5
3339 cat conftest.$ac_ext >&5
3344 cat > conftest.$ac_ext <<EOF
3345 #line 3346 "configure"
3346 #include "confdefs.h"
3352 if { (eval echo configure:3353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3355 echo "configure: failed program was:" >&5
3356 cat conftest.$ac_ext >&5
3361 cat > conftest.$ac_ext <<EOF
3362 #line 3363 "configure"
3363 #include "confdefs.h"
3366 islessequal(0.0,0.0);
3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3372 echo "configure: failed program was:" >&5
3373 cat conftest.$ac_ext >&5
3378 cat > conftest.$ac_ext <<EOF
3379 #line 3380 "configure"
3380 #include "confdefs.h"
3383 islessgreater(0.0,0.0);
3386 if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3389 echo "configure: failed program was:" >&5
3390 cat conftest.$ac_ext >&5
3395 cat > conftest.$ac_ext <<EOF
3396 #line 3397 "configure"
3397 #include "confdefs.h"
3400 isunordered(0.0,0.0);
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3406 echo "configure: failed program was:" >&5
3407 cat conftest.$ac_ext >&5
3412 echo "$ac_t""$ac_c99_math" 1>&6
3414 # Check for the existence in <stdio.h> of vscanf, et. al.
3416 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3417 echo "configure:3418: checking for ISO C99 support in <stdio.h>" >&5
3418 cat > conftest.$ac_ext <<EOF
3419 #line 3420 "configure"
3420 #include "confdefs.h"
3423 snprintf("12", 0, "%i");
3426 if { (eval echo configure:3427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3429 echo "configure: failed program was:" >&5
3430 cat conftest.$ac_ext >&5
3435 cat > conftest.$ac_ext <<EOF
3436 #line 3437 "configure"
3437 #include "confdefs.h"
3440 void foo(char* fmt, ...)
3441 {va_list args; va_start(args, fmt);
3442 vfscanf(stderr, "%i", args);}
3447 if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3450 echo "configure: failed program was:" >&5
3451 cat conftest.$ac_ext >&5
3456 cat > conftest.$ac_ext <<EOF
3457 #line 3458 "configure"
3458 #include "confdefs.h"
3461 void foo(char* fmt, ...)
3462 {va_list args; va_start(args, fmt);
3463 vscanf("%i", args);}
3468 if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3471 echo "configure: failed program was:" >&5
3472 cat conftest.$ac_ext >&5
3477 cat > conftest.$ac_ext <<EOF
3478 #line 3479 "configure"
3479 #include "confdefs.h"
3482 void foo(char* fmt, ...)
3483 {va_list args; va_start(args, fmt);
3484 vsnprintf(fmt, 0, "%i", args);}
3489 if { (eval echo configure:3490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3492 echo "configure: failed program was:" >&5
3493 cat conftest.$ac_ext >&5
3498 cat > conftest.$ac_ext <<EOF
3499 #line 3500 "configure"
3500 #include "confdefs.h"
3503 void foo(char* fmt, ...)
3504 {va_list args; va_start(args, fmt);
3505 vsscanf(fmt, "%i", args);}
3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3513 echo "configure: failed program was:" >&5
3514 cat conftest.$ac_ext >&5
3519 echo "$ac_t""$ac_c99_stdio" 1>&6
3521 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3523 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3524 echo "configure:3525: checking for lldiv_t declaration" >&5
3525 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3526 echo $ac_n "(cached) $ac_c" 1>&6
3529 cat > conftest.$ac_ext <<EOF
3530 #line 3531 "configure"
3531 #include "confdefs.h"
3537 if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3541 echo "configure: failed program was:" >&5
3542 cat conftest.$ac_ext >&5
3550 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3552 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3553 echo "configure:3554: checking for ISO C99 support in <stdlib.h>" >&5
3554 cat > conftest.$ac_ext <<EOF
3555 #line 3556 "configure"
3556 #include "confdefs.h"
3559 char* tmp; strtof("gnu", &tmp);
3562 if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3565 echo "configure: failed program was:" >&5
3566 cat conftest.$ac_ext >&5
3571 cat > conftest.$ac_ext <<EOF
3572 #line 3573 "configure"
3573 #include "confdefs.h"
3576 char* tmp; strtold("gnu", &tmp);
3579 if { (eval echo configure:3580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3582 echo "configure: failed program was:" >&5
3583 cat conftest.$ac_ext >&5
3588 cat > conftest.$ac_ext <<EOF
3589 #line 3590 "configure"
3590 #include "confdefs.h"
3596 if { (eval echo configure:3597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3599 echo "configure: failed program was:" >&5
3600 cat conftest.$ac_ext >&5
3605 cat > conftest.$ac_ext <<EOF
3606 #line 3607 "configure"
3607 #include "confdefs.h"
3613 if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3616 echo "configure: failed program was:" >&5
3617 cat conftest.$ac_ext >&5
3622 cat > conftest.$ac_ext <<EOF
3623 #line 3624 "configure"
3624 #include "confdefs.h"
3630 if { (eval echo configure:3631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3633 echo "configure: failed program was:" >&5
3634 cat conftest.$ac_ext >&5
3639 cat > conftest.$ac_ext <<EOF
3640 #line 3641 "configure"
3641 #include "confdefs.h"
3647 if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3650 echo "configure: failed program was:" >&5
3651 cat conftest.$ac_ext >&5
3656 if test x"$ac_c99_lldiv_t" = x"no"; then
3659 echo "$ac_t""$ac_c99_stdlib" 1>&6
3661 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3662 # XXX the wchar.h checks should be rolled into the general C99 bits.
3664 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3665 echo "configure:3666: checking for additional ISO C99 support in <wchar.h>" >&5
3666 cat > conftest.$ac_ext <<EOF
3667 #line 3668 "configure"
3668 #include "confdefs.h"
3671 wcstold(L"10.0", NULL);
3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3677 echo "configure: failed program was:" >&5
3678 cat conftest.$ac_ext >&5
3683 cat > conftest.$ac_ext <<EOF
3684 #line 3685 "configure"
3685 #include "confdefs.h"
3688 wcstoll(L"10", NULL, 10);
3691 if { (eval echo configure:3692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3694 echo "configure: failed program was:" >&5
3695 cat conftest.$ac_ext >&5
3700 cat > conftest.$ac_ext <<EOF
3701 #line 3702 "configure"
3702 #include "confdefs.h"
3705 wcstoull(L"10", NULL, 10);
3708 if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3711 echo "configure: failed program was:" >&5
3712 cat conftest.$ac_ext >&5
3717 echo "$ac_t""$ac_c99_wchar" 1>&6
3719 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3720 echo "configure:3721: checking for enabled ISO C99 support" >&5
3721 if test x"$ac_c99_math" = x"no" ||
3722 test x"$ac_c99_stdio" = x"no" ||
3723 test x"$ac_c99_stdlib" = x"no" ||
3724 test x"$ac_c99_wchar" = x"no"; then
3727 echo "$ac_t""$enable_c99" 1>&6
3729 # Option parsed, now set things appropriately
3730 if test x"$enable_c99" = x"yes"; then
3731 cat >> confdefs.h <<\EOF
3732 #define _GLIBCPP_USE_C99 1
3738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3739 ac_cpp='$CPP $CPPFLAGS'
3740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3742 cross_compiling=$ac_cv_prog_cc_cross
3746 # Check whether --enable-long-long or --disable-long-long was given.
3747 if test "${enable_long_long+set}" = set; then
3748 enableval="$enable_long_long"
3749 case "$enableval" in
3750 yes) enable_long_long=yes ;;
3751 no) enable_long_long=no ;;
3752 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3755 enable_long_long=yes
3760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3761 ac_cpp='$CXXCPP $CPPFLAGS'
3762 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3763 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3764 cross_compiling=$ac_cv_prog_cxx_cross
3767 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3768 echo "configure:3769: checking for enabled long long I/O support" >&5
3769 # iostreams require strtoll, strtoull to compile
3770 cat > conftest.$ac_ext <<EOF
3771 #line 3772 "configure"
3772 #include "confdefs.h"
3775 char* tmp; strtoll("gnu", &tmp, 10);
3778 if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3781 echo "configure: failed program was:" >&5
3782 cat conftest.$ac_ext >&5
3787 cat > conftest.$ac_ext <<EOF
3788 #line 3789 "configure"
3789 #include "confdefs.h"
3792 char* tmp; strtoull("gnu", &tmp, 10);
3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3798 echo "configure: failed program was:" >&5
3799 cat conftest.$ac_ext >&5
3805 # Option parsed, now set things appropriately
3806 if test x"$enable_long_long" = xyes; then
3807 cat >> confdefs.h <<\EOF
3808 #define _GLIBCPP_USE_LONG_LONG 1
3812 echo "$ac_t""$enable_long_long" 1>&6
3815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3816 ac_cpp='$CPP $CPPFLAGS'
3817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3819 cross_compiling=$ac_cv_prog_cc_cross
3822 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3823 echo "configure:3824: checking for c header strategy to use" >&5
3824 # Check whether --enable-cheaders or --disable-cheaders was given.
3825 if test "${enable_cheaders+set}" = set; then
3826 enableval="$enable_cheaders"
3828 case "$enableval" in
3833 enable_cheaders=c_std
3836 enable_cheaders=c_shadow
3838 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3842 enable_cheaders=c_std
3845 echo "$ac_t""$enable_cheaders" 1>&6
3847 case "$enable_cheaders" in
3849 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3852 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3855 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3862 if test "$enable_cheaders" = c; then
3863 GLIBCPP_C_HEADERS_C_TRUE=
3864 GLIBCPP_C_HEADERS_C_FALSE='#'
3866 GLIBCPP_C_HEADERS_C_TRUE='#'
3867 GLIBCPP_C_HEADERS_C_FALSE=
3871 if test "$enable_cheaders" = c_std; then
3872 GLIBCPP_C_HEADERS_C_STD_TRUE=
3873 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3875 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3876 GLIBCPP_C_HEADERS_C_STD_FALSE=
3880 if test "$c_compatibility" = yes; then
3881 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3882 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3884 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3885 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3889 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3890 echo "configure:3891: checking for thread model used by GCC" >&5
3891 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3892 echo "$ac_t""$target_thread_file" 1>&6
3894 if test $target_thread_file != single; then
3895 cat >> confdefs.h <<\EOF
3896 #define HAVE_GTHR_DEFAULT 1
3899 cat >> confdefs.h <<\EOF
3900 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3905 glibcpp_thread_h=gthr-$target_thread_file.h
3908 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3909 if test "${enable_cxx_flags+set}" = set; then
3910 enableval="$enable_cxx_flags"
3911 case "x$enableval" in
3913 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3915 enable_cxx_flags='' ;;
3917 enable_cxx_flags="$enableval" ;;
3920 enable_cxx_flags='none'
3924 if test "$enable_cxx_flags" = "none"; then
3925 enable_cxx_flags='';
3928 if test -n "$enable_cxx_flags"; then
3929 for f in $enable_cxx_flags; do
3933 *) # and we're trying to pass /what/ exactly?
3934 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3938 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3942 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3943 echo "configure:3944: checking for exception model to use" >&5
3946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3947 ac_cpp='$CXXCPP $CPPFLAGS'
3948 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3949 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3950 cross_compiling=$ac_cv_prog_cxx_cross
3952 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3953 if test "${enable_sjlj_exceptions+set}" = set; then
3954 enableval="$enable_sjlj_exceptions"
3957 cat > conftest.$ac_ext << EOF
3958 #line 3959 "configure"
3967 old_CXXFLAGS="$CXXFLAGS"
3969 if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3970 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3971 enable_sjlj_exceptions=yes
3972 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3973 enable_sjlj_exceptions=no
3976 CXXFLAGS="$old_CXXFLAGS"
3980 if test x$enable_sjlj_exceptions = xyes; then
3981 cat >> confdefs.h <<\EOF
3982 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3985 ac_exception_model_name=sjlj
3986 elif test x$enable_sjlj_exceptions = xno; then
3987 ac_exception_model_name="call frame"
3989 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3993 ac_cpp='$CPP $CPPFLAGS'
3994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3996 cross_compiling=$ac_cv_prog_cc_cross
3998 echo "$ac_t""$ac_exception_model_name" 1>&6
4001 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4002 echo "configure:4003: checking for use of libunwind" >&5
4003 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4004 if test "${enable_libunwind_exceptions+set}" = set; then
4005 enableval="$enable_libunwind_exceptions"
4006 use_libunwind_exceptions=$enableval
4008 use_libunwind_exceptions=no
4011 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4012 if test x"$use_libunwind_exceptions" = xyes; then
4013 LIBUNWIND_FLAG="-lunwind"
4019 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4020 if test "${enable_concept_checks+set}" = set; then
4021 enableval="$enable_concept_checks"
4022 case "$enableval" in
4023 yes) enable_concept_checks=yes ;;
4024 no) enable_concept_checks=no ;;
4025 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4028 enable_concept_checks=no
4030 if test x"$enable_concept_checks" = xyes; then
4031 cat >> confdefs.h <<\EOF
4032 #define _GLIBCPP_CONCEPT_CHECKS 1
4038 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4039 for ac_hdr in string.h stdlib.h
4041 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4043 echo "configure:4044: checking for $ac_hdr" >&5
4044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4045 echo $ac_n "(cached) $ac_c" 1>&6
4047 cat > conftest.$ac_ext <<EOF
4048 #line 4049 "configure"
4049 #include "confdefs.h"
4052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4053 { (eval echo configure:4054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4055 if test -z "$ac_err"; then
4057 eval "ac_cv_header_$ac_safe=yes"
4060 echo "configure: failed program was:" >&5
4061 cat conftest.$ac_ext >&5
4063 eval "ac_cv_header_$ac_safe=no"
4067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4068 echo "$ac_t""yes" 1>&6
4069 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4070 cat >> confdefs.h <<EOF
4071 #define $ac_tr_hdr 1
4075 echo "$ac_t""no" 1>&6
4080 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4082 # We are being configured with some form of cross compiler.
4083 GLIBCPP_IS_CROSS_COMPILING=1
4085 # This lets us hard-code the functionality we know we'll have in the cross
4086 # target environment. "Let" is a sugar-coated word placed on an especially
4087 # dull and tedious hack, actually.
4089 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4090 # that involve linking, can't be used:
4091 # "cannot open sim-crt0.o"
4092 # "cannot open crt0.o"
4093 # etc. All this is because there currently exists no unified, consistent
4094 # way for top level CC information to be passed down to target directories:
4095 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4096 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4097 # crosses can be removed.
4099 # If Canadian cross, then don't pick up tools from the build directory.
4100 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4101 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4107 # Construct crosses by hand, eliminating bits that need ld...
4108 # GLIBCPP_CHECK_COMPILER_FEATURES
4109 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4110 # GLIBCPP_CHECK_MATH_SUPPORT
4112 case "$target_alias" in
4114 os_include_dir="os/gnu-linux"
4115 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4116 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4117 fp.h locale.h float.h inttypes.h
4119 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4121 echo "configure:4122: checking for $ac_hdr" >&5
4122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4123 echo $ac_n "(cached) $ac_c" 1>&6
4125 cat > conftest.$ac_ext <<EOF
4126 #line 4127 "configure"
4127 #include "confdefs.h"
4130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4131 { (eval echo configure:4132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4133 if test -z "$ac_err"; then
4135 eval "ac_cv_header_$ac_safe=yes"
4138 echo "configure: failed program was:" >&5
4139 cat conftest.$ac_ext >&5
4141 eval "ac_cv_header_$ac_safe=no"
4145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4146 echo "$ac_t""yes" 1>&6
4147 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4148 cat >> confdefs.h <<EOF
4149 #define $ac_tr_hdr 1
4153 echo "$ac_t""no" 1>&6
4157 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4160 # If we're not using GNU ld, then there's no point in even trying these
4161 # tests. Check for that first. We should have already tested for gld
4162 # by now (in libtool), but require it now just to be safe...
4163 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4164 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4167 # The name set by libtool depends on the version of libtool. Shame on us
4168 # for depending on an impl detail, but c'est la vie. Older versions used
4169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4172 # set (hence we're using an older libtool), then set it.
4173 if test x${with_gnu_ld+set} != xset; then
4174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4178 with_gnu_ld=$ac_cv_prog_gnu_ld
4182 # Start by getting the version number. I think the libtool test already
4183 # does some of this, but throws away the result.
4185 ldver=`$LD --version 2>/dev/null | head -1 | \
4186 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4188 glibcpp_gnu_ld_version=`echo $ldver | \
4189 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4191 # Set --gc-sections.
4192 if test "$with_gnu_ld" = "notbroken"; then
4193 # GNU ld it is! Joy and bunny rabbits!
4195 # All these tests are for C++; save the language and the compiler flags.
4196 # Need to do this so that g++ won't try to link in libstdc++
4197 ac_test_CFLAGS="${CFLAGS+set}"
4198 ac_save_CFLAGS="$CFLAGS"
4199 CFLAGS='-x c++ -Wl,--gc-sections'
4201 # Check for -Wl,--gc-sections
4202 # XXX This test is broken at the moment, as symbols required for
4203 # linking are now in libsupc++ (not built yet.....). In addition,
4204 # this test has cored on solaris in the past. In addition,
4205 # --gc-sections doesn't really work at the moment (keeps on discarding
4206 # used sections, first .eh_frame and now some of the glibc sections for
4207 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4208 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4209 echo "configure:4210: checking for ld that supports -Wl,--gc-sections" >&5
4210 if test "$cross_compiling" = yes; then
4211 ac_sectionLDflags=yes
4213 cat > conftest.$ac_ext <<EOF
4214 #line 4215 "configure"
4215 #include "confdefs.h"
4225 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4227 ac_sectionLDflags=yes
4229 echo "configure: failed program was:" >&5
4230 cat conftest.$ac_ext >&5
4232 ac_sectionLDflags=no
4237 if test "$ac_test_CFLAGS" = set; then
4238 CFLAGS="$ac_save_CFLAGS"
4240 # this is the suspicious part
4243 if test "$ac_sectionLDflags" = "yes"; then
4244 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4246 echo "$ac_t""$ac_sectionLDflags" 1>&6
4249 # Set linker optimization flags.
4250 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4251 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4258 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4259 echo "configure:4260: checking for main in -lm" >&5
4260 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4262 echo $ac_n "(cached) $ac_c" 1>&6
4264 ac_save_LIBS="$LIBS"
4266 cat > conftest.$ac_ext <<EOF
4267 #line 4268 "configure"
4268 #include "confdefs.h"
4274 if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4276 eval "ac_cv_lib_$ac_lib_var=yes"
4278 echo "configure: failed program was:" >&5
4279 cat conftest.$ac_ext >&5
4281 eval "ac_cv_lib_$ac_lib_var=no"
4284 LIBS="$ac_save_LIBS"
4287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4288 echo "$ac_t""yes" 1>&6
4289 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4290 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4291 cat >> confdefs.h <<EOF
4292 #define $ac_tr_lib 1
4298 echo "$ac_t""no" 1>&6
4301 for ac_func in nan copysignf
4303 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4304 echo "configure:4305: checking for $ac_func" >&5
4305 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4306 echo $ac_n "(cached) $ac_c" 1>&6
4308 cat > conftest.$ac_ext <<EOF
4309 #line 4310 "configure"
4310 #include "confdefs.h"
4311 /* System header to define __stub macros and hopefully few prototypes,
4312 which can conflict with char $ac_func(); below. */
4314 /* Override any gcc2 internal prototype to avoid an error. */
4315 /* We use char because int might match the return type of a gcc2
4316 builtin and then its argument prototype would still apply. */
4321 /* The GNU C library defines this for functions which it implements
4322 to always fail with ENOSYS. Some functions are actually named
4323 something starting with __ and the normal name is an alias. */
4324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4332 if { (eval echo configure:4333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4334 eval "ac_cv_func_$ac_func=yes"
4336 echo "configure: failed program was:" >&5
4337 cat conftest.$ac_ext >&5
4339 eval "ac_cv_func_$ac_func=no"
4344 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4345 echo "$ac_t""yes" 1>&6
4346 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4347 cat >> confdefs.h <<EOF
4348 #define $ac_tr_func 1
4352 echo "$ac_t""no" 1>&6
4353 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4358 for ac_func in __signbit
4360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4361 echo "configure:4362: checking for $ac_func" >&5
4362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4363 echo $ac_n "(cached) $ac_c" 1>&6
4365 cat > conftest.$ac_ext <<EOF
4366 #line 4367 "configure"
4367 #include "confdefs.h"
4368 /* System header to define __stub macros and hopefully few prototypes,
4369 which can conflict with char $ac_func(); below. */
4371 /* Override any gcc2 internal prototype to avoid an error. */
4372 /* We use char because int might match the return type of a gcc2
4373 builtin and then its argument prototype would still apply. */
4378 /* The GNU C library defines this for functions which it implements
4379 to always fail with ENOSYS. Some functions are actually named
4380 something starting with __ and the normal name is an alias. */
4381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4389 if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4391 eval "ac_cv_func_$ac_func=yes"
4393 echo "configure: failed program was:" >&5
4394 cat conftest.$ac_ext >&5
4396 eval "ac_cv_func_$ac_func=no"
4401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4402 echo "$ac_t""yes" 1>&6
4403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4404 cat >> confdefs.h <<EOF
4405 #define $ac_tr_func 1
4409 echo "$ac_t""no" 1>&6
4410 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4414 for ac_func in __signbitf
4416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4417 echo "configure:4418: checking for $ac_func" >&5
4418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4419 echo $ac_n "(cached) $ac_c" 1>&6
4421 cat > conftest.$ac_ext <<EOF
4422 #line 4423 "configure"
4423 #include "confdefs.h"
4424 /* System header to define __stub macros and hopefully few prototypes,
4425 which can conflict with char $ac_func(); below. */
4427 /* Override any gcc2 internal prototype to avoid an error. */
4428 /* We use char because int might match the return type of a gcc2
4429 builtin and then its argument prototype would still apply. */
4434 /* The GNU C library defines this for functions which it implements
4435 to always fail with ENOSYS. Some functions are actually named
4436 something starting with __ and the normal name is an alias. */
4437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4445 if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4447 eval "ac_cv_func_$ac_func=yes"
4449 echo "configure: failed program was:" >&5
4450 cat conftest.$ac_ext >&5
4452 eval "ac_cv_func_$ac_func=no"
4457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4458 echo "$ac_t""yes" 1>&6
4459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4460 cat >> confdefs.h <<EOF
4461 #define $ac_tr_func 1
4465 echo "$ac_t""no" 1>&6
4466 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4471 if test x$ac_cv_func_copysignl = x"yes"; then
4472 for ac_func in __signbitl
4474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4475 echo "configure:4476: checking for $ac_func" >&5
4476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4477 echo $ac_n "(cached) $ac_c" 1>&6
4479 cat > conftest.$ac_ext <<EOF
4480 #line 4481 "configure"
4481 #include "confdefs.h"
4482 /* System header to define __stub macros and hopefully few prototypes,
4483 which can conflict with char $ac_func(); below. */
4485 /* Override any gcc2 internal prototype to avoid an error. */
4486 /* We use char because int might match the return type of a gcc2
4487 builtin and then its argument prototype would still apply. */
4492 /* The GNU C library defines this for functions which it implements
4493 to always fail with ENOSYS. Some functions are actually named
4494 something starting with __ and the normal name is an alias. */
4495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4503 if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4505 eval "ac_cv_func_$ac_func=yes"
4507 echo "configure: failed program was:" >&5
4508 cat conftest.$ac_ext >&5
4510 eval "ac_cv_func_$ac_func=no"
4515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4516 echo "$ac_t""yes" 1>&6
4517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4518 cat >> confdefs.h <<EOF
4519 #define $ac_tr_func 1
4523 echo "$ac_t""no" 1>&6
4524 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4534 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4535 echo "configure:4536: checking for mbstate_t" >&5
4536 cat > conftest.$ac_ext <<EOF
4537 #line 4538 "configure"
4538 #include "confdefs.h"
4541 mbstate_t teststate;
4544 if { (eval echo configure:4545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4548 echo "configure: failed program was:" >&5
4549 cat conftest.$ac_ext >&5
4554 echo "$ac_t""$have_mbstate_t" 1>&6
4555 if test x"$have_mbstate_t" = xyes; then
4556 cat >> confdefs.h <<\EOF
4557 #define HAVE_MBSTATE_T 1
4562 for ac_hdr in wchar.h
4564 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4565 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4566 echo "configure:4567: checking for $ac_hdr" >&5
4567 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4568 echo $ac_n "(cached) $ac_c" 1>&6
4570 cat > conftest.$ac_ext <<EOF
4571 #line 4572 "configure"
4572 #include "confdefs.h"
4575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4576 { (eval echo configure:4577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4578 if test -z "$ac_err"; then
4580 eval "ac_cv_header_$ac_safe=yes"
4583 echo "configure: failed program was:" >&5
4584 cat conftest.$ac_ext >&5
4586 eval "ac_cv_header_$ac_safe=no"
4590 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4591 echo "$ac_t""yes" 1>&6
4592 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4593 cat >> confdefs.h <<EOF
4594 #define $ac_tr_hdr 1
4598 echo "$ac_t""no" 1>&6
4603 for ac_hdr in wctype.h
4605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4607 echo "configure:4608: checking for $ac_hdr" >&5
4608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4609 echo $ac_n "(cached) $ac_c" 1>&6
4611 cat > conftest.$ac_ext <<EOF
4612 #line 4613 "configure"
4613 #include "confdefs.h"
4616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4617 { (eval echo configure:4618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4619 if test -z "$ac_err"; then
4621 eval "ac_cv_header_$ac_safe=yes"
4624 echo "configure: failed program was:" >&5
4625 cat conftest.$ac_ext >&5
4627 eval "ac_cv_header_$ac_safe=no"
4631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4632 echo "$ac_t""yes" 1>&6
4633 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4634 cat >> confdefs.h <<EOF
4635 #define $ac_tr_hdr 1
4639 echo "$ac_t""no" 1>&6
4645 if test x"$ac_has_wchar_h" = xyes &&
4646 test x"$ac_has_wctype_h" = xyes &&
4647 test x"$enable_c_mbchar" != xno; then
4649 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4650 echo "configure:4651: checking for WCHAR_MIN and WCHAR_MAX" >&5
4651 cat > conftest.$ac_ext <<EOF
4652 #line 4653 "configure"
4653 #include "confdefs.h"
4656 int i = WCHAR_MIN; int j = WCHAR_MAX;
4659 if { (eval echo configure:4660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4661 has_wchar_minmax=yes
4663 echo "configure: failed program was:" >&5
4664 cat conftest.$ac_ext >&5
4669 echo "$ac_t""$has_wchar_minmax" 1>&6
4671 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4672 echo "configure:4673: checking for WEOF" >&5
4673 cat > conftest.$ac_ext <<EOF
4674 #line 4675 "configure"
4675 #include "confdefs.h"
4683 if { (eval echo configure:4684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4687 echo "configure: failed program was:" >&5
4688 cat conftest.$ac_ext >&5
4693 echo "$ac_t""$has_weof" 1>&6
4696 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4699 echo "configure:4700: checking for $ac_func" >&5
4700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4701 echo $ac_n "(cached) $ac_c" 1>&6
4703 cat > conftest.$ac_ext <<EOF
4704 #line 4705 "configure"
4705 #include "confdefs.h"
4706 /* System header to define __stub macros and hopefully few prototypes,
4707 which can conflict with char $ac_func(); below. */
4709 /* Override any gcc2 internal prototype to avoid an error. */
4710 /* We use char because int might match the return type of a gcc2
4711 builtin and then its argument prototype would still apply. */
4716 /* The GNU C library defines this for functions which it implements
4717 to always fail with ENOSYS. Some functions are actually named
4718 something starting with __ and the normal name is an alias. */
4719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4729 eval "ac_cv_func_$ac_func=yes"
4731 echo "configure: failed program was:" >&5
4732 cat conftest.$ac_ext >&5
4734 eval "ac_cv_func_$ac_func=no"
4739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4740 echo "$ac_t""yes" 1>&6
4741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4742 cat >> confdefs.h <<EOF
4743 #define $ac_tr_func 1
4747 echo "$ac_t""no" 1>&6
4754 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4755 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4756 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4757 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4758 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4759 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4762 echo "configure:4763: checking for $ac_func" >&5
4763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4764 echo $ac_n "(cached) $ac_c" 1>&6
4766 cat > conftest.$ac_ext <<EOF
4767 #line 4768 "configure"
4768 #include "confdefs.h"
4769 /* System header to define __stub macros and hopefully few prototypes,
4770 which can conflict with char $ac_func(); below. */
4772 /* Override any gcc2 internal prototype to avoid an error. */
4773 /* We use char because int might match the return type of a gcc2
4774 builtin and then its argument prototype would still apply. */
4779 /* The GNU C library defines this for functions which it implements
4780 to always fail with ENOSYS. Some functions are actually named
4781 something starting with __ and the normal name is an alias. */
4782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4790 if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4792 eval "ac_cv_func_$ac_func=yes"
4794 echo "configure: failed program was:" >&5
4795 cat conftest.$ac_ext >&5
4797 eval "ac_cv_func_$ac_func=no"
4802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4803 echo "$ac_t""yes" 1>&6
4804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4805 cat >> confdefs.h <<EOF
4806 #define $ac_tr_func 1
4810 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4818 echo "configure:4819: checking for ISO C99 wchar_t support" >&5
4819 if test x"$has_weof" = xyes &&
4820 test x"$has_wchar_minmax" = xyes &&
4821 test x"$ac_wfuncs" = xyes; then
4822 ac_isoC99_wchar_t=yes
4824 ac_isoC99_wchar_t=no
4826 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4828 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4829 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4830 echo "configure:4831: checking for iconv.h" >&5
4831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4832 echo $ac_n "(cached) $ac_c" 1>&6
4834 cat > conftest.$ac_ext <<EOF
4835 #line 4836 "configure"
4836 #include "confdefs.h"
4839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4840 { (eval echo configure:4841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4842 if test -z "$ac_err"; then
4844 eval "ac_cv_header_$ac_safe=yes"
4847 echo "configure: failed program was:" >&5
4848 cat conftest.$ac_ext >&5
4850 eval "ac_cv_header_$ac_safe=no"
4854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4855 echo "$ac_t""yes" 1>&6
4858 echo "$ac_t""no" 1>&6
4862 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4863 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4864 echo "configure:4865: checking for langinfo.h" >&5
4865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4866 echo $ac_n "(cached) $ac_c" 1>&6
4868 cat > conftest.$ac_ext <<EOF
4869 #line 4870 "configure"
4870 #include "confdefs.h"
4871 #include <langinfo.h>
4873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4874 { (eval echo configure:4875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4876 if test -z "$ac_err"; then
4878 eval "ac_cv_header_$ac_safe=yes"
4881 echo "configure: failed program was:" >&5
4882 cat conftest.$ac_ext >&5
4884 eval "ac_cv_header_$ac_safe=no"
4888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4889 echo "$ac_t""yes" 1>&6
4890 ac_has_langinfo_h=yes
4892 echo "$ac_t""no" 1>&6
4893 ac_has_langinfo_h=no
4897 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4898 echo "configure:4899: checking for iconv in -liconv" >&5
4899 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4900 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4901 echo $ac_n "(cached) $ac_c" 1>&6
4903 ac_save_LIBS="$LIBS"
4904 LIBS="-liconv $LIBS"
4905 cat > conftest.$ac_ext <<EOF
4906 #line 4907 "configure"
4907 #include "confdefs.h"
4908 /* Override any gcc2 internal prototype to avoid an error. */
4909 /* We use char because int might match the return type of a gcc2
4910 builtin and then its argument prototype would still apply. */
4917 if { (eval echo configure:4918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4919 eval "ac_cv_lib_$ac_lib_var=yes"
4921 echo "configure: failed program was:" >&5
4922 cat conftest.$ac_ext >&5
4924 eval "ac_cv_lib_$ac_lib_var=no"
4927 LIBS="$ac_save_LIBS"
4930 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4931 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4937 ac_save_LIBS="$LIBS"
4938 LIBS="$LIBS $libiconv"
4940 for ac_func in iconv_open iconv_close iconv nl_langinfo
4942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4943 echo "configure:4944: checking for $ac_func" >&5
4944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4945 echo $ac_n "(cached) $ac_c" 1>&6
4947 cat > conftest.$ac_ext <<EOF
4948 #line 4949 "configure"
4949 #include "confdefs.h"
4950 /* System header to define __stub macros and hopefully few prototypes,
4951 which can conflict with char $ac_func(); below. */
4953 /* Override any gcc2 internal prototype to avoid an error. */
4954 /* We use char because int might match the return type of a gcc2
4955 builtin and then its argument prototype would still apply. */
4960 /* The GNU C library defines this for functions which it implements
4961 to always fail with ENOSYS. Some functions are actually named
4962 something starting with __ and the normal name is an alias. */
4963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4971 if { (eval echo configure:4972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4973 eval "ac_cv_func_$ac_func=yes"
4975 echo "configure: failed program was:" >&5
4976 cat conftest.$ac_ext >&5
4978 eval "ac_cv_func_$ac_func=no"
4983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4984 echo "$ac_t""yes" 1>&6
4985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4986 cat >> confdefs.h <<EOF
4987 #define $ac_tr_func 1
4992 echo "$ac_t""no" 1>&6
4998 LIBS="$ac_save_LIBS"
5000 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5001 echo "configure:5002: checking for XPG2 wchar_t support" >&5
5002 if test x"$ac_has_iconv_h" = xyes &&
5003 test x"$ac_has_langinfo_h" = xyes &&
5004 test x"$ac_XPG2funcs" = xyes; then
5009 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5011 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5012 echo "configure:5013: checking for enabled wchar_t specializations" >&5
5013 if test x"$ac_isoC99_wchar_t" = xyes &&
5014 test x"$ac_XPG2_wchar_t" = xyes; then
5015 cat >> confdefs.h <<\EOF
5016 #define _GLIBCPP_USE_WCHAR_T 1
5019 echo "$ac_t"""yes"" 1>&6
5021 echo "$ac_t"""no"" 1>&6
5024 echo "configure: warning: wchar_t support disabled." 1>&2
5027 cat >> confdefs.h <<\EOF
5028 #define HAVE_COPYSIGN 1
5031 cat >> confdefs.h <<\EOF
5032 #define HAVE_COPYSIGNF 1
5035 cat >> confdefs.h <<\EOF
5036 #define HAVE_FINITE 1
5039 cat >> confdefs.h <<\EOF
5040 #define HAVE_FINITEF 1
5043 cat >> confdefs.h <<\EOF
5044 #define HAVE_FREXPF 1
5047 cat >> confdefs.h <<\EOF
5048 #define HAVE_HYPOTF 1
5051 cat >> confdefs.h <<\EOF
5052 #define HAVE_ISINF 1
5055 cat >> confdefs.h <<\EOF
5056 #define HAVE_ISINFF 1
5059 cat >> confdefs.h <<\EOF
5060 #define HAVE_ISNAN 1
5063 cat >> confdefs.h <<\EOF
5064 #define HAVE_ISNANF 1
5067 cat >> confdefs.h <<\EOF
5068 #define HAVE_SINCOS 1
5071 cat >> confdefs.h <<\EOF
5072 #define HAVE_SINCOSF 1
5075 if test x"long_double_math_on_this_cpu" = x"yes"; then
5076 cat >> confdefs.h <<\EOF
5077 #define HAVE_FINITEL 1
5080 cat >> confdefs.h <<\EOF
5081 #define HAVE_HYPOTL 1
5084 cat >> confdefs.h <<\EOF
5085 #define HAVE_ISINFL 1
5088 cat >> confdefs.h <<\EOF
5089 #define HAVE_ISNANL 1
5095 # Check for available headers.
5096 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5097 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5098 fp.h locale.h float.h inttypes.h
5100 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5101 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5102 echo "configure:5103: checking for $ac_hdr" >&5
5103 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5104 echo $ac_n "(cached) $ac_c" 1>&6
5106 cat > conftest.$ac_ext <<EOF
5107 #line 5108 "configure"
5108 #include "confdefs.h"
5111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5112 { (eval echo configure:5113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5114 if test -z "$ac_err"; then
5116 eval "ac_cv_header_$ac_safe=yes"
5119 echo "configure: failed program was:" >&5
5120 cat conftest.$ac_ext >&5
5122 eval "ac_cv_header_$ac_safe=no"
5126 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5127 echo "$ac_t""yes" 1>&6
5128 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5129 cat >> confdefs.h <<EOF
5130 #define $ac_tr_hdr 1
5134 echo "$ac_t""no" 1>&6
5138 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5141 # If we're not using GNU ld, then there's no point in even trying these
5142 # tests. Check for that first. We should have already tested for gld
5143 # by now (in libtool), but require it now just to be safe...
5144 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5145 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5148 # The name set by libtool depends on the version of libtool. Shame on us
5149 # for depending on an impl detail, but c'est la vie. Older versions used
5150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5153 # set (hence we're using an older libtool), then set it.
5154 if test x${with_gnu_ld+set} != xset; then
5155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5159 with_gnu_ld=$ac_cv_prog_gnu_ld
5163 # Start by getting the version number. I think the libtool test already
5164 # does some of this, but throws away the result.
5166 ldver=`$LD --version 2>/dev/null | head -1 | \
5167 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5169 glibcpp_gnu_ld_version=`echo $ldver | \
5170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5172 # Set --gc-sections.
5173 if test "$with_gnu_ld" = "notbroken"; then
5174 # GNU ld it is! Joy and bunny rabbits!
5176 # All these tests are for C++; save the language and the compiler flags.
5177 # Need to do this so that g++ won't try to link in libstdc++
5178 ac_test_CFLAGS="${CFLAGS+set}"
5179 ac_save_CFLAGS="$CFLAGS"
5180 CFLAGS='-x c++ -Wl,--gc-sections'
5182 # Check for -Wl,--gc-sections
5183 # XXX This test is broken at the moment, as symbols required for
5184 # linking are now in libsupc++ (not built yet.....). In addition,
5185 # this test has cored on solaris in the past. In addition,
5186 # --gc-sections doesn't really work at the moment (keeps on discarding
5187 # used sections, first .eh_frame and now some of the glibc sections for
5188 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5189 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5190 echo "configure:5191: checking for ld that supports -Wl,--gc-sections" >&5
5191 if test "$cross_compiling" = yes; then
5192 ac_sectionLDflags=yes
5194 cat > conftest.$ac_ext <<EOF
5195 #line 5196 "configure"
5196 #include "confdefs.h"
5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5208 ac_sectionLDflags=yes
5210 echo "configure: failed program was:" >&5
5211 cat conftest.$ac_ext >&5
5213 ac_sectionLDflags=no
5218 if test "$ac_test_CFLAGS" = set; then
5219 CFLAGS="$ac_save_CFLAGS"
5221 # this is the suspicious part
5224 if test "$ac_sectionLDflags" = "yes"; then
5225 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5227 echo "$ac_t""$ac_sectionLDflags" 1>&6
5230 # Set linker optimization flags.
5231 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5232 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5239 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5240 echo "configure:5241: checking for main in -lm" >&5
5241 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5243 echo $ac_n "(cached) $ac_c" 1>&6
5245 ac_save_LIBS="$LIBS"
5247 cat > conftest.$ac_ext <<EOF
5248 #line 5249 "configure"
5249 #include "confdefs.h"
5255 if { (eval echo configure:5256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5257 eval "ac_cv_lib_$ac_lib_var=yes"
5259 echo "configure: failed program was:" >&5
5260 cat conftest.$ac_ext >&5
5262 eval "ac_cv_lib_$ac_lib_var=no"
5265 LIBS="$ac_save_LIBS"
5268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5269 echo "$ac_t""yes" 1>&6
5270 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5271 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5272 cat >> confdefs.h <<EOF
5273 #define $ac_tr_lib 1
5279 echo "$ac_t""no" 1>&6
5282 for ac_func in nan copysignf
5284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5285 echo "configure:5286: checking for $ac_func" >&5
5286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5287 echo $ac_n "(cached) $ac_c" 1>&6
5289 cat > conftest.$ac_ext <<EOF
5290 #line 5291 "configure"
5291 #include "confdefs.h"
5292 /* System header to define __stub macros and hopefully few prototypes,
5293 which can conflict with char $ac_func(); below. */
5295 /* Override any gcc2 internal prototype to avoid an error. */
5296 /* We use char because int might match the return type of a gcc2
5297 builtin and then its argument prototype would still apply. */
5302 /* The GNU C library defines this for functions which it implements
5303 to always fail with ENOSYS. Some functions are actually named
5304 something starting with __ and the normal name is an alias. */
5305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5313 if { (eval echo configure:5314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5315 eval "ac_cv_func_$ac_func=yes"
5317 echo "configure: failed program was:" >&5
5318 cat conftest.$ac_ext >&5
5320 eval "ac_cv_func_$ac_func=no"
5325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5326 echo "$ac_t""yes" 1>&6
5327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5328 cat >> confdefs.h <<EOF
5329 #define $ac_tr_func 1
5333 echo "$ac_t""no" 1>&6
5334 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5339 for ac_func in __signbit
5341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5342 echo "configure:5343: checking for $ac_func" >&5
5343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5344 echo $ac_n "(cached) $ac_c" 1>&6
5346 cat > conftest.$ac_ext <<EOF
5347 #line 5348 "configure"
5348 #include "confdefs.h"
5349 /* System header to define __stub macros and hopefully few prototypes,
5350 which can conflict with char $ac_func(); below. */
5352 /* Override any gcc2 internal prototype to avoid an error. */
5353 /* We use char because int might match the return type of a gcc2
5354 builtin and then its argument prototype would still apply. */
5359 /* The GNU C library defines this for functions which it implements
5360 to always fail with ENOSYS. Some functions are actually named
5361 something starting with __ and the normal name is an alias. */
5362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5370 if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5372 eval "ac_cv_func_$ac_func=yes"
5374 echo "configure: failed program was:" >&5
5375 cat conftest.$ac_ext >&5
5377 eval "ac_cv_func_$ac_func=no"
5382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5383 echo "$ac_t""yes" 1>&6
5384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5385 cat >> confdefs.h <<EOF
5386 #define $ac_tr_func 1
5390 echo "$ac_t""no" 1>&6
5391 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5395 for ac_func in __signbitf
5397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5398 echo "configure:5399: checking for $ac_func" >&5
5399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5400 echo $ac_n "(cached) $ac_c" 1>&6
5402 cat > conftest.$ac_ext <<EOF
5403 #line 5404 "configure"
5404 #include "confdefs.h"
5405 /* System header to define __stub macros and hopefully few prototypes,
5406 which can conflict with char $ac_func(); below. */
5408 /* Override any gcc2 internal prototype to avoid an error. */
5409 /* We use char because int might match the return type of a gcc2
5410 builtin and then its argument prototype would still apply. */
5415 /* The GNU C library defines this for functions which it implements
5416 to always fail with ENOSYS. Some functions are actually named
5417 something starting with __ and the normal name is an alias. */
5418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5426 if { (eval echo configure:5427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5428 eval "ac_cv_func_$ac_func=yes"
5430 echo "configure: failed program was:" >&5
5431 cat conftest.$ac_ext >&5
5433 eval "ac_cv_func_$ac_func=no"
5438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5439 echo "$ac_t""yes" 1>&6
5440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5441 cat >> confdefs.h <<EOF
5442 #define $ac_tr_func 1
5446 echo "$ac_t""no" 1>&6
5447 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5452 if test x$ac_cv_func_copysignl = x"yes"; then
5453 for ac_func in __signbitl
5455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5456 echo "configure:5457: checking for $ac_func" >&5
5457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5458 echo $ac_n "(cached) $ac_c" 1>&6
5460 cat > conftest.$ac_ext <<EOF
5461 #line 5462 "configure"
5462 #include "confdefs.h"
5463 /* System header to define __stub macros and hopefully few prototypes,
5464 which can conflict with char $ac_func(); below. */
5466 /* Override any gcc2 internal prototype to avoid an error. */
5467 /* We use char because int might match the return type of a gcc2
5468 builtin and then its argument prototype would still apply. */
5473 /* The GNU C library defines this for functions which it implements
5474 to always fail with ENOSYS. Some functions are actually named
5475 something starting with __ and the normal name is an alias. */
5476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5484 if { (eval echo configure:5485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5486 eval "ac_cv_func_$ac_func=yes"
5488 echo "configure: failed program was:" >&5
5489 cat conftest.$ac_ext >&5
5491 eval "ac_cv_func_$ac_func=no"
5496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5497 echo "$ac_t""yes" 1>&6
5498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5499 cat >> confdefs.h <<EOF
5500 #define $ac_tr_func 1
5504 echo "$ac_t""no" 1>&6
5505 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5515 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5516 echo "configure:5517: checking for mbstate_t" >&5
5517 cat > conftest.$ac_ext <<EOF
5518 #line 5519 "configure"
5519 #include "confdefs.h"
5522 mbstate_t teststate;
5525 if { (eval echo configure:5526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5529 echo "configure: failed program was:" >&5
5530 cat conftest.$ac_ext >&5
5535 echo "$ac_t""$have_mbstate_t" 1>&6
5536 if test x"$have_mbstate_t" = xyes; then
5537 cat >> confdefs.h <<\EOF
5538 #define HAVE_MBSTATE_T 1
5543 for ac_hdr in wchar.h
5545 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5547 echo "configure:5548: checking for $ac_hdr" >&5
5548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5549 echo $ac_n "(cached) $ac_c" 1>&6
5551 cat > conftest.$ac_ext <<EOF
5552 #line 5553 "configure"
5553 #include "confdefs.h"
5556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5557 { (eval echo configure:5558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5559 if test -z "$ac_err"; then
5561 eval "ac_cv_header_$ac_safe=yes"
5564 echo "configure: failed program was:" >&5
5565 cat conftest.$ac_ext >&5
5567 eval "ac_cv_header_$ac_safe=no"
5571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5572 echo "$ac_t""yes" 1>&6
5573 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5574 cat >> confdefs.h <<EOF
5575 #define $ac_tr_hdr 1
5579 echo "$ac_t""no" 1>&6
5584 for ac_hdr in wctype.h
5586 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5588 echo "configure:5589: checking for $ac_hdr" >&5
5589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5590 echo $ac_n "(cached) $ac_c" 1>&6
5592 cat > conftest.$ac_ext <<EOF
5593 #line 5594 "configure"
5594 #include "confdefs.h"
5597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5598 { (eval echo configure:5599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5600 if test -z "$ac_err"; then
5602 eval "ac_cv_header_$ac_safe=yes"
5605 echo "configure: failed program was:" >&5
5606 cat conftest.$ac_ext >&5
5608 eval "ac_cv_header_$ac_safe=no"
5612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5613 echo "$ac_t""yes" 1>&6
5614 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5615 cat >> confdefs.h <<EOF
5616 #define $ac_tr_hdr 1
5620 echo "$ac_t""no" 1>&6
5626 if test x"$ac_has_wchar_h" = xyes &&
5627 test x"$ac_has_wctype_h" = xyes &&
5628 test x"$enable_c_mbchar" != xno; then
5630 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5631 echo "configure:5632: checking for WCHAR_MIN and WCHAR_MAX" >&5
5632 cat > conftest.$ac_ext <<EOF
5633 #line 5634 "configure"
5634 #include "confdefs.h"
5637 int i = WCHAR_MIN; int j = WCHAR_MAX;
5640 if { (eval echo configure:5641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5642 has_wchar_minmax=yes
5644 echo "configure: failed program was:" >&5
5645 cat conftest.$ac_ext >&5
5650 echo "$ac_t""$has_wchar_minmax" 1>&6
5652 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5653 echo "configure:5654: checking for WEOF" >&5
5654 cat > conftest.$ac_ext <<EOF
5655 #line 5656 "configure"
5656 #include "confdefs.h"
5664 if { (eval echo configure:5665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5668 echo "configure: failed program was:" >&5
5669 cat conftest.$ac_ext >&5
5674 echo "$ac_t""$has_weof" 1>&6
5677 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5680 echo "configure:5681: checking for $ac_func" >&5
5681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5682 echo $ac_n "(cached) $ac_c" 1>&6
5684 cat > conftest.$ac_ext <<EOF
5685 #line 5686 "configure"
5686 #include "confdefs.h"
5687 /* System header to define __stub macros and hopefully few prototypes,
5688 which can conflict with char $ac_func(); below. */
5690 /* Override any gcc2 internal prototype to avoid an error. */
5691 /* We use char because int might match the return type of a gcc2
5692 builtin and then its argument prototype would still apply. */
5697 /* The GNU C library defines this for functions which it implements
5698 to always fail with ENOSYS. Some functions are actually named
5699 something starting with __ and the normal name is an alias. */
5700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5708 if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5710 eval "ac_cv_func_$ac_func=yes"
5712 echo "configure: failed program was:" >&5
5713 cat conftest.$ac_ext >&5
5715 eval "ac_cv_func_$ac_func=no"
5720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5721 echo "$ac_t""yes" 1>&6
5722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5723 cat >> confdefs.h <<EOF
5724 #define $ac_tr_func 1
5728 echo "$ac_t""no" 1>&6
5735 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5736 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5737 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5738 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5739 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5740 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5743 echo "configure:5744: checking for $ac_func" >&5
5744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5745 echo $ac_n "(cached) $ac_c" 1>&6
5747 cat > conftest.$ac_ext <<EOF
5748 #line 5749 "configure"
5749 #include "confdefs.h"
5750 /* System header to define __stub macros and hopefully few prototypes,
5751 which can conflict with char $ac_func(); below. */
5753 /* Override any gcc2 internal prototype to avoid an error. */
5754 /* We use char because int might match the return type of a gcc2
5755 builtin and then its argument prototype would still apply. */
5760 /* The GNU C library defines this for functions which it implements
5761 to always fail with ENOSYS. Some functions are actually named
5762 something starting with __ and the normal name is an alias. */
5763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5771 if { (eval echo configure:5772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5773 eval "ac_cv_func_$ac_func=yes"
5775 echo "configure: failed program was:" >&5
5776 cat conftest.$ac_ext >&5
5778 eval "ac_cv_func_$ac_func=no"
5783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5784 echo "$ac_t""yes" 1>&6
5785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5786 cat >> confdefs.h <<EOF
5787 #define $ac_tr_func 1
5791 echo "$ac_t""no" 1>&6
5798 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5799 echo "configure:5800: checking for ISO C99 wchar_t support" >&5
5800 if test x"$has_weof" = xyes &&
5801 test x"$has_wchar_minmax" = xyes &&
5802 test x"$ac_wfuncs" = xyes; then
5803 ac_isoC99_wchar_t=yes
5805 ac_isoC99_wchar_t=no
5807 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5809 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5810 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5811 echo "configure:5812: checking for iconv.h" >&5
5812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5813 echo $ac_n "(cached) $ac_c" 1>&6
5815 cat > conftest.$ac_ext <<EOF
5816 #line 5817 "configure"
5817 #include "confdefs.h"
5820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5821 { (eval echo configure:5822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5823 if test -z "$ac_err"; then
5825 eval "ac_cv_header_$ac_safe=yes"
5828 echo "configure: failed program was:" >&5
5829 cat conftest.$ac_ext >&5
5831 eval "ac_cv_header_$ac_safe=no"
5835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5836 echo "$ac_t""yes" 1>&6
5839 echo "$ac_t""no" 1>&6
5843 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5844 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5845 echo "configure:5846: checking for langinfo.h" >&5
5846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5847 echo $ac_n "(cached) $ac_c" 1>&6
5849 cat > conftest.$ac_ext <<EOF
5850 #line 5851 "configure"
5851 #include "confdefs.h"
5852 #include <langinfo.h>
5854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5855 { (eval echo configure:5856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5857 if test -z "$ac_err"; then
5859 eval "ac_cv_header_$ac_safe=yes"
5862 echo "configure: failed program was:" >&5
5863 cat conftest.$ac_ext >&5
5865 eval "ac_cv_header_$ac_safe=no"
5869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5870 echo "$ac_t""yes" 1>&6
5871 ac_has_langinfo_h=yes
5873 echo "$ac_t""no" 1>&6
5874 ac_has_langinfo_h=no
5878 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5879 echo "configure:5880: checking for iconv in -liconv" >&5
5880 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5881 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5882 echo $ac_n "(cached) $ac_c" 1>&6
5884 ac_save_LIBS="$LIBS"
5885 LIBS="-liconv $LIBS"
5886 cat > conftest.$ac_ext <<EOF
5887 #line 5888 "configure"
5888 #include "confdefs.h"
5889 /* Override any gcc2 internal prototype to avoid an error. */
5890 /* We use char because int might match the return type of a gcc2
5891 builtin and then its argument prototype would still apply. */
5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5900 eval "ac_cv_lib_$ac_lib_var=yes"
5902 echo "configure: failed program was:" >&5
5903 cat conftest.$ac_ext >&5
5905 eval "ac_cv_lib_$ac_lib_var=no"
5908 LIBS="$ac_save_LIBS"
5911 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5912 echo "$ac_t""yes" 1>&6
5915 echo "$ac_t""no" 1>&6
5918 ac_save_LIBS="$LIBS"
5919 LIBS="$LIBS $libiconv"
5921 for ac_func in iconv_open iconv_close iconv nl_langinfo
5923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5924 echo "configure:5925: checking for $ac_func" >&5
5925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6
5928 cat > conftest.$ac_ext <<EOF
5929 #line 5930 "configure"
5930 #include "confdefs.h"
5931 /* System header to define __stub macros and hopefully few prototypes,
5932 which can conflict with char $ac_func(); below. */
5934 /* Override any gcc2 internal prototype to avoid an error. */
5935 /* We use char because int might match the return type of a gcc2
5936 builtin and then its argument prototype would still apply. */
5941 /* The GNU C library defines this for functions which it implements
5942 to always fail with ENOSYS. Some functions are actually named
5943 something starting with __ and the normal name is an alias. */
5944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5954 eval "ac_cv_func_$ac_func=yes"
5956 echo "configure: failed program was:" >&5
5957 cat conftest.$ac_ext >&5
5959 eval "ac_cv_func_$ac_func=no"
5964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5965 echo "$ac_t""yes" 1>&6
5966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5967 cat >> confdefs.h <<EOF
5968 #define $ac_tr_func 1
5973 echo "$ac_t""no" 1>&6
5979 LIBS="$ac_save_LIBS"
5981 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5982 echo "configure:5983: checking for XPG2 wchar_t support" >&5
5983 if test x"$ac_has_iconv_h" = xyes &&
5984 test x"$ac_has_langinfo_h" = xyes &&
5985 test x"$ac_XPG2funcs" = xyes; then
5990 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5992 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5993 echo "configure:5994: checking for enabled wchar_t specializations" >&5
5994 if test x"$ac_isoC99_wchar_t" = xyes &&
5995 test x"$ac_XPG2_wchar_t" = xyes; then
5996 cat >> confdefs.h <<\EOF
5997 #define _GLIBCPP_USE_WCHAR_T 1
6000 echo "$ac_t"""yes"" 1>&6
6002 echo "$ac_t"""no"" 1>&6
6005 echo "configure: warning: wchar_t support disabled." 1>&2
6008 os_include_dir="os/hpux"
6009 cat >> confdefs.h <<\EOF
6010 #define HAVE_COPYSIGN 1
6013 cat >> confdefs.h <<\EOF
6014 #define HAVE_COPYSIGNF 1
6017 cat >> confdefs.h <<\EOF
6018 #define HAVE_FREXPF 1
6021 cat >> confdefs.h <<\EOF
6022 #define HAVE_HYPOT 1
6025 case "$target_alias" in
6027 cat >> confdefs.h <<\EOF
6028 #define HAVE_FINITE 1
6031 cat >> confdefs.h <<\EOF
6032 #define HAVE_FINITEF 1
6035 cat >> confdefs.h <<\EOF
6036 #define HAVE_ISINF 1
6039 cat >> confdefs.h <<\EOF
6040 #define HAVE_ISINFF 1
6043 cat >> confdefs.h <<\EOF
6044 #define HAVE_ISNAN 1
6047 cat >> confdefs.h <<\EOF
6048 #define HAVE_ISNANF 1
6056 # Check for available headers.
6057 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6058 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6059 fp.h locale.h float.h inttypes.h
6061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6063 echo "configure:6064: checking for $ac_hdr" >&5
6064 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6065 echo $ac_n "(cached) $ac_c" 1>&6
6067 cat > conftest.$ac_ext <<EOF
6068 #line 6069 "configure"
6069 #include "confdefs.h"
6072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6073 { (eval echo configure:6074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6075 if test -z "$ac_err"; then
6077 eval "ac_cv_header_$ac_safe=yes"
6080 echo "configure: failed program was:" >&5
6081 cat conftest.$ac_ext >&5
6083 eval "ac_cv_header_$ac_safe=no"
6087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6088 echo "$ac_t""yes" 1>&6
6089 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6090 cat >> confdefs.h <<EOF
6091 #define $ac_tr_hdr 1
6095 echo "$ac_t""no" 1>&6
6099 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6102 # If we're not using GNU ld, then there's no point in even trying these
6103 # tests. Check for that first. We should have already tested for gld
6104 # by now (in libtool), but require it now just to be safe...
6105 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6106 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6109 # The name set by libtool depends on the version of libtool. Shame on us
6110 # for depending on an impl detail, but c'est la vie. Older versions used
6111 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6112 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6113 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6114 # set (hence we're using an older libtool), then set it.
6115 if test x${with_gnu_ld+set} != xset; then
6116 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6117 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6120 with_gnu_ld=$ac_cv_prog_gnu_ld
6124 # Start by getting the version number. I think the libtool test already
6125 # does some of this, but throws away the result.
6127 ldver=`$LD --version 2>/dev/null | head -1 | \
6128 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6130 glibcpp_gnu_ld_version=`echo $ldver | \
6131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6133 # Set --gc-sections.
6134 if test "$with_gnu_ld" = "notbroken"; then
6135 # GNU ld it is! Joy and bunny rabbits!
6137 # All these tests are for C++; save the language and the compiler flags.
6138 # Need to do this so that g++ won't try to link in libstdc++
6139 ac_test_CFLAGS="${CFLAGS+set}"
6140 ac_save_CFLAGS="$CFLAGS"
6141 CFLAGS='-x c++ -Wl,--gc-sections'
6143 # Check for -Wl,--gc-sections
6144 # XXX This test is broken at the moment, as symbols required for
6145 # linking are now in libsupc++ (not built yet.....). In addition,
6146 # this test has cored on solaris in the past. In addition,
6147 # --gc-sections doesn't really work at the moment (keeps on discarding
6148 # used sections, first .eh_frame and now some of the glibc sections for
6149 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6150 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6151 echo "configure:6152: checking for ld that supports -Wl,--gc-sections" >&5
6152 if test "$cross_compiling" = yes; then
6153 ac_sectionLDflags=yes
6155 cat > conftest.$ac_ext <<EOF
6156 #line 6157 "configure"
6157 #include "confdefs.h"
6167 if { (eval echo configure:6168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6169 ac_sectionLDflags=yes
6171 echo "configure: failed program was:" >&5
6172 cat conftest.$ac_ext >&5
6174 ac_sectionLDflags=no
6179 if test "$ac_test_CFLAGS" = set; then
6180 CFLAGS="$ac_save_CFLAGS"
6182 # this is the suspicious part
6185 if test "$ac_sectionLDflags" = "yes"; then
6186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6188 echo "$ac_t""$ac_sectionLDflags" 1>&6
6191 # Set linker optimization flags.
6192 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6193 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6200 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6201 echo "configure:6202: checking for main in -lm" >&5
6202 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 ac_save_LIBS="$LIBS"
6208 cat > conftest.$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6216 if { (eval echo configure:6217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6218 eval "ac_cv_lib_$ac_lib_var=yes"
6220 echo "configure: failed program was:" >&5
6221 cat conftest.$ac_ext >&5
6223 eval "ac_cv_lib_$ac_lib_var=no"
6226 LIBS="$ac_save_LIBS"
6229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6230 echo "$ac_t""yes" 1>&6
6231 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6232 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6233 cat >> confdefs.h <<EOF
6234 #define $ac_tr_lib 1
6240 echo "$ac_t""no" 1>&6
6243 for ac_func in nan copysignf
6245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6246 echo "configure:6247: checking for $ac_func" >&5
6247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6248 echo $ac_n "(cached) $ac_c" 1>&6
6250 cat > conftest.$ac_ext <<EOF
6251 #line 6252 "configure"
6252 #include "confdefs.h"
6253 /* System header to define __stub macros and hopefully few prototypes,
6254 which can conflict with char $ac_func(); below. */
6256 /* Override any gcc2 internal prototype to avoid an error. */
6257 /* We use char because int might match the return type of a gcc2
6258 builtin and then its argument prototype would still apply. */
6263 /* The GNU C library defines this for functions which it implements
6264 to always fail with ENOSYS. Some functions are actually named
6265 something starting with __ and the normal name is an alias. */
6266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6274 if { (eval echo configure:6275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6276 eval "ac_cv_func_$ac_func=yes"
6278 echo "configure: failed program was:" >&5
6279 cat conftest.$ac_ext >&5
6281 eval "ac_cv_func_$ac_func=no"
6286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6287 echo "$ac_t""yes" 1>&6
6288 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6289 cat >> confdefs.h <<EOF
6290 #define $ac_tr_func 1
6294 echo "$ac_t""no" 1>&6
6295 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6300 for ac_func in __signbit
6302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6303 echo "configure:6304: checking for $ac_func" >&5
6304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6305 echo $ac_n "(cached) $ac_c" 1>&6
6307 cat > conftest.$ac_ext <<EOF
6308 #line 6309 "configure"
6309 #include "confdefs.h"
6310 /* System header to define __stub macros and hopefully few prototypes,
6311 which can conflict with char $ac_func(); below. */
6313 /* Override any gcc2 internal prototype to avoid an error. */
6314 /* We use char because int might match the return type of a gcc2
6315 builtin and then its argument prototype would still apply. */
6320 /* The GNU C library defines this for functions which it implements
6321 to always fail with ENOSYS. Some functions are actually named
6322 something starting with __ and the normal name is an alias. */
6323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6331 if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6333 eval "ac_cv_func_$ac_func=yes"
6335 echo "configure: failed program was:" >&5
6336 cat conftest.$ac_ext >&5
6338 eval "ac_cv_func_$ac_func=no"
6343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6344 echo "$ac_t""yes" 1>&6
6345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6346 cat >> confdefs.h <<EOF
6347 #define $ac_tr_func 1
6351 echo "$ac_t""no" 1>&6
6352 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6356 for ac_func in __signbitf
6358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6359 echo "configure:6360: checking for $ac_func" >&5
6360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6361 echo $ac_n "(cached) $ac_c" 1>&6
6363 cat > conftest.$ac_ext <<EOF
6364 #line 6365 "configure"
6365 #include "confdefs.h"
6366 /* System header to define __stub macros and hopefully few prototypes,
6367 which can conflict with char $ac_func(); below. */
6369 /* Override any gcc2 internal prototype to avoid an error. */
6370 /* We use char because int might match the return type of a gcc2
6371 builtin and then its argument prototype would still apply. */
6376 /* The GNU C library defines this for functions which it implements
6377 to always fail with ENOSYS. Some functions are actually named
6378 something starting with __ and the normal name is an alias. */
6379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6387 if { (eval echo configure:6388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6389 eval "ac_cv_func_$ac_func=yes"
6391 echo "configure: failed program was:" >&5
6392 cat conftest.$ac_ext >&5
6394 eval "ac_cv_func_$ac_func=no"
6399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6400 echo "$ac_t""yes" 1>&6
6401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6402 cat >> confdefs.h <<EOF
6403 #define $ac_tr_func 1
6407 echo "$ac_t""no" 1>&6
6408 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6413 if test x$ac_cv_func_copysignl = x"yes"; then
6414 for ac_func in __signbitl
6416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6417 echo "configure:6418: checking for $ac_func" >&5
6418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6419 echo $ac_n "(cached) $ac_c" 1>&6
6421 cat > conftest.$ac_ext <<EOF
6422 #line 6423 "configure"
6423 #include "confdefs.h"
6424 /* System header to define __stub macros and hopefully few prototypes,
6425 which can conflict with char $ac_func(); below. */
6427 /* Override any gcc2 internal prototype to avoid an error. */
6428 /* We use char because int might match the return type of a gcc2
6429 builtin and then its argument prototype would still apply. */
6434 /* The GNU C library defines this for functions which it implements
6435 to always fail with ENOSYS. Some functions are actually named
6436 something starting with __ and the normal name is an alias. */
6437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6445 if { (eval echo configure:6446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6447 eval "ac_cv_func_$ac_func=yes"
6449 echo "configure: failed program was:" >&5
6450 cat conftest.$ac_ext >&5
6452 eval "ac_cv_func_$ac_func=no"
6457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6458 echo "$ac_t""yes" 1>&6
6459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6460 cat >> confdefs.h <<EOF
6461 #define $ac_tr_func 1
6465 echo "$ac_t""no" 1>&6
6466 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6476 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6477 echo "configure:6478: checking for mbstate_t" >&5
6478 cat > conftest.$ac_ext <<EOF
6479 #line 6480 "configure"
6480 #include "confdefs.h"
6483 mbstate_t teststate;
6486 if { (eval echo configure:6487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6490 echo "configure: failed program was:" >&5
6491 cat conftest.$ac_ext >&5
6496 echo "$ac_t""$have_mbstate_t" 1>&6
6497 if test x"$have_mbstate_t" = xyes; then
6498 cat >> confdefs.h <<\EOF
6499 #define HAVE_MBSTATE_T 1
6504 for ac_hdr in wchar.h
6506 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6508 echo "configure:6509: checking for $ac_hdr" >&5
6509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6510 echo $ac_n "(cached) $ac_c" 1>&6
6512 cat > conftest.$ac_ext <<EOF
6513 #line 6514 "configure"
6514 #include "confdefs.h"
6517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6518 { (eval echo configure:6519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6520 if test -z "$ac_err"; then
6522 eval "ac_cv_header_$ac_safe=yes"
6525 echo "configure: failed program was:" >&5
6526 cat conftest.$ac_ext >&5
6528 eval "ac_cv_header_$ac_safe=no"
6532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6533 echo "$ac_t""yes" 1>&6
6534 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6535 cat >> confdefs.h <<EOF
6536 #define $ac_tr_hdr 1
6540 echo "$ac_t""no" 1>&6
6545 for ac_hdr in wctype.h
6547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6548 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6549 echo "configure:6550: checking for $ac_hdr" >&5
6550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6551 echo $ac_n "(cached) $ac_c" 1>&6
6553 cat > conftest.$ac_ext <<EOF
6554 #line 6555 "configure"
6555 #include "confdefs.h"
6558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6559 { (eval echo configure:6560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6561 if test -z "$ac_err"; then
6563 eval "ac_cv_header_$ac_safe=yes"
6566 echo "configure: failed program was:" >&5
6567 cat conftest.$ac_ext >&5
6569 eval "ac_cv_header_$ac_safe=no"
6573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6574 echo "$ac_t""yes" 1>&6
6575 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6576 cat >> confdefs.h <<EOF
6577 #define $ac_tr_hdr 1
6581 echo "$ac_t""no" 1>&6
6587 if test x"$ac_has_wchar_h" = xyes &&
6588 test x"$ac_has_wctype_h" = xyes &&
6589 test x"$enable_c_mbchar" != xno; then
6591 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6592 echo "configure:6593: checking for WCHAR_MIN and WCHAR_MAX" >&5
6593 cat > conftest.$ac_ext <<EOF
6594 #line 6595 "configure"
6595 #include "confdefs.h"
6598 int i = WCHAR_MIN; int j = WCHAR_MAX;
6601 if { (eval echo configure:6602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6603 has_wchar_minmax=yes
6605 echo "configure: failed program was:" >&5
6606 cat conftest.$ac_ext >&5
6611 echo "$ac_t""$has_wchar_minmax" 1>&6
6613 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6614 echo "configure:6615: checking for WEOF" >&5
6615 cat > conftest.$ac_ext <<EOF
6616 #line 6617 "configure"
6617 #include "confdefs.h"
6625 if { (eval echo configure:6626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6629 echo "configure: failed program was:" >&5
6630 cat conftest.$ac_ext >&5
6635 echo "$ac_t""$has_weof" 1>&6
6638 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6641 echo "configure:6642: checking for $ac_func" >&5
6642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6643 echo $ac_n "(cached) $ac_c" 1>&6
6645 cat > conftest.$ac_ext <<EOF
6646 #line 6647 "configure"
6647 #include "confdefs.h"
6648 /* System header to define __stub macros and hopefully few prototypes,
6649 which can conflict with char $ac_func(); below. */
6651 /* Override any gcc2 internal prototype to avoid an error. */
6652 /* We use char because int might match the return type of a gcc2
6653 builtin and then its argument prototype would still apply. */
6658 /* The GNU C library defines this for functions which it implements
6659 to always fail with ENOSYS. Some functions are actually named
6660 something starting with __ and the normal name is an alias. */
6661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6669 if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6671 eval "ac_cv_func_$ac_func=yes"
6673 echo "configure: failed program was:" >&5
6674 cat conftest.$ac_ext >&5
6676 eval "ac_cv_func_$ac_func=no"
6681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6682 echo "$ac_t""yes" 1>&6
6683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6684 cat >> confdefs.h <<EOF
6685 #define $ac_tr_func 1
6689 echo "$ac_t""no" 1>&6
6696 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6697 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6698 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6699 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6700 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6701 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6704 echo "configure:6705: checking for $ac_func" >&5
6705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6706 echo $ac_n "(cached) $ac_c" 1>&6
6708 cat > conftest.$ac_ext <<EOF
6709 #line 6710 "configure"
6710 #include "confdefs.h"
6711 /* System header to define __stub macros and hopefully few prototypes,
6712 which can conflict with char $ac_func(); below. */
6714 /* Override any gcc2 internal prototype to avoid an error. */
6715 /* We use char because int might match the return type of a gcc2
6716 builtin and then its argument prototype would still apply. */
6721 /* The GNU C library defines this for functions which it implements
6722 to always fail with ENOSYS. Some functions are actually named
6723 something starting with __ and the normal name is an alias. */
6724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6732 if { (eval echo configure:6733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6734 eval "ac_cv_func_$ac_func=yes"
6736 echo "configure: failed program was:" >&5
6737 cat conftest.$ac_ext >&5
6739 eval "ac_cv_func_$ac_func=no"
6744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6745 echo "$ac_t""yes" 1>&6
6746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6747 cat >> confdefs.h <<EOF
6748 #define $ac_tr_func 1
6752 echo "$ac_t""no" 1>&6
6759 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6760 echo "configure:6761: checking for ISO C99 wchar_t support" >&5
6761 if test x"$has_weof" = xyes &&
6762 test x"$has_wchar_minmax" = xyes &&
6763 test x"$ac_wfuncs" = xyes; then
6764 ac_isoC99_wchar_t=yes
6766 ac_isoC99_wchar_t=no
6768 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6770 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6771 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6772 echo "configure:6773: checking for iconv.h" >&5
6773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6774 echo $ac_n "(cached) $ac_c" 1>&6
6776 cat > conftest.$ac_ext <<EOF
6777 #line 6778 "configure"
6778 #include "confdefs.h"
6781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6782 { (eval echo configure:6783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6784 if test -z "$ac_err"; then
6786 eval "ac_cv_header_$ac_safe=yes"
6789 echo "configure: failed program was:" >&5
6790 cat conftest.$ac_ext >&5
6792 eval "ac_cv_header_$ac_safe=no"
6796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6797 echo "$ac_t""yes" 1>&6
6800 echo "$ac_t""no" 1>&6
6804 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6805 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6806 echo "configure:6807: checking for langinfo.h" >&5
6807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6808 echo $ac_n "(cached) $ac_c" 1>&6
6810 cat > conftest.$ac_ext <<EOF
6811 #line 6812 "configure"
6812 #include "confdefs.h"
6813 #include <langinfo.h>
6815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6816 { (eval echo configure:6817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6818 if test -z "$ac_err"; then
6820 eval "ac_cv_header_$ac_safe=yes"
6823 echo "configure: failed program was:" >&5
6824 cat conftest.$ac_ext >&5
6826 eval "ac_cv_header_$ac_safe=no"
6830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6831 echo "$ac_t""yes" 1>&6
6832 ac_has_langinfo_h=yes
6834 echo "$ac_t""no" 1>&6
6835 ac_has_langinfo_h=no
6839 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6840 echo "configure:6841: checking for iconv in -liconv" >&5
6841 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6843 echo $ac_n "(cached) $ac_c" 1>&6
6845 ac_save_LIBS="$LIBS"
6846 LIBS="-liconv $LIBS"
6847 cat > conftest.$ac_ext <<EOF
6848 #line 6849 "configure"
6849 #include "confdefs.h"
6850 /* Override any gcc2 internal prototype to avoid an error. */
6851 /* We use char because int might match the return type of a gcc2
6852 builtin and then its argument prototype would still apply. */
6859 if { (eval echo configure:6860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6861 eval "ac_cv_lib_$ac_lib_var=yes"
6863 echo "configure: failed program was:" >&5
6864 cat conftest.$ac_ext >&5
6866 eval "ac_cv_lib_$ac_lib_var=no"
6869 LIBS="$ac_save_LIBS"
6872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6873 echo "$ac_t""yes" 1>&6
6876 echo "$ac_t""no" 1>&6
6879 ac_save_LIBS="$LIBS"
6880 LIBS="$LIBS $libiconv"
6882 for ac_func in iconv_open iconv_close iconv nl_langinfo
6884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6885 echo "configure:6886: checking for $ac_func" >&5
6886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6887 echo $ac_n "(cached) $ac_c" 1>&6
6889 cat > conftest.$ac_ext <<EOF
6890 #line 6891 "configure"
6891 #include "confdefs.h"
6892 /* System header to define __stub macros and hopefully few prototypes,
6893 which can conflict with char $ac_func(); below. */
6895 /* Override any gcc2 internal prototype to avoid an error. */
6896 /* We use char because int might match the return type of a gcc2
6897 builtin and then its argument prototype would still apply. */
6902 /* The GNU C library defines this for functions which it implements
6903 to always fail with ENOSYS. Some functions are actually named
6904 something starting with __ and the normal name is an alias. */
6905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6913 if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6915 eval "ac_cv_func_$ac_func=yes"
6917 echo "configure: failed program was:" >&5
6918 cat conftest.$ac_ext >&5
6920 eval "ac_cv_func_$ac_func=no"
6925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6926 echo "$ac_t""yes" 1>&6
6927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6928 cat >> confdefs.h <<EOF
6929 #define $ac_tr_func 1
6934 echo "$ac_t""no" 1>&6
6940 LIBS="$ac_save_LIBS"
6942 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6943 echo "configure:6944: checking for XPG2 wchar_t support" >&5
6944 if test x"$ac_has_iconv_h" = xyes &&
6945 test x"$ac_has_langinfo_h" = xyes &&
6946 test x"$ac_XPG2funcs" = xyes; then
6951 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6953 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6954 echo "configure:6955: checking for enabled wchar_t specializations" >&5
6955 if test x"$ac_isoC99_wchar_t" = xyes &&
6956 test x"$ac_XPG2_wchar_t" = xyes; then
6957 cat >> confdefs.h <<\EOF
6958 #define _GLIBCPP_USE_WCHAR_T 1
6961 echo "$ac_t"""yes"" 1>&6
6963 echo "$ac_t"""no"" 1>&6
6966 echo "configure: warning: wchar_t support disabled." 1>&2
6969 os_include_dir="os/bsd/netbsd"
6970 cat >> confdefs.h <<\EOF
6971 #define HAVE_COPYSIGN 1
6974 cat >> confdefs.h <<\EOF
6975 #define HAVE_COPYSIGNF 1
6978 cat >> confdefs.h <<\EOF
6979 #define HAVE_FINITEF 1
6982 cat >> confdefs.h <<\EOF
6983 #define HAVE_FINITE 1
6986 cat >> confdefs.h <<\EOF
6987 #define HAVE_FREXPF 1
6990 cat >> confdefs.h <<\EOF
6991 #define HAVE_HYPOTF 1
6994 cat >> confdefs.h <<\EOF
6995 #define HAVE_ISINF 1
6998 cat >> confdefs.h <<\EOF
6999 #define HAVE_ISINFF 1
7002 cat >> confdefs.h <<\EOF
7003 #define HAVE_ISNAN 1
7006 cat >> confdefs.h <<\EOF
7007 #define HAVE_ISNANF 1
7010 if test x"long_double_math_on_this_cpu" = x"yes"; then
7011 cat >> confdefs.h <<\EOF
7012 #define HAVE_FINITEL 1
7015 cat >> confdefs.h <<\EOF
7016 #define HAVE_ISINFL 1
7019 cat >> confdefs.h <<\EOF
7020 #define HAVE_ISNANL 1
7026 for ac_hdr in sys/types.h locale.h float.h
7028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7030 echo "configure:7031: checking for $ac_hdr" >&5
7031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7032 echo $ac_n "(cached) $ac_c" 1>&6
7034 cat > conftest.$ac_ext <<EOF
7035 #line 7036 "configure"
7036 #include "confdefs.h"
7039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7040 { (eval echo configure:7041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7042 if test -z "$ac_err"; then
7044 eval "ac_cv_header_$ac_safe=yes"
7047 echo "configure: failed program was:" >&5
7048 cat conftest.$ac_ext >&5
7050 eval "ac_cv_header_$ac_safe=no"
7054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7055 echo "$ac_t""yes" 1>&6
7056 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7057 cat >> confdefs.h <<EOF
7058 #define $ac_tr_hdr 1
7062 echo "$ac_t""no" 1>&6
7067 # If we're not using GNU ld, then there's no point in even trying these
7068 # tests. Check for that first. We should have already tested for gld
7069 # by now (in libtool), but require it now just to be safe...
7070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7074 # The name set by libtool depends on the version of libtool. Shame on us
7075 # for depending on an impl detail, but c'est la vie. Older versions used
7076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7079 # set (hence we're using an older libtool), then set it.
7080 if test x${with_gnu_ld+set} != xset; then
7081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7085 with_gnu_ld=$ac_cv_prog_gnu_ld
7089 # Start by getting the version number. I think the libtool test already
7090 # does some of this, but throws away the result.
7092 ldver=`$LD --version 2>/dev/null | head -1 | \
7093 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7095 glibcpp_gnu_ld_version=`echo $ldver | \
7096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7098 # Set --gc-sections.
7099 if test "$with_gnu_ld" = "notbroken"; then
7100 # GNU ld it is! Joy and bunny rabbits!
7102 # All these tests are for C++; save the language and the compiler flags.
7103 # Need to do this so that g++ won't try to link in libstdc++
7104 ac_test_CFLAGS="${CFLAGS+set}"
7105 ac_save_CFLAGS="$CFLAGS"
7106 CFLAGS='-x c++ -Wl,--gc-sections'
7108 # Check for -Wl,--gc-sections
7109 # XXX This test is broken at the moment, as symbols required for
7110 # linking are now in libsupc++ (not built yet.....). In addition,
7111 # this test has cored on solaris in the past. In addition,
7112 # --gc-sections doesn't really work at the moment (keeps on discarding
7113 # used sections, first .eh_frame and now some of the glibc sections for
7114 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7115 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7116 echo "configure:7117: checking for ld that supports -Wl,--gc-sections" >&5
7117 if test "$cross_compiling" = yes; then
7118 ac_sectionLDflags=yes
7120 cat > conftest.$ac_ext <<EOF
7121 #line 7122 "configure"
7122 #include "confdefs.h"
7132 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7134 ac_sectionLDflags=yes
7136 echo "configure: failed program was:" >&5
7137 cat conftest.$ac_ext >&5
7139 ac_sectionLDflags=no
7144 if test "$ac_test_CFLAGS" = set; then
7145 CFLAGS="$ac_save_CFLAGS"
7147 # this is the suspicious part
7150 if test "$ac_sectionLDflags" = "yes"; then
7151 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7153 echo "$ac_t""$ac_sectionLDflags" 1>&6
7156 # Set linker optimization flags.
7157 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7158 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7165 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7166 echo "configure:7167: checking for main in -lm" >&5
7167 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7169 echo $ac_n "(cached) $ac_c" 1>&6
7171 ac_save_LIBS="$LIBS"
7173 cat > conftest.$ac_ext <<EOF
7174 #line 7175 "configure"
7175 #include "confdefs.h"
7181 if { (eval echo configure:7182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7183 eval "ac_cv_lib_$ac_lib_var=yes"
7185 echo "configure: failed program was:" >&5
7186 cat conftest.$ac_ext >&5
7188 eval "ac_cv_lib_$ac_lib_var=no"
7191 LIBS="$ac_save_LIBS"
7194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7195 echo "$ac_t""yes" 1>&6
7196 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7197 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7198 cat >> confdefs.h <<EOF
7199 #define $ac_tr_lib 1
7205 echo "$ac_t""no" 1>&6
7208 for ac_func in nan copysignf
7210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7211 echo "configure:7212: checking for $ac_func" >&5
7212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7213 echo $ac_n "(cached) $ac_c" 1>&6
7215 cat > conftest.$ac_ext <<EOF
7216 #line 7217 "configure"
7217 #include "confdefs.h"
7218 /* System header to define __stub macros and hopefully few prototypes,
7219 which can conflict with char $ac_func(); below. */
7221 /* Override any gcc2 internal prototype to avoid an error. */
7222 /* We use char because int might match the return type of a gcc2
7223 builtin and then its argument prototype would still apply. */
7228 /* The GNU C library defines this for functions which it implements
7229 to always fail with ENOSYS. Some functions are actually named
7230 something starting with __ and the normal name is an alias. */
7231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7241 eval "ac_cv_func_$ac_func=yes"
7243 echo "configure: failed program was:" >&5
7244 cat conftest.$ac_ext >&5
7246 eval "ac_cv_func_$ac_func=no"
7251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7252 echo "$ac_t""yes" 1>&6
7253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7254 cat >> confdefs.h <<EOF
7255 #define $ac_tr_func 1
7259 echo "$ac_t""no" 1>&6
7260 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7265 for ac_func in __signbit
7267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7268 echo "configure:7269: checking for $ac_func" >&5
7269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7270 echo $ac_n "(cached) $ac_c" 1>&6
7272 cat > conftest.$ac_ext <<EOF
7273 #line 7274 "configure"
7274 #include "confdefs.h"
7275 /* System header to define __stub macros and hopefully few prototypes,
7276 which can conflict with char $ac_func(); below. */
7278 /* Override any gcc2 internal prototype to avoid an error. */
7279 /* We use char because int might match the return type of a gcc2
7280 builtin and then its argument prototype would still apply. */
7285 /* The GNU C library defines this for functions which it implements
7286 to always fail with ENOSYS. Some functions are actually named
7287 something starting with __ and the normal name is an alias. */
7288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7296 if { (eval echo configure:7297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7298 eval "ac_cv_func_$ac_func=yes"
7300 echo "configure: failed program was:" >&5
7301 cat conftest.$ac_ext >&5
7303 eval "ac_cv_func_$ac_func=no"
7308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7309 echo "$ac_t""yes" 1>&6
7310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7311 cat >> confdefs.h <<EOF
7312 #define $ac_tr_func 1
7316 echo "$ac_t""no" 1>&6
7317 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7321 for ac_func in __signbitf
7323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7324 echo "configure:7325: checking for $ac_func" >&5
7325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7326 echo $ac_n "(cached) $ac_c" 1>&6
7328 cat > conftest.$ac_ext <<EOF
7329 #line 7330 "configure"
7330 #include "confdefs.h"
7331 /* System header to define __stub macros and hopefully few prototypes,
7332 which can conflict with char $ac_func(); below. */
7334 /* Override any gcc2 internal prototype to avoid an error. */
7335 /* We use char because int might match the return type of a gcc2
7336 builtin and then its argument prototype would still apply. */
7341 /* The GNU C library defines this for functions which it implements
7342 to always fail with ENOSYS. Some functions are actually named
7343 something starting with __ and the normal name is an alias. */
7344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7352 if { (eval echo configure:7353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7354 eval "ac_cv_func_$ac_func=yes"
7356 echo "configure: failed program was:" >&5
7357 cat conftest.$ac_ext >&5
7359 eval "ac_cv_func_$ac_func=no"
7364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7365 echo "$ac_t""yes" 1>&6
7366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7367 cat >> confdefs.h <<EOF
7368 #define $ac_tr_func 1
7372 echo "$ac_t""no" 1>&6
7373 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7378 if test x$ac_cv_func_copysignl = x"yes"; then
7379 for ac_func in __signbitl
7381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7382 echo "configure:7383: checking for $ac_func" >&5
7383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7384 echo $ac_n "(cached) $ac_c" 1>&6
7386 cat > conftest.$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7389 /* System header to define __stub macros and hopefully few prototypes,
7390 which can conflict with char $ac_func(); below. */
7392 /* Override any gcc2 internal prototype to avoid an error. */
7393 /* We use char because int might match the return type of a gcc2
7394 builtin and then its argument prototype would still apply. */
7399 /* The GNU C library defines this for functions which it implements
7400 to always fail with ENOSYS. Some functions are actually named
7401 something starting with __ and the normal name is an alias. */
7402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7410 if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7412 eval "ac_cv_func_$ac_func=yes"
7414 echo "configure: failed program was:" >&5
7415 cat conftest.$ac_ext >&5
7417 eval "ac_cv_func_$ac_func=no"
7422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7423 echo "$ac_t""yes" 1>&6
7424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7425 cat >> confdefs.h <<EOF
7426 #define $ac_tr_func 1
7430 echo "$ac_t""no" 1>&6
7431 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7441 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7442 echo "configure:7443: checking for mbstate_t" >&5
7443 cat > conftest.$ac_ext <<EOF
7444 #line 7445 "configure"
7445 #include "confdefs.h"
7448 mbstate_t teststate;
7451 if { (eval echo configure:7452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7455 echo "configure: failed program was:" >&5
7456 cat conftest.$ac_ext >&5
7461 echo "$ac_t""$have_mbstate_t" 1>&6
7462 if test x"$have_mbstate_t" = xyes; then
7463 cat >> confdefs.h <<\EOF
7464 #define HAVE_MBSTATE_T 1
7469 for ac_hdr in wchar.h
7471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7473 echo "configure:7474: checking for $ac_hdr" >&5
7474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7475 echo $ac_n "(cached) $ac_c" 1>&6
7477 cat > conftest.$ac_ext <<EOF
7478 #line 7479 "configure"
7479 #include "confdefs.h"
7482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7483 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7485 if test -z "$ac_err"; then
7487 eval "ac_cv_header_$ac_safe=yes"
7490 echo "configure: failed program was:" >&5
7491 cat conftest.$ac_ext >&5
7493 eval "ac_cv_header_$ac_safe=no"
7497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7498 echo "$ac_t""yes" 1>&6
7499 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7500 cat >> confdefs.h <<EOF
7501 #define $ac_tr_hdr 1
7505 echo "$ac_t""no" 1>&6
7510 for ac_hdr in wctype.h
7512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7514 echo "configure:7515: checking for $ac_hdr" >&5
7515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7516 echo $ac_n "(cached) $ac_c" 1>&6
7518 cat > conftest.$ac_ext <<EOF
7519 #line 7520 "configure"
7520 #include "confdefs.h"
7523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7524 { (eval echo configure:7525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7526 if test -z "$ac_err"; then
7528 eval "ac_cv_header_$ac_safe=yes"
7531 echo "configure: failed program was:" >&5
7532 cat conftest.$ac_ext >&5
7534 eval "ac_cv_header_$ac_safe=no"
7538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7539 echo "$ac_t""yes" 1>&6
7540 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7541 cat >> confdefs.h <<EOF
7542 #define $ac_tr_hdr 1
7546 echo "$ac_t""no" 1>&6
7552 if test x"$ac_has_wchar_h" = xyes &&
7553 test x"$ac_has_wctype_h" = xyes &&
7554 test x"$enable_c_mbchar" != xno; then
7556 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7557 echo "configure:7558: checking for WCHAR_MIN and WCHAR_MAX" >&5
7558 cat > conftest.$ac_ext <<EOF
7559 #line 7560 "configure"
7560 #include "confdefs.h"
7563 int i = WCHAR_MIN; int j = WCHAR_MAX;
7566 if { (eval echo configure:7567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7568 has_wchar_minmax=yes
7570 echo "configure: failed program was:" >&5
7571 cat conftest.$ac_ext >&5
7576 echo "$ac_t""$has_wchar_minmax" 1>&6
7578 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7579 echo "configure:7580: checking for WEOF" >&5
7580 cat > conftest.$ac_ext <<EOF
7581 #line 7582 "configure"
7582 #include "confdefs.h"
7590 if { (eval echo configure:7591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7594 echo "configure: failed program was:" >&5
7595 cat conftest.$ac_ext >&5
7600 echo "$ac_t""$has_weof" 1>&6
7603 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7606 echo "configure:7607: checking for $ac_func" >&5
7607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7608 echo $ac_n "(cached) $ac_c" 1>&6
7610 cat > conftest.$ac_ext <<EOF
7611 #line 7612 "configure"
7612 #include "confdefs.h"
7613 /* System header to define __stub macros and hopefully few prototypes,
7614 which can conflict with char $ac_func(); below. */
7616 /* Override any gcc2 internal prototype to avoid an error. */
7617 /* We use char because int might match the return type of a gcc2
7618 builtin and then its argument prototype would still apply. */
7623 /* The GNU C library defines this for functions which it implements
7624 to always fail with ENOSYS. Some functions are actually named
7625 something starting with __ and the normal name is an alias. */
7626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7634 if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7636 eval "ac_cv_func_$ac_func=yes"
7638 echo "configure: failed program was:" >&5
7639 cat conftest.$ac_ext >&5
7641 eval "ac_cv_func_$ac_func=no"
7646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7647 echo "$ac_t""yes" 1>&6
7648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7649 cat >> confdefs.h <<EOF
7650 #define $ac_tr_func 1
7654 echo "$ac_t""no" 1>&6
7661 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7662 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7663 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7664 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7665 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7666 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7669 echo "configure:7670: checking for $ac_func" >&5
7670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7671 echo $ac_n "(cached) $ac_c" 1>&6
7673 cat > conftest.$ac_ext <<EOF
7674 #line 7675 "configure"
7675 #include "confdefs.h"
7676 /* System header to define __stub macros and hopefully few prototypes,
7677 which can conflict with char $ac_func(); below. */
7679 /* Override any gcc2 internal prototype to avoid an error. */
7680 /* We use char because int might match the return type of a gcc2
7681 builtin and then its argument prototype would still apply. */
7686 /* The GNU C library defines this for functions which it implements
7687 to always fail with ENOSYS. Some functions are actually named
7688 something starting with __ and the normal name is an alias. */
7689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7697 if { (eval echo configure:7698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7699 eval "ac_cv_func_$ac_func=yes"
7701 echo "configure: failed program was:" >&5
7702 cat conftest.$ac_ext >&5
7704 eval "ac_cv_func_$ac_func=no"
7709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7710 echo "$ac_t""yes" 1>&6
7711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7712 cat >> confdefs.h <<EOF
7713 #define $ac_tr_func 1
7717 echo "$ac_t""no" 1>&6
7724 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7725 echo "configure:7726: checking for ISO C99 wchar_t support" >&5
7726 if test x"$has_weof" = xyes &&
7727 test x"$has_wchar_minmax" = xyes &&
7728 test x"$ac_wfuncs" = xyes; then
7729 ac_isoC99_wchar_t=yes
7731 ac_isoC99_wchar_t=no
7733 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7735 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7736 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7737 echo "configure:7738: checking for iconv.h" >&5
7738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7739 echo $ac_n "(cached) $ac_c" 1>&6
7741 cat > conftest.$ac_ext <<EOF
7742 #line 7743 "configure"
7743 #include "confdefs.h"
7746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7747 { (eval echo configure:7748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7749 if test -z "$ac_err"; then
7751 eval "ac_cv_header_$ac_safe=yes"
7754 echo "configure: failed program was:" >&5
7755 cat conftest.$ac_ext >&5
7757 eval "ac_cv_header_$ac_safe=no"
7761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7762 echo "$ac_t""yes" 1>&6
7765 echo "$ac_t""no" 1>&6
7769 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7770 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7771 echo "configure:7772: checking for langinfo.h" >&5
7772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7773 echo $ac_n "(cached) $ac_c" 1>&6
7775 cat > conftest.$ac_ext <<EOF
7776 #line 7777 "configure"
7777 #include "confdefs.h"
7778 #include <langinfo.h>
7780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7781 { (eval echo configure:7782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7783 if test -z "$ac_err"; then
7785 eval "ac_cv_header_$ac_safe=yes"
7788 echo "configure: failed program was:" >&5
7789 cat conftest.$ac_ext >&5
7791 eval "ac_cv_header_$ac_safe=no"
7795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7796 echo "$ac_t""yes" 1>&6
7797 ac_has_langinfo_h=yes
7799 echo "$ac_t""no" 1>&6
7800 ac_has_langinfo_h=no
7804 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7805 echo "configure:7806: checking for iconv in -liconv" >&5
7806 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7808 echo $ac_n "(cached) $ac_c" 1>&6
7810 ac_save_LIBS="$LIBS"
7811 LIBS="-liconv $LIBS"
7812 cat > conftest.$ac_ext <<EOF
7813 #line 7814 "configure"
7814 #include "confdefs.h"
7815 /* Override any gcc2 internal prototype to avoid an error. */
7816 /* We use char because int might match the return type of a gcc2
7817 builtin and then its argument prototype would still apply. */
7824 if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7826 eval "ac_cv_lib_$ac_lib_var=yes"
7828 echo "configure: failed program was:" >&5
7829 cat conftest.$ac_ext >&5
7831 eval "ac_cv_lib_$ac_lib_var=no"
7834 LIBS="$ac_save_LIBS"
7837 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7838 echo "$ac_t""yes" 1>&6
7841 echo "$ac_t""no" 1>&6
7844 ac_save_LIBS="$LIBS"
7845 LIBS="$LIBS $libiconv"
7847 for ac_func in iconv_open iconv_close iconv nl_langinfo
7849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7850 echo "configure:7851: checking for $ac_func" >&5
7851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7852 echo $ac_n "(cached) $ac_c" 1>&6
7854 cat > conftest.$ac_ext <<EOF
7855 #line 7856 "configure"
7856 #include "confdefs.h"
7857 /* System header to define __stub macros and hopefully few prototypes,
7858 which can conflict with char $ac_func(); below. */
7860 /* Override any gcc2 internal prototype to avoid an error. */
7861 /* We use char because int might match the return type of a gcc2
7862 builtin and then its argument prototype would still apply. */
7867 /* The GNU C library defines this for functions which it implements
7868 to always fail with ENOSYS. Some functions are actually named
7869 something starting with __ and the normal name is an alias. */
7870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7880 eval "ac_cv_func_$ac_func=yes"
7882 echo "configure: failed program was:" >&5
7883 cat conftest.$ac_ext >&5
7885 eval "ac_cv_func_$ac_func=no"
7890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7891 echo "$ac_t""yes" 1>&6
7892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7893 cat >> confdefs.h <<EOF
7894 #define $ac_tr_func 1
7899 echo "$ac_t""no" 1>&6
7905 LIBS="$ac_save_LIBS"
7907 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7908 echo "configure:7909: checking for XPG2 wchar_t support" >&5
7909 if test x"$ac_has_iconv_h" = xyes &&
7910 test x"$ac_has_langinfo_h" = xyes &&
7911 test x"$ac_XPG2funcs" = xyes; then
7916 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7918 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7919 echo "configure:7920: checking for enabled wchar_t specializations" >&5
7920 if test x"$ac_isoC99_wchar_t" = xyes &&
7921 test x"$ac_XPG2_wchar_t" = xyes; then
7922 cat >> confdefs.h <<\EOF
7923 #define _GLIBCPP_USE_WCHAR_T 1
7926 echo "$ac_t"""yes"" 1>&6
7928 echo "$ac_t"""no"" 1>&6
7931 echo "configure: warning: wchar_t support disabled." 1>&2
7934 os_include_dir="os/mingw32"
7937 os_include_dir="os/windiss"
7940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7943 # If we're not using GNU ld, then there's no point in even trying these
7944 # tests. Check for that first. We should have already tested for gld
7945 # by now (in libtool), but require it now just to be safe...
7946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7950 # The name set by libtool depends on the version of libtool. Shame on us
7951 # for depending on an impl detail, but c'est la vie. Older versions used
7952 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7953 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7954 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7955 # set (hence we're using an older libtool), then set it.
7956 if test x${with_gnu_ld+set} != xset; then
7957 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7958 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7961 with_gnu_ld=$ac_cv_prog_gnu_ld
7965 # Start by getting the version number. I think the libtool test already
7966 # does some of this, but throws away the result.
7968 ldver=`$LD --version 2>/dev/null | head -1 | \
7969 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7971 glibcpp_gnu_ld_version=`echo $ldver | \
7972 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7974 # Set --gc-sections.
7975 if test "$with_gnu_ld" = "notbroken"; then
7976 # GNU ld it is! Joy and bunny rabbits!
7978 # All these tests are for C++; save the language and the compiler flags.
7979 # Need to do this so that g++ won't try to link in libstdc++
7980 ac_test_CFLAGS="${CFLAGS+set}"
7981 ac_save_CFLAGS="$CFLAGS"
7982 CFLAGS='-x c++ -Wl,--gc-sections'
7984 # Check for -Wl,--gc-sections
7985 # XXX This test is broken at the moment, as symbols required for
7986 # linking are now in libsupc++ (not built yet.....). In addition,
7987 # this test has cored on solaris in the past. In addition,
7988 # --gc-sections doesn't really work at the moment (keeps on discarding
7989 # used sections, first .eh_frame and now some of the glibc sections for
7990 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7991 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7992 echo "configure:7993: checking for ld that supports -Wl,--gc-sections" >&5
7993 if test "$cross_compiling" = yes; then
7994 ac_sectionLDflags=yes
7996 cat > conftest.$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8010 ac_sectionLDflags=yes
8012 echo "configure: failed program was:" >&5
8013 cat conftest.$ac_ext >&5
8015 ac_sectionLDflags=no
8020 if test "$ac_test_CFLAGS" = set; then
8021 CFLAGS="$ac_save_CFLAGS"
8023 # this is the suspicious part
8026 if test "$ac_sectionLDflags" = "yes"; then
8027 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8029 echo "$ac_t""$ac_sectionLDflags" 1>&6
8032 # Set linker optimization flags.
8033 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8034 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8041 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8042 echo "configure:8043: checking for main in -lm" >&5
8043 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8045 echo $ac_n "(cached) $ac_c" 1>&6
8047 ac_save_LIBS="$LIBS"
8049 cat > conftest.$ac_ext <<EOF
8050 #line 8051 "configure"
8051 #include "confdefs.h"
8057 if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8059 eval "ac_cv_lib_$ac_lib_var=yes"
8061 echo "configure: failed program was:" >&5
8062 cat conftest.$ac_ext >&5
8064 eval "ac_cv_lib_$ac_lib_var=no"
8067 LIBS="$ac_save_LIBS"
8070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8071 echo "$ac_t""yes" 1>&6
8072 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8073 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8074 cat >> confdefs.h <<EOF
8075 #define $ac_tr_lib 1
8081 echo "$ac_t""no" 1>&6
8084 for ac_func in nan copysignf
8086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8087 echo "configure:8088: checking for $ac_func" >&5
8088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8089 echo $ac_n "(cached) $ac_c" 1>&6
8091 cat > conftest.$ac_ext <<EOF
8092 #line 8093 "configure"
8093 #include "confdefs.h"
8094 /* System header to define __stub macros and hopefully few prototypes,
8095 which can conflict with char $ac_func(); below. */
8097 /* Override any gcc2 internal prototype to avoid an error. */
8098 /* We use char because int might match the return type of a gcc2
8099 builtin and then its argument prototype would still apply. */
8104 /* The GNU C library defines this for functions which it implements
8105 to always fail with ENOSYS. Some functions are actually named
8106 something starting with __ and the normal name is an alias. */
8107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8115 if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8117 eval "ac_cv_func_$ac_func=yes"
8119 echo "configure: failed program was:" >&5
8120 cat conftest.$ac_ext >&5
8122 eval "ac_cv_func_$ac_func=no"
8127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8128 echo "$ac_t""yes" 1>&6
8129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8130 cat >> confdefs.h <<EOF
8131 #define $ac_tr_func 1
8135 echo "$ac_t""no" 1>&6
8136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8141 for ac_func in __signbit
8143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8144 echo "configure:8145: checking for $ac_func" >&5
8145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8146 echo $ac_n "(cached) $ac_c" 1>&6
8148 cat > conftest.$ac_ext <<EOF
8149 #line 8150 "configure"
8150 #include "confdefs.h"
8151 /* System header to define __stub macros and hopefully few prototypes,
8152 which can conflict with char $ac_func(); below. */
8154 /* Override any gcc2 internal prototype to avoid an error. */
8155 /* We use char because int might match the return type of a gcc2
8156 builtin and then its argument prototype would still apply. */
8161 /* The GNU C library defines this for functions which it implements
8162 to always fail with ENOSYS. Some functions are actually named
8163 something starting with __ and the normal name is an alias. */
8164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8172 if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8174 eval "ac_cv_func_$ac_func=yes"
8176 echo "configure: failed program was:" >&5
8177 cat conftest.$ac_ext >&5
8179 eval "ac_cv_func_$ac_func=no"
8184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8185 echo "$ac_t""yes" 1>&6
8186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8187 cat >> confdefs.h <<EOF
8188 #define $ac_tr_func 1
8192 echo "$ac_t""no" 1>&6
8193 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8197 for ac_func in __signbitf
8199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8200 echo "configure:8201: checking for $ac_func" >&5
8201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8202 echo $ac_n "(cached) $ac_c" 1>&6
8204 cat > conftest.$ac_ext <<EOF
8205 #line 8206 "configure"
8206 #include "confdefs.h"
8207 /* System header to define __stub macros and hopefully few prototypes,
8208 which can conflict with char $ac_func(); below. */
8210 /* Override any gcc2 internal prototype to avoid an error. */
8211 /* We use char because int might match the return type of a gcc2
8212 builtin and then its argument prototype would still apply. */
8217 /* The GNU C library defines this for functions which it implements
8218 to always fail with ENOSYS. Some functions are actually named
8219 something starting with __ and the normal name is an alias. */
8220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8228 if { (eval echo configure:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8230 eval "ac_cv_func_$ac_func=yes"
8232 echo "configure: failed program was:" >&5
8233 cat conftest.$ac_ext >&5
8235 eval "ac_cv_func_$ac_func=no"
8240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8241 echo "$ac_t""yes" 1>&6
8242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8243 cat >> confdefs.h <<EOF
8244 #define $ac_tr_func 1
8248 echo "$ac_t""no" 1>&6
8249 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8254 if test x$ac_cv_func_copysignl = x"yes"; then
8255 for ac_func in __signbitl
8257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8258 echo "configure:8259: checking for $ac_func" >&5
8259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8260 echo $ac_n "(cached) $ac_c" 1>&6
8262 cat > conftest.$ac_ext <<EOF
8263 #line 8264 "configure"
8264 #include "confdefs.h"
8265 /* System header to define __stub macros and hopefully few prototypes,
8266 which can conflict with char $ac_func(); below. */
8268 /* Override any gcc2 internal prototype to avoid an error. */
8269 /* We use char because int might match the return type of a gcc2
8270 builtin and then its argument prototype would still apply. */
8275 /* The GNU C library defines this for functions which it implements
8276 to always fail with ENOSYS. Some functions are actually named
8277 something starting with __ and the normal name is an alias. */
8278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8286 if { (eval echo configure:8287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8288 eval "ac_cv_func_$ac_func=yes"
8290 echo "configure: failed program was:" >&5
8291 cat conftest.$ac_ext >&5
8293 eval "ac_cv_func_$ac_func=no"
8298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8299 echo "$ac_t""yes" 1>&6
8300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8301 cat >> confdefs.h <<EOF
8302 #define $ac_tr_func 1
8306 echo "$ac_t""no" 1>&6
8307 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8317 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8318 echo "configure:8319: checking for mbstate_t" >&5
8319 cat > conftest.$ac_ext <<EOF
8320 #line 8321 "configure"
8321 #include "confdefs.h"
8324 mbstate_t teststate;
8327 if { (eval echo configure:8328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8331 echo "configure: failed program was:" >&5
8332 cat conftest.$ac_ext >&5
8337 echo "$ac_t""$have_mbstate_t" 1>&6
8338 if test x"$have_mbstate_t" = xyes; then
8339 cat >> confdefs.h <<\EOF
8340 #define HAVE_MBSTATE_T 1
8345 for ac_hdr in wchar.h
8347 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8348 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8349 echo "configure:8350: checking for $ac_hdr" >&5
8350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8351 echo $ac_n "(cached) $ac_c" 1>&6
8353 cat > conftest.$ac_ext <<EOF
8354 #line 8355 "configure"
8355 #include "confdefs.h"
8358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8359 { (eval echo configure:8360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8361 if test -z "$ac_err"; then
8363 eval "ac_cv_header_$ac_safe=yes"
8366 echo "configure: failed program was:" >&5
8367 cat conftest.$ac_ext >&5
8369 eval "ac_cv_header_$ac_safe=no"
8373 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8374 echo "$ac_t""yes" 1>&6
8375 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8376 cat >> confdefs.h <<EOF
8377 #define $ac_tr_hdr 1
8381 echo "$ac_t""no" 1>&6
8386 for ac_hdr in wctype.h
8388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8390 echo "configure:8391: checking for $ac_hdr" >&5
8391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8392 echo $ac_n "(cached) $ac_c" 1>&6
8394 cat > conftest.$ac_ext <<EOF
8395 #line 8396 "configure"
8396 #include "confdefs.h"
8399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8400 { (eval echo configure:8401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8402 if test -z "$ac_err"; then
8404 eval "ac_cv_header_$ac_safe=yes"
8407 echo "configure: failed program was:" >&5
8408 cat conftest.$ac_ext >&5
8410 eval "ac_cv_header_$ac_safe=no"
8414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8415 echo "$ac_t""yes" 1>&6
8416 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8417 cat >> confdefs.h <<EOF
8418 #define $ac_tr_hdr 1
8422 echo "$ac_t""no" 1>&6
8428 if test x"$ac_has_wchar_h" = xyes &&
8429 test x"$ac_has_wctype_h" = xyes &&
8430 test x"$enable_c_mbchar" != xno; then
8432 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8433 echo "configure:8434: checking for WCHAR_MIN and WCHAR_MAX" >&5
8434 cat > conftest.$ac_ext <<EOF
8435 #line 8436 "configure"
8436 #include "confdefs.h"
8439 int i = WCHAR_MIN; int j = WCHAR_MAX;
8442 if { (eval echo configure:8443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8444 has_wchar_minmax=yes
8446 echo "configure: failed program was:" >&5
8447 cat conftest.$ac_ext >&5
8452 echo "$ac_t""$has_wchar_minmax" 1>&6
8454 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8455 echo "configure:8456: checking for WEOF" >&5
8456 cat > conftest.$ac_ext <<EOF
8457 #line 8458 "configure"
8458 #include "confdefs.h"
8466 if { (eval echo configure:8467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8470 echo "configure: failed program was:" >&5
8471 cat conftest.$ac_ext >&5
8476 echo "$ac_t""$has_weof" 1>&6
8479 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8482 echo "configure:8483: checking for $ac_func" >&5
8483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8484 echo $ac_n "(cached) $ac_c" 1>&6
8486 cat > conftest.$ac_ext <<EOF
8487 #line 8488 "configure"
8488 #include "confdefs.h"
8489 /* System header to define __stub macros and hopefully few prototypes,
8490 which can conflict with char $ac_func(); below. */
8492 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8499 /* The GNU C library defines this for functions which it implements
8500 to always fail with ENOSYS. Some functions are actually named
8501 something starting with __ and the normal name is an alias. */
8502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8512 eval "ac_cv_func_$ac_func=yes"
8514 echo "configure: failed program was:" >&5
8515 cat conftest.$ac_ext >&5
8517 eval "ac_cv_func_$ac_func=no"
8522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8523 echo "$ac_t""yes" 1>&6
8524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8525 cat >> confdefs.h <<EOF
8526 #define $ac_tr_func 1
8530 echo "$ac_t""no" 1>&6
8537 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8538 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8539 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8540 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8541 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8542 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8545 echo "configure:8546: checking for $ac_func" >&5
8546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8547 echo $ac_n "(cached) $ac_c" 1>&6
8549 cat > conftest.$ac_ext <<EOF
8550 #line 8551 "configure"
8551 #include "confdefs.h"
8552 /* System header to define __stub macros and hopefully few prototypes,
8553 which can conflict with char $ac_func(); below. */
8555 /* Override any gcc2 internal prototype to avoid an error. */
8556 /* We use char because int might match the return type of a gcc2
8557 builtin and then its argument prototype would still apply. */
8562 /* The GNU C library defines this for functions which it implements
8563 to always fail with ENOSYS. Some functions are actually named
8564 something starting with __ and the normal name is an alias. */
8565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8573 if { (eval echo configure:8574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8575 eval "ac_cv_func_$ac_func=yes"
8577 echo "configure: failed program was:" >&5
8578 cat conftest.$ac_ext >&5
8580 eval "ac_cv_func_$ac_func=no"
8585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8586 echo "$ac_t""yes" 1>&6
8587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8588 cat >> confdefs.h <<EOF
8589 #define $ac_tr_func 1
8593 echo "$ac_t""no" 1>&6
8600 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8601 echo "configure:8602: checking for ISO C99 wchar_t support" >&5
8602 if test x"$has_weof" = xyes &&
8603 test x"$has_wchar_minmax" = xyes &&
8604 test x"$ac_wfuncs" = xyes; then
8605 ac_isoC99_wchar_t=yes
8607 ac_isoC99_wchar_t=no
8609 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8611 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8612 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8613 echo "configure:8614: checking for iconv.h" >&5
8614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8615 echo $ac_n "(cached) $ac_c" 1>&6
8617 cat > conftest.$ac_ext <<EOF
8618 #line 8619 "configure"
8619 #include "confdefs.h"
8622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8623 { (eval echo configure:8624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8625 if test -z "$ac_err"; then
8627 eval "ac_cv_header_$ac_safe=yes"
8630 echo "configure: failed program was:" >&5
8631 cat conftest.$ac_ext >&5
8633 eval "ac_cv_header_$ac_safe=no"
8637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8638 echo "$ac_t""yes" 1>&6
8641 echo "$ac_t""no" 1>&6
8645 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8646 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8647 echo "configure:8648: checking for langinfo.h" >&5
8648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8649 echo $ac_n "(cached) $ac_c" 1>&6
8651 cat > conftest.$ac_ext <<EOF
8652 #line 8653 "configure"
8653 #include "confdefs.h"
8654 #include <langinfo.h>
8656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8657 { (eval echo configure:8658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8659 if test -z "$ac_err"; then
8661 eval "ac_cv_header_$ac_safe=yes"
8664 echo "configure: failed program was:" >&5
8665 cat conftest.$ac_ext >&5
8667 eval "ac_cv_header_$ac_safe=no"
8671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8672 echo "$ac_t""yes" 1>&6
8673 ac_has_langinfo_h=yes
8675 echo "$ac_t""no" 1>&6
8676 ac_has_langinfo_h=no
8680 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8681 echo "configure:8682: checking for iconv in -liconv" >&5
8682 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8686 ac_save_LIBS="$LIBS"
8687 LIBS="-liconv $LIBS"
8688 cat > conftest.$ac_ext <<EOF
8689 #line 8690 "configure"
8690 #include "confdefs.h"
8691 /* Override any gcc2 internal prototype to avoid an error. */
8692 /* We use char because int might match the return type of a gcc2
8693 builtin and then its argument prototype would still apply. */
8700 if { (eval echo configure:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8702 eval "ac_cv_lib_$ac_lib_var=yes"
8704 echo "configure: failed program was:" >&5
8705 cat conftest.$ac_ext >&5
8707 eval "ac_cv_lib_$ac_lib_var=no"
8710 LIBS="$ac_save_LIBS"
8713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8714 echo "$ac_t""yes" 1>&6
8717 echo "$ac_t""no" 1>&6
8720 ac_save_LIBS="$LIBS"
8721 LIBS="$LIBS $libiconv"
8723 for ac_func in iconv_open iconv_close iconv nl_langinfo
8725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8726 echo "configure:8727: checking for $ac_func" >&5
8727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8733 /* System header to define __stub macros and hopefully few prototypes,
8734 which can conflict with char $ac_func(); below. */
8736 /* Override any gcc2 internal prototype to avoid an error. */
8737 /* We use char because int might match the return type of a gcc2
8738 builtin and then its argument prototype would still apply. */
8743 /* The GNU C library defines this for functions which it implements
8744 to always fail with ENOSYS. Some functions are actually named
8745 something starting with __ and the normal name is an alias. */
8746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8754 if { (eval echo configure:8755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8756 eval "ac_cv_func_$ac_func=yes"
8758 echo "configure: failed program was:" >&5
8759 cat conftest.$ac_ext >&5
8761 eval "ac_cv_func_$ac_func=no"
8766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8767 echo "$ac_t""yes" 1>&6
8768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8769 cat >> confdefs.h <<EOF
8770 #define $ac_tr_func 1
8775 echo "$ac_t""no" 1>&6
8781 LIBS="$ac_save_LIBS"
8783 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8784 echo "configure:8785: checking for XPG2 wchar_t support" >&5
8785 if test x"$ac_has_iconv_h" = xyes &&
8786 test x"$ac_has_langinfo_h" = xyes &&
8787 test x"$ac_XPG2funcs" = xyes; then
8792 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8794 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8795 echo "configure:8796: checking for enabled wchar_t specializations" >&5
8796 if test x"$ac_isoC99_wchar_t" = xyes &&
8797 test x"$ac_XPG2_wchar_t" = xyes; then
8798 cat >> confdefs.h <<\EOF
8799 #define _GLIBCPP_USE_WCHAR_T 1
8802 echo "$ac_t"""yes"" 1>&6
8804 echo "$ac_t"""no"" 1>&6
8807 echo "configure: warning: wchar_t support disabled." 1>&2
8810 os_include_dir="os/qnx/qnx6.1"
8811 cat >> confdefs.h <<\EOF
8815 cat >> confdefs.h <<\EOF
8819 cat >> confdefs.h <<\EOF
8820 #define HAVE_COSHF 1
8823 cat >> confdefs.h <<\EOF
8824 #define HAVE_COSHL 1
8827 cat >> confdefs.h <<\EOF
8831 cat >> confdefs.h <<\EOF
8835 cat >> confdefs.h <<\EOF
8836 #define HAVE_LOG10F 1
8839 cat >> confdefs.h <<\EOF
8840 #define HAVE_LOG10L 1
8843 cat >> confdefs.h <<\EOF
8847 cat >> confdefs.h <<\EOF
8851 cat >> confdefs.h <<\EOF
8852 #define HAVE_SINHF 1
8855 cat >> confdefs.h <<\EOF
8856 #define HAVE_SINHL 1
8861 os_include_dir="os/newlib"
8862 cat >> confdefs.h <<\EOF
8863 #define HAVE_HYPOT 1
8869 case "$target_alias" in
8873 cat >> confdefs.h <<\EOF
8874 #define HAVE_ACOSF 1
8877 cat >> confdefs.h <<\EOF
8878 #define HAVE_ASINF 1
8881 cat >> confdefs.h <<\EOF
8882 #define HAVE_ATAN2F 1
8885 cat >> confdefs.h <<\EOF
8886 #define HAVE_ATANF 1
8889 cat >> confdefs.h <<\EOF
8890 #define HAVE_CEILF 1
8893 cat >> confdefs.h <<\EOF
8894 #define HAVE_COPYSIGN 1
8897 cat >> confdefs.h <<\EOF
8898 #define HAVE_COPYSIGNF 1
8901 cat >> confdefs.h <<\EOF
8905 cat >> confdefs.h <<\EOF
8906 #define HAVE_COSHF 1
8909 cat >> confdefs.h <<\EOF
8913 cat >> confdefs.h <<\EOF
8914 #define HAVE_FABSF 1
8917 cat >> confdefs.h <<\EOF
8918 #define HAVE_FLOORF 1
8921 cat >> confdefs.h <<\EOF
8922 #define HAVE_FMODF 1
8925 cat >> confdefs.h <<\EOF
8926 #define HAVE_FREXPF 1
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_LDEXPF 1
8933 cat >> confdefs.h <<\EOF
8934 #define HAVE_LOG10F 1
8937 cat >> confdefs.h <<\EOF
8941 cat >> confdefs.h <<\EOF
8942 #define HAVE_MODFF 1
8945 cat >> confdefs.h <<\EOF
8949 cat >> confdefs.h <<\EOF
8953 cat >> confdefs.h <<\EOF
8954 #define HAVE_SINHF 1
8957 cat >> confdefs.h <<\EOF
8958 #define HAVE_SQRTF 1
8961 cat >> confdefs.h <<\EOF
8965 cat >> confdefs.h <<\EOF
8966 #define HAVE_TANHF 1
8971 # GLIBCPP_CHECK_STDLIB_SUPPORT
8972 cat >> confdefs.h <<\EOF
8973 #define HAVE_STRTOF 1
8976 cat >> confdefs.h <<\EOF
8977 #define HAVE_STRTOLD 1
8981 cat >> confdefs.h <<\EOF
8986 cat >> confdefs.h <<\EOF
8987 #define HAVE_ACOSF 1
8990 cat >> confdefs.h <<\EOF
8991 #define HAVE_ASINF 1
8994 cat >> confdefs.h <<\EOF
8995 #define HAVE_ATAN2F 1
8998 cat >> confdefs.h <<\EOF
8999 #define HAVE_ATANF 1
9002 cat >> confdefs.h <<\EOF
9003 #define HAVE_CEILF 1
9006 cat >> confdefs.h <<\EOF
9007 #define HAVE_COPYSIGN 1
9010 cat >> confdefs.h <<\EOF
9011 #define HAVE_COPYSIGNF 1
9014 cat >> confdefs.h <<\EOF
9018 cat >> confdefs.h <<\EOF
9019 #define HAVE_COSHF 1
9022 cat >> confdefs.h <<\EOF
9026 cat >> confdefs.h <<\EOF
9027 #define HAVE_FABSF 1
9030 cat >> confdefs.h <<\EOF
9031 #define HAVE_FLOORF 1
9034 cat >> confdefs.h <<\EOF
9035 #define HAVE_FMODF 1
9038 cat >> confdefs.h <<\EOF
9039 #define HAVE_FREXPF 1
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE_LDEXPF 1
9046 cat >> confdefs.h <<\EOF
9047 #define HAVE_LOG10F 1
9050 cat >> confdefs.h <<\EOF
9054 cat >> confdefs.h <<\EOF
9055 #define HAVE_MODFF 1
9058 cat >> confdefs.h <<\EOF
9062 cat >> confdefs.h <<\EOF
9066 cat >> confdefs.h <<\EOF
9067 #define HAVE_SINHF 1
9070 cat >> confdefs.h <<\EOF
9071 #define HAVE_SQRTF 1
9074 cat >> confdefs.h <<\EOF
9078 cat >> confdefs.h <<\EOF
9079 #define HAVE_TANHF 1
9085 # At some point, we should differentiate between architectures
9086 # like x86, which have long double versions, and alpha/powerpc/etc.,
9087 # which don't. For the time being, punt.
9088 if test x"long_double_math_on_this_cpu" = x"yes"; then
9089 cat >> confdefs.h <<\EOF
9090 #define HAVE_ACOSL 1
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE_ASINL 1
9097 cat >> confdefs.h <<\EOF
9098 #define HAVE_ATAN2L 1
9101 cat >> confdefs.h <<\EOF
9102 #define HAVE_ATANL 1
9105 cat >> confdefs.h <<\EOF
9106 #define HAVE_CEILL 1
9109 cat >> confdefs.h <<\EOF
9110 #define HAVE_COPYSIGNL 1
9113 cat >> confdefs.h <<\EOF
9117 cat >> confdefs.h <<\EOF
9118 #define HAVE_COSHL 1
9121 cat >> confdefs.h <<\EOF
9125 cat >> confdefs.h <<\EOF
9126 #define HAVE_FABSL 1
9129 cat >> confdefs.h <<\EOF
9130 #define HAVE_FLOORL 1
9133 cat >> confdefs.h <<\EOF
9134 #define HAVE_FMODL 1
9137 cat >> confdefs.h <<\EOF
9138 #define HAVE_FREXPL 1
9141 cat >> confdefs.h <<\EOF
9142 #define HAVE_LDEXPL 1
9145 cat >> confdefs.h <<\EOF
9146 #define HAVE_LOG10L 1
9149 cat >> confdefs.h <<\EOF
9153 cat >> confdefs.h <<\EOF
9154 #define HAVE_MODFL 1
9157 cat >> confdefs.h <<\EOF
9161 cat >> confdefs.h <<\EOF
9162 #define HAVE_SINCOSL 1
9165 cat >> confdefs.h <<\EOF
9169 cat >> confdefs.h <<\EOF
9170 #define HAVE_SINHL 1
9173 cat >> confdefs.h <<\EOF
9174 #define HAVE_SQRTL 1
9177 cat >> confdefs.h <<\EOF
9181 cat >> confdefs.h <<\EOF
9182 #define HAVE_TANHL 1
9189 # We are being configured natively. We can do more elaborate tests
9190 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9192 GLIBCPP_IS_CROSS_COMPILING=0
9195 # Check for available headers.
9196 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9197 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9199 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9200 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9201 echo "configure:9202: checking for $ac_hdr" >&5
9202 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9203 echo $ac_n "(cached) $ac_c" 1>&6
9205 cat > conftest.$ac_ext <<EOF
9206 #line 9207 "configure"
9207 #include "confdefs.h"
9210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9211 { (eval echo configure:9212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9213 if test -z "$ac_err"; then
9215 eval "ac_cv_header_$ac_safe=yes"
9218 echo "configure: failed program was:" >&5
9219 cat conftest.$ac_ext >&5
9221 eval "ac_cv_header_$ac_safe=no"
9225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9226 echo "$ac_t""yes" 1>&6
9227 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9228 cat >> confdefs.h <<EOF
9229 #define $ac_tr_hdr 1
9233 echo "$ac_t""no" 1>&6
9239 # All these tests are for C++; save the language and the compiler flags.
9240 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9241 # found in GLIBCPP_CONFIGURE.
9244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9245 ac_cpp='$CXXCPP $CPPFLAGS'
9246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9248 cross_compiling=$ac_cv_prog_cxx_cross
9250 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9251 ac_save_CXXFLAGS="$CXXFLAGS"
9253 # Check for maintainer-mode bits.
9254 if test x"$USE_MAINTAINER_MODE" = xno; then
9260 # Check for -ffunction-sections -fdata-sections
9261 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9262 echo "configure:9263: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9263 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9264 cat > conftest.$ac_ext <<EOF
9265 #line 9266 "configure"
9266 #include "confdefs.h"
9273 if { (eval echo configure:9274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9277 echo "configure: failed program was:" >&5
9278 cat conftest.$ac_ext >&5
9283 if test "$ac_test_CXXFLAGS" = set; then
9284 CXXFLAGS="$ac_save_CXXFLAGS"
9286 # this is the suspicious part
9289 if test x"$ac_fdsections" = x"yes" &&
9290 test x"$enable_debug" = x"no"; then
9291 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9293 echo "$ac_t""$ac_fdsections" 1>&6
9296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9297 ac_cpp='$CPP $CPPFLAGS'
9298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9300 cross_compiling=$ac_cv_prog_cc_cross
9306 # If we're not using GNU ld, then there's no point in even trying these
9307 # tests. Check for that first. We should have already tested for gld
9308 # by now (in libtool), but require it now just to be safe...
9309 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9310 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9313 # The name set by libtool depends on the version of libtool. Shame on us
9314 # for depending on an impl detail, but c'est la vie. Older versions used
9315 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9316 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9317 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9318 # set (hence we're using an older libtool), then set it.
9319 if test x${with_gnu_ld+set} != xset; then
9320 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9321 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9324 with_gnu_ld=$ac_cv_prog_gnu_ld
9328 # Start by getting the version number. I think the libtool test already
9329 # does some of this, but throws away the result.
9331 ldver=`$LD --version 2>/dev/null | head -1 | \
9332 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9334 glibcpp_gnu_ld_version=`echo $ldver | \
9335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9337 # Set --gc-sections.
9338 if test "$with_gnu_ld" = "notbroken"; then
9339 # GNU ld it is! Joy and bunny rabbits!
9341 # All these tests are for C++; save the language and the compiler flags.
9342 # Need to do this so that g++ won't try to link in libstdc++
9343 ac_test_CFLAGS="${CFLAGS+set}"
9344 ac_save_CFLAGS="$CFLAGS"
9345 CFLAGS='-x c++ -Wl,--gc-sections'
9347 # Check for -Wl,--gc-sections
9348 # XXX This test is broken at the moment, as symbols required for
9349 # linking are now in libsupc++ (not built yet.....). In addition,
9350 # this test has cored on solaris in the past. In addition,
9351 # --gc-sections doesn't really work at the moment (keeps on discarding
9352 # used sections, first .eh_frame and now some of the glibc sections for
9353 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9354 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9355 echo "configure:9356: checking for ld that supports -Wl,--gc-sections" >&5
9356 if test "$cross_compiling" = yes; then
9357 ac_sectionLDflags=yes
9359 cat > conftest.$ac_ext <<EOF
9360 #line 9361 "configure"
9361 #include "confdefs.h"
9371 if { (eval echo configure:9372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9373 ac_sectionLDflags=yes
9375 echo "configure: failed program was:" >&5
9376 cat conftest.$ac_ext >&5
9378 ac_sectionLDflags=no
9383 if test "$ac_test_CFLAGS" = set; then
9384 CFLAGS="$ac_save_CFLAGS"
9386 # this is the suspicious part
9389 if test "$ac_sectionLDflags" = "yes"; then
9390 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9392 echo "$ac_t""$ac_sectionLDflags" 1>&6
9395 # Set linker optimization flags.
9396 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9397 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9405 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9406 echo "configure:9407: checking for __builtin_abs declaration" >&5
9407 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9408 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9409 echo $ac_n "(cached) $ac_c" 1>&6
9414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9415 ac_cpp='$CXXCPP $CPPFLAGS'
9416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9418 cross_compiling=$ac_cv_prog_cxx_cross
9420 cat > conftest.$ac_ext <<EOF
9421 #line 9422 "configure"
9422 #include "confdefs.h"
9428 if { (eval echo configure:9429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9430 glibcpp_cv_func___builtin_abs_use=yes
9432 echo "configure: failed program was:" >&5
9433 cat conftest.$ac_ext >&5
9435 glibcpp_cv_func___builtin_abs_use=no
9439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9440 ac_cpp='$CPP $CPPFLAGS'
9441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9443 cross_compiling=$ac_cv_prog_cc_cross
9449 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9450 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9451 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9452 echo "configure:9453: checking for __builtin_abs linkage" >&5
9453 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9454 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9455 echo $ac_n "(cached) $ac_c" 1>&6
9458 cat > conftest.$ac_ext <<EOF
9459 #line 9460 "configure"
9460 #include "confdefs.h"
9466 if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9468 glibcpp_cv_func___builtin_abs_link=yes
9470 echo "configure: failed program was:" >&5
9471 cat conftest.$ac_ext >&5
9473 glibcpp_cv_func___builtin_abs_link=no
9480 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9481 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9482 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9483 cat >> confdefs.h <<EOF
9484 #define ${ac_tr_func} 1
9491 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9492 echo "configure:9493: checking for __builtin_fabsf declaration" >&5
9493 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9494 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9495 echo $ac_n "(cached) $ac_c" 1>&6
9500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9501 ac_cpp='$CXXCPP $CPPFLAGS'
9502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9504 cross_compiling=$ac_cv_prog_cxx_cross
9506 cat > conftest.$ac_ext <<EOF
9507 #line 9508 "configure"
9508 #include "confdefs.h"
9514 if { (eval echo configure:9515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9516 glibcpp_cv_func___builtin_fabsf_use=yes
9518 echo "configure: failed program was:" >&5
9519 cat conftest.$ac_ext >&5
9521 glibcpp_cv_func___builtin_fabsf_use=no
9525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9526 ac_cpp='$CPP $CPPFLAGS'
9527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9529 cross_compiling=$ac_cv_prog_cc_cross
9535 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9536 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9537 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9538 echo "configure:9539: checking for __builtin_fabsf linkage" >&5
9539 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9540 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9541 echo $ac_n "(cached) $ac_c" 1>&6
9544 cat > conftest.$ac_ext <<EOF
9545 #line 9546 "configure"
9546 #include "confdefs.h"
9552 if { (eval echo configure:9553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9554 glibcpp_cv_func___builtin_fabsf_link=yes
9556 echo "configure: failed program was:" >&5
9557 cat conftest.$ac_ext >&5
9559 glibcpp_cv_func___builtin_fabsf_link=no
9566 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9567 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9568 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9569 cat >> confdefs.h <<EOF
9570 #define ${ac_tr_func} 1
9577 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9578 echo "configure:9579: checking for __builtin_fabs declaration" >&5
9579 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9580 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9581 echo $ac_n "(cached) $ac_c" 1>&6
9586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9587 ac_cpp='$CXXCPP $CPPFLAGS'
9588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9590 cross_compiling=$ac_cv_prog_cxx_cross
9592 cat > conftest.$ac_ext <<EOF
9593 #line 9594 "configure"
9594 #include "confdefs.h"
9600 if { (eval echo configure:9601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9602 glibcpp_cv_func___builtin_fabs_use=yes
9604 echo "configure: failed program was:" >&5
9605 cat conftest.$ac_ext >&5
9607 glibcpp_cv_func___builtin_fabs_use=no
9611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9612 ac_cpp='$CPP $CPPFLAGS'
9613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9615 cross_compiling=$ac_cv_prog_cc_cross
9621 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9622 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9623 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9624 echo "configure:9625: checking for __builtin_fabs linkage" >&5
9625 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9626 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9627 echo $ac_n "(cached) $ac_c" 1>&6
9630 cat > conftest.$ac_ext <<EOF
9631 #line 9632 "configure"
9632 #include "confdefs.h"
9638 if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9640 glibcpp_cv_func___builtin_fabs_link=yes
9642 echo "configure: failed program was:" >&5
9643 cat conftest.$ac_ext >&5
9645 glibcpp_cv_func___builtin_fabs_link=no
9652 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9653 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9654 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9655 cat >> confdefs.h <<EOF
9656 #define ${ac_tr_func} 1
9663 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9664 echo "configure:9665: checking for __builtin_fabsl declaration" >&5
9665 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9666 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9667 echo $ac_n "(cached) $ac_c" 1>&6
9672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9673 ac_cpp='$CXXCPP $CPPFLAGS'
9674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9676 cross_compiling=$ac_cv_prog_cxx_cross
9678 cat > conftest.$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9686 if { (eval echo configure:9687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9688 glibcpp_cv_func___builtin_fabsl_use=yes
9690 echo "configure: failed program was:" >&5
9691 cat conftest.$ac_ext >&5
9693 glibcpp_cv_func___builtin_fabsl_use=no
9697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9698 ac_cpp='$CPP $CPPFLAGS'
9699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9701 cross_compiling=$ac_cv_prog_cc_cross
9707 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9708 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9709 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9710 echo "configure:9711: checking for __builtin_fabsl linkage" >&5
9711 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9712 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9713 echo $ac_n "(cached) $ac_c" 1>&6
9716 cat > conftest.$ac_ext <<EOF
9717 #line 9718 "configure"
9718 #include "confdefs.h"
9724 if { (eval echo configure:9725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9726 glibcpp_cv_func___builtin_fabsl_link=yes
9728 echo "configure: failed program was:" >&5
9729 cat conftest.$ac_ext >&5
9731 glibcpp_cv_func___builtin_fabsl_link=no
9738 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9739 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9740 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9741 cat >> confdefs.h <<EOF
9742 #define ${ac_tr_func} 1
9749 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9750 echo "configure:9751: checking for __builtin_labs declaration" >&5
9751 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9752 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9759 ac_cpp='$CXXCPP $CPPFLAGS'
9760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9762 cross_compiling=$ac_cv_prog_cxx_cross
9764 cat > conftest.$ac_ext <<EOF
9765 #line 9766 "configure"
9766 #include "confdefs.h"
9772 if { (eval echo configure:9773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9774 glibcpp_cv_func___builtin_labs_use=yes
9776 echo "configure: failed program was:" >&5
9777 cat conftest.$ac_ext >&5
9779 glibcpp_cv_func___builtin_labs_use=no
9783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9784 ac_cpp='$CPP $CPPFLAGS'
9785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9787 cross_compiling=$ac_cv_prog_cc_cross
9793 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9794 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9795 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9796 echo "configure:9797: checking for __builtin_labs linkage" >&5
9797 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9798 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9799 echo $ac_n "(cached) $ac_c" 1>&6
9802 cat > conftest.$ac_ext <<EOF
9803 #line 9804 "configure"
9804 #include "confdefs.h"
9810 if { (eval echo configure:9811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9812 glibcpp_cv_func___builtin_labs_link=yes
9814 echo "configure: failed program was:" >&5
9815 cat conftest.$ac_ext >&5
9817 glibcpp_cv_func___builtin_labs_link=no
9824 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9825 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9826 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9827 cat >> confdefs.h <<EOF
9828 #define ${ac_tr_func} 1
9836 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9837 echo "configure:9838: checking for __builtin_sqrtf declaration" >&5
9838 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9839 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9840 echo $ac_n "(cached) $ac_c" 1>&6
9845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9846 ac_cpp='$CXXCPP $CPPFLAGS'
9847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9849 cross_compiling=$ac_cv_prog_cxx_cross
9851 cat > conftest.$ac_ext <<EOF
9852 #line 9853 "configure"
9853 #include "confdefs.h"
9859 if { (eval echo configure:9860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9861 glibcpp_cv_func___builtin_sqrtf_use=yes
9863 echo "configure: failed program was:" >&5
9864 cat conftest.$ac_ext >&5
9866 glibcpp_cv_func___builtin_sqrtf_use=no
9870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9871 ac_cpp='$CPP $CPPFLAGS'
9872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9874 cross_compiling=$ac_cv_prog_cc_cross
9880 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9881 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9882 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9883 echo "configure:9884: checking for __builtin_sqrtf linkage" >&5
9884 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9885 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9889 cat > conftest.$ac_ext <<EOF
9890 #line 9891 "configure"
9891 #include "confdefs.h"
9897 if { (eval echo configure:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9899 glibcpp_cv_func___builtin_sqrtf_link=yes
9901 echo "configure: failed program was:" >&5
9902 cat conftest.$ac_ext >&5
9904 glibcpp_cv_func___builtin_sqrtf_link=no
9911 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9912 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9913 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9914 cat >> confdefs.h <<EOF
9915 #define ${ac_tr_func} 1
9922 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9923 echo "configure:9924: checking for __builtin_sqrt declaration" >&5
9924 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9925 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9926 echo $ac_n "(cached) $ac_c" 1>&6
9931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9932 ac_cpp='$CXXCPP $CPPFLAGS'
9933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9935 cross_compiling=$ac_cv_prog_cxx_cross
9937 cat > conftest.$ac_ext <<EOF
9938 #line 9939 "configure"
9939 #include "confdefs.h"
9945 if { (eval echo configure:9946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9947 glibcpp_cv_func___builtin_sqrt_use=yes
9949 echo "configure: failed program was:" >&5
9950 cat conftest.$ac_ext >&5
9952 glibcpp_cv_func___builtin_sqrt_use=no
9956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9957 ac_cpp='$CPP $CPPFLAGS'
9958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9960 cross_compiling=$ac_cv_prog_cc_cross
9966 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9967 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9968 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9969 echo "configure:9970: checking for __builtin_sqrt linkage" >&5
9970 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9971 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9972 echo $ac_n "(cached) $ac_c" 1>&6
9975 cat > conftest.$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9983 if { (eval echo configure:9984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9985 glibcpp_cv_func___builtin_sqrt_link=yes
9987 echo "configure: failed program was:" >&5
9988 cat conftest.$ac_ext >&5
9990 glibcpp_cv_func___builtin_sqrt_link=no
9997 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9998 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9999 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10000 cat >> confdefs.h <<EOF
10001 #define ${ac_tr_func} 1
10008 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
10009 echo "configure:10010: checking for __builtin_sqrtl declaration" >&5
10010 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10011 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10012 echo $ac_n "(cached) $ac_c" 1>&6
10017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10018 ac_cpp='$CXXCPP $CPPFLAGS'
10019 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10020 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10021 cross_compiling=$ac_cv_prog_cxx_cross
10023 cat > conftest.$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10028 __builtin_sqrtl(0);
10031 if { (eval echo configure:10032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10033 glibcpp_cv_func___builtin_sqrtl_use=yes
10035 echo "configure: failed program was:" >&5
10036 cat conftest.$ac_ext >&5
10038 glibcpp_cv_func___builtin_sqrtl_use=no
10042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10043 ac_cpp='$CPP $CPPFLAGS'
10044 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10045 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10046 cross_compiling=$ac_cv_prog_cc_cross
10052 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10053 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10054 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10055 echo "configure:10056: checking for __builtin_sqrtl linkage" >&5
10056 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10057 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10061 cat > conftest.$ac_ext <<EOF
10062 #line 10063 "configure"
10063 #include "confdefs.h"
10066 __builtin_sqrtl(0);
10069 if { (eval echo configure:10070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10071 glibcpp_cv_func___builtin_sqrtl_link=yes
10073 echo "configure: failed program was:" >&5
10074 cat conftest.$ac_ext >&5
10076 glibcpp_cv_func___builtin_sqrtl_link=no
10083 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10084 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10085 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10086 cat >> confdefs.h <<EOF
10087 #define ${ac_tr_func} 1
10095 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10096 echo "configure:10097: checking for __builtin_sinf declaration" >&5
10097 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10098 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10099 echo $ac_n "(cached) $ac_c" 1>&6
10104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10105 ac_cpp='$CXXCPP $CPPFLAGS'
10106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10108 cross_compiling=$ac_cv_prog_cxx_cross
10110 cat > conftest.$ac_ext <<EOF
10111 #line 10112 "configure"
10112 #include "confdefs.h"
10118 if { (eval echo configure:10119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10120 glibcpp_cv_func___builtin_sinf_use=yes
10122 echo "configure: failed program was:" >&5
10123 cat conftest.$ac_ext >&5
10125 glibcpp_cv_func___builtin_sinf_use=no
10129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10130 ac_cpp='$CPP $CPPFLAGS'
10131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10133 cross_compiling=$ac_cv_prog_cc_cross
10139 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10140 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10141 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10142 echo "configure:10143: checking for __builtin_sinf linkage" >&5
10143 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10144 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10145 echo $ac_n "(cached) $ac_c" 1>&6
10148 cat > conftest.$ac_ext <<EOF
10149 #line 10150 "configure"
10150 #include "confdefs.h"
10156 if { (eval echo configure:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10158 glibcpp_cv_func___builtin_sinf_link=yes
10160 echo "configure: failed program was:" >&5
10161 cat conftest.$ac_ext >&5
10163 glibcpp_cv_func___builtin_sinf_link=no
10170 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10171 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10172 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10173 cat >> confdefs.h <<EOF
10174 #define ${ac_tr_func} 1
10181 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10182 echo "configure:10183: checking for __builtin_sin declaration" >&5
10183 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10184 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10185 echo $ac_n "(cached) $ac_c" 1>&6
10190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10191 ac_cpp='$CXXCPP $CPPFLAGS'
10192 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10193 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10194 cross_compiling=$ac_cv_prog_cxx_cross
10196 cat > conftest.$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10204 if { (eval echo configure:10205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10206 glibcpp_cv_func___builtin_sin_use=yes
10208 echo "configure: failed program was:" >&5
10209 cat conftest.$ac_ext >&5
10211 glibcpp_cv_func___builtin_sin_use=no
10215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10216 ac_cpp='$CPP $CPPFLAGS'
10217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10219 cross_compiling=$ac_cv_prog_cc_cross
10225 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10226 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10227 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10228 echo "configure:10229: checking for __builtin_sin linkage" >&5
10229 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10230 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10231 echo $ac_n "(cached) $ac_c" 1>&6
10234 cat > conftest.$ac_ext <<EOF
10235 #line 10236 "configure"
10236 #include "confdefs.h"
10242 if { (eval echo configure:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10244 glibcpp_cv_func___builtin_sin_link=yes
10246 echo "configure: failed program was:" >&5
10247 cat conftest.$ac_ext >&5
10249 glibcpp_cv_func___builtin_sin_link=no
10256 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10257 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10258 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10259 cat >> confdefs.h <<EOF
10260 #define ${ac_tr_func} 1
10267 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10268 echo "configure:10269: checking for __builtin_sinl declaration" >&5
10269 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10270 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10271 echo $ac_n "(cached) $ac_c" 1>&6
10276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10277 ac_cpp='$CXXCPP $CPPFLAGS'
10278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10280 cross_compiling=$ac_cv_prog_cxx_cross
10282 cat > conftest.$ac_ext <<EOF
10283 #line 10284 "configure"
10284 #include "confdefs.h"
10290 if { (eval echo configure:10291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10292 glibcpp_cv_func___builtin_sinl_use=yes
10294 echo "configure: failed program was:" >&5
10295 cat conftest.$ac_ext >&5
10297 glibcpp_cv_func___builtin_sinl_use=no
10301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10302 ac_cpp='$CPP $CPPFLAGS'
10303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10305 cross_compiling=$ac_cv_prog_cc_cross
10311 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10312 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10313 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10314 echo "configure:10315: checking for __builtin_sinl linkage" >&5
10315 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10316 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10317 echo $ac_n "(cached) $ac_c" 1>&6
10320 cat > conftest.$ac_ext <<EOF
10321 #line 10322 "configure"
10322 #include "confdefs.h"
10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10330 glibcpp_cv_func___builtin_sinl_link=yes
10332 echo "configure: failed program was:" >&5
10333 cat conftest.$ac_ext >&5
10335 glibcpp_cv_func___builtin_sinl_link=no
10342 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10343 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10344 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10345 cat >> confdefs.h <<EOF
10346 #define ${ac_tr_func} 1
10354 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10355 echo "configure:10356: checking for __builtin_cosf declaration" >&5
10356 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10357 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10364 ac_cpp='$CXXCPP $CPPFLAGS'
10365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10367 cross_compiling=$ac_cv_prog_cxx_cross
10369 cat > conftest.$ac_ext <<EOF
10370 #line 10371 "configure"
10371 #include "confdefs.h"
10377 if { (eval echo configure:10378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10379 glibcpp_cv_func___builtin_cosf_use=yes
10381 echo "configure: failed program was:" >&5
10382 cat conftest.$ac_ext >&5
10384 glibcpp_cv_func___builtin_cosf_use=no
10388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10389 ac_cpp='$CPP $CPPFLAGS'
10390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10392 cross_compiling=$ac_cv_prog_cc_cross
10398 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10399 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10400 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10401 echo "configure:10402: checking for __builtin_cosf linkage" >&5
10402 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10403 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10407 cat > conftest.$ac_ext <<EOF
10408 #line 10409 "configure"
10409 #include "confdefs.h"
10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10417 glibcpp_cv_func___builtin_cosf_link=yes
10419 echo "configure: failed program was:" >&5
10420 cat conftest.$ac_ext >&5
10422 glibcpp_cv_func___builtin_cosf_link=no
10429 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10430 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10431 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10432 cat >> confdefs.h <<EOF
10433 #define ${ac_tr_func} 1
10440 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10441 echo "configure:10442: checking for __builtin_cos declaration" >&5
10442 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10443 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10444 echo $ac_n "(cached) $ac_c" 1>&6
10449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10450 ac_cpp='$CXXCPP $CPPFLAGS'
10451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10453 cross_compiling=$ac_cv_prog_cxx_cross
10455 cat > conftest.$ac_ext <<EOF
10456 #line 10457 "configure"
10457 #include "confdefs.h"
10463 if { (eval echo configure:10464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10465 glibcpp_cv_func___builtin_cos_use=yes
10467 echo "configure: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10470 glibcpp_cv_func___builtin_cos_use=no
10474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10475 ac_cpp='$CPP $CPPFLAGS'
10476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10478 cross_compiling=$ac_cv_prog_cc_cross
10484 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10485 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10486 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10487 echo "configure:10488: checking for __builtin_cos linkage" >&5
10488 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10489 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10493 cat > conftest.$ac_ext <<EOF
10494 #line 10495 "configure"
10495 #include "confdefs.h"
10501 if { (eval echo configure:10502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10503 glibcpp_cv_func___builtin_cos_link=yes
10505 echo "configure: failed program was:" >&5
10506 cat conftest.$ac_ext >&5
10508 glibcpp_cv_func___builtin_cos_link=no
10515 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10516 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10517 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10518 cat >> confdefs.h <<EOF
10519 #define ${ac_tr_func} 1
10526 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10527 echo "configure:10528: checking for __builtin_cosl declaration" >&5
10528 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10529 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10530 echo $ac_n "(cached) $ac_c" 1>&6
10535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10536 ac_cpp='$CXXCPP $CPPFLAGS'
10537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10539 cross_compiling=$ac_cv_prog_cxx_cross
10541 cat > conftest.$ac_ext <<EOF
10542 #line 10543 "configure"
10543 #include "confdefs.h"
10549 if { (eval echo configure:10550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10551 glibcpp_cv_func___builtin_cosl_use=yes
10553 echo "configure: failed program was:" >&5
10554 cat conftest.$ac_ext >&5
10556 glibcpp_cv_func___builtin_cosl_use=no
10560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10561 ac_cpp='$CPP $CPPFLAGS'
10562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10564 cross_compiling=$ac_cv_prog_cc_cross
10570 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10571 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10572 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10573 echo "configure:10574: checking for __builtin_cosl linkage" >&5
10574 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10575 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10576 echo $ac_n "(cached) $ac_c" 1>&6
10579 cat > conftest.$ac_ext <<EOF
10580 #line 10581 "configure"
10581 #include "confdefs.h"
10587 if { (eval echo configure:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10589 glibcpp_cv_func___builtin_cosl_link=yes
10591 echo "configure: failed program was:" >&5
10592 cat conftest.$ac_ext >&5
10594 glibcpp_cv_func___builtin_cosl_link=no
10601 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10602 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10603 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10604 cat >> confdefs.h <<EOF
10605 #define ${ac_tr_func} 1
10613 if test x$dummyvar = x"yes"; then
10614 cat >> confdefs.h <<\EOF
10615 #define HAVE___BUILTIN_ABS 1
10618 cat >> confdefs.h <<\EOF
10619 #define HAVE___BUILTIN_LABS 1
10622 cat >> confdefs.h <<\EOF
10623 #define HAVE___BUILTIN_COS 1
10626 cat >> confdefs.h <<\EOF
10627 #define HAVE___BUILTIN_COSF 1
10630 cat >> confdefs.h <<\EOF
10631 #define HAVE___BUILTIN_COSL 1
10634 cat >> confdefs.h <<\EOF
10635 #define HAVE___BUILTIN_FABS 1
10638 cat >> confdefs.h <<\EOF
10639 #define HAVE___BUILTIN_FABSF 1
10642 cat >> confdefs.h <<\EOF
10643 #define HAVE___BUILTIN_FABSL 1
10646 cat >> confdefs.h <<\EOF
10647 #define HAVE___BUILTIN_SIN 1
10650 cat >> confdefs.h <<\EOF
10651 #define HAVE___BUILTIN_SINF 1
10654 cat >> confdefs.h <<\EOF
10655 #define HAVE___BUILTIN_SINL 1
10658 cat >> confdefs.h <<\EOF
10659 #define HAVE___BUILTIN_SQRT 1
10662 cat >> confdefs.h <<\EOF
10663 #define HAVE___BUILTIN_SQRTF 1
10666 cat >> confdefs.h <<\EOF
10667 #define HAVE___BUILTIN_SQRTL 1
10673 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10674 ac_save_CXXFLAGS="$CXXFLAGS"
10675 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10677 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10678 echo "configure:10679: checking for sin in -lm" >&5
10679 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10681 echo $ac_n "(cached) $ac_c" 1>&6
10683 ac_save_LIBS="$LIBS"
10685 cat > conftest.$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10688 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10697 if { (eval echo configure:10698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10699 eval "ac_cv_lib_$ac_lib_var=yes"
10701 echo "configure: failed program was:" >&5
10702 cat conftest.$ac_ext >&5
10704 eval "ac_cv_lib_$ac_lib_var=no"
10707 LIBS="$ac_save_LIBS"
10710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10711 echo "$ac_t""yes" 1>&6
10714 echo "$ac_t""no" 1>&6
10717 ac_save_LIBS="$LIBS"
10722 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10723 echo "configure:10724: checking for isinf declaration" >&5
10724 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10725 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10726 echo $ac_n "(cached) $ac_c" 1>&6
10731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10732 ac_cpp='$CXXCPP $CPPFLAGS'
10733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10735 cross_compiling=$ac_cv_prog_cxx_cross
10737 cat > conftest.$ac_ext <<EOF
10738 #line 10739 "configure"
10739 #include "confdefs.h"
10741 #ifdef HAVE_IEEEFP_H
10742 #include <ieeefp.h>
10749 if { (eval echo configure:10750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10751 glibcpp_cv_func_isinf_use=yes
10753 echo "configure: failed program was:" >&5
10754 cat conftest.$ac_ext >&5
10756 glibcpp_cv_func_isinf_use=no
10760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10761 ac_cpp='$CPP $CPPFLAGS'
10762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10764 cross_compiling=$ac_cv_prog_cc_cross
10770 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10772 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10773 for ac_func in isinf
10775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10776 echo "configure:10777: checking for $ac_func" >&5
10777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10778 echo $ac_n "(cached) $ac_c" 1>&6
10780 cat > conftest.$ac_ext <<EOF
10781 #line 10782 "configure"
10782 #include "confdefs.h"
10783 /* System header to define __stub macros and hopefully few prototypes,
10784 which can conflict with char $ac_func(); below. */
10785 #include <assert.h>
10786 /* Override any gcc2 internal prototype to avoid an error. */
10787 /* We use char because int might match the return type of a gcc2
10788 builtin and then its argument prototype would still apply. */
10793 /* The GNU C library defines this for functions which it implements
10794 to always fail with ENOSYS. Some functions are actually named
10795 something starting with __ and the normal name is an alias. */
10796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10806 eval "ac_cv_func_$ac_func=yes"
10808 echo "configure: failed program was:" >&5
10809 cat conftest.$ac_ext >&5
10811 eval "ac_cv_func_$ac_func=no"
10816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10817 echo "$ac_t""yes" 1>&6
10818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10819 cat >> confdefs.h <<EOF
10820 #define $ac_tr_func 1
10824 echo "$ac_t""no" 1>&6
10830 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10831 echo "configure:10832: checking for _isinf declaration" >&5
10832 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10833 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10834 echo $ac_n "(cached) $ac_c" 1>&6
10839 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10840 ac_cpp='$CXXCPP $CPPFLAGS'
10841 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10842 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10843 cross_compiling=$ac_cv_prog_cxx_cross
10845 cat > conftest.$ac_ext <<EOF
10846 #line 10847 "configure"
10847 #include "confdefs.h"
10849 #ifdef HAVE_IEEEFP_H
10850 #include <ieeefp.h>
10857 if { (eval echo configure:10858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10859 glibcpp_cv_func__isinf_use=yes
10861 echo "configure: failed program was:" >&5
10862 cat conftest.$ac_ext >&5
10864 glibcpp_cv_func__isinf_use=no
10868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10869 ac_cpp='$CPP $CPPFLAGS'
10870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10872 cross_compiling=$ac_cv_prog_cc_cross
10878 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10880 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10881 for ac_func in _isinf
10883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10884 echo "configure:10885: checking for $ac_func" >&5
10885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10886 echo $ac_n "(cached) $ac_c" 1>&6
10888 cat > conftest.$ac_ext <<EOF
10889 #line 10890 "configure"
10890 #include "confdefs.h"
10891 /* System header to define __stub macros and hopefully few prototypes,
10892 which can conflict with char $ac_func(); below. */
10893 #include <assert.h>
10894 /* Override any gcc2 internal prototype to avoid an error. */
10895 /* We use char because int might match the return type of a gcc2
10896 builtin and then its argument prototype would still apply. */
10901 /* The GNU C library defines this for functions which it implements
10902 to always fail with ENOSYS. Some functions are actually named
10903 something starting with __ and the normal name is an alias. */
10904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10912 if { (eval echo configure:10913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10914 eval "ac_cv_func_$ac_func=yes"
10916 echo "configure: failed program was:" >&5
10917 cat conftest.$ac_ext >&5
10919 eval "ac_cv_func_$ac_func=no"
10924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10925 echo "$ac_t""yes" 1>&6
10926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10927 cat >> confdefs.h <<EOF
10928 #define $ac_tr_func 1
10932 echo "$ac_t""no" 1>&6
10941 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10942 echo "configure:10943: checking for isnan declaration" >&5
10943 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10944 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10945 echo $ac_n "(cached) $ac_c" 1>&6
10950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10951 ac_cpp='$CXXCPP $CPPFLAGS'
10952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10954 cross_compiling=$ac_cv_prog_cxx_cross
10956 cat > conftest.$ac_ext <<EOF
10957 #line 10958 "configure"
10958 #include "confdefs.h"
10960 #ifdef HAVE_IEEEFP_H
10961 #include <ieeefp.h>
10968 if { (eval echo configure:10969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10970 glibcpp_cv_func_isnan_use=yes
10972 echo "configure: failed program was:" >&5
10973 cat conftest.$ac_ext >&5
10975 glibcpp_cv_func_isnan_use=no
10979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10980 ac_cpp='$CPP $CPPFLAGS'
10981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10983 cross_compiling=$ac_cv_prog_cc_cross
10989 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10991 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10992 for ac_func in isnan
10994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10995 echo "configure:10996: checking for $ac_func" >&5
10996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10997 echo $ac_n "(cached) $ac_c" 1>&6
10999 cat > conftest.$ac_ext <<EOF
11000 #line 11001 "configure"
11001 #include "confdefs.h"
11002 /* System header to define __stub macros and hopefully few prototypes,
11003 which can conflict with char $ac_func(); below. */
11004 #include <assert.h>
11005 /* Override any gcc2 internal prototype to avoid an error. */
11006 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */
11012 /* The GNU C library defines this for functions which it implements
11013 to always fail with ENOSYS. Some functions are actually named
11014 something starting with __ and the normal name is an alias. */
11015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11023 if { (eval echo configure:11024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11025 eval "ac_cv_func_$ac_func=yes"
11027 echo "configure: failed program was:" >&5
11028 cat conftest.$ac_ext >&5
11030 eval "ac_cv_func_$ac_func=no"
11035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11036 echo "$ac_t""yes" 1>&6
11037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11038 cat >> confdefs.h <<EOF
11039 #define $ac_tr_func 1
11043 echo "$ac_t""no" 1>&6
11049 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11050 echo "configure:11051: checking for _isnan declaration" >&5
11051 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11052 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11059 ac_cpp='$CXXCPP $CPPFLAGS'
11060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11062 cross_compiling=$ac_cv_prog_cxx_cross
11064 cat > conftest.$ac_ext <<EOF
11065 #line 11066 "configure"
11066 #include "confdefs.h"
11068 #ifdef HAVE_IEEEFP_H
11069 #include <ieeefp.h>
11076 if { (eval echo configure:11077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11078 glibcpp_cv_func__isnan_use=yes
11080 echo "configure: failed program was:" >&5
11081 cat conftest.$ac_ext >&5
11083 glibcpp_cv_func__isnan_use=no
11087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11088 ac_cpp='$CPP $CPPFLAGS'
11089 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11090 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11091 cross_compiling=$ac_cv_prog_cc_cross
11097 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11099 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11100 for ac_func in _isnan
11102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11103 echo "configure:11104: checking for $ac_func" >&5
11104 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11105 echo $ac_n "(cached) $ac_c" 1>&6
11107 cat > conftest.$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11110 /* System header to define __stub macros and hopefully few prototypes,
11111 which can conflict with char $ac_func(); below. */
11112 #include <assert.h>
11113 /* Override any gcc2 internal prototype to avoid an error. */
11114 /* We use char because int might match the return type of a gcc2
11115 builtin and then its argument prototype would still apply. */
11120 /* The GNU C library defines this for functions which it implements
11121 to always fail with ENOSYS. Some functions are actually named
11122 something starting with __ and the normal name is an alias. */
11123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11133 eval "ac_cv_func_$ac_func=yes"
11135 echo "configure: failed program was:" >&5
11136 cat conftest.$ac_ext >&5
11138 eval "ac_cv_func_$ac_func=no"
11143 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11144 echo "$ac_t""yes" 1>&6
11145 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11146 cat >> confdefs.h <<EOF
11147 #define $ac_tr_func 1
11151 echo "$ac_t""no" 1>&6
11160 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11161 echo "configure:11162: checking for finite declaration" >&5
11162 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11163 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11164 echo $ac_n "(cached) $ac_c" 1>&6
11169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11170 ac_cpp='$CXXCPP $CPPFLAGS'
11171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11173 cross_compiling=$ac_cv_prog_cxx_cross
11175 cat > conftest.$ac_ext <<EOF
11176 #line 11177 "configure"
11177 #include "confdefs.h"
11179 #ifdef HAVE_IEEEFP_H
11180 #include <ieeefp.h>
11187 if { (eval echo configure:11188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11189 glibcpp_cv_func_finite_use=yes
11191 echo "configure: failed program was:" >&5
11192 cat conftest.$ac_ext >&5
11194 glibcpp_cv_func_finite_use=no
11198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11199 ac_cpp='$CPP $CPPFLAGS'
11200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11202 cross_compiling=$ac_cv_prog_cc_cross
11208 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11210 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11211 for ac_func in finite
11213 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11214 echo "configure:11215: checking for $ac_func" >&5
11215 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11216 echo $ac_n "(cached) $ac_c" 1>&6
11218 cat > conftest.$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11221 /* System header to define __stub macros and hopefully few prototypes,
11222 which can conflict with char $ac_func(); below. */
11223 #include <assert.h>
11224 /* Override any gcc2 internal prototype to avoid an error. */
11225 /* We use char because int might match the return type of a gcc2
11226 builtin and then its argument prototype would still apply. */
11231 /* The GNU C library defines this for functions which it implements
11232 to always fail with ENOSYS. Some functions are actually named
11233 something starting with __ and the normal name is an alias. */
11234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11242 if { (eval echo configure:11243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11244 eval "ac_cv_func_$ac_func=yes"
11246 echo "configure: failed program was:" >&5
11247 cat conftest.$ac_ext >&5
11249 eval "ac_cv_func_$ac_func=no"
11254 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11255 echo "$ac_t""yes" 1>&6
11256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11257 cat >> confdefs.h <<EOF
11258 #define $ac_tr_func 1
11262 echo "$ac_t""no" 1>&6
11268 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11269 echo "configure:11270: checking for _finite declaration" >&5
11270 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11271 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11272 echo $ac_n "(cached) $ac_c" 1>&6
11277 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11278 ac_cpp='$CXXCPP $CPPFLAGS'
11279 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11280 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11281 cross_compiling=$ac_cv_prog_cxx_cross
11283 cat > conftest.$ac_ext <<EOF
11284 #line 11285 "configure"
11285 #include "confdefs.h"
11287 #ifdef HAVE_IEEEFP_H
11288 #include <ieeefp.h>
11295 if { (eval echo configure:11296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11297 glibcpp_cv_func__finite_use=yes
11299 echo "configure: failed program was:" >&5
11300 cat conftest.$ac_ext >&5
11302 glibcpp_cv_func__finite_use=no
11306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp='$CPP $CPPFLAGS'
11308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling=$ac_cv_prog_cc_cross
11316 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11318 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11319 for ac_func in _finite
11321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11322 echo "configure:11323: checking for $ac_func" >&5
11323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11324 echo $ac_n "(cached) $ac_c" 1>&6
11326 cat > conftest.$ac_ext <<EOF
11327 #line 11328 "configure"
11328 #include "confdefs.h"
11329 /* System header to define __stub macros and hopefully few prototypes,
11330 which can conflict with char $ac_func(); below. */
11331 #include <assert.h>
11332 /* Override any gcc2 internal prototype to avoid an error. */
11333 /* We use char because int might match the return type of a gcc2
11334 builtin and then its argument prototype would still apply. */
11339 /* The GNU C library defines this for functions which it implements
11340 to always fail with ENOSYS. Some functions are actually named
11341 something starting with __ and the normal name is an alias. */
11342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11350 if { (eval echo configure:11351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11352 eval "ac_cv_func_$ac_func=yes"
11354 echo "configure: failed program was:" >&5
11355 cat conftest.$ac_ext >&5
11357 eval "ac_cv_func_$ac_func=no"
11362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11363 echo "$ac_t""yes" 1>&6
11364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11365 cat >> confdefs.h <<EOF
11366 #define $ac_tr_func 1
11370 echo "$ac_t""no" 1>&6
11379 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11380 echo "configure:11381: checking for copysign declaration" >&5
11381 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11382 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11383 echo $ac_n "(cached) $ac_c" 1>&6
11388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11389 ac_cpp='$CXXCPP $CPPFLAGS'
11390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11392 cross_compiling=$ac_cv_prog_cxx_cross
11394 cat > conftest.$ac_ext <<EOF
11395 #line 11396 "configure"
11396 #include "confdefs.h"
11402 if { (eval echo configure:11403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11404 glibcpp_cv_func_copysign_use=yes
11406 echo "configure: failed program was:" >&5
11407 cat conftest.$ac_ext >&5
11409 glibcpp_cv_func_copysign_use=no
11413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11414 ac_cpp='$CPP $CPPFLAGS'
11415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11417 cross_compiling=$ac_cv_prog_cc_cross
11423 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11425 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11426 for ac_func in copysign
11428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11429 echo "configure:11430: checking for $ac_func" >&5
11430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11431 echo $ac_n "(cached) $ac_c" 1>&6
11433 cat > conftest.$ac_ext <<EOF
11434 #line 11435 "configure"
11435 #include "confdefs.h"
11436 /* System header to define __stub macros and hopefully few prototypes,
11437 which can conflict with char $ac_func(); below. */
11438 #include <assert.h>
11439 /* Override any gcc2 internal prototype to avoid an error. */
11440 /* We use char because int might match the return type of a gcc2
11441 builtin and then its argument prototype would still apply. */
11446 /* The GNU C library defines this for functions which it implements
11447 to always fail with ENOSYS. Some functions are actually named
11448 something starting with __ and the normal name is an alias. */
11449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11457 if { (eval echo configure:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11459 eval "ac_cv_func_$ac_func=yes"
11461 echo "configure: failed program was:" >&5
11462 cat conftest.$ac_ext >&5
11464 eval "ac_cv_func_$ac_func=no"
11469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11470 echo "$ac_t""yes" 1>&6
11471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11472 cat >> confdefs.h <<EOF
11473 #define $ac_tr_func 1
11477 echo "$ac_t""no" 1>&6
11483 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11484 echo "configure:11485: checking for _copysign declaration" >&5
11485 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11486 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11487 echo $ac_n "(cached) $ac_c" 1>&6
11492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11493 ac_cpp='$CXXCPP $CPPFLAGS'
11494 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11495 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11496 cross_compiling=$ac_cv_prog_cxx_cross
11498 cat > conftest.$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11506 if { (eval echo configure:11507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11508 glibcpp_cv_func__copysign_use=yes
11510 echo "configure: failed program was:" >&5
11511 cat conftest.$ac_ext >&5
11513 glibcpp_cv_func__copysign_use=no
11517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp='$CPP $CPPFLAGS'
11519 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling=$ac_cv_prog_cc_cross
11527 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11529 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11530 for ac_func in _copysign
11532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11533 echo "configure:11534: checking for $ac_func" >&5
11534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11535 echo $ac_n "(cached) $ac_c" 1>&6
11537 cat > conftest.$ac_ext <<EOF
11538 #line 11539 "configure"
11539 #include "confdefs.h"
11540 /* System header to define __stub macros and hopefully few prototypes,
11541 which can conflict with char $ac_func(); below. */
11542 #include <assert.h>
11543 /* Override any gcc2 internal prototype to avoid an error. */
11544 /* We use char because int might match the return type of a gcc2
11545 builtin and then its argument prototype would still apply. */
11550 /* The GNU C library defines this for functions which it implements
11551 to always fail with ENOSYS. Some functions are actually named
11552 something starting with __ and the normal name is an alias. */
11553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11561 if { (eval echo configure:11562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11563 eval "ac_cv_func_$ac_func=yes"
11565 echo "configure: failed program was:" >&5
11566 cat conftest.$ac_ext >&5
11568 eval "ac_cv_func_$ac_func=no"
11573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11574 echo "$ac_t""yes" 1>&6
11575 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11576 cat >> confdefs.h <<EOF
11577 #define $ac_tr_func 1
11581 echo "$ac_t""no" 1>&6
11590 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11591 echo "configure:11592: checking for sincos declaration" >&5
11592 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11593 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11594 echo $ac_n "(cached) $ac_c" 1>&6
11599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11600 ac_cpp='$CXXCPP $CPPFLAGS'
11601 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11602 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11603 cross_compiling=$ac_cv_prog_cxx_cross
11605 cat > conftest.$ac_ext <<EOF
11606 #line 11607 "configure"
11607 #include "confdefs.h"
11613 if { (eval echo configure:11614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11615 glibcpp_cv_func_sincos_use=yes
11617 echo "configure: failed program was:" >&5
11618 cat conftest.$ac_ext >&5
11620 glibcpp_cv_func_sincos_use=no
11624 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11625 ac_cpp='$CPP $CPPFLAGS'
11626 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11627 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11628 cross_compiling=$ac_cv_prog_cc_cross
11634 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11636 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11637 for ac_func in sincos
11639 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11640 echo "configure:11641: checking for $ac_func" >&5
11641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11644 cat > conftest.$ac_ext <<EOF
11645 #line 11646 "configure"
11646 #include "confdefs.h"
11647 /* System header to define __stub macros and hopefully few prototypes,
11648 which can conflict with char $ac_func(); below. */
11649 #include <assert.h>
11650 /* Override any gcc2 internal prototype to avoid an error. */
11651 /* We use char because int might match the return type of a gcc2
11652 builtin and then its argument prototype would still apply. */
11657 /* The GNU C library defines this for functions which it implements
11658 to always fail with ENOSYS. Some functions are actually named
11659 something starting with __ and the normal name is an alias. */
11660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11670 eval "ac_cv_func_$ac_func=yes"
11672 echo "configure: failed program was:" >&5
11673 cat conftest.$ac_ext >&5
11675 eval "ac_cv_func_$ac_func=no"
11680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11681 echo "$ac_t""yes" 1>&6
11682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11683 cat >> confdefs.h <<EOF
11684 #define $ac_tr_func 1
11688 echo "$ac_t""no" 1>&6
11694 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11695 echo "configure:11696: checking for _sincos declaration" >&5
11696 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11697 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11698 echo $ac_n "(cached) $ac_c" 1>&6
11703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11704 ac_cpp='$CXXCPP $CPPFLAGS'
11705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11707 cross_compiling=$ac_cv_prog_cxx_cross
11709 cat > conftest.$ac_ext <<EOF
11710 #line 11711 "configure"
11711 #include "confdefs.h"
11717 if { (eval echo configure:11718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11719 glibcpp_cv_func__sincos_use=yes
11721 echo "configure: failed program was:" >&5
11722 cat conftest.$ac_ext >&5
11724 glibcpp_cv_func__sincos_use=no
11728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11729 ac_cpp='$CPP $CPPFLAGS'
11730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11732 cross_compiling=$ac_cv_prog_cc_cross
11738 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11740 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11741 for ac_func in _sincos
11743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11744 echo "configure:11745: checking for $ac_func" >&5
11745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11746 echo $ac_n "(cached) $ac_c" 1>&6
11748 cat > conftest.$ac_ext <<EOF
11749 #line 11750 "configure"
11750 #include "confdefs.h"
11751 /* System header to define __stub macros and hopefully few prototypes,
11752 which can conflict with char $ac_func(); below. */
11753 #include <assert.h>
11754 /* Override any gcc2 internal prototype to avoid an error. */
11755 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */
11761 /* The GNU C library defines this for functions which it implements
11762 to always fail with ENOSYS. Some functions are actually named
11763 something starting with __ and the normal name is an alias. */
11764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11772 if { (eval echo configure:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11774 eval "ac_cv_func_$ac_func=yes"
11776 echo "configure: failed program was:" >&5
11777 cat conftest.$ac_ext >&5
11779 eval "ac_cv_func_$ac_func=no"
11784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11785 echo "$ac_t""yes" 1>&6
11786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11787 cat >> confdefs.h <<EOF
11788 #define $ac_tr_func 1
11792 echo "$ac_t""no" 1>&6
11801 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11802 echo "configure:11803: checking for fpclass declaration" >&5
11803 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11804 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11805 echo $ac_n "(cached) $ac_c" 1>&6
11810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11811 ac_cpp='$CXXCPP $CPPFLAGS'
11812 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11813 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11814 cross_compiling=$ac_cv_prog_cxx_cross
11816 cat > conftest.$ac_ext <<EOF
11817 #line 11818 "configure"
11818 #include "confdefs.h"
11820 #ifdef HAVE_IEEEFP_H
11821 #include <ieeefp.h>
11828 if { (eval echo configure:11829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11830 glibcpp_cv_func_fpclass_use=yes
11832 echo "configure: failed program was:" >&5
11833 cat conftest.$ac_ext >&5
11835 glibcpp_cv_func_fpclass_use=no
11839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11840 ac_cpp='$CPP $CPPFLAGS'
11841 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11842 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11843 cross_compiling=$ac_cv_prog_cc_cross
11849 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11851 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11852 for ac_func in fpclass
11854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11855 echo "configure:11856: checking for $ac_func" >&5
11856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11857 echo $ac_n "(cached) $ac_c" 1>&6
11859 cat > conftest.$ac_ext <<EOF
11860 #line 11861 "configure"
11861 #include "confdefs.h"
11862 /* System header to define __stub macros and hopefully few prototypes,
11863 which can conflict with char $ac_func(); below. */
11864 #include <assert.h>
11865 /* Override any gcc2 internal prototype to avoid an error. */
11866 /* We use char because int might match the return type of a gcc2
11867 builtin and then its argument prototype would still apply. */
11872 /* The GNU C library defines this for functions which it implements
11873 to always fail with ENOSYS. Some functions are actually named
11874 something starting with __ and the normal name is an alias. */
11875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11883 if { (eval echo configure:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11885 eval "ac_cv_func_$ac_func=yes"
11887 echo "configure: failed program was:" >&5
11888 cat conftest.$ac_ext >&5
11890 eval "ac_cv_func_$ac_func=no"
11895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11896 echo "$ac_t""yes" 1>&6
11897 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11898 cat >> confdefs.h <<EOF
11899 #define $ac_tr_func 1
11903 echo "$ac_t""no" 1>&6
11909 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11910 echo "configure:11911: checking for _fpclass declaration" >&5
11911 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11912 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11913 echo $ac_n "(cached) $ac_c" 1>&6
11918 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11919 ac_cpp='$CXXCPP $CPPFLAGS'
11920 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11921 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11922 cross_compiling=$ac_cv_prog_cxx_cross
11924 cat > conftest.$ac_ext <<EOF
11925 #line 11926 "configure"
11926 #include "confdefs.h"
11928 #ifdef HAVE_IEEEFP_H
11929 #include <ieeefp.h>
11936 if { (eval echo configure:11937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11938 glibcpp_cv_func__fpclass_use=yes
11940 echo "configure: failed program was:" >&5
11941 cat conftest.$ac_ext >&5
11943 glibcpp_cv_func__fpclass_use=no
11947 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11948 ac_cpp='$CPP $CPPFLAGS'
11949 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11950 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11951 cross_compiling=$ac_cv_prog_cc_cross
11957 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11959 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11960 for ac_func in _fpclass
11962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11963 echo "configure:11964: checking for $ac_func" >&5
11964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11967 cat > conftest.$ac_ext <<EOF
11968 #line 11969 "configure"
11969 #include "confdefs.h"
11970 /* System header to define __stub macros and hopefully few prototypes,
11971 which can conflict with char $ac_func(); below. */
11972 #include <assert.h>
11973 /* Override any gcc2 internal prototype to avoid an error. */
11974 /* We use char because int might match the return type of a gcc2
11975 builtin and then its argument prototype would still apply. */
11980 /* The GNU C library defines this for functions which it implements
11981 to always fail with ENOSYS. Some functions are actually named
11982 something starting with __ and the normal name is an alias. */
11983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11991 if { (eval echo configure:11992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11993 eval "ac_cv_func_$ac_func=yes"
11995 echo "configure: failed program was:" >&5
11996 cat conftest.$ac_ext >&5
11998 eval "ac_cv_func_$ac_func=no"
12003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12004 echo "$ac_t""yes" 1>&6
12005 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12006 cat >> confdefs.h <<EOF
12007 #define $ac_tr_func 1
12011 echo "$ac_t""no" 1>&6
12020 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12021 echo "configure:12022: checking for qfpclass declaration" >&5
12022 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12023 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12024 echo $ac_n "(cached) $ac_c" 1>&6
12029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12030 ac_cpp='$CXXCPP $CPPFLAGS'
12031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12033 cross_compiling=$ac_cv_prog_cxx_cross
12035 cat > conftest.$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12039 #ifdef HAVE_IEEEFP_H
12040 #include <ieeefp.h>
12047 if { (eval echo configure:12048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12049 glibcpp_cv_func_qfpclass_use=yes
12051 echo "configure: failed program was:" >&5
12052 cat conftest.$ac_ext >&5
12054 glibcpp_cv_func_qfpclass_use=no
12058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12059 ac_cpp='$CPP $CPPFLAGS'
12060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12062 cross_compiling=$ac_cv_prog_cc_cross
12068 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12070 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12071 for ac_func in qfpclass
12073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12074 echo "configure:12075: checking for $ac_func" >&5
12075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12076 echo $ac_n "(cached) $ac_c" 1>&6
12078 cat > conftest.$ac_ext <<EOF
12079 #line 12080 "configure"
12080 #include "confdefs.h"
12081 /* System header to define __stub macros and hopefully few prototypes,
12082 which can conflict with char $ac_func(); below. */
12083 #include <assert.h>
12084 /* Override any gcc2 internal prototype to avoid an error. */
12085 /* We use char because int might match the return type of a gcc2
12086 builtin and then its argument prototype would still apply. */
12091 /* The GNU C library defines this for functions which it implements
12092 to always fail with ENOSYS. Some functions are actually named
12093 something starting with __ and the normal name is an alias. */
12094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12102 if { (eval echo configure:12103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12104 eval "ac_cv_func_$ac_func=yes"
12106 echo "configure: failed program was:" >&5
12107 cat conftest.$ac_ext >&5
12109 eval "ac_cv_func_$ac_func=no"
12114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12115 echo "$ac_t""yes" 1>&6
12116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12117 cat >> confdefs.h <<EOF
12118 #define $ac_tr_func 1
12122 echo "$ac_t""no" 1>&6
12128 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12129 echo "configure:12130: checking for _qfpclass declaration" >&5
12130 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12131 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12138 ac_cpp='$CXXCPP $CPPFLAGS'
12139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12141 cross_compiling=$ac_cv_prog_cxx_cross
12143 cat > conftest.$ac_ext <<EOF
12144 #line 12145 "configure"
12145 #include "confdefs.h"
12147 #ifdef HAVE_IEEEFP_H
12148 #include <ieeefp.h>
12155 if { (eval echo configure:12156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12157 glibcpp_cv_func__qfpclass_use=yes
12159 echo "configure: failed program was:" >&5
12160 cat conftest.$ac_ext >&5
12162 glibcpp_cv_func__qfpclass_use=no
12166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12167 ac_cpp='$CPP $CPPFLAGS'
12168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12170 cross_compiling=$ac_cv_prog_cc_cross
12176 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12178 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12179 for ac_func in _qfpclass
12181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12182 echo "configure:12183: checking for $ac_func" >&5
12183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12184 echo $ac_n "(cached) $ac_c" 1>&6
12186 cat > conftest.$ac_ext <<EOF
12187 #line 12188 "configure"
12188 #include "confdefs.h"
12189 /* System header to define __stub macros and hopefully few prototypes,
12190 which can conflict with char $ac_func(); below. */
12191 #include <assert.h>
12192 /* Override any gcc2 internal prototype to avoid an error. */
12193 /* We use char because int might match the return type of a gcc2
12194 builtin and then its argument prototype would still apply. */
12199 /* The GNU C library defines this for functions which it implements
12200 to always fail with ENOSYS. Some functions are actually named
12201 something starting with __ and the normal name is an alias. */
12202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12212 eval "ac_cv_func_$ac_func=yes"
12214 echo "configure: failed program was:" >&5
12215 cat conftest.$ac_ext >&5
12217 eval "ac_cv_func_$ac_func=no"
12222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12223 echo "$ac_t""yes" 1>&6
12224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12225 cat >> confdefs.h <<EOF
12226 #define $ac_tr_func 1
12230 echo "$ac_t""no" 1>&6
12239 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12240 echo "configure:12241: checking for hypot declaration" >&5
12241 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12242 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12243 echo $ac_n "(cached) $ac_c" 1>&6
12248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12249 ac_cpp='$CXXCPP $CPPFLAGS'
12250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12252 cross_compiling=$ac_cv_prog_cxx_cross
12254 cat > conftest.$ac_ext <<EOF
12255 #line 12256 "configure"
12256 #include "confdefs.h"
12262 if { (eval echo configure:12263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12264 glibcpp_cv_func_hypot_use=yes
12266 echo "configure: failed program was:" >&5
12267 cat conftest.$ac_ext >&5
12269 glibcpp_cv_func_hypot_use=no
12273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12274 ac_cpp='$CPP $CPPFLAGS'
12275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12277 cross_compiling=$ac_cv_prog_cc_cross
12283 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12285 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12286 for ac_func in hypot
12288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12289 echo "configure:12290: checking for $ac_func" >&5
12290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12291 echo $ac_n "(cached) $ac_c" 1>&6
12293 cat > conftest.$ac_ext <<EOF
12294 #line 12295 "configure"
12295 #include "confdefs.h"
12296 /* System header to define __stub macros and hopefully few prototypes,
12297 which can conflict with char $ac_func(); below. */
12298 #include <assert.h>
12299 /* Override any gcc2 internal prototype to avoid an error. */
12300 /* We use char because int might match the return type of a gcc2
12301 builtin and then its argument prototype would still apply. */
12306 /* The GNU C library defines this for functions which it implements
12307 to always fail with ENOSYS. Some functions are actually named
12308 something starting with __ and the normal name is an alias. */
12309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12317 if { (eval echo configure:12318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12319 eval "ac_cv_func_$ac_func=yes"
12321 echo "configure: failed program was:" >&5
12322 cat conftest.$ac_ext >&5
12324 eval "ac_cv_func_$ac_func=no"
12329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12330 echo "$ac_t""yes" 1>&6
12331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12332 cat >> confdefs.h <<EOF
12333 #define $ac_tr_func 1
12337 echo "$ac_t""no" 1>&6
12343 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12344 echo "configure:12345: checking for _hypot declaration" >&5
12345 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12346 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12347 echo $ac_n "(cached) $ac_c" 1>&6
12352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12353 ac_cpp='$CXXCPP $CPPFLAGS'
12354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12356 cross_compiling=$ac_cv_prog_cxx_cross
12358 cat > conftest.$ac_ext <<EOF
12359 #line 12360 "configure"
12360 #include "confdefs.h"
12366 if { (eval echo configure:12367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12368 glibcpp_cv_func__hypot_use=yes
12370 echo "configure: failed program was:" >&5
12371 cat conftest.$ac_ext >&5
12373 glibcpp_cv_func__hypot_use=no
12377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12378 ac_cpp='$CPP $CPPFLAGS'
12379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12381 cross_compiling=$ac_cv_prog_cc_cross
12387 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12389 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12390 for ac_func in _hypot
12392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12393 echo "configure:12394: checking for $ac_func" >&5
12394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12395 echo $ac_n "(cached) $ac_c" 1>&6
12397 cat > conftest.$ac_ext <<EOF
12398 #line 12399 "configure"
12399 #include "confdefs.h"
12400 /* System header to define __stub macros and hopefully few prototypes,
12401 which can conflict with char $ac_func(); below. */
12402 #include <assert.h>
12403 /* Override any gcc2 internal prototype to avoid an error. */
12404 /* We use char because int might match the return type of a gcc2
12405 builtin and then its argument prototype would still apply. */
12410 /* The GNU C library defines this for functions which it implements
12411 to always fail with ENOSYS. Some functions are actually named
12412 something starting with __ and the normal name is an alias. */
12413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12421 if { (eval echo configure:12422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12423 eval "ac_cv_func_$ac_func=yes"
12425 echo "configure: failed program was:" >&5
12426 cat conftest.$ac_ext >&5
12428 eval "ac_cv_func_$ac_func=no"
12433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12434 echo "$ac_t""yes" 1>&6
12435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12436 cat >> confdefs.h <<EOF
12437 #define $ac_tr_func 1
12441 echo "$ac_t""no" 1>&6
12450 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12451 echo "configure:12452: checking for float trig functions" >&5
12452 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12459 ac_cpp='$CXXCPP $CPPFLAGS'
12460 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12461 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12462 cross_compiling=$ac_cv_prog_cxx_cross
12464 cat > conftest.$ac_ext <<EOF
12465 #line 12466 "configure"
12466 #include "confdefs.h"
12469 `for x in acosf asinf atanf \
12471 coshf sinhf tanhf; do echo "$x (0);"; done`
12474 if { (eval echo configure:12475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12476 glibcpp_cv_func_float_trig_use=yes
12478 echo "configure: failed program was:" >&5
12479 cat conftest.$ac_ext >&5
12481 glibcpp_cv_func_float_trig_use=no
12485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12486 ac_cpp='$CPP $CPPFLAGS'
12487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12489 cross_compiling=$ac_cv_prog_cc_cross
12493 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12494 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12495 for ac_func in acosf asinf atanf \
12499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12500 echo "configure:12501: checking for $ac_func" >&5
12501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12502 echo $ac_n "(cached) $ac_c" 1>&6
12504 cat > conftest.$ac_ext <<EOF
12505 #line 12506 "configure"
12506 #include "confdefs.h"
12507 /* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char $ac_func(); below. */
12509 #include <assert.h>
12510 /* Override any gcc2 internal prototype to avoid an error. */
12511 /* We use char because int might match the return type of a gcc2
12512 builtin and then its argument prototype would still apply. */
12517 /* The GNU C library defines this for functions which it implements
12518 to always fail with ENOSYS. Some functions are actually named
12519 something starting with __ and the normal name is an alias. */
12520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12528 if { (eval echo configure:12529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12530 eval "ac_cv_func_$ac_func=yes"
12532 echo "configure: failed program was:" >&5
12533 cat conftest.$ac_ext >&5
12535 eval "ac_cv_func_$ac_func=no"
12540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12541 echo "$ac_t""yes" 1>&6
12542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12543 cat >> confdefs.h <<EOF
12544 #define $ac_tr_func 1
12548 echo "$ac_t""no" 1>&6
12555 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12556 echo "configure:12557: checking for float round functions" >&5
12557 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12558 echo $ac_n "(cached) $ac_c" 1>&6
12563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12564 ac_cpp='$CXXCPP $CPPFLAGS'
12565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12567 cross_compiling=$ac_cv_prog_cxx_cross
12569 cat > conftest.$ac_ext <<EOF
12570 #line 12571 "configure"
12571 #include "confdefs.h"
12574 `for x in ceilf floorf; do echo "$x (0);"; done`
12577 if { (eval echo configure:12578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12579 glibcpp_cv_func_float_round_use=yes
12581 echo "configure: failed program was:" >&5
12582 cat conftest.$ac_ext >&5
12584 glibcpp_cv_func_float_round_use=no
12588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12589 ac_cpp='$CPP $CPPFLAGS'
12590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12592 cross_compiling=$ac_cv_prog_cc_cross
12596 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12597 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12598 for ac_func in ceilf floorf
12600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12601 echo "configure:12602: checking for $ac_func" >&5
12602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12603 echo $ac_n "(cached) $ac_c" 1>&6
12605 cat > conftest.$ac_ext <<EOF
12606 #line 12607 "configure"
12607 #include "confdefs.h"
12608 /* System header to define __stub macros and hopefully few prototypes,
12609 which can conflict with char $ac_func(); below. */
12610 #include <assert.h>
12611 /* Override any gcc2 internal prototype to avoid an error. */
12612 /* We use char because int might match the return type of a gcc2
12613 builtin and then its argument prototype would still apply. */
12618 /* The GNU C library defines this for functions which it implements
12619 to always fail with ENOSYS. Some functions are actually named
12620 something starting with __ and the normal name is an alias. */
12621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12629 if { (eval echo configure:12630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12631 eval "ac_cv_func_$ac_func=yes"
12633 echo "configure: failed program was:" >&5
12634 cat conftest.$ac_ext >&5
12636 eval "ac_cv_func_$ac_func=no"
12641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12642 echo "$ac_t""yes" 1>&6
12643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12644 cat >> confdefs.h <<EOF
12645 #define $ac_tr_func 1
12649 echo "$ac_t""no" 1>&6
12657 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12658 echo "configure:12659: checking for expf declaration" >&5
12659 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12660 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12661 echo $ac_n "(cached) $ac_c" 1>&6
12666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12667 ac_cpp='$CXXCPP $CPPFLAGS'
12668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12670 cross_compiling=$ac_cv_prog_cxx_cross
12672 cat > conftest.$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12676 #ifdef HAVE_IEEEFP_H
12677 #include <ieeefp.h>
12684 if { (eval echo configure:12685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12686 glibcpp_cv_func_expf_use=yes
12688 echo "configure: failed program was:" >&5
12689 cat conftest.$ac_ext >&5
12691 glibcpp_cv_func_expf_use=no
12695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12696 ac_cpp='$CPP $CPPFLAGS'
12697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12699 cross_compiling=$ac_cv_prog_cc_cross
12705 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12707 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12708 for ac_func in expf
12710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12711 echo "configure:12712: checking for $ac_func" >&5
12712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12713 echo $ac_n "(cached) $ac_c" 1>&6
12715 cat > conftest.$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char $ac_func(); below. */
12720 #include <assert.h>
12721 /* Override any gcc2 internal prototype to avoid an error. */
12722 /* We use char because int might match the return type of a gcc2
12723 builtin and then its argument prototype would still apply. */
12728 /* The GNU C library defines this for functions which it implements
12729 to always fail with ENOSYS. Some functions are actually named
12730 something starting with __ and the normal name is an alias. */
12731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12739 if { (eval echo configure:12740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12741 eval "ac_cv_func_$ac_func=yes"
12743 echo "configure: failed program was:" >&5
12744 cat conftest.$ac_ext >&5
12746 eval "ac_cv_func_$ac_func=no"
12751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12754 cat >> confdefs.h <<EOF
12755 #define $ac_tr_func 1
12759 echo "$ac_t""no" 1>&6
12765 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12766 echo "configure:12767: checking for _expf declaration" >&5
12767 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12768 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12775 ac_cpp='$CXXCPP $CPPFLAGS'
12776 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12777 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12778 cross_compiling=$ac_cv_prog_cxx_cross
12780 cat > conftest.$ac_ext <<EOF
12781 #line 12782 "configure"
12782 #include "confdefs.h"
12784 #ifdef HAVE_IEEEFP_H
12785 #include <ieeefp.h>
12792 if { (eval echo configure:12793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12794 glibcpp_cv_func__expf_use=yes
12796 echo "configure: failed program was:" >&5
12797 cat conftest.$ac_ext >&5
12799 glibcpp_cv_func__expf_use=no
12803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12804 ac_cpp='$CPP $CPPFLAGS'
12805 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12806 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12807 cross_compiling=$ac_cv_prog_cc_cross
12813 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12815 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12816 for ac_func in _expf
12818 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12819 echo "configure:12820: checking for $ac_func" >&5
12820 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12821 echo $ac_n "(cached) $ac_c" 1>&6
12823 cat > conftest.$ac_ext <<EOF
12824 #line 12825 "configure"
12825 #include "confdefs.h"
12826 /* System header to define __stub macros and hopefully few prototypes,
12827 which can conflict with char $ac_func(); below. */
12828 #include <assert.h>
12829 /* Override any gcc2 internal prototype to avoid an error. */
12830 /* We use char because int might match the return type of a gcc2
12831 builtin and then its argument prototype would still apply. */
12836 /* The GNU C library defines this for functions which it implements
12837 to always fail with ENOSYS. Some functions are actually named
12838 something starting with __ and the normal name is an alias. */
12839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12847 if { (eval echo configure:12848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12849 eval "ac_cv_func_$ac_func=yes"
12851 echo "configure: failed program was:" >&5
12852 cat conftest.$ac_ext >&5
12854 eval "ac_cv_func_$ac_func=no"
12859 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12860 echo "$ac_t""yes" 1>&6
12861 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12862 cat >> confdefs.h <<EOF
12863 #define $ac_tr_func 1
12867 echo "$ac_t""no" 1>&6
12876 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12877 echo "configure:12878: checking for isnanf declaration" >&5
12878 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12879 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12880 echo $ac_n "(cached) $ac_c" 1>&6
12885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12886 ac_cpp='$CXXCPP $CPPFLAGS'
12887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12889 cross_compiling=$ac_cv_prog_cxx_cross
12891 cat > conftest.$ac_ext <<EOF
12892 #line 12893 "configure"
12893 #include "confdefs.h"
12895 #ifdef HAVE_IEEEFP_H
12896 #include <ieeefp.h>
12903 if { (eval echo configure:12904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12905 glibcpp_cv_func_isnanf_use=yes
12907 echo "configure: failed program was:" >&5
12908 cat conftest.$ac_ext >&5
12910 glibcpp_cv_func_isnanf_use=no
12914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12915 ac_cpp='$CPP $CPPFLAGS'
12916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12918 cross_compiling=$ac_cv_prog_cc_cross
12924 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12926 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12927 for ac_func in isnanf
12929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12930 echo "configure:12931: checking for $ac_func" >&5
12931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12932 echo $ac_n "(cached) $ac_c" 1>&6
12934 cat > conftest.$ac_ext <<EOF
12935 #line 12936 "configure"
12936 #include "confdefs.h"
12937 /* System header to define __stub macros and hopefully few prototypes,
12938 which can conflict with char $ac_func(); below. */
12939 #include <assert.h>
12940 /* Override any gcc2 internal prototype to avoid an error. */
12941 /* We use char because int might match the return type of a gcc2
12942 builtin and then its argument prototype would still apply. */
12947 /* The GNU C library defines this for functions which it implements
12948 to always fail with ENOSYS. Some functions are actually named
12949 something starting with __ and the normal name is an alias. */
12950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12958 if { (eval echo configure:12959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12960 eval "ac_cv_func_$ac_func=yes"
12962 echo "configure: failed program was:" >&5
12963 cat conftest.$ac_ext >&5
12965 eval "ac_cv_func_$ac_func=no"
12970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12971 echo "$ac_t""yes" 1>&6
12972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12973 cat >> confdefs.h <<EOF
12974 #define $ac_tr_func 1
12978 echo "$ac_t""no" 1>&6
12984 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12985 echo "configure:12986: checking for _isnanf declaration" >&5
12986 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12987 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12988 echo $ac_n "(cached) $ac_c" 1>&6
12993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12994 ac_cpp='$CXXCPP $CPPFLAGS'
12995 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12996 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12997 cross_compiling=$ac_cv_prog_cxx_cross
12999 cat > conftest.$ac_ext <<EOF
13000 #line 13001 "configure"
13001 #include "confdefs.h"
13003 #ifdef HAVE_IEEEFP_H
13004 #include <ieeefp.h>
13011 if { (eval echo configure:13012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13013 glibcpp_cv_func__isnanf_use=yes
13015 echo "configure: failed program was:" >&5
13016 cat conftest.$ac_ext >&5
13018 glibcpp_cv_func__isnanf_use=no
13022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13023 ac_cpp='$CPP $CPPFLAGS'
13024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13026 cross_compiling=$ac_cv_prog_cc_cross
13032 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13034 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13035 for ac_func in _isnanf
13037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13038 echo "configure:13039: checking for $ac_func" >&5
13039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13040 echo $ac_n "(cached) $ac_c" 1>&6
13042 cat > conftest.$ac_ext <<EOF
13043 #line 13044 "configure"
13044 #include "confdefs.h"
13045 /* System header to define __stub macros and hopefully few prototypes,
13046 which can conflict with char $ac_func(); below. */
13047 #include <assert.h>
13048 /* Override any gcc2 internal prototype to avoid an error. */
13049 /* We use char because int might match the return type of a gcc2
13050 builtin and then its argument prototype would still apply. */
13055 /* The GNU C library defines this for functions which it implements
13056 to always fail with ENOSYS. Some functions are actually named
13057 something starting with __ and the normal name is an alias. */
13058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13068 eval "ac_cv_func_$ac_func=yes"
13070 echo "configure: failed program was:" >&5
13071 cat conftest.$ac_ext >&5
13073 eval "ac_cv_func_$ac_func=no"
13078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13079 echo "$ac_t""yes" 1>&6
13080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13081 cat >> confdefs.h <<EOF
13082 #define $ac_tr_func 1
13086 echo "$ac_t""no" 1>&6
13095 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13096 echo "configure:13097: checking for isinff declaration" >&5
13097 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13098 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13099 echo $ac_n "(cached) $ac_c" 1>&6
13104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13105 ac_cpp='$CXXCPP $CPPFLAGS'
13106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13108 cross_compiling=$ac_cv_prog_cxx_cross
13110 cat > conftest.$ac_ext <<EOF
13111 #line 13112 "configure"
13112 #include "confdefs.h"
13114 #ifdef HAVE_IEEEFP_H
13115 #include <ieeefp.h>
13122 if { (eval echo configure:13123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13124 glibcpp_cv_func_isinff_use=yes
13126 echo "configure: failed program was:" >&5
13127 cat conftest.$ac_ext >&5
13129 glibcpp_cv_func_isinff_use=no
13133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13134 ac_cpp='$CPP $CPPFLAGS'
13135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13137 cross_compiling=$ac_cv_prog_cc_cross
13143 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13145 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13146 for ac_func in isinff
13148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13149 echo "configure:13150: checking for $ac_func" >&5
13150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13151 echo $ac_n "(cached) $ac_c" 1>&6
13153 cat > conftest.$ac_ext <<EOF
13154 #line 13155 "configure"
13155 #include "confdefs.h"
13156 /* System header to define __stub macros and hopefully few prototypes,
13157 which can conflict with char $ac_func(); below. */
13158 #include <assert.h>
13159 /* Override any gcc2 internal prototype to avoid an error. */
13160 /* We use char because int might match the return type of a gcc2
13161 builtin and then its argument prototype would still apply. */
13166 /* The GNU C library defines this for functions which it implements
13167 to always fail with ENOSYS. Some functions are actually named
13168 something starting with __ and the normal name is an alias. */
13169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13177 if { (eval echo configure:13178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13179 eval "ac_cv_func_$ac_func=yes"
13181 echo "configure: failed program was:" >&5
13182 cat conftest.$ac_ext >&5
13184 eval "ac_cv_func_$ac_func=no"
13189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13190 echo "$ac_t""yes" 1>&6
13191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13192 cat >> confdefs.h <<EOF
13193 #define $ac_tr_func 1
13197 echo "$ac_t""no" 1>&6
13203 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13204 echo "configure:13205: checking for _isinff declaration" >&5
13205 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13206 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13207 echo $ac_n "(cached) $ac_c" 1>&6
13212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13213 ac_cpp='$CXXCPP $CPPFLAGS'
13214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13216 cross_compiling=$ac_cv_prog_cxx_cross
13218 cat > conftest.$ac_ext <<EOF
13219 #line 13220 "configure"
13220 #include "confdefs.h"
13222 #ifdef HAVE_IEEEFP_H
13223 #include <ieeefp.h>
13230 if { (eval echo configure:13231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13232 glibcpp_cv_func__isinff_use=yes
13234 echo "configure: failed program was:" >&5
13235 cat conftest.$ac_ext >&5
13237 glibcpp_cv_func__isinff_use=no
13241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13242 ac_cpp='$CPP $CPPFLAGS'
13243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13245 cross_compiling=$ac_cv_prog_cc_cross
13251 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13253 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13254 for ac_func in _isinff
13256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13257 echo "configure:13258: checking for $ac_func" >&5
13258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13259 echo $ac_n "(cached) $ac_c" 1>&6
13261 cat > conftest.$ac_ext <<EOF
13262 #line 13263 "configure"
13263 #include "confdefs.h"
13264 /* System header to define __stub macros and hopefully few prototypes,
13265 which can conflict with char $ac_func(); below. */
13266 #include <assert.h>
13267 /* Override any gcc2 internal prototype to avoid an error. */
13268 /* We use char because int might match the return type of a gcc2
13269 builtin and then its argument prototype would still apply. */
13274 /* The GNU C library defines this for functions which it implements
13275 to always fail with ENOSYS. Some functions are actually named
13276 something starting with __ and the normal name is an alias. */
13277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13285 if { (eval echo configure:13286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13287 eval "ac_cv_func_$ac_func=yes"
13289 echo "configure: failed program was:" >&5
13290 cat conftest.$ac_ext >&5
13292 eval "ac_cv_func_$ac_func=no"
13297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13298 echo "$ac_t""yes" 1>&6
13299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13300 cat >> confdefs.h <<EOF
13301 #define $ac_tr_func 1
13305 echo "$ac_t""no" 1>&6
13314 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13315 echo "configure:13316: checking for atan2f declaration" >&5
13316 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13317 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13318 echo $ac_n "(cached) $ac_c" 1>&6
13323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13324 ac_cpp='$CXXCPP $CPPFLAGS'
13325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13327 cross_compiling=$ac_cv_prog_cxx_cross
13329 cat > conftest.$ac_ext <<EOF
13330 #line 13331 "configure"
13331 #include "confdefs.h"
13337 if { (eval echo configure:13338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13339 glibcpp_cv_func_atan2f_use=yes
13341 echo "configure: failed program was:" >&5
13342 cat conftest.$ac_ext >&5
13344 glibcpp_cv_func_atan2f_use=no
13348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13349 ac_cpp='$CPP $CPPFLAGS'
13350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13352 cross_compiling=$ac_cv_prog_cc_cross
13358 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13360 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13361 for ac_func in atan2f
13363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13364 echo "configure:13365: checking for $ac_func" >&5
13365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13366 echo $ac_n "(cached) $ac_c" 1>&6
13368 cat > conftest.$ac_ext <<EOF
13369 #line 13370 "configure"
13370 #include "confdefs.h"
13371 /* System header to define __stub macros and hopefully few prototypes,
13372 which can conflict with char $ac_func(); below. */
13373 #include <assert.h>
13374 /* Override any gcc2 internal prototype to avoid an error. */
13375 /* We use char because int might match the return type of a gcc2
13376 builtin and then its argument prototype would still apply. */
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13392 if { (eval echo configure:13393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13394 eval "ac_cv_func_$ac_func=yes"
13396 echo "configure: failed program was:" >&5
13397 cat conftest.$ac_ext >&5
13399 eval "ac_cv_func_$ac_func=no"
13404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13405 echo "$ac_t""yes" 1>&6
13406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13407 cat >> confdefs.h <<EOF
13408 #define $ac_tr_func 1
13412 echo "$ac_t""no" 1>&6
13418 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13419 echo "configure:13420: checking for _atan2f declaration" >&5
13420 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13421 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13422 echo $ac_n "(cached) $ac_c" 1>&6
13427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13428 ac_cpp='$CXXCPP $CPPFLAGS'
13429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13431 cross_compiling=$ac_cv_prog_cxx_cross
13433 cat > conftest.$ac_ext <<EOF
13434 #line 13435 "configure"
13435 #include "confdefs.h"
13441 if { (eval echo configure:13442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13443 glibcpp_cv_func__atan2f_use=yes
13445 echo "configure: failed program was:" >&5
13446 cat conftest.$ac_ext >&5
13448 glibcpp_cv_func__atan2f_use=no
13452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13453 ac_cpp='$CPP $CPPFLAGS'
13454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13456 cross_compiling=$ac_cv_prog_cc_cross
13462 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13464 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13465 for ac_func in _atan2f
13467 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13468 echo "configure:13469: checking for $ac_func" >&5
13469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13470 echo $ac_n "(cached) $ac_c" 1>&6
13472 cat > conftest.$ac_ext <<EOF
13473 #line 13474 "configure"
13474 #include "confdefs.h"
13475 /* System header to define __stub macros and hopefully few prototypes,
13476 which can conflict with char $ac_func(); below. */
13477 #include <assert.h>
13478 /* Override any gcc2 internal prototype to avoid an error. */
13479 /* We use char because int might match the return type of a gcc2
13480 builtin and then its argument prototype would still apply. */
13485 /* The GNU C library defines this for functions which it implements
13486 to always fail with ENOSYS. Some functions are actually named
13487 something starting with __ and the normal name is an alias. */
13488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13496 if { (eval echo configure:13497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13498 eval "ac_cv_func_$ac_func=yes"
13500 echo "configure: failed program was:" >&5
13501 cat conftest.$ac_ext >&5
13503 eval "ac_cv_func_$ac_func=no"
13508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13509 echo "$ac_t""yes" 1>&6
13510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13511 cat >> confdefs.h <<EOF
13512 #define $ac_tr_func 1
13516 echo "$ac_t""no" 1>&6
13525 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13526 echo "configure:13527: checking for fabsf declaration" >&5
13527 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13528 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13529 echo $ac_n "(cached) $ac_c" 1>&6
13534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13535 ac_cpp='$CXXCPP $CPPFLAGS'
13536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13538 cross_compiling=$ac_cv_prog_cxx_cross
13540 cat > conftest.$ac_ext <<EOF
13541 #line 13542 "configure"
13542 #include "confdefs.h"
13544 #ifdef HAVE_IEEEFP_H
13545 #include <ieeefp.h>
13552 if { (eval echo configure:13553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13554 glibcpp_cv_func_fabsf_use=yes
13556 echo "configure: failed program was:" >&5
13557 cat conftest.$ac_ext >&5
13559 glibcpp_cv_func_fabsf_use=no
13563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13567 cross_compiling=$ac_cv_prog_cc_cross
13573 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13575 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13576 for ac_func in fabsf
13578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13579 echo "configure:13580: checking for $ac_func" >&5
13580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13581 echo $ac_n "(cached) $ac_c" 1>&6
13583 cat > conftest.$ac_ext <<EOF
13584 #line 13585 "configure"
13585 #include "confdefs.h"
13586 /* System header to define __stub macros and hopefully few prototypes,
13587 which can conflict with char $ac_func(); below. */
13588 #include <assert.h>
13589 /* Override any gcc2 internal prototype to avoid an error. */
13590 /* We use char because int might match the return type of a gcc2
13591 builtin and then its argument prototype would still apply. */
13596 /* The GNU C library defines this for functions which it implements
13597 to always fail with ENOSYS. Some functions are actually named
13598 something starting with __ and the normal name is an alias. */
13599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13607 if { (eval echo configure:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13609 eval "ac_cv_func_$ac_func=yes"
13611 echo "configure: failed program was:" >&5
13612 cat conftest.$ac_ext >&5
13614 eval "ac_cv_func_$ac_func=no"
13619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13620 echo "$ac_t""yes" 1>&6
13621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13622 cat >> confdefs.h <<EOF
13623 #define $ac_tr_func 1
13627 echo "$ac_t""no" 1>&6
13633 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13634 echo "configure:13635: checking for _fabsf declaration" >&5
13635 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13636 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13637 echo $ac_n "(cached) $ac_c" 1>&6
13642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13643 ac_cpp='$CXXCPP $CPPFLAGS'
13644 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13645 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13646 cross_compiling=$ac_cv_prog_cxx_cross
13648 cat > conftest.$ac_ext <<EOF
13649 #line 13650 "configure"
13650 #include "confdefs.h"
13652 #ifdef HAVE_IEEEFP_H
13653 #include <ieeefp.h>
13660 if { (eval echo configure:13661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13662 glibcpp_cv_func__fabsf_use=yes
13664 echo "configure: failed program was:" >&5
13665 cat conftest.$ac_ext >&5
13667 glibcpp_cv_func__fabsf_use=no
13671 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13672 ac_cpp='$CPP $CPPFLAGS'
13673 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13674 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13675 cross_compiling=$ac_cv_prog_cc_cross
13681 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13683 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13684 for ac_func in _fabsf
13686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13687 echo "configure:13688: checking for $ac_func" >&5
13688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13689 echo $ac_n "(cached) $ac_c" 1>&6
13691 cat > conftest.$ac_ext <<EOF
13692 #line 13693 "configure"
13693 #include "confdefs.h"
13694 /* System header to define __stub macros and hopefully few prototypes,
13695 which can conflict with char $ac_func(); below. */
13696 #include <assert.h>
13697 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13704 /* The GNU C library defines this for functions which it implements
13705 to always fail with ENOSYS. Some functions are actually named
13706 something starting with __ and the normal name is an alias. */
13707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13715 if { (eval echo configure:13716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13717 eval "ac_cv_func_$ac_func=yes"
13719 echo "configure: failed program was:" >&5
13720 cat conftest.$ac_ext >&5
13722 eval "ac_cv_func_$ac_func=no"
13727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13728 echo "$ac_t""yes" 1>&6
13729 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13730 cat >> confdefs.h <<EOF
13731 #define $ac_tr_func 1
13735 echo "$ac_t""no" 1>&6
13744 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13745 echo "configure:13746: checking for fmodf declaration" >&5
13746 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13747 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13748 echo $ac_n "(cached) $ac_c" 1>&6
13753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13754 ac_cpp='$CXXCPP $CPPFLAGS'
13755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13757 cross_compiling=$ac_cv_prog_cxx_cross
13759 cat > conftest.$ac_ext <<EOF
13760 #line 13761 "configure"
13761 #include "confdefs.h"
13767 if { (eval echo configure:13768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13769 glibcpp_cv_func_fmodf_use=yes
13771 echo "configure: failed program was:" >&5
13772 cat conftest.$ac_ext >&5
13774 glibcpp_cv_func_fmodf_use=no
13778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13779 ac_cpp='$CPP $CPPFLAGS'
13780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13782 cross_compiling=$ac_cv_prog_cc_cross
13788 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13790 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13791 for ac_func in fmodf
13793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13794 echo "configure:13795: checking for $ac_func" >&5
13795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13796 echo $ac_n "(cached) $ac_c" 1>&6
13798 cat > conftest.$ac_ext <<EOF
13799 #line 13800 "configure"
13800 #include "confdefs.h"
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char $ac_func(); below. */
13803 #include <assert.h>
13804 /* Override any gcc2 internal prototype to avoid an error. */
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13811 /* The GNU C library defines this for functions which it implements
13812 to always fail with ENOSYS. Some functions are actually named
13813 something starting with __ and the normal name is an alias. */
13814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13824 eval "ac_cv_func_$ac_func=yes"
13826 echo "configure: failed program was:" >&5
13827 cat conftest.$ac_ext >&5
13829 eval "ac_cv_func_$ac_func=no"
13834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13835 echo "$ac_t""yes" 1>&6
13836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13837 cat >> confdefs.h <<EOF
13838 #define $ac_tr_func 1
13842 echo "$ac_t""no" 1>&6
13848 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13849 echo "configure:13850: checking for _fmodf declaration" >&5
13850 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13851 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13852 echo $ac_n "(cached) $ac_c" 1>&6
13857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13858 ac_cpp='$CXXCPP $CPPFLAGS'
13859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13861 cross_compiling=$ac_cv_prog_cxx_cross
13863 cat > conftest.$ac_ext <<EOF
13864 #line 13865 "configure"
13865 #include "confdefs.h"
13871 if { (eval echo configure:13872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13873 glibcpp_cv_func__fmodf_use=yes
13875 echo "configure: failed program was:" >&5
13876 cat conftest.$ac_ext >&5
13878 glibcpp_cv_func__fmodf_use=no
13882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13883 ac_cpp='$CPP $CPPFLAGS'
13884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13886 cross_compiling=$ac_cv_prog_cc_cross
13892 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13894 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13895 for ac_func in _fmodf
13897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13898 echo "configure:13899: checking for $ac_func" >&5
13899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13900 echo $ac_n "(cached) $ac_c" 1>&6
13902 cat > conftest.$ac_ext <<EOF
13903 #line 13904 "configure"
13904 #include "confdefs.h"
13905 /* System header to define __stub macros and hopefully few prototypes,
13906 which can conflict with char $ac_func(); below. */
13907 #include <assert.h>
13908 /* Override any gcc2 internal prototype to avoid an error. */
13909 /* We use char because int might match the return type of a gcc2
13910 builtin and then its argument prototype would still apply. */
13915 /* The GNU C library defines this for functions which it implements
13916 to always fail with ENOSYS. Some functions are actually named
13917 something starting with __ and the normal name is an alias. */
13918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 if { (eval echo configure:13927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13928 eval "ac_cv_func_$ac_func=yes"
13930 echo "configure: failed program was:" >&5
13931 cat conftest.$ac_ext >&5
13933 eval "ac_cv_func_$ac_func=no"
13938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13939 echo "$ac_t""yes" 1>&6
13940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13941 cat >> confdefs.h <<EOF
13942 #define $ac_tr_func 1
13946 echo "$ac_t""no" 1>&6
13955 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13956 echo "configure:13957: checking for frexpf declaration" >&5
13957 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13958 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13959 echo $ac_n "(cached) $ac_c" 1>&6
13964 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13965 ac_cpp='$CXXCPP $CPPFLAGS'
13966 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13967 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13968 cross_compiling=$ac_cv_prog_cxx_cross
13970 cat > conftest.$ac_ext <<EOF
13971 #line 13972 "configure"
13972 #include "confdefs.h"
13978 if { (eval echo configure:13979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13980 glibcpp_cv_func_frexpf_use=yes
13982 echo "configure: failed program was:" >&5
13983 cat conftest.$ac_ext >&5
13985 glibcpp_cv_func_frexpf_use=no
13989 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13990 ac_cpp='$CPP $CPPFLAGS'
13991 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13992 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13993 cross_compiling=$ac_cv_prog_cc_cross
13999 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14001 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14002 for ac_func in frexpf
14004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14005 echo "configure:14006: checking for $ac_func" >&5
14006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 cat > conftest.$ac_ext <<EOF
14010 #line 14011 "configure"
14011 #include "confdefs.h"
14012 /* System header to define __stub macros and hopefully few prototypes,
14013 which can conflict with char $ac_func(); below. */
14014 #include <assert.h>
14015 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14022 /* The GNU C library defines this for functions which it implements
14023 to always fail with ENOSYS. Some functions are actually named
14024 something starting with __ and the normal name is an alias. */
14025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14033 if { (eval echo configure:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14035 eval "ac_cv_func_$ac_func=yes"
14037 echo "configure: failed program was:" >&5
14038 cat conftest.$ac_ext >&5
14040 eval "ac_cv_func_$ac_func=no"
14045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14048 cat >> confdefs.h <<EOF
14049 #define $ac_tr_func 1
14053 echo "$ac_t""no" 1>&6
14059 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14060 echo "configure:14061: checking for _frexpf declaration" >&5
14061 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14062 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14063 echo $ac_n "(cached) $ac_c" 1>&6
14068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14069 ac_cpp='$CXXCPP $CPPFLAGS'
14070 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14071 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14072 cross_compiling=$ac_cv_prog_cxx_cross
14074 cat > conftest.$ac_ext <<EOF
14075 #line 14076 "configure"
14076 #include "confdefs.h"
14082 if { (eval echo configure:14083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14084 glibcpp_cv_func__frexpf_use=yes
14086 echo "configure: failed program was:" >&5
14087 cat conftest.$ac_ext >&5
14089 glibcpp_cv_func__frexpf_use=no
14093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14094 ac_cpp='$CPP $CPPFLAGS'
14095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14097 cross_compiling=$ac_cv_prog_cc_cross
14103 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14105 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14106 for ac_func in _frexpf
14108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14109 echo "configure:14110: checking for $ac_func" >&5
14110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14113 cat > conftest.$ac_ext <<EOF
14114 #line 14115 "configure"
14115 #include "confdefs.h"
14116 /* System header to define __stub macros and hopefully few prototypes,
14117 which can conflict with char $ac_func(); below. */
14118 #include <assert.h>
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14126 /* The GNU C library defines this for functions which it implements
14127 to always fail with ENOSYS. Some functions are actually named
14128 something starting with __ and the normal name is an alias. */
14129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14137 if { (eval echo configure:14138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14139 eval "ac_cv_func_$ac_func=yes"
14141 echo "configure: failed program was:" >&5
14142 cat conftest.$ac_ext >&5
14144 eval "ac_cv_func_$ac_func=no"
14149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14150 echo "$ac_t""yes" 1>&6
14151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14152 cat >> confdefs.h <<EOF
14153 #define $ac_tr_func 1
14157 echo "$ac_t""no" 1>&6
14166 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14167 echo "configure:14168: checking for hypotf declaration" >&5
14168 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14169 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14176 ac_cpp='$CXXCPP $CPPFLAGS'
14177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14179 cross_compiling=$ac_cv_prog_cxx_cross
14181 cat > conftest.$ac_ext <<EOF
14182 #line 14183 "configure"
14183 #include "confdefs.h"
14189 if { (eval echo configure:14190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14191 glibcpp_cv_func_hypotf_use=yes
14193 echo "configure: failed program was:" >&5
14194 cat conftest.$ac_ext >&5
14196 glibcpp_cv_func_hypotf_use=no
14200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14201 ac_cpp='$CPP $CPPFLAGS'
14202 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14203 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14204 cross_compiling=$ac_cv_prog_cc_cross
14210 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14212 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14213 for ac_func in hypotf
14215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14216 echo "configure:14217: checking for $ac_func" >&5
14217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14218 echo $ac_n "(cached) $ac_c" 1>&6
14220 cat > conftest.$ac_ext <<EOF
14221 #line 14222 "configure"
14222 #include "confdefs.h"
14223 /* System header to define __stub macros and hopefully few prototypes,
14224 which can conflict with char $ac_func(); below. */
14225 #include <assert.h>
14226 /* Override any gcc2 internal prototype to avoid an error. */
14227 /* We use char because int might match the return type of a gcc2
14228 builtin and then its argument prototype would still apply. */
14233 /* The GNU C library defines this for functions which it implements
14234 to always fail with ENOSYS. Some functions are actually named
14235 something starting with __ and the normal name is an alias. */
14236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14246 eval "ac_cv_func_$ac_func=yes"
14248 echo "configure: failed program was:" >&5
14249 cat conftest.$ac_ext >&5
14251 eval "ac_cv_func_$ac_func=no"
14256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14257 echo "$ac_t""yes" 1>&6
14258 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14259 cat >> confdefs.h <<EOF
14260 #define $ac_tr_func 1
14264 echo "$ac_t""no" 1>&6
14270 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14271 echo "configure:14272: checking for _hypotf declaration" >&5
14272 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14273 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14274 echo $ac_n "(cached) $ac_c" 1>&6
14279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14280 ac_cpp='$CXXCPP $CPPFLAGS'
14281 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14282 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14283 cross_compiling=$ac_cv_prog_cxx_cross
14285 cat > conftest.$ac_ext <<EOF
14286 #line 14287 "configure"
14287 #include "confdefs.h"
14293 if { (eval echo configure:14294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14295 glibcpp_cv_func__hypotf_use=yes
14297 echo "configure: failed program was:" >&5
14298 cat conftest.$ac_ext >&5
14300 glibcpp_cv_func__hypotf_use=no
14304 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14305 ac_cpp='$CPP $CPPFLAGS'
14306 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14307 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14308 cross_compiling=$ac_cv_prog_cc_cross
14314 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14316 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14317 for ac_func in _hypotf
14319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14320 echo "configure:14321: checking for $ac_func" >&5
14321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14322 echo $ac_n "(cached) $ac_c" 1>&6
14324 cat > conftest.$ac_ext <<EOF
14325 #line 14326 "configure"
14326 #include "confdefs.h"
14327 /* System header to define __stub macros and hopefully few prototypes,
14328 which can conflict with char $ac_func(); below. */
14329 #include <assert.h>
14330 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14337 /* The GNU C library defines this for functions which it implements
14338 to always fail with ENOSYS. Some functions are actually named
14339 something starting with __ and the normal name is an alias. */
14340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14348 if { (eval echo configure:14349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14350 eval "ac_cv_func_$ac_func=yes"
14352 echo "configure: failed program was:" >&5
14353 cat conftest.$ac_ext >&5
14355 eval "ac_cv_func_$ac_func=no"
14360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14361 echo "$ac_t""yes" 1>&6
14362 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14363 cat >> confdefs.h <<EOF
14364 #define $ac_tr_func 1
14368 echo "$ac_t""no" 1>&6
14377 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14378 echo "configure:14379: checking for ldexpf declaration" >&5
14379 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14380 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14381 echo $ac_n "(cached) $ac_c" 1>&6
14386 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14387 ac_cpp='$CXXCPP $CPPFLAGS'
14388 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14389 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14390 cross_compiling=$ac_cv_prog_cxx_cross
14392 cat > conftest.$ac_ext <<EOF
14393 #line 14394 "configure"
14394 #include "confdefs.h"
14400 if { (eval echo configure:14401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14402 glibcpp_cv_func_ldexpf_use=yes
14404 echo "configure: failed program was:" >&5
14405 cat conftest.$ac_ext >&5
14407 glibcpp_cv_func_ldexpf_use=no
14411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14412 ac_cpp='$CPP $CPPFLAGS'
14413 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14414 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14415 cross_compiling=$ac_cv_prog_cc_cross
14421 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14423 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14424 for ac_func in ldexpf
14426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14427 echo "configure:14428: checking for $ac_func" >&5
14428 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14429 echo $ac_n "(cached) $ac_c" 1>&6
14431 cat > conftest.$ac_ext <<EOF
14432 #line 14433 "configure"
14433 #include "confdefs.h"
14434 /* System header to define __stub macros and hopefully few prototypes,
14435 which can conflict with char $ac_func(); below. */
14436 #include <assert.h>
14437 /* Override any gcc2 internal prototype to avoid an error. */
14438 /* We use char because int might match the return type of a gcc2
14439 builtin and then its argument prototype would still apply. */
14444 /* The GNU C library defines this for functions which it implements
14445 to always fail with ENOSYS. Some functions are actually named
14446 something starting with __ and the normal name is an alias. */
14447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14455 if { (eval echo configure:14456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14457 eval "ac_cv_func_$ac_func=yes"
14459 echo "configure: failed program was:" >&5
14460 cat conftest.$ac_ext >&5
14462 eval "ac_cv_func_$ac_func=no"
14467 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14468 echo "$ac_t""yes" 1>&6
14469 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14470 cat >> confdefs.h <<EOF
14471 #define $ac_tr_func 1
14475 echo "$ac_t""no" 1>&6
14481 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14482 echo "configure:14483: checking for _ldexpf declaration" >&5
14483 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14484 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14485 echo $ac_n "(cached) $ac_c" 1>&6
14490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14491 ac_cpp='$CXXCPP $CPPFLAGS'
14492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14494 cross_compiling=$ac_cv_prog_cxx_cross
14496 cat > conftest.$ac_ext <<EOF
14497 #line 14498 "configure"
14498 #include "confdefs.h"
14504 if { (eval echo configure:14505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14506 glibcpp_cv_func__ldexpf_use=yes
14508 echo "configure: failed program was:" >&5
14509 cat conftest.$ac_ext >&5
14511 glibcpp_cv_func__ldexpf_use=no
14515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14516 ac_cpp='$CPP $CPPFLAGS'
14517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14519 cross_compiling=$ac_cv_prog_cc_cross
14525 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14527 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14528 for ac_func in _ldexpf
14530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14531 echo "configure:14532: checking for $ac_func" >&5
14532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14535 cat > conftest.$ac_ext <<EOF
14536 #line 14537 "configure"
14537 #include "confdefs.h"
14538 /* System header to define __stub macros and hopefully few prototypes,
14539 which can conflict with char $ac_func(); below. */
14540 #include <assert.h>
14541 /* Override any gcc2 internal prototype to avoid an error. */
14542 /* We use char because int might match the return type of a gcc2
14543 builtin and then its argument prototype would still apply. */
14548 /* The GNU C library defines this for functions which it implements
14549 to always fail with ENOSYS. Some functions are actually named
14550 something starting with __ and the normal name is an alias. */
14551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14559 if { (eval echo configure:14560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14561 eval "ac_cv_func_$ac_func=yes"
14563 echo "configure: failed program was:" >&5
14564 cat conftest.$ac_ext >&5
14566 eval "ac_cv_func_$ac_func=no"
14571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14574 cat >> confdefs.h <<EOF
14575 #define $ac_tr_func 1
14579 echo "$ac_t""no" 1>&6
14588 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14589 echo "configure:14590: checking for logf declaration" >&5
14590 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14591 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14592 echo $ac_n "(cached) $ac_c" 1>&6
14597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14598 ac_cpp='$CXXCPP $CPPFLAGS'
14599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14601 cross_compiling=$ac_cv_prog_cxx_cross
14603 cat > conftest.$ac_ext <<EOF
14604 #line 14605 "configure"
14605 #include "confdefs.h"
14607 #ifdef HAVE_IEEEFP_H
14608 #include <ieeefp.h>
14615 if { (eval echo configure:14616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14617 glibcpp_cv_func_logf_use=yes
14619 echo "configure: failed program was:" >&5
14620 cat conftest.$ac_ext >&5
14622 glibcpp_cv_func_logf_use=no
14626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14627 ac_cpp='$CPP $CPPFLAGS'
14628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14629 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14630 cross_compiling=$ac_cv_prog_cc_cross
14636 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14638 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14639 for ac_func in logf
14641 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14642 echo "configure:14643: checking for $ac_func" >&5
14643 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14644 echo $ac_n "(cached) $ac_c" 1>&6
14646 cat > conftest.$ac_ext <<EOF
14647 #line 14648 "configure"
14648 #include "confdefs.h"
14649 /* System header to define __stub macros and hopefully few prototypes,
14650 which can conflict with char $ac_func(); below. */
14651 #include <assert.h>
14652 /* Override any gcc2 internal prototype to avoid an error. */
14653 /* We use char because int might match the return type of a gcc2
14654 builtin and then its argument prototype would still apply. */
14659 /* The GNU C library defines this for functions which it implements
14660 to always fail with ENOSYS. Some functions are actually named
14661 something starting with __ and the normal name is an alias. */
14662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14670 if { (eval echo configure:14671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14672 eval "ac_cv_func_$ac_func=yes"
14674 echo "configure: failed program was:" >&5
14675 cat conftest.$ac_ext >&5
14677 eval "ac_cv_func_$ac_func=no"
14682 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14683 echo "$ac_t""yes" 1>&6
14684 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14685 cat >> confdefs.h <<EOF
14686 #define $ac_tr_func 1
14690 echo "$ac_t""no" 1>&6
14696 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14697 echo "configure:14698: checking for _logf declaration" >&5
14698 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14699 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14700 echo $ac_n "(cached) $ac_c" 1>&6
14705 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14706 ac_cpp='$CXXCPP $CPPFLAGS'
14707 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14708 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14709 cross_compiling=$ac_cv_prog_cxx_cross
14711 cat > conftest.$ac_ext <<EOF
14712 #line 14713 "configure"
14713 #include "confdefs.h"
14715 #ifdef HAVE_IEEEFP_H
14716 #include <ieeefp.h>
14723 if { (eval echo configure:14724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14725 glibcpp_cv_func__logf_use=yes
14727 echo "configure: failed program was:" >&5
14728 cat conftest.$ac_ext >&5
14730 glibcpp_cv_func__logf_use=no
14734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14738 cross_compiling=$ac_cv_prog_cc_cross
14744 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14746 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14747 for ac_func in _logf
14749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14750 echo "configure:14751: checking for $ac_func" >&5
14751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14752 echo $ac_n "(cached) $ac_c" 1>&6
14754 cat > conftest.$ac_ext <<EOF
14755 #line 14756 "configure"
14756 #include "confdefs.h"
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func(); below. */
14759 #include <assert.h>
14760 /* Override any gcc2 internal prototype to avoid an error. */
14761 /* We use char because int might match the return type of a gcc2
14762 builtin and then its argument prototype would still apply. */
14767 /* The GNU C library defines this for functions which it implements
14768 to always fail with ENOSYS. Some functions are actually named
14769 something starting with __ and the normal name is an alias. */
14770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14778 if { (eval echo configure:14779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14780 eval "ac_cv_func_$ac_func=yes"
14782 echo "configure: failed program was:" >&5
14783 cat conftest.$ac_ext >&5
14785 eval "ac_cv_func_$ac_func=no"
14790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14791 echo "$ac_t""yes" 1>&6
14792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14793 cat >> confdefs.h <<EOF
14794 #define $ac_tr_func 1
14798 echo "$ac_t""no" 1>&6
14807 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14808 echo "configure:14809: checking for log10f declaration" >&5
14809 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14810 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14811 echo $ac_n "(cached) $ac_c" 1>&6
14816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14817 ac_cpp='$CXXCPP $CPPFLAGS'
14818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14820 cross_compiling=$ac_cv_prog_cxx_cross
14822 cat > conftest.$ac_ext <<EOF
14823 #line 14824 "configure"
14824 #include "confdefs.h"
14826 #ifdef HAVE_IEEEFP_H
14827 #include <ieeefp.h>
14834 if { (eval echo configure:14835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14836 glibcpp_cv_func_log10f_use=yes
14838 echo "configure: failed program was:" >&5
14839 cat conftest.$ac_ext >&5
14841 glibcpp_cv_func_log10f_use=no
14845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14846 ac_cpp='$CPP $CPPFLAGS'
14847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14849 cross_compiling=$ac_cv_prog_cc_cross
14855 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14857 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14858 for ac_func in log10f
14860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14861 echo "configure:14862: checking for $ac_func" >&5
14862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14863 echo $ac_n "(cached) $ac_c" 1>&6
14865 cat > conftest.$ac_ext <<EOF
14866 #line 14867 "configure"
14867 #include "confdefs.h"
14868 /* System header to define __stub macros and hopefully few prototypes,
14869 which can conflict with char $ac_func(); below. */
14870 #include <assert.h>
14871 /* Override any gcc2 internal prototype to avoid an error. */
14872 /* We use char because int might match the return type of a gcc2
14873 builtin and then its argument prototype would still apply. */
14878 /* The GNU C library defines this for functions which it implements
14879 to always fail with ENOSYS. Some functions are actually named
14880 something starting with __ and the normal name is an alias. */
14881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14889 if { (eval echo configure:14890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14891 eval "ac_cv_func_$ac_func=yes"
14893 echo "configure: failed program was:" >&5
14894 cat conftest.$ac_ext >&5
14896 eval "ac_cv_func_$ac_func=no"
14901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14902 echo "$ac_t""yes" 1>&6
14903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14904 cat >> confdefs.h <<EOF
14905 #define $ac_tr_func 1
14909 echo "$ac_t""no" 1>&6
14915 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14916 echo "configure:14917: checking for _log10f declaration" >&5
14917 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14918 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14919 echo $ac_n "(cached) $ac_c" 1>&6
14924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14925 ac_cpp='$CXXCPP $CPPFLAGS'
14926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14928 cross_compiling=$ac_cv_prog_cxx_cross
14930 cat > conftest.$ac_ext <<EOF
14931 #line 14932 "configure"
14932 #include "confdefs.h"
14934 #ifdef HAVE_IEEEFP_H
14935 #include <ieeefp.h>
14942 if { (eval echo configure:14943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14944 glibcpp_cv_func__log10f_use=yes
14946 echo "configure: failed program was:" >&5
14947 cat conftest.$ac_ext >&5
14949 glibcpp_cv_func__log10f_use=no
14953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14957 cross_compiling=$ac_cv_prog_cc_cross
14963 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14965 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14966 for ac_func in _log10f
14968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14969 echo "configure:14970: checking for $ac_func" >&5
14970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14971 echo $ac_n "(cached) $ac_c" 1>&6
14973 cat > conftest.$ac_ext <<EOF
14974 #line 14975 "configure"
14975 #include "confdefs.h"
14976 /* System header to define __stub macros and hopefully few prototypes,
14977 which can conflict with char $ac_func(); below. */
14978 #include <assert.h>
14979 /* Override any gcc2 internal prototype to avoid an error. */
14980 /* We use char because int might match the return type of a gcc2
14981 builtin and then its argument prototype would still apply. */
14986 /* The GNU C library defines this for functions which it implements
14987 to always fail with ENOSYS. Some functions are actually named
14988 something starting with __ and the normal name is an alias. */
14989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14997 if { (eval echo configure:14998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14999 eval "ac_cv_func_$ac_func=yes"
15001 echo "configure: failed program was:" >&5
15002 cat conftest.$ac_ext >&5
15004 eval "ac_cv_func_$ac_func=no"
15009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15010 echo "$ac_t""yes" 1>&6
15011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15012 cat >> confdefs.h <<EOF
15013 #define $ac_tr_func 1
15017 echo "$ac_t""no" 1>&6
15026 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15027 echo "configure:15028: checking for modff declaration" >&5
15028 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15029 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15030 echo $ac_n "(cached) $ac_c" 1>&6
15035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15036 ac_cpp='$CXXCPP $CPPFLAGS'
15037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15039 cross_compiling=$ac_cv_prog_cxx_cross
15041 cat > conftest.$ac_ext <<EOF
15042 #line 15043 "configure"
15043 #include "confdefs.h"
15049 if { (eval echo configure:15050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15051 glibcpp_cv_func_modff_use=yes
15053 echo "configure: failed program was:" >&5
15054 cat conftest.$ac_ext >&5
15056 glibcpp_cv_func_modff_use=no
15060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15063 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15064 cross_compiling=$ac_cv_prog_cc_cross
15070 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15072 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15073 for ac_func in modff
15075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15076 echo "configure:15077: checking for $ac_func" >&5
15077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15078 echo $ac_n "(cached) $ac_c" 1>&6
15080 cat > conftest.$ac_ext <<EOF
15081 #line 15082 "configure"
15082 #include "confdefs.h"
15083 /* System header to define __stub macros and hopefully few prototypes,
15084 which can conflict with char $ac_func(); below. */
15085 #include <assert.h>
15086 /* Override any gcc2 internal prototype to avoid an error. */
15087 /* We use char because int might match the return type of a gcc2
15088 builtin and then its argument prototype would still apply. */
15093 /* The GNU C library defines this for functions which it implements
15094 to always fail with ENOSYS. Some functions are actually named
15095 something starting with __ and the normal name is an alias. */
15096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15104 if { (eval echo configure:15105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15106 eval "ac_cv_func_$ac_func=yes"
15108 echo "configure: failed program was:" >&5
15109 cat conftest.$ac_ext >&5
15111 eval "ac_cv_func_$ac_func=no"
15116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15117 echo "$ac_t""yes" 1>&6
15118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15119 cat >> confdefs.h <<EOF
15120 #define $ac_tr_func 1
15124 echo "$ac_t""no" 1>&6
15130 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15131 echo "configure:15132: checking for _modff declaration" >&5
15132 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15133 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15134 echo $ac_n "(cached) $ac_c" 1>&6
15139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15140 ac_cpp='$CXXCPP $CPPFLAGS'
15141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15143 cross_compiling=$ac_cv_prog_cxx_cross
15145 cat > conftest.$ac_ext <<EOF
15146 #line 15147 "configure"
15147 #include "confdefs.h"
15153 if { (eval echo configure:15154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15155 glibcpp_cv_func__modff_use=yes
15157 echo "configure: failed program was:" >&5
15158 cat conftest.$ac_ext >&5
15160 glibcpp_cv_func__modff_use=no
15164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15165 ac_cpp='$CPP $CPPFLAGS'
15166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15168 cross_compiling=$ac_cv_prog_cc_cross
15174 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15176 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15177 for ac_func in _modff
15179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15180 echo "configure:15181: checking for $ac_func" >&5
15181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15182 echo $ac_n "(cached) $ac_c" 1>&6
15184 cat > conftest.$ac_ext <<EOF
15185 #line 15186 "configure"
15186 #include "confdefs.h"
15187 /* System header to define __stub macros and hopefully few prototypes,
15188 which can conflict with char $ac_func(); below. */
15189 #include <assert.h>
15190 /* Override any gcc2 internal prototype to avoid an error. */
15191 /* We use char because int might match the return type of a gcc2
15192 builtin and then its argument prototype would still apply. */
15197 /* The GNU C library defines this for functions which it implements
15198 to always fail with ENOSYS. Some functions are actually named
15199 something starting with __ and the normal name is an alias. */
15200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15208 if { (eval echo configure:15209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15210 eval "ac_cv_func_$ac_func=yes"
15212 echo "configure: failed program was:" >&5
15213 cat conftest.$ac_ext >&5
15215 eval "ac_cv_func_$ac_func=no"
15220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15221 echo "$ac_t""yes" 1>&6
15222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15223 cat >> confdefs.h <<EOF
15224 #define $ac_tr_func 1
15228 echo "$ac_t""no" 1>&6
15237 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15238 echo "configure:15239: checking for powf declaration" >&5
15239 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15240 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15241 echo $ac_n "(cached) $ac_c" 1>&6
15246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15247 ac_cpp='$CXXCPP $CPPFLAGS'
15248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15250 cross_compiling=$ac_cv_prog_cxx_cross
15252 cat > conftest.$ac_ext <<EOF
15253 #line 15254 "configure"
15254 #include "confdefs.h"
15260 if { (eval echo configure:15261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15262 glibcpp_cv_func_powf_use=yes
15264 echo "configure: failed program was:" >&5
15265 cat conftest.$ac_ext >&5
15267 glibcpp_cv_func_powf_use=no
15271 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15274 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15275 cross_compiling=$ac_cv_prog_cc_cross
15281 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15283 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15284 for ac_func in powf
15286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15287 echo "configure:15288: checking for $ac_func" >&5
15288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15289 echo $ac_n "(cached) $ac_c" 1>&6
15291 cat > conftest.$ac_ext <<EOF
15292 #line 15293 "configure"
15293 #include "confdefs.h"
15294 /* System header to define __stub macros and hopefully few prototypes,
15295 which can conflict with char $ac_func(); below. */
15296 #include <assert.h>
15297 /* Override any gcc2 internal prototype to avoid an error. */
15298 /* We use char because int might match the return type of a gcc2
15299 builtin and then its argument prototype would still apply. */
15304 /* The GNU C library defines this for functions which it implements
15305 to always fail with ENOSYS. Some functions are actually named
15306 something starting with __ and the normal name is an alias. */
15307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15315 if { (eval echo configure:15316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15317 eval "ac_cv_func_$ac_func=yes"
15319 echo "configure: failed program was:" >&5
15320 cat conftest.$ac_ext >&5
15322 eval "ac_cv_func_$ac_func=no"
15327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15328 echo "$ac_t""yes" 1>&6
15329 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15330 cat >> confdefs.h <<EOF
15331 #define $ac_tr_func 1
15335 echo "$ac_t""no" 1>&6
15341 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15342 echo "configure:15343: checking for _powf declaration" >&5
15343 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15344 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15345 echo $ac_n "(cached) $ac_c" 1>&6
15350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15351 ac_cpp='$CXXCPP $CPPFLAGS'
15352 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15353 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15354 cross_compiling=$ac_cv_prog_cxx_cross
15356 cat > conftest.$ac_ext <<EOF
15357 #line 15358 "configure"
15358 #include "confdefs.h"
15364 if { (eval echo configure:15365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15366 glibcpp_cv_func__powf_use=yes
15368 echo "configure: failed program was:" >&5
15369 cat conftest.$ac_ext >&5
15371 glibcpp_cv_func__powf_use=no
15375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15379 cross_compiling=$ac_cv_prog_cc_cross
15385 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15387 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15388 for ac_func in _powf
15390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15391 echo "configure:15392: checking for $ac_func" >&5
15392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15395 cat > conftest.$ac_ext <<EOF
15396 #line 15397 "configure"
15397 #include "confdefs.h"
15398 /* System header to define __stub macros and hopefully few prototypes,
15399 which can conflict with char $ac_func(); below. */
15400 #include <assert.h>
15401 /* Override any gcc2 internal prototype to avoid an error. */
15402 /* We use char because int might match the return type of a gcc2
15403 builtin and then its argument prototype would still apply. */
15408 /* The GNU C library defines this for functions which it implements
15409 to always fail with ENOSYS. Some functions are actually named
15410 something starting with __ and the normal name is an alias. */
15411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15419 if { (eval echo configure:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15421 eval "ac_cv_func_$ac_func=yes"
15423 echo "configure: failed program was:" >&5
15424 cat conftest.$ac_ext >&5
15426 eval "ac_cv_func_$ac_func=no"
15431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15432 echo "$ac_t""yes" 1>&6
15433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15434 cat >> confdefs.h <<EOF
15435 #define $ac_tr_func 1
15439 echo "$ac_t""no" 1>&6
15448 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15449 echo "configure:15450: checking for sqrtf declaration" >&5
15450 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15451 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15452 echo $ac_n "(cached) $ac_c" 1>&6
15457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15458 ac_cpp='$CXXCPP $CPPFLAGS'
15459 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15460 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15461 cross_compiling=$ac_cv_prog_cxx_cross
15463 cat > conftest.$ac_ext <<EOF
15464 #line 15465 "configure"
15465 #include "confdefs.h"
15467 #ifdef HAVE_IEEEFP_H
15468 #include <ieeefp.h>
15475 if { (eval echo configure:15476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15477 glibcpp_cv_func_sqrtf_use=yes
15479 echo "configure: failed program was:" >&5
15480 cat conftest.$ac_ext >&5
15482 glibcpp_cv_func_sqrtf_use=no
15486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15487 ac_cpp='$CPP $CPPFLAGS'
15488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15490 cross_compiling=$ac_cv_prog_cc_cross
15496 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15498 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15499 for ac_func in sqrtf
15501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15502 echo "configure:15503: checking for $ac_func" >&5
15503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15504 echo $ac_n "(cached) $ac_c" 1>&6
15506 cat > conftest.$ac_ext <<EOF
15507 #line 15508 "configure"
15508 #include "confdefs.h"
15509 /* System header to define __stub macros and hopefully few prototypes,
15510 which can conflict with char $ac_func(); below. */
15511 #include <assert.h>
15512 /* Override any gcc2 internal prototype to avoid an error. */
15513 /* We use char because int might match the return type of a gcc2
15514 builtin and then its argument prototype would still apply. */
15519 /* The GNU C library defines this for functions which it implements
15520 to always fail with ENOSYS. Some functions are actually named
15521 something starting with __ and the normal name is an alias. */
15522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15530 if { (eval echo configure:15531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15532 eval "ac_cv_func_$ac_func=yes"
15534 echo "configure: failed program was:" >&5
15535 cat conftest.$ac_ext >&5
15537 eval "ac_cv_func_$ac_func=no"
15542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15543 echo "$ac_t""yes" 1>&6
15544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15545 cat >> confdefs.h <<EOF
15546 #define $ac_tr_func 1
15550 echo "$ac_t""no" 1>&6
15556 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15557 echo "configure:15558: checking for _sqrtf declaration" >&5
15558 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15559 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15560 echo $ac_n "(cached) $ac_c" 1>&6
15565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15566 ac_cpp='$CXXCPP $CPPFLAGS'
15567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15569 cross_compiling=$ac_cv_prog_cxx_cross
15571 cat > conftest.$ac_ext <<EOF
15572 #line 15573 "configure"
15573 #include "confdefs.h"
15575 #ifdef HAVE_IEEEFP_H
15576 #include <ieeefp.h>
15583 if { (eval echo configure:15584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15585 glibcpp_cv_func__sqrtf_use=yes
15587 echo "configure: failed program was:" >&5
15588 cat conftest.$ac_ext >&5
15590 glibcpp_cv_func__sqrtf_use=no
15594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15598 cross_compiling=$ac_cv_prog_cc_cross
15604 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15606 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15607 for ac_func in _sqrtf
15609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15610 echo "configure:15611: checking for $ac_func" >&5
15611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15612 echo $ac_n "(cached) $ac_c" 1>&6
15614 cat > conftest.$ac_ext <<EOF
15615 #line 15616 "configure"
15616 #include "confdefs.h"
15617 /* System header to define __stub macros and hopefully few prototypes,
15618 which can conflict with char $ac_func(); below. */
15619 #include <assert.h>
15620 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15627 /* The GNU C library defines this for functions which it implements
15628 to always fail with ENOSYS. Some functions are actually named
15629 something starting with __ and the normal name is an alias. */
15630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15638 if { (eval echo configure:15639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15640 eval "ac_cv_func_$ac_func=yes"
15642 echo "configure: failed program was:" >&5
15643 cat conftest.$ac_ext >&5
15645 eval "ac_cv_func_$ac_func=no"
15650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15651 echo "$ac_t""yes" 1>&6
15652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15653 cat >> confdefs.h <<EOF
15654 #define $ac_tr_func 1
15658 echo "$ac_t""no" 1>&6
15667 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15668 echo "configure:15669: checking for sincosf declaration" >&5
15669 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15670 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15671 echo $ac_n "(cached) $ac_c" 1>&6
15676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15677 ac_cpp='$CXXCPP $CPPFLAGS'
15678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15680 cross_compiling=$ac_cv_prog_cxx_cross
15682 cat > conftest.$ac_ext <<EOF
15683 #line 15684 "configure"
15684 #include "confdefs.h"
15690 if { (eval echo configure:15691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15692 glibcpp_cv_func_sincosf_use=yes
15694 echo "configure: failed program was:" >&5
15695 cat conftest.$ac_ext >&5
15697 glibcpp_cv_func_sincosf_use=no
15701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15705 cross_compiling=$ac_cv_prog_cc_cross
15711 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15713 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15714 for ac_func in sincosf
15716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15717 echo "configure:15718: checking for $ac_func" >&5
15718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15719 echo $ac_n "(cached) $ac_c" 1>&6
15721 cat > conftest.$ac_ext <<EOF
15722 #line 15723 "configure"
15723 #include "confdefs.h"
15724 /* System header to define __stub macros and hopefully few prototypes,
15725 which can conflict with char $ac_func(); below. */
15726 #include <assert.h>
15727 /* Override any gcc2 internal prototype to avoid an error. */
15728 /* We use char because int might match the return type of a gcc2
15729 builtin and then its argument prototype would still apply. */
15734 /* The GNU C library defines this for functions which it implements
15735 to always fail with ENOSYS. Some functions are actually named
15736 something starting with __ and the normal name is an alias. */
15737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15745 if { (eval echo configure:15746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15747 eval "ac_cv_func_$ac_func=yes"
15749 echo "configure: failed program was:" >&5
15750 cat conftest.$ac_ext >&5
15752 eval "ac_cv_func_$ac_func=no"
15757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15758 echo "$ac_t""yes" 1>&6
15759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15760 cat >> confdefs.h <<EOF
15761 #define $ac_tr_func 1
15765 echo "$ac_t""no" 1>&6
15771 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15772 echo "configure:15773: checking for _sincosf declaration" >&5
15773 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15774 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15775 echo $ac_n "(cached) $ac_c" 1>&6
15780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15781 ac_cpp='$CXXCPP $CPPFLAGS'
15782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15784 cross_compiling=$ac_cv_prog_cxx_cross
15786 cat > conftest.$ac_ext <<EOF
15787 #line 15788 "configure"
15788 #include "confdefs.h"
15794 if { (eval echo configure:15795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15796 glibcpp_cv_func__sincosf_use=yes
15798 echo "configure: failed program was:" >&5
15799 cat conftest.$ac_ext >&5
15801 glibcpp_cv_func__sincosf_use=no
15805 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15806 ac_cpp='$CPP $CPPFLAGS'
15807 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15808 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15809 cross_compiling=$ac_cv_prog_cc_cross
15815 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15817 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15818 for ac_func in _sincosf
15820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15821 echo "configure:15822: checking for $ac_func" >&5
15822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15823 echo $ac_n "(cached) $ac_c" 1>&6
15825 cat > conftest.$ac_ext <<EOF
15826 #line 15827 "configure"
15827 #include "confdefs.h"
15828 /* System header to define __stub macros and hopefully few prototypes,
15829 which can conflict with char $ac_func(); below. */
15830 #include <assert.h>
15831 /* Override any gcc2 internal prototype to avoid an error. */
15832 /* We use char because int might match the return type of a gcc2
15833 builtin and then its argument prototype would still apply. */
15838 /* The GNU C library defines this for functions which it implements
15839 to always fail with ENOSYS. Some functions are actually named
15840 something starting with __ and the normal name is an alias. */
15841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15849 if { (eval echo configure:15850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15851 eval "ac_cv_func_$ac_func=yes"
15853 echo "configure: failed program was:" >&5
15854 cat conftest.$ac_ext >&5
15856 eval "ac_cv_func_$ac_func=no"
15861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15862 echo "$ac_t""yes" 1>&6
15863 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15864 cat >> confdefs.h <<EOF
15865 #define $ac_tr_func 1
15869 echo "$ac_t""no" 1>&6
15878 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15879 echo "configure:15880: checking for finitef declaration" >&5
15880 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15881 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15882 echo $ac_n "(cached) $ac_c" 1>&6
15887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15888 ac_cpp='$CXXCPP $CPPFLAGS'
15889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15891 cross_compiling=$ac_cv_prog_cxx_cross
15893 cat > conftest.$ac_ext <<EOF
15894 #line 15895 "configure"
15895 #include "confdefs.h"
15897 #ifdef HAVE_IEEEFP_H
15898 #include <ieeefp.h>
15905 if { (eval echo configure:15906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15907 glibcpp_cv_func_finitef_use=yes
15909 echo "configure: failed program was:" >&5
15910 cat conftest.$ac_ext >&5
15912 glibcpp_cv_func_finitef_use=no
15916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15917 ac_cpp='$CPP $CPPFLAGS'
15918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15920 cross_compiling=$ac_cv_prog_cc_cross
15926 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15928 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15929 for ac_func in finitef
15931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15932 echo "configure:15933: checking for $ac_func" >&5
15933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15934 echo $ac_n "(cached) $ac_c" 1>&6
15936 cat > conftest.$ac_ext <<EOF
15937 #line 15938 "configure"
15938 #include "confdefs.h"
15939 /* System header to define __stub macros and hopefully few prototypes,
15940 which can conflict with char $ac_func(); below. */
15941 #include <assert.h>
15942 /* Override any gcc2 internal prototype to avoid an error. */
15943 /* We use char because int might match the return type of a gcc2
15944 builtin and then its argument prototype would still apply. */
15949 /* The GNU C library defines this for functions which it implements
15950 to always fail with ENOSYS. Some functions are actually named
15951 something starting with __ and the normal name is an alias. */
15952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15960 if { (eval echo configure:15961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15962 eval "ac_cv_func_$ac_func=yes"
15964 echo "configure: failed program was:" >&5
15965 cat conftest.$ac_ext >&5
15967 eval "ac_cv_func_$ac_func=no"
15972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15973 echo "$ac_t""yes" 1>&6
15974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15975 cat >> confdefs.h <<EOF
15976 #define $ac_tr_func 1
15980 echo "$ac_t""no" 1>&6
15986 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15987 echo "configure:15988: checking for _finitef declaration" >&5
15988 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15989 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15990 echo $ac_n "(cached) $ac_c" 1>&6
15995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15996 ac_cpp='$CXXCPP $CPPFLAGS'
15997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15999 cross_compiling=$ac_cv_prog_cxx_cross
16001 cat > conftest.$ac_ext <<EOF
16002 #line 16003 "configure"
16003 #include "confdefs.h"
16005 #ifdef HAVE_IEEEFP_H
16006 #include <ieeefp.h>
16013 if { (eval echo configure:16014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16015 glibcpp_cv_func__finitef_use=yes
16017 echo "configure: failed program was:" >&5
16018 cat conftest.$ac_ext >&5
16020 glibcpp_cv_func__finitef_use=no
16024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16025 ac_cpp='$CPP $CPPFLAGS'
16026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16028 cross_compiling=$ac_cv_prog_cc_cross
16034 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16036 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16037 for ac_func in _finitef
16039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16040 echo "configure:16041: checking for $ac_func" >&5
16041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16042 echo $ac_n "(cached) $ac_c" 1>&6
16044 cat > conftest.$ac_ext <<EOF
16045 #line 16046 "configure"
16046 #include "confdefs.h"
16047 /* System header to define __stub macros and hopefully few prototypes,
16048 which can conflict with char $ac_func(); below. */
16049 #include <assert.h>
16050 /* Override any gcc2 internal prototype to avoid an error. */
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16057 /* The GNU C library defines this for functions which it implements
16058 to always fail with ENOSYS. Some functions are actually named
16059 something starting with __ and the normal name is an alias. */
16060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16068 if { (eval echo configure:16069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16070 eval "ac_cv_func_$ac_func=yes"
16072 echo "configure: failed program was:" >&5
16073 cat conftest.$ac_ext >&5
16075 eval "ac_cv_func_$ac_func=no"
16080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16081 echo "$ac_t""yes" 1>&6
16082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16083 cat >> confdefs.h <<EOF
16084 #define $ac_tr_func 1
16088 echo "$ac_t""no" 1>&6
16097 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16098 echo "configure:16099: checking for long double trig functions" >&5
16099 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16100 echo $ac_n "(cached) $ac_c" 1>&6
16105 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16106 ac_cpp='$CXXCPP $CPPFLAGS'
16107 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16108 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16109 cross_compiling=$ac_cv_prog_cxx_cross
16111 cat > conftest.$ac_ext <<EOF
16112 #line 16113 "configure"
16113 #include "confdefs.h"
16116 `for x in acosl asinl atanl \
16118 coshl sinhl tanhl; do echo "$x (0);"; done`
16121 if { (eval echo configure:16122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16123 glibcpp_cv_func_long_double_trig_use=yes
16125 echo "configure: failed program was:" >&5
16126 cat conftest.$ac_ext >&5
16128 glibcpp_cv_func_long_double_trig_use=no
16132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16133 ac_cpp='$CPP $CPPFLAGS'
16134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16136 cross_compiling=$ac_cv_prog_cc_cross
16140 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16141 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16142 for ac_func in acosl asinl atanl \
16146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16147 echo "configure:16148: checking for $ac_func" >&5
16148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16149 echo $ac_n "(cached) $ac_c" 1>&6
16151 cat > conftest.$ac_ext <<EOF
16152 #line 16153 "configure"
16153 #include "confdefs.h"
16154 /* System header to define __stub macros and hopefully few prototypes,
16155 which can conflict with char $ac_func(); below. */
16156 #include <assert.h>
16157 /* Override any gcc2 internal prototype to avoid an error. */
16158 /* We use char because int might match the return type of a gcc2
16159 builtin and then its argument prototype would still apply. */
16164 /* The GNU C library defines this for functions which it implements
16165 to always fail with ENOSYS. Some functions are actually named
16166 something starting with __ and the normal name is an alias. */
16167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16175 if { (eval echo configure:16176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16177 eval "ac_cv_func_$ac_func=yes"
16179 echo "configure: failed program was:" >&5
16180 cat conftest.$ac_ext >&5
16182 eval "ac_cv_func_$ac_func=no"
16187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16188 echo "$ac_t""yes" 1>&6
16189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16190 cat >> confdefs.h <<EOF
16191 #define $ac_tr_func 1
16195 echo "$ac_t""no" 1>&6
16202 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16203 echo "configure:16204: checking for long double round functions" >&5
16204 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16205 echo $ac_n "(cached) $ac_c" 1>&6
16210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16211 ac_cpp='$CXXCPP $CPPFLAGS'
16212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16214 cross_compiling=$ac_cv_prog_cxx_cross
16216 cat > conftest.$ac_ext <<EOF
16217 #line 16218 "configure"
16218 #include "confdefs.h"
16221 `for x in ceill floorl; do echo "$x (0);"; done`
16224 if { (eval echo configure:16225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16226 glibcpp_cv_func_long_double_round_use=yes
16228 echo "configure: failed program was:" >&5
16229 cat conftest.$ac_ext >&5
16231 glibcpp_cv_func_long_double_round_use=no
16235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16236 ac_cpp='$CPP $CPPFLAGS'
16237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16239 cross_compiling=$ac_cv_prog_cc_cross
16243 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16244 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16245 for ac_func in ceill floorl
16247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16248 echo "configure:16249: checking for $ac_func" >&5
16249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16250 echo $ac_n "(cached) $ac_c" 1>&6
16252 cat > conftest.$ac_ext <<EOF
16253 #line 16254 "configure"
16254 #include "confdefs.h"
16255 /* System header to define __stub macros and hopefully few prototypes,
16256 which can conflict with char $ac_func(); below. */
16257 #include <assert.h>
16258 /* Override any gcc2 internal prototype to avoid an error. */
16259 /* We use char because int might match the return type of a gcc2
16260 builtin and then its argument prototype would still apply. */
16265 /* The GNU C library defines this for functions which it implements
16266 to always fail with ENOSYS. Some functions are actually named
16267 something starting with __ and the normal name is an alias. */
16268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16276 if { (eval echo configure:16277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16278 eval "ac_cv_func_$ac_func=yes"
16280 echo "configure: failed program was:" >&5
16281 cat conftest.$ac_ext >&5
16283 eval "ac_cv_func_$ac_func=no"
16288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16289 echo "$ac_t""yes" 1>&6
16290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16291 cat >> confdefs.h <<EOF
16292 #define $ac_tr_func 1
16296 echo "$ac_t""no" 1>&6
16304 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16305 echo "configure:16306: checking for isnanl declaration" >&5
16306 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16307 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16308 echo $ac_n "(cached) $ac_c" 1>&6
16313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16317 cross_compiling=$ac_cv_prog_cxx_cross
16319 cat > conftest.$ac_ext <<EOF
16320 #line 16321 "configure"
16321 #include "confdefs.h"
16323 #ifdef HAVE_IEEEFP_H
16324 #include <ieeefp.h>
16331 if { (eval echo configure:16332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16333 glibcpp_cv_func_isnanl_use=yes
16335 echo "configure: failed program was:" >&5
16336 cat conftest.$ac_ext >&5
16338 glibcpp_cv_func_isnanl_use=no
16342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16343 ac_cpp='$CPP $CPPFLAGS'
16344 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16345 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16346 cross_compiling=$ac_cv_prog_cc_cross
16352 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16354 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16355 for ac_func in isnanl
16357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16358 echo "configure:16359: checking for $ac_func" >&5
16359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16360 echo $ac_n "(cached) $ac_c" 1>&6
16362 cat > conftest.$ac_ext <<EOF
16363 #line 16364 "configure"
16364 #include "confdefs.h"
16365 /* System header to define __stub macros and hopefully few prototypes,
16366 which can conflict with char $ac_func(); below. */
16367 #include <assert.h>
16368 /* Override any gcc2 internal prototype to avoid an error. */
16369 /* We use char because int might match the return type of a gcc2
16370 builtin and then its argument prototype would still apply. */
16375 /* The GNU C library defines this for functions which it implements
16376 to always fail with ENOSYS. Some functions are actually named
16377 something starting with __ and the normal name is an alias. */
16378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16386 if { (eval echo configure:16387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16388 eval "ac_cv_func_$ac_func=yes"
16390 echo "configure: failed program was:" >&5
16391 cat conftest.$ac_ext >&5
16393 eval "ac_cv_func_$ac_func=no"
16398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16399 echo "$ac_t""yes" 1>&6
16400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16401 cat >> confdefs.h <<EOF
16402 #define $ac_tr_func 1
16406 echo "$ac_t""no" 1>&6
16412 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16413 echo "configure:16414: checking for _isnanl declaration" >&5
16414 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16415 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16416 echo $ac_n "(cached) $ac_c" 1>&6
16421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16422 ac_cpp='$CXXCPP $CPPFLAGS'
16423 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16424 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16425 cross_compiling=$ac_cv_prog_cxx_cross
16427 cat > conftest.$ac_ext <<EOF
16428 #line 16429 "configure"
16429 #include "confdefs.h"
16431 #ifdef HAVE_IEEEFP_H
16432 #include <ieeefp.h>
16439 if { (eval echo configure:16440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16441 glibcpp_cv_func__isnanl_use=yes
16443 echo "configure: failed program was:" >&5
16444 cat conftest.$ac_ext >&5
16446 glibcpp_cv_func__isnanl_use=no
16450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16451 ac_cpp='$CPP $CPPFLAGS'
16452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16454 cross_compiling=$ac_cv_prog_cc_cross
16460 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16462 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16463 for ac_func in _isnanl
16465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16466 echo "configure:16467: checking for $ac_func" >&5
16467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16468 echo $ac_n "(cached) $ac_c" 1>&6
16470 cat > conftest.$ac_ext <<EOF
16471 #line 16472 "configure"
16472 #include "confdefs.h"
16473 /* System header to define __stub macros and hopefully few prototypes,
16474 which can conflict with char $ac_func(); below. */
16475 #include <assert.h>
16476 /* Override any gcc2 internal prototype to avoid an error. */
16477 /* We use char because int might match the return type of a gcc2
16478 builtin and then its argument prototype would still apply. */
16483 /* The GNU C library defines this for functions which it implements
16484 to always fail with ENOSYS. Some functions are actually named
16485 something starting with __ and the normal name is an alias. */
16486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16494 if { (eval echo configure:16495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16496 eval "ac_cv_func_$ac_func=yes"
16498 echo "configure: failed program was:" >&5
16499 cat conftest.$ac_ext >&5
16501 eval "ac_cv_func_$ac_func=no"
16506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16507 echo "$ac_t""yes" 1>&6
16508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16509 cat >> confdefs.h <<EOF
16510 #define $ac_tr_func 1
16514 echo "$ac_t""no" 1>&6
16523 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16524 echo "configure:16525: checking for isinfl declaration" >&5
16525 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16526 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16527 echo $ac_n "(cached) $ac_c" 1>&6
16532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16533 ac_cpp='$CXXCPP $CPPFLAGS'
16534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16536 cross_compiling=$ac_cv_prog_cxx_cross
16538 cat > conftest.$ac_ext <<EOF
16539 #line 16540 "configure"
16540 #include "confdefs.h"
16542 #ifdef HAVE_IEEEFP_H
16543 #include <ieeefp.h>
16550 if { (eval echo configure:16551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16552 glibcpp_cv_func_isinfl_use=yes
16554 echo "configure: failed program was:" >&5
16555 cat conftest.$ac_ext >&5
16557 glibcpp_cv_func_isinfl_use=no
16561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16565 cross_compiling=$ac_cv_prog_cc_cross
16571 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16573 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16574 for ac_func in isinfl
16576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16577 echo "configure:16578: checking for $ac_func" >&5
16578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16579 echo $ac_n "(cached) $ac_c" 1>&6
16581 cat > conftest.$ac_ext <<EOF
16582 #line 16583 "configure"
16583 #include "confdefs.h"
16584 /* System header to define __stub macros and hopefully few prototypes,
16585 which can conflict with char $ac_func(); below. */
16586 #include <assert.h>
16587 /* Override any gcc2 internal prototype to avoid an error. */
16588 /* We use char because int might match the return type of a gcc2
16589 builtin and then its argument prototype would still apply. */
16594 /* The GNU C library defines this for functions which it implements
16595 to always fail with ENOSYS. Some functions are actually named
16596 something starting with __ and the normal name is an alias. */
16597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16605 if { (eval echo configure:16606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16607 eval "ac_cv_func_$ac_func=yes"
16609 echo "configure: failed program was:" >&5
16610 cat conftest.$ac_ext >&5
16612 eval "ac_cv_func_$ac_func=no"
16617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16618 echo "$ac_t""yes" 1>&6
16619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16620 cat >> confdefs.h <<EOF
16621 #define $ac_tr_func 1
16625 echo "$ac_t""no" 1>&6
16631 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16632 echo "configure:16633: checking for _isinfl declaration" >&5
16633 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16634 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16641 ac_cpp='$CXXCPP $CPPFLAGS'
16642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16644 cross_compiling=$ac_cv_prog_cxx_cross
16646 cat > conftest.$ac_ext <<EOF
16647 #line 16648 "configure"
16648 #include "confdefs.h"
16650 #ifdef HAVE_IEEEFP_H
16651 #include <ieeefp.h>
16658 if { (eval echo configure:16659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16660 glibcpp_cv_func__isinfl_use=yes
16662 echo "configure: failed program was:" >&5
16663 cat conftest.$ac_ext >&5
16665 glibcpp_cv_func__isinfl_use=no
16669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16670 ac_cpp='$CPP $CPPFLAGS'
16671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16673 cross_compiling=$ac_cv_prog_cc_cross
16679 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16681 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16682 for ac_func in _isinfl
16684 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16685 echo "configure:16686: checking for $ac_func" >&5
16686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16687 echo $ac_n "(cached) $ac_c" 1>&6
16689 cat > conftest.$ac_ext <<EOF
16690 #line 16691 "configure"
16691 #include "confdefs.h"
16692 /* System header to define __stub macros and hopefully few prototypes,
16693 which can conflict with char $ac_func(); below. */
16694 #include <assert.h>
16695 /* Override any gcc2 internal prototype to avoid an error. */
16696 /* We use char because int might match the return type of a gcc2
16697 builtin and then its argument prototype would still apply. */
16702 /* The GNU C library defines this for functions which it implements
16703 to always fail with ENOSYS. Some functions are actually named
16704 something starting with __ and the normal name is an alias. */
16705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16713 if { (eval echo configure:16714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16715 eval "ac_cv_func_$ac_func=yes"
16717 echo "configure: failed program was:" >&5
16718 cat conftest.$ac_ext >&5
16720 eval "ac_cv_func_$ac_func=no"
16725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16726 echo "$ac_t""yes" 1>&6
16727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16728 cat >> confdefs.h <<EOF
16729 #define $ac_tr_func 1
16733 echo "$ac_t""no" 1>&6
16742 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16743 echo "configure:16744: checking for copysignl declaration" >&5
16744 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16745 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16746 echo $ac_n "(cached) $ac_c" 1>&6
16751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16752 ac_cpp='$CXXCPP $CPPFLAGS'
16753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16755 cross_compiling=$ac_cv_prog_cxx_cross
16757 cat > conftest.$ac_ext <<EOF
16758 #line 16759 "configure"
16759 #include "confdefs.h"
16765 if { (eval echo configure:16766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16767 glibcpp_cv_func_copysignl_use=yes
16769 echo "configure: failed program was:" >&5
16770 cat conftest.$ac_ext >&5
16772 glibcpp_cv_func_copysignl_use=no
16776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16780 cross_compiling=$ac_cv_prog_cc_cross
16786 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16788 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16789 for ac_func in copysignl
16791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16792 echo "configure:16793: checking for $ac_func" >&5
16793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16794 echo $ac_n "(cached) $ac_c" 1>&6
16796 cat > conftest.$ac_ext <<EOF
16797 #line 16798 "configure"
16798 #include "confdefs.h"
16799 /* System header to define __stub macros and hopefully few prototypes,
16800 which can conflict with char $ac_func(); below. */
16801 #include <assert.h>
16802 /* Override any gcc2 internal prototype to avoid an error. */
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16809 /* The GNU C library defines this for functions which it implements
16810 to always fail with ENOSYS. Some functions are actually named
16811 something starting with __ and the normal name is an alias. */
16812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16820 if { (eval echo configure:16821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16822 eval "ac_cv_func_$ac_func=yes"
16824 echo "configure: failed program was:" >&5
16825 cat conftest.$ac_ext >&5
16827 eval "ac_cv_func_$ac_func=no"
16832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16833 echo "$ac_t""yes" 1>&6
16834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16835 cat >> confdefs.h <<EOF
16836 #define $ac_tr_func 1
16840 echo "$ac_t""no" 1>&6
16846 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16847 echo "configure:16848: checking for _copysignl declaration" >&5
16848 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16849 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16850 echo $ac_n "(cached) $ac_c" 1>&6
16855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16856 ac_cpp='$CXXCPP $CPPFLAGS'
16857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16859 cross_compiling=$ac_cv_prog_cxx_cross
16861 cat > conftest.$ac_ext <<EOF
16862 #line 16863 "configure"
16863 #include "confdefs.h"
16869 if { (eval echo configure:16870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16871 glibcpp_cv_func__copysignl_use=yes
16873 echo "configure: failed program was:" >&5
16874 cat conftest.$ac_ext >&5
16876 glibcpp_cv_func__copysignl_use=no
16880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16881 ac_cpp='$CPP $CPPFLAGS'
16882 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16883 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16884 cross_compiling=$ac_cv_prog_cc_cross
16890 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16892 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16893 for ac_func in _copysignl
16895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16896 echo "configure:16897: checking for $ac_func" >&5
16897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16898 echo $ac_n "(cached) $ac_c" 1>&6
16900 cat > conftest.$ac_ext <<EOF
16901 #line 16902 "configure"
16902 #include "confdefs.h"
16903 /* System header to define __stub macros and hopefully few prototypes,
16904 which can conflict with char $ac_func(); below. */
16905 #include <assert.h>
16906 /* Override any gcc2 internal prototype to avoid an error. */
16907 /* We use char because int might match the return type of a gcc2
16908 builtin and then its argument prototype would still apply. */
16913 /* The GNU C library defines this for functions which it implements
16914 to always fail with ENOSYS. Some functions are actually named
16915 something starting with __ and the normal name is an alias. */
16916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16924 if { (eval echo configure:16925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16926 eval "ac_cv_func_$ac_func=yes"
16928 echo "configure: failed program was:" >&5
16929 cat conftest.$ac_ext >&5
16931 eval "ac_cv_func_$ac_func=no"
16936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16937 echo "$ac_t""yes" 1>&6
16938 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16939 cat >> confdefs.h <<EOF
16940 #define $ac_tr_func 1
16944 echo "$ac_t""no" 1>&6
16953 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16954 echo "configure:16955: checking for atan2l declaration" >&5
16955 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16956 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16957 echo $ac_n "(cached) $ac_c" 1>&6
16962 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16963 ac_cpp='$CXXCPP $CPPFLAGS'
16964 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16965 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16966 cross_compiling=$ac_cv_prog_cxx_cross
16968 cat > conftest.$ac_ext <<EOF
16969 #line 16970 "configure"
16970 #include "confdefs.h"
16976 if { (eval echo configure:16977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16978 glibcpp_cv_func_atan2l_use=yes
16980 echo "configure: failed program was:" >&5
16981 cat conftest.$ac_ext >&5
16983 glibcpp_cv_func_atan2l_use=no
16987 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16988 ac_cpp='$CPP $CPPFLAGS'
16989 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16990 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16991 cross_compiling=$ac_cv_prog_cc_cross
16997 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16999 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17000 for ac_func in atan2l
17002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17003 echo "configure:17004: checking for $ac_func" >&5
17004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17005 echo $ac_n "(cached) $ac_c" 1>&6
17007 cat > conftest.$ac_ext <<EOF
17008 #line 17009 "configure"
17009 #include "confdefs.h"
17010 /* System header to define __stub macros and hopefully few prototypes,
17011 which can conflict with char $ac_func(); below. */
17012 #include <assert.h>
17013 /* Override any gcc2 internal prototype to avoid an error. */
17014 /* We use char because int might match the return type of a gcc2
17015 builtin and then its argument prototype would still apply. */
17020 /* The GNU C library defines this for functions which it implements
17021 to always fail with ENOSYS. Some functions are actually named
17022 something starting with __ and the normal name is an alias. */
17023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17031 if { (eval echo configure:17032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17033 eval "ac_cv_func_$ac_func=yes"
17035 echo "configure: failed program was:" >&5
17036 cat conftest.$ac_ext >&5
17038 eval "ac_cv_func_$ac_func=no"
17043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17044 echo "$ac_t""yes" 1>&6
17045 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17046 cat >> confdefs.h <<EOF
17047 #define $ac_tr_func 1
17051 echo "$ac_t""no" 1>&6
17057 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17058 echo "configure:17059: checking for _atan2l declaration" >&5
17059 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17060 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17061 echo $ac_n "(cached) $ac_c" 1>&6
17066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17067 ac_cpp='$CXXCPP $CPPFLAGS'
17068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17070 cross_compiling=$ac_cv_prog_cxx_cross
17072 cat > conftest.$ac_ext <<EOF
17073 #line 17074 "configure"
17074 #include "confdefs.h"
17080 if { (eval echo configure:17081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17082 glibcpp_cv_func__atan2l_use=yes
17084 echo "configure: failed program was:" >&5
17085 cat conftest.$ac_ext >&5
17087 glibcpp_cv_func__atan2l_use=no
17091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17092 ac_cpp='$CPP $CPPFLAGS'
17093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17095 cross_compiling=$ac_cv_prog_cc_cross
17101 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17103 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17104 for ac_func in _atan2l
17106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17107 echo "configure:17108: checking for $ac_func" >&5
17108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17109 echo $ac_n "(cached) $ac_c" 1>&6
17111 cat > conftest.$ac_ext <<EOF
17112 #line 17113 "configure"
17113 #include "confdefs.h"
17114 /* System header to define __stub macros and hopefully few prototypes,
17115 which can conflict with char $ac_func(); below. */
17116 #include <assert.h>
17117 /* Override any gcc2 internal prototype to avoid an error. */
17118 /* We use char because int might match the return type of a gcc2
17119 builtin and then its argument prototype would still apply. */
17124 /* The GNU C library defines this for functions which it implements
17125 to always fail with ENOSYS. Some functions are actually named
17126 something starting with __ and the normal name is an alias. */
17127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17135 if { (eval echo configure:17136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17137 eval "ac_cv_func_$ac_func=yes"
17139 echo "configure: failed program was:" >&5
17140 cat conftest.$ac_ext >&5
17142 eval "ac_cv_func_$ac_func=no"
17147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17148 echo "$ac_t""yes" 1>&6
17149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17150 cat >> confdefs.h <<EOF
17151 #define $ac_tr_func 1
17155 echo "$ac_t""no" 1>&6
17164 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17165 echo "configure:17166: checking for expl declaration" >&5
17166 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17167 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17168 echo $ac_n "(cached) $ac_c" 1>&6
17173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17174 ac_cpp='$CXXCPP $CPPFLAGS'
17175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17177 cross_compiling=$ac_cv_prog_cxx_cross
17179 cat > conftest.$ac_ext <<EOF
17180 #line 17181 "configure"
17181 #include "confdefs.h"
17183 #ifdef HAVE_IEEEFP_H
17184 #include <ieeefp.h>
17191 if { (eval echo configure:17192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17193 glibcpp_cv_func_expl_use=yes
17195 echo "configure: failed program was:" >&5
17196 cat conftest.$ac_ext >&5
17198 glibcpp_cv_func_expl_use=no
17202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17203 ac_cpp='$CPP $CPPFLAGS'
17204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17206 cross_compiling=$ac_cv_prog_cc_cross
17212 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17214 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17215 for ac_func in expl
17217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17218 echo "configure:17219: checking for $ac_func" >&5
17219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17220 echo $ac_n "(cached) $ac_c" 1>&6
17222 cat > conftest.$ac_ext <<EOF
17223 #line 17224 "configure"
17224 #include "confdefs.h"
17225 /* System header to define __stub macros and hopefully few prototypes,
17226 which can conflict with char $ac_func(); below. */
17227 #include <assert.h>
17228 /* Override any gcc2 internal prototype to avoid an error. */
17229 /* We use char because int might match the return type of a gcc2
17230 builtin and then its argument prototype would still apply. */
17235 /* The GNU C library defines this for functions which it implements
17236 to always fail with ENOSYS. Some functions are actually named
17237 something starting with __ and the normal name is an alias. */
17238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17246 if { (eval echo configure:17247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17248 eval "ac_cv_func_$ac_func=yes"
17250 echo "configure: failed program was:" >&5
17251 cat conftest.$ac_ext >&5
17253 eval "ac_cv_func_$ac_func=no"
17258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17259 echo "$ac_t""yes" 1>&6
17260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17261 cat >> confdefs.h <<EOF
17262 #define $ac_tr_func 1
17266 echo "$ac_t""no" 1>&6
17272 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17273 echo "configure:17274: checking for _expl declaration" >&5
17274 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17275 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17276 echo $ac_n "(cached) $ac_c" 1>&6
17281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17282 ac_cpp='$CXXCPP $CPPFLAGS'
17283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17285 cross_compiling=$ac_cv_prog_cxx_cross
17287 cat > conftest.$ac_ext <<EOF
17288 #line 17289 "configure"
17289 #include "confdefs.h"
17291 #ifdef HAVE_IEEEFP_H
17292 #include <ieeefp.h>
17299 if { (eval echo configure:17300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17301 glibcpp_cv_func__expl_use=yes
17303 echo "configure: failed program was:" >&5
17304 cat conftest.$ac_ext >&5
17306 glibcpp_cv_func__expl_use=no
17310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17311 ac_cpp='$CPP $CPPFLAGS'
17312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17314 cross_compiling=$ac_cv_prog_cc_cross
17320 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17322 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17323 for ac_func in _expl
17325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17326 echo "configure:17327: checking for $ac_func" >&5
17327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17328 echo $ac_n "(cached) $ac_c" 1>&6
17330 cat > conftest.$ac_ext <<EOF
17331 #line 17332 "configure"
17332 #include "confdefs.h"
17333 /* System header to define __stub macros and hopefully few prototypes,
17334 which can conflict with char $ac_func(); below. */
17335 #include <assert.h>
17336 /* Override any gcc2 internal prototype to avoid an error. */
17337 /* We use char because int might match the return type of a gcc2
17338 builtin and then its argument prototype would still apply. */
17343 /* The GNU C library defines this for functions which it implements
17344 to always fail with ENOSYS. Some functions are actually named
17345 something starting with __ and the normal name is an alias. */
17346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17354 if { (eval echo configure:17355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17356 eval "ac_cv_func_$ac_func=yes"
17358 echo "configure: failed program was:" >&5
17359 cat conftest.$ac_ext >&5
17361 eval "ac_cv_func_$ac_func=no"
17366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17367 echo "$ac_t""yes" 1>&6
17368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17369 cat >> confdefs.h <<EOF
17370 #define $ac_tr_func 1
17374 echo "$ac_t""no" 1>&6
17383 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17384 echo "configure:17385: checking for fabsl declaration" >&5
17385 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17386 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17387 echo $ac_n "(cached) $ac_c" 1>&6
17392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17396 cross_compiling=$ac_cv_prog_cxx_cross
17398 cat > conftest.$ac_ext <<EOF
17399 #line 17400 "configure"
17400 #include "confdefs.h"
17402 #ifdef HAVE_IEEEFP_H
17403 #include <ieeefp.h>
17410 if { (eval echo configure:17411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17412 glibcpp_cv_func_fabsl_use=yes
17414 echo "configure: failed program was:" >&5
17415 cat conftest.$ac_ext >&5
17417 glibcpp_cv_func_fabsl_use=no
17421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17425 cross_compiling=$ac_cv_prog_cc_cross
17431 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17433 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17434 for ac_func in fabsl
17436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17437 echo "configure:17438: checking for $ac_func" >&5
17438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17439 echo $ac_n "(cached) $ac_c" 1>&6
17441 cat > conftest.$ac_ext <<EOF
17442 #line 17443 "configure"
17443 #include "confdefs.h"
17444 /* System header to define __stub macros and hopefully few prototypes,
17445 which can conflict with char $ac_func(); below. */
17446 #include <assert.h>
17447 /* Override any gcc2 internal prototype to avoid an error. */
17448 /* We use char because int might match the return type of a gcc2
17449 builtin and then its argument prototype would still apply. */
17454 /* The GNU C library defines this for functions which it implements
17455 to always fail with ENOSYS. Some functions are actually named
17456 something starting with __ and the normal name is an alias. */
17457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17465 if { (eval echo configure:17466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17467 eval "ac_cv_func_$ac_func=yes"
17469 echo "configure: failed program was:" >&5
17470 cat conftest.$ac_ext >&5
17472 eval "ac_cv_func_$ac_func=no"
17477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17478 echo "$ac_t""yes" 1>&6
17479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17480 cat >> confdefs.h <<EOF
17481 #define $ac_tr_func 1
17485 echo "$ac_t""no" 1>&6
17491 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17492 echo "configure:17493: checking for _fabsl declaration" >&5
17493 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17494 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17495 echo $ac_n "(cached) $ac_c" 1>&6
17500 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17501 ac_cpp='$CXXCPP $CPPFLAGS'
17502 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17503 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17504 cross_compiling=$ac_cv_prog_cxx_cross
17506 cat > conftest.$ac_ext <<EOF
17507 #line 17508 "configure"
17508 #include "confdefs.h"
17510 #ifdef HAVE_IEEEFP_H
17511 #include <ieeefp.h>
17518 if { (eval echo configure:17519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17520 glibcpp_cv_func__fabsl_use=yes
17522 echo "configure: failed program was:" >&5
17523 cat conftest.$ac_ext >&5
17525 glibcpp_cv_func__fabsl_use=no
17529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17530 ac_cpp='$CPP $CPPFLAGS'
17531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17533 cross_compiling=$ac_cv_prog_cc_cross
17539 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17541 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17542 for ac_func in _fabsl
17544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17545 echo "configure:17546: checking for $ac_func" >&5
17546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17547 echo $ac_n "(cached) $ac_c" 1>&6
17549 cat > conftest.$ac_ext <<EOF
17550 #line 17551 "configure"
17551 #include "confdefs.h"
17552 /* System header to define __stub macros and hopefully few prototypes,
17553 which can conflict with char $ac_func(); below. */
17554 #include <assert.h>
17555 /* Override any gcc2 internal prototype to avoid an error. */
17556 /* We use char because int might match the return type of a gcc2
17557 builtin and then its argument prototype would still apply. */
17562 /* The GNU C library defines this for functions which it implements
17563 to always fail with ENOSYS. Some functions are actually named
17564 something starting with __ and the normal name is an alias. */
17565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17573 if { (eval echo configure:17574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17575 eval "ac_cv_func_$ac_func=yes"
17577 echo "configure: failed program was:" >&5
17578 cat conftest.$ac_ext >&5
17580 eval "ac_cv_func_$ac_func=no"
17585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17586 echo "$ac_t""yes" 1>&6
17587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17588 cat >> confdefs.h <<EOF
17589 #define $ac_tr_func 1
17593 echo "$ac_t""no" 1>&6
17602 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17603 echo "configure:17604: checking for fmodl declaration" >&5
17604 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17605 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17606 echo $ac_n "(cached) $ac_c" 1>&6
17611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17612 ac_cpp='$CXXCPP $CPPFLAGS'
17613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17615 cross_compiling=$ac_cv_prog_cxx_cross
17617 cat > conftest.$ac_ext <<EOF
17618 #line 17619 "configure"
17619 #include "confdefs.h"
17625 if { (eval echo configure:17626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17627 glibcpp_cv_func_fmodl_use=yes
17629 echo "configure: failed program was:" >&5
17630 cat conftest.$ac_ext >&5
17632 glibcpp_cv_func_fmodl_use=no
17636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17637 ac_cpp='$CPP $CPPFLAGS'
17638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17640 cross_compiling=$ac_cv_prog_cc_cross
17646 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17648 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17649 for ac_func in fmodl
17651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17652 echo "configure:17653: checking for $ac_func" >&5
17653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17654 echo $ac_n "(cached) $ac_c" 1>&6
17656 cat > conftest.$ac_ext <<EOF
17657 #line 17658 "configure"
17658 #include "confdefs.h"
17659 /* System header to define __stub macros and hopefully few prototypes,
17660 which can conflict with char $ac_func(); below. */
17661 #include <assert.h>
17662 /* Override any gcc2 internal prototype to avoid an error. */
17663 /* We use char because int might match the return type of a gcc2
17664 builtin and then its argument prototype would still apply. */
17669 /* The GNU C library defines this for functions which it implements
17670 to always fail with ENOSYS. Some functions are actually named
17671 something starting with __ and the normal name is an alias. */
17672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17680 if { (eval echo configure:17681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17682 eval "ac_cv_func_$ac_func=yes"
17684 echo "configure: failed program was:" >&5
17685 cat conftest.$ac_ext >&5
17687 eval "ac_cv_func_$ac_func=no"
17692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17693 echo "$ac_t""yes" 1>&6
17694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17695 cat >> confdefs.h <<EOF
17696 #define $ac_tr_func 1
17700 echo "$ac_t""no" 1>&6
17706 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17707 echo "configure:17708: checking for _fmodl declaration" >&5
17708 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17709 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17710 echo $ac_n "(cached) $ac_c" 1>&6
17715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17716 ac_cpp='$CXXCPP $CPPFLAGS'
17717 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17718 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17719 cross_compiling=$ac_cv_prog_cxx_cross
17721 cat > conftest.$ac_ext <<EOF
17722 #line 17723 "configure"
17723 #include "confdefs.h"
17729 if { (eval echo configure:17730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17731 glibcpp_cv_func__fmodl_use=yes
17733 echo "configure: failed program was:" >&5
17734 cat conftest.$ac_ext >&5
17736 glibcpp_cv_func__fmodl_use=no
17740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17741 ac_cpp='$CPP $CPPFLAGS'
17742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17744 cross_compiling=$ac_cv_prog_cc_cross
17750 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17752 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17753 for ac_func in _fmodl
17755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17756 echo "configure:17757: checking for $ac_func" >&5
17757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17758 echo $ac_n "(cached) $ac_c" 1>&6
17760 cat > conftest.$ac_ext <<EOF
17761 #line 17762 "configure"
17762 #include "confdefs.h"
17763 /* System header to define __stub macros and hopefully few prototypes,
17764 which can conflict with char $ac_func(); below. */
17765 #include <assert.h>
17766 /* Override any gcc2 internal prototype to avoid an error. */
17767 /* We use char because int might match the return type of a gcc2
17768 builtin and then its argument prototype would still apply. */
17773 /* The GNU C library defines this for functions which it implements
17774 to always fail with ENOSYS. Some functions are actually named
17775 something starting with __ and the normal name is an alias. */
17776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17784 if { (eval echo configure:17785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17786 eval "ac_cv_func_$ac_func=yes"
17788 echo "configure: failed program was:" >&5
17789 cat conftest.$ac_ext >&5
17791 eval "ac_cv_func_$ac_func=no"
17796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17797 echo "$ac_t""yes" 1>&6
17798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17799 cat >> confdefs.h <<EOF
17800 #define $ac_tr_func 1
17804 echo "$ac_t""no" 1>&6
17813 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17814 echo "configure:17815: checking for frexpl declaration" >&5
17815 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17816 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17817 echo $ac_n "(cached) $ac_c" 1>&6
17822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17823 ac_cpp='$CXXCPP $CPPFLAGS'
17824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17826 cross_compiling=$ac_cv_prog_cxx_cross
17828 cat > conftest.$ac_ext <<EOF
17829 #line 17830 "configure"
17830 #include "confdefs.h"
17836 if { (eval echo configure:17837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17838 glibcpp_cv_func_frexpl_use=yes
17840 echo "configure: failed program was:" >&5
17841 cat conftest.$ac_ext >&5
17843 glibcpp_cv_func_frexpl_use=no
17847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17851 cross_compiling=$ac_cv_prog_cc_cross
17857 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17859 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17860 for ac_func in frexpl
17862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17863 echo "configure:17864: checking for $ac_func" >&5
17864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17865 echo $ac_n "(cached) $ac_c" 1>&6
17867 cat > conftest.$ac_ext <<EOF
17868 #line 17869 "configure"
17869 #include "confdefs.h"
17870 /* System header to define __stub macros and hopefully few prototypes,
17871 which can conflict with char $ac_func(); below. */
17872 #include <assert.h>
17873 /* Override any gcc2 internal prototype to avoid an error. */
17874 /* We use char because int might match the return type of a gcc2
17875 builtin and then its argument prototype would still apply. */
17880 /* The GNU C library defines this for functions which it implements
17881 to always fail with ENOSYS. Some functions are actually named
17882 something starting with __ and the normal name is an alias. */
17883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17891 if { (eval echo configure:17892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17893 eval "ac_cv_func_$ac_func=yes"
17895 echo "configure: failed program was:" >&5
17896 cat conftest.$ac_ext >&5
17898 eval "ac_cv_func_$ac_func=no"
17903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17904 echo "$ac_t""yes" 1>&6
17905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17906 cat >> confdefs.h <<EOF
17907 #define $ac_tr_func 1
17911 echo "$ac_t""no" 1>&6
17917 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17918 echo "configure:17919: checking for _frexpl declaration" >&5
17919 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17920 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17921 echo $ac_n "(cached) $ac_c" 1>&6
17926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17929 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17930 cross_compiling=$ac_cv_prog_cxx_cross
17932 cat > conftest.$ac_ext <<EOF
17933 #line 17934 "configure"
17934 #include "confdefs.h"
17940 if { (eval echo configure:17941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17942 glibcpp_cv_func__frexpl_use=yes
17944 echo "configure: failed program was:" >&5
17945 cat conftest.$ac_ext >&5
17947 glibcpp_cv_func__frexpl_use=no
17951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17952 ac_cpp='$CPP $CPPFLAGS'
17953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17955 cross_compiling=$ac_cv_prog_cc_cross
17961 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17963 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17964 for ac_func in _frexpl
17966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17967 echo "configure:17968: checking for $ac_func" >&5
17968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17969 echo $ac_n "(cached) $ac_c" 1>&6
17971 cat > conftest.$ac_ext <<EOF
17972 #line 17973 "configure"
17973 #include "confdefs.h"
17974 /* System header to define __stub macros and hopefully few prototypes,
17975 which can conflict with char $ac_func(); below. */
17976 #include <assert.h>
17977 /* Override any gcc2 internal prototype to avoid an error. */
17978 /* We use char because int might match the return type of a gcc2
17979 builtin and then its argument prototype would still apply. */
17984 /* The GNU C library defines this for functions which it implements
17985 to always fail with ENOSYS. Some functions are actually named
17986 something starting with __ and the normal name is an alias. */
17987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17995 if { (eval echo configure:17996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17997 eval "ac_cv_func_$ac_func=yes"
17999 echo "configure: failed program was:" >&5
18000 cat conftest.$ac_ext >&5
18002 eval "ac_cv_func_$ac_func=no"
18007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18008 echo "$ac_t""yes" 1>&6
18009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18010 cat >> confdefs.h <<EOF
18011 #define $ac_tr_func 1
18015 echo "$ac_t""no" 1>&6
18024 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18025 echo "configure:18026: checking for hypotl declaration" >&5
18026 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18027 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18028 echo $ac_n "(cached) $ac_c" 1>&6
18033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18034 ac_cpp='$CXXCPP $CPPFLAGS'
18035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18037 cross_compiling=$ac_cv_prog_cxx_cross
18039 cat > conftest.$ac_ext <<EOF
18040 #line 18041 "configure"
18041 #include "confdefs.h"
18047 if { (eval echo configure:18048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18049 glibcpp_cv_func_hypotl_use=yes
18051 echo "configure: failed program was:" >&5
18052 cat conftest.$ac_ext >&5
18054 glibcpp_cv_func_hypotl_use=no
18058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18059 ac_cpp='$CPP $CPPFLAGS'
18060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18062 cross_compiling=$ac_cv_prog_cc_cross
18068 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18070 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18071 for ac_func in hypotl
18073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18074 echo "configure:18075: checking for $ac_func" >&5
18075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18076 echo $ac_n "(cached) $ac_c" 1>&6
18078 cat > conftest.$ac_ext <<EOF
18079 #line 18080 "configure"
18080 #include "confdefs.h"
18081 /* System header to define __stub macros and hopefully few prototypes,
18082 which can conflict with char $ac_func(); below. */
18083 #include <assert.h>
18084 /* Override any gcc2 internal prototype to avoid an error. */
18085 /* We use char because int might match the return type of a gcc2
18086 builtin and then its argument prototype would still apply. */
18091 /* The GNU C library defines this for functions which it implements
18092 to always fail with ENOSYS. Some functions are actually named
18093 something starting with __ and the normal name is an alias. */
18094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18102 if { (eval echo configure:18103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18104 eval "ac_cv_func_$ac_func=yes"
18106 echo "configure: failed program was:" >&5
18107 cat conftest.$ac_ext >&5
18109 eval "ac_cv_func_$ac_func=no"
18114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18115 echo "$ac_t""yes" 1>&6
18116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18117 cat >> confdefs.h <<EOF
18118 #define $ac_tr_func 1
18122 echo "$ac_t""no" 1>&6
18128 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18129 echo "configure:18130: checking for _hypotl declaration" >&5
18130 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18131 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18132 echo $ac_n "(cached) $ac_c" 1>&6
18137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18138 ac_cpp='$CXXCPP $CPPFLAGS'
18139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18141 cross_compiling=$ac_cv_prog_cxx_cross
18143 cat > conftest.$ac_ext <<EOF
18144 #line 18145 "configure"
18145 #include "confdefs.h"
18151 if { (eval echo configure:18152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18153 glibcpp_cv_func__hypotl_use=yes
18155 echo "configure: failed program was:" >&5
18156 cat conftest.$ac_ext >&5
18158 glibcpp_cv_func__hypotl_use=no
18162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18166 cross_compiling=$ac_cv_prog_cc_cross
18172 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18174 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18175 for ac_func in _hypotl
18177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18178 echo "configure:18179: checking for $ac_func" >&5
18179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18180 echo $ac_n "(cached) $ac_c" 1>&6
18182 cat > conftest.$ac_ext <<EOF
18183 #line 18184 "configure"
18184 #include "confdefs.h"
18185 /* System header to define __stub macros and hopefully few prototypes,
18186 which can conflict with char $ac_func(); below. */
18187 #include <assert.h>
18188 /* Override any gcc2 internal prototype to avoid an error. */
18189 /* We use char because int might match the return type of a gcc2
18190 builtin and then its argument prototype would still apply. */
18195 /* The GNU C library defines this for functions which it implements
18196 to always fail with ENOSYS. Some functions are actually named
18197 something starting with __ and the normal name is an alias. */
18198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18206 if { (eval echo configure:18207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18208 eval "ac_cv_func_$ac_func=yes"
18210 echo "configure: failed program was:" >&5
18211 cat conftest.$ac_ext >&5
18213 eval "ac_cv_func_$ac_func=no"
18218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18219 echo "$ac_t""yes" 1>&6
18220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18221 cat >> confdefs.h <<EOF
18222 #define $ac_tr_func 1
18226 echo "$ac_t""no" 1>&6
18235 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18236 echo "configure:18237: checking for ldexpl declaration" >&5
18237 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18238 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18239 echo $ac_n "(cached) $ac_c" 1>&6
18244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18245 ac_cpp='$CXXCPP $CPPFLAGS'
18246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18248 cross_compiling=$ac_cv_prog_cxx_cross
18250 cat > conftest.$ac_ext <<EOF
18251 #line 18252 "configure"
18252 #include "confdefs.h"
18258 if { (eval echo configure:18259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18260 glibcpp_cv_func_ldexpl_use=yes
18262 echo "configure: failed program was:" >&5
18263 cat conftest.$ac_ext >&5
18265 glibcpp_cv_func_ldexpl_use=no
18269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18270 ac_cpp='$CPP $CPPFLAGS'
18271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18273 cross_compiling=$ac_cv_prog_cc_cross
18279 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18281 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18282 for ac_func in ldexpl
18284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18285 echo "configure:18286: checking for $ac_func" >&5
18286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18287 echo $ac_n "(cached) $ac_c" 1>&6
18289 cat > conftest.$ac_ext <<EOF
18290 #line 18291 "configure"
18291 #include "confdefs.h"
18292 /* System header to define __stub macros and hopefully few prototypes,
18293 which can conflict with char $ac_func(); below. */
18294 #include <assert.h>
18295 /* Override any gcc2 internal prototype to avoid an error. */
18296 /* We use char because int might match the return type of a gcc2
18297 builtin and then its argument prototype would still apply. */
18302 /* The GNU C library defines this for functions which it implements
18303 to always fail with ENOSYS. Some functions are actually named
18304 something starting with __ and the normal name is an alias. */
18305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18313 if { (eval echo configure:18314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18315 eval "ac_cv_func_$ac_func=yes"
18317 echo "configure: failed program was:" >&5
18318 cat conftest.$ac_ext >&5
18320 eval "ac_cv_func_$ac_func=no"
18325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18326 echo "$ac_t""yes" 1>&6
18327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18328 cat >> confdefs.h <<EOF
18329 #define $ac_tr_func 1
18333 echo "$ac_t""no" 1>&6
18339 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18340 echo "configure:18341: checking for _ldexpl declaration" >&5
18341 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18342 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18343 echo $ac_n "(cached) $ac_c" 1>&6
18348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18349 ac_cpp='$CXXCPP $CPPFLAGS'
18350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18352 cross_compiling=$ac_cv_prog_cxx_cross
18354 cat > conftest.$ac_ext <<EOF
18355 #line 18356 "configure"
18356 #include "confdefs.h"
18362 if { (eval echo configure:18363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18364 glibcpp_cv_func__ldexpl_use=yes
18366 echo "configure: failed program was:" >&5
18367 cat conftest.$ac_ext >&5
18369 glibcpp_cv_func__ldexpl_use=no
18373 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18374 ac_cpp='$CPP $CPPFLAGS'
18375 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18376 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18377 cross_compiling=$ac_cv_prog_cc_cross
18383 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18385 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18386 for ac_func in _ldexpl
18388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18389 echo "configure:18390: checking for $ac_func" >&5
18390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18391 echo $ac_n "(cached) $ac_c" 1>&6
18393 cat > conftest.$ac_ext <<EOF
18394 #line 18395 "configure"
18395 #include "confdefs.h"
18396 /* System header to define __stub macros and hopefully few prototypes,
18397 which can conflict with char $ac_func(); below. */
18398 #include <assert.h>
18399 /* Override any gcc2 internal prototype to avoid an error. */
18400 /* We use char because int might match the return type of a gcc2
18401 builtin and then its argument prototype would still apply. */
18406 /* The GNU C library defines this for functions which it implements
18407 to always fail with ENOSYS. Some functions are actually named
18408 something starting with __ and the normal name is an alias. */
18409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18417 if { (eval echo configure:18418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18419 eval "ac_cv_func_$ac_func=yes"
18421 echo "configure: failed program was:" >&5
18422 cat conftest.$ac_ext >&5
18424 eval "ac_cv_func_$ac_func=no"
18429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18430 echo "$ac_t""yes" 1>&6
18431 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18432 cat >> confdefs.h <<EOF
18433 #define $ac_tr_func 1
18437 echo "$ac_t""no" 1>&6
18446 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18447 echo "configure:18448: checking for logl declaration" >&5
18448 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18449 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18450 echo $ac_n "(cached) $ac_c" 1>&6
18455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18456 ac_cpp='$CXXCPP $CPPFLAGS'
18457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18459 cross_compiling=$ac_cv_prog_cxx_cross
18461 cat > conftest.$ac_ext <<EOF
18462 #line 18463 "configure"
18463 #include "confdefs.h"
18465 #ifdef HAVE_IEEEFP_H
18466 #include <ieeefp.h>
18473 if { (eval echo configure:18474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18475 glibcpp_cv_func_logl_use=yes
18477 echo "configure: failed program was:" >&5
18478 cat conftest.$ac_ext >&5
18480 glibcpp_cv_func_logl_use=no
18484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18485 ac_cpp='$CPP $CPPFLAGS'
18486 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18487 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18488 cross_compiling=$ac_cv_prog_cc_cross
18494 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18496 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18497 for ac_func in logl
18499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18500 echo "configure:18501: checking for $ac_func" >&5
18501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18502 echo $ac_n "(cached) $ac_c" 1>&6
18504 cat > conftest.$ac_ext <<EOF
18505 #line 18506 "configure"
18506 #include "confdefs.h"
18507 /* System header to define __stub macros and hopefully few prototypes,
18508 which can conflict with char $ac_func(); below. */
18509 #include <assert.h>
18510 /* Override any gcc2 internal prototype to avoid an error. */
18511 /* We use char because int might match the return type of a gcc2
18512 builtin and then its argument prototype would still apply. */
18517 /* The GNU C library defines this for functions which it implements
18518 to always fail with ENOSYS. Some functions are actually named
18519 something starting with __ and the normal name is an alias. */
18520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18528 if { (eval echo configure:18529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18530 eval "ac_cv_func_$ac_func=yes"
18532 echo "configure: failed program was:" >&5
18533 cat conftest.$ac_ext >&5
18535 eval "ac_cv_func_$ac_func=no"
18540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18541 echo "$ac_t""yes" 1>&6
18542 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18543 cat >> confdefs.h <<EOF
18544 #define $ac_tr_func 1
18548 echo "$ac_t""no" 1>&6
18554 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18555 echo "configure:18556: checking for _logl declaration" >&5
18556 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18557 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18558 echo $ac_n "(cached) $ac_c" 1>&6
18563 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18564 ac_cpp='$CXXCPP $CPPFLAGS'
18565 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18566 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18567 cross_compiling=$ac_cv_prog_cxx_cross
18569 cat > conftest.$ac_ext <<EOF
18570 #line 18571 "configure"
18571 #include "confdefs.h"
18573 #ifdef HAVE_IEEEFP_H
18574 #include <ieeefp.h>
18581 if { (eval echo configure:18582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18583 glibcpp_cv_func__logl_use=yes
18585 echo "configure: failed program was:" >&5
18586 cat conftest.$ac_ext >&5
18588 glibcpp_cv_func__logl_use=no
18592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18593 ac_cpp='$CPP $CPPFLAGS'
18594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18596 cross_compiling=$ac_cv_prog_cc_cross
18602 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18604 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18605 for ac_func in _logl
18607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18608 echo "configure:18609: checking for $ac_func" >&5
18609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18610 echo $ac_n "(cached) $ac_c" 1>&6
18612 cat > conftest.$ac_ext <<EOF
18613 #line 18614 "configure"
18614 #include "confdefs.h"
18615 /* System header to define __stub macros and hopefully few prototypes,
18616 which can conflict with char $ac_func(); below. */
18617 #include <assert.h>
18618 /* Override any gcc2 internal prototype to avoid an error. */
18619 /* We use char because int might match the return type of a gcc2
18620 builtin and then its argument prototype would still apply. */
18625 /* The GNU C library defines this for functions which it implements
18626 to always fail with ENOSYS. Some functions are actually named
18627 something starting with __ and the normal name is an alias. */
18628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18636 if { (eval echo configure:18637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18638 eval "ac_cv_func_$ac_func=yes"
18640 echo "configure: failed program was:" >&5
18641 cat conftest.$ac_ext >&5
18643 eval "ac_cv_func_$ac_func=no"
18648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18649 echo "$ac_t""yes" 1>&6
18650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18651 cat >> confdefs.h <<EOF
18652 #define $ac_tr_func 1
18656 echo "$ac_t""no" 1>&6
18665 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18666 echo "configure:18667: checking for log10l declaration" >&5
18667 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18668 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18669 echo $ac_n "(cached) $ac_c" 1>&6
18674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18675 ac_cpp='$CXXCPP $CPPFLAGS'
18676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18678 cross_compiling=$ac_cv_prog_cxx_cross
18680 cat > conftest.$ac_ext <<EOF
18681 #line 18682 "configure"
18682 #include "confdefs.h"
18684 #ifdef HAVE_IEEEFP_H
18685 #include <ieeefp.h>
18692 if { (eval echo configure:18693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18694 glibcpp_cv_func_log10l_use=yes
18696 echo "configure: failed program was:" >&5
18697 cat conftest.$ac_ext >&5
18699 glibcpp_cv_func_log10l_use=no
18703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18704 ac_cpp='$CPP $CPPFLAGS'
18705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18707 cross_compiling=$ac_cv_prog_cc_cross
18713 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18715 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18716 for ac_func in log10l
18718 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18719 echo "configure:18720: checking for $ac_func" >&5
18720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18721 echo $ac_n "(cached) $ac_c" 1>&6
18723 cat > conftest.$ac_ext <<EOF
18724 #line 18725 "configure"
18725 #include "confdefs.h"
18726 /* System header to define __stub macros and hopefully few prototypes,
18727 which can conflict with char $ac_func(); below. */
18728 #include <assert.h>
18729 /* Override any gcc2 internal prototype to avoid an error. */
18730 /* We use char because int might match the return type of a gcc2
18731 builtin and then its argument prototype would still apply. */
18736 /* The GNU C library defines this for functions which it implements
18737 to always fail with ENOSYS. Some functions are actually named
18738 something starting with __ and the normal name is an alias. */
18739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18747 if { (eval echo configure:18748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18749 eval "ac_cv_func_$ac_func=yes"
18751 echo "configure: failed program was:" >&5
18752 cat conftest.$ac_ext >&5
18754 eval "ac_cv_func_$ac_func=no"
18759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18760 echo "$ac_t""yes" 1>&6
18761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18762 cat >> confdefs.h <<EOF
18763 #define $ac_tr_func 1
18767 echo "$ac_t""no" 1>&6
18773 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18774 echo "configure:18775: checking for _log10l declaration" >&5
18775 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18776 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18777 echo $ac_n "(cached) $ac_c" 1>&6
18782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18783 ac_cpp='$CXXCPP $CPPFLAGS'
18784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18786 cross_compiling=$ac_cv_prog_cxx_cross
18788 cat > conftest.$ac_ext <<EOF
18789 #line 18790 "configure"
18790 #include "confdefs.h"
18792 #ifdef HAVE_IEEEFP_H
18793 #include <ieeefp.h>
18800 if { (eval echo configure:18801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18802 glibcpp_cv_func__log10l_use=yes
18804 echo "configure: failed program was:" >&5
18805 cat conftest.$ac_ext >&5
18807 glibcpp_cv_func__log10l_use=no
18811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18812 ac_cpp='$CPP $CPPFLAGS'
18813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18815 cross_compiling=$ac_cv_prog_cc_cross
18821 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18823 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18824 for ac_func in _log10l
18826 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18827 echo "configure:18828: checking for $ac_func" >&5
18828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18829 echo $ac_n "(cached) $ac_c" 1>&6
18831 cat > conftest.$ac_ext <<EOF
18832 #line 18833 "configure"
18833 #include "confdefs.h"
18834 /* System header to define __stub macros and hopefully few prototypes,
18835 which can conflict with char $ac_func(); below. */
18836 #include <assert.h>
18837 /* Override any gcc2 internal prototype to avoid an error. */
18838 /* We use char because int might match the return type of a gcc2
18839 builtin and then its argument prototype would still apply. */
18844 /* The GNU C library defines this for functions which it implements
18845 to always fail with ENOSYS. Some functions are actually named
18846 something starting with __ and the normal name is an alias. */
18847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18855 if { (eval echo configure:18856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18857 eval "ac_cv_func_$ac_func=yes"
18859 echo "configure: failed program was:" >&5
18860 cat conftest.$ac_ext >&5
18862 eval "ac_cv_func_$ac_func=no"
18867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18868 echo "$ac_t""yes" 1>&6
18869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18870 cat >> confdefs.h <<EOF
18871 #define $ac_tr_func 1
18875 echo "$ac_t""no" 1>&6
18884 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18885 echo "configure:18886: checking for modfl declaration" >&5
18886 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18887 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18888 echo $ac_n "(cached) $ac_c" 1>&6
18893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18894 ac_cpp='$CXXCPP $CPPFLAGS'
18895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18897 cross_compiling=$ac_cv_prog_cxx_cross
18899 cat > conftest.$ac_ext <<EOF
18900 #line 18901 "configure"
18901 #include "confdefs.h"
18907 if { (eval echo configure:18908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18909 glibcpp_cv_func_modfl_use=yes
18911 echo "configure: failed program was:" >&5
18912 cat conftest.$ac_ext >&5
18914 glibcpp_cv_func_modfl_use=no
18918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18919 ac_cpp='$CPP $CPPFLAGS'
18920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18922 cross_compiling=$ac_cv_prog_cc_cross
18928 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18930 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18931 for ac_func in modfl
18933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18934 echo "configure:18935: checking for $ac_func" >&5
18935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18936 echo $ac_n "(cached) $ac_c" 1>&6
18938 cat > conftest.$ac_ext <<EOF
18939 #line 18940 "configure"
18940 #include "confdefs.h"
18941 /* System header to define __stub macros and hopefully few prototypes,
18942 which can conflict with char $ac_func(); below. */
18943 #include <assert.h>
18944 /* Override any gcc2 internal prototype to avoid an error. */
18945 /* We use char because int might match the return type of a gcc2
18946 builtin and then its argument prototype would still apply. */
18951 /* The GNU C library defines this for functions which it implements
18952 to always fail with ENOSYS. Some functions are actually named
18953 something starting with __ and the normal name is an alias. */
18954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18962 if { (eval echo configure:18963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18964 eval "ac_cv_func_$ac_func=yes"
18966 echo "configure: failed program was:" >&5
18967 cat conftest.$ac_ext >&5
18969 eval "ac_cv_func_$ac_func=no"
18974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18975 echo "$ac_t""yes" 1>&6
18976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18977 cat >> confdefs.h <<EOF
18978 #define $ac_tr_func 1
18982 echo "$ac_t""no" 1>&6
18988 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18989 echo "configure:18990: checking for _modfl declaration" >&5
18990 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18991 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18992 echo $ac_n "(cached) $ac_c" 1>&6
18997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18998 ac_cpp='$CXXCPP $CPPFLAGS'
18999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19001 cross_compiling=$ac_cv_prog_cxx_cross
19003 cat > conftest.$ac_ext <<EOF
19004 #line 19005 "configure"
19005 #include "confdefs.h"
19011 if { (eval echo configure:19012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19013 glibcpp_cv_func__modfl_use=yes
19015 echo "configure: failed program was:" >&5
19016 cat conftest.$ac_ext >&5
19018 glibcpp_cv_func__modfl_use=no
19022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19023 ac_cpp='$CPP $CPPFLAGS'
19024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19026 cross_compiling=$ac_cv_prog_cc_cross
19032 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19034 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19035 for ac_func in _modfl
19037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19038 echo "configure:19039: checking for $ac_func" >&5
19039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19040 echo $ac_n "(cached) $ac_c" 1>&6
19042 cat > conftest.$ac_ext <<EOF
19043 #line 19044 "configure"
19044 #include "confdefs.h"
19045 /* System header to define __stub macros and hopefully few prototypes,
19046 which can conflict with char $ac_func(); below. */
19047 #include <assert.h>
19048 /* Override any gcc2 internal prototype to avoid an error. */
19049 /* We use char because int might match the return type of a gcc2
19050 builtin and then its argument prototype would still apply. */
19055 /* The GNU C library defines this for functions which it implements
19056 to always fail with ENOSYS. Some functions are actually named
19057 something starting with __ and the normal name is an alias. */
19058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19066 if { (eval echo configure:19067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19068 eval "ac_cv_func_$ac_func=yes"
19070 echo "configure: failed program was:" >&5
19071 cat conftest.$ac_ext >&5
19073 eval "ac_cv_func_$ac_func=no"
19078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19079 echo "$ac_t""yes" 1>&6
19080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19081 cat >> confdefs.h <<EOF
19082 #define $ac_tr_func 1
19086 echo "$ac_t""no" 1>&6
19095 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19096 echo "configure:19097: checking for powl declaration" >&5
19097 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19098 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19099 echo $ac_n "(cached) $ac_c" 1>&6
19104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19105 ac_cpp='$CXXCPP $CPPFLAGS'
19106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19108 cross_compiling=$ac_cv_prog_cxx_cross
19110 cat > conftest.$ac_ext <<EOF
19111 #line 19112 "configure"
19112 #include "confdefs.h"
19118 if { (eval echo configure:19119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19120 glibcpp_cv_func_powl_use=yes
19122 echo "configure: failed program was:" >&5
19123 cat conftest.$ac_ext >&5
19125 glibcpp_cv_func_powl_use=no
19129 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19130 ac_cpp='$CPP $CPPFLAGS'
19131 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19132 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19133 cross_compiling=$ac_cv_prog_cc_cross
19139 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19141 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19142 for ac_func in powl
19144 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19145 echo "configure:19146: checking for $ac_func" >&5
19146 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19147 echo $ac_n "(cached) $ac_c" 1>&6
19149 cat > conftest.$ac_ext <<EOF
19150 #line 19151 "configure"
19151 #include "confdefs.h"
19152 /* System header to define __stub macros and hopefully few prototypes,
19153 which can conflict with char $ac_func(); below. */
19154 #include <assert.h>
19155 /* Override any gcc2 internal prototype to avoid an error. */
19156 /* We use char because int might match the return type of a gcc2
19157 builtin and then its argument prototype would still apply. */
19162 /* The GNU C library defines this for functions which it implements
19163 to always fail with ENOSYS. Some functions are actually named
19164 something starting with __ and the normal name is an alias. */
19165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19173 if { (eval echo configure:19174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19175 eval "ac_cv_func_$ac_func=yes"
19177 echo "configure: failed program was:" >&5
19178 cat conftest.$ac_ext >&5
19180 eval "ac_cv_func_$ac_func=no"
19185 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19186 echo "$ac_t""yes" 1>&6
19187 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19188 cat >> confdefs.h <<EOF
19189 #define $ac_tr_func 1
19193 echo "$ac_t""no" 1>&6
19199 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19200 echo "configure:19201: checking for _powl declaration" >&5
19201 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19202 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19203 echo $ac_n "(cached) $ac_c" 1>&6
19208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19209 ac_cpp='$CXXCPP $CPPFLAGS'
19210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19212 cross_compiling=$ac_cv_prog_cxx_cross
19214 cat > conftest.$ac_ext <<EOF
19215 #line 19216 "configure"
19216 #include "confdefs.h"
19222 if { (eval echo configure:19223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19224 glibcpp_cv_func__powl_use=yes
19226 echo "configure: failed program was:" >&5
19227 cat conftest.$ac_ext >&5
19229 glibcpp_cv_func__powl_use=no
19233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19234 ac_cpp='$CPP $CPPFLAGS'
19235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19237 cross_compiling=$ac_cv_prog_cc_cross
19243 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19245 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19246 for ac_func in _powl
19248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19249 echo "configure:19250: checking for $ac_func" >&5
19250 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19251 echo $ac_n "(cached) $ac_c" 1>&6
19253 cat > conftest.$ac_ext <<EOF
19254 #line 19255 "configure"
19255 #include "confdefs.h"
19256 /* System header to define __stub macros and hopefully few prototypes,
19257 which can conflict with char $ac_func(); below. */
19258 #include <assert.h>
19259 /* Override any gcc2 internal prototype to avoid an error. */
19260 /* We use char because int might match the return type of a gcc2
19261 builtin and then its argument prototype would still apply. */
19266 /* The GNU C library defines this for functions which it implements
19267 to always fail with ENOSYS. Some functions are actually named
19268 something starting with __ and the normal name is an alias. */
19269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19277 if { (eval echo configure:19278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19279 eval "ac_cv_func_$ac_func=yes"
19281 echo "configure: failed program was:" >&5
19282 cat conftest.$ac_ext >&5
19284 eval "ac_cv_func_$ac_func=no"
19289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19290 echo "$ac_t""yes" 1>&6
19291 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19292 cat >> confdefs.h <<EOF
19293 #define $ac_tr_func 1
19297 echo "$ac_t""no" 1>&6
19306 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19307 echo "configure:19308: checking for sqrtl declaration" >&5
19308 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19309 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19310 echo $ac_n "(cached) $ac_c" 1>&6
19315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19316 ac_cpp='$CXXCPP $CPPFLAGS'
19317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19319 cross_compiling=$ac_cv_prog_cxx_cross
19321 cat > conftest.$ac_ext <<EOF
19322 #line 19323 "configure"
19323 #include "confdefs.h"
19325 #ifdef HAVE_IEEEFP_H
19326 #include <ieeefp.h>
19333 if { (eval echo configure:19334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19335 glibcpp_cv_func_sqrtl_use=yes
19337 echo "configure: failed program was:" >&5
19338 cat conftest.$ac_ext >&5
19340 glibcpp_cv_func_sqrtl_use=no
19344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19345 ac_cpp='$CPP $CPPFLAGS'
19346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19348 cross_compiling=$ac_cv_prog_cc_cross
19354 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19356 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19357 for ac_func in sqrtl
19359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19360 echo "configure:19361: checking for $ac_func" >&5
19361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19362 echo $ac_n "(cached) $ac_c" 1>&6
19364 cat > conftest.$ac_ext <<EOF
19365 #line 19366 "configure"
19366 #include "confdefs.h"
19367 /* System header to define __stub macros and hopefully few prototypes,
19368 which can conflict with char $ac_func(); below. */
19369 #include <assert.h>
19370 /* Override any gcc2 internal prototype to avoid an error. */
19371 /* We use char because int might match the return type of a gcc2
19372 builtin and then its argument prototype would still apply. */
19377 /* The GNU C library defines this for functions which it implements
19378 to always fail with ENOSYS. Some functions are actually named
19379 something starting with __ and the normal name is an alias. */
19380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19388 if { (eval echo configure:19389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19390 eval "ac_cv_func_$ac_func=yes"
19392 echo "configure: failed program was:" >&5
19393 cat conftest.$ac_ext >&5
19395 eval "ac_cv_func_$ac_func=no"
19400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19401 echo "$ac_t""yes" 1>&6
19402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19403 cat >> confdefs.h <<EOF
19404 #define $ac_tr_func 1
19408 echo "$ac_t""no" 1>&6
19414 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19415 echo "configure:19416: checking for _sqrtl declaration" >&5
19416 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19417 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19418 echo $ac_n "(cached) $ac_c" 1>&6
19423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19424 ac_cpp='$CXXCPP $CPPFLAGS'
19425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19427 cross_compiling=$ac_cv_prog_cxx_cross
19429 cat > conftest.$ac_ext <<EOF
19430 #line 19431 "configure"
19431 #include "confdefs.h"
19433 #ifdef HAVE_IEEEFP_H
19434 #include <ieeefp.h>
19441 if { (eval echo configure:19442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19443 glibcpp_cv_func__sqrtl_use=yes
19445 echo "configure: failed program was:" >&5
19446 cat conftest.$ac_ext >&5
19448 glibcpp_cv_func__sqrtl_use=no
19452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19453 ac_cpp='$CPP $CPPFLAGS'
19454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19456 cross_compiling=$ac_cv_prog_cc_cross
19462 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19464 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19465 for ac_func in _sqrtl
19467 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19468 echo "configure:19469: checking for $ac_func" >&5
19469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19470 echo $ac_n "(cached) $ac_c" 1>&6
19472 cat > conftest.$ac_ext <<EOF
19473 #line 19474 "configure"
19474 #include "confdefs.h"
19475 /* System header to define __stub macros and hopefully few prototypes,
19476 which can conflict with char $ac_func(); below. */
19477 #include <assert.h>
19478 /* Override any gcc2 internal prototype to avoid an error. */
19479 /* We use char because int might match the return type of a gcc2
19480 builtin and then its argument prototype would still apply. */
19485 /* The GNU C library defines this for functions which it implements
19486 to always fail with ENOSYS. Some functions are actually named
19487 something starting with __ and the normal name is an alias. */
19488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19496 if { (eval echo configure:19497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19498 eval "ac_cv_func_$ac_func=yes"
19500 echo "configure: failed program was:" >&5
19501 cat conftest.$ac_ext >&5
19503 eval "ac_cv_func_$ac_func=no"
19508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19509 echo "$ac_t""yes" 1>&6
19510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19511 cat >> confdefs.h <<EOF
19512 #define $ac_tr_func 1
19516 echo "$ac_t""no" 1>&6
19525 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19526 echo "configure:19527: checking for sincosl declaration" >&5
19527 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19528 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19529 echo $ac_n "(cached) $ac_c" 1>&6
19534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19535 ac_cpp='$CXXCPP $CPPFLAGS'
19536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19538 cross_compiling=$ac_cv_prog_cxx_cross
19540 cat > conftest.$ac_ext <<EOF
19541 #line 19542 "configure"
19542 #include "confdefs.h"
19548 if { (eval echo configure:19549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19550 glibcpp_cv_func_sincosl_use=yes
19552 echo "configure: failed program was:" >&5
19553 cat conftest.$ac_ext >&5
19555 glibcpp_cv_func_sincosl_use=no
19559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19560 ac_cpp='$CPP $CPPFLAGS'
19561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19563 cross_compiling=$ac_cv_prog_cc_cross
19569 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19571 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19572 for ac_func in sincosl
19574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19575 echo "configure:19576: checking for $ac_func" >&5
19576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19577 echo $ac_n "(cached) $ac_c" 1>&6
19579 cat > conftest.$ac_ext <<EOF
19580 #line 19581 "configure"
19581 #include "confdefs.h"
19582 /* System header to define __stub macros and hopefully few prototypes,
19583 which can conflict with char $ac_func(); below. */
19584 #include <assert.h>
19585 /* Override any gcc2 internal prototype to avoid an error. */
19586 /* We use char because int might match the return type of a gcc2
19587 builtin and then its argument prototype would still apply. */
19592 /* The GNU C library defines this for functions which it implements
19593 to always fail with ENOSYS. Some functions are actually named
19594 something starting with __ and the normal name is an alias. */
19595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19603 if { (eval echo configure:19604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19605 eval "ac_cv_func_$ac_func=yes"
19607 echo "configure: failed program was:" >&5
19608 cat conftest.$ac_ext >&5
19610 eval "ac_cv_func_$ac_func=no"
19615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19616 echo "$ac_t""yes" 1>&6
19617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19618 cat >> confdefs.h <<EOF
19619 #define $ac_tr_func 1
19623 echo "$ac_t""no" 1>&6
19629 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19630 echo "configure:19631: checking for _sincosl declaration" >&5
19631 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19632 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19633 echo $ac_n "(cached) $ac_c" 1>&6
19638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19639 ac_cpp='$CXXCPP $CPPFLAGS'
19640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19642 cross_compiling=$ac_cv_prog_cxx_cross
19644 cat > conftest.$ac_ext <<EOF
19645 #line 19646 "configure"
19646 #include "confdefs.h"
19652 if { (eval echo configure:19653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19654 glibcpp_cv_func__sincosl_use=yes
19656 echo "configure: failed program was:" >&5
19657 cat conftest.$ac_ext >&5
19659 glibcpp_cv_func__sincosl_use=no
19663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19664 ac_cpp='$CPP $CPPFLAGS'
19665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19667 cross_compiling=$ac_cv_prog_cc_cross
19673 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19675 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19676 for ac_func in _sincosl
19678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19679 echo "configure:19680: checking for $ac_func" >&5
19680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19681 echo $ac_n "(cached) $ac_c" 1>&6
19683 cat > conftest.$ac_ext <<EOF
19684 #line 19685 "configure"
19685 #include "confdefs.h"
19686 /* System header to define __stub macros and hopefully few prototypes,
19687 which can conflict with char $ac_func(); below. */
19688 #include <assert.h>
19689 /* Override any gcc2 internal prototype to avoid an error. */
19690 /* We use char because int might match the return type of a gcc2
19691 builtin and then its argument prototype would still apply. */
19696 /* The GNU C library defines this for functions which it implements
19697 to always fail with ENOSYS. Some functions are actually named
19698 something starting with __ and the normal name is an alias. */
19699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19707 if { (eval echo configure:19708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19709 eval "ac_cv_func_$ac_func=yes"
19711 echo "configure: failed program was:" >&5
19712 cat conftest.$ac_ext >&5
19714 eval "ac_cv_func_$ac_func=no"
19719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19720 echo "$ac_t""yes" 1>&6
19721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19722 cat >> confdefs.h <<EOF
19723 #define $ac_tr_func 1
19727 echo "$ac_t""no" 1>&6
19736 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19737 echo "configure:19738: checking for finitel declaration" >&5
19738 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19739 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19740 echo $ac_n "(cached) $ac_c" 1>&6
19745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19746 ac_cpp='$CXXCPP $CPPFLAGS'
19747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19749 cross_compiling=$ac_cv_prog_cxx_cross
19751 cat > conftest.$ac_ext <<EOF
19752 #line 19753 "configure"
19753 #include "confdefs.h"
19755 #ifdef HAVE_IEEEFP_H
19756 #include <ieeefp.h>
19763 if { (eval echo configure:19764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19765 glibcpp_cv_func_finitel_use=yes
19767 echo "configure: failed program was:" >&5
19768 cat conftest.$ac_ext >&5
19770 glibcpp_cv_func_finitel_use=no
19774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19778 cross_compiling=$ac_cv_prog_cc_cross
19784 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19786 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19787 for ac_func in finitel
19789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19790 echo "configure:19791: checking for $ac_func" >&5
19791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19792 echo $ac_n "(cached) $ac_c" 1>&6
19794 cat > conftest.$ac_ext <<EOF
19795 #line 19796 "configure"
19796 #include "confdefs.h"
19797 /* System header to define __stub macros and hopefully few prototypes,
19798 which can conflict with char $ac_func(); below. */
19799 #include <assert.h>
19800 /* Override any gcc2 internal prototype to avoid an error. */
19801 /* We use char because int might match the return type of a gcc2
19802 builtin and then its argument prototype would still apply. */
19807 /* The GNU C library defines this for functions which it implements
19808 to always fail with ENOSYS. Some functions are actually named
19809 something starting with __ and the normal name is an alias. */
19810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19818 if { (eval echo configure:19819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19820 eval "ac_cv_func_$ac_func=yes"
19822 echo "configure: failed program was:" >&5
19823 cat conftest.$ac_ext >&5
19825 eval "ac_cv_func_$ac_func=no"
19830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19831 echo "$ac_t""yes" 1>&6
19832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19833 cat >> confdefs.h <<EOF
19834 #define $ac_tr_func 1
19838 echo "$ac_t""no" 1>&6
19844 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19845 echo "configure:19846: checking for _finitel declaration" >&5
19846 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19847 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19848 echo $ac_n "(cached) $ac_c" 1>&6
19853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19854 ac_cpp='$CXXCPP $CPPFLAGS'
19855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19857 cross_compiling=$ac_cv_prog_cxx_cross
19859 cat > conftest.$ac_ext <<EOF
19860 #line 19861 "configure"
19861 #include "confdefs.h"
19863 #ifdef HAVE_IEEEFP_H
19864 #include <ieeefp.h>
19871 if { (eval echo configure:19872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19873 glibcpp_cv_func__finitel_use=yes
19875 echo "configure: failed program was:" >&5
19876 cat conftest.$ac_ext >&5
19878 glibcpp_cv_func__finitel_use=no
19882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19883 ac_cpp='$CPP $CPPFLAGS'
19884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19886 cross_compiling=$ac_cv_prog_cc_cross
19892 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19894 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19895 for ac_func in _finitel
19897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19898 echo "configure:19899: checking for $ac_func" >&5
19899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19900 echo $ac_n "(cached) $ac_c" 1>&6
19902 cat > conftest.$ac_ext <<EOF
19903 #line 19904 "configure"
19904 #include "confdefs.h"
19905 /* System header to define __stub macros and hopefully few prototypes,
19906 which can conflict with char $ac_func(); below. */
19907 #include <assert.h>
19908 /* Override any gcc2 internal prototype to avoid an error. */
19909 /* We use char because int might match the return type of a gcc2
19910 builtin and then its argument prototype would still apply. */
19915 /* The GNU C library defines this for functions which it implements
19916 to always fail with ENOSYS. Some functions are actually named
19917 something starting with __ and the normal name is an alias. */
19918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19926 if { (eval echo configure:19927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19928 eval "ac_cv_func_$ac_func=yes"
19930 echo "configure: failed program was:" >&5
19931 cat conftest.$ac_ext >&5
19933 eval "ac_cv_func_$ac_func=no"
19938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19939 echo "$ac_t""yes" 1>&6
19940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19941 cat >> confdefs.h <<EOF
19942 #define $ac_tr_func 1
19946 echo "$ac_t""no" 1>&6
19956 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19957 echo "configure:19958: checking for _float trig functions" >&5
19958 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19959 echo $ac_n "(cached) $ac_c" 1>&6
19964 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19965 ac_cpp='$CXXCPP $CPPFLAGS'
19966 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19967 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19968 cross_compiling=$ac_cv_prog_cxx_cross
19970 cat > conftest.$ac_ext <<EOF
19971 #line 19972 "configure"
19972 #include "confdefs.h"
19975 `for x in _acosf _asinf _atanf \
19976 _cosf _sinf _tanf \
19977 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19980 if { (eval echo configure:19981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19982 glibcpp_cv_func__float_trig_use=yes
19984 echo "configure: failed program was:" >&5
19985 cat conftest.$ac_ext >&5
19987 glibcpp_cv_func__float_trig_use=no
19991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19992 ac_cpp='$CPP $CPPFLAGS'
19993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19995 cross_compiling=$ac_cv_prog_cc_cross
19999 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20000 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20001 for ac_func in _acosf _asinf _atanf \
20002 _cosf _sinf _tanf \
20003 _coshf _sinhf _tanhf
20005 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20006 echo "configure:20007: checking for $ac_func" >&5
20007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20008 echo $ac_n "(cached) $ac_c" 1>&6
20010 cat > conftest.$ac_ext <<EOF
20011 #line 20012 "configure"
20012 #include "confdefs.h"
20013 /* System header to define __stub macros and hopefully few prototypes,
20014 which can conflict with char $ac_func(); below. */
20015 #include <assert.h>
20016 /* Override any gcc2 internal prototype to avoid an error. */
20017 /* We use char because int might match the return type of a gcc2
20018 builtin and then its argument prototype would still apply. */
20023 /* The GNU C library defines this for functions which it implements
20024 to always fail with ENOSYS. Some functions are actually named
20025 something starting with __ and the normal name is an alias. */
20026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20034 if { (eval echo configure:20035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20036 eval "ac_cv_func_$ac_func=yes"
20038 echo "configure: failed program was:" >&5
20039 cat conftest.$ac_ext >&5
20041 eval "ac_cv_func_$ac_func=no"
20046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20047 echo "$ac_t""yes" 1>&6
20048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20049 cat >> confdefs.h <<EOF
20050 #define $ac_tr_func 1
20054 echo "$ac_t""no" 1>&6
20061 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20062 echo "configure:20063: checking for _float round functions" >&5
20063 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20064 echo $ac_n "(cached) $ac_c" 1>&6
20069 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20070 ac_cpp='$CXXCPP $CPPFLAGS'
20071 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20072 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20073 cross_compiling=$ac_cv_prog_cxx_cross
20075 cat > conftest.$ac_ext <<EOF
20076 #line 20077 "configure"
20077 #include "confdefs.h"
20080 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20083 if { (eval echo configure:20084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20085 glibcpp_cv_func__float_round_use=yes
20087 echo "configure: failed program was:" >&5
20088 cat conftest.$ac_ext >&5
20090 glibcpp_cv_func__float_round_use=no
20094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20098 cross_compiling=$ac_cv_prog_cc_cross
20102 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20103 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20104 for ac_func in _ceilf _floorf
20106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20107 echo "configure:20108: checking for $ac_func" >&5
20108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20109 echo $ac_n "(cached) $ac_c" 1>&6
20111 cat > conftest.$ac_ext <<EOF
20112 #line 20113 "configure"
20113 #include "confdefs.h"
20114 /* System header to define __stub macros and hopefully few prototypes,
20115 which can conflict with char $ac_func(); below. */
20116 #include <assert.h>
20117 /* Override any gcc2 internal prototype to avoid an error. */
20118 /* We use char because int might match the return type of a gcc2
20119 builtin and then its argument prototype would still apply. */
20124 /* The GNU C library defines this for functions which it implements
20125 to always fail with ENOSYS. Some functions are actually named
20126 something starting with __ and the normal name is an alias. */
20127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20135 if { (eval echo configure:20136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20137 eval "ac_cv_func_$ac_func=yes"
20139 echo "configure: failed program was:" >&5
20140 cat conftest.$ac_ext >&5
20142 eval "ac_cv_func_$ac_func=no"
20147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20148 echo "$ac_t""yes" 1>&6
20149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20150 cat >> confdefs.h <<EOF
20151 #define $ac_tr_func 1
20155 echo "$ac_t""no" 1>&6
20163 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20164 echo "configure:20165: checking for _long double trig functions" >&5
20165 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20166 echo $ac_n "(cached) $ac_c" 1>&6
20171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20172 ac_cpp='$CXXCPP $CPPFLAGS'
20173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20175 cross_compiling=$ac_cv_prog_cxx_cross
20177 cat > conftest.$ac_ext <<EOF
20178 #line 20179 "configure"
20179 #include "confdefs.h"
20182 `for x in _acosl _asinl _atanl \
20183 _cosl _sinl _tanl \
20184 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20187 if { (eval echo configure:20188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20189 glibcpp_cv_func__long_double_trig_use=yes
20191 echo "configure: failed program was:" >&5
20192 cat conftest.$ac_ext >&5
20194 glibcpp_cv_func__long_double_trig_use=no
20198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20201 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20202 cross_compiling=$ac_cv_prog_cc_cross
20206 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20207 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20208 for ac_func in _acosl _asinl _atanl \
20209 _cosl _sinl _tanl \
20210 _coshl _sinhl _tanhl
20212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20213 echo "configure:20214: checking for $ac_func" >&5
20214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20215 echo $ac_n "(cached) $ac_c" 1>&6
20217 cat > conftest.$ac_ext <<EOF
20218 #line 20219 "configure"
20219 #include "confdefs.h"
20220 /* System header to define __stub macros and hopefully few prototypes,
20221 which can conflict with char $ac_func(); below. */
20222 #include <assert.h>
20223 /* Override any gcc2 internal prototype to avoid an error. */
20224 /* We use char because int might match the return type of a gcc2
20225 builtin and then its argument prototype would still apply. */
20230 /* The GNU C library defines this for functions which it implements
20231 to always fail with ENOSYS. Some functions are actually named
20232 something starting with __ and the normal name is an alias. */
20233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20241 if { (eval echo configure:20242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20243 eval "ac_cv_func_$ac_func=yes"
20245 echo "configure: failed program was:" >&5
20246 cat conftest.$ac_ext >&5
20248 eval "ac_cv_func_$ac_func=no"
20253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20254 echo "$ac_t""yes" 1>&6
20255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20256 cat >> confdefs.h <<EOF
20257 #define $ac_tr_func 1
20261 echo "$ac_t""no" 1>&6
20268 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20269 echo "configure:20270: checking for _long double round functions" >&5
20270 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20271 echo $ac_n "(cached) $ac_c" 1>&6
20276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20277 ac_cpp='$CXXCPP $CPPFLAGS'
20278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20280 cross_compiling=$ac_cv_prog_cxx_cross
20282 cat > conftest.$ac_ext <<EOF
20283 #line 20284 "configure"
20284 #include "confdefs.h"
20287 `for x in _ceill _floorl; do echo "$x (0);"; done`
20290 if { (eval echo configure:20291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20292 glibcpp_cv_func__long_double_round_use=yes
20294 echo "configure: failed program was:" >&5
20295 cat conftest.$ac_ext >&5
20297 glibcpp_cv_func__long_double_round_use=no
20301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20302 ac_cpp='$CPP $CPPFLAGS'
20303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20305 cross_compiling=$ac_cv_prog_cc_cross
20309 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20310 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20311 for ac_func in _ceill _floorl
20313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20314 echo "configure:20315: checking for $ac_func" >&5
20315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20316 echo $ac_n "(cached) $ac_c" 1>&6
20318 cat > conftest.$ac_ext <<EOF
20319 #line 20320 "configure"
20320 #include "confdefs.h"
20321 /* System header to define __stub macros and hopefully few prototypes,
20322 which can conflict with char $ac_func(); below. */
20323 #include <assert.h>
20324 /* Override any gcc2 internal prototype to avoid an error. */
20325 /* We use char because int might match the return type of a gcc2
20326 builtin and then its argument prototype would still apply. */
20331 /* The GNU C library defines this for functions which it implements
20332 to always fail with ENOSYS. Some functions are actually named
20333 something starting with __ and the normal name is an alias. */
20334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
20346 echo "configure: failed program was:" >&5
20347 cat conftest.$ac_ext >&5
20349 eval "ac_cv_func_$ac_func=no"
20354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20355 echo "$ac_t""yes" 1>&6
20356 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20357 cat >> confdefs.h <<EOF
20358 #define $ac_tr_func 1
20362 echo "$ac_t""no" 1>&6
20369 LIBS="$ac_save_LIBS"
20370 CXXFLAGS="$ac_save_CXXFLAGS"
20373 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20374 echo "configure:20375: checking for main in -lm" >&5
20375 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20377 echo $ac_n "(cached) $ac_c" 1>&6
20379 ac_save_LIBS="$LIBS"
20381 cat > conftest.$ac_ext <<EOF
20382 #line 20383 "configure"
20383 #include "confdefs.h"
20389 if { (eval echo configure:20390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20391 eval "ac_cv_lib_$ac_lib_var=yes"
20393 echo "configure: failed program was:" >&5
20394 cat conftest.$ac_ext >&5
20396 eval "ac_cv_lib_$ac_lib_var=no"
20399 LIBS="$ac_save_LIBS"
20402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20403 echo "$ac_t""yes" 1>&6
20404 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20405 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20406 cat >> confdefs.h <<EOF
20407 #define $ac_tr_lib 1
20413 echo "$ac_t""no" 1>&6
20416 for ac_func in nan copysignf
20418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20419 echo "configure:20420: checking for $ac_func" >&5
20420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20421 echo $ac_n "(cached) $ac_c" 1>&6
20423 cat > conftest.$ac_ext <<EOF
20424 #line 20425 "configure"
20425 #include "confdefs.h"
20426 /* System header to define __stub macros and hopefully few prototypes,
20427 which can conflict with char $ac_func(); below. */
20428 #include <assert.h>
20429 /* Override any gcc2 internal prototype to avoid an error. */
20430 /* We use char because int might match the return type of a gcc2
20431 builtin and then its argument prototype would still apply. */
20436 /* The GNU C library defines this for functions which it implements
20437 to always fail with ENOSYS. Some functions are actually named
20438 something starting with __ and the normal name is an alias. */
20439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20447 if { (eval echo configure:20448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20449 eval "ac_cv_func_$ac_func=yes"
20451 echo "configure: failed program was:" >&5
20452 cat conftest.$ac_ext >&5
20454 eval "ac_cv_func_$ac_func=no"
20459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20460 echo "$ac_t""yes" 1>&6
20461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20462 cat >> confdefs.h <<EOF
20463 #define $ac_tr_func 1
20467 echo "$ac_t""no" 1>&6
20468 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20473 for ac_func in __signbit
20475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20476 echo "configure:20477: checking for $ac_func" >&5
20477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20478 echo $ac_n "(cached) $ac_c" 1>&6
20480 cat > conftest.$ac_ext <<EOF
20481 #line 20482 "configure"
20482 #include "confdefs.h"
20483 /* System header to define __stub macros and hopefully few prototypes,
20484 which can conflict with char $ac_func(); below. */
20485 #include <assert.h>
20486 /* Override any gcc2 internal prototype to avoid an error. */
20487 /* We use char because int might match the return type of a gcc2
20488 builtin and then its argument prototype would still apply. */
20493 /* The GNU C library defines this for functions which it implements
20494 to always fail with ENOSYS. Some functions are actually named
20495 something starting with __ and the normal name is an alias. */
20496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20504 if { (eval echo configure:20505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20506 eval "ac_cv_func_$ac_func=yes"
20508 echo "configure: failed program was:" >&5
20509 cat conftest.$ac_ext >&5
20511 eval "ac_cv_func_$ac_func=no"
20516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20517 echo "$ac_t""yes" 1>&6
20518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20519 cat >> confdefs.h <<EOF
20520 #define $ac_tr_func 1
20524 echo "$ac_t""no" 1>&6
20525 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20529 for ac_func in __signbitf
20531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20532 echo "configure:20533: checking for $ac_func" >&5
20533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20534 echo $ac_n "(cached) $ac_c" 1>&6
20536 cat > conftest.$ac_ext <<EOF
20537 #line 20538 "configure"
20538 #include "confdefs.h"
20539 /* System header to define __stub macros and hopefully few prototypes,
20540 which can conflict with char $ac_func(); below. */
20541 #include <assert.h>
20542 /* Override any gcc2 internal prototype to avoid an error. */
20543 /* We use char because int might match the return type of a gcc2
20544 builtin and then its argument prototype would still apply. */
20549 /* The GNU C library defines this for functions which it implements
20550 to always fail with ENOSYS. Some functions are actually named
20551 something starting with __ and the normal name is an alias. */
20552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20560 if { (eval echo configure:20561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20562 eval "ac_cv_func_$ac_func=yes"
20564 echo "configure: failed program was:" >&5
20565 cat conftest.$ac_ext >&5
20567 eval "ac_cv_func_$ac_func=no"
20572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20573 echo "$ac_t""yes" 1>&6
20574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20575 cat >> confdefs.h <<EOF
20576 #define $ac_tr_func 1
20580 echo "$ac_t""no" 1>&6
20581 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20586 if test x$ac_cv_func_copysignl = x"yes"; then
20587 for ac_func in __signbitl
20589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20590 echo "configure:20591: checking for $ac_func" >&5
20591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20592 echo $ac_n "(cached) $ac_c" 1>&6
20594 cat > conftest.$ac_ext <<EOF
20595 #line 20596 "configure"
20596 #include "confdefs.h"
20597 /* System header to define __stub macros and hopefully few prototypes,
20598 which can conflict with char $ac_func(); below. */
20599 #include <assert.h>
20600 /* Override any gcc2 internal prototype to avoid an error. */
20601 /* We use char because int might match the return type of a gcc2
20602 builtin and then its argument prototype would still apply. */
20607 /* The GNU C library defines this for functions which it implements
20608 to always fail with ENOSYS. Some functions are actually named
20609 something starting with __ and the normal name is an alias. */
20610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20618 if { (eval echo configure:20619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20620 eval "ac_cv_func_$ac_func=yes"
20622 echo "configure: failed program was:" >&5
20623 cat conftest.$ac_ext >&5
20625 eval "ac_cv_func_$ac_func=no"
20630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20631 echo "$ac_t""yes" 1>&6
20632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20633 cat >> confdefs.h <<EOF
20634 #define $ac_tr_func 1
20638 echo "$ac_t""no" 1>&6
20639 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20649 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20650 echo "configure:20651: checking for mbstate_t" >&5
20651 cat > conftest.$ac_ext <<EOF
20652 #line 20653 "configure"
20653 #include "confdefs.h"
20656 mbstate_t teststate;
20659 if { (eval echo configure:20660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20663 echo "configure: failed program was:" >&5
20664 cat conftest.$ac_ext >&5
20669 echo "$ac_t""$have_mbstate_t" 1>&6
20670 if test x"$have_mbstate_t" = xyes; then
20671 cat >> confdefs.h <<\EOF
20672 #define HAVE_MBSTATE_T 1
20677 for ac_hdr in wchar.h
20679 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20680 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20681 echo "configure:20682: checking for $ac_hdr" >&5
20682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20683 echo $ac_n "(cached) $ac_c" 1>&6
20685 cat > conftest.$ac_ext <<EOF
20686 #line 20687 "configure"
20687 #include "confdefs.h"
20690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20691 { (eval echo configure:20692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20693 if test -z "$ac_err"; then
20695 eval "ac_cv_header_$ac_safe=yes"
20698 echo "configure: failed program was:" >&5
20699 cat conftest.$ac_ext >&5
20701 eval "ac_cv_header_$ac_safe=no"
20705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20706 echo "$ac_t""yes" 1>&6
20707 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20708 cat >> confdefs.h <<EOF
20709 #define $ac_tr_hdr 1
20713 echo "$ac_t""no" 1>&6
20718 for ac_hdr in wctype.h
20720 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20721 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20722 echo "configure:20723: checking for $ac_hdr" >&5
20723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20724 echo $ac_n "(cached) $ac_c" 1>&6
20726 cat > conftest.$ac_ext <<EOF
20727 #line 20728 "configure"
20728 #include "confdefs.h"
20731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20732 { (eval echo configure:20733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20734 if test -z "$ac_err"; then
20736 eval "ac_cv_header_$ac_safe=yes"
20739 echo "configure: failed program was:" >&5
20740 cat conftest.$ac_ext >&5
20742 eval "ac_cv_header_$ac_safe=no"
20746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20747 echo "$ac_t""yes" 1>&6
20748 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20749 cat >> confdefs.h <<EOF
20750 #define $ac_tr_hdr 1
20752 ac_has_wctype_h=yes
20754 echo "$ac_t""no" 1>&6
20760 if test x"$ac_has_wchar_h" = xyes &&
20761 test x"$ac_has_wctype_h" = xyes &&
20762 test x"$enable_c_mbchar" != xno; then
20764 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20765 echo "configure:20766: checking for WCHAR_MIN and WCHAR_MAX" >&5
20766 cat > conftest.$ac_ext <<EOF
20767 #line 20768 "configure"
20768 #include "confdefs.h"
20771 int i = WCHAR_MIN; int j = WCHAR_MAX;
20774 if { (eval echo configure:20775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20776 has_wchar_minmax=yes
20778 echo "configure: failed program was:" >&5
20779 cat conftest.$ac_ext >&5
20781 has_wchar_minmax=no
20784 echo "$ac_t""$has_wchar_minmax" 1>&6
20786 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20787 echo "configure:20788: checking for WEOF" >&5
20788 cat > conftest.$ac_ext <<EOF
20789 #line 20790 "configure"
20790 #include "confdefs.h"
20793 #include <stddef.h>
20798 if { (eval echo configure:20799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20802 echo "configure: failed program was:" >&5
20803 cat conftest.$ac_ext >&5
20808 echo "$ac_t""$has_weof" 1>&6
20811 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20814 echo "configure:20815: checking for $ac_func" >&5
20815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20816 echo $ac_n "(cached) $ac_c" 1>&6
20818 cat > conftest.$ac_ext <<EOF
20819 #line 20820 "configure"
20820 #include "confdefs.h"
20821 /* System header to define __stub macros and hopefully few prototypes,
20822 which can conflict with char $ac_func(); below. */
20823 #include <assert.h>
20824 /* Override any gcc2 internal prototype to avoid an error. */
20825 /* We use char because int might match the return type of a gcc2
20826 builtin and then its argument prototype would still apply. */
20831 /* The GNU C library defines this for functions which it implements
20832 to always fail with ENOSYS. Some functions are actually named
20833 something starting with __ and the normal name is an alias. */
20834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20842 if { (eval echo configure:20843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20844 eval "ac_cv_func_$ac_func=yes"
20846 echo "configure: failed program was:" >&5
20847 cat conftest.$ac_ext >&5
20849 eval "ac_cv_func_$ac_func=no"
20854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20855 echo "$ac_t""yes" 1>&6
20856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20857 cat >> confdefs.h <<EOF
20858 #define $ac_tr_func 1
20862 echo "$ac_t""no" 1>&6
20869 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20870 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20871 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20872 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20873 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20874 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20877 echo "configure:20878: checking for $ac_func" >&5
20878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20879 echo $ac_n "(cached) $ac_c" 1>&6
20881 cat > conftest.$ac_ext <<EOF
20882 #line 20883 "configure"
20883 #include "confdefs.h"
20884 /* System header to define __stub macros and hopefully few prototypes,
20885 which can conflict with char $ac_func(); below. */
20886 #include <assert.h>
20887 /* Override any gcc2 internal prototype to avoid an error. */
20888 /* We use char because int might match the return type of a gcc2
20889 builtin and then its argument prototype would still apply. */
20894 /* The GNU C library defines this for functions which it implements
20895 to always fail with ENOSYS. Some functions are actually named
20896 something starting with __ and the normal name is an alias. */
20897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20905 if { (eval echo configure:20906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20907 eval "ac_cv_func_$ac_func=yes"
20909 echo "configure: failed program was:" >&5
20910 cat conftest.$ac_ext >&5
20912 eval "ac_cv_func_$ac_func=no"
20917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20918 echo "$ac_t""yes" 1>&6
20919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20920 cat >> confdefs.h <<EOF
20921 #define $ac_tr_func 1
20925 echo "$ac_t""no" 1>&6
20932 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20933 echo "configure:20934: checking for ISO C99 wchar_t support" >&5
20934 if test x"$has_weof" = xyes &&
20935 test x"$has_wchar_minmax" = xyes &&
20936 test x"$ac_wfuncs" = xyes; then
20937 ac_isoC99_wchar_t=yes
20939 ac_isoC99_wchar_t=no
20941 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20943 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20944 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20945 echo "configure:20946: checking for iconv.h" >&5
20946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20947 echo $ac_n "(cached) $ac_c" 1>&6
20949 cat > conftest.$ac_ext <<EOF
20950 #line 20951 "configure"
20951 #include "confdefs.h"
20954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20955 { (eval echo configure:20956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20957 if test -z "$ac_err"; then
20959 eval "ac_cv_header_$ac_safe=yes"
20962 echo "configure: failed program was:" >&5
20963 cat conftest.$ac_ext >&5
20965 eval "ac_cv_header_$ac_safe=no"
20969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20970 echo "$ac_t""yes" 1>&6
20973 echo "$ac_t""no" 1>&6
20977 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20978 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20979 echo "configure:20980: checking for langinfo.h" >&5
20980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20981 echo $ac_n "(cached) $ac_c" 1>&6
20983 cat > conftest.$ac_ext <<EOF
20984 #line 20985 "configure"
20985 #include "confdefs.h"
20986 #include <langinfo.h>
20988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20989 { (eval echo configure:20990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20991 if test -z "$ac_err"; then
20993 eval "ac_cv_header_$ac_safe=yes"
20996 echo "configure: failed program was:" >&5
20997 cat conftest.$ac_ext >&5
20999 eval "ac_cv_header_$ac_safe=no"
21003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21004 echo "$ac_t""yes" 1>&6
21005 ac_has_langinfo_h=yes
21007 echo "$ac_t""no" 1>&6
21008 ac_has_langinfo_h=no
21012 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21013 echo "configure:21014: checking for iconv in -liconv" >&5
21014 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21016 echo $ac_n "(cached) $ac_c" 1>&6
21018 ac_save_LIBS="$LIBS"
21019 LIBS="-liconv $LIBS"
21020 cat > conftest.$ac_ext <<EOF
21021 #line 21022 "configure"
21022 #include "confdefs.h"
21023 /* Override any gcc2 internal prototype to avoid an error. */
21024 /* We use char because int might match the return type of a gcc2
21025 builtin and then its argument prototype would still apply. */
21032 if { (eval echo configure:21033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21034 eval "ac_cv_lib_$ac_lib_var=yes"
21036 echo "configure: failed program was:" >&5
21037 cat conftest.$ac_ext >&5
21039 eval "ac_cv_lib_$ac_lib_var=no"
21042 LIBS="$ac_save_LIBS"
21045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21046 echo "$ac_t""yes" 1>&6
21049 echo "$ac_t""no" 1>&6
21052 ac_save_LIBS="$LIBS"
21053 LIBS="$LIBS $libiconv"
21055 for ac_func in iconv_open iconv_close iconv nl_langinfo
21057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21058 echo "configure:21059: checking for $ac_func" >&5
21059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21060 echo $ac_n "(cached) $ac_c" 1>&6
21062 cat > conftest.$ac_ext <<EOF
21063 #line 21064 "configure"
21064 #include "confdefs.h"
21065 /* System header to define __stub macros and hopefully few prototypes,
21066 which can conflict with char $ac_func(); below. */
21067 #include <assert.h>
21068 /* Override any gcc2 internal prototype to avoid an error. */
21069 /* We use char because int might match the return type of a gcc2
21070 builtin and then its argument prototype would still apply. */
21075 /* The GNU C library defines this for functions which it implements
21076 to always fail with ENOSYS. Some functions are actually named
21077 something starting with __ and the normal name is an alias. */
21078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21086 if { (eval echo configure:21087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21088 eval "ac_cv_func_$ac_func=yes"
21090 echo "configure: failed program was:" >&5
21091 cat conftest.$ac_ext >&5
21093 eval "ac_cv_func_$ac_func=no"
21098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21099 echo "$ac_t""yes" 1>&6
21100 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21101 cat >> confdefs.h <<EOF
21102 #define $ac_tr_func 1
21107 echo "$ac_t""no" 1>&6
21113 LIBS="$ac_save_LIBS"
21115 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21116 echo "configure:21117: checking for XPG2 wchar_t support" >&5
21117 if test x"$ac_has_iconv_h" = xyes &&
21118 test x"$ac_has_langinfo_h" = xyes &&
21119 test x"$ac_XPG2funcs" = xyes; then
21120 ac_XPG2_wchar_t=yes
21124 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21126 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21127 echo "configure:21128: checking for enabled wchar_t specializations" >&5
21128 if test x"$ac_isoC99_wchar_t" = xyes &&
21129 test x"$ac_XPG2_wchar_t" = xyes; then
21130 cat >> confdefs.h <<\EOF
21131 #define _GLIBCPP_USE_WCHAR_T 1
21134 echo "$ac_t"""yes"" 1>&6
21136 echo "$ac_t"""no"" 1>&6
21139 echo "configure: warning: wchar_t support disabled." 1>&2
21143 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21144 ac_save_CXXFLAGS="$CXXFLAGS"
21145 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21148 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21149 echo "configure:21150: checking for strtold declaration" >&5
21150 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21151 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21152 echo $ac_n "(cached) $ac_c" 1>&6
21157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21161 cross_compiling=$ac_cv_prog_cxx_cross
21163 cat > conftest.$ac_ext <<EOF
21164 #line 21165 "configure"
21165 #include "confdefs.h"
21166 #include <stdlib.h>
21171 if { (eval echo configure:21172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21173 glibcpp_cv_func_strtold_use=yes
21175 echo "configure: failed program was:" >&5
21176 cat conftest.$ac_ext >&5
21178 glibcpp_cv_func_strtold_use=no
21182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21183 ac_cpp='$CPP $CPPFLAGS'
21184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21186 cross_compiling=$ac_cv_prog_cc_cross
21192 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21193 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21194 for ac_func in strtold
21196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21197 echo "configure:21198: checking for $ac_func" >&5
21198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21199 echo $ac_n "(cached) $ac_c" 1>&6
21201 cat > conftest.$ac_ext <<EOF
21202 #line 21203 "configure"
21203 #include "confdefs.h"
21204 /* System header to define __stub macros and hopefully few prototypes,
21205 which can conflict with char $ac_func(); below. */
21206 #include <assert.h>
21207 /* Override any gcc2 internal prototype to avoid an error. */
21208 /* We use char because int might match the return type of a gcc2
21209 builtin and then its argument prototype would still apply. */
21214 /* The GNU C library defines this for functions which it implements
21215 to always fail with ENOSYS. Some functions are actually named
21216 something starting with __ and the normal name is an alias. */
21217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21225 if { (eval echo configure:21226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21227 eval "ac_cv_func_$ac_func=yes"
21229 echo "configure: failed program was:" >&5
21230 cat conftest.$ac_ext >&5
21232 eval "ac_cv_func_$ac_func=no"
21237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21238 echo "$ac_t""yes" 1>&6
21239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21240 cat >> confdefs.h <<EOF
21241 #define $ac_tr_func 1
21245 echo "$ac_t""no" 1>&6
21252 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21253 echo "configure:21254: checking for strtof declaration" >&5
21254 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21255 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21256 echo $ac_n "(cached) $ac_c" 1>&6
21261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21265 cross_compiling=$ac_cv_prog_cxx_cross
21267 cat > conftest.$ac_ext <<EOF
21268 #line 21269 "configure"
21269 #include "confdefs.h"
21270 #include <stdlib.h>
21275 if { (eval echo configure:21276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21277 glibcpp_cv_func_strtof_use=yes
21279 echo "configure: failed program was:" >&5
21280 cat conftest.$ac_ext >&5
21282 glibcpp_cv_func_strtof_use=no
21286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21287 ac_cpp='$CPP $CPPFLAGS'
21288 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21289 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21290 cross_compiling=$ac_cv_prog_cc_cross
21296 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21297 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21298 for ac_func in strtof
21300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21301 echo "configure:21302: checking for $ac_func" >&5
21302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21303 echo $ac_n "(cached) $ac_c" 1>&6
21305 cat > conftest.$ac_ext <<EOF
21306 #line 21307 "configure"
21307 #include "confdefs.h"
21308 /* System header to define __stub macros and hopefully few prototypes,
21309 which can conflict with char $ac_func(); below. */
21310 #include <assert.h>
21311 /* Override any gcc2 internal prototype to avoid an error. */
21312 /* We use char because int might match the return type of a gcc2
21313 builtin and then its argument prototype would still apply. */
21318 /* The GNU C library defines this for functions which it implements
21319 to always fail with ENOSYS. Some functions are actually named
21320 something starting with __ and the normal name is an alias. */
21321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21329 if { (eval echo configure:21330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21331 eval "ac_cv_func_$ac_func=yes"
21333 echo "configure: failed program was:" >&5
21334 cat conftest.$ac_ext >&5
21336 eval "ac_cv_func_$ac_func=no"
21341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21342 echo "$ac_t""yes" 1>&6
21343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21344 cat >> confdefs.h <<EOF
21345 #define $ac_tr_func 1
21349 echo "$ac_t""no" 1>&6
21355 for ac_func in drand48
21357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21358 echo "configure:21359: checking for $ac_func" >&5
21359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21360 echo $ac_n "(cached) $ac_c" 1>&6
21362 cat > conftest.$ac_ext <<EOF
21363 #line 21364 "configure"
21364 #include "confdefs.h"
21365 /* System header to define __stub macros and hopefully few prototypes,
21366 which can conflict with char $ac_func(); below. */
21367 #include <assert.h>
21368 /* Override any gcc2 internal prototype to avoid an error. */
21369 /* We use char because int might match the return type of a gcc2
21370 builtin and then its argument prototype would still apply. */
21375 /* The GNU C library defines this for functions which it implements
21376 to always fail with ENOSYS. Some functions are actually named
21377 something starting with __ and the normal name is an alias. */
21378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21386 if { (eval echo configure:21387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21388 eval "ac_cv_func_$ac_func=yes"
21390 echo "configure: failed program was:" >&5
21391 cat conftest.$ac_ext >&5
21393 eval "ac_cv_func_$ac_func=no"
21398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21399 echo "$ac_t""yes" 1>&6
21400 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21401 cat >> confdefs.h <<EOF
21402 #define $ac_tr_func 1
21406 echo "$ac_t""no" 1>&6
21411 CXXFLAGS="$ac_save_CXXFLAGS"
21414 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21415 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21416 echo "configure:21417: checking for locale.h" >&5
21417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21418 echo $ac_n "(cached) $ac_c" 1>&6
21420 cat > conftest.$ac_ext <<EOF
21421 #line 21422 "configure"
21422 #include "confdefs.h"
21423 #include <locale.h>
21425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21426 { (eval echo configure:21427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21428 if test -z "$ac_err"; then
21430 eval "ac_cv_header_$ac_safe=yes"
21433 echo "configure: failed program was:" >&5
21434 cat conftest.$ac_ext >&5
21436 eval "ac_cv_header_$ac_safe=no"
21440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21441 echo "$ac_t""yes" 1>&6
21443 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21444 echo "configure:21445: checking for LC_MESSAGES" >&5
21445 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21446 echo $ac_n "(cached) $ac_c" 1>&6
21448 cat > conftest.$ac_ext <<EOF
21449 #line 21450 "configure"
21450 #include "confdefs.h"
21451 #include <locale.h>
21456 if { (eval echo configure:21457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21458 ac_cv_val_LC_MESSAGES=yes
21460 echo "configure: failed program was:" >&5
21461 cat conftest.$ac_ext >&5
21463 ac_cv_val_LC_MESSAGES=no
21468 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21469 if test $ac_cv_val_LC_MESSAGES = yes; then
21470 cat >> confdefs.h <<\EOF
21471 #define HAVE_LC_MESSAGES 1
21477 echo "$ac_t""no" 1>&6
21482 cat > conftest.$ac_ext <<EOF
21483 #line 21484 "configure"
21484 #include "confdefs.h"
21486 #include <setjmp.h>
21489 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21492 if { (eval echo configure:21493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21494 cat >> confdefs.h <<\EOF
21495 #define HAVE_SIGSETJMP 1
21500 echo "configure: failed program was:" >&5
21501 cat conftest.$ac_ext >&5
21505 for ac_hdr in unistd.h
21507 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21508 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21509 echo "configure:21510: checking for $ac_hdr" >&5
21510 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21511 echo $ac_n "(cached) $ac_c" 1>&6
21513 cat > conftest.$ac_ext <<EOF
21514 #line 21515 "configure"
21515 #include "confdefs.h"
21518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21519 { (eval echo configure:21520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21521 if test -z "$ac_err"; then
21523 eval "ac_cv_header_$ac_safe=yes"
21526 echo "configure: failed program was:" >&5
21527 cat conftest.$ac_ext >&5
21529 eval "ac_cv_header_$ac_safe=no"
21533 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21534 echo "$ac_t""yes" 1>&6
21535 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21536 cat >> confdefs.h <<EOF
21537 #define $ac_tr_hdr 1
21541 echo "$ac_t""no" 1>&6
21545 for ac_func in getpagesize
21547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21548 echo "configure:21549: checking for $ac_func" >&5
21549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21550 echo $ac_n "(cached) $ac_c" 1>&6
21552 cat > conftest.$ac_ext <<EOF
21553 #line 21554 "configure"
21554 #include "confdefs.h"
21555 /* System header to define __stub macros and hopefully few prototypes,
21556 which can conflict with char $ac_func(); below. */
21557 #include <assert.h>
21558 /* Override any gcc2 internal prototype to avoid an error. */
21559 /* We use char because int might match the return type of a gcc2
21560 builtin and then its argument prototype would still apply. */
21565 /* The GNU C library defines this for functions which it implements
21566 to always fail with ENOSYS. Some functions are actually named
21567 something starting with __ and the normal name is an alias. */
21568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21576 if { (eval echo configure:21577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21578 eval "ac_cv_func_$ac_func=yes"
21580 echo "configure: failed program was:" >&5
21581 cat conftest.$ac_ext >&5
21583 eval "ac_cv_func_$ac_func=no"
21588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21589 echo "$ac_t""yes" 1>&6
21590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21591 cat >> confdefs.h <<EOF
21592 #define $ac_tr_func 1
21596 echo "$ac_t""no" 1>&6
21600 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21601 echo "configure:21602: checking for working mmap" >&5
21602 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21603 echo $ac_n "(cached) $ac_c" 1>&6
21605 if test "$cross_compiling" = yes; then
21606 ac_cv_func_mmap_fixed_mapped=no
21608 cat > conftest.$ac_ext <<EOF
21609 #line 21610 "configure"
21610 #include "confdefs.h"
21612 /* Thanks to Mike Haertel and Jim Avera for this test.
21613 Here is a matrix of mmap possibilities:
21614 mmap private not fixed
21615 mmap private fixed at somewhere currently unmapped
21616 mmap private fixed at somewhere already mapped
21617 mmap shared not fixed
21618 mmap shared fixed at somewhere currently unmapped
21619 mmap shared fixed at somewhere already mapped
21620 For private mappings, we should verify that changes cannot be read()
21621 back from the file, nor mmap's back from the file at a different
21622 address. (There have been systems where private was not correctly
21623 implemented like the infamous i386 svr4.0, and systems where the
21624 VM page cache was not coherent with the filesystem buffer cache
21625 like early versions of FreeBSD and possibly contemporary NetBSD.)
21626 For shared mappings, we should conversely verify that changes get
21627 propogated back to all the places they're supposed to be.
21629 Grep wants private fixed already mapped.
21630 The main things grep needs to know about mmap are:
21631 * does it exist and is it safe to write into the mmap'd area
21632 * how to use it (BSD variants) */
21633 #include <sys/types.h>
21635 #include <sys/mman.h>
21637 /* This mess was copied from the GNU getpagesize.h. */
21638 #ifndef HAVE_GETPAGESIZE
21639 # ifdef HAVE_UNISTD_H
21640 # include <unistd.h>
21643 /* Assume that all systems that can run configure have sys/param.h. */
21644 # ifndef HAVE_SYS_PARAM_H
21645 # define HAVE_SYS_PARAM_H 1
21648 # ifdef _SC_PAGESIZE
21649 # define getpagesize() sysconf(_SC_PAGESIZE)
21650 # else /* no _SC_PAGESIZE */
21651 # ifdef HAVE_SYS_PARAM_H
21652 # include <sys/param.h>
21653 # ifdef EXEC_PAGESIZE
21654 # define getpagesize() EXEC_PAGESIZE
21655 # else /* no EXEC_PAGESIZE */
21657 # define getpagesize() NBPG * CLSIZE
21660 # endif /* no CLSIZE */
21661 # else /* no NBPG */
21663 # define getpagesize() NBPC
21664 # else /* no NBPC */
21666 # define getpagesize() PAGESIZE
21667 # endif /* PAGESIZE */
21668 # endif /* no NBPC */
21669 # endif /* no NBPG */
21670 # endif /* no EXEC_PAGESIZE */
21671 # else /* no HAVE_SYS_PARAM_H */
21672 # define getpagesize() 8192 /* punt totally */
21673 # endif /* no HAVE_SYS_PARAM_H */
21674 # endif /* no _SC_PAGESIZE */
21676 #endif /* no HAVE_GETPAGESIZE */
21679 extern "C" { void *malloc(unsigned); }
21687 char *data, *data2, *data3;
21691 pagesize = getpagesize();
21694 * First, make a file with some known garbage in it.
21696 data = malloc(pagesize);
21699 for (i = 0; i < pagesize; ++i)
21700 *(data + i) = rand();
21702 fd = creat("conftestmmap", 0600);
21705 if (write(fd, data, pagesize) != pagesize)
21710 * Next, try to mmap the file at a fixed address which
21711 * already has something else allocated at it. If we can,
21712 * also make sure that we see the same garbage.
21714 fd = open("conftestmmap", O_RDWR);
21717 data2 = malloc(2 * pagesize);
21720 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21721 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21722 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21724 for (i = 0; i < pagesize; ++i)
21725 if (*(data + i) != *(data2 + i))
21729 * Finally, make sure that changes to the mapped area
21730 * do not percolate back to the file as seen by read().
21731 * (This is a bug on some variants of i386 svr4.0.)
21733 for (i = 0; i < pagesize; ++i)
21734 *(data2 + i) = *(data2 + i) + 1;
21735 data3 = malloc(pagesize);
21738 if (read(fd, data3, pagesize) != pagesize)
21740 for (i = 0; i < pagesize; ++i)
21741 if (*(data + i) != *(data3 + i))
21744 unlink("conftestmmap");
21749 if { (eval echo configure:21750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21751 ac_cv_func_mmap_fixed_mapped=yes
21753 echo "configure: failed program was:" >&5
21754 cat conftest.$ac_ext >&5
21756 ac_cv_func_mmap_fixed_mapped=no
21763 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21764 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21765 cat >> confdefs.h <<\EOF
21766 #define HAVE_MMAP 1
21772 # Establish limits on memory usage during 'make check'
21775 setrlimit_have_headers=yes
21776 for ac_hdr in unistd.h sys/time.h sys/resource.h
21778 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21780 echo "configure:21781: checking for $ac_hdr" >&5
21781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21782 echo $ac_n "(cached) $ac_c" 1>&6
21784 cat > conftest.$ac_ext <<EOF
21785 #line 21786 "configure"
21786 #include "confdefs.h"
21789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21790 { (eval echo configure:21791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21792 if test -z "$ac_err"; then
21794 eval "ac_cv_header_$ac_safe=yes"
21797 echo "configure: failed program was:" >&5
21798 cat conftest.$ac_ext >&5
21800 eval "ac_cv_header_$ac_safe=no"
21804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21805 echo "$ac_t""yes" 1>&6
21806 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21807 cat >> confdefs.h <<EOF
21808 #define $ac_tr_hdr 1
21812 echo "$ac_t""no" 1>&6
21813 setrlimit_have_headers=no
21817 # If don't have the headers, then we can't run the tests now, and we
21818 # won't be seeing any of these during testsuite compilation.
21819 if test $setrlimit_have_headers = yes; then
21820 # Can't do these in a loop, else the resulting syntax is wrong.
21822 cat > conftest.$ac_ext <<EOF
21823 #line 21824 "configure"
21824 #include "confdefs.h"
21825 #include <unistd.h>
21826 #include <sys/time.h>
21827 #include <sys/resource.h>
21830 int f = RLIMIT_DATA ;
21833 if { (eval echo configure:21834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21837 echo "configure: failed program was:" >&5
21838 cat conftest.$ac_ext >&5
21843 cat >> confdefs.h <<EOF
21844 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21849 cat > conftest.$ac_ext <<EOF
21850 #line 21851 "configure"
21851 #include "confdefs.h"
21852 #include <unistd.h>
21853 #include <sys/time.h>
21854 #include <sys/resource.h>
21857 int f = RLIMIT_RSS ;
21860 if { (eval echo configure:21861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21864 echo "configure: failed program was:" >&5
21865 cat conftest.$ac_ext >&5
21870 cat >> confdefs.h <<EOF
21871 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21876 cat > conftest.$ac_ext <<EOF
21877 #line 21878 "configure"
21878 #include "confdefs.h"
21879 #include <unistd.h>
21880 #include <sys/time.h>
21881 #include <sys/resource.h>
21884 int f = RLIMIT_VMEM ;
21887 if { (eval echo configure:21888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21891 echo "configure: failed program was:" >&5
21892 cat conftest.$ac_ext >&5
21897 cat >> confdefs.h <<EOF
21898 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21903 cat > conftest.$ac_ext <<EOF
21904 #line 21905 "configure"
21905 #include "confdefs.h"
21906 #include <unistd.h>
21907 #include <sys/time.h>
21908 #include <sys/resource.h>
21911 int f = RLIMIT_AS ;
21914 if { (eval echo configure:21915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21918 echo "configure: failed program was:" >&5
21919 cat conftest.$ac_ext >&5
21924 cat >> confdefs.h <<EOF
21925 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21930 # Check for rlimit, setrlimit.
21931 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21932 echo $ac_n "(cached) $ac_c" 1>&6
21935 cat > conftest.$ac_ext <<EOF
21936 #line 21937 "configure"
21937 #include "confdefs.h"
21938 #include <unistd.h>
21939 #include <sys/time.h>
21940 #include <sys/resource.h>
21943 struct rlimit r; setrlimit(0, &r);
21946 if { (eval echo configure:21947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21950 echo "configure: failed program was:" >&5
21951 cat conftest.$ac_ext >&5
21961 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21962 echo "configure:21963: checking for testsuite memory limit support" >&5
21963 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21965 cat >> confdefs.h <<\EOF
21966 #define _GLIBCPP_MEM_LIMITS 1
21972 echo "$ac_t""$ac_mem_limits" 1>&6
21975 # Look for setenv, so that extended locale tests can be performed.
21977 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21978 echo "configure:21979: checking for setenv declaration" >&5
21979 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21980 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21981 echo $ac_n "(cached) $ac_c" 1>&6
21986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21987 ac_cpp='$CXXCPP $CPPFLAGS'
21988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21990 cross_compiling=$ac_cv_prog_cxx_cross
21992 cat > conftest.$ac_ext <<EOF
21993 #line 21994 "configure"
21994 #include "confdefs.h"
21995 #include <stdlib.h>
22000 if { (eval echo configure:22001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22002 glibcpp_cv_func_setenv_use=yes
22004 echo "configure: failed program was:" >&5
22005 cat conftest.$ac_ext >&5
22007 glibcpp_cv_func_setenv_use=no
22011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22012 ac_cpp='$CPP $CPPFLAGS'
22013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22015 cross_compiling=$ac_cv_prog_cc_cross
22021 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22022 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22023 for ac_func in setenv
22025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22026 echo "configure:22027: checking for $ac_func" >&5
22027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22028 echo $ac_n "(cached) $ac_c" 1>&6
22030 cat > conftest.$ac_ext <<EOF
22031 #line 22032 "configure"
22032 #include "confdefs.h"
22033 /* System header to define __stub macros and hopefully few prototypes,
22034 which can conflict with char $ac_func(); below. */
22035 #include <assert.h>
22036 /* Override any gcc2 internal prototype to avoid an error. */
22037 /* We use char because int might match the return type of a gcc2
22038 builtin and then its argument prototype would still apply. */
22043 /* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22054 if { (eval echo configure:22055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22056 eval "ac_cv_func_$ac_func=yes"
22058 echo "configure: failed program was:" >&5
22059 cat conftest.$ac_ext >&5
22061 eval "ac_cv_func_$ac_func=no"
22066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22067 echo "$ac_t""yes" 1>&6
22068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22069 cat >> confdefs.h <<EOF
22070 #define $ac_tr_func 1
22074 echo "$ac_t""no" 1>&6
22083 # This depends on the possibly-skipped linker test above.
22084 # Check whether --enable-symvers or --disable-symvers was given.
22085 if test "${enable_symvers+set}" = set; then
22086 enableval="$enable_symvers"
22087 case "$enableval" in
22088 yes) enable_symvers=yes ;;
22089 no) enable_symvers=no ;;
22090 # other names here, just as sanity checks
22091 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22092 gnu) enable_symvers=$enableval ;;
22093 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22099 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22100 # don't know enough about $LD to do tricks...
22101 if test x$enable_shared = xno ||
22103 test x$glibcpp_gnu_ld_version = x; then
22107 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22108 if test $enable_symvers != no; then
22109 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22110 echo "configure:22111: checking for shared libgcc" >&5
22111 ac_save_CFLAGS="$CFLAGS"
22113 cat > conftest.$ac_ext <<EOF
22114 #line 22115 "configure"
22115 #include "confdefs.h"
22121 if { (eval echo configure:22122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22123 glibcpp_shared_libgcc=yes
22125 echo "configure: failed program was:" >&5
22126 cat conftest.$ac_ext >&5
22128 glibcpp_shared_libgcc=no
22131 CFLAGS="$ac_save_CFLAGS"
22132 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22135 # For GNU ld, we need at least this version. It's 2.12 in the same format
22136 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22137 glibcpp_min_gnu_ld_version=21200
22139 # Check to see if unspecified "yes" value can win, given results
22141 if test $enable_symvers = yes ; then
22142 if test $with_gnu_ld = yes &&
22143 test $glibcpp_shared_libgcc = yes ;
22145 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22148 ac_test_CFLAGS="${CFLAGS+set}"
22149 ac_save_CFLAGS="$CFLAGS"
22150 CFLAGS='-shared -Wl,--version-script,conftest.map'
22153 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22155 cat > conftest.$ac_ext <<EOF
22156 #line 22157 "configure"
22157 #include "confdefs.h"
22163 if { (eval echo configure:22164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22167 echo "configure: failed program was:" >&5
22168 cat conftest.$ac_ext >&5
22171 if test "$ac_test_CFLAGS" = set; then
22172 CFLAGS="$ac_save_CFLAGS"
22174 # this is the suspicious part
22180 # just fail for now
22185 case $enable_symvers in
22187 LINKER_MAP=config/linker-map.dummy
22190 LINKER_MAP=config/linker-map.gnu
22197 if test $enable_symvers != no; then
22198 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22199 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22201 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22202 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22204 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22205 echo "configure:22206: checking versioning on shared library symbols" >&5
22206 echo "$ac_t""$enable_symvers" 1>&6
22209 # Propagate the target-specific source directories through the build chain.
22210 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22211 # CPULIMITSH [might] use it, and they only get used here.)
22212 OS_INC_SRCDIR=config/${os_include_dir}
22213 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22214 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22219 # Set up cross-compile flags
22222 if test "$CANADIAN" = yes; then
22230 cat > confcache <<\EOF
22231 # This file is a shell script that caches the results of configure
22232 # tests run on this system so they can be shared between configure
22233 # scripts and configure runs. It is not useful on other systems.
22234 # If it contains results you don't want to keep, you may remove or edit it.
22236 # By default, configure uses ./config.cache as the cache file,
22237 # creating it if it does not exist already. You can give configure
22238 # the --cache-file=FILE option to use a different cache file; that is
22239 # what configure does when it calls configure scripts in
22240 # subdirectories, so they share the cache.
22241 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22242 # config.status only pays attention to the cache file if you give it the
22243 # --recheck option to rerun configure.
22246 # The following way of writing the cache mishandles newlines in values,
22247 # but we know of no workaround that is simple, portable, and efficient.
22248 # So, don't put newlines in cache variables' values.
22249 # Ultrix sh set writes to stderr and can't be redirected directly,
22250 # and sets the high bit in the cache file unless we assign to the vars.
22252 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22254 # `set' does not quote correctly, so add quotes (double-quote substitution
22255 # turns \\\\ into \\, and sed turns \\ into \).
22257 -e "s/'/'\\\\''/g" \
22258 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22261 # `set' quotes correctly as required by POSIX, so do not add quotes.
22262 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22265 if cmp -s $cache_file confcache; then
22268 if test -w $cache_file; then
22269 echo "updating cache $cache_file"
22270 cat confcache > $cache_file
22272 echo "not updating unwritable cache $cache_file"
22278 if test "${multilib}" = "yes"; then
22279 multilib_arg="--enable-multilib"
22284 # Export all the install information
22286 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22287 # exported correctly in GLIBCPP_CONFIGURE.
22288 glibcpp_toolexecdir=no
22289 glibcpp_toolexeclibdir=no
22290 glibcpp_prefixdir=${prefix}
22292 # Process the option --with-gxx-include-dir=<path to include-files directory>
22293 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22294 echo "configure:22295: checking for --with-gxx-include-dir" >&5
22295 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22296 if test "${with_gxx_include_dir+set}" = set; then
22297 withval="$with_gxx_include_dir"
22298 case "${withval}" in
22300 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22307 gxx_include_dir=${withval}
22314 echo "$ac_t""$gxx_include_dir" 1>&6
22316 # Process the option "--enable-version-specific-runtime-libs"
22317 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22318 echo "configure:22319: checking for --enable-version-specific-runtime-libs" >&5
22319 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22320 if test "${enable_version_specific_runtime_libs+set}" = set; then
22321 enableval="$enable_version_specific_runtime_libs"
22322 case "$enableval" in
22323 yes) version_specific_libs=yes ;;
22324 no) version_specific_libs=no ;;
22325 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22328 version_specific_libs=no
22330 # Option set, now we can test it.
22331 echo "$ac_t""$version_specific_libs" 1>&6
22333 # Default case for install directory for include files.
22334 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22335 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22338 # Version-specific runtime libs processing.
22339 if test $version_specific_libs = yes; then
22340 # Need the gcc compiler version to know where to install libraries
22341 # and header files if --enable-version-specific-runtime-libs option
22343 if test x"$gxx_include_dir" = x"no"; then
22344 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22346 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22347 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22350 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22351 # Install a library built with a cross compiler in tooldir, not libdir.
22352 if test x"$glibcpp_toolexecdir" = x"no"; then
22353 if test -n "$with_cross_host" &&
22354 test x"$with_cross_host" != x"no"; then
22355 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22356 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22358 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22359 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22363 echo $ac_n "checking for install location""... $ac_c" 1>&6
22364 echo "configure:22365: checking for install location" >&5
22365 echo "$ac_t""$gxx_include_dir" 1>&6
22373 # Export all the include and flag information to makefiles.
22375 # Root level of the build directory include sources.
22376 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22378 # Passed down for canadian crosses.
22379 if test x"$CANADIAN" = xyes; then
22380 TOPLEVEL_INCLUDES='-I$(includedir)'
22383 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22385 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22387 if test x"$need_libio" = xyes; then
22388 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22392 # Now, export this to all the little Makefiles....
22399 # Optimization flags that are probably a good idea for thrill-seekers. Just
22400 # uncomment the lines below and make, everything else is ready to go...
22401 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22405 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22409 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22410 grep "enable shared" > /dev/null; then
22411 LIBSUPCXX_PICFLAGS=-prefer-pic
22413 LIBSUPCXX_PICFLAGS=
22417 # Generate the various Makefiles, include files, and scripts.
22418 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22419 # and libsupc++/Makefile.am so that multilib installs will end up
22420 # installed in the correct place. To work around this not being passed
22421 # down from config-ml.in -> top_srcdir/Makefile.am ->
22422 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22424 cat > confcache <<\EOF
22425 # This file is a shell script that caches the results of configure
22426 # tests run on this system so they can be shared between configure
22427 # scripts and configure runs. It is not useful on other systems.
22428 # If it contains results you don't want to keep, you may remove or edit it.
22430 # By default, configure uses ./config.cache as the cache file,
22431 # creating it if it does not exist already. You can give configure
22432 # the --cache-file=FILE option to use a different cache file; that is
22433 # what configure does when it calls configure scripts in
22434 # subdirectories, so they share the cache.
22435 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22436 # config.status only pays attention to the cache file if you give it the
22437 # --recheck option to rerun configure.
22440 # The following way of writing the cache mishandles newlines in values,
22441 # but we know of no workaround that is simple, portable, and efficient.
22442 # So, don't put newlines in cache variables' values.
22443 # Ultrix sh set writes to stderr and can't be redirected directly,
22444 # and sets the high bit in the cache file unless we assign to the vars.
22446 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22448 # `set' does not quote correctly, so add quotes (double-quote substitution
22449 # turns \\\\ into \\, and sed turns \\ into \).
22451 -e "s/'/'\\\\''/g" \
22452 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22455 # `set' quotes correctly as required by POSIX, so do not add quotes.
22456 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22459 if cmp -s $cache_file confcache; then
22462 if test -w $cache_file; then
22463 echo "updating cache $cache_file"
22464 cat confcache > $cache_file
22466 echo "not updating unwritable cache $cache_file"
22471 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22473 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22474 # Let make expand exec_prefix.
22475 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22477 # Any assignment to VPATH causes Sun make to only execute
22478 # the first set of double-colon rules, so remove it if not needed.
22479 # If there is a colon in the path, we need to keep it.
22480 if test "x$srcdir" = x.; then
22481 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22484 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22486 DEFS=-DHAVE_CONFIG_H
22488 # Without the "./", some shells look in PATH for config.status.
22489 : ${CONFIG_STATUS=./config.status}
22491 echo creating $CONFIG_STATUS
22492 rm -f $CONFIG_STATUS
22493 cat > $CONFIG_STATUS <<EOF
22495 # Generated automatically by configure.
22496 # Run this file to recreate the current configuration.
22497 # This directory was configured as follows,
22498 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22500 # $0 $ac_configure_args
22502 # Compiler output produced by configure, useful for debugging
22503 # configure, is in ./config.log if it exists.
22505 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22508 case "\$ac_option" in
22509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22510 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22511 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22512 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22513 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22515 -help | --help | --hel | --he | --h)
22516 echo "\$ac_cs_usage"; exit 0 ;;
22517 *) echo "\$ac_cs_usage"; exit 1 ;;
22521 ac_given_srcdir=$srcdir
22522 ac_given_INSTALL="$INSTALL"
22524 trap 'rm -fr `echo "Makefile \
22525 include/Makefile src/Makefile \
22526 libmath/Makefile libio/Makefile libsupc++/Makefile \
22527 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22529 cat >> $CONFIG_STATUS <<EOF
22531 # Protect against being on the right side of a sed subst in config.status.
22532 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22533 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22537 s%@CFLAGS@%$CFLAGS%g
22538 s%@CPPFLAGS@%$CPPFLAGS%g
22539 s%@CXXFLAGS@%$CXXFLAGS%g
22540 s%@FFLAGS@%$FFLAGS%g
22542 s%@LDFLAGS@%$LDFLAGS%g
22544 s%@exec_prefix@%$exec_prefix%g
22545 s%@prefix@%$prefix%g
22546 s%@program_transform_name@%$program_transform_name%g
22547 s%@bindir@%$bindir%g
22548 s%@sbindir@%$sbindir%g
22549 s%@libexecdir@%$libexecdir%g
22550 s%@datadir@%$datadir%g
22551 s%@sysconfdir@%$sysconfdir%g
22552 s%@sharedstatedir@%$sharedstatedir%g
22553 s%@localstatedir@%$localstatedir%g
22554 s%@libdir@%$libdir%g
22555 s%@includedir@%$includedir%g
22556 s%@oldincludedir@%$oldincludedir%g
22557 s%@infodir@%$infodir%g
22558 s%@mandir@%$mandir%g
22559 s%@PACKAGE@%$PACKAGE%g
22560 s%@libtool_VERSION@%$libtool_VERSION%g
22561 s%@toplevel_srcdir@%$toplevel_srcdir%g
22563 s%@host_alias@%$host_alias%g
22564 s%@host_cpu@%$host_cpu%g
22565 s%@host_vendor@%$host_vendor%g
22566 s%@host_os@%$host_os%g
22567 s%@target@%$target%g
22568 s%@target_alias@%$target_alias%g
22569 s%@target_cpu@%$target_cpu%g
22570 s%@target_vendor@%$target_vendor%g
22571 s%@target_os@%$target_os%g
22573 s%@build_alias@%$build_alias%g
22574 s%@build_cpu@%$build_cpu%g
22575 s%@build_vendor@%$build_vendor%g
22576 s%@build_os@%$build_os%g
22577 s%@glibcpp_builddir@%$glibcpp_builddir%g
22578 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22581 s%@glibcpp_basedir@%$glibcpp_basedir%g
22583 s%@glibcpp_CXX@%$glibcpp_CXX%g
22586 s%@RANLIB@%$RANLIB%g
22587 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22588 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22589 s%@INSTALL_DATA@%$INSTALL_DATA%g
22590 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22591 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22593 s%@EXEEXT@%$EXEEXT%g
22594 s%@VERSION@%$VERSION%g
22595 s%@ACLOCAL@%$ACLOCAL%g
22596 s%@AUTOCONF@%$AUTOCONF%g
22597 s%@AUTOMAKE@%$AUTOMAKE%g
22598 s%@AUTOHEADER@%$AUTOHEADER%g
22599 s%@MAKEINFO@%$MAKEINFO%g
22600 s%@SET_MAKE@%$SET_MAKE%g
22601 s%@OBJEXT@%$OBJEXT%g
22603 s%@LIBTOOL@%$LIBTOOL%g
22604 s%@CXXCPP@%$CXXCPP%g
22605 s%@enable_shared@%$enable_shared%g
22606 s%@enable_static@%$enable_static%g
22607 s%@ifGNUmake@%$ifGNUmake%g
22608 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22610 s%@CSTDIO_H@%$CSTDIO_H%g
22611 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22612 s%@CCODECVT_C@%$CCODECVT_C%g
22613 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22614 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22615 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22616 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22617 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22618 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22619 s%@libio_la@%$libio_la%g
22620 s%@check_msgfmt@%$check_msgfmt%g
22621 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22622 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22623 s%@glibcpp_localedir@%$glibcpp_localedir%g
22624 s%@USE_NLS@%$USE_NLS%g
22625 s%@CLOCALE_H@%$CLOCALE_H%g
22626 s%@CCODECVT_H@%$CCODECVT_H%g
22627 s%@CMESSAGES_H@%$CMESSAGES_H%g
22628 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22629 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22630 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22631 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22632 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22633 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22634 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22635 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22636 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22637 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22638 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22639 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22640 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22641 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22642 s%@WERROR@%$WERROR%g
22643 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22644 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22645 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22646 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22647 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22648 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22649 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22650 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22651 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22652 s%@gxx_include_dir@%$gxx_include_dir%g
22653 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22654 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22655 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22656 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22657 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22658 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22659 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22660 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22661 s%@WARN_FLAGS@%$WARN_FLAGS%g
22662 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22667 cat >> $CONFIG_STATUS <<\EOF
22669 # Split the substitutions into bite-sized pieces for seds with
22670 # small command number limits, like on Digital OSF/1 and HP-UX.
22671 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22672 ac_file=1 # Number of current file.
22673 ac_beg=1 # First line for current file.
22674 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22677 while $ac_more_lines; do
22678 if test $ac_beg -gt 1; then
22679 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22681 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22683 if test ! -s conftest.s$ac_file; then
22684 ac_more_lines=false
22685 rm -f conftest.s$ac_file
22687 if test -z "$ac_sed_cmds"; then
22688 ac_sed_cmds="sed -f conftest.s$ac_file"
22690 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22692 ac_file=`expr $ac_file + 1`
22694 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22697 if test -z "$ac_sed_cmds"; then
22702 cat >> $CONFIG_STATUS <<EOF
22704 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22705 include/Makefile src/Makefile \
22706 libmath/Makefile libio/Makefile libsupc++/Makefile \
22707 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22709 cat >> $CONFIG_STATUS <<\EOF
22710 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22713 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22714 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22715 *) ac_file_in="${ac_file}.in" ;;
22718 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22720 # Remove last slash and all that follows it. Not all systems have dirname.
22721 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22722 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22723 # The file is in a subdirectory.
22724 test ! -d "$ac_dir" && mkdir "$ac_dir"
22725 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22726 # A "../" for each directory in $ac_dir_suffix.
22727 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22729 ac_dir_suffix= ac_dots=
22732 case "$ac_given_srcdir" in
22734 if test -z "$ac_dots"; then top_srcdir=.
22735 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22736 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22737 *) # Relative path.
22738 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22739 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22742 case "$ac_given_INSTALL" in
22743 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22744 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22747 echo creating "$ac_file"
22749 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22751 *Makefile*) ac_comsub="1i\\
22752 # $configure_input" ;;
22756 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22758 s%@configure_input@%$configure_input%g
22759 s%@srcdir@%$srcdir%g
22760 s%@top_srcdir@%$top_srcdir%g
22761 s%@INSTALL@%$INSTALL%g
22762 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22766 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22767 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22769 # ac_d sets the value in "#define NAME VALUE" lines.
22770 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22771 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22774 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22775 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22776 ac_uB='\([ ]\)%\1#\2define\3'
22779 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22780 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22781 ac_eB='$%\1#\2define\3'
22785 if test "${CONFIG_HEADERS+set}" != set; then
22787 cat >> $CONFIG_STATUS <<EOF
22788 CONFIG_HEADERS="config.h"
22790 cat >> $CONFIG_STATUS <<\EOF
22792 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22793 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22795 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22796 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22797 *) ac_file_in="${ac_file}.in" ;;
22800 echo creating $ac_file
22802 rm -f conftest.frag conftest.in conftest.out
22803 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22804 cat $ac_file_inputs > conftest.in
22808 # Transform confdefs.h into a sed script conftest.vals that substitutes
22809 # the proper values into config.h.in to produce config.h. And first:
22810 # Protect against being on the right side of a sed subst in config.status.
22811 # Protect against being in an unquoted here document in config.status.
22812 rm -f conftest.vals
22813 cat > conftest.hdr <<\EOF
22816 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22820 sed -n -f conftest.hdr confdefs.h > conftest.vals
22823 # This sed command replaces #undef with comments. This is necessary, for
22824 # example, in the case of _POSIX_SOURCE, which is predefined and required
22825 # on some systems where configure will not decide to define it.
22826 cat >> conftest.vals <<\EOF
22827 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22830 # Break up conftest.vals because some shells have a limit on
22831 # the size of here documents, and old seds have small limits too.
22833 rm -f conftest.tail
22836 ac_lines=`grep -c . conftest.vals`
22837 # grep -c gives empty output for an empty file on some AIX systems.
22838 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22839 # Write a limited-size here document to conftest.frag.
22840 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22841 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22843 sed -f conftest.frag conftest.in > conftest.out
22845 mv conftest.out conftest.in
22846 ' >> $CONFIG_STATUS
22847 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22848 rm -f conftest.vals
22849 mv conftest.tail conftest.vals
22851 rm -f conftest.vals
22853 cat >> $CONFIG_STATUS <<\EOF
22854 rm -f conftest.frag conftest.h
22855 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22856 cat conftest.in >> conftest.h
22858 if cmp -s $ac_file conftest.h 2>/dev/null; then
22859 echo "$ac_file is unchanged"
22862 # Remove last slash and all that follows it. Not all systems have dirname.
22863 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22864 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22865 # The file is in a subdirectory.
22866 test ! -d "$ac_dir" && mkdir "$ac_dir"
22869 mv conftest.h $ac_file
22875 cat >> $CONFIG_STATUS <<EOF
22876 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22877 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"
22880 cat >> $CONFIG_STATUS <<\EOF
22881 srcdir=$ac_given_srcdir
22882 while test -n "$ac_sources"; do
22883 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22884 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22886 echo "linking $srcdir/$ac_source to $ac_dest"
22888 if test ! -r $srcdir/$ac_source; then
22889 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22893 # Make relative symlinks.
22894 # Remove last slash and all that follows it. Not all systems have dirname.
22895 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22896 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22897 # The dest file is in a subdirectory.
22898 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22899 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22900 # A "../" for each directory in $ac_dest_dir_suffix.
22901 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22903 ac_dest_dir_suffix= ac_dots=
22907 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22908 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22911 # Make a symlink if possible; otherwise try a hard link.
22912 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22913 ln $srcdir/$ac_source $ac_dest; then :
22915 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22919 cat >> $CONFIG_STATUS <<EOF
22924 with_multisubdir=${with_multisubdir}
22925 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22926 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22927 glibcpp_basedir=${glibcpp_basedir}
22932 cat >> $CONFIG_STATUS <<\EOF
22933 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22934 if test -n "$CONFIG_FILES"; then
22935 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22936 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22937 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22938 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22941 chmod +x testsuite_flags
22945 chmod +x $CONFIG_STATUS
22946 rm -fr confdefs* $ac_clean_files
22947 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22951 # Sanity checking & User-visible messages.
22952 # Checks down here, otherwise they get scrolled off before
22953 # the user will notice.
22955 # Trying to get more people to read documentation. Possibly remove
22956 # check and warn all the time. There is no "informational" AC_MSG_
22957 # macro, so these are going to be printed even when --quiet/--silent
22959 if test ! -f stamp-sanity-warned; then
22960 touch stamp-sanity-warned
22962 echo "Please make certain that you read the installation information here:"
22963 echo " faster => ${srcdir}/docs/html/install.html"
22964 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22966 echo "and the configuration information here:"
22967 echo " faster => ${srcdir}/docs/html/configopts.html"
22968 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22970 echo "before proceeding with ${_cv_gnu_make_command}."