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:1: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
837 # Export build and source directories.
838 # These need to be absolute paths, yet at the same time need to
839 # canonicalize only relative paths, because then amd will not unmount
840 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
841 glibcpp_builddir=`${PWDCMD-pwd}`
843 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
844 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
851 for ac_prog in mawk gawk nawk awk
853 # Extract the first word of "$ac_prog", so it can be a program name with args.
854 set dummy $ac_prog; ac_word=$2
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
856 echo "configure:857: checking for $ac_word" >&5
857 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
860 if test -n "$AWK"; then
861 ac_cv_prog_AWK="$AWK" # Let the user override the test.
863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
865 for ac_dir in $ac_dummy; do
866 test -z "$ac_dir" && ac_dir=.
867 if test -f $ac_dir/$ac_word; then
868 ac_cv_prog_AWK="$ac_prog"
875 AWK="$ac_cv_prog_AWK"
876 if test -n "$AWK"; then
877 echo "$ac_t""$AWK" 1>&6
879 echo "$ac_t""no" 1>&6
882 test -n "$AWK" && break
885 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
886 # be 'cp -p' if linking isn't available. Uncomment the next line to
887 # force a particular method.
888 #ac_cv_prog_LN_S='cp -p'
889 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
890 echo "configure:891: checking whether ln -s works" >&5
891 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
892 echo $ac_n "(cached) $ac_c" 1>&6
895 if ln -s X conftestdata 2>/dev/null
898 ac_cv_prog_LN_S="ln -s"
903 LN_S="$ac_cv_prog_LN_S"
904 if test "$ac_cv_prog_LN_S" = "ln -s"; then
905 echo "$ac_t""yes" 1>&6
907 echo "$ac_t""no" 1>&6
911 # We use these options to decide which functions to include.
912 # Check whether --with-target-subdir or --without-target-subdir was given.
913 if test "${with_target_subdir+set}" = set; then
914 withval="$with_target_subdir"
918 # Check whether --with-cross-host or --without-cross-host was given.
919 if test "${with_cross_host+set}" = set; then
920 withval="$with_cross_host"
925 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
928 # Never versions of autoconf add an underscore to these functions.
929 # Prevent future problems ...
936 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
937 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
938 # are probably using a cross compiler, which will not be able to fully
939 # link an executable. This is addressed in later versions of autoconf.
944 # Extract the first word of "gcc", so it can be a program name with args.
945 set dummy gcc; ac_word=$2
946 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
947 echo "configure:948: checking for $ac_word" >&5
948 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
949 echo $ac_n "(cached) $ac_c" 1>&6
951 if test -n "$CC"; then
952 ac_cv_prog_CC="$CC" # Let the user override the test.
954 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
956 for ac_dir in $ac_dummy; do
957 test -z "$ac_dir" && ac_dir=.
958 if test -f $ac_dir/$ac_word; then
967 if test -n "$CC"; then
968 echo "$ac_t""$CC" 1>&6
970 echo "$ac_t""no" 1>&6
973 if test -z "$CC"; then
974 # Extract the first word of "cc", so it can be a program name with args.
975 set dummy cc; ac_word=$2
976 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
977 echo "configure:978: checking for $ac_word" >&5
978 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
979 echo $ac_n "(cached) $ac_c" 1>&6
981 if test -n "$CC"; then
982 ac_cv_prog_CC="$CC" # Let the user override the test.
984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
987 for ac_dir in $ac_dummy; do
988 test -z "$ac_dir" && ac_dir=.
989 if test -f $ac_dir/$ac_word; then
990 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
999 if test $ac_prog_rejected = yes; then
1000 # We found a bogon in the path, so make sure we never use it.
1001 set dummy $ac_cv_prog_CC
1003 if test $# -gt 0; then
1004 # We chose a different compiler from the bogus one.
1005 # However, it has the same basename, so the bogon will be chosen
1006 # first if we set CC to just the basename; use the full file name.
1008 set dummy "$ac_dir/$ac_word" "$@"
1016 if test -n "$CC"; then
1017 echo "$ac_t""$CC" 1>&6
1019 echo "$ac_t""no" 1>&6
1022 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1025 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1026 echo "configure:1027: checking whether we are using GNU C" >&5
1027 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1028 echo $ac_n "(cached) $ac_c" 1>&6
1030 cat > conftest.c <<EOF
1035 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1042 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1044 if test $ac_cv_prog_gcc = yes; then
1046 ac_test_CFLAGS="${CFLAGS+set}"
1047 ac_save_CFLAGS="$CFLAGS"
1049 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1050 echo "configure:1051: checking whether ${CC-cc} accepts -g" >&5
1051 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1052 echo $ac_n "(cached) $ac_c" 1>&6
1054 echo 'void f(){}' > conftest.c
1055 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1064 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1065 if test "$ac_test_CFLAGS" = set; then
1066 CFLAGS="$ac_save_CFLAGS"
1067 elif test $ac_cv_prog_cc_g = yes; then
1074 test "${CFLAGS+set}" = set || CFLAGS="-g"
1078 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1079 # will try to link in libstdc++.
1083 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1084 # flags that come in CXX while configuring libstdc++. They're different
1085 # from those used for all other target libraries. If CXX is set in
1086 # the environment, respect that here.
1088 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1090 # Extract the first word of "$ac_prog", so it can be a program name with args.
1091 set dummy $ac_prog; ac_word=$2
1092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1093 echo "configure:1094: checking for $ac_word" >&5
1094 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1095 echo $ac_n "(cached) $ac_c" 1>&6
1097 if test -n "$glibcpp_CXX"; then
1098 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1100 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1102 for ac_dir in $ac_dummy; do
1103 test -z "$ac_dir" && ac_dir=.
1104 if test -f $ac_dir/$ac_word; then
1105 ac_cv_prog_glibcpp_CXX="$ac_prog"
1112 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1113 if test -n "$glibcpp_CXX"; then
1114 echo "$ac_t""$glibcpp_CXX" 1>&6
1116 echo "$ac_t""no" 1>&6
1119 test -n "$glibcpp_CXX" && break
1121 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1125 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1127 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1128 echo "configure:1129: checking whether we are using GNU C++" >&5
1129 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1130 echo $ac_n "(cached) $ac_c" 1>&6
1132 cat > conftest.C <<EOF
1137 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1144 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1146 if test $ac_cv_prog_gxx = yes; then
1148 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1149 ac_save_CXXFLAGS="$CXXFLAGS"
1151 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1152 echo "configure:1153: checking whether ${CXX-g++} accepts -g" >&5
1153 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1154 echo $ac_n "(cached) $ac_c" 1>&6
1156 echo 'void f(){}' > conftest.cc
1157 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1158 ac_cv_prog_cxx_g=yes
1166 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1167 if test "$ac_test_CXXFLAGS" = set; then
1168 CXXFLAGS="$ac_save_CXXFLAGS"
1169 elif test $ac_cv_prog_cxx_g = yes; then
1176 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1180 # For directory versioning (e.g., headers) and other variables.
1181 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1182 echo "configure:1183: checking for GCC version number" >&5
1183 gcc_version=`$glibcpp_CXX -dumpversion`
1184 echo "$ac_t""$gcc_version" 1>&6
1186 # For some reason, gettext needs this.
1188 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1189 echo "configure:1190: checking for strerror in -lcposix" >&5
1190 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1192 echo $ac_n "(cached) $ac_c" 1>&6
1194 ac_save_LIBS="$LIBS"
1195 LIBS="-lcposix $LIBS"
1196 cat > conftest.$ac_ext <<EOF
1197 #line 1198 "configure"
1198 #include "confdefs.h"
1199 /* Override any gcc2 internal prototype to avoid an error. */
1200 /* We use char because int might match the return type of a gcc2
1201 builtin and then its argument prototype would still apply. */
1208 if { (eval echo configure:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1210 eval "ac_cv_lib_$ac_lib_var=yes"
1212 echo "configure: failed program was:" >&5
1213 cat conftest.$ac_ext >&5
1215 eval "ac_cv_lib_$ac_lib_var=no"
1218 LIBS="$ac_save_LIBS"
1221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1222 echo "$ac_t""yes" 1>&6
1223 LIBS="$LIBS -lcposix"
1225 echo "$ac_t""no" 1>&6
1231 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1232 set dummy ${ac_tool_prefix}as; ac_word=$2
1233 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1234 echo "configure:1235: checking for $ac_word" >&5
1235 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1236 echo $ac_n "(cached) $ac_c" 1>&6
1238 if test -n "$AS"; then
1239 ac_cv_prog_AS="$AS" # Let the user override the test.
1241 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1243 for ac_dir in $ac_dummy; do
1244 test -z "$ac_dir" && ac_dir=.
1245 if test -f $ac_dir/$ac_word; then
1246 ac_cv_prog_AS="${ac_tool_prefix}as"
1251 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1255 if test -n "$AS"; then
1256 echo "$ac_t""$AS" 1>&6
1258 echo "$ac_t""no" 1>&6
1263 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1264 set dummy ${ac_tool_prefix}ar; ac_word=$2
1265 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1266 echo "configure:1267: checking for $ac_word" >&5
1267 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1268 echo $ac_n "(cached) $ac_c" 1>&6
1270 if test -n "$AR"; then
1271 ac_cv_prog_AR="$AR" # Let the user override the test.
1273 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1275 for ac_dir in $ac_dummy; do
1276 test -z "$ac_dir" && ac_dir=.
1277 if test -f $ac_dir/$ac_word; then
1278 ac_cv_prog_AR="${ac_tool_prefix}ar"
1283 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1287 if test -n "$AR"; then
1288 echo "$ac_t""$AR" 1>&6
1290 echo "$ac_t""no" 1>&6
1295 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1298 echo "configure:1299: checking for $ac_word" >&5
1299 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1300 echo $ac_n "(cached) $ac_c" 1>&6
1302 if test -n "$RANLIB"; then
1303 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1307 for ac_dir in $ac_dummy; do
1308 test -z "$ac_dir" && ac_dir=.
1309 if test -f $ac_dir/$ac_word; then
1310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1317 RANLIB="$ac_cv_prog_RANLIB"
1318 if test -n "$RANLIB"; then
1319 echo "$ac_t""$RANLIB" 1>&6
1321 echo "$ac_t""no" 1>&6
1325 if test -z "$ac_cv_prog_RANLIB"; then
1326 if test -n "$ac_tool_prefix"; then
1327 # Extract the first word of "ranlib", so it can be a program name with args.
1328 set dummy ranlib; ac_word=$2
1329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1330 echo "configure:1331: checking for $ac_word" >&5
1331 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1332 echo $ac_n "(cached) $ac_c" 1>&6
1334 if test -n "$RANLIB"; then
1335 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1339 for ac_dir in $ac_dummy; do
1340 test -z "$ac_dir" && ac_dir=.
1341 if test -f $ac_dir/$ac_word; then
1342 ac_cv_prog_RANLIB="ranlib"
1347 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1350 RANLIB="$ac_cv_prog_RANLIB"
1351 if test -n "$RANLIB"; then
1352 echo "$ac_t""$RANLIB" 1>&6
1354 echo "$ac_t""no" 1>&6
1358 RANLIB="ranlib-not-found-in-path-error"
1362 # Find a good install program. We prefer a C program (faster),
1363 # so one script is as good as another. But avoid the broken or
1364 # incompatible versions:
1365 # SysV /etc/install, /usr/sbin/install
1366 # SunOS /usr/etc/install
1367 # IRIX /sbin/install
1369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1372 # ./install, which can be erroneously created by make from ./install.sh.
1373 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1374 echo "configure:1375: checking for a BSD compatible install" >&5
1375 if test -z "$INSTALL"; then
1376 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1377 echo $ac_n "(cached) $ac_c" 1>&6
1379 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1380 for ac_dir in $PATH; do
1381 # Account for people who put trailing slashes in PATH elements.
1383 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1385 # OSF1 and SCO ODT 3.0 have their own names for install.
1386 # Don't use installbsd from OSF since it installs stuff as root
1388 for ac_prog in ginstall scoinst install; do
1389 if test -f $ac_dir/$ac_prog; then
1390 if test $ac_prog = install &&
1391 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1392 # AIX install. It has an incompatible calling convention.
1395 ac_cv_path_install="$ac_dir/$ac_prog -c"
1406 if test "${ac_cv_path_install+set}" = set; then
1407 INSTALL="$ac_cv_path_install"
1409 # As a last resort, use the slow shell script. We don't cache a
1410 # path for INSTALL within a source directory, because that will
1411 # break other packages using the cache if that directory is
1412 # removed, or if the path is relative.
1413 INSTALL="$ac_install_sh"
1416 echo "$ac_t""$INSTALL" 1>&6
1418 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1419 # It thinks the first close brace ends the variable substitution.
1420 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1422 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1424 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1427 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1428 echo "configure:1429: checking whether to enable maintainer-specific portions of Makefiles" >&5
1429 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1430 if test "${enable_maintainer_mode+set}" = set; then
1431 enableval="$enable_maintainer_mode"
1432 USE_MAINTAINER_MODE=$enableval
1434 USE_MAINTAINER_MODE=no
1437 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1440 if test $USE_MAINTAINER_MODE = yes; then
1441 MAINTAINER_MODE_TRUE=
1442 MAINTAINER_MODE_FALSE='#'
1444 MAINTAINER_MODE_TRUE='#'
1445 MAINTAINER_MODE_FALSE=
1447 MAINT=$MAINTAINER_MODE_TRUE
1451 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1452 # at least currently, we never actually build a program, so we never
1453 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1454 # fails, because we are probably configuring with a cross compiler
1455 # which can't create executables. So we include AC_EXEEXT to keep
1456 # automake happy, but we don't execute it, since we don't care about
1459 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1460 # to nothing, so nothing would remain between `then' and `fi' if it
1461 # were not for the `:' below.
1465 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1466 echo "configure:1467: checking for executable suffix" >&5
1467 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1468 echo $ac_n "(cached) $ac_c" 1>&6
1470 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1474 echo 'int main () { return 0; }' > conftest.$ac_ext
1476 if { (eval echo configure:1477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1477 for file in conftest.*; do
1479 *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;
1480 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1484 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1487 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1492 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1493 echo "$ac_t""${ac_cv_exeext}" 1>&6
1498 case ${glibcpp_basedir} in
1499 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1500 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1503 # Find platform-specific directories containing configuration info. In
1504 # addition to possibly modifying the same flags, it also sets up symlinks.
1506 . ${glibcpp_basedir}/configure.target
1507 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1508 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1512 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1513 echo "configure:1514: checking whether build environment is sane" >&5
1516 echo timestamp > conftestfile
1517 # Do `set' in a subshell so we don't clobber the current shell's
1518 # arguments. Must try -L first in case configure is actually a
1519 # symlink; some systems play weird games with the mod time of symlinks
1520 # (eg FreeBSD returns the mod time of the symlink's containing
1523 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1524 if test "$*" = "X"; then
1526 set X `ls -t $srcdir/configure conftestfile`
1528 if test "$*" != "X $srcdir/configure conftestfile" \
1529 && test "$*" != "X conftestfile $srcdir/configure"; then
1531 # If neither matched, then we have a broken ls. This can happen
1532 # if, for instance, CONFIG_SHELL is bash and it inherits a
1533 # broken ls alias from the environment. This has actually
1534 # happened. Such a system could not be considered "sane".
1535 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1536 alias in your environment" 1>&2; exit 1; }
1539 test "$2" = conftestfile
1545 { echo "configure: error: newly created file is older than distributed files!
1546 Check your system clock" 1>&2; exit 1; }
1549 echo "$ac_t""yes" 1>&6
1550 if test "$program_transform_name" = s,x,x,; then
1551 program_transform_name=
1553 # Double any \ or $. echo might interpret backslashes.
1554 cat <<\EOF_SED > conftestsed
1555 s,\\,\\\\,g; s,\$,$$,g
1557 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1560 test "$program_prefix" != NONE &&
1561 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1562 # Use a double $ so make ignores it.
1563 test "$program_suffix" != NONE &&
1564 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1566 # sed with no file args requires a program.
1567 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1569 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1570 echo "configure:1571: checking whether ${MAKE-make} sets \${MAKE}" >&5
1571 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1572 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1573 echo $ac_n "(cached) $ac_c" 1>&6
1575 cat > conftestmake <<\EOF
1577 @echo 'ac_maketemp="${MAKE}"'
1579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1580 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1581 if test -n "$ac_maketemp"; then
1582 eval ac_cv_prog_make_${ac_make}_set=yes
1584 eval ac_cv_prog_make_${ac_make}_set=no
1588 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1589 echo "$ac_t""yes" 1>&6
1592 echo "$ac_t""no" 1>&6
1593 SET_MAKE="MAKE=${MAKE-make}"
1599 VERSION=$gcc_version
1601 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1602 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1604 cat >> confdefs.h <<EOF
1605 #define PACKAGE "$PACKAGE"
1608 cat >> confdefs.h <<EOF
1609 #define VERSION "$VERSION"
1614 missing_dir=`cd $ac_aux_dir && pwd`
1615 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1616 echo "configure:1617: checking for working aclocal" >&5
1617 # Run test in a subshell; some versions of sh will print an error if
1618 # an executable is not found, even if stderr is redirected.
1619 # Redirect stdin to placate older versions of autoconf. Sigh.
1620 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1622 echo "$ac_t""found" 1>&6
1624 ACLOCAL="$missing_dir/missing aclocal"
1625 echo "$ac_t""missing" 1>&6
1628 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1629 echo "configure:1630: checking for working autoconf" >&5
1630 # Run test in a subshell; some versions of sh will print an error if
1631 # an executable is not found, even if stderr is redirected.
1632 # Redirect stdin to placate older versions of autoconf. Sigh.
1633 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1635 echo "$ac_t""found" 1>&6
1637 AUTOCONF="$missing_dir/missing autoconf"
1638 echo "$ac_t""missing" 1>&6
1641 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1642 echo "configure:1643: checking for working automake" >&5
1643 # Run test in a subshell; some versions of sh will print an error if
1644 # an executable is not found, even if stderr is redirected.
1645 # Redirect stdin to placate older versions of autoconf. Sigh.
1646 if (automake --version) < /dev/null > /dev/null 2>&1; then
1648 echo "$ac_t""found" 1>&6
1650 AUTOMAKE="$missing_dir/missing automake"
1651 echo "$ac_t""missing" 1>&6
1654 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1655 echo "configure:1656: checking for working autoheader" >&5
1656 # Run test in a subshell; some versions of sh will print an error if
1657 # an executable is not found, even if stderr is redirected.
1658 # Redirect stdin to placate older versions of autoconf. Sigh.
1659 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1660 AUTOHEADER=autoheader
1661 echo "$ac_t""found" 1>&6
1663 AUTOHEADER="$missing_dir/missing autoheader"
1664 echo "$ac_t""missing" 1>&6
1667 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1668 echo "configure:1669: checking for working makeinfo" >&5
1669 # Run test in a subshell; some versions of sh will print an error if
1670 # an executable is not found, even if stderr is redirected.
1671 # Redirect stdin to placate older versions of autoconf. Sigh.
1672 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1674 echo "$ac_t""found" 1>&6
1676 MAKEINFO="$missing_dir/missing makeinfo"
1677 echo "$ac_t""missing" 1>&6
1686 # Check whether --enable-shared or --disable-shared was given.
1687 if test "${enable_shared+set}" = set; then
1688 enableval="$enable_shared"
1689 p=${PACKAGE-default}
1691 yes) enable_shared=yes ;;
1692 no) enable_shared=no ;;
1695 # Look at the argument we got. We use all the common list separators.
1696 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1697 for pkg in $enableval; do
1698 if test "X$pkg" = "X$p"; then
1709 # Check whether --enable-static or --disable-static was given.
1710 if test "${enable_static+set}" = set; then
1711 enableval="$enable_static"
1712 p=${PACKAGE-default}
1714 yes) enable_static=yes ;;
1715 no) enable_static=no ;;
1718 # Look at the argument we got. We use all the common list separators.
1719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1720 for pkg in $enableval; do
1721 if test "X$pkg" = "X$p"; then
1732 # Check whether --enable-fast-install or --disable-fast-install was given.
1733 if test "${enable_fast_install+set}" = set; then
1734 enableval="$enable_fast_install"
1735 p=${PACKAGE-default}
1737 yes) enable_fast_install=yes ;;
1738 no) enable_fast_install=no ;;
1740 enable_fast_install=no
1741 # Look at the argument we got. We use all the common list separators.
1742 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1743 for pkg in $enableval; do
1744 if test "X$pkg" = "X$p"; then
1745 enable_fast_install=yes
1752 enable_fast_install=yes
1755 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1756 if test "${with_gnu_ld+set}" = set; then
1757 withval="$with_gnu_ld"
1758 test "$withval" = no || with_gnu_ld=yes
1764 if test "$GCC" = yes; then
1765 # Check if gcc -print-prog-name=ld gives a path.
1766 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1767 echo "configure:1768: checking for ld used by GCC" >&5
1770 # gcc leaves a trailing carriage return which upsets mingw
1771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1776 # Accept absolute paths.
1777 [\\/]* | [A-Za-z]:[\\/]*)
1778 re_direlt='/[^/][^/]*/\.\./'
1779 # Canonicalize the path of ld
1780 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1781 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1782 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1784 test -z "$LD" && LD="$ac_prog"
1787 # If it fails, then pretend we aren't using GCC.
1791 # If it is relative, then search for the first ld in PATH.
1795 elif test "$with_gnu_ld" = yes; then
1796 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1797 echo "configure:1798: checking for GNU ld" >&5
1799 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1800 echo "configure:1801: checking for non-GNU ld" >&5
1802 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1803 echo $ac_n "(cached) $ac_c" 1>&6
1805 if test -z "$LD"; then
1806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1807 for ac_dir in $PATH; do
1808 test -z "$ac_dir" && ac_dir=.
1809 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1810 lt_cv_path_LD="$ac_dir/$ac_prog"
1811 # Check to see if the program is GNU ld. I'd rather use --version,
1812 # but apparently some GNU ld's only accept -v.
1813 # Break only if it was the GNU/non-GNU ld that we prefer.
1814 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1815 test "$with_gnu_ld" != no && break
1817 test "$with_gnu_ld" != yes && break
1823 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1828 if test -n "$LD"; then
1829 echo "$ac_t""$LD" 1>&6
1831 echo "$ac_t""no" 1>&6
1833 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1834 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1835 echo "configure:1836: checking if the linker ($LD) is GNU ld" >&5
1836 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1837 echo $ac_n "(cached) $ac_c" 1>&6
1839 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1840 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1841 lt_cv_prog_gnu_ld=yes
1843 lt_cv_prog_gnu_ld=no
1847 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1848 with_gnu_ld=$lt_cv_prog_gnu_ld
1851 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1852 echo "configure:1853: checking for $LD option to reload object files" >&5
1853 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1854 echo $ac_n "(cached) $ac_c" 1>&6
1856 lt_cv_ld_reload_flag='-r'
1859 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1860 reload_flag=$lt_cv_ld_reload_flag
1861 test -n "$reload_flag" && reload_flag=" $reload_flag"
1863 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1864 echo "configure:1865: checking for BSD-compatible nm" >&5
1865 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1866 echo $ac_n "(cached) $ac_c" 1>&6
1868 if test -n "$NM"; then
1869 # Let the user override the test.
1872 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1873 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1874 test -z "$ac_dir" && ac_dir=.
1875 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1876 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1877 # Check to see if the nm accepts a BSD-compat flag.
1878 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1879 # nm: unknown option "B" ignored
1880 # Tru64's nm complains that /dev/null is an invalid object file
1881 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1882 lt_cv_path_NM="$tmp_nm -B"
1884 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1885 lt_cv_path_NM="$tmp_nm -p"
1888 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1889 continue # so that we can try to find one that supports BSD flags
1894 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1899 echo "$ac_t""$NM" 1>&6
1901 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1902 echo "configure:1903: checking how to recognise dependant libraries" >&5
1903 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1904 echo $ac_n "(cached) $ac_c" 1>&6
1906 lt_cv_file_magic_cmd='$MAGIC_CMD'
1907 lt_cv_file_magic_test_file=
1908 lt_cv_deplibs_check_method='unknown'
1909 # Need to set the preceding variable on all platforms that support
1910 # interlibrary dependencies.
1911 # 'none' -- dependencies not supported.
1912 # `unknown' -- same as none, but documents that we really don't know.
1913 # 'pass_all' -- all dependencies passed with no checks.
1914 # 'test_compile' -- check by making test program.
1915 # 'file_magic [regex]' -- check by looking for files in library path
1916 # which responds to the $file_magic_cmd with a given egrep regex.
1917 # If you have `file' or equivalent on your system and you're not sure
1918 # whether `pass_all' will *always* work, you probably want this one.
1922 lt_cv_deplibs_check_method=pass_all
1926 lt_cv_deplibs_check_method=pass_all
1930 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1931 lt_cv_file_magic_cmd='/usr/bin/file -L'
1932 lt_cv_file_magic_test_file=/shlib/libc.so
1935 cygwin* | mingw* |pw32*)
1936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1937 lt_cv_file_magic_cmd='$OBJDUMP -f'
1940 darwin* | rhapsody*)
1941 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1942 lt_cv_file_magic_cmd='/usr/bin/file -L'
1944 rhapsody* | darwin1.012)
1945 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1948 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1954 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1957 # Not sure whether the presence of OpenBSD here was a mistake.
1958 # Let's accept both of them until this is cleared up.
1959 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1960 lt_cv_file_magic_cmd=/usr/bin/file
1961 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1965 lt_cv_deplibs_check_method=pass_all
1970 lt_cv_deplibs_check_method=pass_all
1976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1977 lt_cv_file_magic_cmd=/usr/bin/file
1978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1981 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1982 lt_cv_file_magic_cmd=/usr/bin/file
1983 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1991 # this will be overridden with pass_all, but let us keep it just in case
1992 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1996 *-32|*"-32 ") libmagic=32-bit;;
1997 *-n32|*"-n32 ") libmagic=N32;;
1998 *-64|*"-64 ") libmagic=64-bit;;
1999 *) libmagic=never-match;;
2001 # this will be overridden with pass_all, but let us keep it just in case
2002 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2005 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2006 lt_cv_deplibs_check_method=pass_all
2009 # This must be Linux ELF.
2012 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2013 lt_cv_deplibs_check_method=pass_all ;;
2015 # glibc up to 2.1.1 does not perform some relocations on ARM
2016 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2018 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2022 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2023 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2025 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2030 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2031 lt_cv_file_magic_cmd=/usr/bin/file
2032 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2035 osf3* | osf4* | osf5*)
2036 # this will be overridden with pass_all, but let us keep it just in case
2037 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2038 lt_cv_file_magic_test_file=/shlib/libc.so
2039 lt_cv_deplibs_check_method=pass_all
2043 lt_cv_deplibs_check_method=pass_all
2047 lt_cv_deplibs_check_method=pass_all
2048 lt_cv_file_magic_test_file=/lib/libc.so
2051 sysv5uw[78]* | sysv4*uw2*)
2052 lt_cv_deplibs_check_method=pass_all
2055 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2056 case $host_vendor in
2058 lt_cv_deplibs_check_method=pass_all
2061 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]'
2062 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2070 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2071 file_magic_cmd=$lt_cv_file_magic_cmd
2072 deplibs_check_method=$lt_cv_deplibs_check_method
2074 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2075 echo "configure:2076: checking for object suffix" >&5
2076 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2077 echo $ac_n "(cached) $ac_c" 1>&6
2080 echo 'int i = 1;' > conftest.$ac_ext
2081 if { (eval echo configure:2082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2082 for ac_file in conftest.*; do
2085 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2089 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2094 echo "$ac_t""$ac_cv_objext" 1>&6
2095 OBJEXT=$ac_cv_objext
2096 ac_objext=$ac_cv_objext
2098 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2100 # Only perform the check for file, if the check method requires it
2101 case $deplibs_check_method in
2103 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2104 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2105 echo "configure:2106: checking for ${ac_tool_prefix}file" >&5
2106 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2107 echo $ac_n "(cached) $ac_c" 1>&6
2111 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2117 ac_save_MAGIC_CMD="$MAGIC_CMD"
2118 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2119 ac_dummy="/usr/bin:$PATH"
2120 for ac_dir in $ac_dummy; do
2121 test -z "$ac_dir" && ac_dir=.
2122 if test -f $ac_dir/${ac_tool_prefix}file; then
2123 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2124 if test -n "$file_magic_test_file"; then
2125 case $deplibs_check_method in
2127 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2128 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2129 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2130 egrep "$file_magic_regex" > /dev/null; then
2135 *** Warning: the command libtool uses to detect shared libraries,
2136 *** $file_magic_cmd, produces output that libtool cannot recognize.
2137 *** The result is that libtool may fail to recognize shared libraries
2138 *** as such. This will affect the creation of libtool libraries that
2139 *** depend on shared libraries, but programs linked with such libtool
2140 *** libraries will work regardless of this problem. Nevertheless, you
2141 *** may want to report the problem to your system manager and/or to
2142 *** bug-libtool@gnu.org
2152 MAGIC_CMD="$ac_save_MAGIC_CMD"
2157 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2158 if test -n "$MAGIC_CMD"; then
2159 echo "$ac_t""$MAGIC_CMD" 1>&6
2161 echo "$ac_t""no" 1>&6
2164 if test -z "$lt_cv_path_MAGIC_CMD"; then
2165 if test -n "$ac_tool_prefix"; then
2166 echo $ac_n "checking for file""... $ac_c" 1>&6
2167 echo "configure:2168: checking for file" >&5
2168 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2169 echo $ac_n "(cached) $ac_c" 1>&6
2173 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2176 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2179 ac_save_MAGIC_CMD="$MAGIC_CMD"
2180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2181 ac_dummy="/usr/bin:$PATH"
2182 for ac_dir in $ac_dummy; do
2183 test -z "$ac_dir" && ac_dir=.
2184 if test -f $ac_dir/file; then
2185 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2186 if test -n "$file_magic_test_file"; then
2187 case $deplibs_check_method in
2189 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2191 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2192 egrep "$file_magic_regex" > /dev/null; then
2197 *** Warning: the command libtool uses to detect shared libraries,
2198 *** $file_magic_cmd, produces output that libtool cannot recognize.
2199 *** The result is that libtool may fail to recognize shared libraries
2200 *** as such. This will affect the creation of libtool libraries that
2201 *** depend on shared libraries, but programs linked with such libtool
2202 *** libraries will work regardless of this problem. Nevertheless, you
2203 *** may want to report the problem to your system manager and/or to
2204 *** bug-libtool@gnu.org
2214 MAGIC_CMD="$ac_save_MAGIC_CMD"
2219 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2220 if test -n "$MAGIC_CMD"; then
2221 echo "$ac_t""$MAGIC_CMD" 1>&6
2223 echo "$ac_t""no" 1>&6
2235 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2236 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2237 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2238 echo "configure:2239: checking for $ac_word" >&5
2239 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2240 echo $ac_n "(cached) $ac_c" 1>&6
2242 if test -n "$RANLIB"; then
2243 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2245 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2247 for ac_dir in $ac_dummy; do
2248 test -z "$ac_dir" && ac_dir=.
2249 if test -f $ac_dir/$ac_word; then
2250 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2257 RANLIB="$ac_cv_prog_RANLIB"
2258 if test -n "$RANLIB"; then
2259 echo "$ac_t""$RANLIB" 1>&6
2261 echo "$ac_t""no" 1>&6
2265 if test -z "$ac_cv_prog_RANLIB"; then
2266 if test -n "$ac_tool_prefix"; then
2267 # Extract the first word of "ranlib", so it can be a program name with args.
2268 set dummy ranlib; ac_word=$2
2269 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2270 echo "configure:2271: checking for $ac_word" >&5
2271 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2272 echo $ac_n "(cached) $ac_c" 1>&6
2274 if test -n "$RANLIB"; then
2275 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2277 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2279 for ac_dir in $ac_dummy; do
2280 test -z "$ac_dir" && ac_dir=.
2281 if test -f $ac_dir/$ac_word; then
2282 ac_cv_prog_RANLIB="ranlib"
2287 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2290 RANLIB="$ac_cv_prog_RANLIB"
2291 if test -n "$RANLIB"; then
2292 echo "$ac_t""$RANLIB" 1>&6
2294 echo "$ac_t""no" 1>&6
2302 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
2304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2305 echo "configure:2306: checking for $ac_word" >&5
2306 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2307 echo $ac_n "(cached) $ac_c" 1>&6
2309 if test -n "$STRIP"; then
2310 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2312 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2314 for ac_dir in $ac_dummy; do
2315 test -z "$ac_dir" && ac_dir=.
2316 if test -f $ac_dir/$ac_word; then
2317 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2324 STRIP="$ac_cv_prog_STRIP"
2325 if test -n "$STRIP"; then
2326 echo "$ac_t""$STRIP" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 if test -z "$ac_cv_prog_STRIP"; then
2333 if test -n "$ac_tool_prefix"; then
2334 # Extract the first word of "strip", so it can be a program name with args.
2335 set dummy strip; ac_word=$2
2336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2337 echo "configure:2338: checking for $ac_word" >&5
2338 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2339 echo $ac_n "(cached) $ac_c" 1>&6
2341 if test -n "$STRIP"; then
2342 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2344 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2346 for ac_dir in $ac_dummy; do
2347 test -z "$ac_dir" && ac_dir=.
2348 if test -f $ac_dir/$ac_word; then
2349 ac_cv_prog_STRIP="strip"
2354 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2357 STRIP="$ac_cv_prog_STRIP"
2358 if test -n "$STRIP"; then
2359 echo "$ac_t""$STRIP" 1>&6
2361 echo "$ac_t""no" 1>&6
2370 # Check for any special flags to pass to ltconfig.
2371 libtool_flags="--cache-file=$cache_file"
2372 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2373 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2374 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2375 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2376 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2377 libtool_flags="$libtool_flags --enable-dlopen"
2379 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2380 if test "${enable_libtool_lock+set}" = set; then
2381 enableval="$enable_libtool_lock"
2385 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2386 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2388 # Check whether --with-pic or --without-pic was given.
2389 if test "${with_pic+set}" = set; then
2396 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2397 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2399 # Some flags need to be propagated to the compiler or linker for good
2403 # Find out which ABI we are using.
2404 echo '#line 2405 "configure"' > conftest.$ac_ext
2405 if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2406 case `/usr/bin/file conftest.$ac_objext` in
2422 # Find out which ABI we are using.
2423 echo 'int i;' > conftest.$ac_ext
2424 if { (eval echo configure:2425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2425 case "`/usr/bin/file conftest.o`" in
2438 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2439 SAVE_CFLAGS="$CFLAGS"
2440 CFLAGS="$CFLAGS -belf"
2441 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2442 echo "configure:2443: checking whether the C compiler needs -belf" >&5
2443 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2444 echo $ac_n "(cached) $ac_c" 1>&6
2448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2449 ac_cpp='$CPP $CPPFLAGS'
2450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2452 cross_compiling=$ac_cv_prog_cc_cross
2454 cat > conftest.$ac_ext <<EOF
2455 #line 2456 "configure"
2456 #include "confdefs.h"
2462 if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2464 lt_cv_cc_needs_belf=yes
2466 echo "configure: failed program was:" >&5
2467 cat conftest.$ac_ext >&5
2469 lt_cv_cc_needs_belf=no
2473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2474 ac_cpp='$CPP $CPPFLAGS'
2475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2477 cross_compiling=$ac_cv_prog_cc_cross
2481 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2482 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2483 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2484 CFLAGS="$SAVE_CFLAGS"
2491 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2492 echo "configure:2493: checking how to run the C++ preprocessor" >&5
2493 if test -z "$CXXCPP"; then
2494 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2495 echo $ac_n "(cached) $ac_c" 1>&6
2498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2499 ac_cpp='$CXXCPP $CPPFLAGS'
2500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2502 cross_compiling=$ac_cv_prog_cxx_cross
2503 CXXCPP="${CXX-g++} -E"
2504 cat > conftest.$ac_ext <<EOF
2505 #line 2506 "configure"
2506 #include "confdefs.h"
2509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2510 { (eval echo configure:2511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2512 if test -z "$ac_err"; then
2516 echo "configure: failed program was:" >&5
2517 cat conftest.$ac_ext >&5
2522 ac_cv_prog_CXXCPP="$CXXCPP"
2524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2525 ac_cpp='$CPP $CPPFLAGS'
2526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2528 cross_compiling=$ac_cv_prog_cc_cross
2531 CXXCPP="$ac_cv_prog_CXXCPP"
2532 echo "$ac_t""$CXXCPP" 1>&6
2535 # Save cache, so that ltconfig can load it
2536 cat > confcache <<\EOF
2537 # This file is a shell script that caches the results of configure
2538 # tests run on this system so they can be shared between configure
2539 # scripts and configure runs. It is not useful on other systems.
2540 # If it contains results you don't want to keep, you may remove or edit it.
2542 # By default, configure uses ./config.cache as the cache file,
2543 # creating it if it does not exist already. You can give configure
2544 # the --cache-file=FILE option to use a different cache file; that is
2545 # what configure does when it calls configure scripts in
2546 # subdirectories, so they share the cache.
2547 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2548 # config.status only pays attention to the cache file if you give it the
2549 # --recheck option to rerun configure.
2552 # The following way of writing the cache mishandles newlines in values,
2553 # but we know of no workaround that is simple, portable, and efficient.
2554 # So, don't put newlines in cache variables' values.
2555 # Ultrix sh set writes to stderr and can't be redirected directly,
2556 # and sets the high bit in the cache file unless we assign to the vars.
2558 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2560 # `set' does not quote correctly, so add quotes (double-quote substitution
2561 # turns \\\\ into \\, and sed turns \\ into \).
2563 -e "s/'/'\\\\''/g" \
2564 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2567 # `set' quotes correctly as required by POSIX, so do not add quotes.
2568 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2571 if cmp -s $cache_file confcache; then
2574 if test -w $cache_file; then
2575 echo "updating cache $cache_file"
2576 cat confcache > $cache_file
2578 echo "not updating unwritable cache $cache_file"
2584 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2585 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2586 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2587 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2588 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2589 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2590 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2591 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2592 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2593 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2595 # Reload cache, that may have been modified by ltconfig
2596 if test -r "$cache_file"; then
2597 echo "loading cache $cache_file"
2600 echo "creating cache $cache_file"
2605 # This can be used to rebuild libtool when needed
2606 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2608 # Always use our own libtool.
2609 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2611 # Redirect the config.log output again, so that the ltconfig log is not
2612 # clobbered by the next message.
2613 exec 5>>./config.log
2617 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2619 lt_save_CFLAGS="$CFLAGS"
2620 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2621 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2622 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2623 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2624 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2625 deplibs_check_method="$deplibs_check_method" \
2626 file_magic_cmd="$file_magic_cmd" \
2627 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2628 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2629 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2631 CFLAGS="$lt_save_CFLAGS"
2633 # Redirect the config.log output again, so that the ltconfig log is not
2634 # clobbered by the next message.
2635 exec 5>>./config.log
2645 # Check for c++ or library specific bits that don't require linking.
2646 #GLIBCPP_CHECK_COMPILER_VERSION
2647 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2648 echo "configure:2649: checking for GNU make" >&5
2649 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2650 echo $ac_n "(cached) $ac_c" 1>&6
2652 _cv_gnu_make_command='' ;
2653 for a in "${MAKE-make}" make gmake gnumake ; do
2654 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2656 _cv_gnu_make_command=$a ;
2663 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2664 if test "x$_cv_gnu_make_command" != "x" ; then
2672 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2673 # Check whether --enable-debug or --disable-debug was given.
2674 if test "${enable_debug+set}" = set; then
2675 enableval="$enable_debug"
2676 case "${enableval}" in
2677 yes) enable_debug=yes ;;
2678 no) enable_debug=no ;;
2679 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2685 case "${enable_debug}" in
2687 DEBUG_FLAGS='-O0 -ggdb3'
2695 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2696 echo "configure:2697: checking how to run the C preprocessor" >&5
2697 # On Suns, sometimes $CPP names a directory.
2698 if test -n "$CPP" && test -d "$CPP"; then
2701 if test -z "$CPP"; then
2702 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2703 echo $ac_n "(cached) $ac_c" 1>&6
2705 # This must be in double quotes, not single quotes, because CPP may get
2706 # substituted into the Makefile and "${CC-cc}" will confuse make.
2708 # On the NeXT, cc -E runs the code through the compiler's parser,
2709 # not just through cpp.
2710 cat > conftest.$ac_ext <<EOF
2711 #line 2712 "configure"
2712 #include "confdefs.h"
2716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2717 { (eval echo configure:2718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2719 if test -z "$ac_err"; then
2723 echo "configure: failed program was:" >&5
2724 cat conftest.$ac_ext >&5
2726 CPP="${CC-cc} -E -traditional-cpp"
2727 cat > conftest.$ac_ext <<EOF
2728 #line 2729 "configure"
2729 #include "confdefs.h"
2733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2734 { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2736 if test -z "$ac_err"; then
2740 echo "configure: failed program was:" >&5
2741 cat conftest.$ac_ext >&5
2743 CPP="${CC-cc} -nologo -E"
2744 cat > conftest.$ac_ext <<EOF
2745 #line 2746 "configure"
2746 #include "confdefs.h"
2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2753 if test -z "$ac_err"; then
2757 echo "configure: failed program was:" >&5
2758 cat conftest.$ac_ext >&5
2767 ac_cv_prog_CPP="$CPP"
2769 CPP="$ac_cv_prog_CPP"
2771 ac_cv_prog_CPP="$CPP"
2773 echo "$ac_t""$CPP" 1>&6
2776 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2777 echo "configure:2778: checking for cstdio to use" >&5
2778 # Check whether --enable-cstdio or --disable-cstdio was given.
2779 if test "${enable_cstdio+set}" = set; then
2780 enableval="$enable_cstdio"
2781 if test x$enable_cstdio = xno; then
2789 enable_cstdio_flag=$enable_cstdio
2791 case x${enable_cstdio_flag} in
2793 CSTDIO_H=config/io/c_io_libio.h
2794 BASIC_FILE_H=config/io/basic_file_libio.h
2795 BASIC_FILE_CC=config/io/basic_file_libio.cc
2796 echo "$ac_t""libio" 1>&6
2798 # see if we are on a system with libio native (ie, linux)
2799 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2800 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2801 echo "configure:2802: checking for libio.h" >&5
2802 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2803 echo $ac_n "(cached) $ac_c" 1>&6
2805 cat > conftest.$ac_ext <<EOF
2806 #line 2807 "configure"
2807 #include "confdefs.h"
2810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2811 { (eval echo configure:2812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2813 if test -z "$ac_err"; then
2815 eval "ac_cv_header_$ac_safe=yes"
2818 echo "configure: failed program was:" >&5
2819 cat conftest.$ac_ext >&5
2821 eval "ac_cv_header_$ac_safe=no"
2825 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2826 echo "$ac_t""yes" 1>&6
2829 echo "$ac_t""no" 1>&6
2834 # Need to check and see what version of glibc is being used. If
2835 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2836 # compile most of libio for linux systems.
2837 if test x$has_libio = x"yes"; then
2840 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2841 echo "configure:2842: checking for glibc version >= 2.2" >&5
2842 cat > conftest.$ac_ext <<EOF
2843 #line 2844 "configure"
2844 #include "confdefs.h"
2846 #include <features.h>
2847 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2853 egrep "ok" >/dev/null 2>&1; then
2855 glibc_satisfactory=yes
2858 glibc_satisfactory=no
2862 echo "$ac_t""$glibc_satisfactory" 1>&6
2866 # XXX at the moment, admit defeat and force the recompilation
2867 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2868 glibc_satisfactory=no
2870 if test x$glibc_satisfactory = x"yes"; then
2875 # bkoz XXX need to add checks to enable this
2876 # pme XXX here's a first pass at such a check
2877 if test x$enable_c_mbchar != xno; then
2885 # Using libio, but <libio.h> doesn't exist on the target system. . .
2887 # bkoz XXX need to add checks to enable this
2888 # pme XXX here's a first pass at such a check
2889 if test x$enable_c_mbchar != xno; then
2896 xstdio | x | xno | xnone | xyes)
2898 CSTDIO_H=config/io/c_io_stdio.h
2899 BASIC_FILE_H=config/io/basic_file_stdio.h
2900 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2901 echo "$ac_t""stdio" 1>&6
2903 # We're not using stdio.
2908 echo "$enable_cstdio is an unknown io package" 1>&2
2916 # 2000-08-04 bkoz hack
2917 CCODECVT_C=config/io/c_io_libio_codecvt.c
2919 # 2000-08-04 bkoz hack
2923 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2924 GLIBCPP_BUILD_LIBIO_TRUE=
2925 GLIBCPP_BUILD_LIBIO_FALSE='#'
2927 GLIBCPP_BUILD_LIBIO_TRUE='#'
2928 GLIBCPP_BUILD_LIBIO_FALSE=
2932 if test "$need_libio" = yes; then
2933 GLIBCPP_NEED_LIBIO_TRUE=
2934 GLIBCPP_NEED_LIBIO_FALSE='#'
2936 GLIBCPP_NEED_LIBIO_TRUE='#'
2937 GLIBCPP_NEED_LIBIO_FALSE=
2941 if test "$need_wlibio" = yes; then
2942 GLIBCPP_NEED_WLIBIO_TRUE=
2943 GLIBCPP_NEED_WLIBIO_FALSE='#'
2945 GLIBCPP_NEED_WLIBIO_TRUE='#'
2946 GLIBCPP_NEED_WLIBIO_FALSE=
2948 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2949 libio_la=../libio/libio.la
2956 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2957 echo "configure:2958: checking for clocale to use" >&5
2958 # Check whether --enable-clocale or --disable-clocale was given.
2959 if test "${enable_clocale+set}" = set; then
2960 enableval="$enable_clocale"
2961 if test x$enable_clocale = xno; then
2969 enable_clocale_flag=$enable_clocale
2971 if test x$enable_clocale_flag = xno; then
2972 case x${target_os} in
2974 cat > conftest.$ac_ext <<EOF
2975 #line 2976 "configure"
2976 #include "confdefs.h"
2978 #include <features.h>
2979 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2985 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2987 enable_clocale_flag=gnu
2990 enable_clocale_flag=generic
2995 # Test for bugs early in glibc-2.2.x series
2996 if test x$enable_clocale_flag = xgnu; then
2997 if test "$cross_compiling" = yes; then
2998 enable_clocale_flag=generic
3000 cat > conftest.$ac_ext <<EOF
3001 #line 3002 "configure"
3002 #include "confdefs.h"
3004 #define _GNU_SOURCE 1
3007 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3008 extern __typeof(newlocale) __newlocale;
3009 extern __typeof(duplocale) __duplocale;
3010 extern __typeof(strcoll_l) __strcoll_l;
3014 const char __one[] = "Äuglein Augmen";
3015 const char __two[] = "Äuglein";
3020 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3021 loc_dup = __duplocale(loc);
3022 i = __strcoll_l(__one, __two, loc);
3023 j = __strcoll_l(__one, __two, loc_dup);
3028 if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3030 enable_clocale_flag=gnu
3032 echo "configure: failed program was:" >&5
3033 cat conftest.$ac_ext >&5
3035 enable_clocale_flag=generic
3042 # ... at some point put __strxfrm_l tests in as well.
3045 enable_clocale_flag=generic
3050 # Check whether --enable-nls or --disable-nls was given.
3051 if test "${enable_nls+set}" = set; then
3052 enableval="$enable_nls"
3060 case x${enable_clocale_flag} in
3062 echo "$ac_t""generic" 1>&6
3064 CLOCALE_H=config/locale/generic/c_locale.h
3065 CLOCALE_CC=config/locale/generic/c_locale.cc
3066 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3067 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3068 CCOLLATE_CC=config/locale/generic/collate_members.cc
3069 CCTYPE_CC=config/locale/generic/ctype_members.cc
3070 CMESSAGES_H=config/locale/generic/messages_members.h
3071 CMESSAGES_CC=config/locale/generic/messages_members.cc
3072 CMONEY_CC=config/locale/generic/monetary_members.cc
3073 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3074 CTIME_CC=config/locale/generic/time_members.cc
3075 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3078 echo "$ac_t""gnu" 1>&6
3080 # Declare intention to use gettext, and add support for specific
3082 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3085 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3086 # Extract the first word of "msgfmt", so it can be a program name with args.
3087 set dummy msgfmt; ac_word=$2
3088 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3089 echo "configure:3090: checking for $ac_word" >&5
3090 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3091 echo $ac_n "(cached) $ac_c" 1>&6
3093 if test -n "$check_msgfmt"; then
3094 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3096 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3098 for ac_dir in $ac_dummy; do
3099 test -z "$ac_dir" && ac_dir=.
3100 if test -f $ac_dir/$ac_word; then
3101 ac_cv_prog_check_msgfmt="yes"
3106 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3109 check_msgfmt="$ac_cv_prog_check_msgfmt"
3110 if test -n "$check_msgfmt"; then
3111 echo "$ac_t""$check_msgfmt" 1>&6
3113 echo "$ac_t""no" 1>&6
3116 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3119 # Export the build objects.
3120 for ling in $ALL_LINGUAS; do \
3121 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3122 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3127 CLOCALE_H=config/locale/gnu/c_locale.h
3128 CLOCALE_CC=config/locale/gnu/c_locale.cc
3129 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3130 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3131 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3132 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3133 CMESSAGES_H=config/locale/gnu/messages_members.h
3134 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3135 CMONEY_CC=config/locale/gnu/monetary_members.cc
3136 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3137 CTIME_CC=config/locale/gnu/time_members.cc
3138 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3141 echo "$ac_t""generic" 1>&6
3143 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3144 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3145 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3146 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3147 CCOLLATE_CC=config/locale/generic/collate_members.cc
3148 CCTYPE_CC=config/locale/generic/ctype_members.cc
3149 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3150 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3151 CMONEY_CC=config/locale/generic/monetary_members.cc
3152 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3153 CTIME_CC=config/locale/generic/time_members.cc
3154 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3157 echo "$enable_clocale is an unknown locale package" 1>&2
3162 # This is where the testsuite looks for locale catalogs, using the
3163 # -DLOCALEDIR define during testsuite compilation.
3164 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3167 # For the time being, transform ctype_noninline.h to ctype_members_char.cc
3168 # CCTYPE_CHAR_CC=config/${os_include_dir}/ctype_noninline.h
3177 # AC_LINK_FILES($CCTYPE_CHAR_CC, src/ctype_members_char.cc)
3185 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3186 if test "${enable_c_mbchar+set}" = set; then
3187 enableval="$enable_c_mbchar"
3188 case "$enableval" in
3189 yes) enable_c_mbchar=yes ;;
3190 no) enable_c_mbchar=no ;;
3191 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3198 # Check whether --enable-c99 or --disable-c99 was given.
3199 if test "${enable_c99+set}" = set; then
3200 enableval="$enable_c99"
3201 case "$enableval" in
3202 yes) enable_c99=yes ;;
3203 no) enable_c99=no ;;
3204 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3213 ac_cpp='$CXXCPP $CPPFLAGS'
3214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3216 cross_compiling=$ac_cv_prog_cxx_cross
3219 # Check for the existence of <math.h> functions used if C99 is enabled.
3221 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3222 echo "configure:3223: checking for ISO C99 support in <math.h>" >&5
3223 cat > conftest.$ac_ext <<EOF
3224 #line 3225 "configure"
3225 #include "confdefs.h"
3231 if { (eval echo configure:3232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3234 echo "configure: failed program was:" >&5
3235 cat conftest.$ac_ext >&5
3240 cat > conftest.$ac_ext <<EOF
3241 #line 3242 "configure"
3242 #include "confdefs.h"
3248 if { (eval echo configure:3249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3251 echo "configure: failed program was:" >&5
3252 cat conftest.$ac_ext >&5
3257 cat > conftest.$ac_ext <<EOF
3258 #line 3259 "configure"
3259 #include "confdefs.h"
3265 if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3268 echo "configure: failed program was:" >&5
3269 cat conftest.$ac_ext >&5
3274 cat > conftest.$ac_ext <<EOF
3275 #line 3276 "configure"
3276 #include "confdefs.h"
3282 if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3285 echo "configure: failed program was:" >&5
3286 cat conftest.$ac_ext >&5
3291 cat > conftest.$ac_ext <<EOF
3292 #line 3293 "configure"
3293 #include "confdefs.h"
3299 if { (eval echo configure:3300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3302 echo "configure: failed program was:" >&5
3303 cat conftest.$ac_ext >&5
3308 cat > conftest.$ac_ext <<EOF
3309 #line 3310 "configure"
3310 #include "confdefs.h"
3316 if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3319 echo "configure: failed program was:" >&5
3320 cat conftest.$ac_ext >&5
3325 cat > conftest.$ac_ext <<EOF
3326 #line 3327 "configure"
3327 #include "confdefs.h"
3333 if { (eval echo configure:3334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3336 echo "configure: failed program was:" >&5
3337 cat conftest.$ac_ext >&5
3342 cat > conftest.$ac_ext <<EOF
3343 #line 3344 "configure"
3344 #include "confdefs.h"
3347 isgreaterequal(0.0,0.0);
3350 if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3353 echo "configure: failed program was:" >&5
3354 cat conftest.$ac_ext >&5
3359 cat > conftest.$ac_ext <<EOF
3360 #line 3361 "configure"
3361 #include "confdefs.h"
3367 if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3370 echo "configure: failed program was:" >&5
3371 cat conftest.$ac_ext >&5
3376 cat > conftest.$ac_ext <<EOF
3377 #line 3378 "configure"
3378 #include "confdefs.h"
3381 islessequal(0.0,0.0);
3384 if { (eval echo configure:3385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3387 echo "configure: failed program was:" >&5
3388 cat conftest.$ac_ext >&5
3393 cat > conftest.$ac_ext <<EOF
3394 #line 3395 "configure"
3395 #include "confdefs.h"
3398 islessgreater(0.0,0.0);
3401 if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3404 echo "configure: failed program was:" >&5
3405 cat conftest.$ac_ext >&5
3410 cat > conftest.$ac_ext <<EOF
3411 #line 3412 "configure"
3412 #include "confdefs.h"
3415 isunordered(0.0,0.0);
3418 if { (eval echo configure:3419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3421 echo "configure: failed program was:" >&5
3422 cat conftest.$ac_ext >&5
3427 echo "$ac_t""$ac_c99_math" 1>&6
3429 # Check for the existence in <stdio.h> of vscanf, et. al.
3431 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3432 echo "configure:3433: checking for ISO C99 support in <stdio.h>" >&5
3433 cat > conftest.$ac_ext <<EOF
3434 #line 3435 "configure"
3435 #include "confdefs.h"
3438 snprintf("12", 0, "%i");
3441 if { (eval echo configure:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3444 echo "configure: failed program was:" >&5
3445 cat conftest.$ac_ext >&5
3450 cat > conftest.$ac_ext <<EOF
3451 #line 3452 "configure"
3452 #include "confdefs.h"
3455 void foo(char* fmt, ...)
3456 {va_list args; va_start(args, fmt);
3457 vfscanf(stderr, "%i", args);}
3462 if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3465 echo "configure: failed program was:" >&5
3466 cat conftest.$ac_ext >&5
3471 cat > conftest.$ac_ext <<EOF
3472 #line 3473 "configure"
3473 #include "confdefs.h"
3476 void foo(char* fmt, ...)
3477 {va_list args; va_start(args, fmt);
3478 vscanf("%i", args);}
3483 if { (eval echo configure:3484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3486 echo "configure: failed program was:" >&5
3487 cat conftest.$ac_ext >&5
3492 cat > conftest.$ac_ext <<EOF
3493 #line 3494 "configure"
3494 #include "confdefs.h"
3497 void foo(char* fmt, ...)
3498 {va_list args; va_start(args, fmt);
3499 vsnprintf(fmt, 0, "%i", args);}
3504 if { (eval echo configure:3505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3507 echo "configure: failed program was:" >&5
3508 cat conftest.$ac_ext >&5
3513 cat > conftest.$ac_ext <<EOF
3514 #line 3515 "configure"
3515 #include "confdefs.h"
3518 void foo(char* fmt, ...)
3519 {va_list args; va_start(args, fmt);
3520 vsscanf(fmt, "%i", args);}
3525 if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3528 echo "configure: failed program was:" >&5
3529 cat conftest.$ac_ext >&5
3534 echo "$ac_t""$ac_c99_stdio" 1>&6
3536 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3538 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3539 echo "configure:3540: checking for lldiv_t declaration" >&5
3540 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3541 echo $ac_n "(cached) $ac_c" 1>&6
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3552 if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3556 echo "configure: failed program was:" >&5
3557 cat conftest.$ac_ext >&5
3565 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3567 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3568 echo "configure:3569: checking for ISO C99 support in <stdlib.h>" >&5
3569 cat > conftest.$ac_ext <<EOF
3570 #line 3571 "configure"
3571 #include "confdefs.h"
3574 char* tmp; strtof("gnu", &tmp);
3577 if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 echo "configure: failed program was:" >&5
3581 cat conftest.$ac_ext >&5
3586 cat > conftest.$ac_ext <<EOF
3587 #line 3588 "configure"
3588 #include "confdefs.h"
3591 char* tmp; strtold("gnu", &tmp);
3594 if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 echo "configure: failed program was:" >&5
3598 cat conftest.$ac_ext >&5
3603 cat > conftest.$ac_ext <<EOF
3604 #line 3605 "configure"
3605 #include "confdefs.h"
3611 if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3614 echo "configure: failed program was:" >&5
3615 cat conftest.$ac_ext >&5
3620 cat > conftest.$ac_ext <<EOF
3621 #line 3622 "configure"
3622 #include "confdefs.h"
3628 if { (eval echo configure:3629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631 echo "configure: failed program was:" >&5
3632 cat conftest.$ac_ext >&5
3637 cat > conftest.$ac_ext <<EOF
3638 #line 3639 "configure"
3639 #include "confdefs.h"
3645 if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3648 echo "configure: failed program was:" >&5
3649 cat conftest.$ac_ext >&5
3654 cat > conftest.$ac_ext <<EOF
3655 #line 3656 "configure"
3656 #include "confdefs.h"
3662 if { (eval echo configure:3663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3665 echo "configure: failed program was:" >&5
3666 cat conftest.$ac_ext >&5
3671 if test x"$ac_c99_lldiv_t" = x"no"; then
3674 echo "$ac_t""$ac_c99_stdlib" 1>&6
3676 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3677 # XXX the wchar.h checks should be rolled into the general C99 bits.
3679 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3680 echo "configure:3681: checking for additional ISO C99 support in <wchar.h>" >&5
3681 cat > conftest.$ac_ext <<EOF
3682 #line 3683 "configure"
3683 #include "confdefs.h"
3686 wcstold(L"10.0", NULL);
3689 if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3692 echo "configure: failed program was:" >&5
3693 cat conftest.$ac_ext >&5
3698 cat > conftest.$ac_ext <<EOF
3699 #line 3700 "configure"
3700 #include "confdefs.h"
3703 wcstoll(L"10", NULL, 10);
3706 if { (eval echo configure:3707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3709 echo "configure: failed program was:" >&5
3710 cat conftest.$ac_ext >&5
3715 cat > conftest.$ac_ext <<EOF
3716 #line 3717 "configure"
3717 #include "confdefs.h"
3720 wcstoull(L"10", NULL, 10);
3723 if { (eval echo configure:3724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3726 echo "configure: failed program was:" >&5
3727 cat conftest.$ac_ext >&5
3732 echo "$ac_t""$ac_c99_wchar" 1>&6
3734 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3735 echo "configure:3736: checking for enabled ISO C99 support" >&5
3736 if test x"$ac_c99_math" = x"no" ||
3737 test x"$ac_c99_stdio" = x"no" ||
3738 test x"$ac_c99_stdlib" = x"no" ||
3739 test x"$ac_c99_wchar" = x"no"; then
3742 echo "$ac_t""$enable_c99" 1>&6
3744 # Option parsed, now set things appropriately
3745 if test x"$enable_c99" = x"yes"; then
3746 cat >> confdefs.h <<\EOF
3747 #define _GLIBCPP_USE_C99 1
3753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3757 cross_compiling=$ac_cv_prog_cc_cross
3761 # Check whether --enable-long-long or --disable-long-long was given.
3762 if test "${enable_long_long+set}" = set; then
3763 enableval="$enable_long_long"
3764 case "$enableval" in
3765 yes) enable_long_long=yes ;;
3766 no) enable_long_long=no ;;
3767 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3770 enable_long_long=yes
3775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3776 ac_cpp='$CXXCPP $CPPFLAGS'
3777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3779 cross_compiling=$ac_cv_prog_cxx_cross
3782 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3783 echo "configure:3784: checking for enabled long long I/O support" >&5
3784 # iostreams require strtoll, strtoull to compile
3785 cat > conftest.$ac_ext <<EOF
3786 #line 3787 "configure"
3787 #include "confdefs.h"
3790 char* tmp; strtoll("gnu", &tmp, 10);
3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3796 echo "configure: failed program was:" >&5
3797 cat conftest.$ac_ext >&5
3802 cat > conftest.$ac_ext <<EOF
3803 #line 3804 "configure"
3804 #include "confdefs.h"
3807 char* tmp; strtoull("gnu", &tmp, 10);
3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3813 echo "configure: failed program was:" >&5
3814 cat conftest.$ac_ext >&5
3820 # Option parsed, now set things appropriately
3821 if test x"$enable_long_long" = xyes; then
3822 cat >> confdefs.h <<\EOF
3823 #define _GLIBCPP_USE_LONG_LONG 1
3827 echo "$ac_t""$enable_long_long" 1>&6
3830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3833 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3834 cross_compiling=$ac_cv_prog_cc_cross
3837 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3838 echo "configure:3839: checking for c header strategy to use" >&5
3839 # Check whether --enable-cheaders or --disable-cheaders was given.
3840 if test "${enable_cheaders+set}" = set; then
3841 enableval="$enable_cheaders"
3843 case "$enableval" in
3848 enable_cheaders=c_std
3850 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3854 enable_cheaders=c_std
3857 echo "$ac_t""$enable_cheaders" 1>&6
3859 case "$enable_cheaders" in
3861 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3864 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3871 if test "$enable_cheaders" = c; then
3872 GLIBCPP_C_HEADERS_C_TRUE=
3873 GLIBCPP_C_HEADERS_C_FALSE='#'
3875 GLIBCPP_C_HEADERS_C_TRUE='#'
3876 GLIBCPP_C_HEADERS_C_FALSE=
3880 if test "$enable_cheaders" = c_std; then
3881 GLIBCPP_C_HEADERS_C_STD_TRUE=
3882 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3884 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3885 GLIBCPP_C_HEADERS_C_STD_FALSE=
3889 if test "$c_compatibility" = yes; then
3890 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3891 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3893 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3894 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3898 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3899 echo "configure:3900: checking for thread model used by GCC" >&5
3900 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3901 echo "$ac_t""$target_thread_file" 1>&6
3903 if test $target_thread_file != single; then
3904 cat >> confdefs.h <<\EOF
3905 #define HAVE_GTHR_DEFAULT 1
3908 cat >> confdefs.h <<\EOF
3909 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3914 glibcpp_thread_h=gthr-$target_thread_file.h
3917 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3918 if test "${enable_cxx_flags+set}" = set; then
3919 enableval="$enable_cxx_flags"
3920 case "x$enableval" in
3922 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3924 enable_cxx_flags='' ;;
3926 enable_cxx_flags="$enableval" ;;
3929 enable_cxx_flags='none'
3933 if test "$enable_cxx_flags" = "none"; then
3934 enable_cxx_flags='';
3937 if test -n "$enable_cxx_flags"; then
3938 for f in $enable_cxx_flags; do
3942 *) # and we're trying to pass /what/ exactly?
3943 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3947 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3951 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3952 echo "configure:3953: checking for exception model to use" >&5
3955 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3956 ac_cpp='$CXXCPP $CPPFLAGS'
3957 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3958 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3959 cross_compiling=$ac_cv_prog_cxx_cross
3961 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3962 if test "${enable_sjlj_exceptions+set}" = set; then
3963 enableval="$enable_sjlj_exceptions"
3966 cat > conftest.$ac_ext << EOF
3967 #line 3968 "configure"
3976 old_CXXFLAGS="$CXXFLAGS"
3978 if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3979 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3980 enable_sjlj_exceptions=yes
3981 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3982 enable_sjlj_exceptions=no
3985 CXXFLAGS="$old_CXXFLAGS"
3989 if test x$enable_sjlj_exceptions = xyes; then
3990 cat >> confdefs.h <<\EOF
3991 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3994 ac_exception_model_name=sjlj
3995 elif test x$enable_sjlj_exceptions = xno; then
3996 ac_exception_model_name="call frame"
3998 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4002 ac_cpp='$CPP $CPPFLAGS'
4003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4005 cross_compiling=$ac_cv_prog_cc_cross
4007 echo "$ac_t""$ac_exception_model_name" 1>&6
4010 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4011 echo "configure:4012: checking for use of libunwind" >&5
4012 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4013 if test "${enable_libunwind_exceptions+set}" = set; then
4014 enableval="$enable_libunwind_exceptions"
4015 use_libunwind_exceptions=$enableval
4017 use_libunwind_exceptions=no
4020 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4021 if test x"$use_libunwind_exceptions" = xyes; then
4022 LIBUNWIND_FLAG="-lunwind"
4028 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4029 if test "${enable_concept_checks+set}" = set; then
4030 enableval="$enable_concept_checks"
4031 case "$enableval" in
4032 yes) enable_concept_checks=yes ;;
4033 no) enable_concept_checks=no ;;
4034 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4037 enable_concept_checks=no
4039 if test x"$enable_concept_checks" = xyes; then
4040 cat >> confdefs.h <<\EOF
4041 #define _GLIBCPP_CONCEPT_CHECKS 1
4047 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4048 for ac_hdr in string.h stdlib.h
4050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4052 echo "configure:4053: checking for $ac_hdr" >&5
4053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4054 echo $ac_n "(cached) $ac_c" 1>&6
4056 cat > conftest.$ac_ext <<EOF
4057 #line 4058 "configure"
4058 #include "confdefs.h"
4061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4062 { (eval echo configure:4063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4064 if test -z "$ac_err"; then
4066 eval "ac_cv_header_$ac_safe=yes"
4069 echo "configure: failed program was:" >&5
4070 cat conftest.$ac_ext >&5
4072 eval "ac_cv_header_$ac_safe=no"
4076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4077 echo "$ac_t""yes" 1>&6
4078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4079 cat >> confdefs.h <<EOF
4080 #define $ac_tr_hdr 1
4084 echo "$ac_t""no" 1>&6
4089 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4091 # We are being configured with some form of cross compiler.
4092 GLIBCPP_IS_CROSS_COMPILING=1
4094 # This lets us hard-code the functionality we know we'll have in the cross
4095 # target environment. "Let" is a sugar-coated word placed on an especially
4096 # dull and tedious hack, actually.
4098 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4099 # that involve linking, can't be used:
4100 # "cannot open sim-crt0.o"
4101 # "cannot open crt0.o"
4102 # etc. All this is because there currently exists no unified, consistent
4103 # way for top level CC information to be passed down to target directories:
4104 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4105 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4106 # crosses can be removed.
4108 # If Canadian cross, then don't pick up tools from the build directory.
4109 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4110 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4116 # Construct crosses by hand, eliminating bits that need ld...
4117 # GLIBCPP_CHECK_COMPILER_FEATURES
4118 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4119 # GLIBCPP_CHECK_MATH_SUPPORT
4121 case "$target_alias" in
4123 os_include_dir="os/gnu-linux"
4124 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4125 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4126 fp.h locale.h float.h inttypes.h
4128 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4129 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4130 echo "configure:4131: checking for $ac_hdr" >&5
4131 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4132 echo $ac_n "(cached) $ac_c" 1>&6
4134 cat > conftest.$ac_ext <<EOF
4135 #line 4136 "configure"
4136 #include "confdefs.h"
4139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4140 { (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4141 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4142 if test -z "$ac_err"; then
4144 eval "ac_cv_header_$ac_safe=yes"
4147 echo "configure: failed program was:" >&5
4148 cat conftest.$ac_ext >&5
4150 eval "ac_cv_header_$ac_safe=no"
4154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4155 echo "$ac_t""yes" 1>&6
4156 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4157 cat >> confdefs.h <<EOF
4158 #define $ac_tr_hdr 1
4162 echo "$ac_t""no" 1>&6
4166 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4169 # If we're not using GNU ld, then there's no point in even trying these
4170 # tests. Check for that first. We should have already tested for gld
4171 # by now (in libtool), but require it now just to be safe...
4172 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4173 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4176 # The name set by libtool depends on the version of libtool. Shame on us
4177 # for depending on an impl detail, but c'est la vie. Older versions used
4178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4181 # set (hence we're using an older libtool), then set it.
4182 if test x${with_gnu_ld+set} != xset; then
4183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4187 with_gnu_ld=$ac_cv_prog_gnu_ld
4191 # Start by getting the version number. I think the libtool test already
4192 # does some of this, but throws away the result.
4194 ldver=`$LD --version 2>/dev/null | head -1 | \
4195 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4197 glibcpp_gnu_ld_version=`echo $ldver | \
4198 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4200 # Set --gc-sections.
4201 if test "$with_gnu_ld" = "notbroken"; then
4202 # GNU ld it is! Joy and bunny rabbits!
4204 # All these tests are for C++; save the language and the compiler flags.
4205 # Need to do this so that g++ won't try to link in libstdc++
4206 ac_test_CFLAGS="${CFLAGS+set}"
4207 ac_save_CFLAGS="$CFLAGS"
4208 CFLAGS='-x c++ -Wl,--gc-sections'
4210 # Check for -Wl,--gc-sections
4211 # XXX This test is broken at the moment, as symbols required for
4212 # linking are now in libsupc++ (not built yet.....). In addition,
4213 # this test has cored on solaris in the past. In addition,
4214 # --gc-sections doesn't really work at the moment (keeps on discarding
4215 # used sections, first .eh_frame and now some of the glibc sections for
4216 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4217 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4218 echo "configure:4219: checking for ld that supports -Wl,--gc-sections" >&5
4219 if test "$cross_compiling" = yes; then
4220 ac_sectionLDflags=yes
4222 cat > conftest.$ac_ext <<EOF
4223 #line 4224 "configure"
4224 #include "confdefs.h"
4234 if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4236 ac_sectionLDflags=yes
4238 echo "configure: failed program was:" >&5
4239 cat conftest.$ac_ext >&5
4241 ac_sectionLDflags=no
4246 if test "$ac_test_CFLAGS" = set; then
4247 CFLAGS="$ac_save_CFLAGS"
4249 # this is the suspicious part
4252 if test "$ac_sectionLDflags" = "yes"; then
4253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4255 echo "$ac_t""$ac_sectionLDflags" 1>&6
4258 # Set linker optimization flags.
4259 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4260 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4267 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4268 echo "configure:4269: checking for main in -lm" >&5
4269 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4270 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4271 echo $ac_n "(cached) $ac_c" 1>&6
4273 ac_save_LIBS="$LIBS"
4275 cat > conftest.$ac_ext <<EOF
4276 #line 4277 "configure"
4277 #include "confdefs.h"
4283 if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4285 eval "ac_cv_lib_$ac_lib_var=yes"
4287 echo "configure: failed program was:" >&5
4288 cat conftest.$ac_ext >&5
4290 eval "ac_cv_lib_$ac_lib_var=no"
4293 LIBS="$ac_save_LIBS"
4296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4297 echo "$ac_t""yes" 1>&6
4298 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4299 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4300 cat >> confdefs.h <<EOF
4301 #define $ac_tr_lib 1
4307 echo "$ac_t""no" 1>&6
4310 for ac_func in nan copysignf
4312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4313 echo "configure:4314: checking for $ac_func" >&5
4314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4315 echo $ac_n "(cached) $ac_c" 1>&6
4317 cat > conftest.$ac_ext <<EOF
4318 #line 4319 "configure"
4319 #include "confdefs.h"
4320 /* System header to define __stub macros and hopefully few prototypes,
4321 which can conflict with char $ac_func(); below. */
4323 /* Override any gcc2 internal prototype to avoid an error. */
4324 /* We use char because int might match the return type of a gcc2
4325 builtin and then its argument prototype would still apply. */
4330 /* The GNU C library defines this for functions which it implements
4331 to always fail with ENOSYS. Some functions are actually named
4332 something starting with __ and the normal name is an alias. */
4333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4341 if { (eval echo configure:4342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4343 eval "ac_cv_func_$ac_func=yes"
4345 echo "configure: failed program was:" >&5
4346 cat conftest.$ac_ext >&5
4348 eval "ac_cv_func_$ac_func=no"
4353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4354 echo "$ac_t""yes" 1>&6
4355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4356 cat >> confdefs.h <<EOF
4357 #define $ac_tr_func 1
4361 echo "$ac_t""no" 1>&6
4362 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4367 for ac_func in __signbit
4369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4370 echo "configure:4371: checking for $ac_func" >&5
4371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4372 echo $ac_n "(cached) $ac_c" 1>&6
4374 cat > conftest.$ac_ext <<EOF
4375 #line 4376 "configure"
4376 #include "confdefs.h"
4377 /* System header to define __stub macros and hopefully few prototypes,
4378 which can conflict with char $ac_func(); below. */
4380 /* Override any gcc2 internal prototype to avoid an error. */
4381 /* We use char because int might match the return type of a gcc2
4382 builtin and then its argument prototype would still apply. */
4387 /* The GNU C library defines this for functions which it implements
4388 to always fail with ENOSYS. Some functions are actually named
4389 something starting with __ and the normal name is an alias. */
4390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4398 if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4400 eval "ac_cv_func_$ac_func=yes"
4402 echo "configure: failed program was:" >&5
4403 cat conftest.$ac_ext >&5
4405 eval "ac_cv_func_$ac_func=no"
4410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4411 echo "$ac_t""yes" 1>&6
4412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4413 cat >> confdefs.h <<EOF
4414 #define $ac_tr_func 1
4418 echo "$ac_t""no" 1>&6
4419 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4423 for ac_func in __signbitf
4425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4426 echo "configure:4427: checking for $ac_func" >&5
4427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4428 echo $ac_n "(cached) $ac_c" 1>&6
4430 cat > conftest.$ac_ext <<EOF
4431 #line 4432 "configure"
4432 #include "confdefs.h"
4433 /* System header to define __stub macros and hopefully few prototypes,
4434 which can conflict with char $ac_func(); below. */
4436 /* Override any gcc2 internal prototype to avoid an error. */
4437 /* We use char because int might match the return type of a gcc2
4438 builtin and then its argument prototype would still apply. */
4443 /* The GNU C library defines this for functions which it implements
4444 to always fail with ENOSYS. Some functions are actually named
4445 something starting with __ and the normal name is an alias. */
4446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4454 if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4456 eval "ac_cv_func_$ac_func=yes"
4458 echo "configure: failed program was:" >&5
4459 cat conftest.$ac_ext >&5
4461 eval "ac_cv_func_$ac_func=no"
4466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4467 echo "$ac_t""yes" 1>&6
4468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4469 cat >> confdefs.h <<EOF
4470 #define $ac_tr_func 1
4474 echo "$ac_t""no" 1>&6
4475 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4480 if test x$ac_cv_func_copysignl = x"yes"; then
4481 for ac_func in __signbitl
4483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4484 echo "configure:4485: checking for $ac_func" >&5
4485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4486 echo $ac_n "(cached) $ac_c" 1>&6
4488 cat > conftest.$ac_ext <<EOF
4489 #line 4490 "configure"
4490 #include "confdefs.h"
4491 /* System header to define __stub macros and hopefully few prototypes,
4492 which can conflict with char $ac_func(); below. */
4494 /* Override any gcc2 internal prototype to avoid an error. */
4495 /* We use char because int might match the return type of a gcc2
4496 builtin and then its argument prototype would still apply. */
4501 /* The GNU C library defines this for functions which it implements
4502 to always fail with ENOSYS. Some functions are actually named
4503 something starting with __ and the normal name is an alias. */
4504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4512 if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4514 eval "ac_cv_func_$ac_func=yes"
4516 echo "configure: failed program was:" >&5
4517 cat conftest.$ac_ext >&5
4519 eval "ac_cv_func_$ac_func=no"
4524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4525 echo "$ac_t""yes" 1>&6
4526 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4527 cat >> confdefs.h <<EOF
4528 #define $ac_tr_func 1
4532 echo "$ac_t""no" 1>&6
4533 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4543 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4544 echo "configure:4545: checking for mbstate_t" >&5
4545 cat > conftest.$ac_ext <<EOF
4546 #line 4547 "configure"
4547 #include "confdefs.h"
4550 mbstate_t teststate;
4553 if { (eval echo configure:4554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4557 echo "configure: failed program was:" >&5
4558 cat conftest.$ac_ext >&5
4563 echo "$ac_t""$have_mbstate_t" 1>&6
4564 if test x"$have_mbstate_t" = xyes; then
4565 cat >> confdefs.h <<\EOF
4566 #define HAVE_MBSTATE_T 1
4571 for ac_hdr in wchar.h
4573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4575 echo "configure:4576: checking for $ac_hdr" >&5
4576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4577 echo $ac_n "(cached) $ac_c" 1>&6
4579 cat > conftest.$ac_ext <<EOF
4580 #line 4581 "configure"
4581 #include "confdefs.h"
4584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4585 { (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4587 if test -z "$ac_err"; then
4589 eval "ac_cv_header_$ac_safe=yes"
4592 echo "configure: failed program was:" >&5
4593 cat conftest.$ac_ext >&5
4595 eval "ac_cv_header_$ac_safe=no"
4599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4600 echo "$ac_t""yes" 1>&6
4601 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4602 cat >> confdefs.h <<EOF
4603 #define $ac_tr_hdr 1
4607 echo "$ac_t""no" 1>&6
4612 for ac_hdr in wctype.h
4614 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4615 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4616 echo "configure:4617: checking for $ac_hdr" >&5
4617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4618 echo $ac_n "(cached) $ac_c" 1>&6
4620 cat > conftest.$ac_ext <<EOF
4621 #line 4622 "configure"
4622 #include "confdefs.h"
4625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4626 { (eval echo configure:4627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4628 if test -z "$ac_err"; then
4630 eval "ac_cv_header_$ac_safe=yes"
4633 echo "configure: failed program was:" >&5
4634 cat conftest.$ac_ext >&5
4636 eval "ac_cv_header_$ac_safe=no"
4640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4641 echo "$ac_t""yes" 1>&6
4642 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4643 cat >> confdefs.h <<EOF
4644 #define $ac_tr_hdr 1
4648 echo "$ac_t""no" 1>&6
4654 if test x"$ac_has_wchar_h" = xyes &&
4655 test x"$ac_has_wctype_h" = xyes &&
4656 test x"$enable_c_mbchar" != xno; then
4658 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4659 echo "configure:4660: checking for WCHAR_MIN and WCHAR_MAX" >&5
4660 cat > conftest.$ac_ext <<EOF
4661 #line 4662 "configure"
4662 #include "confdefs.h"
4665 int i = WCHAR_MIN; int j = WCHAR_MAX;
4668 if { (eval echo configure:4669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4670 has_wchar_minmax=yes
4672 echo "configure: failed program was:" >&5
4673 cat conftest.$ac_ext >&5
4678 echo "$ac_t""$has_wchar_minmax" 1>&6
4680 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4681 echo "configure:4682: checking for WEOF" >&5
4682 cat > conftest.$ac_ext <<EOF
4683 #line 4684 "configure"
4684 #include "confdefs.h"
4692 if { (eval echo configure:4693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4696 echo "configure: failed program was:" >&5
4697 cat conftest.$ac_ext >&5
4702 echo "$ac_t""$has_weof" 1>&6
4705 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4708 echo "configure:4709: checking for $ac_func" >&5
4709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4710 echo $ac_n "(cached) $ac_c" 1>&6
4712 cat > conftest.$ac_ext <<EOF
4713 #line 4714 "configure"
4714 #include "confdefs.h"
4715 /* System header to define __stub macros and hopefully few prototypes,
4716 which can conflict with char $ac_func(); below. */
4718 /* Override any gcc2 internal prototype to avoid an error. */
4719 /* We use char because int might match the return type of a gcc2
4720 builtin and then its argument prototype would still apply. */
4725 /* The GNU C library defines this for functions which it implements
4726 to always fail with ENOSYS. Some functions are actually named
4727 something starting with __ and the normal name is an alias. */
4728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4736 if { (eval echo configure:4737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4738 eval "ac_cv_func_$ac_func=yes"
4740 echo "configure: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4743 eval "ac_cv_func_$ac_func=no"
4748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4749 echo "$ac_t""yes" 1>&6
4750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4751 cat >> confdefs.h <<EOF
4752 #define $ac_tr_func 1
4756 echo "$ac_t""no" 1>&6
4763 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4764 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4765 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4766 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4767 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4768 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4771 echo "configure:4772: checking for $ac_func" >&5
4772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4773 echo $ac_n "(cached) $ac_c" 1>&6
4775 cat > conftest.$ac_ext <<EOF
4776 #line 4777 "configure"
4777 #include "confdefs.h"
4778 /* System header to define __stub macros and hopefully few prototypes,
4779 which can conflict with char $ac_func(); below. */
4781 /* Override any gcc2 internal prototype to avoid an error. */
4782 /* We use char because int might match the return type of a gcc2
4783 builtin and then its argument prototype would still apply. */
4788 /* The GNU C library defines this for functions which it implements
4789 to always fail with ENOSYS. Some functions are actually named
4790 something starting with __ and the normal name is an alias. */
4791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4801 eval "ac_cv_func_$ac_func=yes"
4803 echo "configure: failed program was:" >&5
4804 cat conftest.$ac_ext >&5
4806 eval "ac_cv_func_$ac_func=no"
4811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4812 echo "$ac_t""yes" 1>&6
4813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4814 cat >> confdefs.h <<EOF
4815 #define $ac_tr_func 1
4819 echo "$ac_t""no" 1>&6
4826 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4827 echo "configure:4828: checking for ISO C99 wchar_t support" >&5
4828 if test x"$has_weof" = xyes &&
4829 test x"$has_wchar_minmax" = xyes &&
4830 test x"$ac_wfuncs" = xyes; then
4831 ac_isoC99_wchar_t=yes
4833 ac_isoC99_wchar_t=no
4835 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4837 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4838 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4839 echo "configure:4840: checking for iconv.h" >&5
4840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4841 echo $ac_n "(cached) $ac_c" 1>&6
4843 cat > conftest.$ac_ext <<EOF
4844 #line 4845 "configure"
4845 #include "confdefs.h"
4848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4849 { (eval echo configure:4850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4851 if test -z "$ac_err"; then
4853 eval "ac_cv_header_$ac_safe=yes"
4856 echo "configure: failed program was:" >&5
4857 cat conftest.$ac_ext >&5
4859 eval "ac_cv_header_$ac_safe=no"
4863 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4864 echo "$ac_t""yes" 1>&6
4867 echo "$ac_t""no" 1>&6
4871 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4872 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4873 echo "configure:4874: checking for langinfo.h" >&5
4874 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4875 echo $ac_n "(cached) $ac_c" 1>&6
4877 cat > conftest.$ac_ext <<EOF
4878 #line 4879 "configure"
4879 #include "confdefs.h"
4880 #include <langinfo.h>
4882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4883 { (eval echo configure:4884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4885 if test -z "$ac_err"; then
4887 eval "ac_cv_header_$ac_safe=yes"
4890 echo "configure: failed program was:" >&5
4891 cat conftest.$ac_ext >&5
4893 eval "ac_cv_header_$ac_safe=no"
4897 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4898 echo "$ac_t""yes" 1>&6
4899 ac_has_langinfo_h=yes
4901 echo "$ac_t""no" 1>&6
4902 ac_has_langinfo_h=no
4906 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4907 echo "configure:4908: checking for iconv in -liconv" >&5
4908 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4910 echo $ac_n "(cached) $ac_c" 1>&6
4912 ac_save_LIBS="$LIBS"
4913 LIBS="-liconv $LIBS"
4914 cat > conftest.$ac_ext <<EOF
4915 #line 4916 "configure"
4916 #include "confdefs.h"
4917 /* Override any gcc2 internal prototype to avoid an error. */
4918 /* We use char because int might match the return type of a gcc2
4919 builtin and then its argument prototype would still apply. */
4926 if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4928 eval "ac_cv_lib_$ac_lib_var=yes"
4930 echo "configure: failed program was:" >&5
4931 cat conftest.$ac_ext >&5
4933 eval "ac_cv_lib_$ac_lib_var=no"
4936 LIBS="$ac_save_LIBS"
4939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4940 echo "$ac_t""yes" 1>&6
4943 echo "$ac_t""no" 1>&6
4946 ac_save_LIBS="$LIBS"
4947 LIBS="$LIBS $libiconv"
4949 for ac_func in iconv_open iconv_close iconv nl_langinfo
4951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4952 echo "configure:4953: checking for $ac_func" >&5
4953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4954 echo $ac_n "(cached) $ac_c" 1>&6
4956 cat > conftest.$ac_ext <<EOF
4957 #line 4958 "configure"
4958 #include "confdefs.h"
4959 /* System header to define __stub macros and hopefully few prototypes,
4960 which can conflict with char $ac_func(); below. */
4962 /* Override any gcc2 internal prototype to avoid an error. */
4963 /* We use char because int might match the return type of a gcc2
4964 builtin and then its argument prototype would still apply. */
4969 /* The GNU C library defines this for functions which it implements
4970 to always fail with ENOSYS. Some functions are actually named
4971 something starting with __ and the normal name is an alias. */
4972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4982 eval "ac_cv_func_$ac_func=yes"
4984 echo "configure: failed program was:" >&5
4985 cat conftest.$ac_ext >&5
4987 eval "ac_cv_func_$ac_func=no"
4992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4993 echo "$ac_t""yes" 1>&6
4994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4995 cat >> confdefs.h <<EOF
4996 #define $ac_tr_func 1
5001 echo "$ac_t""no" 1>&6
5007 LIBS="$ac_save_LIBS"
5009 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5010 echo "configure:5011: checking for XPG2 wchar_t support" >&5
5011 if test x"$ac_has_iconv_h" = xyes &&
5012 test x"$ac_has_langinfo_h" = xyes &&
5013 test x"$ac_XPG2funcs" = xyes; then
5018 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5020 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5021 echo "configure:5022: checking for enabled wchar_t specializations" >&5
5022 if test x"$ac_isoC99_wchar_t" = xyes &&
5023 test x"$ac_XPG2_wchar_t" = xyes; then
5024 cat >> confdefs.h <<\EOF
5025 #define _GLIBCPP_USE_WCHAR_T 1
5028 echo "$ac_t"""yes"" 1>&6
5030 echo "$ac_t"""no"" 1>&6
5033 echo "configure: warning: wchar_t support disabled." 1>&2
5036 cat >> confdefs.h <<\EOF
5037 #define HAVE_COPYSIGN 1
5040 cat >> confdefs.h <<\EOF
5041 #define HAVE_COPYSIGNF 1
5044 cat >> confdefs.h <<\EOF
5045 #define HAVE_FINITE 1
5048 cat >> confdefs.h <<\EOF
5049 #define HAVE_FINITEF 1
5052 cat >> confdefs.h <<\EOF
5053 #define HAVE_FREXPF 1
5056 cat >> confdefs.h <<\EOF
5057 #define HAVE_HYPOTF 1
5060 cat >> confdefs.h <<\EOF
5061 #define HAVE_ISINF 1
5064 cat >> confdefs.h <<\EOF
5065 #define HAVE_ISINFF 1
5068 cat >> confdefs.h <<\EOF
5069 #define HAVE_ISNAN 1
5072 cat >> confdefs.h <<\EOF
5073 #define HAVE_ISNANF 1
5076 cat >> confdefs.h <<\EOF
5077 #define HAVE_SINCOS 1
5080 cat >> confdefs.h <<\EOF
5081 #define HAVE_SINCOSF 1
5084 if test x"long_double_math_on_this_cpu" = x"yes"; then
5085 cat >> confdefs.h <<\EOF
5086 #define HAVE_FINITEL 1
5089 cat >> confdefs.h <<\EOF
5090 #define HAVE_HYPOTL 1
5093 cat >> confdefs.h <<\EOF
5094 #define HAVE_ISINFL 1
5097 cat >> confdefs.h <<\EOF
5098 #define HAVE_ISNANL 1
5104 # Check for available headers.
5105 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5106 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5107 fp.h locale.h float.h inttypes.h
5109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5111 echo "configure:5112: checking for $ac_hdr" >&5
5112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5113 echo $ac_n "(cached) $ac_c" 1>&6
5115 cat > conftest.$ac_ext <<EOF
5116 #line 5117 "configure"
5117 #include "confdefs.h"
5120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5121 { (eval echo configure:5122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5123 if test -z "$ac_err"; then
5125 eval "ac_cv_header_$ac_safe=yes"
5128 echo "configure: failed program was:" >&5
5129 cat conftest.$ac_ext >&5
5131 eval "ac_cv_header_$ac_safe=no"
5135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5136 echo "$ac_t""yes" 1>&6
5137 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5138 cat >> confdefs.h <<EOF
5139 #define $ac_tr_hdr 1
5143 echo "$ac_t""no" 1>&6
5147 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5150 # If we're not using GNU ld, then there's no point in even trying these
5151 # tests. Check for that first. We should have already tested for gld
5152 # by now (in libtool), but require it now just to be safe...
5153 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5154 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5157 # The name set by libtool depends on the version of libtool. Shame on us
5158 # for depending on an impl detail, but c'est la vie. Older versions used
5159 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5160 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5161 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5162 # set (hence we're using an older libtool), then set it.
5163 if test x${with_gnu_ld+set} != xset; then
5164 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5165 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5168 with_gnu_ld=$ac_cv_prog_gnu_ld
5172 # Start by getting the version number. I think the libtool test already
5173 # does some of this, but throws away the result.
5175 ldver=`$LD --version 2>/dev/null | head -1 | \
5176 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5178 glibcpp_gnu_ld_version=`echo $ldver | \
5179 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5181 # Set --gc-sections.
5182 if test "$with_gnu_ld" = "notbroken"; then
5183 # GNU ld it is! Joy and bunny rabbits!
5185 # All these tests are for C++; save the language and the compiler flags.
5186 # Need to do this so that g++ won't try to link in libstdc++
5187 ac_test_CFLAGS="${CFLAGS+set}"
5188 ac_save_CFLAGS="$CFLAGS"
5189 CFLAGS='-x c++ -Wl,--gc-sections'
5191 # Check for -Wl,--gc-sections
5192 # XXX This test is broken at the moment, as symbols required for
5193 # linking are now in libsupc++ (not built yet.....). In addition,
5194 # this test has cored on solaris in the past. In addition,
5195 # --gc-sections doesn't really work at the moment (keeps on discarding
5196 # used sections, first .eh_frame and now some of the glibc sections for
5197 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5198 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5199 echo "configure:5200: checking for ld that supports -Wl,--gc-sections" >&5
5200 if test "$cross_compiling" = yes; then
5201 ac_sectionLDflags=yes
5203 cat > conftest.$ac_ext <<EOF
5204 #line 5205 "configure"
5205 #include "confdefs.h"
5215 if { (eval echo configure:5216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5217 ac_sectionLDflags=yes
5219 echo "configure: failed program was:" >&5
5220 cat conftest.$ac_ext >&5
5222 ac_sectionLDflags=no
5227 if test "$ac_test_CFLAGS" = set; then
5228 CFLAGS="$ac_save_CFLAGS"
5230 # this is the suspicious part
5233 if test "$ac_sectionLDflags" = "yes"; then
5234 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5236 echo "$ac_t""$ac_sectionLDflags" 1>&6
5239 # Set linker optimization flags.
5240 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5241 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5248 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5249 echo "configure:5250: checking for main in -lm" >&5
5250 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5252 echo $ac_n "(cached) $ac_c" 1>&6
5254 ac_save_LIBS="$LIBS"
5256 cat > conftest.$ac_ext <<EOF
5257 #line 5258 "configure"
5258 #include "confdefs.h"
5264 if { (eval echo configure:5265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5266 eval "ac_cv_lib_$ac_lib_var=yes"
5268 echo "configure: failed program was:" >&5
5269 cat conftest.$ac_ext >&5
5271 eval "ac_cv_lib_$ac_lib_var=no"
5274 LIBS="$ac_save_LIBS"
5277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5278 echo "$ac_t""yes" 1>&6
5279 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5280 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5281 cat >> confdefs.h <<EOF
5282 #define $ac_tr_lib 1
5288 echo "$ac_t""no" 1>&6
5291 for ac_func in nan copysignf
5293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5294 echo "configure:5295: checking for $ac_func" >&5
5295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5296 echo $ac_n "(cached) $ac_c" 1>&6
5298 cat > conftest.$ac_ext <<EOF
5299 #line 5300 "configure"
5300 #include "confdefs.h"
5301 /* System header to define __stub macros and hopefully few prototypes,
5302 which can conflict with char $ac_func(); below. */
5304 /* Override any gcc2 internal prototype to avoid an error. */
5305 /* We use char because int might match the return type of a gcc2
5306 builtin and then its argument prototype would still apply. */
5311 /* The GNU C library defines this for functions which it implements
5312 to always fail with ENOSYS. Some functions are actually named
5313 something starting with __ and the normal name is an alias. */
5314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5322 if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5324 eval "ac_cv_func_$ac_func=yes"
5326 echo "configure: failed program was:" >&5
5327 cat conftest.$ac_ext >&5
5329 eval "ac_cv_func_$ac_func=no"
5334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5335 echo "$ac_t""yes" 1>&6
5336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5337 cat >> confdefs.h <<EOF
5338 #define $ac_tr_func 1
5342 echo "$ac_t""no" 1>&6
5343 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5348 for ac_func in __signbit
5350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5351 echo "configure:5352: checking for $ac_func" >&5
5352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5353 echo $ac_n "(cached) $ac_c" 1>&6
5355 cat > conftest.$ac_ext <<EOF
5356 #line 5357 "configure"
5357 #include "confdefs.h"
5358 /* System header to define __stub macros and hopefully few prototypes,
5359 which can conflict with char $ac_func(); below. */
5361 /* Override any gcc2 internal prototype to avoid an error. */
5362 /* We use char because int might match the return type of a gcc2
5363 builtin and then its argument prototype would still apply. */
5368 /* The GNU C library defines this for functions which it implements
5369 to always fail with ENOSYS. Some functions are actually named
5370 something starting with __ and the normal name is an alias. */
5371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5379 if { (eval echo configure:5380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5381 eval "ac_cv_func_$ac_func=yes"
5383 echo "configure: failed program was:" >&5
5384 cat conftest.$ac_ext >&5
5386 eval "ac_cv_func_$ac_func=no"
5391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5392 echo "$ac_t""yes" 1>&6
5393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5394 cat >> confdefs.h <<EOF
5395 #define $ac_tr_func 1
5399 echo "$ac_t""no" 1>&6
5400 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5404 for ac_func in __signbitf
5406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5407 echo "configure:5408: checking for $ac_func" >&5
5408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5409 echo $ac_n "(cached) $ac_c" 1>&6
5411 cat > conftest.$ac_ext <<EOF
5412 #line 5413 "configure"
5413 #include "confdefs.h"
5414 /* System header to define __stub macros and hopefully few prototypes,
5415 which can conflict with char $ac_func(); below. */
5417 /* Override any gcc2 internal prototype to avoid an error. */
5418 /* We use char because int might match the return type of a gcc2
5419 builtin and then its argument prototype would still apply. */
5424 /* The GNU C library defines this for functions which it implements
5425 to always fail with ENOSYS. Some functions are actually named
5426 something starting with __ and the normal name is an alias. */
5427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5437 eval "ac_cv_func_$ac_func=yes"
5439 echo "configure: failed program was:" >&5
5440 cat conftest.$ac_ext >&5
5442 eval "ac_cv_func_$ac_func=no"
5447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5448 echo "$ac_t""yes" 1>&6
5449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5450 cat >> confdefs.h <<EOF
5451 #define $ac_tr_func 1
5455 echo "$ac_t""no" 1>&6
5456 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5461 if test x$ac_cv_func_copysignl = x"yes"; then
5462 for ac_func in __signbitl
5464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5465 echo "configure:5466: checking for $ac_func" >&5
5466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5467 echo $ac_n "(cached) $ac_c" 1>&6
5469 cat > conftest.$ac_ext <<EOF
5470 #line 5471 "configure"
5471 #include "confdefs.h"
5472 /* System header to define __stub macros and hopefully few prototypes,
5473 which can conflict with char $ac_func(); below. */
5475 /* Override any gcc2 internal prototype to avoid an error. */
5476 /* We use char because int might match the return type of a gcc2
5477 builtin and then its argument prototype would still apply. */
5482 /* The GNU C library defines this for functions which it implements
5483 to always fail with ENOSYS. Some functions are actually named
5484 something starting with __ and the normal name is an alias. */
5485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5493 if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5495 eval "ac_cv_func_$ac_func=yes"
5497 echo "configure: failed program was:" >&5
5498 cat conftest.$ac_ext >&5
5500 eval "ac_cv_func_$ac_func=no"
5505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5506 echo "$ac_t""yes" 1>&6
5507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5508 cat >> confdefs.h <<EOF
5509 #define $ac_tr_func 1
5513 echo "$ac_t""no" 1>&6
5514 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5524 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5525 echo "configure:5526: checking for mbstate_t" >&5
5526 cat > conftest.$ac_ext <<EOF
5527 #line 5528 "configure"
5528 #include "confdefs.h"
5531 mbstate_t teststate;
5534 if { (eval echo configure:5535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5538 echo "configure: failed program was:" >&5
5539 cat conftest.$ac_ext >&5
5544 echo "$ac_t""$have_mbstate_t" 1>&6
5545 if test x"$have_mbstate_t" = xyes; then
5546 cat >> confdefs.h <<\EOF
5547 #define HAVE_MBSTATE_T 1
5552 for ac_hdr in wchar.h
5554 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5555 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5556 echo "configure:5557: checking for $ac_hdr" >&5
5557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5558 echo $ac_n "(cached) $ac_c" 1>&6
5560 cat > conftest.$ac_ext <<EOF
5561 #line 5562 "configure"
5562 #include "confdefs.h"
5565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5566 { (eval echo configure:5567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5568 if test -z "$ac_err"; then
5570 eval "ac_cv_header_$ac_safe=yes"
5573 echo "configure: failed program was:" >&5
5574 cat conftest.$ac_ext >&5
5576 eval "ac_cv_header_$ac_safe=no"
5580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5581 echo "$ac_t""yes" 1>&6
5582 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5583 cat >> confdefs.h <<EOF
5584 #define $ac_tr_hdr 1
5588 echo "$ac_t""no" 1>&6
5593 for ac_hdr in wctype.h
5595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5597 echo "configure:5598: checking for $ac_hdr" >&5
5598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5599 echo $ac_n "(cached) $ac_c" 1>&6
5601 cat > conftest.$ac_ext <<EOF
5602 #line 5603 "configure"
5603 #include "confdefs.h"
5606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5607 { (eval echo configure:5608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5609 if test -z "$ac_err"; then
5611 eval "ac_cv_header_$ac_safe=yes"
5614 echo "configure: failed program was:" >&5
5615 cat conftest.$ac_ext >&5
5617 eval "ac_cv_header_$ac_safe=no"
5621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5622 echo "$ac_t""yes" 1>&6
5623 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5624 cat >> confdefs.h <<EOF
5625 #define $ac_tr_hdr 1
5629 echo "$ac_t""no" 1>&6
5635 if test x"$ac_has_wchar_h" = xyes &&
5636 test x"$ac_has_wctype_h" = xyes &&
5637 test x"$enable_c_mbchar" != xno; then
5639 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5640 echo "configure:5641: checking for WCHAR_MIN and WCHAR_MAX" >&5
5641 cat > conftest.$ac_ext <<EOF
5642 #line 5643 "configure"
5643 #include "confdefs.h"
5646 int i = WCHAR_MIN; int j = WCHAR_MAX;
5649 if { (eval echo configure:5650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5651 has_wchar_minmax=yes
5653 echo "configure: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5659 echo "$ac_t""$has_wchar_minmax" 1>&6
5661 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5662 echo "configure:5663: checking for WEOF" >&5
5663 cat > conftest.$ac_ext <<EOF
5664 #line 5665 "configure"
5665 #include "confdefs.h"
5673 if { (eval echo configure:5674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5677 echo "configure: failed program was:" >&5
5678 cat conftest.$ac_ext >&5
5683 echo "$ac_t""$has_weof" 1>&6
5686 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5689 echo "configure:5690: checking for $ac_func" >&5
5690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5691 echo $ac_n "(cached) $ac_c" 1>&6
5693 cat > conftest.$ac_ext <<EOF
5694 #line 5695 "configure"
5695 #include "confdefs.h"
5696 /* System header to define __stub macros and hopefully few prototypes,
5697 which can conflict with char $ac_func(); below. */
5699 /* Override any gcc2 internal prototype to avoid an error. */
5700 /* We use char because int might match the return type of a gcc2
5701 builtin and then its argument prototype would still apply. */
5706 /* The GNU C library defines this for functions which it implements
5707 to always fail with ENOSYS. Some functions are actually named
5708 something starting with __ and the normal name is an alias. */
5709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5717 if { (eval echo configure:5718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5719 eval "ac_cv_func_$ac_func=yes"
5721 echo "configure: failed program was:" >&5
5722 cat conftest.$ac_ext >&5
5724 eval "ac_cv_func_$ac_func=no"
5729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5730 echo "$ac_t""yes" 1>&6
5731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5732 cat >> confdefs.h <<EOF
5733 #define $ac_tr_func 1
5737 echo "$ac_t""no" 1>&6
5744 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5745 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5746 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5747 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5748 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5749 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5752 echo "configure:5753: checking for $ac_func" >&5
5753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5754 echo $ac_n "(cached) $ac_c" 1>&6
5756 cat > conftest.$ac_ext <<EOF
5757 #line 5758 "configure"
5758 #include "confdefs.h"
5759 /* System header to define __stub macros and hopefully few prototypes,
5760 which can conflict with char $ac_func(); below. */
5762 /* Override any gcc2 internal prototype to avoid an error. */
5763 /* We use char because int might match the return type of a gcc2
5764 builtin and then its argument prototype would still apply. */
5769 /* The GNU C library defines this for functions which it implements
5770 to always fail with ENOSYS. Some functions are actually named
5771 something starting with __ and the normal name is an alias. */
5772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5780 if { (eval echo configure:5781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5782 eval "ac_cv_func_$ac_func=yes"
5784 echo "configure: failed program was:" >&5
5785 cat conftest.$ac_ext >&5
5787 eval "ac_cv_func_$ac_func=no"
5792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5793 echo "$ac_t""yes" 1>&6
5794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5795 cat >> confdefs.h <<EOF
5796 #define $ac_tr_func 1
5800 echo "$ac_t""no" 1>&6
5807 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5808 echo "configure:5809: checking for ISO C99 wchar_t support" >&5
5809 if test x"$has_weof" = xyes &&
5810 test x"$has_wchar_minmax" = xyes &&
5811 test x"$ac_wfuncs" = xyes; then
5812 ac_isoC99_wchar_t=yes
5814 ac_isoC99_wchar_t=no
5816 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5818 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5819 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5820 echo "configure:5821: checking for iconv.h" >&5
5821 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5822 echo $ac_n "(cached) $ac_c" 1>&6
5824 cat > conftest.$ac_ext <<EOF
5825 #line 5826 "configure"
5826 #include "confdefs.h"
5829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5830 { (eval echo configure:5831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5832 if test -z "$ac_err"; then
5834 eval "ac_cv_header_$ac_safe=yes"
5837 echo "configure: failed program was:" >&5
5838 cat conftest.$ac_ext >&5
5840 eval "ac_cv_header_$ac_safe=no"
5844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5845 echo "$ac_t""yes" 1>&6
5848 echo "$ac_t""no" 1>&6
5852 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5853 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5854 echo "configure:5855: checking for langinfo.h" >&5
5855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5856 echo $ac_n "(cached) $ac_c" 1>&6
5858 cat > conftest.$ac_ext <<EOF
5859 #line 5860 "configure"
5860 #include "confdefs.h"
5861 #include <langinfo.h>
5863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5864 { (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5866 if test -z "$ac_err"; then
5868 eval "ac_cv_header_$ac_safe=yes"
5871 echo "configure: failed program was:" >&5
5872 cat conftest.$ac_ext >&5
5874 eval "ac_cv_header_$ac_safe=no"
5878 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5879 echo "$ac_t""yes" 1>&6
5880 ac_has_langinfo_h=yes
5882 echo "$ac_t""no" 1>&6
5883 ac_has_langinfo_h=no
5887 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5888 echo "configure:5889: checking for iconv in -liconv" >&5
5889 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5890 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5891 echo $ac_n "(cached) $ac_c" 1>&6
5893 ac_save_LIBS="$LIBS"
5894 LIBS="-liconv $LIBS"
5895 cat > conftest.$ac_ext <<EOF
5896 #line 5897 "configure"
5897 #include "confdefs.h"
5898 /* Override any gcc2 internal prototype to avoid an error. */
5899 /* We use char because int might match the return type of a gcc2
5900 builtin and then its argument prototype would still apply. */
5907 if { (eval echo configure:5908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5909 eval "ac_cv_lib_$ac_lib_var=yes"
5911 echo "configure: failed program was:" >&5
5912 cat conftest.$ac_ext >&5
5914 eval "ac_cv_lib_$ac_lib_var=no"
5917 LIBS="$ac_save_LIBS"
5920 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5921 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5927 ac_save_LIBS="$LIBS"
5928 LIBS="$LIBS $libiconv"
5930 for ac_func in iconv_open iconv_close iconv nl_langinfo
5932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5933 echo "configure:5934: checking for $ac_func" >&5
5934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5935 echo $ac_n "(cached) $ac_c" 1>&6
5937 cat > conftest.$ac_ext <<EOF
5938 #line 5939 "configure"
5939 #include "confdefs.h"
5940 /* System header to define __stub macros and hopefully few prototypes,
5941 which can conflict with char $ac_func(); below. */
5943 /* Override any gcc2 internal prototype to avoid an error. */
5944 /* We use char because int might match the return type of a gcc2
5945 builtin and then its argument prototype would still apply. */
5950 /* The GNU C library defines this for functions which it implements
5951 to always fail with ENOSYS. Some functions are actually named
5952 something starting with __ and the normal name is an alias. */
5953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5961 if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5963 eval "ac_cv_func_$ac_func=yes"
5965 echo "configure: failed program was:" >&5
5966 cat conftest.$ac_ext >&5
5968 eval "ac_cv_func_$ac_func=no"
5973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5974 echo "$ac_t""yes" 1>&6
5975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5976 cat >> confdefs.h <<EOF
5977 #define $ac_tr_func 1
5982 echo "$ac_t""no" 1>&6
5988 LIBS="$ac_save_LIBS"
5990 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5991 echo "configure:5992: checking for XPG2 wchar_t support" >&5
5992 if test x"$ac_has_iconv_h" = xyes &&
5993 test x"$ac_has_langinfo_h" = xyes &&
5994 test x"$ac_XPG2funcs" = xyes; then
5999 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6001 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6002 echo "configure:6003: checking for enabled wchar_t specializations" >&5
6003 if test x"$ac_isoC99_wchar_t" = xyes &&
6004 test x"$ac_XPG2_wchar_t" = xyes; then
6005 cat >> confdefs.h <<\EOF
6006 #define _GLIBCPP_USE_WCHAR_T 1
6009 echo "$ac_t"""yes"" 1>&6
6011 echo "$ac_t"""no"" 1>&6
6014 echo "configure: warning: wchar_t support disabled." 1>&2
6017 os_include_dir="os/hpux"
6018 cat >> confdefs.h <<\EOF
6019 #define HAVE_COPYSIGN 1
6022 cat >> confdefs.h <<\EOF
6023 #define HAVE_COPYSIGNF 1
6026 cat >> confdefs.h <<\EOF
6027 #define HAVE_FREXPF 1
6030 cat >> confdefs.h <<\EOF
6031 #define HAVE_HYPOT 1
6034 case "$target_alias" in
6036 cat >> confdefs.h <<\EOF
6037 #define HAVE_FINITE 1
6040 cat >> confdefs.h <<\EOF
6041 #define HAVE_FINITEF 1
6044 cat >> confdefs.h <<\EOF
6045 #define HAVE_ISINF 1
6048 cat >> confdefs.h <<\EOF
6049 #define HAVE_ISINFF 1
6052 cat >> confdefs.h <<\EOF
6053 #define HAVE_ISNAN 1
6056 cat >> confdefs.h <<\EOF
6057 #define HAVE_ISNANF 1
6065 # Check for available headers.
6066 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6067 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6068 fp.h locale.h float.h inttypes.h
6070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6072 echo "configure:6073: checking for $ac_hdr" >&5
6073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6074 echo $ac_n "(cached) $ac_c" 1>&6
6076 cat > conftest.$ac_ext <<EOF
6077 #line 6078 "configure"
6078 #include "confdefs.h"
6081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6082 { (eval echo configure:6083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6084 if test -z "$ac_err"; then
6086 eval "ac_cv_header_$ac_safe=yes"
6089 echo "configure: failed program was:" >&5
6090 cat conftest.$ac_ext >&5
6092 eval "ac_cv_header_$ac_safe=no"
6096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6097 echo "$ac_t""yes" 1>&6
6098 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6099 cat >> confdefs.h <<EOF
6100 #define $ac_tr_hdr 1
6104 echo "$ac_t""no" 1>&6
6108 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6111 # If we're not using GNU ld, then there's no point in even trying these
6112 # tests. Check for that first. We should have already tested for gld
6113 # by now (in libtool), but require it now just to be safe...
6114 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6115 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6118 # The name set by libtool depends on the version of libtool. Shame on us
6119 # for depending on an impl detail, but c'est la vie. Older versions used
6120 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6121 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6122 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6123 # set (hence we're using an older libtool), then set it.
6124 if test x${with_gnu_ld+set} != xset; then
6125 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6126 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6129 with_gnu_ld=$ac_cv_prog_gnu_ld
6133 # Start by getting the version number. I think the libtool test already
6134 # does some of this, but throws away the result.
6136 ldver=`$LD --version 2>/dev/null | head -1 | \
6137 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6139 glibcpp_gnu_ld_version=`echo $ldver | \
6140 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6142 # Set --gc-sections.
6143 if test "$with_gnu_ld" = "notbroken"; then
6144 # GNU ld it is! Joy and bunny rabbits!
6146 # All these tests are for C++; save the language and the compiler flags.
6147 # Need to do this so that g++ won't try to link in libstdc++
6148 ac_test_CFLAGS="${CFLAGS+set}"
6149 ac_save_CFLAGS="$CFLAGS"
6150 CFLAGS='-x c++ -Wl,--gc-sections'
6152 # Check for -Wl,--gc-sections
6153 # XXX This test is broken at the moment, as symbols required for
6154 # linking are now in libsupc++ (not built yet.....). In addition,
6155 # this test has cored on solaris in the past. In addition,
6156 # --gc-sections doesn't really work at the moment (keeps on discarding
6157 # used sections, first .eh_frame and now some of the glibc sections for
6158 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6159 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6160 echo "configure:6161: checking for ld that supports -Wl,--gc-sections" >&5
6161 if test "$cross_compiling" = yes; then
6162 ac_sectionLDflags=yes
6164 cat > conftest.$ac_ext <<EOF
6165 #line 6166 "configure"
6166 #include "confdefs.h"
6176 if { (eval echo configure:6177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6178 ac_sectionLDflags=yes
6180 echo "configure: failed program was:" >&5
6181 cat conftest.$ac_ext >&5
6183 ac_sectionLDflags=no
6188 if test "$ac_test_CFLAGS" = set; then
6189 CFLAGS="$ac_save_CFLAGS"
6191 # this is the suspicious part
6194 if test "$ac_sectionLDflags" = "yes"; then
6195 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6197 echo "$ac_t""$ac_sectionLDflags" 1>&6
6200 # Set linker optimization flags.
6201 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6209 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6210 echo "configure:6211: checking for main in -lm" >&5
6211 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6213 echo $ac_n "(cached) $ac_c" 1>&6
6215 ac_save_LIBS="$LIBS"
6217 cat > conftest.$ac_ext <<EOF
6218 #line 6219 "configure"
6219 #include "confdefs.h"
6225 if { (eval echo configure:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6227 eval "ac_cv_lib_$ac_lib_var=yes"
6229 echo "configure: failed program was:" >&5
6230 cat conftest.$ac_ext >&5
6232 eval "ac_cv_lib_$ac_lib_var=no"
6235 LIBS="$ac_save_LIBS"
6238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6239 echo "$ac_t""yes" 1>&6
6240 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6241 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6242 cat >> confdefs.h <<EOF
6243 #define $ac_tr_lib 1
6249 echo "$ac_t""no" 1>&6
6252 for ac_func in nan copysignf
6254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6255 echo "configure:6256: checking for $ac_func" >&5
6256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6257 echo $ac_n "(cached) $ac_c" 1>&6
6259 cat > conftest.$ac_ext <<EOF
6260 #line 6261 "configure"
6261 #include "confdefs.h"
6262 /* System header to define __stub macros and hopefully few prototypes,
6263 which can conflict with char $ac_func(); below. */
6265 /* Override any gcc2 internal prototype to avoid an error. */
6266 /* We use char because int might match the return type of a gcc2
6267 builtin and then its argument prototype would still apply. */
6272 /* The GNU C library defines this for functions which it implements
6273 to always fail with ENOSYS. Some functions are actually named
6274 something starting with __ and the normal name is an alias. */
6275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6283 if { (eval echo configure:6284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6285 eval "ac_cv_func_$ac_func=yes"
6287 echo "configure: failed program was:" >&5
6288 cat conftest.$ac_ext >&5
6290 eval "ac_cv_func_$ac_func=no"
6295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6296 echo "$ac_t""yes" 1>&6
6297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6298 cat >> confdefs.h <<EOF
6299 #define $ac_tr_func 1
6303 echo "$ac_t""no" 1>&6
6304 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6309 for ac_func in __signbit
6311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6312 echo "configure:6313: checking for $ac_func" >&5
6313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6314 echo $ac_n "(cached) $ac_c" 1>&6
6316 cat > conftest.$ac_ext <<EOF
6317 #line 6318 "configure"
6318 #include "confdefs.h"
6319 /* System header to define __stub macros and hopefully few prototypes,
6320 which can conflict with char $ac_func(); below. */
6322 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6329 /* The GNU C library defines this for functions which it implements
6330 to always fail with ENOSYS. Some functions are actually named
6331 something starting with __ and the normal name is an alias. */
6332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6342 eval "ac_cv_func_$ac_func=yes"
6344 echo "configure: failed program was:" >&5
6345 cat conftest.$ac_ext >&5
6347 eval "ac_cv_func_$ac_func=no"
6352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6353 echo "$ac_t""yes" 1>&6
6354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6355 cat >> confdefs.h <<EOF
6356 #define $ac_tr_func 1
6360 echo "$ac_t""no" 1>&6
6361 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6365 for ac_func in __signbitf
6367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6368 echo "configure:6369: checking for $ac_func" >&5
6369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6370 echo $ac_n "(cached) $ac_c" 1>&6
6372 cat > conftest.$ac_ext <<EOF
6373 #line 6374 "configure"
6374 #include "confdefs.h"
6375 /* System header to define __stub macros and hopefully few prototypes,
6376 which can conflict with char $ac_func(); below. */
6378 /* Override any gcc2 internal prototype to avoid an error. */
6379 /* We use char because int might match the return type of a gcc2
6380 builtin and then its argument prototype would still apply. */
6385 /* The GNU C library defines this for functions which it implements
6386 to always fail with ENOSYS. Some functions are actually named
6387 something starting with __ and the normal name is an alias. */
6388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6396 if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6398 eval "ac_cv_func_$ac_func=yes"
6400 echo "configure: failed program was:" >&5
6401 cat conftest.$ac_ext >&5
6403 eval "ac_cv_func_$ac_func=no"
6408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6409 echo "$ac_t""yes" 1>&6
6410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6411 cat >> confdefs.h <<EOF
6412 #define $ac_tr_func 1
6416 echo "$ac_t""no" 1>&6
6417 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6422 if test x$ac_cv_func_copysignl = x"yes"; then
6423 for ac_func in __signbitl
6425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6426 echo "configure:6427: checking for $ac_func" >&5
6427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6428 echo $ac_n "(cached) $ac_c" 1>&6
6430 cat > conftest.$ac_ext <<EOF
6431 #line 6432 "configure"
6432 #include "confdefs.h"
6433 /* System header to define __stub macros and hopefully few prototypes,
6434 which can conflict with char $ac_func(); below. */
6436 /* Override any gcc2 internal prototype to avoid an error. */
6437 /* We use char because int might match the return type of a gcc2
6438 builtin and then its argument prototype would still apply. */
6443 /* The GNU C library defines this for functions which it implements
6444 to always fail with ENOSYS. Some functions are actually named
6445 something starting with __ and the normal name is an alias. */
6446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6454 if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6456 eval "ac_cv_func_$ac_func=yes"
6458 echo "configure: failed program was:" >&5
6459 cat conftest.$ac_ext >&5
6461 eval "ac_cv_func_$ac_func=no"
6466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6467 echo "$ac_t""yes" 1>&6
6468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6469 cat >> confdefs.h <<EOF
6470 #define $ac_tr_func 1
6474 echo "$ac_t""no" 1>&6
6475 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6485 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6486 echo "configure:6487: checking for mbstate_t" >&5
6487 cat > conftest.$ac_ext <<EOF
6488 #line 6489 "configure"
6489 #include "confdefs.h"
6492 mbstate_t teststate;
6495 if { (eval echo configure:6496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6499 echo "configure: failed program was:" >&5
6500 cat conftest.$ac_ext >&5
6505 echo "$ac_t""$have_mbstate_t" 1>&6
6506 if test x"$have_mbstate_t" = xyes; then
6507 cat >> confdefs.h <<\EOF
6508 #define HAVE_MBSTATE_T 1
6513 for ac_hdr in wchar.h
6515 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6517 echo "configure:6518: checking for $ac_hdr" >&5
6518 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6519 echo $ac_n "(cached) $ac_c" 1>&6
6521 cat > conftest.$ac_ext <<EOF
6522 #line 6523 "configure"
6523 #include "confdefs.h"
6526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6527 { (eval echo configure:6528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6529 if test -z "$ac_err"; then
6531 eval "ac_cv_header_$ac_safe=yes"
6534 echo "configure: failed program was:" >&5
6535 cat conftest.$ac_ext >&5
6537 eval "ac_cv_header_$ac_safe=no"
6541 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6542 echo "$ac_t""yes" 1>&6
6543 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6544 cat >> confdefs.h <<EOF
6545 #define $ac_tr_hdr 1
6549 echo "$ac_t""no" 1>&6
6554 for ac_hdr in wctype.h
6556 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6557 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6558 echo "configure:6559: checking for $ac_hdr" >&5
6559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6
6562 cat > conftest.$ac_ext <<EOF
6563 #line 6564 "configure"
6564 #include "confdefs.h"
6567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6568 { (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6570 if test -z "$ac_err"; then
6572 eval "ac_cv_header_$ac_safe=yes"
6575 echo "configure: failed program was:" >&5
6576 cat conftest.$ac_ext >&5
6578 eval "ac_cv_header_$ac_safe=no"
6582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6583 echo "$ac_t""yes" 1>&6
6584 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6585 cat >> confdefs.h <<EOF
6586 #define $ac_tr_hdr 1
6590 echo "$ac_t""no" 1>&6
6596 if test x"$ac_has_wchar_h" = xyes &&
6597 test x"$ac_has_wctype_h" = xyes &&
6598 test x"$enable_c_mbchar" != xno; then
6600 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6601 echo "configure:6602: checking for WCHAR_MIN and WCHAR_MAX" >&5
6602 cat > conftest.$ac_ext <<EOF
6603 #line 6604 "configure"
6604 #include "confdefs.h"
6607 int i = WCHAR_MIN; int j = WCHAR_MAX;
6610 if { (eval echo configure:6611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6612 has_wchar_minmax=yes
6614 echo "configure: failed program was:" >&5
6615 cat conftest.$ac_ext >&5
6620 echo "$ac_t""$has_wchar_minmax" 1>&6
6622 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6623 echo "configure:6624: checking for WEOF" >&5
6624 cat > conftest.$ac_ext <<EOF
6625 #line 6626 "configure"
6626 #include "confdefs.h"
6634 if { (eval echo configure:6635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6638 echo "configure: failed program was:" >&5
6639 cat conftest.$ac_ext >&5
6644 echo "$ac_t""$has_weof" 1>&6
6647 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6650 echo "configure:6651: checking for $ac_func" >&5
6651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6652 echo $ac_n "(cached) $ac_c" 1>&6
6654 cat > conftest.$ac_ext <<EOF
6655 #line 6656 "configure"
6656 #include "confdefs.h"
6657 /* System header to define __stub macros and hopefully few prototypes,
6658 which can conflict with char $ac_func(); below. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6661 /* We use char because int might match the return type of a gcc2
6662 builtin and then its argument prototype would still apply. */
6667 /* The GNU C library defines this for functions which it implements
6668 to always fail with ENOSYS. Some functions are actually named
6669 something starting with __ and the normal name is an alias. */
6670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6680 eval "ac_cv_func_$ac_func=yes"
6682 echo "configure: failed program was:" >&5
6683 cat conftest.$ac_ext >&5
6685 eval "ac_cv_func_$ac_func=no"
6690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6691 echo "$ac_t""yes" 1>&6
6692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6693 cat >> confdefs.h <<EOF
6694 #define $ac_tr_func 1
6698 echo "$ac_t""no" 1>&6
6705 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6706 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6707 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6708 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6709 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6710 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6713 echo "configure:6714: checking for $ac_func" >&5
6714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6715 echo $ac_n "(cached) $ac_c" 1>&6
6717 cat > conftest.$ac_ext <<EOF
6718 #line 6719 "configure"
6719 #include "confdefs.h"
6720 /* System header to define __stub macros and hopefully few prototypes,
6721 which can conflict with char $ac_func(); below. */
6723 /* Override any gcc2 internal prototype to avoid an error. */
6724 /* We use char because int might match the return type of a gcc2
6725 builtin and then its argument prototype would still apply. */
6730 /* The GNU C library defines this for functions which it implements
6731 to always fail with ENOSYS. Some functions are actually named
6732 something starting with __ and the normal name is an alias. */
6733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6741 if { (eval echo configure:6742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6743 eval "ac_cv_func_$ac_func=yes"
6745 echo "configure: failed program was:" >&5
6746 cat conftest.$ac_ext >&5
6748 eval "ac_cv_func_$ac_func=no"
6753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6754 echo "$ac_t""yes" 1>&6
6755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6756 cat >> confdefs.h <<EOF
6757 #define $ac_tr_func 1
6761 echo "$ac_t""no" 1>&6
6768 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6769 echo "configure:6770: checking for ISO C99 wchar_t support" >&5
6770 if test x"$has_weof" = xyes &&
6771 test x"$has_wchar_minmax" = xyes &&
6772 test x"$ac_wfuncs" = xyes; then
6773 ac_isoC99_wchar_t=yes
6775 ac_isoC99_wchar_t=no
6777 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6779 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6780 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6781 echo "configure:6782: checking for iconv.h" >&5
6782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6783 echo $ac_n "(cached) $ac_c" 1>&6
6785 cat > conftest.$ac_ext <<EOF
6786 #line 6787 "configure"
6787 #include "confdefs.h"
6790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6791 { (eval echo configure:6792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6793 if test -z "$ac_err"; then
6795 eval "ac_cv_header_$ac_safe=yes"
6798 echo "configure: failed program was:" >&5
6799 cat conftest.$ac_ext >&5
6801 eval "ac_cv_header_$ac_safe=no"
6805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6806 echo "$ac_t""yes" 1>&6
6809 echo "$ac_t""no" 1>&6
6813 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6814 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6815 echo "configure:6816: checking for langinfo.h" >&5
6816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6
6819 cat > conftest.$ac_ext <<EOF
6820 #line 6821 "configure"
6821 #include "confdefs.h"
6822 #include <langinfo.h>
6824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6825 { (eval echo configure:6826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6827 if test -z "$ac_err"; then
6829 eval "ac_cv_header_$ac_safe=yes"
6832 echo "configure: failed program was:" >&5
6833 cat conftest.$ac_ext >&5
6835 eval "ac_cv_header_$ac_safe=no"
6839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6840 echo "$ac_t""yes" 1>&6
6841 ac_has_langinfo_h=yes
6843 echo "$ac_t""no" 1>&6
6844 ac_has_langinfo_h=no
6848 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6849 echo "configure:6850: checking for iconv in -liconv" >&5
6850 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6851 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6852 echo $ac_n "(cached) $ac_c" 1>&6
6854 ac_save_LIBS="$LIBS"
6855 LIBS="-liconv $LIBS"
6856 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure"
6858 #include "confdefs.h"
6859 /* Override any gcc2 internal prototype to avoid an error. */
6860 /* We use char because int might match the return type of a gcc2
6861 builtin and then its argument prototype would still apply. */
6868 if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6870 eval "ac_cv_lib_$ac_lib_var=yes"
6872 echo "configure: failed program was:" >&5
6873 cat conftest.$ac_ext >&5
6875 eval "ac_cv_lib_$ac_lib_var=no"
6878 LIBS="$ac_save_LIBS"
6881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6882 echo "$ac_t""yes" 1>&6
6885 echo "$ac_t""no" 1>&6
6888 ac_save_LIBS="$LIBS"
6889 LIBS="$LIBS $libiconv"
6891 for ac_func in iconv_open iconv_close iconv nl_langinfo
6893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6894 echo "configure:6895: checking for $ac_func" >&5
6895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6896 echo $ac_n "(cached) $ac_c" 1>&6
6898 cat > conftest.$ac_ext <<EOF
6899 #line 6900 "configure"
6900 #include "confdefs.h"
6901 /* System header to define __stub macros and hopefully few prototypes,
6902 which can conflict with char $ac_func(); below. */
6904 /* Override any gcc2 internal prototype to avoid an error. */
6905 /* We use char because int might match the return type of a gcc2
6906 builtin and then its argument prototype would still apply. */
6911 /* The GNU C library defines this for functions which it implements
6912 to always fail with ENOSYS. Some functions are actually named
6913 something starting with __ and the normal name is an alias. */
6914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6922 if { (eval echo configure:6923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6924 eval "ac_cv_func_$ac_func=yes"
6926 echo "configure: failed program was:" >&5
6927 cat conftest.$ac_ext >&5
6929 eval "ac_cv_func_$ac_func=no"
6934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6935 echo "$ac_t""yes" 1>&6
6936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6937 cat >> confdefs.h <<EOF
6938 #define $ac_tr_func 1
6943 echo "$ac_t""no" 1>&6
6949 LIBS="$ac_save_LIBS"
6951 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6952 echo "configure:6953: checking for XPG2 wchar_t support" >&5
6953 if test x"$ac_has_iconv_h" = xyes &&
6954 test x"$ac_has_langinfo_h" = xyes &&
6955 test x"$ac_XPG2funcs" = xyes; then
6960 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6962 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6963 echo "configure:6964: checking for enabled wchar_t specializations" >&5
6964 if test x"$ac_isoC99_wchar_t" = xyes &&
6965 test x"$ac_XPG2_wchar_t" = xyes; then
6966 cat >> confdefs.h <<\EOF
6967 #define _GLIBCPP_USE_WCHAR_T 1
6970 echo "$ac_t"""yes"" 1>&6
6972 echo "$ac_t"""no"" 1>&6
6975 echo "configure: warning: wchar_t support disabled." 1>&2
6978 os_include_dir="os/bsd/netbsd"
6979 cat >> confdefs.h <<\EOF
6980 #define HAVE_COPYSIGN 1
6983 cat >> confdefs.h <<\EOF
6984 #define HAVE_COPYSIGNF 1
6987 cat >> confdefs.h <<\EOF
6988 #define HAVE_FINITEF 1
6991 cat >> confdefs.h <<\EOF
6992 #define HAVE_FINITE 1
6995 cat >> confdefs.h <<\EOF
6996 #define HAVE_FREXPF 1
6999 cat >> confdefs.h <<\EOF
7000 #define HAVE_HYPOTF 1
7003 cat >> confdefs.h <<\EOF
7004 #define HAVE_ISINF 1
7007 cat >> confdefs.h <<\EOF
7008 #define HAVE_ISINFF 1
7011 cat >> confdefs.h <<\EOF
7012 #define HAVE_ISNAN 1
7015 cat >> confdefs.h <<\EOF
7016 #define HAVE_ISNANF 1
7019 if test x"long_double_math_on_this_cpu" = x"yes"; then
7020 cat >> confdefs.h <<\EOF
7021 #define HAVE_FINITEL 1
7024 cat >> confdefs.h <<\EOF
7025 #define HAVE_ISINFL 1
7028 cat >> confdefs.h <<\EOF
7029 #define HAVE_ISNANL 1
7035 # Check for available headers.
7036 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7037 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7038 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7041 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7043 echo "configure:7044: checking for $ac_hdr" >&5
7044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7045 echo $ac_n "(cached) $ac_c" 1>&6
7047 cat > conftest.$ac_ext <<EOF
7048 #line 7049 "configure"
7049 #include "confdefs.h"
7052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7053 { (eval echo configure:7054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7055 if test -z "$ac_err"; then
7057 eval "ac_cv_header_$ac_safe=yes"
7060 echo "configure: failed program was:" >&5
7061 cat conftest.$ac_ext >&5
7063 eval "ac_cv_header_$ac_safe=no"
7067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7068 echo "$ac_t""yes" 1>&6
7069 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7070 cat >> confdefs.h <<EOF
7071 #define $ac_tr_hdr 1
7075 echo "$ac_t""no" 1>&6
7079 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7082 # If we're not using GNU ld, then there's no point in even trying these
7083 # tests. Check for that first. We should have already tested for gld
7084 # by now (in libtool), but require it now just to be safe...
7085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7089 # The name set by libtool depends on the version of libtool. Shame on us
7090 # for depending on an impl detail, but c'est la vie. Older versions used
7091 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7092 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7093 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7094 # set (hence we're using an older libtool), then set it.
7095 if test x${with_gnu_ld+set} != xset; then
7096 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7097 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7100 with_gnu_ld=$ac_cv_prog_gnu_ld
7104 # Start by getting the version number. I think the libtool test already
7105 # does some of this, but throws away the result.
7107 ldver=`$LD --version 2>/dev/null | head -1 | \
7108 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7110 glibcpp_gnu_ld_version=`echo $ldver | \
7111 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7113 # Set --gc-sections.
7114 if test "$with_gnu_ld" = "notbroken"; then
7115 # GNU ld it is! Joy and bunny rabbits!
7117 # All these tests are for C++; save the language and the compiler flags.
7118 # Need to do this so that g++ won't try to link in libstdc++
7119 ac_test_CFLAGS="${CFLAGS+set}"
7120 ac_save_CFLAGS="$CFLAGS"
7121 CFLAGS='-x c++ -Wl,--gc-sections'
7123 # Check for -Wl,--gc-sections
7124 # XXX This test is broken at the moment, as symbols required for
7125 # linking are now in libsupc++ (not built yet.....). In addition,
7126 # this test has cored on solaris in the past. In addition,
7127 # --gc-sections doesn't really work at the moment (keeps on discarding
7128 # used sections, first .eh_frame and now some of the glibc sections for
7129 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7130 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7131 echo "configure:7132: checking for ld that supports -Wl,--gc-sections" >&5
7132 if test "$cross_compiling" = yes; then
7133 ac_sectionLDflags=yes
7135 cat > conftest.$ac_ext <<EOF
7136 #line 7137 "configure"
7137 #include "confdefs.h"
7147 if { (eval echo configure:7148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7149 ac_sectionLDflags=yes
7151 echo "configure: failed program was:" >&5
7152 cat conftest.$ac_ext >&5
7154 ac_sectionLDflags=no
7159 if test "$ac_test_CFLAGS" = set; then
7160 CFLAGS="$ac_save_CFLAGS"
7162 # this is the suspicious part
7165 if test "$ac_sectionLDflags" = "yes"; then
7166 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7168 echo "$ac_t""$ac_sectionLDflags" 1>&6
7171 # Set linker optimization flags.
7172 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7180 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7181 echo "configure:7182: checking for main in -lm" >&5
7182 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7184 echo $ac_n "(cached) $ac_c" 1>&6
7186 ac_save_LIBS="$LIBS"
7188 cat > conftest.$ac_ext <<EOF
7189 #line 7190 "configure"
7190 #include "confdefs.h"
7196 if { (eval echo configure:7197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7198 eval "ac_cv_lib_$ac_lib_var=yes"
7200 echo "configure: failed program was:" >&5
7201 cat conftest.$ac_ext >&5
7203 eval "ac_cv_lib_$ac_lib_var=no"
7206 LIBS="$ac_save_LIBS"
7209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7210 echo "$ac_t""yes" 1>&6
7211 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7212 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7213 cat >> confdefs.h <<EOF
7214 #define $ac_tr_lib 1
7220 echo "$ac_t""no" 1>&6
7223 for ac_func in nan copysignf
7225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7226 echo "configure:7227: checking for $ac_func" >&5
7227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7228 echo $ac_n "(cached) $ac_c" 1>&6
7230 cat > conftest.$ac_ext <<EOF
7231 #line 7232 "configure"
7232 #include "confdefs.h"
7233 /* System header to define __stub macros and hopefully few prototypes,
7234 which can conflict with char $ac_func(); below. */
7236 /* Override any gcc2 internal prototype to avoid an error. */
7237 /* We use char because int might match the return type of a gcc2
7238 builtin and then its argument prototype would still apply. */
7243 /* The GNU C library defines this for functions which it implements
7244 to always fail with ENOSYS. Some functions are actually named
7245 something starting with __ and the normal name is an alias. */
7246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7254 if { (eval echo configure:7255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7256 eval "ac_cv_func_$ac_func=yes"
7258 echo "configure: failed program was:" >&5
7259 cat conftest.$ac_ext >&5
7261 eval "ac_cv_func_$ac_func=no"
7266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7267 echo "$ac_t""yes" 1>&6
7268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7269 cat >> confdefs.h <<EOF
7270 #define $ac_tr_func 1
7274 echo "$ac_t""no" 1>&6
7275 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7280 for ac_func in __signbit
7282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7283 echo "configure:7284: checking for $ac_func" >&5
7284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7285 echo $ac_n "(cached) $ac_c" 1>&6
7287 cat > conftest.$ac_ext <<EOF
7288 #line 7289 "configure"
7289 #include "confdefs.h"
7290 /* System header to define __stub macros and hopefully few prototypes,
7291 which can conflict with char $ac_func(); below. */
7293 /* Override any gcc2 internal prototype to avoid an error. */
7294 /* We use char because int might match the return type of a gcc2
7295 builtin and then its argument prototype would still apply. */
7300 /* The GNU C library defines this for functions which it implements
7301 to always fail with ENOSYS. Some functions are actually named
7302 something starting with __ and the normal name is an alias. */
7303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7313 eval "ac_cv_func_$ac_func=yes"
7315 echo "configure: failed program was:" >&5
7316 cat conftest.$ac_ext >&5
7318 eval "ac_cv_func_$ac_func=no"
7323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7324 echo "$ac_t""yes" 1>&6
7325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7326 cat >> confdefs.h <<EOF
7327 #define $ac_tr_func 1
7331 echo "$ac_t""no" 1>&6
7332 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7336 for ac_func in __signbitf
7338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7339 echo "configure:7340: checking for $ac_func" >&5
7340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7343 cat > conftest.$ac_ext <<EOF
7344 #line 7345 "configure"
7345 #include "confdefs.h"
7346 /* System header to define __stub macros and hopefully few prototypes,
7347 which can conflict with char $ac_func(); below. */
7349 /* Override any gcc2 internal prototype to avoid an error. */
7350 /* We use char because int might match the return type of a gcc2
7351 builtin and then its argument prototype would still apply. */
7356 /* The GNU C library defines this for functions which it implements
7357 to always fail with ENOSYS. Some functions are actually named
7358 something starting with __ and the normal name is an alias. */
7359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7367 if { (eval echo configure:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7369 eval "ac_cv_func_$ac_func=yes"
7371 echo "configure: failed program was:" >&5
7372 cat conftest.$ac_ext >&5
7374 eval "ac_cv_func_$ac_func=no"
7379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7380 echo "$ac_t""yes" 1>&6
7381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7382 cat >> confdefs.h <<EOF
7383 #define $ac_tr_func 1
7387 echo "$ac_t""no" 1>&6
7388 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7393 if test x$ac_cv_func_copysignl = x"yes"; then
7394 for ac_func in __signbitl
7396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7397 echo "configure:7398: checking for $ac_func" >&5
7398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7399 echo $ac_n "(cached) $ac_c" 1>&6
7401 cat > conftest.$ac_ext <<EOF
7402 #line 7403 "configure"
7403 #include "confdefs.h"
7404 /* System header to define __stub macros and hopefully few prototypes,
7405 which can conflict with char $ac_func(); below. */
7407 /* Override any gcc2 internal prototype to avoid an error. */
7408 /* We use char because int might match the return type of a gcc2
7409 builtin and then its argument prototype would still apply. */
7414 /* The GNU C library defines this for functions which it implements
7415 to always fail with ENOSYS. Some functions are actually named
7416 something starting with __ and the normal name is an alias. */
7417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7427 eval "ac_cv_func_$ac_func=yes"
7429 echo "configure: failed program was:" >&5
7430 cat conftest.$ac_ext >&5
7432 eval "ac_cv_func_$ac_func=no"
7437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7438 echo "$ac_t""yes" 1>&6
7439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7440 cat >> confdefs.h <<EOF
7441 #define $ac_tr_func 1
7445 echo "$ac_t""no" 1>&6
7446 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7456 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7457 echo "configure:7458: checking for mbstate_t" >&5
7458 cat > conftest.$ac_ext <<EOF
7459 #line 7460 "configure"
7460 #include "confdefs.h"
7463 mbstate_t teststate;
7466 if { (eval echo configure:7467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7470 echo "configure: failed program was:" >&5
7471 cat conftest.$ac_ext >&5
7476 echo "$ac_t""$have_mbstate_t" 1>&6
7477 if test x"$have_mbstate_t" = xyes; then
7478 cat >> confdefs.h <<\EOF
7479 #define HAVE_MBSTATE_T 1
7484 for ac_hdr in wchar.h
7486 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7488 echo "configure:7489: checking for $ac_hdr" >&5
7489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7492 cat > conftest.$ac_ext <<EOF
7493 #line 7494 "configure"
7494 #include "confdefs.h"
7497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7498 { (eval echo configure:7499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7500 if test -z "$ac_err"; then
7502 eval "ac_cv_header_$ac_safe=yes"
7505 echo "configure: failed program was:" >&5
7506 cat conftest.$ac_ext >&5
7508 eval "ac_cv_header_$ac_safe=no"
7512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7513 echo "$ac_t""yes" 1>&6
7514 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7515 cat >> confdefs.h <<EOF
7516 #define $ac_tr_hdr 1
7520 echo "$ac_t""no" 1>&6
7525 for ac_hdr in wctype.h
7527 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7528 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7529 echo "configure:7530: checking for $ac_hdr" >&5
7530 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7531 echo $ac_n "(cached) $ac_c" 1>&6
7533 cat > conftest.$ac_ext <<EOF
7534 #line 7535 "configure"
7535 #include "confdefs.h"
7538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7539 { (eval echo configure:7540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7541 if test -z "$ac_err"; then
7543 eval "ac_cv_header_$ac_safe=yes"
7546 echo "configure: failed program was:" >&5
7547 cat conftest.$ac_ext >&5
7549 eval "ac_cv_header_$ac_safe=no"
7553 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7554 echo "$ac_t""yes" 1>&6
7555 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7556 cat >> confdefs.h <<EOF
7557 #define $ac_tr_hdr 1
7561 echo "$ac_t""no" 1>&6
7567 if test x"$ac_has_wchar_h" = xyes &&
7568 test x"$ac_has_wctype_h" = xyes &&
7569 test x"$enable_c_mbchar" != xno; then
7571 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7572 echo "configure:7573: checking for WCHAR_MIN and WCHAR_MAX" >&5
7573 cat > conftest.$ac_ext <<EOF
7574 #line 7575 "configure"
7575 #include "confdefs.h"
7578 int i = WCHAR_MIN; int j = WCHAR_MAX;
7581 if { (eval echo configure:7582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7583 has_wchar_minmax=yes
7585 echo "configure: failed program was:" >&5
7586 cat conftest.$ac_ext >&5
7591 echo "$ac_t""$has_wchar_minmax" 1>&6
7593 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7594 echo "configure:7595: checking for WEOF" >&5
7595 cat > conftest.$ac_ext <<EOF
7596 #line 7597 "configure"
7597 #include "confdefs.h"
7605 if { (eval echo configure:7606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7609 echo "configure: failed program was:" >&5
7610 cat conftest.$ac_ext >&5
7615 echo "$ac_t""$has_weof" 1>&6
7618 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7621 echo "configure:7622: checking for $ac_func" >&5
7622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7623 echo $ac_n "(cached) $ac_c" 1>&6
7625 cat > conftest.$ac_ext <<EOF
7626 #line 7627 "configure"
7627 #include "confdefs.h"
7628 /* System header to define __stub macros and hopefully few prototypes,
7629 which can conflict with char $ac_func(); below. */
7631 /* Override any gcc2 internal prototype to avoid an error. */
7632 /* We use char because int might match the return type of a gcc2
7633 builtin and then its argument prototype would still apply. */
7638 /* The GNU C library defines this for functions which it implements
7639 to always fail with ENOSYS. Some functions are actually named
7640 something starting with __ and the normal name is an alias. */
7641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7651 eval "ac_cv_func_$ac_func=yes"
7653 echo "configure: failed program was:" >&5
7654 cat conftest.$ac_ext >&5
7656 eval "ac_cv_func_$ac_func=no"
7661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7662 echo "$ac_t""yes" 1>&6
7663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7664 cat >> confdefs.h <<EOF
7665 #define $ac_tr_func 1
7669 echo "$ac_t""no" 1>&6
7676 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7677 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7678 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7679 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7680 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7681 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7684 echo "configure:7685: checking for $ac_func" >&5
7685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7686 echo $ac_n "(cached) $ac_c" 1>&6
7688 cat > conftest.$ac_ext <<EOF
7689 #line 7690 "configure"
7690 #include "confdefs.h"
7691 /* System header to define __stub macros and hopefully few prototypes,
7692 which can conflict with char $ac_func(); below. */
7694 /* Override any gcc2 internal prototype to avoid an error. */
7695 /* We use char because int might match the return type of a gcc2
7696 builtin and then its argument prototype would still apply. */
7701 /* The GNU C library defines this for functions which it implements
7702 to always fail with ENOSYS. Some functions are actually named
7703 something starting with __ and the normal name is an alias. */
7704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7712 if { (eval echo configure:7713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7714 eval "ac_cv_func_$ac_func=yes"
7716 echo "configure: failed program was:" >&5
7717 cat conftest.$ac_ext >&5
7719 eval "ac_cv_func_$ac_func=no"
7724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7725 echo "$ac_t""yes" 1>&6
7726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7727 cat >> confdefs.h <<EOF
7728 #define $ac_tr_func 1
7732 echo "$ac_t""no" 1>&6
7739 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7740 echo "configure:7741: checking for ISO C99 wchar_t support" >&5
7741 if test x"$has_weof" = xyes &&
7742 test x"$has_wchar_minmax" = xyes &&
7743 test x"$ac_wfuncs" = xyes; then
7744 ac_isoC99_wchar_t=yes
7746 ac_isoC99_wchar_t=no
7748 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7750 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7751 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7752 echo "configure:7753: checking for iconv.h" >&5
7753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7754 echo $ac_n "(cached) $ac_c" 1>&6
7756 cat > conftest.$ac_ext <<EOF
7757 #line 7758 "configure"
7758 #include "confdefs.h"
7761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7762 { (eval echo configure:7763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7764 if test -z "$ac_err"; then
7766 eval "ac_cv_header_$ac_safe=yes"
7769 echo "configure: failed program was:" >&5
7770 cat conftest.$ac_ext >&5
7772 eval "ac_cv_header_$ac_safe=no"
7776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7777 echo "$ac_t""yes" 1>&6
7780 echo "$ac_t""no" 1>&6
7784 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7785 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7786 echo "configure:7787: checking for langinfo.h" >&5
7787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7788 echo $ac_n "(cached) $ac_c" 1>&6
7790 cat > conftest.$ac_ext <<EOF
7791 #line 7792 "configure"
7792 #include "confdefs.h"
7793 #include <langinfo.h>
7795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7796 { (eval echo configure:7797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7798 if test -z "$ac_err"; then
7800 eval "ac_cv_header_$ac_safe=yes"
7803 echo "configure: failed program was:" >&5
7804 cat conftest.$ac_ext >&5
7806 eval "ac_cv_header_$ac_safe=no"
7810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7811 echo "$ac_t""yes" 1>&6
7812 ac_has_langinfo_h=yes
7814 echo "$ac_t""no" 1>&6
7815 ac_has_langinfo_h=no
7819 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7820 echo "configure:7821: checking for iconv in -liconv" >&5
7821 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7822 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7823 echo $ac_n "(cached) $ac_c" 1>&6
7825 ac_save_LIBS="$LIBS"
7826 LIBS="-liconv $LIBS"
7827 cat > conftest.$ac_ext <<EOF
7828 #line 7829 "configure"
7829 #include "confdefs.h"
7830 /* Override any gcc2 internal prototype to avoid an error. */
7831 /* We use char because int might match the return type of a gcc2
7832 builtin and then its argument prototype would still apply. */
7839 if { (eval echo configure:7840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7841 eval "ac_cv_lib_$ac_lib_var=yes"
7843 echo "configure: failed program was:" >&5
7844 cat conftest.$ac_ext >&5
7846 eval "ac_cv_lib_$ac_lib_var=no"
7849 LIBS="$ac_save_LIBS"
7852 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7853 echo "$ac_t""yes" 1>&6
7856 echo "$ac_t""no" 1>&6
7859 ac_save_LIBS="$LIBS"
7860 LIBS="$LIBS $libiconv"
7862 for ac_func in iconv_open iconv_close iconv nl_langinfo
7864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7865 echo "configure:7866: checking for $ac_func" >&5
7866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7869 cat > conftest.$ac_ext <<EOF
7870 #line 7871 "configure"
7871 #include "confdefs.h"
7872 /* System header to define __stub macros and hopefully few prototypes,
7873 which can conflict with char $ac_func(); below. */
7875 /* Override any gcc2 internal prototype to avoid an error. */
7876 /* We use char because int might match the return type of a gcc2
7877 builtin and then its argument prototype would still apply. */
7882 /* The GNU C library defines this for functions which it implements
7883 to always fail with ENOSYS. Some functions are actually named
7884 something starting with __ and the normal name is an alias. */
7885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7895 eval "ac_cv_func_$ac_func=yes"
7897 echo "configure: failed program was:" >&5
7898 cat conftest.$ac_ext >&5
7900 eval "ac_cv_func_$ac_func=no"
7905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7906 echo "$ac_t""yes" 1>&6
7907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7908 cat >> confdefs.h <<EOF
7909 #define $ac_tr_func 1
7914 echo "$ac_t""no" 1>&6
7920 LIBS="$ac_save_LIBS"
7922 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7923 echo "configure:7924: checking for XPG2 wchar_t support" >&5
7924 if test x"$ac_has_iconv_h" = xyes &&
7925 test x"$ac_has_langinfo_h" = xyes &&
7926 test x"$ac_XPG2funcs" = xyes; then
7931 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7933 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7934 echo "configure:7935: checking for enabled wchar_t specializations" >&5
7935 if test x"$ac_isoC99_wchar_t" = xyes &&
7936 test x"$ac_XPG2_wchar_t" = xyes; then
7937 cat >> confdefs.h <<\EOF
7938 #define _GLIBCPP_USE_WCHAR_T 1
7941 echo "$ac_t"""yes"" 1>&6
7943 echo "$ac_t"""no"" 1>&6
7946 echo "configure: warning: wchar_t support disabled." 1>&2
7949 os_include_dir="os/bsd/freebsd"
7950 cat >> confdefs.h <<\EOF
7951 #define HAVE_LC_MESSAGES 1
7954 cat >> confdefs.h <<\EOF
7955 #define HAVE_DRAND48 1
7958 cat >> confdefs.h <<\EOF
7959 #define HAVE_GETPAGESIZE 1
7962 cat >> confdefs.h <<\EOF
7963 #define HAVE_SETENV 1
7966 cat >> confdefs.h <<\EOF
7967 #define HAVE_SIGSETJMP 1
7970 cat >> confdefs.h <<\EOF
7971 #define HAVE_COPYSIGN 1
7974 cat >> confdefs.h <<\EOF
7975 #define HAVE_COPYSIGNF 1
7978 cat >> confdefs.h <<\EOF
7979 #define HAVE_FINITEF 1
7982 cat >> confdefs.h <<\EOF
7983 #define HAVE_FINITE 1
7986 cat >> confdefs.h <<\EOF
7987 #define HAVE_FREXPF 1
7990 cat >> confdefs.h <<\EOF
7991 #define HAVE_HYPOT 1
7994 cat >> confdefs.h <<\EOF
7995 #define HAVE_HYPOTF 1
7998 cat >> confdefs.h <<\EOF
7999 #define HAVE_ISINF 1
8002 cat >> confdefs.h <<\EOF
8003 #define HAVE_ISNAN 1
8006 cat >> confdefs.h <<\EOF
8007 #define HAVE_ISNANF 1
8010 if test x"long_double_math_on_this_cpu" = x"yes"; then
8011 cat >> confdefs.h <<\EOF
8012 #define HAVE_FINITEL 1
8015 cat >> confdefs.h <<\EOF
8016 #define HAVE_ISINFL 1
8019 cat >> confdefs.h <<\EOF
8020 #define HAVE_ISNANL 1
8026 for ac_hdr in sys/types.h locale.h float.h
8028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8029 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8030 echo "configure:8031: checking for $ac_hdr" >&5
8031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8032 echo $ac_n "(cached) $ac_c" 1>&6
8034 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8040 { (eval echo configure:8041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8042 if test -z "$ac_err"; then
8044 eval "ac_cv_header_$ac_safe=yes"
8047 echo "configure: failed program was:" >&5
8048 cat conftest.$ac_ext >&5
8050 eval "ac_cv_header_$ac_safe=no"
8054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8055 echo "$ac_t""yes" 1>&6
8056 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8057 cat >> confdefs.h <<EOF
8058 #define $ac_tr_hdr 1
8062 echo "$ac_t""no" 1>&6
8067 # If we're not using GNU ld, then there's no point in even trying these
8068 # tests. Check for that first. We should have already tested for gld
8069 # by now (in libtool), but require it now just to be safe...
8070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8074 # The name set by libtool depends on the version of libtool. Shame on us
8075 # for depending on an impl detail, but c'est la vie. Older versions used
8076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8079 # set (hence we're using an older libtool), then set it.
8080 if test x${with_gnu_ld+set} != xset; then
8081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8085 with_gnu_ld=$ac_cv_prog_gnu_ld
8089 # Start by getting the version number. I think the libtool test already
8090 # does some of this, but throws away the result.
8092 ldver=`$LD --version 2>/dev/null | head -1 | \
8093 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8095 glibcpp_gnu_ld_version=`echo $ldver | \
8096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8098 # Set --gc-sections.
8099 if test "$with_gnu_ld" = "notbroken"; then
8100 # GNU ld it is! Joy and bunny rabbits!
8102 # All these tests are for C++; save the language and the compiler flags.
8103 # Need to do this so that g++ won't try to link in libstdc++
8104 ac_test_CFLAGS="${CFLAGS+set}"
8105 ac_save_CFLAGS="$CFLAGS"
8106 CFLAGS='-x c++ -Wl,--gc-sections'
8108 # Check for -Wl,--gc-sections
8109 # XXX This test is broken at the moment, as symbols required for
8110 # linking are now in libsupc++ (not built yet.....). In addition,
8111 # this test has cored on solaris in the past. In addition,
8112 # --gc-sections doesn't really work at the moment (keeps on discarding
8113 # used sections, first .eh_frame and now some of the glibc sections for
8114 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8115 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8116 echo "configure:8117: checking for ld that supports -Wl,--gc-sections" >&5
8117 if test "$cross_compiling" = yes; then
8118 ac_sectionLDflags=yes
8120 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure"
8122 #include "confdefs.h"
8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8134 ac_sectionLDflags=yes
8136 echo "configure: failed program was:" >&5
8137 cat conftest.$ac_ext >&5
8139 ac_sectionLDflags=no
8144 if test "$ac_test_CFLAGS" = set; then
8145 CFLAGS="$ac_save_CFLAGS"
8147 # this is the suspicious part
8150 if test "$ac_sectionLDflags" = "yes"; then
8151 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8153 echo "$ac_t""$ac_sectionLDflags" 1>&6
8156 # Set linker optimization flags.
8157 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8158 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8165 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8166 echo "configure:8167: checking for main in -lm" >&5
8167 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8169 echo $ac_n "(cached) $ac_c" 1>&6
8171 ac_save_LIBS="$LIBS"
8173 cat > conftest.$ac_ext <<EOF
8174 #line 8175 "configure"
8175 #include "confdefs.h"
8181 if { (eval echo configure:8182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8183 eval "ac_cv_lib_$ac_lib_var=yes"
8185 echo "configure: failed program was:" >&5
8186 cat conftest.$ac_ext >&5
8188 eval "ac_cv_lib_$ac_lib_var=no"
8191 LIBS="$ac_save_LIBS"
8194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8195 echo "$ac_t""yes" 1>&6
8196 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8197 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8198 cat >> confdefs.h <<EOF
8199 #define $ac_tr_lib 1
8205 echo "$ac_t""no" 1>&6
8208 for ac_func in nan copysignf
8210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8211 echo "configure:8212: checking for $ac_func" >&5
8212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8213 echo $ac_n "(cached) $ac_c" 1>&6
8215 cat > conftest.$ac_ext <<EOF
8216 #line 8217 "configure"
8217 #include "confdefs.h"
8218 /* System header to define __stub macros and hopefully few prototypes,
8219 which can conflict with char $ac_func(); below. */
8221 /* Override any gcc2 internal prototype to avoid an error. */
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8228 /* The GNU C library defines this for functions which it implements
8229 to always fail with ENOSYS. Some functions are actually named
8230 something starting with __ and the normal name is an alias. */
8231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8239 if { (eval echo configure:8240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8241 eval "ac_cv_func_$ac_func=yes"
8243 echo "configure: failed program was:" >&5
8244 cat conftest.$ac_ext >&5
8246 eval "ac_cv_func_$ac_func=no"
8251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8252 echo "$ac_t""yes" 1>&6
8253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8254 cat >> confdefs.h <<EOF
8255 #define $ac_tr_func 1
8259 echo "$ac_t""no" 1>&6
8260 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8265 for ac_func in __signbit
8267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8268 echo "configure:8269: checking for $ac_func" >&5
8269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8270 echo $ac_n "(cached) $ac_c" 1>&6
8272 cat > conftest.$ac_ext <<EOF
8273 #line 8274 "configure"
8274 #include "confdefs.h"
8275 /* System header to define __stub macros and hopefully few prototypes,
8276 which can conflict with char $ac_func(); below. */
8278 /* Override any gcc2 internal prototype to avoid an error. */
8279 /* We use char because int might match the return type of a gcc2
8280 builtin and then its argument prototype would still apply. */
8285 /* The GNU C library defines this for functions which it implements
8286 to always fail with ENOSYS. Some functions are actually named
8287 something starting with __ and the normal name is an alias. */
8288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8298 eval "ac_cv_func_$ac_func=yes"
8300 echo "configure: failed program was:" >&5
8301 cat conftest.$ac_ext >&5
8303 eval "ac_cv_func_$ac_func=no"
8308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8309 echo "$ac_t""yes" 1>&6
8310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8311 cat >> confdefs.h <<EOF
8312 #define $ac_tr_func 1
8316 echo "$ac_t""no" 1>&6
8317 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8321 for ac_func in __signbitf
8323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8324 echo "configure:8325: checking for $ac_func" >&5
8325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8326 echo $ac_n "(cached) $ac_c" 1>&6
8328 cat > conftest.$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8331 /* System header to define __stub macros and hopefully few prototypes,
8332 which can conflict with char $ac_func(); below. */
8334 /* Override any gcc2 internal prototype to avoid an error. */
8335 /* We use char because int might match the return type of a gcc2
8336 builtin and then its argument prototype would still apply. */
8341 /* The GNU C library defines this for functions which it implements
8342 to always fail with ENOSYS. Some functions are actually named
8343 something starting with __ and the normal name is an alias. */
8344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8352 if { (eval echo configure:8353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8354 eval "ac_cv_func_$ac_func=yes"
8356 echo "configure: failed program was:" >&5
8357 cat conftest.$ac_ext >&5
8359 eval "ac_cv_func_$ac_func=no"
8364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8365 echo "$ac_t""yes" 1>&6
8366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8367 cat >> confdefs.h <<EOF
8368 #define $ac_tr_func 1
8372 echo "$ac_t""no" 1>&6
8373 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8378 if test x$ac_cv_func_copysignl = x"yes"; then
8379 for ac_func in __signbitl
8381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8382 echo "configure:8383: checking for $ac_func" >&5
8383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8384 echo $ac_n "(cached) $ac_c" 1>&6
8386 cat > conftest.$ac_ext <<EOF
8387 #line 8388 "configure"
8388 #include "confdefs.h"
8389 /* System header to define __stub macros and hopefully few prototypes,
8390 which can conflict with char $ac_func(); below. */
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 /* We use char because int might match the return type of a gcc2
8394 builtin and then its argument prototype would still apply. */
8399 /* The GNU C library defines this for functions which it implements
8400 to always fail with ENOSYS. Some functions are actually named
8401 something starting with __ and the normal name is an alias. */
8402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8410 if { (eval echo configure:8411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8412 eval "ac_cv_func_$ac_func=yes"
8414 echo "configure: failed program was:" >&5
8415 cat conftest.$ac_ext >&5
8417 eval "ac_cv_func_$ac_func=no"
8422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8423 echo "$ac_t""yes" 1>&6
8424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8425 cat >> confdefs.h <<EOF
8426 #define $ac_tr_func 1
8430 echo "$ac_t""no" 1>&6
8431 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8441 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8442 echo "configure:8443: checking for mbstate_t" >&5
8443 cat > conftest.$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8448 mbstate_t teststate;
8451 if { (eval echo configure:8452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8455 echo "configure: failed program was:" >&5
8456 cat conftest.$ac_ext >&5
8461 echo "$ac_t""$have_mbstate_t" 1>&6
8462 if test x"$have_mbstate_t" = xyes; then
8463 cat >> confdefs.h <<\EOF
8464 #define HAVE_MBSTATE_T 1
8469 for ac_hdr in wchar.h
8471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8473 echo "configure:8474: checking for $ac_hdr" >&5
8474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8475 echo $ac_n "(cached) $ac_c" 1>&6
8477 cat > conftest.$ac_ext <<EOF
8478 #line 8479 "configure"
8479 #include "confdefs.h"
8482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8483 { (eval echo configure:8484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8485 if test -z "$ac_err"; then
8487 eval "ac_cv_header_$ac_safe=yes"
8490 echo "configure: failed program was:" >&5
8491 cat conftest.$ac_ext >&5
8493 eval "ac_cv_header_$ac_safe=no"
8497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8498 echo "$ac_t""yes" 1>&6
8499 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8500 cat >> confdefs.h <<EOF
8501 #define $ac_tr_hdr 1
8505 echo "$ac_t""no" 1>&6
8510 for ac_hdr in wctype.h
8512 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8514 echo "configure:8515: checking for $ac_hdr" >&5
8515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8516 echo $ac_n "(cached) $ac_c" 1>&6
8518 cat > conftest.$ac_ext <<EOF
8519 #line 8520 "configure"
8520 #include "confdefs.h"
8523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8524 { (eval echo configure:8525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8526 if test -z "$ac_err"; then
8528 eval "ac_cv_header_$ac_safe=yes"
8531 echo "configure: failed program was:" >&5
8532 cat conftest.$ac_ext >&5
8534 eval "ac_cv_header_$ac_safe=no"
8538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8539 echo "$ac_t""yes" 1>&6
8540 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8541 cat >> confdefs.h <<EOF
8542 #define $ac_tr_hdr 1
8546 echo "$ac_t""no" 1>&6
8552 if test x"$ac_has_wchar_h" = xyes &&
8553 test x"$ac_has_wctype_h" = xyes &&
8554 test x"$enable_c_mbchar" != xno; then
8556 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8557 echo "configure:8558: checking for WCHAR_MIN and WCHAR_MAX" >&5
8558 cat > conftest.$ac_ext <<EOF
8559 #line 8560 "configure"
8560 #include "confdefs.h"
8563 int i = WCHAR_MIN; int j = WCHAR_MAX;
8566 if { (eval echo configure:8567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8568 has_wchar_minmax=yes
8570 echo "configure: failed program was:" >&5
8571 cat conftest.$ac_ext >&5
8576 echo "$ac_t""$has_wchar_minmax" 1>&6
8578 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8579 echo "configure:8580: checking for WEOF" >&5
8580 cat > conftest.$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8590 if { (eval echo configure:8591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8594 echo "configure: failed program was:" >&5
8595 cat conftest.$ac_ext >&5
8600 echo "$ac_t""$has_weof" 1>&6
8603 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8606 echo "configure:8607: checking for $ac_func" >&5
8607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8608 echo $ac_n "(cached) $ac_c" 1>&6
8610 cat > conftest.$ac_ext <<EOF
8611 #line 8612 "configure"
8612 #include "confdefs.h"
8613 /* System header to define __stub macros and hopefully few prototypes,
8614 which can conflict with char $ac_func(); below. */
8616 /* Override any gcc2 internal prototype to avoid an error. */
8617 /* We use char because int might match the return type of a gcc2
8618 builtin and then its argument prototype would still apply. */
8623 /* The GNU C library defines this for functions which it implements
8624 to always fail with ENOSYS. Some functions are actually named
8625 something starting with __ and the normal name is an alias. */
8626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8636 eval "ac_cv_func_$ac_func=yes"
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8641 eval "ac_cv_func_$ac_func=no"
8646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8647 echo "$ac_t""yes" 1>&6
8648 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8649 cat >> confdefs.h <<EOF
8650 #define $ac_tr_func 1
8654 echo "$ac_t""no" 1>&6
8661 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8662 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8663 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8664 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8665 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8666 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8669 echo "configure:8670: checking for $ac_func" >&5
8670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8673 cat > conftest.$ac_ext <<EOF
8674 #line 8675 "configure"
8675 #include "confdefs.h"
8676 /* System header to define __stub macros and hopefully few prototypes,
8677 which can conflict with char $ac_func(); below. */
8679 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8686 /* The GNU C library defines this for functions which it implements
8687 to always fail with ENOSYS. Some functions are actually named
8688 something starting with __ and the normal name is an alias. */
8689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8697 if { (eval echo configure:8698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699 eval "ac_cv_func_$ac_func=yes"
8701 echo "configure: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8704 eval "ac_cv_func_$ac_func=no"
8709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8710 echo "$ac_t""yes" 1>&6
8711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8712 cat >> confdefs.h <<EOF
8713 #define $ac_tr_func 1
8717 echo "$ac_t""no" 1>&6
8724 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8725 echo "configure:8726: checking for ISO C99 wchar_t support" >&5
8726 if test x"$has_weof" = xyes &&
8727 test x"$has_wchar_minmax" = xyes &&
8728 test x"$ac_wfuncs" = xyes; then
8729 ac_isoC99_wchar_t=yes
8731 ac_isoC99_wchar_t=no
8733 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8735 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8736 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8737 echo "configure:8738: checking for iconv.h" >&5
8738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8739 echo $ac_n "(cached) $ac_c" 1>&6
8741 cat > conftest.$ac_ext <<EOF
8742 #line 8743 "configure"
8743 #include "confdefs.h"
8746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8747 { (eval echo configure:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8749 if test -z "$ac_err"; then
8751 eval "ac_cv_header_$ac_safe=yes"
8754 echo "configure: failed program was:" >&5
8755 cat conftest.$ac_ext >&5
8757 eval "ac_cv_header_$ac_safe=no"
8761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8762 echo "$ac_t""yes" 1>&6
8765 echo "$ac_t""no" 1>&6
8769 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8770 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8771 echo "configure:8772: checking for langinfo.h" >&5
8772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8773 echo $ac_n "(cached) $ac_c" 1>&6
8775 cat > conftest.$ac_ext <<EOF
8776 #line 8777 "configure"
8777 #include "confdefs.h"
8778 #include <langinfo.h>
8780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8781 { (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8783 if test -z "$ac_err"; then
8785 eval "ac_cv_header_$ac_safe=yes"
8788 echo "configure: failed program was:" >&5
8789 cat conftest.$ac_ext >&5
8791 eval "ac_cv_header_$ac_safe=no"
8795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8796 echo "$ac_t""yes" 1>&6
8797 ac_has_langinfo_h=yes
8799 echo "$ac_t""no" 1>&6
8800 ac_has_langinfo_h=no
8804 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8805 echo "configure:8806: checking for iconv in -liconv" >&5
8806 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8808 echo $ac_n "(cached) $ac_c" 1>&6
8810 ac_save_LIBS="$LIBS"
8811 LIBS="-liconv $LIBS"
8812 cat > conftest.$ac_ext <<EOF
8813 #line 8814 "configure"
8814 #include "confdefs.h"
8815 /* Override any gcc2 internal prototype to avoid an error. */
8816 /* We use char because int might match the return type of a gcc2
8817 builtin and then its argument prototype would still apply. */
8824 if { (eval echo configure:8825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8826 eval "ac_cv_lib_$ac_lib_var=yes"
8828 echo "configure: failed program was:" >&5
8829 cat conftest.$ac_ext >&5
8831 eval "ac_cv_lib_$ac_lib_var=no"
8834 LIBS="$ac_save_LIBS"
8837 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8838 echo "$ac_t""yes" 1>&6
8841 echo "$ac_t""no" 1>&6
8844 ac_save_LIBS="$LIBS"
8845 LIBS="$LIBS $libiconv"
8847 for ac_func in iconv_open iconv_close iconv nl_langinfo
8849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8850 echo "configure:8851: checking for $ac_func" >&5
8851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8852 echo $ac_n "(cached) $ac_c" 1>&6
8854 cat > conftest.$ac_ext <<EOF
8855 #line 8856 "configure"
8856 #include "confdefs.h"
8857 /* System header to define __stub macros and hopefully few prototypes,
8858 which can conflict with char $ac_func(); below. */
8860 /* Override any gcc2 internal prototype to avoid an error. */
8861 /* We use char because int might match the return type of a gcc2
8862 builtin and then its argument prototype would still apply. */
8867 /* The GNU C library defines this for functions which it implements
8868 to always fail with ENOSYS. Some functions are actually named
8869 something starting with __ and the normal name is an alias. */
8870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8878 if { (eval echo configure:8879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8880 eval "ac_cv_func_$ac_func=yes"
8882 echo "configure: failed program was:" >&5
8883 cat conftest.$ac_ext >&5
8885 eval "ac_cv_func_$ac_func=no"
8890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8891 echo "$ac_t""yes" 1>&6
8892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8893 cat >> confdefs.h <<EOF
8894 #define $ac_tr_func 1
8899 echo "$ac_t""no" 1>&6
8905 LIBS="$ac_save_LIBS"
8907 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8908 echo "configure:8909: checking for XPG2 wchar_t support" >&5
8909 if test x"$ac_has_iconv_h" = xyes &&
8910 test x"$ac_has_langinfo_h" = xyes &&
8911 test x"$ac_XPG2funcs" = xyes; then
8916 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8918 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8919 echo "configure:8920: checking for enabled wchar_t specializations" >&5
8920 if test x"$ac_isoC99_wchar_t" = xyes &&
8921 test x"$ac_XPG2_wchar_t" = xyes; then
8922 cat >> confdefs.h <<\EOF
8923 #define _GLIBCPP_USE_WCHAR_T 1
8926 echo "$ac_t"""yes"" 1>&6
8928 echo "$ac_t"""no"" 1>&6
8931 echo "configure: warning: wchar_t support disabled." 1>&2
8934 os_include_dir="os/mingw32"
8937 os_include_dir="os/windiss"
8940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8943 # If we're not using GNU ld, then there's no point in even trying these
8944 # tests. Check for that first. We should have already tested for gld
8945 # by now (in libtool), but require it now just to be safe...
8946 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8947 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8950 # The name set by libtool depends on the version of libtool. Shame on us
8951 # for depending on an impl detail, but c'est la vie. Older versions used
8952 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8953 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8954 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8955 # set (hence we're using an older libtool), then set it.
8956 if test x${with_gnu_ld+set} != xset; then
8957 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8958 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8961 with_gnu_ld=$ac_cv_prog_gnu_ld
8965 # Start by getting the version number. I think the libtool test already
8966 # does some of this, but throws away the result.
8968 ldver=`$LD --version 2>/dev/null | head -1 | \
8969 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8971 glibcpp_gnu_ld_version=`echo $ldver | \
8972 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8974 # Set --gc-sections.
8975 if test "$with_gnu_ld" = "notbroken"; then
8976 # GNU ld it is! Joy and bunny rabbits!
8978 # All these tests are for C++; save the language and the compiler flags.
8979 # Need to do this so that g++ won't try to link in libstdc++
8980 ac_test_CFLAGS="${CFLAGS+set}"
8981 ac_save_CFLAGS="$CFLAGS"
8982 CFLAGS='-x c++ -Wl,--gc-sections'
8984 # Check for -Wl,--gc-sections
8985 # XXX This test is broken at the moment, as symbols required for
8986 # linking are now in libsupc++ (not built yet.....). In addition,
8987 # this test has cored on solaris in the past. In addition,
8988 # --gc-sections doesn't really work at the moment (keeps on discarding
8989 # used sections, first .eh_frame and now some of the glibc sections for
8990 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8991 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8992 echo "configure:8993: checking for ld that supports -Wl,--gc-sections" >&5
8993 if test "$cross_compiling" = yes; then
8994 ac_sectionLDflags=yes
8996 cat > conftest.$ac_ext <<EOF
8997 #line 8998 "configure"
8998 #include "confdefs.h"
9008 if { (eval echo configure:9009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9010 ac_sectionLDflags=yes
9012 echo "configure: failed program was:" >&5
9013 cat conftest.$ac_ext >&5
9015 ac_sectionLDflags=no
9020 if test "$ac_test_CFLAGS" = set; then
9021 CFLAGS="$ac_save_CFLAGS"
9023 # this is the suspicious part
9026 if test "$ac_sectionLDflags" = "yes"; then
9027 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9029 echo "$ac_t""$ac_sectionLDflags" 1>&6
9032 # Set linker optimization flags.
9033 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9034 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9041 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9042 echo "configure:9043: checking for main in -lm" >&5
9043 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9045 echo $ac_n "(cached) $ac_c" 1>&6
9047 ac_save_LIBS="$LIBS"
9049 cat > conftest.$ac_ext <<EOF
9050 #line 9051 "configure"
9051 #include "confdefs.h"
9057 if { (eval echo configure:9058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9059 eval "ac_cv_lib_$ac_lib_var=yes"
9061 echo "configure: failed program was:" >&5
9062 cat conftest.$ac_ext >&5
9064 eval "ac_cv_lib_$ac_lib_var=no"
9067 LIBS="$ac_save_LIBS"
9070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9071 echo "$ac_t""yes" 1>&6
9072 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9073 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9074 cat >> confdefs.h <<EOF
9075 #define $ac_tr_lib 1
9081 echo "$ac_t""no" 1>&6
9084 for ac_func in nan copysignf
9086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9087 echo "configure:9088: checking for $ac_func" >&5
9088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9089 echo $ac_n "(cached) $ac_c" 1>&6
9091 cat > conftest.$ac_ext <<EOF
9092 #line 9093 "configure"
9093 #include "confdefs.h"
9094 /* System header to define __stub macros and hopefully few prototypes,
9095 which can conflict with char $ac_func(); below. */
9097 /* Override any gcc2 internal prototype to avoid an error. */
9098 /* We use char because int might match the return type of a gcc2
9099 builtin and then its argument prototype would still apply. */
9104 /* The GNU C library defines this for functions which it implements
9105 to always fail with ENOSYS. Some functions are actually named
9106 something starting with __ and the normal name is an alias. */
9107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9115 if { (eval echo configure:9116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9117 eval "ac_cv_func_$ac_func=yes"
9119 echo "configure: failed program was:" >&5
9120 cat conftest.$ac_ext >&5
9122 eval "ac_cv_func_$ac_func=no"
9127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9128 echo "$ac_t""yes" 1>&6
9129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9130 cat >> confdefs.h <<EOF
9131 #define $ac_tr_func 1
9135 echo "$ac_t""no" 1>&6
9136 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9141 for ac_func in __signbit
9143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9144 echo "configure:9145: checking for $ac_func" >&5
9145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9146 echo $ac_n "(cached) $ac_c" 1>&6
9148 cat > conftest.$ac_ext <<EOF
9149 #line 9150 "configure"
9150 #include "confdefs.h"
9151 /* System header to define __stub macros and hopefully few prototypes,
9152 which can conflict with char $ac_func(); below. */
9154 /* Override any gcc2 internal prototype to avoid an error. */
9155 /* We use char because int might match the return type of a gcc2
9156 builtin and then its argument prototype would still apply. */
9161 /* The GNU C library defines this for functions which it implements
9162 to always fail with ENOSYS. Some functions are actually named
9163 something starting with __ and the normal name is an alias. */
9164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9172 if { (eval echo configure:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9174 eval "ac_cv_func_$ac_func=yes"
9176 echo "configure: failed program was:" >&5
9177 cat conftest.$ac_ext >&5
9179 eval "ac_cv_func_$ac_func=no"
9184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9185 echo "$ac_t""yes" 1>&6
9186 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9187 cat >> confdefs.h <<EOF
9188 #define $ac_tr_func 1
9192 echo "$ac_t""no" 1>&6
9193 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9197 for ac_func in __signbitf
9199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9200 echo "configure:9201: checking for $ac_func" >&5
9201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9204 cat > conftest.$ac_ext <<EOF
9205 #line 9206 "configure"
9206 #include "confdefs.h"
9207 /* System header to define __stub macros and hopefully few prototypes,
9208 which can conflict with char $ac_func(); below. */
9210 /* Override any gcc2 internal prototype to avoid an error. */
9211 /* We use char because int might match the return type of a gcc2
9212 builtin and then its argument prototype would still apply. */
9217 /* The GNU C library defines this for functions which it implements
9218 to always fail with ENOSYS. Some functions are actually named
9219 something starting with __ and the normal name is an alias. */
9220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9228 if { (eval echo configure:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9230 eval "ac_cv_func_$ac_func=yes"
9232 echo "configure: failed program was:" >&5
9233 cat conftest.$ac_ext >&5
9235 eval "ac_cv_func_$ac_func=no"
9240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9241 echo "$ac_t""yes" 1>&6
9242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9243 cat >> confdefs.h <<EOF
9244 #define $ac_tr_func 1
9248 echo "$ac_t""no" 1>&6
9249 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9254 if test x$ac_cv_func_copysignl = x"yes"; then
9255 for ac_func in __signbitl
9257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9258 echo "configure:9259: checking for $ac_func" >&5
9259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9260 echo $ac_n "(cached) $ac_c" 1>&6
9262 cat > conftest.$ac_ext <<EOF
9263 #line 9264 "configure"
9264 #include "confdefs.h"
9265 /* System header to define __stub macros and hopefully few prototypes,
9266 which can conflict with char $ac_func(); below. */
9268 /* Override any gcc2 internal prototype to avoid an error. */
9269 /* We use char because int might match the return type of a gcc2
9270 builtin and then its argument prototype would still apply. */
9275 /* The GNU C library defines this for functions which it implements
9276 to always fail with ENOSYS. Some functions are actually named
9277 something starting with __ and the normal name is an alias. */
9278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9286 if { (eval echo configure:9287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9288 eval "ac_cv_func_$ac_func=yes"
9290 echo "configure: failed program was:" >&5
9291 cat conftest.$ac_ext >&5
9293 eval "ac_cv_func_$ac_func=no"
9298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9299 echo "$ac_t""yes" 1>&6
9300 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9301 cat >> confdefs.h <<EOF
9302 #define $ac_tr_func 1
9306 echo "$ac_t""no" 1>&6
9307 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9317 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9318 echo "configure:9319: checking for mbstate_t" >&5
9319 cat > conftest.$ac_ext <<EOF
9320 #line 9321 "configure"
9321 #include "confdefs.h"
9324 mbstate_t teststate;
9327 if { (eval echo configure:9328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9331 echo "configure: failed program was:" >&5
9332 cat conftest.$ac_ext >&5
9337 echo "$ac_t""$have_mbstate_t" 1>&6
9338 if test x"$have_mbstate_t" = xyes; then
9339 cat >> confdefs.h <<\EOF
9340 #define HAVE_MBSTATE_T 1
9345 for ac_hdr in wchar.h
9347 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9348 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9349 echo "configure:9350: checking for $ac_hdr" >&5
9350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9351 echo $ac_n "(cached) $ac_c" 1>&6
9353 cat > conftest.$ac_ext <<EOF
9354 #line 9355 "configure"
9355 #include "confdefs.h"
9358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9359 { (eval echo configure:9360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9361 if test -z "$ac_err"; then
9363 eval "ac_cv_header_$ac_safe=yes"
9366 echo "configure: failed program was:" >&5
9367 cat conftest.$ac_ext >&5
9369 eval "ac_cv_header_$ac_safe=no"
9373 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9374 echo "$ac_t""yes" 1>&6
9375 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9376 cat >> confdefs.h <<EOF
9377 #define $ac_tr_hdr 1
9381 echo "$ac_t""no" 1>&6
9386 for ac_hdr in wctype.h
9388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9390 echo "configure:9391: checking for $ac_hdr" >&5
9391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9392 echo $ac_n "(cached) $ac_c" 1>&6
9394 cat > conftest.$ac_ext <<EOF
9395 #line 9396 "configure"
9396 #include "confdefs.h"
9399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9400 { (eval echo configure:9401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9402 if test -z "$ac_err"; then
9404 eval "ac_cv_header_$ac_safe=yes"
9407 echo "configure: failed program was:" >&5
9408 cat conftest.$ac_ext >&5
9410 eval "ac_cv_header_$ac_safe=no"
9414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9415 echo "$ac_t""yes" 1>&6
9416 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9417 cat >> confdefs.h <<EOF
9418 #define $ac_tr_hdr 1
9422 echo "$ac_t""no" 1>&6
9428 if test x"$ac_has_wchar_h" = xyes &&
9429 test x"$ac_has_wctype_h" = xyes &&
9430 test x"$enable_c_mbchar" != xno; then
9432 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9433 echo "configure:9434: checking for WCHAR_MIN and WCHAR_MAX" >&5
9434 cat > conftest.$ac_ext <<EOF
9435 #line 9436 "configure"
9436 #include "confdefs.h"
9439 int i = WCHAR_MIN; int j = WCHAR_MAX;
9442 if { (eval echo configure:9443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9444 has_wchar_minmax=yes
9446 echo "configure: failed program was:" >&5
9447 cat conftest.$ac_ext >&5
9452 echo "$ac_t""$has_wchar_minmax" 1>&6
9454 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9455 echo "configure:9456: checking for WEOF" >&5
9456 cat > conftest.$ac_ext <<EOF
9457 #line 9458 "configure"
9458 #include "confdefs.h"
9466 if { (eval echo configure:9467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9470 echo "configure: failed program was:" >&5
9471 cat conftest.$ac_ext >&5
9476 echo "$ac_t""$has_weof" 1>&6
9479 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9482 echo "configure:9483: checking for $ac_func" >&5
9483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9484 echo $ac_n "(cached) $ac_c" 1>&6
9486 cat > conftest.$ac_ext <<EOF
9487 #line 9488 "configure"
9488 #include "confdefs.h"
9489 /* System header to define __stub macros and hopefully few prototypes,
9490 which can conflict with char $ac_func(); below. */
9492 /* Override any gcc2 internal prototype to avoid an error. */
9493 /* We use char because int might match the return type of a gcc2
9494 builtin and then its argument prototype would still apply. */
9499 /* The GNU C library defines this for functions which it implements
9500 to always fail with ENOSYS. Some functions are actually named
9501 something starting with __ and the normal name is an alias. */
9502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9510 if { (eval echo configure:9511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9512 eval "ac_cv_func_$ac_func=yes"
9514 echo "configure: failed program was:" >&5
9515 cat conftest.$ac_ext >&5
9517 eval "ac_cv_func_$ac_func=no"
9522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9523 echo "$ac_t""yes" 1>&6
9524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9525 cat >> confdefs.h <<EOF
9526 #define $ac_tr_func 1
9530 echo "$ac_t""no" 1>&6
9537 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9538 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9539 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9540 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9541 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9542 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9545 echo "configure:9546: checking for $ac_func" >&5
9546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9547 echo $ac_n "(cached) $ac_c" 1>&6
9549 cat > conftest.$ac_ext <<EOF
9550 #line 9551 "configure"
9551 #include "confdefs.h"
9552 /* System header to define __stub macros and hopefully few prototypes,
9553 which can conflict with char $ac_func(); below. */
9555 /* Override any gcc2 internal prototype to avoid an error. */
9556 /* We use char because int might match the return type of a gcc2
9557 builtin and then its argument prototype would still apply. */
9562 /* The GNU C library defines this for functions which it implements
9563 to always fail with ENOSYS. Some functions are actually named
9564 something starting with __ and the normal name is an alias. */
9565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9573 if { (eval echo configure:9574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9575 eval "ac_cv_func_$ac_func=yes"
9577 echo "configure: failed program was:" >&5
9578 cat conftest.$ac_ext >&5
9580 eval "ac_cv_func_$ac_func=no"
9585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9586 echo "$ac_t""yes" 1>&6
9587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9588 cat >> confdefs.h <<EOF
9589 #define $ac_tr_func 1
9593 echo "$ac_t""no" 1>&6
9600 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9601 echo "configure:9602: checking for ISO C99 wchar_t support" >&5
9602 if test x"$has_weof" = xyes &&
9603 test x"$has_wchar_minmax" = xyes &&
9604 test x"$ac_wfuncs" = xyes; then
9605 ac_isoC99_wchar_t=yes
9607 ac_isoC99_wchar_t=no
9609 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9611 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9612 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9613 echo "configure:9614: checking for iconv.h" >&5
9614 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9615 echo $ac_n "(cached) $ac_c" 1>&6
9617 cat > conftest.$ac_ext <<EOF
9618 #line 9619 "configure"
9619 #include "confdefs.h"
9622 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9623 { (eval echo configure:9624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9624 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9625 if test -z "$ac_err"; then
9627 eval "ac_cv_header_$ac_safe=yes"
9630 echo "configure: failed program was:" >&5
9631 cat conftest.$ac_ext >&5
9633 eval "ac_cv_header_$ac_safe=no"
9637 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9638 echo "$ac_t""yes" 1>&6
9641 echo "$ac_t""no" 1>&6
9645 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9646 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9647 echo "configure:9648: checking for langinfo.h" >&5
9648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9649 echo $ac_n "(cached) $ac_c" 1>&6
9651 cat > conftest.$ac_ext <<EOF
9652 #line 9653 "configure"
9653 #include "confdefs.h"
9654 #include <langinfo.h>
9656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9657 { (eval echo configure:9658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9659 if test -z "$ac_err"; then
9661 eval "ac_cv_header_$ac_safe=yes"
9664 echo "configure: failed program was:" >&5
9665 cat conftest.$ac_ext >&5
9667 eval "ac_cv_header_$ac_safe=no"
9671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9672 echo "$ac_t""yes" 1>&6
9673 ac_has_langinfo_h=yes
9675 echo "$ac_t""no" 1>&6
9676 ac_has_langinfo_h=no
9680 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9681 echo "configure:9682: checking for iconv in -liconv" >&5
9682 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9686 ac_save_LIBS="$LIBS"
9687 LIBS="-liconv $LIBS"
9688 cat > conftest.$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9700 if { (eval echo configure:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9702 eval "ac_cv_lib_$ac_lib_var=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.$ac_ext >&5
9707 eval "ac_cv_lib_$ac_lib_var=no"
9710 LIBS="$ac_save_LIBS"
9713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9714 echo "$ac_t""yes" 1>&6
9717 echo "$ac_t""no" 1>&6
9720 ac_save_LIBS="$LIBS"
9721 LIBS="$LIBS $libiconv"
9723 for ac_func in iconv_open iconv_close iconv nl_langinfo
9725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9726 echo "configure:9727: checking for $ac_func" >&5
9727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9730 cat > conftest.$ac_ext <<EOF
9731 #line 9732 "configure"
9732 #include "confdefs.h"
9733 /* System header to define __stub macros and hopefully few prototypes,
9734 which can conflict with char $ac_func(); below. */
9736 /* Override any gcc2 internal prototype to avoid an error. */
9737 /* We use char because int might match the return type of a gcc2
9738 builtin and then its argument prototype would still apply. */
9743 /* The GNU C library defines this for functions which it implements
9744 to always fail with ENOSYS. Some functions are actually named
9745 something starting with __ and the normal name is an alias. */
9746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9756 eval "ac_cv_func_$ac_func=yes"
9758 echo "configure: failed program was:" >&5
9759 cat conftest.$ac_ext >&5
9761 eval "ac_cv_func_$ac_func=no"
9766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9767 echo "$ac_t""yes" 1>&6
9768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9769 cat >> confdefs.h <<EOF
9770 #define $ac_tr_func 1
9775 echo "$ac_t""no" 1>&6
9781 LIBS="$ac_save_LIBS"
9783 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9784 echo "configure:9785: checking for XPG2 wchar_t support" >&5
9785 if test x"$ac_has_iconv_h" = xyes &&
9786 test x"$ac_has_langinfo_h" = xyes &&
9787 test x"$ac_XPG2funcs" = xyes; then
9792 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9794 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9795 echo "configure:9796: checking for enabled wchar_t specializations" >&5
9796 if test x"$ac_isoC99_wchar_t" = xyes &&
9797 test x"$ac_XPG2_wchar_t" = xyes; then
9798 cat >> confdefs.h <<\EOF
9799 #define _GLIBCPP_USE_WCHAR_T 1
9802 echo "$ac_t"""yes"" 1>&6
9804 echo "$ac_t"""no"" 1>&6
9807 echo "configure: warning: wchar_t support disabled." 1>&2
9810 os_include_dir="os/qnx/qnx6.1"
9811 cat >> confdefs.h <<\EOF
9815 cat >> confdefs.h <<\EOF
9819 cat >> confdefs.h <<\EOF
9820 #define HAVE_COSHF 1
9823 cat >> confdefs.h <<\EOF
9824 #define HAVE_COSHL 1
9827 cat >> confdefs.h <<\EOF
9831 cat >> confdefs.h <<\EOF
9835 cat >> confdefs.h <<\EOF
9836 #define HAVE_LOG10F 1
9839 cat >> confdefs.h <<\EOF
9840 #define HAVE_LOG10L 1
9843 cat >> confdefs.h <<\EOF
9847 cat >> confdefs.h <<\EOF
9851 cat >> confdefs.h <<\EOF
9852 #define HAVE_SINHF 1
9855 cat >> confdefs.h <<\EOF
9856 #define HAVE_SINHL 1
9861 os_include_dir="os/newlib"
9862 cat >> confdefs.h <<\EOF
9863 #define HAVE_HYPOT 1
9869 case "$target_alias" in
9873 cat >> confdefs.h <<\EOF
9874 #define HAVE_ACOSF 1
9877 cat >> confdefs.h <<\EOF
9878 #define HAVE_ASINF 1
9881 cat >> confdefs.h <<\EOF
9882 #define HAVE_ATAN2F 1
9885 cat >> confdefs.h <<\EOF
9886 #define HAVE_ATANF 1
9889 cat >> confdefs.h <<\EOF
9890 #define HAVE_CEILF 1
9893 cat >> confdefs.h <<\EOF
9894 #define HAVE_COPYSIGN 1
9897 cat >> confdefs.h <<\EOF
9898 #define HAVE_COPYSIGNF 1
9901 cat >> confdefs.h <<\EOF
9905 cat >> confdefs.h <<\EOF
9906 #define HAVE_COSHF 1
9909 cat >> confdefs.h <<\EOF
9913 cat >> confdefs.h <<\EOF
9914 #define HAVE_FABSF 1
9917 cat >> confdefs.h <<\EOF
9918 #define HAVE_FLOORF 1
9921 cat >> confdefs.h <<\EOF
9922 #define HAVE_FMODF 1
9925 cat >> confdefs.h <<\EOF
9926 #define HAVE_FREXPF 1
9929 cat >> confdefs.h <<\EOF
9930 #define HAVE_LDEXPF 1
9933 cat >> confdefs.h <<\EOF
9934 #define HAVE_LOG10F 1
9937 cat >> confdefs.h <<\EOF
9941 cat >> confdefs.h <<\EOF
9942 #define HAVE_MODFF 1
9945 cat >> confdefs.h <<\EOF
9949 cat >> confdefs.h <<\EOF
9953 cat >> confdefs.h <<\EOF
9954 #define HAVE_SINHF 1
9957 cat >> confdefs.h <<\EOF
9958 #define HAVE_SQRTF 1
9961 cat >> confdefs.h <<\EOF
9965 cat >> confdefs.h <<\EOF
9966 #define HAVE_TANHF 1
9971 # Must replicate generic section since we don't have strtof or strtold.
9972 cat >> confdefs.h <<\EOF
9976 cat >> confdefs.h <<\EOF
9977 #define HAVE_ACOSF 1
9980 cat >> confdefs.h <<\EOF
9981 #define HAVE_ASINF 1
9984 cat >> confdefs.h <<\EOF
9985 #define HAVE_ATAN2F 1
9988 cat >> confdefs.h <<\EOF
9989 #define HAVE_ATANF 1
9992 cat >> confdefs.h <<\EOF
9993 #define HAVE_CEILF 1
9996 cat >> confdefs.h <<\EOF
9997 #define HAVE_COPYSIGN 1
10000 cat >> confdefs.h <<\EOF
10001 #define HAVE_COPYSIGNF 1
10004 cat >> confdefs.h <<\EOF
10005 #define HAVE_COSF 1
10008 cat >> confdefs.h <<\EOF
10009 #define HAVE_COSHF 1
10012 cat >> confdefs.h <<\EOF
10013 #define HAVE_EXPF 1
10016 cat >> confdefs.h <<\EOF
10017 #define HAVE_FABSF 1
10020 cat >> confdefs.h <<\EOF
10021 #define HAVE_FLOORF 1
10024 cat >> confdefs.h <<\EOF
10025 #define HAVE_FMODF 1
10028 cat >> confdefs.h <<\EOF
10029 #define HAVE_FREXPF 1
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_LDEXPF 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_LOG10F 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_LOGF 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_MODFF 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_POWF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_SINF 1
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_SINHF 1
10060 cat >> confdefs.h <<\EOF
10061 #define HAVE_SQRTF 1
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_TANF 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_TANHF 1
10074 # GLIBCPP_CHECK_STDLIB_SUPPORT
10075 cat >> confdefs.h <<\EOF
10076 #define HAVE_STRTOF 1
10079 cat >> confdefs.h <<\EOF
10080 #define HAVE_STRTOLD 1
10084 cat >> confdefs.h <<\EOF
10085 #define HAVE_MMAP 1
10089 cat >> confdefs.h <<\EOF
10090 #define HAVE_ACOSF 1
10093 cat >> confdefs.h <<\EOF
10094 #define HAVE_ASINF 1
10097 cat >> confdefs.h <<\EOF
10098 #define HAVE_ATAN2F 1
10101 cat >> confdefs.h <<\EOF
10102 #define HAVE_ATANF 1
10105 cat >> confdefs.h <<\EOF
10106 #define HAVE_CEILF 1
10109 cat >> confdefs.h <<\EOF
10110 #define HAVE_COPYSIGN 1
10113 cat >> confdefs.h <<\EOF
10114 #define HAVE_COPYSIGNF 1
10117 cat >> confdefs.h <<\EOF
10118 #define HAVE_COSF 1
10121 cat >> confdefs.h <<\EOF
10122 #define HAVE_COSHF 1
10125 cat >> confdefs.h <<\EOF
10126 #define HAVE_EXPF 1
10129 cat >> confdefs.h <<\EOF
10130 #define HAVE_FABSF 1
10133 cat >> confdefs.h <<\EOF
10134 #define HAVE_FLOORF 1
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_FMODF 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_FREXPF 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_LDEXPF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_LOG10F 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_LOGF 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_MODFF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_POWF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_SINF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_SINHF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_SQRTF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_TANF 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_TANHF 1
10188 # At some point, we should differentiate between architectures
10189 # like x86, which have long double versions, and alpha/powerpc/etc.,
10190 # which don't. For the time being, punt.
10191 if test x"long_double_math_on_this_cpu" = x"yes"; then
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_ACOSL 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_ASINL 1
10200 cat >> confdefs.h <<\EOF
10201 #define HAVE_ATAN2L 1
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_ATANL 1
10208 cat >> confdefs.h <<\EOF
10209 #define HAVE_CEILL 1
10212 cat >> confdefs.h <<\EOF
10213 #define HAVE_COPYSIGNL 1
10216 cat >> confdefs.h <<\EOF
10217 #define HAVE_COSL 1
10220 cat >> confdefs.h <<\EOF
10221 #define HAVE_COSHL 1
10224 cat >> confdefs.h <<\EOF
10225 #define HAVE_EXPL 1
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_FABSL 1
10232 cat >> confdefs.h <<\EOF
10233 #define HAVE_FLOORL 1
10236 cat >> confdefs.h <<\EOF
10237 #define HAVE_FMODL 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_FREXPL 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_LDEXPL 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_LOG10L 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_LOGL 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_MODFL 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_POWL 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_SINCOSL 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_SINL 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_SINHL 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_SQRTL 1
10280 cat >> confdefs.h <<\EOF
10281 #define HAVE_TANL 1
10284 cat >> confdefs.h <<\EOF
10285 #define HAVE_TANHL 1
10292 # We are being configured natively. We can do more elaborate tests
10293 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10295 GLIBCPP_IS_CROSS_COMPILING=0
10298 # Check for available headers.
10299 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10300 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10302 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10304 echo "configure:10305: checking for $ac_hdr" >&5
10305 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10306 echo $ac_n "(cached) $ac_c" 1>&6
10308 cat > conftest.$ac_ext <<EOF
10309 #line 10310 "configure"
10310 #include "confdefs.h"
10313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10314 { (eval echo configure:10315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10316 if test -z "$ac_err"; then
10318 eval "ac_cv_header_$ac_safe=yes"
10321 echo "configure: failed program was:" >&5
10322 cat conftest.$ac_ext >&5
10324 eval "ac_cv_header_$ac_safe=no"
10328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10329 echo "$ac_t""yes" 1>&6
10330 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10331 cat >> confdefs.h <<EOF
10332 #define $ac_tr_hdr 1
10336 echo "$ac_t""no" 1>&6
10342 # All these tests are for C++; save the language and the compiler flags.
10343 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10344 # found in GLIBCPP_CONFIGURE.
10347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10348 ac_cpp='$CXXCPP $CPPFLAGS'
10349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10351 cross_compiling=$ac_cv_prog_cxx_cross
10353 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10354 ac_save_CXXFLAGS="$CXXFLAGS"
10356 # Check for maintainer-mode bits.
10357 if test x"$USE_MAINTAINER_MODE" = xno; then
10363 # Check for -ffunction-sections -fdata-sections
10364 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10365 echo "configure:10366: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10366 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10367 cat > conftest.$ac_ext <<EOF
10368 #line 10369 "configure"
10369 #include "confdefs.h"
10376 if { (eval echo configure:10377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10380 echo "configure: failed program was:" >&5
10381 cat conftest.$ac_ext >&5
10386 if test "$ac_test_CXXFLAGS" = set; then
10387 CXXFLAGS="$ac_save_CXXFLAGS"
10389 # this is the suspicious part
10392 if test x"$ac_fdsections" = x"yes" &&
10393 test x"$enable_debug" = x"no"; then
10394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10396 echo "$ac_t""$ac_fdsections" 1>&6
10399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10400 ac_cpp='$CPP $CPPFLAGS'
10401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10403 cross_compiling=$ac_cv_prog_cc_cross
10409 # If we're not using GNU ld, then there's no point in even trying these
10410 # tests. Check for that first. We should have already tested for gld
10411 # by now (in libtool), but require it now just to be safe...
10412 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10413 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10416 # The name set by libtool depends on the version of libtool. Shame on us
10417 # for depending on an impl detail, but c'est la vie. Older versions used
10418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10421 # set (hence we're using an older libtool), then set it.
10422 if test x${with_gnu_ld+set} != xset; then
10423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10427 with_gnu_ld=$ac_cv_prog_gnu_ld
10431 # Start by getting the version number. I think the libtool test already
10432 # does some of this, but throws away the result.
10434 ldver=`$LD --version 2>/dev/null | head -1 | \
10435 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10437 glibcpp_gnu_ld_version=`echo $ldver | \
10438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10440 # Set --gc-sections.
10441 if test "$with_gnu_ld" = "notbroken"; then
10442 # GNU ld it is! Joy and bunny rabbits!
10444 # All these tests are for C++; save the language and the compiler flags.
10445 # Need to do this so that g++ won't try to link in libstdc++
10446 ac_test_CFLAGS="${CFLAGS+set}"
10447 ac_save_CFLAGS="$CFLAGS"
10448 CFLAGS='-x c++ -Wl,--gc-sections'
10450 # Check for -Wl,--gc-sections
10451 # XXX This test is broken at the moment, as symbols required for
10452 # linking are now in libsupc++ (not built yet.....). In addition,
10453 # this test has cored on solaris in the past. In addition,
10454 # --gc-sections doesn't really work at the moment (keeps on discarding
10455 # used sections, first .eh_frame and now some of the glibc sections for
10456 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10457 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10458 echo "configure:10459: checking for ld that supports -Wl,--gc-sections" >&5
10459 if test "$cross_compiling" = yes; then
10460 ac_sectionLDflags=yes
10462 cat > conftest.$ac_ext <<EOF
10463 #line 10464 "configure"
10464 #include "confdefs.h"
10474 if { (eval echo configure:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10476 ac_sectionLDflags=yes
10478 echo "configure: failed program was:" >&5
10479 cat conftest.$ac_ext >&5
10481 ac_sectionLDflags=no
10486 if test "$ac_test_CFLAGS" = set; then
10487 CFLAGS="$ac_save_CFLAGS"
10489 # this is the suspicious part
10492 if test "$ac_sectionLDflags" = "yes"; then
10493 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10495 echo "$ac_t""$ac_sectionLDflags" 1>&6
10498 # Set linker optimization flags.
10499 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
10500 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10508 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10509 echo "configure:10510: checking for __builtin_abs declaration" >&5
10510 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10511 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10512 echo $ac_n "(cached) $ac_c" 1>&6
10517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10518 ac_cpp='$CXXCPP $CPPFLAGS'
10519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10521 cross_compiling=$ac_cv_prog_cxx_cross
10523 cat > conftest.$ac_ext <<EOF
10524 #line 10525 "configure"
10525 #include "confdefs.h"
10531 if { (eval echo configure:10532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10533 glibcpp_cv_func___builtin_abs_use=yes
10535 echo "configure: failed program was:" >&5
10536 cat conftest.$ac_ext >&5
10538 glibcpp_cv_func___builtin_abs_use=no
10542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10543 ac_cpp='$CPP $CPPFLAGS'
10544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10546 cross_compiling=$ac_cv_prog_cc_cross
10552 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10553 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10554 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10555 echo "configure:10556: checking for __builtin_abs linkage" >&5
10556 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10557 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10558 echo $ac_n "(cached) $ac_c" 1>&6
10561 cat > conftest.$ac_ext <<EOF
10562 #line 10563 "configure"
10563 #include "confdefs.h"
10569 if { (eval echo configure:10570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10571 glibcpp_cv_func___builtin_abs_link=yes
10573 echo "configure: failed program was:" >&5
10574 cat conftest.$ac_ext >&5
10576 glibcpp_cv_func___builtin_abs_link=no
10583 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10584 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10585 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10586 cat >> confdefs.h <<EOF
10587 #define ${ac_tr_func} 1
10594 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10595 echo "configure:10596: checking for __builtin_fabsf declaration" >&5
10596 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10597 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10598 echo $ac_n "(cached) $ac_c" 1>&6
10603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10604 ac_cpp='$CXXCPP $CPPFLAGS'
10605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10607 cross_compiling=$ac_cv_prog_cxx_cross
10609 cat > conftest.$ac_ext <<EOF
10610 #line 10611 "configure"
10611 #include "confdefs.h"
10614 __builtin_fabsf(0);
10617 if { (eval echo configure:10618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10619 glibcpp_cv_func___builtin_fabsf_use=yes
10621 echo "configure: failed program was:" >&5
10622 cat conftest.$ac_ext >&5
10624 glibcpp_cv_func___builtin_fabsf_use=no
10628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10629 ac_cpp='$CPP $CPPFLAGS'
10630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10632 cross_compiling=$ac_cv_prog_cc_cross
10638 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10639 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10640 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10641 echo "configure:10642: checking for __builtin_fabsf linkage" >&5
10642 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10643 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10644 echo $ac_n "(cached) $ac_c" 1>&6
10647 cat > conftest.$ac_ext <<EOF
10648 #line 10649 "configure"
10649 #include "confdefs.h"
10652 __builtin_fabsf(0);
10655 if { (eval echo configure:10656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10657 glibcpp_cv_func___builtin_fabsf_link=yes
10659 echo "configure: failed program was:" >&5
10660 cat conftest.$ac_ext >&5
10662 glibcpp_cv_func___builtin_fabsf_link=no
10669 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10670 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10671 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10672 cat >> confdefs.h <<EOF
10673 #define ${ac_tr_func} 1
10680 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10681 echo "configure:10682: checking for __builtin_fabs declaration" >&5
10682 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10683 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10684 echo $ac_n "(cached) $ac_c" 1>&6
10689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10690 ac_cpp='$CXXCPP $CPPFLAGS'
10691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10693 cross_compiling=$ac_cv_prog_cxx_cross
10695 cat > conftest.$ac_ext <<EOF
10696 #line 10697 "configure"
10697 #include "confdefs.h"
10703 if { (eval echo configure:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10705 glibcpp_cv_func___builtin_fabs_use=yes
10707 echo "configure: failed program was:" >&5
10708 cat conftest.$ac_ext >&5
10710 glibcpp_cv_func___builtin_fabs_use=no
10714 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10715 ac_cpp='$CPP $CPPFLAGS'
10716 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10717 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10718 cross_compiling=$ac_cv_prog_cc_cross
10724 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10725 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10726 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10727 echo "configure:10728: checking for __builtin_fabs linkage" >&5
10728 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10729 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10730 echo $ac_n "(cached) $ac_c" 1>&6
10733 cat > conftest.$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10741 if { (eval echo configure:10742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10743 glibcpp_cv_func___builtin_fabs_link=yes
10745 echo "configure: failed program was:" >&5
10746 cat conftest.$ac_ext >&5
10748 glibcpp_cv_func___builtin_fabs_link=no
10755 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10756 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10757 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10758 cat >> confdefs.h <<EOF
10759 #define ${ac_tr_func} 1
10766 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10767 echo "configure:10768: checking for __builtin_fabsl declaration" >&5
10768 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10769 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10770 echo $ac_n "(cached) $ac_c" 1>&6
10775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10776 ac_cpp='$CXXCPP $CPPFLAGS'
10777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10779 cross_compiling=$ac_cv_prog_cxx_cross
10781 cat > conftest.$ac_ext <<EOF
10782 #line 10783 "configure"
10783 #include "confdefs.h"
10786 __builtin_fabsl(0);
10789 if { (eval echo configure:10790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10791 glibcpp_cv_func___builtin_fabsl_use=yes
10793 echo "configure: failed program was:" >&5
10794 cat conftest.$ac_ext >&5
10796 glibcpp_cv_func___builtin_fabsl_use=no
10800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10801 ac_cpp='$CPP $CPPFLAGS'
10802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10804 cross_compiling=$ac_cv_prog_cc_cross
10810 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10811 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10812 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
10813 echo "configure:10814: checking for __builtin_fabsl linkage" >&5
10814 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10815 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10816 echo $ac_n "(cached) $ac_c" 1>&6
10819 cat > conftest.$ac_ext <<EOF
10820 #line 10821 "configure"
10821 #include "confdefs.h"
10824 __builtin_fabsl(0);
10827 if { (eval echo configure:10828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10829 glibcpp_cv_func___builtin_fabsl_link=yes
10831 echo "configure: failed program was:" >&5
10832 cat conftest.$ac_ext >&5
10834 glibcpp_cv_func___builtin_fabsl_link=no
10841 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10842 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10843 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10844 cat >> confdefs.h <<EOF
10845 #define ${ac_tr_func} 1
10852 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
10853 echo "configure:10854: checking for __builtin_labs declaration" >&5
10854 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
10855 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
10856 echo $ac_n "(cached) $ac_c" 1>&6
10861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10862 ac_cpp='$CXXCPP $CPPFLAGS'
10863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10865 cross_compiling=$ac_cv_prog_cxx_cross
10867 cat > conftest.$ac_ext <<EOF
10868 #line 10869 "configure"
10869 #include "confdefs.h"
10875 if { (eval echo configure:10876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10877 glibcpp_cv_func___builtin_labs_use=yes
10879 echo "configure: failed program was:" >&5
10880 cat conftest.$ac_ext >&5
10882 glibcpp_cv_func___builtin_labs_use=no
10886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10887 ac_cpp='$CPP $CPPFLAGS'
10888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10890 cross_compiling=$ac_cv_prog_cc_cross
10896 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
10897 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
10898 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
10899 echo "configure:10900: checking for __builtin_labs linkage" >&5
10900 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
10901 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
10902 echo $ac_n "(cached) $ac_c" 1>&6
10905 cat > conftest.$ac_ext <<EOF
10906 #line 10907 "configure"
10907 #include "confdefs.h"
10913 if { (eval echo configure:10914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10915 glibcpp_cv_func___builtin_labs_link=yes
10917 echo "configure: failed program was:" >&5
10918 cat conftest.$ac_ext >&5
10920 glibcpp_cv_func___builtin_labs_link=no
10927 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
10928 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
10929 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10930 cat >> confdefs.h <<EOF
10931 #define ${ac_tr_func} 1
10939 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
10940 echo "configure:10941: checking for __builtin_sqrtf declaration" >&5
10941 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
10942 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
10943 echo $ac_n "(cached) $ac_c" 1>&6
10948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10949 ac_cpp='$CXXCPP $CPPFLAGS'
10950 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10951 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10952 cross_compiling=$ac_cv_prog_cxx_cross
10954 cat > conftest.$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10959 __builtin_sqrtf(0);
10962 if { (eval echo configure:10963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10964 glibcpp_cv_func___builtin_sqrtf_use=yes
10966 echo "configure: failed program was:" >&5
10967 cat conftest.$ac_ext >&5
10969 glibcpp_cv_func___builtin_sqrtf_use=no
10973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10974 ac_cpp='$CPP $CPPFLAGS'
10975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10977 cross_compiling=$ac_cv_prog_cc_cross
10983 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
10984 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
10985 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
10986 echo "configure:10987: checking for __builtin_sqrtf linkage" >&5
10987 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
10988 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
10989 echo $ac_n "(cached) $ac_c" 1>&6
10992 cat > conftest.$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10997 __builtin_sqrtf(0);
11000 if { (eval echo configure:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11002 glibcpp_cv_func___builtin_sqrtf_link=yes
11004 echo "configure: failed program was:" >&5
11005 cat conftest.$ac_ext >&5
11007 glibcpp_cv_func___builtin_sqrtf_link=no
11014 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11015 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11016 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11017 cat >> confdefs.h <<EOF
11018 #define ${ac_tr_func} 1
11025 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11026 echo "configure:11027: checking for __builtin_sqrt declaration" >&5
11027 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11028 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11029 echo $ac_n "(cached) $ac_c" 1>&6
11034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11035 ac_cpp='$CXXCPP $CPPFLAGS'
11036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11038 cross_compiling=$ac_cv_prog_cxx_cross
11040 cat > conftest.$ac_ext <<EOF
11041 #line 11042 "configure"
11042 #include "confdefs.h"
11048 if { (eval echo configure:11049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11050 glibcpp_cv_func___builtin_sqrt_use=yes
11052 echo "configure: failed program was:" >&5
11053 cat conftest.$ac_ext >&5
11055 glibcpp_cv_func___builtin_sqrt_use=no
11059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp='$CPP $CPPFLAGS'
11061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling=$ac_cv_prog_cc_cross
11069 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11070 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11071 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11072 echo "configure:11073: checking for __builtin_sqrt linkage" >&5
11073 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11074 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11075 echo $ac_n "(cached) $ac_c" 1>&6
11078 cat > conftest.$ac_ext <<EOF
11079 #line 11080 "configure"
11080 #include "confdefs.h"
11086 if { (eval echo configure:11087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11088 glibcpp_cv_func___builtin_sqrt_link=yes
11090 echo "configure: failed program was:" >&5
11091 cat conftest.$ac_ext >&5
11093 glibcpp_cv_func___builtin_sqrt_link=no
11100 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11101 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11102 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11103 cat >> confdefs.h <<EOF
11104 #define ${ac_tr_func} 1
11111 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11112 echo "configure:11113: checking for __builtin_sqrtl declaration" >&5
11113 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11114 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp='$CXXCPP $CPPFLAGS'
11122 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling=$ac_cv_prog_cxx_cross
11126 cat > conftest.$ac_ext <<EOF
11127 #line 11128 "configure"
11128 #include "confdefs.h"
11131 __builtin_sqrtl(0);
11134 if { (eval echo configure:11135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11136 glibcpp_cv_func___builtin_sqrtl_use=yes
11138 echo "configure: failed program was:" >&5
11139 cat conftest.$ac_ext >&5
11141 glibcpp_cv_func___builtin_sqrtl_use=no
11145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11146 ac_cpp='$CPP $CPPFLAGS'
11147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11149 cross_compiling=$ac_cv_prog_cc_cross
11155 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11156 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11157 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11158 echo "configure:11159: checking for __builtin_sqrtl linkage" >&5
11159 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11160 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11161 echo $ac_n "(cached) $ac_c" 1>&6
11164 cat > conftest.$ac_ext <<EOF
11165 #line 11166 "configure"
11166 #include "confdefs.h"
11169 __builtin_sqrtl(0);
11172 if { (eval echo configure:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11174 glibcpp_cv_func___builtin_sqrtl_link=yes
11176 echo "configure: failed program was:" >&5
11177 cat conftest.$ac_ext >&5
11179 glibcpp_cv_func___builtin_sqrtl_link=no
11186 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11187 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11188 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11189 cat >> confdefs.h <<EOF
11190 #define ${ac_tr_func} 1
11198 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11199 echo "configure:11200: checking for __builtin_sinf declaration" >&5
11200 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11201 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11202 echo $ac_n "(cached) $ac_c" 1>&6
11207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11208 ac_cpp='$CXXCPP $CPPFLAGS'
11209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11211 cross_compiling=$ac_cv_prog_cxx_cross
11213 cat > conftest.$ac_ext <<EOF
11214 #line 11215 "configure"
11215 #include "confdefs.h"
11221 if { (eval echo configure:11222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11223 glibcpp_cv_func___builtin_sinf_use=yes
11225 echo "configure: failed program was:" >&5
11226 cat conftest.$ac_ext >&5
11228 glibcpp_cv_func___builtin_sinf_use=no
11232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11233 ac_cpp='$CPP $CPPFLAGS'
11234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11236 cross_compiling=$ac_cv_prog_cc_cross
11242 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11243 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11244 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11245 echo "configure:11246: checking for __builtin_sinf linkage" >&5
11246 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11247 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11251 cat > conftest.$ac_ext <<EOF
11252 #line 11253 "configure"
11253 #include "confdefs.h"
11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11261 glibcpp_cv_func___builtin_sinf_link=yes
11263 echo "configure: failed program was:" >&5
11264 cat conftest.$ac_ext >&5
11266 glibcpp_cv_func___builtin_sinf_link=no
11273 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11274 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11275 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11276 cat >> confdefs.h <<EOF
11277 #define ${ac_tr_func} 1
11284 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11285 echo "configure:11286: checking for __builtin_sin declaration" >&5
11286 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11287 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11288 echo $ac_n "(cached) $ac_c" 1>&6
11293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11294 ac_cpp='$CXXCPP $CPPFLAGS'
11295 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11296 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11297 cross_compiling=$ac_cv_prog_cxx_cross
11299 cat > conftest.$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11307 if { (eval echo configure:11308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11309 glibcpp_cv_func___builtin_sin_use=yes
11311 echo "configure: failed program was:" >&5
11312 cat conftest.$ac_ext >&5
11314 glibcpp_cv_func___builtin_sin_use=no
11318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11319 ac_cpp='$CPP $CPPFLAGS'
11320 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11321 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11322 cross_compiling=$ac_cv_prog_cc_cross
11328 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11329 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11330 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11331 echo "configure:11332: checking for __builtin_sin linkage" >&5
11332 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11333 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11334 echo $ac_n "(cached) $ac_c" 1>&6
11337 cat > conftest.$ac_ext <<EOF
11338 #line 11339 "configure"
11339 #include "confdefs.h"
11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11347 glibcpp_cv_func___builtin_sin_link=yes
11349 echo "configure: failed program was:" >&5
11350 cat conftest.$ac_ext >&5
11352 glibcpp_cv_func___builtin_sin_link=no
11359 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11360 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11361 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11362 cat >> confdefs.h <<EOF
11363 #define ${ac_tr_func} 1
11370 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11371 echo "configure:11372: checking for __builtin_sinl declaration" >&5
11372 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11373 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11374 echo $ac_n "(cached) $ac_c" 1>&6
11379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11380 ac_cpp='$CXXCPP $CPPFLAGS'
11381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11383 cross_compiling=$ac_cv_prog_cxx_cross
11385 cat > conftest.$ac_ext <<EOF
11386 #line 11387 "configure"
11387 #include "confdefs.h"
11393 if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11395 glibcpp_cv_func___builtin_sinl_use=yes
11397 echo "configure: failed program was:" >&5
11398 cat conftest.$ac_ext >&5
11400 glibcpp_cv_func___builtin_sinl_use=no
11404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11405 ac_cpp='$CPP $CPPFLAGS'
11406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11408 cross_compiling=$ac_cv_prog_cc_cross
11414 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11415 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11416 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11417 echo "configure:11418: checking for __builtin_sinl linkage" >&5
11418 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11419 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11423 cat > conftest.$ac_ext <<EOF
11424 #line 11425 "configure"
11425 #include "confdefs.h"
11431 if { (eval echo configure:11432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11433 glibcpp_cv_func___builtin_sinl_link=yes
11435 echo "configure: failed program was:" >&5
11436 cat conftest.$ac_ext >&5
11438 glibcpp_cv_func___builtin_sinl_link=no
11445 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11446 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11447 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11448 cat >> confdefs.h <<EOF
11449 #define ${ac_tr_func} 1
11457 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11458 echo "configure:11459: checking for __builtin_cosf declaration" >&5
11459 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11460 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11461 echo $ac_n "(cached) $ac_c" 1>&6
11466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11467 ac_cpp='$CXXCPP $CPPFLAGS'
11468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11470 cross_compiling=$ac_cv_prog_cxx_cross
11472 cat > conftest.$ac_ext <<EOF
11473 #line 11474 "configure"
11474 #include "confdefs.h"
11480 if { (eval echo configure:11481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11482 glibcpp_cv_func___builtin_cosf_use=yes
11484 echo "configure: failed program was:" >&5
11485 cat conftest.$ac_ext >&5
11487 glibcpp_cv_func___builtin_cosf_use=no
11491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11492 ac_cpp='$CPP $CPPFLAGS'
11493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11495 cross_compiling=$ac_cv_prog_cc_cross
11501 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11502 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11503 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11504 echo "configure:11505: checking for __builtin_cosf linkage" >&5
11505 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11506 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11510 cat > conftest.$ac_ext <<EOF
11511 #line 11512 "configure"
11512 #include "confdefs.h"
11518 if { (eval echo configure:11519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11520 glibcpp_cv_func___builtin_cosf_link=yes
11522 echo "configure: failed program was:" >&5
11523 cat conftest.$ac_ext >&5
11525 glibcpp_cv_func___builtin_cosf_link=no
11532 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11533 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11534 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11535 cat >> confdefs.h <<EOF
11536 #define ${ac_tr_func} 1
11543 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11544 echo "configure:11545: checking for __builtin_cos declaration" >&5
11545 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11547 echo $ac_n "(cached) $ac_c" 1>&6
11552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11553 ac_cpp='$CXXCPP $CPPFLAGS'
11554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11556 cross_compiling=$ac_cv_prog_cxx_cross
11558 cat > conftest.$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11566 if { (eval echo configure:11567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11568 glibcpp_cv_func___builtin_cos_use=yes
11570 echo "configure: failed program was:" >&5
11571 cat conftest.$ac_ext >&5
11573 glibcpp_cv_func___builtin_cos_use=no
11577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11578 ac_cpp='$CPP $CPPFLAGS'
11579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11581 cross_compiling=$ac_cv_prog_cc_cross
11587 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11588 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11589 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11590 echo "configure:11591: checking for __builtin_cos linkage" >&5
11591 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11596 cat > conftest.$ac_ext <<EOF
11597 #line 11598 "configure"
11598 #include "confdefs.h"
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11606 glibcpp_cv_func___builtin_cos_link=yes
11608 echo "configure: failed program was:" >&5
11609 cat conftest.$ac_ext >&5
11611 glibcpp_cv_func___builtin_cos_link=no
11618 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11619 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11620 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11621 cat >> confdefs.h <<EOF
11622 #define ${ac_tr_func} 1
11629 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11630 echo "configure:11631: checking for __builtin_cosl declaration" >&5
11631 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11639 ac_cpp='$CXXCPP $CPPFLAGS'
11640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11642 cross_compiling=$ac_cv_prog_cxx_cross
11644 cat > conftest.$ac_ext <<EOF
11645 #line 11646 "configure"
11646 #include "confdefs.h"
11652 if { (eval echo configure:11653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11654 glibcpp_cv_func___builtin_cosl_use=yes
11656 echo "configure: failed program was:" >&5
11657 cat conftest.$ac_ext >&5
11659 glibcpp_cv_func___builtin_cosl_use=no
11663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11664 ac_cpp='$CPP $CPPFLAGS'
11665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11667 cross_compiling=$ac_cv_prog_cc_cross
11673 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11674 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11675 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11676 echo "configure:11677: checking for __builtin_cosl linkage" >&5
11677 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11679 echo $ac_n "(cached) $ac_c" 1>&6
11682 cat > conftest.$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11692 glibcpp_cv_func___builtin_cosl_link=yes
11694 echo "configure: failed program was:" >&5
11695 cat conftest.$ac_ext >&5
11697 glibcpp_cv_func___builtin_cosl_link=no
11704 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11705 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11706 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11707 cat >> confdefs.h <<EOF
11708 #define ${ac_tr_func} 1
11716 if test x$dummyvar = x"yes"; then
11717 cat >> confdefs.h <<\EOF
11718 #define HAVE___BUILTIN_ABS 1
11721 cat >> confdefs.h <<\EOF
11722 #define HAVE___BUILTIN_LABS 1
11725 cat >> confdefs.h <<\EOF
11726 #define HAVE___BUILTIN_COS 1
11729 cat >> confdefs.h <<\EOF
11730 #define HAVE___BUILTIN_COSF 1
11733 cat >> confdefs.h <<\EOF
11734 #define HAVE___BUILTIN_COSL 1
11737 cat >> confdefs.h <<\EOF
11738 #define HAVE___BUILTIN_FABS 1
11741 cat >> confdefs.h <<\EOF
11742 #define HAVE___BUILTIN_FABSF 1
11745 cat >> confdefs.h <<\EOF
11746 #define HAVE___BUILTIN_FABSL 1
11749 cat >> confdefs.h <<\EOF
11750 #define HAVE___BUILTIN_SIN 1
11753 cat >> confdefs.h <<\EOF
11754 #define HAVE___BUILTIN_SINF 1
11757 cat >> confdefs.h <<\EOF
11758 #define HAVE___BUILTIN_SINL 1
11761 cat >> confdefs.h <<\EOF
11762 #define HAVE___BUILTIN_SQRT 1
11765 cat >> confdefs.h <<\EOF
11766 #define HAVE___BUILTIN_SQRTF 1
11769 cat >> confdefs.h <<\EOF
11770 #define HAVE___BUILTIN_SQRTL 1
11776 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11777 ac_save_CXXFLAGS="$CXXFLAGS"
11778 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11780 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11781 echo "configure:11782: checking for sin in -lm" >&5
11782 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11784 echo $ac_n "(cached) $ac_c" 1>&6
11786 ac_save_LIBS="$LIBS"
11788 cat > conftest.$ac_ext <<EOF
11789 #line 11790 "configure"
11790 #include "confdefs.h"
11791 /* Override any gcc2 internal prototype to avoid an error. */
11792 /* We use char because int might match the return type of a gcc2
11793 builtin and then its argument prototype would still apply. */
11800 if { (eval echo configure:11801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11802 eval "ac_cv_lib_$ac_lib_var=yes"
11804 echo "configure: failed program was:" >&5
11805 cat conftest.$ac_ext >&5
11807 eval "ac_cv_lib_$ac_lib_var=no"
11810 LIBS="$ac_save_LIBS"
11813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11814 echo "$ac_t""yes" 1>&6
11817 echo "$ac_t""no" 1>&6
11820 ac_save_LIBS="$LIBS"
11825 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
11826 echo "configure:11827: checking for isinf declaration" >&5
11827 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11828 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11829 echo $ac_n "(cached) $ac_c" 1>&6
11834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11835 ac_cpp='$CXXCPP $CPPFLAGS'
11836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11838 cross_compiling=$ac_cv_prog_cxx_cross
11840 cat > conftest.$ac_ext <<EOF
11841 #line 11842 "configure"
11842 #include "confdefs.h"
11844 #ifdef HAVE_IEEEFP_H
11845 #include <ieeefp.h>
11852 if { (eval echo configure:11853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11854 glibcpp_cv_func_isinf_use=yes
11856 echo "configure: failed program was:" >&5
11857 cat conftest.$ac_ext >&5
11859 glibcpp_cv_func_isinf_use=no
11863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11864 ac_cpp='$CPP $CPPFLAGS'
11865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11867 cross_compiling=$ac_cv_prog_cc_cross
11873 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
11875 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
11876 for ac_func in isinf
11878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11879 echo "configure:11880: checking for $ac_func" >&5
11880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11881 echo $ac_n "(cached) $ac_c" 1>&6
11883 cat > conftest.$ac_ext <<EOF
11884 #line 11885 "configure"
11885 #include "confdefs.h"
11886 /* System header to define __stub macros and hopefully few prototypes,
11887 which can conflict with char $ac_func(); below. */
11888 #include <assert.h>
11889 /* Override any gcc2 internal prototype to avoid an error. */
11890 /* We use char because int might match the return type of a gcc2
11891 builtin and then its argument prototype would still apply. */
11896 /* The GNU C library defines this for functions which it implements
11897 to always fail with ENOSYS. Some functions are actually named
11898 something starting with __ and the normal name is an alias. */
11899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11907 if { (eval echo configure:11908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11909 eval "ac_cv_func_$ac_func=yes"
11911 echo "configure: failed program was:" >&5
11912 cat conftest.$ac_ext >&5
11914 eval "ac_cv_func_$ac_func=no"
11919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11920 echo "$ac_t""yes" 1>&6
11921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11922 cat >> confdefs.h <<EOF
11923 #define $ac_tr_func 1
11927 echo "$ac_t""no" 1>&6
11933 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11934 echo "configure:11935: checking for _isinf declaration" >&5
11935 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11936 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11937 echo $ac_n "(cached) $ac_c" 1>&6
11942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11945 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11946 cross_compiling=$ac_cv_prog_cxx_cross
11948 cat > conftest.$ac_ext <<EOF
11949 #line 11950 "configure"
11950 #include "confdefs.h"
11952 #ifdef HAVE_IEEEFP_H
11953 #include <ieeefp.h>
11960 if { (eval echo configure:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 glibcpp_cv_func__isinf_use=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.$ac_ext >&5
11967 glibcpp_cv_func__isinf_use=no
11971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11972 ac_cpp='$CPP $CPPFLAGS'
11973 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11974 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11975 cross_compiling=$ac_cv_prog_cc_cross
11981 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11983 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11984 for ac_func in _isinf
11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11987 echo "configure:11988: checking for $ac_func" >&5
11988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11989 echo $ac_n "(cached) $ac_c" 1>&6
11991 cat > conftest.$ac_ext <<EOF
11992 #line 11993 "configure"
11993 #include "confdefs.h"
11994 /* System header to define __stub macros and hopefully few prototypes,
11995 which can conflict with char $ac_func(); below. */
11996 #include <assert.h>
11997 /* Override any gcc2 internal prototype to avoid an error. */
11998 /* We use char because int might match the return type of a gcc2
11999 builtin and then its argument prototype would still apply. */
12004 /* The GNU C library defines this for functions which it implements
12005 to always fail with ENOSYS. Some functions are actually named
12006 something starting with __ and the normal name is an alias. */
12007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12015 if { (eval echo configure:12016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12017 eval "ac_cv_func_$ac_func=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.$ac_ext >&5
12022 eval "ac_cv_func_$ac_func=no"
12027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12028 echo "$ac_t""yes" 1>&6
12029 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12030 cat >> confdefs.h <<EOF
12031 #define $ac_tr_func 1
12035 echo "$ac_t""no" 1>&6
12044 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12045 echo "configure:12046: checking for isnan declaration" >&5
12046 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12047 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12054 ac_cpp='$CXXCPP $CPPFLAGS'
12055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12057 cross_compiling=$ac_cv_prog_cxx_cross
12059 cat > conftest.$ac_ext <<EOF
12060 #line 12061 "configure"
12061 #include "confdefs.h"
12063 #ifdef HAVE_IEEEFP_H
12064 #include <ieeefp.h>
12071 if { (eval echo configure:12072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12073 glibcpp_cv_func_isnan_use=yes
12075 echo "configure: failed program was:" >&5
12076 cat conftest.$ac_ext >&5
12078 glibcpp_cv_func_isnan_use=no
12082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12083 ac_cpp='$CPP $CPPFLAGS'
12084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12086 cross_compiling=$ac_cv_prog_cc_cross
12092 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12094 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12095 for ac_func in isnan
12097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12098 echo "configure:12099: checking for $ac_func" >&5
12099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12100 echo $ac_n "(cached) $ac_c" 1>&6
12102 cat > conftest.$ac_ext <<EOF
12103 #line 12104 "configure"
12104 #include "confdefs.h"
12105 /* System header to define __stub macros and hopefully few prototypes,
12106 which can conflict with char $ac_func(); below. */
12107 #include <assert.h>
12108 /* Override any gcc2 internal prototype to avoid an error. */
12109 /* We use char because int might match the return type of a gcc2
12110 builtin and then its argument prototype would still apply. */
12115 /* The GNU C library defines this for functions which it implements
12116 to always fail with ENOSYS. Some functions are actually named
12117 something starting with __ and the normal name is an alias. */
12118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12126 if { (eval echo configure:12127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12128 eval "ac_cv_func_$ac_func=yes"
12130 echo "configure: failed program was:" >&5
12131 cat conftest.$ac_ext >&5
12133 eval "ac_cv_func_$ac_func=no"
12138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12139 echo "$ac_t""yes" 1>&6
12140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12141 cat >> confdefs.h <<EOF
12142 #define $ac_tr_func 1
12146 echo "$ac_t""no" 1>&6
12152 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12153 echo "configure:12154: checking for _isnan declaration" >&5
12154 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12155 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12162 ac_cpp='$CXXCPP $CPPFLAGS'
12163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12165 cross_compiling=$ac_cv_prog_cxx_cross
12167 cat > conftest.$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12171 #ifdef HAVE_IEEEFP_H
12172 #include <ieeefp.h>
12179 if { (eval echo configure:12180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12181 glibcpp_cv_func__isnan_use=yes
12183 echo "configure: failed program was:" >&5
12184 cat conftest.$ac_ext >&5
12186 glibcpp_cv_func__isnan_use=no
12190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12191 ac_cpp='$CPP $CPPFLAGS'
12192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12194 cross_compiling=$ac_cv_prog_cc_cross
12200 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12202 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12203 for ac_func in _isnan
12205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12206 echo "configure:12207: checking for $ac_func" >&5
12207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12208 echo $ac_n "(cached) $ac_c" 1>&6
12210 cat > conftest.$ac_ext <<EOF
12211 #line 12212 "configure"
12212 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func(); below. */
12215 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */
12217 /* We use char because int might match the return type of a gcc2
12218 builtin and then its argument prototype would still apply. */
12223 /* The GNU C library defines this for functions which it implements
12224 to always fail with ENOSYS. Some functions are actually named
12225 something starting with __ and the normal name is an alias. */
12226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12234 if { (eval echo configure:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12236 eval "ac_cv_func_$ac_func=yes"
12238 echo "configure: failed program was:" >&5
12239 cat conftest.$ac_ext >&5
12241 eval "ac_cv_func_$ac_func=no"
12246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12247 echo "$ac_t""yes" 1>&6
12248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12249 cat >> confdefs.h <<EOF
12250 #define $ac_tr_func 1
12254 echo "$ac_t""no" 1>&6
12263 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12264 echo "configure:12265: checking for finite declaration" >&5
12265 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12266 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12267 echo $ac_n "(cached) $ac_c" 1>&6
12272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12273 ac_cpp='$CXXCPP $CPPFLAGS'
12274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12276 cross_compiling=$ac_cv_prog_cxx_cross
12278 cat > conftest.$ac_ext <<EOF
12279 #line 12280 "configure"
12280 #include "confdefs.h"
12282 #ifdef HAVE_IEEEFP_H
12283 #include <ieeefp.h>
12290 if { (eval echo configure:12291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12292 glibcpp_cv_func_finite_use=yes
12294 echo "configure: failed program was:" >&5
12295 cat conftest.$ac_ext >&5
12297 glibcpp_cv_func_finite_use=no
12301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12302 ac_cpp='$CPP $CPPFLAGS'
12303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12305 cross_compiling=$ac_cv_prog_cc_cross
12311 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12313 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12314 for ac_func in finite
12316 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12317 echo "configure:12318: checking for $ac_func" >&5
12318 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12319 echo $ac_n "(cached) $ac_c" 1>&6
12321 cat > conftest.$ac_ext <<EOF
12322 #line 12323 "configure"
12323 #include "confdefs.h"
12324 /* System header to define __stub macros and hopefully few prototypes,
12325 which can conflict with char $ac_func(); below. */
12326 #include <assert.h>
12327 /* Override any gcc2 internal prototype to avoid an error. */
12328 /* We use char because int might match the return type of a gcc2
12329 builtin and then its argument prototype would still apply. */
12334 /* The GNU C library defines this for functions which it implements
12335 to always fail with ENOSYS. Some functions are actually named
12336 something starting with __ and the normal name is an alias. */
12337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12345 if { (eval echo configure:12346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12347 eval "ac_cv_func_$ac_func=yes"
12349 echo "configure: failed program was:" >&5
12350 cat conftest.$ac_ext >&5
12352 eval "ac_cv_func_$ac_func=no"
12357 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12358 echo "$ac_t""yes" 1>&6
12359 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12360 cat >> confdefs.h <<EOF
12361 #define $ac_tr_func 1
12365 echo "$ac_t""no" 1>&6
12371 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12372 echo "configure:12373: checking for _finite declaration" >&5
12373 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12374 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12375 echo $ac_n "(cached) $ac_c" 1>&6
12380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12381 ac_cpp='$CXXCPP $CPPFLAGS'
12382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12384 cross_compiling=$ac_cv_prog_cxx_cross
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12390 #ifdef HAVE_IEEEFP_H
12391 #include <ieeefp.h>
12398 if { (eval echo configure:12399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12400 glibcpp_cv_func__finite_use=yes
12402 echo "configure: failed program was:" >&5
12403 cat conftest.$ac_ext >&5
12405 glibcpp_cv_func__finite_use=no
12409 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12410 ac_cpp='$CPP $CPPFLAGS'
12411 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12412 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12413 cross_compiling=$ac_cv_prog_cc_cross
12419 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12421 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12422 for ac_func in _finite
12424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12425 echo "configure:12426: checking for $ac_func" >&5
12426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12427 echo $ac_n "(cached) $ac_c" 1>&6
12429 cat > conftest.$ac_ext <<EOF
12430 #line 12431 "configure"
12431 #include "confdefs.h"
12432 /* System header to define __stub macros and hopefully few prototypes,
12433 which can conflict with char $ac_func(); below. */
12434 #include <assert.h>
12435 /* Override any gcc2 internal prototype to avoid an error. */
12436 /* We use char because int might match the return type of a gcc2
12437 builtin and then its argument prototype would still apply. */
12442 /* The GNU C library defines this for functions which it implements
12443 to always fail with ENOSYS. Some functions are actually named
12444 something starting with __ and the normal name is an alias. */
12445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12453 if { (eval echo configure:12454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12455 eval "ac_cv_func_$ac_func=yes"
12457 echo "configure: failed program was:" >&5
12458 cat conftest.$ac_ext >&5
12460 eval "ac_cv_func_$ac_func=no"
12465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12466 echo "$ac_t""yes" 1>&6
12467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12468 cat >> confdefs.h <<EOF
12469 #define $ac_tr_func 1
12473 echo "$ac_t""no" 1>&6
12482 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12483 echo "configure:12484: checking for copysign declaration" >&5
12484 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12485 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12486 echo $ac_n "(cached) $ac_c" 1>&6
12491 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12492 ac_cpp='$CXXCPP $CPPFLAGS'
12493 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12494 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12495 cross_compiling=$ac_cv_prog_cxx_cross
12497 cat > conftest.$ac_ext <<EOF
12498 #line 12499 "configure"
12499 #include "confdefs.h"
12505 if { (eval echo configure:12506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12507 glibcpp_cv_func_copysign_use=yes
12509 echo "configure: failed program was:" >&5
12510 cat conftest.$ac_ext >&5
12512 glibcpp_cv_func_copysign_use=no
12516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12517 ac_cpp='$CPP $CPPFLAGS'
12518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12520 cross_compiling=$ac_cv_prog_cc_cross
12526 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12528 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12529 for ac_func in copysign
12531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12532 echo "configure:12533: checking for $ac_func" >&5
12533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12534 echo $ac_n "(cached) $ac_c" 1>&6
12536 cat > conftest.$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12539 /* System header to define __stub macros and hopefully few prototypes,
12540 which can conflict with char $ac_func(); below. */
12541 #include <assert.h>
12542 /* Override any gcc2 internal prototype to avoid an error. */
12543 /* We use char because int might match the return type of a gcc2
12544 builtin and then its argument prototype would still apply. */
12549 /* The GNU C library defines this for functions which it implements
12550 to always fail with ENOSYS. Some functions are actually named
12551 something starting with __ and the normal name is an alias. */
12552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12560 if { (eval echo configure:12561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12562 eval "ac_cv_func_$ac_func=yes"
12564 echo "configure: failed program was:" >&5
12565 cat conftest.$ac_ext >&5
12567 eval "ac_cv_func_$ac_func=no"
12572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12573 echo "$ac_t""yes" 1>&6
12574 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12575 cat >> confdefs.h <<EOF
12576 #define $ac_tr_func 1
12580 echo "$ac_t""no" 1>&6
12586 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12587 echo "configure:12588: checking for _copysign declaration" >&5
12588 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12589 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12590 echo $ac_n "(cached) $ac_c" 1>&6
12595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12596 ac_cpp='$CXXCPP $CPPFLAGS'
12597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12599 cross_compiling=$ac_cv_prog_cxx_cross
12601 cat > conftest.$ac_ext <<EOF
12602 #line 12603 "configure"
12603 #include "confdefs.h"
12609 if { (eval echo configure:12610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12611 glibcpp_cv_func__copysign_use=yes
12613 echo "configure: failed program was:" >&5
12614 cat conftest.$ac_ext >&5
12616 glibcpp_cv_func__copysign_use=no
12620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12621 ac_cpp='$CPP $CPPFLAGS'
12622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12624 cross_compiling=$ac_cv_prog_cc_cross
12630 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12632 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12633 for ac_func in _copysign
12635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12636 echo "configure:12637: checking for $ac_func" >&5
12637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12638 echo $ac_n "(cached) $ac_c" 1>&6
12640 cat > conftest.$ac_ext <<EOF
12641 #line 12642 "configure"
12642 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char $ac_func(); below. */
12645 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12653 /* The GNU C library defines this for functions which it implements
12654 to always fail with ENOSYS. Some functions are actually named
12655 something starting with __ and the normal name is an alias. */
12656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12666 eval "ac_cv_func_$ac_func=yes"
12668 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5
12671 eval "ac_cv_func_$ac_func=no"
12676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12677 echo "$ac_t""yes" 1>&6
12678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12679 cat >> confdefs.h <<EOF
12680 #define $ac_tr_func 1
12684 echo "$ac_t""no" 1>&6
12693 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12694 echo "configure:12695: checking for sincos declaration" >&5
12695 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12696 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12697 echo $ac_n "(cached) $ac_c" 1>&6
12702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12703 ac_cpp='$CXXCPP $CPPFLAGS'
12704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12706 cross_compiling=$ac_cv_prog_cxx_cross
12708 cat > conftest.$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12716 if { (eval echo configure:12717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12718 glibcpp_cv_func_sincos_use=yes
12720 echo "configure: failed program was:" >&5
12721 cat conftest.$ac_ext >&5
12723 glibcpp_cv_func_sincos_use=no
12727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12728 ac_cpp='$CPP $CPPFLAGS'
12729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12731 cross_compiling=$ac_cv_prog_cc_cross
12737 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12739 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12740 for ac_func in sincos
12742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12743 echo "configure:12744: checking for $ac_func" >&5
12744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12745 echo $ac_n "(cached) $ac_c" 1>&6
12747 cat > conftest.$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 /* System header to define __stub macros and hopefully few prototypes,
12751 which can conflict with char $ac_func(); below. */
12752 #include <assert.h>
12753 /* Override any gcc2 internal prototype to avoid an error. */
12754 /* We use char because int might match the return type of a gcc2
12755 builtin and then its argument prototype would still apply. */
12760 /* The GNU C library defines this for functions which it implements
12761 to always fail with ENOSYS. Some functions are actually named
12762 something starting with __ and the normal name is an alias. */
12763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12771 if { (eval echo configure:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12773 eval "ac_cv_func_$ac_func=yes"
12775 echo "configure: failed program was:" >&5
12776 cat conftest.$ac_ext >&5
12778 eval "ac_cv_func_$ac_func=no"
12783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12786 cat >> confdefs.h <<EOF
12787 #define $ac_tr_func 1
12791 echo "$ac_t""no" 1>&6
12797 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12798 echo "configure:12799: checking for _sincos declaration" >&5
12799 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12800 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12801 echo $ac_n "(cached) $ac_c" 1>&6
12806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12807 ac_cpp='$CXXCPP $CPPFLAGS'
12808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12810 cross_compiling=$ac_cv_prog_cxx_cross
12812 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure"
12814 #include "confdefs.h"
12820 if { (eval echo configure:12821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12822 glibcpp_cv_func__sincos_use=yes
12824 echo "configure: failed program was:" >&5
12825 cat conftest.$ac_ext >&5
12827 glibcpp_cv_func__sincos_use=no
12831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12832 ac_cpp='$CPP $CPPFLAGS'
12833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12835 cross_compiling=$ac_cv_prog_cc_cross
12841 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12843 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12844 for ac_func in _sincos
12846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12847 echo "configure:12848: checking for $ac_func" >&5
12848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12854 /* System header to define __stub macros and hopefully few prototypes,
12855 which can conflict with char $ac_func(); below. */
12856 #include <assert.h>
12857 /* Override any gcc2 internal prototype to avoid an error. */
12858 /* We use char because int might match the return type of a gcc2
12859 builtin and then its argument prototype would still apply. */
12864 /* The GNU C library defines this for functions which it implements
12865 to always fail with ENOSYS. Some functions are actually named
12866 something starting with __ and the normal name is an alias. */
12867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12875 if { (eval echo configure:12876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12877 eval "ac_cv_func_$ac_func=yes"
12879 echo "configure: failed program was:" >&5
12880 cat conftest.$ac_ext >&5
12882 eval "ac_cv_func_$ac_func=no"
12887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12888 echo "$ac_t""yes" 1>&6
12889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12890 cat >> confdefs.h <<EOF
12891 #define $ac_tr_func 1
12895 echo "$ac_t""no" 1>&6
12904 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
12905 echo "configure:12906: checking for fpclass declaration" >&5
12906 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12907 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12908 echo $ac_n "(cached) $ac_c" 1>&6
12913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12914 ac_cpp='$CXXCPP $CPPFLAGS'
12915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12917 cross_compiling=$ac_cv_prog_cxx_cross
12919 cat > conftest.$ac_ext <<EOF
12920 #line 12921 "configure"
12921 #include "confdefs.h"
12923 #ifdef HAVE_IEEEFP_H
12924 #include <ieeefp.h>
12931 if { (eval echo configure:12932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12933 glibcpp_cv_func_fpclass_use=yes
12935 echo "configure: failed program was:" >&5
12936 cat conftest.$ac_ext >&5
12938 glibcpp_cv_func_fpclass_use=no
12942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12943 ac_cpp='$CPP $CPPFLAGS'
12944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12946 cross_compiling=$ac_cv_prog_cc_cross
12952 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12954 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12955 for ac_func in fpclass
12957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12958 echo "configure:12959: checking for $ac_func" >&5
12959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12960 echo $ac_n "(cached) $ac_c" 1>&6
12962 cat > conftest.$ac_ext <<EOF
12963 #line 12964 "configure"
12964 #include "confdefs.h"
12965 /* System header to define __stub macros and hopefully few prototypes,
12966 which can conflict with char $ac_func(); below. */
12967 #include <assert.h>
12968 /* Override any gcc2 internal prototype to avoid an error. */
12969 /* We use char because int might match the return type of a gcc2
12970 builtin and then its argument prototype would still apply. */
12975 /* The GNU C library defines this for functions which it implements
12976 to always fail with ENOSYS. Some functions are actually named
12977 something starting with __ and the normal name is an alias. */
12978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12986 if { (eval echo configure:12987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12988 eval "ac_cv_func_$ac_func=yes"
12990 echo "configure: failed program was:" >&5
12991 cat conftest.$ac_ext >&5
12993 eval "ac_cv_func_$ac_func=no"
12998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12999 echo "$ac_t""yes" 1>&6
13000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13001 cat >> confdefs.h <<EOF
13002 #define $ac_tr_func 1
13006 echo "$ac_t""no" 1>&6
13012 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13013 echo "configure:13014: checking for _fpclass declaration" >&5
13014 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13015 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13022 ac_cpp='$CXXCPP $CPPFLAGS'
13023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13025 cross_compiling=$ac_cv_prog_cxx_cross
13027 cat > conftest.$ac_ext <<EOF
13028 #line 13029 "configure"
13029 #include "confdefs.h"
13031 #ifdef HAVE_IEEEFP_H
13032 #include <ieeefp.h>
13039 if { (eval echo configure:13040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13041 glibcpp_cv_func__fpclass_use=yes
13043 echo "configure: failed program was:" >&5
13044 cat conftest.$ac_ext >&5
13046 glibcpp_cv_func__fpclass_use=no
13050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13051 ac_cpp='$CPP $CPPFLAGS'
13052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13054 cross_compiling=$ac_cv_prog_cc_cross
13060 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13062 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13063 for ac_func in _fpclass
13065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13066 echo "configure:13067: checking for $ac_func" >&5
13067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13068 echo $ac_n "(cached) $ac_c" 1>&6
13070 cat > conftest.$ac_ext <<EOF
13071 #line 13072 "configure"
13072 #include "confdefs.h"
13073 /* System header to define __stub macros and hopefully few prototypes,
13074 which can conflict with char $ac_func(); below. */
13075 #include <assert.h>
13076 /* Override any gcc2 internal prototype to avoid an error. */
13077 /* We use char because int might match the return type of a gcc2
13078 builtin and then its argument prototype would still apply. */
13083 /* The GNU C library defines this for functions which it implements
13084 to always fail with ENOSYS. Some functions are actually named
13085 something starting with __ and the normal name is an alias. */
13086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13094 if { (eval echo configure:13095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13096 eval "ac_cv_func_$ac_func=yes"
13098 echo "configure: failed program was:" >&5
13099 cat conftest.$ac_ext >&5
13101 eval "ac_cv_func_$ac_func=no"
13106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13107 echo "$ac_t""yes" 1>&6
13108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13109 cat >> confdefs.h <<EOF
13110 #define $ac_tr_func 1
13114 echo "$ac_t""no" 1>&6
13123 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13124 echo "configure:13125: checking for qfpclass declaration" >&5
13125 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13126 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13127 echo $ac_n "(cached) $ac_c" 1>&6
13132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13133 ac_cpp='$CXXCPP $CPPFLAGS'
13134 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13135 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13136 cross_compiling=$ac_cv_prog_cxx_cross
13138 cat > conftest.$ac_ext <<EOF
13139 #line 13140 "configure"
13140 #include "confdefs.h"
13142 #ifdef HAVE_IEEEFP_H
13143 #include <ieeefp.h>
13150 if { (eval echo configure:13151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13152 glibcpp_cv_func_qfpclass_use=yes
13154 echo "configure: failed program was:" >&5
13155 cat conftest.$ac_ext >&5
13157 glibcpp_cv_func_qfpclass_use=no
13161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13162 ac_cpp='$CPP $CPPFLAGS'
13163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13165 cross_compiling=$ac_cv_prog_cc_cross
13171 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13173 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13174 for ac_func in qfpclass
13176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13177 echo "configure:13178: checking for $ac_func" >&5
13178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13179 echo $ac_n "(cached) $ac_c" 1>&6
13181 cat > conftest.$ac_ext <<EOF
13182 #line 13183 "configure"
13183 #include "confdefs.h"
13184 /* System header to define __stub macros and hopefully few prototypes,
13185 which can conflict with char $ac_func(); below. */
13186 #include <assert.h>
13187 /* Override any gcc2 internal prototype to avoid an error. */
13188 /* We use char because int might match the return type of a gcc2
13189 builtin and then its argument prototype would still apply. */
13194 /* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13205 if { (eval echo configure:13206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13207 eval "ac_cv_func_$ac_func=yes"
13209 echo "configure: failed program was:" >&5
13210 cat conftest.$ac_ext >&5
13212 eval "ac_cv_func_$ac_func=no"
13217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13218 echo "$ac_t""yes" 1>&6
13219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13220 cat >> confdefs.h <<EOF
13221 #define $ac_tr_func 1
13225 echo "$ac_t""no" 1>&6
13231 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13232 echo "configure:13233: checking for _qfpclass declaration" >&5
13233 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13234 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13235 echo $ac_n "(cached) $ac_c" 1>&6
13240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13241 ac_cpp='$CXXCPP $CPPFLAGS'
13242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13244 cross_compiling=$ac_cv_prog_cxx_cross
13246 cat > conftest.$ac_ext <<EOF
13247 #line 13248 "configure"
13248 #include "confdefs.h"
13250 #ifdef HAVE_IEEEFP_H
13251 #include <ieeefp.h>
13258 if { (eval echo configure:13259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13260 glibcpp_cv_func__qfpclass_use=yes
13262 echo "configure: failed program was:" >&5
13263 cat conftest.$ac_ext >&5
13265 glibcpp_cv_func__qfpclass_use=no
13269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13270 ac_cpp='$CPP $CPPFLAGS'
13271 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13272 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13273 cross_compiling=$ac_cv_prog_cc_cross
13279 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13281 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13282 for ac_func in _qfpclass
13284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13285 echo "configure:13286: checking for $ac_func" >&5
13286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13287 echo $ac_n "(cached) $ac_c" 1>&6
13289 cat > conftest.$ac_ext <<EOF
13290 #line 13291 "configure"
13291 #include "confdefs.h"
13292 /* System header to define __stub macros and hopefully few prototypes,
13293 which can conflict with char $ac_func(); below. */
13294 #include <assert.h>
13295 /* Override any gcc2 internal prototype to avoid an error. */
13296 /* We use char because int might match the return type of a gcc2
13297 builtin and then its argument prototype would still apply. */
13302 /* The GNU C library defines this for functions which it implements
13303 to always fail with ENOSYS. Some functions are actually named
13304 something starting with __ and the normal name is an alias. */
13305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13313 if { (eval echo configure:13314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13315 eval "ac_cv_func_$ac_func=yes"
13317 echo "configure: failed program was:" >&5
13318 cat conftest.$ac_ext >&5
13320 eval "ac_cv_func_$ac_func=no"
13325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13326 echo "$ac_t""yes" 1>&6
13327 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13328 cat >> confdefs.h <<EOF
13329 #define $ac_tr_func 1
13333 echo "$ac_t""no" 1>&6
13342 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13343 echo "configure:13344: checking for hypot declaration" >&5
13344 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13345 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13346 echo $ac_n "(cached) $ac_c" 1>&6
13351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13352 ac_cpp='$CXXCPP $CPPFLAGS'
13353 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13354 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13355 cross_compiling=$ac_cv_prog_cxx_cross
13357 cat > conftest.$ac_ext <<EOF
13358 #line 13359 "configure"
13359 #include "confdefs.h"
13365 if { (eval echo configure:13366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13367 glibcpp_cv_func_hypot_use=yes
13369 echo "configure: failed program was:" >&5
13370 cat conftest.$ac_ext >&5
13372 glibcpp_cv_func_hypot_use=no
13376 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13377 ac_cpp='$CPP $CPPFLAGS'
13378 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13379 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13380 cross_compiling=$ac_cv_prog_cc_cross
13386 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13388 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13389 for ac_func in hypot
13391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13392 echo "configure:13393: checking for $ac_func" >&5
13393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13394 echo $ac_n "(cached) $ac_c" 1>&6
13396 cat > conftest.$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func(); below. */
13401 #include <assert.h>
13402 /* Override any gcc2 internal prototype to avoid an error. */
13403 /* We use char because int might match the return type of a gcc2
13404 builtin and then its argument prototype would still apply. */
13409 /* The GNU C library defines this for functions which it implements
13410 to always fail with ENOSYS. Some functions are actually named
13411 something starting with __ and the normal name is an alias. */
13412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13420 if { (eval echo configure:13421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13422 eval "ac_cv_func_$ac_func=yes"
13424 echo "configure: failed program was:" >&5
13425 cat conftest.$ac_ext >&5
13427 eval "ac_cv_func_$ac_func=no"
13432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13435 cat >> confdefs.h <<EOF
13436 #define $ac_tr_func 1
13440 echo "$ac_t""no" 1>&6
13446 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13447 echo "configure:13448: checking for _hypot declaration" >&5
13448 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13449 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13450 echo $ac_n "(cached) $ac_c" 1>&6
13455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13456 ac_cpp='$CXXCPP $CPPFLAGS'
13457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13459 cross_compiling=$ac_cv_prog_cxx_cross
13461 cat > conftest.$ac_ext <<EOF
13462 #line 13463 "configure"
13463 #include "confdefs.h"
13469 if { (eval echo configure:13470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13471 glibcpp_cv_func__hypot_use=yes
13473 echo "configure: failed program was:" >&5
13474 cat conftest.$ac_ext >&5
13476 glibcpp_cv_func__hypot_use=no
13480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13484 cross_compiling=$ac_cv_prog_cc_cross
13490 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13492 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13493 for ac_func in _hypot
13495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13496 echo "configure:13497: checking for $ac_func" >&5
13497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13498 echo $ac_n "(cached) $ac_c" 1>&6
13500 cat > conftest.$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13503 /* System header to define __stub macros and hopefully few prototypes,
13504 which can conflict with char $ac_func(); below. */
13505 #include <assert.h>
13506 /* Override any gcc2 internal prototype to avoid an error. */
13507 /* We use char because int might match the return type of a gcc2
13508 builtin and then its argument prototype would still apply. */
13513 /* The GNU C library defines this for functions which it implements
13514 to always fail with ENOSYS. Some functions are actually named
13515 something starting with __ and the normal name is an alias. */
13516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13526 eval "ac_cv_func_$ac_func=yes"
13528 echo "configure: failed program was:" >&5
13529 cat conftest.$ac_ext >&5
13531 eval "ac_cv_func_$ac_func=no"
13536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13537 echo "$ac_t""yes" 1>&6
13538 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13539 cat >> confdefs.h <<EOF
13540 #define $ac_tr_func 1
13544 echo "$ac_t""no" 1>&6
13553 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13554 echo "configure:13555: checking for float trig functions" >&5
13555 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13556 echo $ac_n "(cached) $ac_c" 1>&6
13561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13562 ac_cpp='$CXXCPP $CPPFLAGS'
13563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13565 cross_compiling=$ac_cv_prog_cxx_cross
13567 cat > conftest.$ac_ext <<EOF
13568 #line 13569 "configure"
13569 #include "confdefs.h"
13572 `for x in acosf asinf atanf \
13574 coshf sinhf tanhf; do echo "$x (0);"; done`
13577 if { (eval echo configure:13578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13579 glibcpp_cv_func_float_trig_use=yes
13581 echo "configure: failed program was:" >&5
13582 cat conftest.$ac_ext >&5
13584 glibcpp_cv_func_float_trig_use=no
13588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13589 ac_cpp='$CPP $CPPFLAGS'
13590 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13591 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13592 cross_compiling=$ac_cv_prog_cc_cross
13596 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13597 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13598 for ac_func in acosf asinf atanf \
13602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13603 echo "configure:13604: checking for $ac_func" >&5
13604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13605 echo $ac_n "(cached) $ac_c" 1>&6
13607 cat > conftest.$ac_ext <<EOF
13608 #line 13609 "configure"
13609 #include "confdefs.h"
13610 /* System header to define __stub macros and hopefully few prototypes,
13611 which can conflict with char $ac_func(); below. */
13612 #include <assert.h>
13613 /* Override any gcc2 internal prototype to avoid an error. */
13614 /* We use char because int might match the return type of a gcc2
13615 builtin and then its argument prototype would still apply. */
13620 /* The GNU C library defines this for functions which it implements
13621 to always fail with ENOSYS. Some functions are actually named
13622 something starting with __ and the normal name is an alias. */
13623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13633 eval "ac_cv_func_$ac_func=yes"
13635 echo "configure: failed program was:" >&5
13636 cat conftest.$ac_ext >&5
13638 eval "ac_cv_func_$ac_func=no"
13643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13644 echo "$ac_t""yes" 1>&6
13645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13646 cat >> confdefs.h <<EOF
13647 #define $ac_tr_func 1
13651 echo "$ac_t""no" 1>&6
13658 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13659 echo "configure:13660: checking for float round functions" >&5
13660 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13667 ac_cpp='$CXXCPP $CPPFLAGS'
13668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13670 cross_compiling=$ac_cv_prog_cxx_cross
13672 cat > conftest.$ac_ext <<EOF
13673 #line 13674 "configure"
13674 #include "confdefs.h"
13677 `for x in ceilf floorf; do echo "$x (0);"; done`
13680 if { (eval echo configure:13681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13682 glibcpp_cv_func_float_round_use=yes
13684 echo "configure: failed program was:" >&5
13685 cat conftest.$ac_ext >&5
13687 glibcpp_cv_func_float_round_use=no
13691 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13692 ac_cpp='$CPP $CPPFLAGS'
13693 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13694 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13695 cross_compiling=$ac_cv_prog_cc_cross
13699 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13700 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13701 for ac_func in ceilf floorf
13703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13704 echo "configure:13705: checking for $ac_func" >&5
13705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13706 echo $ac_n "(cached) $ac_c" 1>&6
13708 cat > conftest.$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13711 /* System header to define __stub macros and hopefully few prototypes,
13712 which can conflict with char $ac_func(); below. */
13713 #include <assert.h>
13714 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13721 /* The GNU C library defines this for functions which it implements
13722 to always fail with ENOSYS. Some functions are actually named
13723 something starting with __ and the normal name is an alias. */
13724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13732 if { (eval echo configure:13733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13734 eval "ac_cv_func_$ac_func=yes"
13736 echo "configure: failed program was:" >&5
13737 cat conftest.$ac_ext >&5
13739 eval "ac_cv_func_$ac_func=no"
13744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13745 echo "$ac_t""yes" 1>&6
13746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13747 cat >> confdefs.h <<EOF
13748 #define $ac_tr_func 1
13752 echo "$ac_t""no" 1>&6
13760 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13761 echo "configure:13762: checking for expf declaration" >&5
13762 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13763 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13764 echo $ac_n "(cached) $ac_c" 1>&6
13769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13770 ac_cpp='$CXXCPP $CPPFLAGS'
13771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13773 cross_compiling=$ac_cv_prog_cxx_cross
13775 cat > conftest.$ac_ext <<EOF
13776 #line 13777 "configure"
13777 #include "confdefs.h"
13779 #ifdef HAVE_IEEEFP_H
13780 #include <ieeefp.h>
13787 if { (eval echo configure:13788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13789 glibcpp_cv_func_expf_use=yes
13791 echo "configure: failed program was:" >&5
13792 cat conftest.$ac_ext >&5
13794 glibcpp_cv_func_expf_use=no
13798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13799 ac_cpp='$CPP $CPPFLAGS'
13800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13802 cross_compiling=$ac_cv_prog_cc_cross
13808 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13810 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13811 for ac_func in expf
13813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13814 echo "configure:13815: checking for $ac_func" >&5
13815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13818 cat > conftest.$ac_ext <<EOF
13819 #line 13820 "configure"
13820 #include "confdefs.h"
13821 /* System header to define __stub macros and hopefully few prototypes,
13822 which can conflict with char $ac_func(); below. */
13823 #include <assert.h>
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 /* We use char because int might match the return type of a gcc2
13826 builtin and then its argument prototype would still apply. */
13831 /* The GNU C library defines this for functions which it implements
13832 to always fail with ENOSYS. Some functions are actually named
13833 something starting with __ and the normal name is an alias. */
13834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13842 if { (eval echo configure:13843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13844 eval "ac_cv_func_$ac_func=yes"
13846 echo "configure: failed program was:" >&5
13847 cat conftest.$ac_ext >&5
13849 eval "ac_cv_func_$ac_func=no"
13854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13855 echo "$ac_t""yes" 1>&6
13856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13857 cat >> confdefs.h <<EOF
13858 #define $ac_tr_func 1
13862 echo "$ac_t""no" 1>&6
13868 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
13869 echo "configure:13870: checking for _expf declaration" >&5
13870 if test x${glibcpp_cv_func__expf_use+set} != xset; then
13871 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
13872 echo $ac_n "(cached) $ac_c" 1>&6
13877 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13878 ac_cpp='$CXXCPP $CPPFLAGS'
13879 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13880 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13881 cross_compiling=$ac_cv_prog_cxx_cross
13883 cat > conftest.$ac_ext <<EOF
13884 #line 13885 "configure"
13885 #include "confdefs.h"
13887 #ifdef HAVE_IEEEFP_H
13888 #include <ieeefp.h>
13895 if { (eval echo configure:13896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13897 glibcpp_cv_func__expf_use=yes
13899 echo "configure: failed program was:" >&5
13900 cat conftest.$ac_ext >&5
13902 glibcpp_cv_func__expf_use=no
13906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13907 ac_cpp='$CPP $CPPFLAGS'
13908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13910 cross_compiling=$ac_cv_prog_cc_cross
13916 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13918 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13919 for ac_func in _expf
13921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13922 echo "configure:13923: checking for $ac_func" >&5
13923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13924 echo $ac_n "(cached) $ac_c" 1>&6
13926 cat > conftest.$ac_ext <<EOF
13927 #line 13928 "configure"
13928 #include "confdefs.h"
13929 /* System header to define __stub macros and hopefully few prototypes,
13930 which can conflict with char $ac_func(); below. */
13931 #include <assert.h>
13932 /* Override any gcc2 internal prototype to avoid an error. */
13933 /* We use char because int might match the return type of a gcc2
13934 builtin and then its argument prototype would still apply. */
13939 /* The GNU C library defines this for functions which it implements
13940 to always fail with ENOSYS. Some functions are actually named
13941 something starting with __ and the normal name is an alias. */
13942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13950 if { (eval echo configure:13951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13952 eval "ac_cv_func_$ac_func=yes"
13954 echo "configure: failed program was:" >&5
13955 cat conftest.$ac_ext >&5
13957 eval "ac_cv_func_$ac_func=no"
13962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13963 echo "$ac_t""yes" 1>&6
13964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13965 cat >> confdefs.h <<EOF
13966 #define $ac_tr_func 1
13970 echo "$ac_t""no" 1>&6
13979 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
13980 echo "configure:13981: checking for isnanf declaration" >&5
13981 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13982 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13989 ac_cpp='$CXXCPP $CPPFLAGS'
13990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13992 cross_compiling=$ac_cv_prog_cxx_cross
13994 cat > conftest.$ac_ext <<EOF
13995 #line 13996 "configure"
13996 #include "confdefs.h"
13998 #ifdef HAVE_IEEEFP_H
13999 #include <ieeefp.h>
14006 if { (eval echo configure:14007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14008 glibcpp_cv_func_isnanf_use=yes
14010 echo "configure: failed program was:" >&5
14011 cat conftest.$ac_ext >&5
14013 glibcpp_cv_func_isnanf_use=no
14017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14018 ac_cpp='$CPP $CPPFLAGS'
14019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14021 cross_compiling=$ac_cv_prog_cc_cross
14027 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14029 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14030 for ac_func in isnanf
14032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14033 echo "configure:14034: checking for $ac_func" >&5
14034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14035 echo $ac_n "(cached) $ac_c" 1>&6
14037 cat > conftest.$ac_ext <<EOF
14038 #line 14039 "configure"
14039 #include "confdefs.h"
14040 /* System header to define __stub macros and hopefully few prototypes,
14041 which can conflict with char $ac_func(); below. */
14042 #include <assert.h>
14043 /* Override any gcc2 internal prototype to avoid an error. */
14044 /* We use char because int might match the return type of a gcc2
14045 builtin and then its argument prototype would still apply. */
14050 /* The GNU C library defines this for functions which it implements
14051 to always fail with ENOSYS. Some functions are actually named
14052 something starting with __ and the normal name is an alias. */
14053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14061 if { (eval echo configure:14062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14063 eval "ac_cv_func_$ac_func=yes"
14065 echo "configure: failed program was:" >&5
14066 cat conftest.$ac_ext >&5
14068 eval "ac_cv_func_$ac_func=no"
14073 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14074 echo "$ac_t""yes" 1>&6
14075 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14076 cat >> confdefs.h <<EOF
14077 #define $ac_tr_func 1
14081 echo "$ac_t""no" 1>&6
14087 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14088 echo "configure:14089: checking for _isnanf declaration" >&5
14089 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14090 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14091 echo $ac_n "(cached) $ac_c" 1>&6
14096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14097 ac_cpp='$CXXCPP $CPPFLAGS'
14098 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14099 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14100 cross_compiling=$ac_cv_prog_cxx_cross
14102 cat > conftest.$ac_ext <<EOF
14103 #line 14104 "configure"
14104 #include "confdefs.h"
14106 #ifdef HAVE_IEEEFP_H
14107 #include <ieeefp.h>
14114 if { (eval echo configure:14115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14116 glibcpp_cv_func__isnanf_use=yes
14118 echo "configure: failed program was:" >&5
14119 cat conftest.$ac_ext >&5
14121 glibcpp_cv_func__isnanf_use=no
14125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14126 ac_cpp='$CPP $CPPFLAGS'
14127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14129 cross_compiling=$ac_cv_prog_cc_cross
14135 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14137 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14138 for ac_func in _isnanf
14140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14141 echo "configure:14142: checking for $ac_func" >&5
14142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14143 echo $ac_n "(cached) $ac_c" 1>&6
14145 cat > conftest.$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14148 /* System header to define __stub macros and hopefully few prototypes,
14149 which can conflict with char $ac_func(); below. */
14150 #include <assert.h>
14151 /* Override any gcc2 internal prototype to avoid an error. */
14152 /* We use char because int might match the return type of a gcc2
14153 builtin and then its argument prototype would still apply. */
14158 /* The GNU C library defines this for functions which it implements
14159 to always fail with ENOSYS. Some functions are actually named
14160 something starting with __ and the normal name is an alias. */
14161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14169 if { (eval echo configure:14170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14171 eval "ac_cv_func_$ac_func=yes"
14173 echo "configure: failed program was:" >&5
14174 cat conftest.$ac_ext >&5
14176 eval "ac_cv_func_$ac_func=no"
14181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14182 echo "$ac_t""yes" 1>&6
14183 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14184 cat >> confdefs.h <<EOF
14185 #define $ac_tr_func 1
14189 echo "$ac_t""no" 1>&6
14198 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14199 echo "configure:14200: checking for isinff declaration" >&5
14200 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14201 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14202 echo $ac_n "(cached) $ac_c" 1>&6
14207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14208 ac_cpp='$CXXCPP $CPPFLAGS'
14209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14211 cross_compiling=$ac_cv_prog_cxx_cross
14213 cat > conftest.$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14217 #ifdef HAVE_IEEEFP_H
14218 #include <ieeefp.h>
14225 if { (eval echo configure:14226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14227 glibcpp_cv_func_isinff_use=yes
14229 echo "configure: failed program was:" >&5
14230 cat conftest.$ac_ext >&5
14232 glibcpp_cv_func_isinff_use=no
14236 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14237 ac_cpp='$CPP $CPPFLAGS'
14238 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14239 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14240 cross_compiling=$ac_cv_prog_cc_cross
14246 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14248 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14249 for ac_func in isinff
14251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14252 echo "configure:14253: checking for $ac_func" >&5
14253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14254 echo $ac_n "(cached) $ac_c" 1>&6
14256 cat > conftest.$ac_ext <<EOF
14257 #line 14258 "configure"
14258 #include "confdefs.h"
14259 /* System header to define __stub macros and hopefully few prototypes,
14260 which can conflict with char $ac_func(); below. */
14261 #include <assert.h>
14262 /* Override any gcc2 internal prototype to avoid an error. */
14263 /* We use char because int might match the return type of a gcc2
14264 builtin and then its argument prototype would still apply. */
14269 /* The GNU C library defines this for functions which it implements
14270 to always fail with ENOSYS. Some functions are actually named
14271 something starting with __ and the normal name is an alias. */
14272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14280 if { (eval echo configure:14281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14282 eval "ac_cv_func_$ac_func=yes"
14284 echo "configure: failed program was:" >&5
14285 cat conftest.$ac_ext >&5
14287 eval "ac_cv_func_$ac_func=no"
14292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14293 echo "$ac_t""yes" 1>&6
14294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14295 cat >> confdefs.h <<EOF
14296 #define $ac_tr_func 1
14300 echo "$ac_t""no" 1>&6
14306 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14307 echo "configure:14308: checking for _isinff declaration" >&5
14308 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14309 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14316 ac_cpp='$CXXCPP $CPPFLAGS'
14317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14319 cross_compiling=$ac_cv_prog_cxx_cross
14321 cat > conftest.$ac_ext <<EOF
14322 #line 14323 "configure"
14323 #include "confdefs.h"
14325 #ifdef HAVE_IEEEFP_H
14326 #include <ieeefp.h>
14333 if { (eval echo configure:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14335 glibcpp_cv_func__isinff_use=yes
14337 echo "configure: failed program was:" >&5
14338 cat conftest.$ac_ext >&5
14340 glibcpp_cv_func__isinff_use=no
14344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14348 cross_compiling=$ac_cv_prog_cc_cross
14354 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14356 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14357 for ac_func in _isinff
14359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14360 echo "configure:14361: checking for $ac_func" >&5
14361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14364 cat > conftest.$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14367 /* System header to define __stub macros and hopefully few prototypes,
14368 which can conflict with char $ac_func(); below. */
14369 #include <assert.h>
14370 /* Override any gcc2 internal prototype to avoid an error. */
14371 /* We use char because int might match the return type of a gcc2
14372 builtin and then its argument prototype would still apply. */
14377 /* The GNU C library defines this for functions which it implements
14378 to always fail with ENOSYS. Some functions are actually named
14379 something starting with __ and the normal name is an alias. */
14380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14388 if { (eval echo configure:14389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14390 eval "ac_cv_func_$ac_func=yes"
14392 echo "configure: failed program was:" >&5
14393 cat conftest.$ac_ext >&5
14395 eval "ac_cv_func_$ac_func=no"
14400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14401 echo "$ac_t""yes" 1>&6
14402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14403 cat >> confdefs.h <<EOF
14404 #define $ac_tr_func 1
14408 echo "$ac_t""no" 1>&6
14417 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14418 echo "configure:14419: checking for atan2f declaration" >&5
14419 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14420 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14421 echo $ac_n "(cached) $ac_c" 1>&6
14426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14427 ac_cpp='$CXXCPP $CPPFLAGS'
14428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14430 cross_compiling=$ac_cv_prog_cxx_cross
14432 cat > conftest.$ac_ext <<EOF
14433 #line 14434 "configure"
14434 #include "confdefs.h"
14440 if { (eval echo configure:14441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14442 glibcpp_cv_func_atan2f_use=yes
14444 echo "configure: failed program was:" >&5
14445 cat conftest.$ac_ext >&5
14447 glibcpp_cv_func_atan2f_use=no
14451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14452 ac_cpp='$CPP $CPPFLAGS'
14453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14455 cross_compiling=$ac_cv_prog_cc_cross
14461 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14463 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14464 for ac_func in atan2f
14466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14467 echo "configure:14468: checking for $ac_func" >&5
14468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14469 echo $ac_n "(cached) $ac_c" 1>&6
14471 cat > conftest.$ac_ext <<EOF
14472 #line 14473 "configure"
14473 #include "confdefs.h"
14474 /* System header to define __stub macros and hopefully few prototypes,
14475 which can conflict with char $ac_func(); below. */
14476 #include <assert.h>
14477 /* Override any gcc2 internal prototype to avoid an error. */
14478 /* We use char because int might match the return type of a gcc2
14479 builtin and then its argument prototype would still apply. */
14484 /* The GNU C library defines this for functions which it implements
14485 to always fail with ENOSYS. Some functions are actually named
14486 something starting with __ and the normal name is an alias. */
14487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14495 if { (eval echo configure:14496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14497 eval "ac_cv_func_$ac_func=yes"
14499 echo "configure: failed program was:" >&5
14500 cat conftest.$ac_ext >&5
14502 eval "ac_cv_func_$ac_func=no"
14507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14508 echo "$ac_t""yes" 1>&6
14509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14510 cat >> confdefs.h <<EOF
14511 #define $ac_tr_func 1
14515 echo "$ac_t""no" 1>&6
14521 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14522 echo "configure:14523: checking for _atan2f declaration" >&5
14523 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14524 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14525 echo $ac_n "(cached) $ac_c" 1>&6
14530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14531 ac_cpp='$CXXCPP $CPPFLAGS'
14532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14534 cross_compiling=$ac_cv_prog_cxx_cross
14536 cat > conftest.$ac_ext <<EOF
14537 #line 14538 "configure"
14538 #include "confdefs.h"
14544 if { (eval echo configure:14545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14546 glibcpp_cv_func__atan2f_use=yes
14548 echo "configure: failed program was:" >&5
14549 cat conftest.$ac_ext >&5
14551 glibcpp_cv_func__atan2f_use=no
14555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14556 ac_cpp='$CPP $CPPFLAGS'
14557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14559 cross_compiling=$ac_cv_prog_cc_cross
14565 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14567 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14568 for ac_func in _atan2f
14570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14571 echo "configure:14572: checking for $ac_func" >&5
14572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14573 echo $ac_n "(cached) $ac_c" 1>&6
14575 cat > conftest.$ac_ext <<EOF
14576 #line 14577 "configure"
14577 #include "confdefs.h"
14578 /* System header to define __stub macros and hopefully few prototypes,
14579 which can conflict with char $ac_func(); below. */
14580 #include <assert.h>
14581 /* Override any gcc2 internal prototype to avoid an error. */
14582 /* We use char because int might match the return type of a gcc2
14583 builtin and then its argument prototype would still apply. */
14588 /* The GNU C library defines this for functions which it implements
14589 to always fail with ENOSYS. Some functions are actually named
14590 something starting with __ and the normal name is an alias. */
14591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14599 if { (eval echo configure:14600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14601 eval "ac_cv_func_$ac_func=yes"
14603 echo "configure: failed program was:" >&5
14604 cat conftest.$ac_ext >&5
14606 eval "ac_cv_func_$ac_func=no"
14611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14612 echo "$ac_t""yes" 1>&6
14613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14614 cat >> confdefs.h <<EOF
14615 #define $ac_tr_func 1
14619 echo "$ac_t""no" 1>&6
14628 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14629 echo "configure:14630: checking for fabsf declaration" >&5
14630 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14631 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14632 echo $ac_n "(cached) $ac_c" 1>&6
14637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14638 ac_cpp='$CXXCPP $CPPFLAGS'
14639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14641 cross_compiling=$ac_cv_prog_cxx_cross
14643 cat > conftest.$ac_ext <<EOF
14644 #line 14645 "configure"
14645 #include "confdefs.h"
14647 #ifdef HAVE_IEEEFP_H
14648 #include <ieeefp.h>
14655 if { (eval echo configure:14656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14657 glibcpp_cv_func_fabsf_use=yes
14659 echo "configure: failed program was:" >&5
14660 cat conftest.$ac_ext >&5
14662 glibcpp_cv_func_fabsf_use=no
14666 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14667 ac_cpp='$CPP $CPPFLAGS'
14668 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14669 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14670 cross_compiling=$ac_cv_prog_cc_cross
14676 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14678 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14679 for ac_func in fabsf
14681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14682 echo "configure:14683: checking for $ac_func" >&5
14683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14686 cat > conftest.$ac_ext <<EOF
14687 #line 14688 "configure"
14688 #include "confdefs.h"
14689 /* System header to define __stub macros and hopefully few prototypes,
14690 which can conflict with char $ac_func(); below. */
14691 #include <assert.h>
14692 /* Override any gcc2 internal prototype to avoid an error. */
14693 /* We use char because int might match the return type of a gcc2
14694 builtin and then its argument prototype would still apply. */
14699 /* The GNU C library defines this for functions which it implements
14700 to always fail with ENOSYS. Some functions are actually named
14701 something starting with __ and the normal name is an alias. */
14702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14710 if { (eval echo configure:14711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14712 eval "ac_cv_func_$ac_func=yes"
14714 echo "configure: failed program was:" >&5
14715 cat conftest.$ac_ext >&5
14717 eval "ac_cv_func_$ac_func=no"
14722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14723 echo "$ac_t""yes" 1>&6
14724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14725 cat >> confdefs.h <<EOF
14726 #define $ac_tr_func 1
14730 echo "$ac_t""no" 1>&6
14736 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14737 echo "configure:14738: checking for _fabsf declaration" >&5
14738 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14739 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14740 echo $ac_n "(cached) $ac_c" 1>&6
14745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14746 ac_cpp='$CXXCPP $CPPFLAGS'
14747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14749 cross_compiling=$ac_cv_prog_cxx_cross
14751 cat > conftest.$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14755 #ifdef HAVE_IEEEFP_H
14756 #include <ieeefp.h>
14763 if { (eval echo configure:14764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14765 glibcpp_cv_func__fabsf_use=yes
14767 echo "configure: failed program was:" >&5
14768 cat conftest.$ac_ext >&5
14770 glibcpp_cv_func__fabsf_use=no
14774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14775 ac_cpp='$CPP $CPPFLAGS'
14776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14778 cross_compiling=$ac_cv_prog_cc_cross
14784 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14786 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14787 for ac_func in _fabsf
14789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14790 echo "configure:14791: checking for $ac_func" >&5
14791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 cat > conftest.$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 /* System header to define __stub macros and hopefully few prototypes,
14798 which can conflict with char $ac_func(); below. */
14799 #include <assert.h>
14800 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14807 /* The GNU C library defines this for functions which it implements
14808 to always fail with ENOSYS. Some functions are actually named
14809 something starting with __ and the normal name is an alias. */
14810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14818 if { (eval echo configure:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14820 eval "ac_cv_func_$ac_func=yes"
14822 echo "configure: failed program was:" >&5
14823 cat conftest.$ac_ext >&5
14825 eval "ac_cv_func_$ac_func=no"
14830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14831 echo "$ac_t""yes" 1>&6
14832 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14833 cat >> confdefs.h <<EOF
14834 #define $ac_tr_func 1
14838 echo "$ac_t""no" 1>&6
14847 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
14848 echo "configure:14849: checking for fmodf declaration" >&5
14849 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
14850 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
14851 echo $ac_n "(cached) $ac_c" 1>&6
14856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14857 ac_cpp='$CXXCPP $CPPFLAGS'
14858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14860 cross_compiling=$ac_cv_prog_cxx_cross
14862 cat > conftest.$ac_ext <<EOF
14863 #line 14864 "configure"
14864 #include "confdefs.h"
14870 if { (eval echo configure:14871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14872 glibcpp_cv_func_fmodf_use=yes
14874 echo "configure: failed program was:" >&5
14875 cat conftest.$ac_ext >&5
14877 glibcpp_cv_func_fmodf_use=no
14881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14882 ac_cpp='$CPP $CPPFLAGS'
14883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14885 cross_compiling=$ac_cv_prog_cc_cross
14891 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
14893 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
14894 for ac_func in fmodf
14896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14897 echo "configure:14898: checking for $ac_func" >&5
14898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14899 echo $ac_n "(cached) $ac_c" 1>&6
14901 cat > conftest.$ac_ext <<EOF
14902 #line 14903 "configure"
14903 #include "confdefs.h"
14904 /* System header to define __stub macros and hopefully few prototypes,
14905 which can conflict with char $ac_func(); below. */
14906 #include <assert.h>
14907 /* Override any gcc2 internal prototype to avoid an error. */
14908 /* We use char because int might match the return type of a gcc2
14909 builtin and then its argument prototype would still apply. */
14914 /* The GNU C library defines this for functions which it implements
14915 to always fail with ENOSYS. Some functions are actually named
14916 something starting with __ and the normal name is an alias. */
14917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14925 if { (eval echo configure:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14927 eval "ac_cv_func_$ac_func=yes"
14929 echo "configure: failed program was:" >&5
14930 cat conftest.$ac_ext >&5
14932 eval "ac_cv_func_$ac_func=no"
14937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14938 echo "$ac_t""yes" 1>&6
14939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14940 cat >> confdefs.h <<EOF
14941 #define $ac_tr_func 1
14945 echo "$ac_t""no" 1>&6
14951 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
14952 echo "configure:14953: checking for _fmodf declaration" >&5
14953 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14954 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14955 echo $ac_n "(cached) $ac_c" 1>&6
14960 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14961 ac_cpp='$CXXCPP $CPPFLAGS'
14962 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14963 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14964 cross_compiling=$ac_cv_prog_cxx_cross
14966 cat > conftest.$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14974 if { (eval echo configure:14975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14976 glibcpp_cv_func__fmodf_use=yes
14978 echo "configure: failed program was:" >&5
14979 cat conftest.$ac_ext >&5
14981 glibcpp_cv_func__fmodf_use=no
14985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14989 cross_compiling=$ac_cv_prog_cc_cross
14995 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14997 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14998 for ac_func in _fmodf
15000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15001 echo "configure:15002: checking for $ac_func" >&5
15002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15003 echo $ac_n "(cached) $ac_c" 1>&6
15005 cat > conftest.$ac_ext <<EOF
15006 #line 15007 "configure"
15007 #include "confdefs.h"
15008 /* System header to define __stub macros and hopefully few prototypes,
15009 which can conflict with char $ac_func(); below. */
15010 #include <assert.h>
15011 /* Override any gcc2 internal prototype to avoid an error. */
15012 /* We use char because int might match the return type of a gcc2
15013 builtin and then its argument prototype would still apply. */
15018 /* The GNU C library defines this for functions which it implements
15019 to always fail with ENOSYS. Some functions are actually named
15020 something starting with __ and the normal name is an alias. */
15021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15029 if { (eval echo configure:15030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15031 eval "ac_cv_func_$ac_func=yes"
15033 echo "configure: failed program was:" >&5
15034 cat conftest.$ac_ext >&5
15036 eval "ac_cv_func_$ac_func=no"
15041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15042 echo "$ac_t""yes" 1>&6
15043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15044 cat >> confdefs.h <<EOF
15045 #define $ac_tr_func 1
15049 echo "$ac_t""no" 1>&6
15058 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15059 echo "configure:15060: checking for frexpf declaration" >&5
15060 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15061 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15062 echo $ac_n "(cached) $ac_c" 1>&6
15067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15068 ac_cpp='$CXXCPP $CPPFLAGS'
15069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15071 cross_compiling=$ac_cv_prog_cxx_cross
15073 cat > conftest.$ac_ext <<EOF
15074 #line 15075 "configure"
15075 #include "confdefs.h"
15081 if { (eval echo configure:15082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15083 glibcpp_cv_func_frexpf_use=yes
15085 echo "configure: failed program was:" >&5
15086 cat conftest.$ac_ext >&5
15088 glibcpp_cv_func_frexpf_use=no
15092 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15095 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15096 cross_compiling=$ac_cv_prog_cc_cross
15102 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15104 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15105 for ac_func in frexpf
15107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15108 echo "configure:15109: checking for $ac_func" >&5
15109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15112 cat > conftest.$ac_ext <<EOF
15113 #line 15114 "configure"
15114 #include "confdefs.h"
15115 /* System header to define __stub macros and hopefully few prototypes,
15116 which can conflict with char $ac_func(); below. */
15117 #include <assert.h>
15118 /* Override any gcc2 internal prototype to avoid an error. */
15119 /* We use char because int might match the return type of a gcc2
15120 builtin and then its argument prototype would still apply. */
15125 /* The GNU C library defines this for functions which it implements
15126 to always fail with ENOSYS. Some functions are actually named
15127 something starting with __ and the normal name is an alias. */
15128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15136 if { (eval echo configure:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15138 eval "ac_cv_func_$ac_func=yes"
15140 echo "configure: failed program was:" >&5
15141 cat conftest.$ac_ext >&5
15143 eval "ac_cv_func_$ac_func=no"
15148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15149 echo "$ac_t""yes" 1>&6
15150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15151 cat >> confdefs.h <<EOF
15152 #define $ac_tr_func 1
15156 echo "$ac_t""no" 1>&6
15162 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15163 echo "configure:15164: checking for _frexpf declaration" >&5
15164 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15165 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15166 echo $ac_n "(cached) $ac_c" 1>&6
15171 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15172 ac_cpp='$CXXCPP $CPPFLAGS'
15173 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15174 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15175 cross_compiling=$ac_cv_prog_cxx_cross
15177 cat > conftest.$ac_ext <<EOF
15178 #line 15179 "configure"
15179 #include "confdefs.h"
15185 if { (eval echo configure:15186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15187 glibcpp_cv_func__frexpf_use=yes
15189 echo "configure: failed program was:" >&5
15190 cat conftest.$ac_ext >&5
15192 glibcpp_cv_func__frexpf_use=no
15196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15197 ac_cpp='$CPP $CPPFLAGS'
15198 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15199 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15200 cross_compiling=$ac_cv_prog_cc_cross
15206 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15208 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15209 for ac_func in _frexpf
15211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15212 echo "configure:15213: checking for $ac_func" >&5
15213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15214 echo $ac_n "(cached) $ac_c" 1>&6
15216 cat > conftest.$ac_ext <<EOF
15217 #line 15218 "configure"
15218 #include "confdefs.h"
15219 /* System header to define __stub macros and hopefully few prototypes,
15220 which can conflict with char $ac_func(); below. */
15221 #include <assert.h>
15222 /* Override any gcc2 internal prototype to avoid an error. */
15223 /* We use char because int might match the return type of a gcc2
15224 builtin and then its argument prototype would still apply. */
15229 /* The GNU C library defines this for functions which it implements
15230 to always fail with ENOSYS. Some functions are actually named
15231 something starting with __ and the normal name is an alias. */
15232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15240 if { (eval echo configure:15241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15242 eval "ac_cv_func_$ac_func=yes"
15244 echo "configure: failed program was:" >&5
15245 cat conftest.$ac_ext >&5
15247 eval "ac_cv_func_$ac_func=no"
15252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15253 echo "$ac_t""yes" 1>&6
15254 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15255 cat >> confdefs.h <<EOF
15256 #define $ac_tr_func 1
15260 echo "$ac_t""no" 1>&6
15269 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15270 echo "configure:15271: checking for hypotf declaration" >&5
15271 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15272 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15273 echo $ac_n "(cached) $ac_c" 1>&6
15278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15279 ac_cpp='$CXXCPP $CPPFLAGS'
15280 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15281 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15282 cross_compiling=$ac_cv_prog_cxx_cross
15284 cat > conftest.$ac_ext <<EOF
15285 #line 15286 "configure"
15286 #include "confdefs.h"
15292 if { (eval echo configure:15293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15294 glibcpp_cv_func_hypotf_use=yes
15296 echo "configure: failed program was:" >&5
15297 cat conftest.$ac_ext >&5
15299 glibcpp_cv_func_hypotf_use=no
15303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15306 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15307 cross_compiling=$ac_cv_prog_cc_cross
15313 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15315 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15316 for ac_func in hypotf
15318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15319 echo "configure:15320: checking for $ac_func" >&5
15320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15321 echo $ac_n "(cached) $ac_c" 1>&6
15323 cat > conftest.$ac_ext <<EOF
15324 #line 15325 "configure"
15325 #include "confdefs.h"
15326 /* System header to define __stub macros and hopefully few prototypes,
15327 which can conflict with char $ac_func(); below. */
15328 #include <assert.h>
15329 /* Override any gcc2 internal prototype to avoid an error. */
15330 /* We use char because int might match the return type of a gcc2
15331 builtin and then its argument prototype would still apply. */
15336 /* The GNU C library defines this for functions which it implements
15337 to always fail with ENOSYS. Some functions are actually named
15338 something starting with __ and the normal name is an alias. */
15339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15347 if { (eval echo configure:15348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15349 eval "ac_cv_func_$ac_func=yes"
15351 echo "configure: failed program was:" >&5
15352 cat conftest.$ac_ext >&5
15354 eval "ac_cv_func_$ac_func=no"
15359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15360 echo "$ac_t""yes" 1>&6
15361 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15362 cat >> confdefs.h <<EOF
15363 #define $ac_tr_func 1
15367 echo "$ac_t""no" 1>&6
15373 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15374 echo "configure:15375: checking for _hypotf declaration" >&5
15375 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15376 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15377 echo $ac_n "(cached) $ac_c" 1>&6
15382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15383 ac_cpp='$CXXCPP $CPPFLAGS'
15384 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15385 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15386 cross_compiling=$ac_cv_prog_cxx_cross
15388 cat > conftest.$ac_ext <<EOF
15389 #line 15390 "configure"
15390 #include "confdefs.h"
15396 if { (eval echo configure:15397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15398 glibcpp_cv_func__hypotf_use=yes
15400 echo "configure: failed program was:" >&5
15401 cat conftest.$ac_ext >&5
15403 glibcpp_cv_func__hypotf_use=no
15407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15408 ac_cpp='$CPP $CPPFLAGS'
15409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15411 cross_compiling=$ac_cv_prog_cc_cross
15417 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15419 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15420 for ac_func in _hypotf
15422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15423 echo "configure:15424: checking for $ac_func" >&5
15424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15425 echo $ac_n "(cached) $ac_c" 1>&6
15427 cat > conftest.$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15430 /* System header to define __stub macros and hopefully few prototypes,
15431 which can conflict with char $ac_func(); below. */
15432 #include <assert.h>
15433 /* Override any gcc2 internal prototype to avoid an error. */
15434 /* We use char because int might match the return type of a gcc2
15435 builtin and then its argument prototype would still apply. */
15440 /* The GNU C library defines this for functions which it implements
15441 to always fail with ENOSYS. Some functions are actually named
15442 something starting with __ and the normal name is an alias. */
15443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15451 if { (eval echo configure:15452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15453 eval "ac_cv_func_$ac_func=yes"
15455 echo "configure: failed program was:" >&5
15456 cat conftest.$ac_ext >&5
15458 eval "ac_cv_func_$ac_func=no"
15463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15464 echo "$ac_t""yes" 1>&6
15465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15466 cat >> confdefs.h <<EOF
15467 #define $ac_tr_func 1
15471 echo "$ac_t""no" 1>&6
15480 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15481 echo "configure:15482: checking for ldexpf declaration" >&5
15482 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15483 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15484 echo $ac_n "(cached) $ac_c" 1>&6
15489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15490 ac_cpp='$CXXCPP $CPPFLAGS'
15491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15493 cross_compiling=$ac_cv_prog_cxx_cross
15495 cat > conftest.$ac_ext <<EOF
15496 #line 15497 "configure"
15497 #include "confdefs.h"
15503 if { (eval echo configure:15504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15505 glibcpp_cv_func_ldexpf_use=yes
15507 echo "configure: failed program was:" >&5
15508 cat conftest.$ac_ext >&5
15510 glibcpp_cv_func_ldexpf_use=no
15514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15515 ac_cpp='$CPP $CPPFLAGS'
15516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15518 cross_compiling=$ac_cv_prog_cc_cross
15524 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15526 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15527 for ac_func in ldexpf
15529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15530 echo "configure:15531: checking for $ac_func" >&5
15531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15532 echo $ac_n "(cached) $ac_c" 1>&6
15534 cat > conftest.$ac_ext <<EOF
15535 #line 15536 "configure"
15536 #include "confdefs.h"
15537 /* System header to define __stub macros and hopefully few prototypes,
15538 which can conflict with char $ac_func(); below. */
15539 #include <assert.h>
15540 /* Override any gcc2 internal prototype to avoid an error. */
15541 /* We use char because int might match the return type of a gcc2
15542 builtin and then its argument prototype would still apply. */
15547 /* The GNU C library defines this for functions which it implements
15548 to always fail with ENOSYS. Some functions are actually named
15549 something starting with __ and the normal name is an alias. */
15550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15558 if { (eval echo configure:15559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15560 eval "ac_cv_func_$ac_func=yes"
15562 echo "configure: failed program was:" >&5
15563 cat conftest.$ac_ext >&5
15565 eval "ac_cv_func_$ac_func=no"
15570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15571 echo "$ac_t""yes" 1>&6
15572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15573 cat >> confdefs.h <<EOF
15574 #define $ac_tr_func 1
15578 echo "$ac_t""no" 1>&6
15584 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15585 echo "configure:15586: checking for _ldexpf declaration" >&5
15586 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15587 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15588 echo $ac_n "(cached) $ac_c" 1>&6
15593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15594 ac_cpp='$CXXCPP $CPPFLAGS'
15595 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15596 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15597 cross_compiling=$ac_cv_prog_cxx_cross
15599 cat > conftest.$ac_ext <<EOF
15600 #line 15601 "configure"
15601 #include "confdefs.h"
15607 if { (eval echo configure:15608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15609 glibcpp_cv_func__ldexpf_use=yes
15611 echo "configure: failed program was:" >&5
15612 cat conftest.$ac_ext >&5
15614 glibcpp_cv_func__ldexpf_use=no
15618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15619 ac_cpp='$CPP $CPPFLAGS'
15620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15622 cross_compiling=$ac_cv_prog_cc_cross
15628 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15630 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15631 for ac_func in _ldexpf
15633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15634 echo "configure:15635: checking for $ac_func" >&5
15635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15636 echo $ac_n "(cached) $ac_c" 1>&6
15638 cat > conftest.$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15641 /* System header to define __stub macros and hopefully few prototypes,
15642 which can conflict with char $ac_func(); below. */
15643 #include <assert.h>
15644 /* Override any gcc2 internal prototype to avoid an error. */
15645 /* We use char because int might match the return type of a gcc2
15646 builtin and then its argument prototype would still apply. */
15651 /* The GNU C library defines this for functions which it implements
15652 to always fail with ENOSYS. Some functions are actually named
15653 something starting with __ and the normal name is an alias. */
15654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15662 if { (eval echo configure:15663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15664 eval "ac_cv_func_$ac_func=yes"
15666 echo "configure: failed program was:" >&5
15667 cat conftest.$ac_ext >&5
15669 eval "ac_cv_func_$ac_func=no"
15674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15675 echo "$ac_t""yes" 1>&6
15676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15677 cat >> confdefs.h <<EOF
15678 #define $ac_tr_func 1
15682 echo "$ac_t""no" 1>&6
15691 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15692 echo "configure:15693: checking for logf declaration" >&5
15693 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15694 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15695 echo $ac_n "(cached) $ac_c" 1>&6
15700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15704 cross_compiling=$ac_cv_prog_cxx_cross
15706 cat > conftest.$ac_ext <<EOF
15707 #line 15708 "configure"
15708 #include "confdefs.h"
15710 #ifdef HAVE_IEEEFP_H
15711 #include <ieeefp.h>
15718 if { (eval echo configure:15719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15720 glibcpp_cv_func_logf_use=yes
15722 echo "configure: failed program was:" >&5
15723 cat conftest.$ac_ext >&5
15725 glibcpp_cv_func_logf_use=no
15729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15730 ac_cpp='$CPP $CPPFLAGS'
15731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15733 cross_compiling=$ac_cv_prog_cc_cross
15739 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15741 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15742 for ac_func in logf
15744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15745 echo "configure:15746: checking for $ac_func" >&5
15746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15747 echo $ac_n "(cached) $ac_c" 1>&6
15749 cat > conftest.$ac_ext <<EOF
15750 #line 15751 "configure"
15751 #include "confdefs.h"
15752 /* System header to define __stub macros and hopefully few prototypes,
15753 which can conflict with char $ac_func(); below. */
15754 #include <assert.h>
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 /* We use char because int might match the return type of a gcc2
15757 builtin and then its argument prototype would still apply. */
15762 /* The GNU C library defines this for functions which it implements
15763 to always fail with ENOSYS. Some functions are actually named
15764 something starting with __ and the normal name is an alias. */
15765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15773 if { (eval echo configure:15774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15775 eval "ac_cv_func_$ac_func=yes"
15777 echo "configure: failed program was:" >&5
15778 cat conftest.$ac_ext >&5
15780 eval "ac_cv_func_$ac_func=no"
15785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15786 echo "$ac_t""yes" 1>&6
15787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15788 cat >> confdefs.h <<EOF
15789 #define $ac_tr_func 1
15793 echo "$ac_t""no" 1>&6
15799 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15800 echo "configure:15801: checking for _logf declaration" >&5
15801 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15802 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15803 echo $ac_n "(cached) $ac_c" 1>&6
15808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15809 ac_cpp='$CXXCPP $CPPFLAGS'
15810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15812 cross_compiling=$ac_cv_prog_cxx_cross
15814 cat > conftest.$ac_ext <<EOF
15815 #line 15816 "configure"
15816 #include "confdefs.h"
15818 #ifdef HAVE_IEEEFP_H
15819 #include <ieeefp.h>
15826 if { (eval echo configure:15827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15828 glibcpp_cv_func__logf_use=yes
15830 echo "configure: failed program was:" >&5
15831 cat conftest.$ac_ext >&5
15833 glibcpp_cv_func__logf_use=no
15837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15841 cross_compiling=$ac_cv_prog_cc_cross
15847 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15849 if test x$glibcpp_cv_func__logf_use = x"yes"; then
15850 for ac_func in _logf
15852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15853 echo "configure:15854: checking for $ac_func" >&5
15854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15855 echo $ac_n "(cached) $ac_c" 1>&6
15857 cat > conftest.$ac_ext <<EOF
15858 #line 15859 "configure"
15859 #include "confdefs.h"
15860 /* System header to define __stub macros and hopefully few prototypes,
15861 which can conflict with char $ac_func(); below. */
15862 #include <assert.h>
15863 /* Override any gcc2 internal prototype to avoid an error. */
15864 /* We use char because int might match the return type of a gcc2
15865 builtin and then its argument prototype would still apply. */
15870 /* The GNU C library defines this for functions which it implements
15871 to always fail with ENOSYS. Some functions are actually named
15872 something starting with __ and the normal name is an alias. */
15873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15881 if { (eval echo configure:15882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15883 eval "ac_cv_func_$ac_func=yes"
15885 echo "configure: failed program was:" >&5
15886 cat conftest.$ac_ext >&5
15888 eval "ac_cv_func_$ac_func=no"
15893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15894 echo "$ac_t""yes" 1>&6
15895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15896 cat >> confdefs.h <<EOF
15897 #define $ac_tr_func 1
15901 echo "$ac_t""no" 1>&6
15910 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
15911 echo "configure:15912: checking for log10f declaration" >&5
15912 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15913 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15914 echo $ac_n "(cached) $ac_c" 1>&6
15919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15920 ac_cpp='$CXXCPP $CPPFLAGS'
15921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15923 cross_compiling=$ac_cv_prog_cxx_cross
15925 cat > conftest.$ac_ext <<EOF
15926 #line 15927 "configure"
15927 #include "confdefs.h"
15929 #ifdef HAVE_IEEEFP_H
15930 #include <ieeefp.h>
15937 if { (eval echo configure:15938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15939 glibcpp_cv_func_log10f_use=yes
15941 echo "configure: failed program was:" >&5
15942 cat conftest.$ac_ext >&5
15944 glibcpp_cv_func_log10f_use=no
15948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15951 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15952 cross_compiling=$ac_cv_prog_cc_cross
15958 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15960 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15961 for ac_func in log10f
15963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15964 echo "configure:15965: checking for $ac_func" >&5
15965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15966 echo $ac_n "(cached) $ac_c" 1>&6
15968 cat > conftest.$ac_ext <<EOF
15969 #line 15970 "configure"
15970 #include "confdefs.h"
15971 /* System header to define __stub macros and hopefully few prototypes,
15972 which can conflict with char $ac_func(); below. */
15973 #include <assert.h>
15974 /* Override any gcc2 internal prototype to avoid an error. */
15975 /* We use char because int might match the return type of a gcc2
15976 builtin and then its argument prototype would still apply. */
15981 /* The GNU C library defines this for functions which it implements
15982 to always fail with ENOSYS. Some functions are actually named
15983 something starting with __ and the normal name is an alias. */
15984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15992 if { (eval echo configure:15993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15994 eval "ac_cv_func_$ac_func=yes"
15996 echo "configure: failed program was:" >&5
15997 cat conftest.$ac_ext >&5
15999 eval "ac_cv_func_$ac_func=no"
16004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16005 echo "$ac_t""yes" 1>&6
16006 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16007 cat >> confdefs.h <<EOF
16008 #define $ac_tr_func 1
16012 echo "$ac_t""no" 1>&6
16018 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16019 echo "configure:16020: checking for _log10f declaration" >&5
16020 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16021 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16022 echo $ac_n "(cached) $ac_c" 1>&6
16027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16028 ac_cpp='$CXXCPP $CPPFLAGS'
16029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16031 cross_compiling=$ac_cv_prog_cxx_cross
16033 cat > conftest.$ac_ext <<EOF
16034 #line 16035 "configure"
16035 #include "confdefs.h"
16037 #ifdef HAVE_IEEEFP_H
16038 #include <ieeefp.h>
16045 if { (eval echo configure:16046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16047 glibcpp_cv_func__log10f_use=yes
16049 echo "configure: failed program was:" >&5
16050 cat conftest.$ac_ext >&5
16052 glibcpp_cv_func__log10f_use=no
16056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16060 cross_compiling=$ac_cv_prog_cc_cross
16066 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16068 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16069 for ac_func in _log10f
16071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16072 echo "configure:16073: checking for $ac_func" >&5
16073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16074 echo $ac_n "(cached) $ac_c" 1>&6
16076 cat > conftest.$ac_ext <<EOF
16077 #line 16078 "configure"
16078 #include "confdefs.h"
16079 /* System header to define __stub macros and hopefully few prototypes,
16080 which can conflict with char $ac_func(); below. */
16081 #include <assert.h>
16082 /* Override any gcc2 internal prototype to avoid an error. */
16083 /* We use char because int might match the return type of a gcc2
16084 builtin and then its argument prototype would still apply. */
16089 /* The GNU C library defines this for functions which it implements
16090 to always fail with ENOSYS. Some functions are actually named
16091 something starting with __ and the normal name is an alias. */
16092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16100 if { (eval echo configure:16101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16102 eval "ac_cv_func_$ac_func=yes"
16104 echo "configure: failed program was:" >&5
16105 cat conftest.$ac_ext >&5
16107 eval "ac_cv_func_$ac_func=no"
16112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16113 echo "$ac_t""yes" 1>&6
16114 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16115 cat >> confdefs.h <<EOF
16116 #define $ac_tr_func 1
16120 echo "$ac_t""no" 1>&6
16129 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16130 echo "configure:16131: checking for modff declaration" >&5
16131 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16132 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16133 echo $ac_n "(cached) $ac_c" 1>&6
16138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16139 ac_cpp='$CXXCPP $CPPFLAGS'
16140 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16141 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16142 cross_compiling=$ac_cv_prog_cxx_cross
16144 cat > conftest.$ac_ext <<EOF
16145 #line 16146 "configure"
16146 #include "confdefs.h"
16152 if { (eval echo configure:16153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16154 glibcpp_cv_func_modff_use=yes
16156 echo "configure: failed program was:" >&5
16157 cat conftest.$ac_ext >&5
16159 glibcpp_cv_func_modff_use=no
16163 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16166 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16167 cross_compiling=$ac_cv_prog_cc_cross
16173 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16175 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16176 for ac_func in modff
16178 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16179 echo "configure:16180: checking for $ac_func" >&5
16180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16181 echo $ac_n "(cached) $ac_c" 1>&6
16183 cat > conftest.$ac_ext <<EOF
16184 #line 16185 "configure"
16185 #include "confdefs.h"
16186 /* System header to define __stub macros and hopefully few prototypes,
16187 which can conflict with char $ac_func(); below. */
16188 #include <assert.h>
16189 /* Override any gcc2 internal prototype to avoid an error. */
16190 /* We use char because int might match the return type of a gcc2
16191 builtin and then its argument prototype would still apply. */
16196 /* The GNU C library defines this for functions which it implements
16197 to always fail with ENOSYS. Some functions are actually named
16198 something starting with __ and the normal name is an alias. */
16199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16207 if { (eval echo configure:16208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16209 eval "ac_cv_func_$ac_func=yes"
16211 echo "configure: failed program was:" >&5
16212 cat conftest.$ac_ext >&5
16214 eval "ac_cv_func_$ac_func=no"
16219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16220 echo "$ac_t""yes" 1>&6
16221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16222 cat >> confdefs.h <<EOF
16223 #define $ac_tr_func 1
16227 echo "$ac_t""no" 1>&6
16233 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16234 echo "configure:16235: checking for _modff declaration" >&5
16235 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16236 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16237 echo $ac_n "(cached) $ac_c" 1>&6
16242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16243 ac_cpp='$CXXCPP $CPPFLAGS'
16244 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16245 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16246 cross_compiling=$ac_cv_prog_cxx_cross
16248 cat > conftest.$ac_ext <<EOF
16249 #line 16250 "configure"
16250 #include "confdefs.h"
16256 if { (eval echo configure:16257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16258 glibcpp_cv_func__modff_use=yes
16260 echo "configure: failed program was:" >&5
16261 cat conftest.$ac_ext >&5
16263 glibcpp_cv_func__modff_use=no
16267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16271 cross_compiling=$ac_cv_prog_cc_cross
16277 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16279 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16280 for ac_func in _modff
16282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16283 echo "configure:16284: checking for $ac_func" >&5
16284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16285 echo $ac_n "(cached) $ac_c" 1>&6
16287 cat > conftest.$ac_ext <<EOF
16288 #line 16289 "configure"
16289 #include "confdefs.h"
16290 /* System header to define __stub macros and hopefully few prototypes,
16291 which can conflict with char $ac_func(); below. */
16292 #include <assert.h>
16293 /* Override any gcc2 internal prototype to avoid an error. */
16294 /* We use char because int might match the return type of a gcc2
16295 builtin and then its argument prototype would still apply. */
16300 /* The GNU C library defines this for functions which it implements
16301 to always fail with ENOSYS. Some functions are actually named
16302 something starting with __ and the normal name is an alias. */
16303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16311 if { (eval echo configure:16312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16313 eval "ac_cv_func_$ac_func=yes"
16315 echo "configure: failed program was:" >&5
16316 cat conftest.$ac_ext >&5
16318 eval "ac_cv_func_$ac_func=no"
16323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16324 echo "$ac_t""yes" 1>&6
16325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16326 cat >> confdefs.h <<EOF
16327 #define $ac_tr_func 1
16331 echo "$ac_t""no" 1>&6
16340 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16341 echo "configure:16342: checking for powf declaration" >&5
16342 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16343 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16344 echo $ac_n "(cached) $ac_c" 1>&6
16349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16350 ac_cpp='$CXXCPP $CPPFLAGS'
16351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16353 cross_compiling=$ac_cv_prog_cxx_cross
16355 cat > conftest.$ac_ext <<EOF
16356 #line 16357 "configure"
16357 #include "confdefs.h"
16363 if { (eval echo configure:16364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16365 glibcpp_cv_func_powf_use=yes
16367 echo "configure: failed program was:" >&5
16368 cat conftest.$ac_ext >&5
16370 glibcpp_cv_func_powf_use=no
16374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16375 ac_cpp='$CPP $CPPFLAGS'
16376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16378 cross_compiling=$ac_cv_prog_cc_cross
16384 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16386 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16387 for ac_func in powf
16389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16390 echo "configure:16391: checking for $ac_func" >&5
16391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16392 echo $ac_n "(cached) $ac_c" 1>&6
16394 cat > conftest.$ac_ext <<EOF
16395 #line 16396 "configure"
16396 #include "confdefs.h"
16397 /* System header to define __stub macros and hopefully few prototypes,
16398 which can conflict with char $ac_func(); below. */
16399 #include <assert.h>
16400 /* Override any gcc2 internal prototype to avoid an error. */
16401 /* We use char because int might match the return type of a gcc2
16402 builtin and then its argument prototype would still apply. */
16407 /* The GNU C library defines this for functions which it implements
16408 to always fail with ENOSYS. Some functions are actually named
16409 something starting with __ and the normal name is an alias. */
16410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16418 if { (eval echo configure:16419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16420 eval "ac_cv_func_$ac_func=yes"
16422 echo "configure: failed program was:" >&5
16423 cat conftest.$ac_ext >&5
16425 eval "ac_cv_func_$ac_func=no"
16430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16431 echo "$ac_t""yes" 1>&6
16432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16433 cat >> confdefs.h <<EOF
16434 #define $ac_tr_func 1
16438 echo "$ac_t""no" 1>&6
16444 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16445 echo "configure:16446: checking for _powf declaration" >&5
16446 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16447 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16448 echo $ac_n "(cached) $ac_c" 1>&6
16453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16454 ac_cpp='$CXXCPP $CPPFLAGS'
16455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16457 cross_compiling=$ac_cv_prog_cxx_cross
16459 cat > conftest.$ac_ext <<EOF
16460 #line 16461 "configure"
16461 #include "confdefs.h"
16467 if { (eval echo configure:16468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16469 glibcpp_cv_func__powf_use=yes
16471 echo "configure: failed program was:" >&5
16472 cat conftest.$ac_ext >&5
16474 glibcpp_cv_func__powf_use=no
16478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16479 ac_cpp='$CPP $CPPFLAGS'
16480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16482 cross_compiling=$ac_cv_prog_cc_cross
16488 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16490 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16491 for ac_func in _powf
16493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16494 echo "configure:16495: checking for $ac_func" >&5
16495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16496 echo $ac_n "(cached) $ac_c" 1>&6
16498 cat > conftest.$ac_ext <<EOF
16499 #line 16500 "configure"
16500 #include "confdefs.h"
16501 /* System header to define __stub macros and hopefully few prototypes,
16502 which can conflict with char $ac_func(); below. */
16503 #include <assert.h>
16504 /* Override any gcc2 internal prototype to avoid an error. */
16505 /* We use char because int might match the return type of a gcc2
16506 builtin and then its argument prototype would still apply. */
16511 /* The GNU C library defines this for functions which it implements
16512 to always fail with ENOSYS. Some functions are actually named
16513 something starting with __ and the normal name is an alias. */
16514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16522 if { (eval echo configure:16523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16524 eval "ac_cv_func_$ac_func=yes"
16526 echo "configure: failed program was:" >&5
16527 cat conftest.$ac_ext >&5
16529 eval "ac_cv_func_$ac_func=no"
16534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16535 echo "$ac_t""yes" 1>&6
16536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16537 cat >> confdefs.h <<EOF
16538 #define $ac_tr_func 1
16542 echo "$ac_t""no" 1>&6
16551 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16552 echo "configure:16553: checking for sqrtf declaration" >&5
16553 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16554 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16555 echo $ac_n "(cached) $ac_c" 1>&6
16560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16564 cross_compiling=$ac_cv_prog_cxx_cross
16566 cat > conftest.$ac_ext <<EOF
16567 #line 16568 "configure"
16568 #include "confdefs.h"
16570 #ifdef HAVE_IEEEFP_H
16571 #include <ieeefp.h>
16578 if { (eval echo configure:16579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16580 glibcpp_cv_func_sqrtf_use=yes
16582 echo "configure: failed program was:" >&5
16583 cat conftest.$ac_ext >&5
16585 glibcpp_cv_func_sqrtf_use=no
16589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16590 ac_cpp='$CPP $CPPFLAGS'
16591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16593 cross_compiling=$ac_cv_prog_cc_cross
16599 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16601 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16602 for ac_func in sqrtf
16604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16605 echo "configure:16606: checking for $ac_func" >&5
16606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16607 echo $ac_n "(cached) $ac_c" 1>&6
16609 cat > conftest.$ac_ext <<EOF
16610 #line 16611 "configure"
16611 #include "confdefs.h"
16612 /* System header to define __stub macros and hopefully few prototypes,
16613 which can conflict with char $ac_func(); below. */
16614 #include <assert.h>
16615 /* Override any gcc2 internal prototype to avoid an error. */
16616 /* We use char because int might match the return type of a gcc2
16617 builtin and then its argument prototype would still apply. */
16622 /* The GNU C library defines this for functions which it implements
16623 to always fail with ENOSYS. Some functions are actually named
16624 something starting with __ and the normal name is an alias. */
16625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16633 if { (eval echo configure:16634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16635 eval "ac_cv_func_$ac_func=yes"
16637 echo "configure: failed program was:" >&5
16638 cat conftest.$ac_ext >&5
16640 eval "ac_cv_func_$ac_func=no"
16645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16646 echo "$ac_t""yes" 1>&6
16647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16648 cat >> confdefs.h <<EOF
16649 #define $ac_tr_func 1
16653 echo "$ac_t""no" 1>&6
16659 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16660 echo "configure:16661: checking for _sqrtf declaration" >&5
16661 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16662 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16663 echo $ac_n "(cached) $ac_c" 1>&6
16668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16669 ac_cpp='$CXXCPP $CPPFLAGS'
16670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16672 cross_compiling=$ac_cv_prog_cxx_cross
16674 cat > conftest.$ac_ext <<EOF
16675 #line 16676 "configure"
16676 #include "confdefs.h"
16678 #ifdef HAVE_IEEEFP_H
16679 #include <ieeefp.h>
16686 if { (eval echo configure:16687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16688 glibcpp_cv_func__sqrtf_use=yes
16690 echo "configure: failed program was:" >&5
16691 cat conftest.$ac_ext >&5
16693 glibcpp_cv_func__sqrtf_use=no
16697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16698 ac_cpp='$CPP $CPPFLAGS'
16699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16701 cross_compiling=$ac_cv_prog_cc_cross
16707 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16709 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16710 for ac_func in _sqrtf
16712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16713 echo "configure:16714: checking for $ac_func" >&5
16714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16715 echo $ac_n "(cached) $ac_c" 1>&6
16717 cat > conftest.$ac_ext <<EOF
16718 #line 16719 "configure"
16719 #include "confdefs.h"
16720 /* System header to define __stub macros and hopefully few prototypes,
16721 which can conflict with char $ac_func(); below. */
16722 #include <assert.h>
16723 /* Override any gcc2 internal prototype to avoid an error. */
16724 /* We use char because int might match the return type of a gcc2
16725 builtin and then its argument prototype would still apply. */
16730 /* The GNU C library defines this for functions which it implements
16731 to always fail with ENOSYS. Some functions are actually named
16732 something starting with __ and the normal name is an alias. */
16733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16741 if { (eval echo configure:16742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16743 eval "ac_cv_func_$ac_func=yes"
16745 echo "configure: failed program was:" >&5
16746 cat conftest.$ac_ext >&5
16748 eval "ac_cv_func_$ac_func=no"
16753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16754 echo "$ac_t""yes" 1>&6
16755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16756 cat >> confdefs.h <<EOF
16757 #define $ac_tr_func 1
16761 echo "$ac_t""no" 1>&6
16770 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16771 echo "configure:16772: checking for sincosf declaration" >&5
16772 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16773 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16774 echo $ac_n "(cached) $ac_c" 1>&6
16779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16780 ac_cpp='$CXXCPP $CPPFLAGS'
16781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16783 cross_compiling=$ac_cv_prog_cxx_cross
16785 cat > conftest.$ac_ext <<EOF
16786 #line 16787 "configure"
16787 #include "confdefs.h"
16793 if { (eval echo configure:16794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16795 glibcpp_cv_func_sincosf_use=yes
16797 echo "configure: failed program was:" >&5
16798 cat conftest.$ac_ext >&5
16800 glibcpp_cv_func_sincosf_use=no
16804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16805 ac_cpp='$CPP $CPPFLAGS'
16806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16808 cross_compiling=$ac_cv_prog_cc_cross
16814 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16816 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16817 for ac_func in sincosf
16819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16820 echo "configure:16821: checking for $ac_func" >&5
16821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16822 echo $ac_n "(cached) $ac_c" 1>&6
16824 cat > conftest.$ac_ext <<EOF
16825 #line 16826 "configure"
16826 #include "confdefs.h"
16827 /* System header to define __stub macros and hopefully few prototypes,
16828 which can conflict with char $ac_func(); below. */
16829 #include <assert.h>
16830 /* Override any gcc2 internal prototype to avoid an error. */
16831 /* We use char because int might match the return type of a gcc2
16832 builtin and then its argument prototype would still apply. */
16837 /* The GNU C library defines this for functions which it implements
16838 to always fail with ENOSYS. Some functions are actually named
16839 something starting with __ and the normal name is an alias. */
16840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16848 if { (eval echo configure:16849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16850 eval "ac_cv_func_$ac_func=yes"
16852 echo "configure: failed program was:" >&5
16853 cat conftest.$ac_ext >&5
16855 eval "ac_cv_func_$ac_func=no"
16860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16861 echo "$ac_t""yes" 1>&6
16862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16863 cat >> confdefs.h <<EOF
16864 #define $ac_tr_func 1
16868 echo "$ac_t""no" 1>&6
16874 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
16875 echo "configure:16876: checking for _sincosf declaration" >&5
16876 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
16877 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
16878 echo $ac_n "(cached) $ac_c" 1>&6
16883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16884 ac_cpp='$CXXCPP $CPPFLAGS'
16885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16887 cross_compiling=$ac_cv_prog_cxx_cross
16889 cat > conftest.$ac_ext <<EOF
16890 #line 16891 "configure"
16891 #include "confdefs.h"
16897 if { (eval echo configure:16898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16899 glibcpp_cv_func__sincosf_use=yes
16901 echo "configure: failed program was:" >&5
16902 cat conftest.$ac_ext >&5
16904 glibcpp_cv_func__sincosf_use=no
16908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16909 ac_cpp='$CPP $CPPFLAGS'
16910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16912 cross_compiling=$ac_cv_prog_cc_cross
16918 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16920 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16921 for ac_func in _sincosf
16923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16924 echo "configure:16925: checking for $ac_func" >&5
16925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16926 echo $ac_n "(cached) $ac_c" 1>&6
16928 cat > conftest.$ac_ext <<EOF
16929 #line 16930 "configure"
16930 #include "confdefs.h"
16931 /* System header to define __stub macros and hopefully few prototypes,
16932 which can conflict with char $ac_func(); below. */
16933 #include <assert.h>
16934 /* Override any gcc2 internal prototype to avoid an error. */
16935 /* We use char because int might match the return type of a gcc2
16936 builtin and then its argument prototype would still apply. */
16941 /* The GNU C library defines this for functions which it implements
16942 to always fail with ENOSYS. Some functions are actually named
16943 something starting with __ and the normal name is an alias. */
16944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16952 if { (eval echo configure:16953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16954 eval "ac_cv_func_$ac_func=yes"
16956 echo "configure: failed program was:" >&5
16957 cat conftest.$ac_ext >&5
16959 eval "ac_cv_func_$ac_func=no"
16964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16965 echo "$ac_t""yes" 1>&6
16966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16967 cat >> confdefs.h <<EOF
16968 #define $ac_tr_func 1
16972 echo "$ac_t""no" 1>&6
16981 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
16982 echo "configure:16983: checking for finitef declaration" >&5
16983 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16984 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16985 echo $ac_n "(cached) $ac_c" 1>&6
16990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16991 ac_cpp='$CXXCPP $CPPFLAGS'
16992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16994 cross_compiling=$ac_cv_prog_cxx_cross
16996 cat > conftest.$ac_ext <<EOF
16997 #line 16998 "configure"
16998 #include "confdefs.h"
17000 #ifdef HAVE_IEEEFP_H
17001 #include <ieeefp.h>
17008 if { (eval echo configure:17009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17010 glibcpp_cv_func_finitef_use=yes
17012 echo "configure: failed program was:" >&5
17013 cat conftest.$ac_ext >&5
17015 glibcpp_cv_func_finitef_use=no
17019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17020 ac_cpp='$CPP $CPPFLAGS'
17021 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17022 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17023 cross_compiling=$ac_cv_prog_cc_cross
17029 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17031 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17032 for ac_func in finitef
17034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17035 echo "configure:17036: checking for $ac_func" >&5
17036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17037 echo $ac_n "(cached) $ac_c" 1>&6
17039 cat > conftest.$ac_ext <<EOF
17040 #line 17041 "configure"
17041 #include "confdefs.h"
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char $ac_func(); below. */
17044 #include <assert.h>
17045 /* Override any gcc2 internal prototype to avoid an error. */
17046 /* We use char because int might match the return type of a gcc2
17047 builtin and then its argument prototype would still apply. */
17052 /* The GNU C library defines this for functions which it implements
17053 to always fail with ENOSYS. Some functions are actually named
17054 something starting with __ and the normal name is an alias. */
17055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17063 if { (eval echo configure:17064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17065 eval "ac_cv_func_$ac_func=yes"
17067 echo "configure: failed program was:" >&5
17068 cat conftest.$ac_ext >&5
17070 eval "ac_cv_func_$ac_func=no"
17075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17076 echo "$ac_t""yes" 1>&6
17077 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17078 cat >> confdefs.h <<EOF
17079 #define $ac_tr_func 1
17083 echo "$ac_t""no" 1>&6
17089 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17090 echo "configure:17091: checking for _finitef declaration" >&5
17091 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17092 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17093 echo $ac_n "(cached) $ac_c" 1>&6
17098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17099 ac_cpp='$CXXCPP $CPPFLAGS'
17100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17102 cross_compiling=$ac_cv_prog_cxx_cross
17104 cat > conftest.$ac_ext <<EOF
17105 #line 17106 "configure"
17106 #include "confdefs.h"
17108 #ifdef HAVE_IEEEFP_H
17109 #include <ieeefp.h>
17116 if { (eval echo configure:17117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17118 glibcpp_cv_func__finitef_use=yes
17120 echo "configure: failed program was:" >&5
17121 cat conftest.$ac_ext >&5
17123 glibcpp_cv_func__finitef_use=no
17127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17130 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17131 cross_compiling=$ac_cv_prog_cc_cross
17137 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17139 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17140 for ac_func in _finitef
17142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17143 echo "configure:17144: checking for $ac_func" >&5
17144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17145 echo $ac_n "(cached) $ac_c" 1>&6
17147 cat > conftest.$ac_ext <<EOF
17148 #line 17149 "configure"
17149 #include "confdefs.h"
17150 /* System header to define __stub macros and hopefully few prototypes,
17151 which can conflict with char $ac_func(); below. */
17152 #include <assert.h>
17153 /* Override any gcc2 internal prototype to avoid an error. */
17154 /* We use char because int might match the return type of a gcc2
17155 builtin and then its argument prototype would still apply. */
17160 /* The GNU C library defines this for functions which it implements
17161 to always fail with ENOSYS. Some functions are actually named
17162 something starting with __ and the normal name is an alias. */
17163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 if { (eval echo configure:17172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17173 eval "ac_cv_func_$ac_func=yes"
17175 echo "configure: failed program was:" >&5
17176 cat conftest.$ac_ext >&5
17178 eval "ac_cv_func_$ac_func=no"
17183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17184 echo "$ac_t""yes" 1>&6
17185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17186 cat >> confdefs.h <<EOF
17187 #define $ac_tr_func 1
17191 echo "$ac_t""no" 1>&6
17200 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17201 echo "configure:17202: checking for long double trig functions" >&5
17202 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17203 echo $ac_n "(cached) $ac_c" 1>&6
17208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17209 ac_cpp='$CXXCPP $CPPFLAGS'
17210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17212 cross_compiling=$ac_cv_prog_cxx_cross
17214 cat > conftest.$ac_ext <<EOF
17215 #line 17216 "configure"
17216 #include "confdefs.h"
17219 `for x in acosl asinl atanl \
17221 coshl sinhl tanhl; do echo "$x (0);"; done`
17224 if { (eval echo configure:17225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17226 glibcpp_cv_func_long_double_trig_use=yes
17228 echo "configure: failed program was:" >&5
17229 cat conftest.$ac_ext >&5
17231 glibcpp_cv_func_long_double_trig_use=no
17235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17238 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17239 cross_compiling=$ac_cv_prog_cc_cross
17243 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17244 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17245 for ac_func in acosl asinl atanl \
17249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17250 echo "configure:17251: checking for $ac_func" >&5
17251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17252 echo $ac_n "(cached) $ac_c" 1>&6
17254 cat > conftest.$ac_ext <<EOF
17255 #line 17256 "configure"
17256 #include "confdefs.h"
17257 /* System header to define __stub macros and hopefully few prototypes,
17258 which can conflict with char $ac_func(); below. */
17259 #include <assert.h>
17260 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17267 /* The GNU C library defines this for functions which it implements
17268 to always fail with ENOSYS. Some functions are actually named
17269 something starting with __ and the normal name is an alias. */
17270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17278 if { (eval echo configure:17279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17280 eval "ac_cv_func_$ac_func=yes"
17282 echo "configure: failed program was:" >&5
17283 cat conftest.$ac_ext >&5
17285 eval "ac_cv_func_$ac_func=no"
17290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17291 echo "$ac_t""yes" 1>&6
17292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17293 cat >> confdefs.h <<EOF
17294 #define $ac_tr_func 1
17298 echo "$ac_t""no" 1>&6
17305 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17306 echo "configure:17307: checking for long double round functions" >&5
17307 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17308 echo $ac_n "(cached) $ac_c" 1>&6
17313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17314 ac_cpp='$CXXCPP $CPPFLAGS'
17315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17317 cross_compiling=$ac_cv_prog_cxx_cross
17319 cat > conftest.$ac_ext <<EOF
17320 #line 17321 "configure"
17321 #include "confdefs.h"
17324 `for x in ceill floorl; do echo "$x (0);"; done`
17327 if { (eval echo configure:17328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17329 glibcpp_cv_func_long_double_round_use=yes
17331 echo "configure: failed program was:" >&5
17332 cat conftest.$ac_ext >&5
17334 glibcpp_cv_func_long_double_round_use=no
17338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17339 ac_cpp='$CPP $CPPFLAGS'
17340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17342 cross_compiling=$ac_cv_prog_cc_cross
17346 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17347 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17348 for ac_func in ceill floorl
17350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17351 echo "configure:17352: checking for $ac_func" >&5
17352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17353 echo $ac_n "(cached) $ac_c" 1>&6
17355 cat > conftest.$ac_ext <<EOF
17356 #line 17357 "configure"
17357 #include "confdefs.h"
17358 /* System header to define __stub macros and hopefully few prototypes,
17359 which can conflict with char $ac_func(); below. */
17360 #include <assert.h>
17361 /* Override any gcc2 internal prototype to avoid an error. */
17362 /* We use char because int might match the return type of a gcc2
17363 builtin and then its argument prototype would still apply. */
17368 /* The GNU C library defines this for functions which it implements
17369 to always fail with ENOSYS. Some functions are actually named
17370 something starting with __ and the normal name is an alias. */
17371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17379 if { (eval echo configure:17380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17381 eval "ac_cv_func_$ac_func=yes"
17383 echo "configure: failed program was:" >&5
17384 cat conftest.$ac_ext >&5
17386 eval "ac_cv_func_$ac_func=no"
17391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17392 echo "$ac_t""yes" 1>&6
17393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17394 cat >> confdefs.h <<EOF
17395 #define $ac_tr_func 1
17399 echo "$ac_t""no" 1>&6
17407 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17408 echo "configure:17409: checking for isnanl declaration" >&5
17409 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17410 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17411 echo $ac_n "(cached) $ac_c" 1>&6
17416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17417 ac_cpp='$CXXCPP $CPPFLAGS'
17418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17420 cross_compiling=$ac_cv_prog_cxx_cross
17422 cat > conftest.$ac_ext <<EOF
17423 #line 17424 "configure"
17424 #include "confdefs.h"
17426 #ifdef HAVE_IEEEFP_H
17427 #include <ieeefp.h>
17434 if { (eval echo configure:17435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17436 glibcpp_cv_func_isnanl_use=yes
17438 echo "configure: failed program was:" >&5
17439 cat conftest.$ac_ext >&5
17441 glibcpp_cv_func_isnanl_use=no
17445 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17446 ac_cpp='$CPP $CPPFLAGS'
17447 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17448 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17449 cross_compiling=$ac_cv_prog_cc_cross
17455 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17457 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17458 for ac_func in isnanl
17460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17461 echo "configure:17462: checking for $ac_func" >&5
17462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17463 echo $ac_n "(cached) $ac_c" 1>&6
17465 cat > conftest.$ac_ext <<EOF
17466 #line 17467 "configure"
17467 #include "confdefs.h"
17468 /* System header to define __stub macros and hopefully few prototypes,
17469 which can conflict with char $ac_func(); below. */
17470 #include <assert.h>
17471 /* Override any gcc2 internal prototype to avoid an error. */
17472 /* We use char because int might match the return type of a gcc2
17473 builtin and then its argument prototype would still apply. */
17478 /* The GNU C library defines this for functions which it implements
17479 to always fail with ENOSYS. Some functions are actually named
17480 something starting with __ and the normal name is an alias. */
17481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17489 if { (eval echo configure:17490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17491 eval "ac_cv_func_$ac_func=yes"
17493 echo "configure: failed program was:" >&5
17494 cat conftest.$ac_ext >&5
17496 eval "ac_cv_func_$ac_func=no"
17501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17502 echo "$ac_t""yes" 1>&6
17503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17504 cat >> confdefs.h <<EOF
17505 #define $ac_tr_func 1
17509 echo "$ac_t""no" 1>&6
17515 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17516 echo "configure:17517: checking for _isnanl declaration" >&5
17517 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17518 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17519 echo $ac_n "(cached) $ac_c" 1>&6
17524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17525 ac_cpp='$CXXCPP $CPPFLAGS'
17526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17528 cross_compiling=$ac_cv_prog_cxx_cross
17530 cat > conftest.$ac_ext <<EOF
17531 #line 17532 "configure"
17532 #include "confdefs.h"
17534 #ifdef HAVE_IEEEFP_H
17535 #include <ieeefp.h>
17542 if { (eval echo configure:17543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17544 glibcpp_cv_func__isnanl_use=yes
17546 echo "configure: failed program was:" >&5
17547 cat conftest.$ac_ext >&5
17549 glibcpp_cv_func__isnanl_use=no
17553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17557 cross_compiling=$ac_cv_prog_cc_cross
17563 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17565 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17566 for ac_func in _isnanl
17568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17569 echo "configure:17570: checking for $ac_func" >&5
17570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17571 echo $ac_n "(cached) $ac_c" 1>&6
17573 cat > conftest.$ac_ext <<EOF
17574 #line 17575 "configure"
17575 #include "confdefs.h"
17576 /* System header to define __stub macros and hopefully few prototypes,
17577 which can conflict with char $ac_func(); below. */
17578 #include <assert.h>
17579 /* Override any gcc2 internal prototype to avoid an error. */
17580 /* We use char because int might match the return type of a gcc2
17581 builtin and then its argument prototype would still apply. */
17586 /* The GNU C library defines this for functions which it implements
17587 to always fail with ENOSYS. Some functions are actually named
17588 something starting with __ and the normal name is an alias. */
17589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17597 if { (eval echo configure:17598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17599 eval "ac_cv_func_$ac_func=yes"
17601 echo "configure: failed program was:" >&5
17602 cat conftest.$ac_ext >&5
17604 eval "ac_cv_func_$ac_func=no"
17609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17610 echo "$ac_t""yes" 1>&6
17611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17612 cat >> confdefs.h <<EOF
17613 #define $ac_tr_func 1
17617 echo "$ac_t""no" 1>&6
17626 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17627 echo "configure:17628: checking for isinfl declaration" >&5
17628 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17629 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17630 echo $ac_n "(cached) $ac_c" 1>&6
17635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17639 cross_compiling=$ac_cv_prog_cxx_cross
17641 cat > conftest.$ac_ext <<EOF
17642 #line 17643 "configure"
17643 #include "confdefs.h"
17645 #ifdef HAVE_IEEEFP_H
17646 #include <ieeefp.h>
17653 if { (eval echo configure:17654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17655 glibcpp_cv_func_isinfl_use=yes
17657 echo "configure: failed program was:" >&5
17658 cat conftest.$ac_ext >&5
17660 glibcpp_cv_func_isinfl_use=no
17664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17668 cross_compiling=$ac_cv_prog_cc_cross
17674 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17676 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17677 for ac_func in isinfl
17679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17680 echo "configure:17681: checking for $ac_func" >&5
17681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17682 echo $ac_n "(cached) $ac_c" 1>&6
17684 cat > conftest.$ac_ext <<EOF
17685 #line 17686 "configure"
17686 #include "confdefs.h"
17687 /* System header to define __stub macros and hopefully few prototypes,
17688 which can conflict with char $ac_func(); below. */
17689 #include <assert.h>
17690 /* Override any gcc2 internal prototype to avoid an error. */
17691 /* We use char because int might match the return type of a gcc2
17692 builtin and then its argument prototype would still apply. */
17697 /* The GNU C library defines this for functions which it implements
17698 to always fail with ENOSYS. Some functions are actually named
17699 something starting with __ and the normal name is an alias. */
17700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17708 if { (eval echo configure:17709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17710 eval "ac_cv_func_$ac_func=yes"
17712 echo "configure: failed program was:" >&5
17713 cat conftest.$ac_ext >&5
17715 eval "ac_cv_func_$ac_func=no"
17720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17721 echo "$ac_t""yes" 1>&6
17722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17723 cat >> confdefs.h <<EOF
17724 #define $ac_tr_func 1
17728 echo "$ac_t""no" 1>&6
17734 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17735 echo "configure:17736: checking for _isinfl declaration" >&5
17736 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17737 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17738 echo $ac_n "(cached) $ac_c" 1>&6
17743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17744 ac_cpp='$CXXCPP $CPPFLAGS'
17745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17747 cross_compiling=$ac_cv_prog_cxx_cross
17749 cat > conftest.$ac_ext <<EOF
17750 #line 17751 "configure"
17751 #include "confdefs.h"
17753 #ifdef HAVE_IEEEFP_H
17754 #include <ieeefp.h>
17761 if { (eval echo configure:17762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17763 glibcpp_cv_func__isinfl_use=yes
17765 echo "configure: failed program was:" >&5
17766 cat conftest.$ac_ext >&5
17768 glibcpp_cv_func__isinfl_use=no
17772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17773 ac_cpp='$CPP $CPPFLAGS'
17774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17776 cross_compiling=$ac_cv_prog_cc_cross
17782 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17784 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17785 for ac_func in _isinfl
17787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17788 echo "configure:17789: checking for $ac_func" >&5
17789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17790 echo $ac_n "(cached) $ac_c" 1>&6
17792 cat > conftest.$ac_ext <<EOF
17793 #line 17794 "configure"
17794 #include "confdefs.h"
17795 /* System header to define __stub macros and hopefully few prototypes,
17796 which can conflict with char $ac_func(); below. */
17797 #include <assert.h>
17798 /* Override any gcc2 internal prototype to avoid an error. */
17799 /* We use char because int might match the return type of a gcc2
17800 builtin and then its argument prototype would still apply. */
17805 /* The GNU C library defines this for functions which it implements
17806 to always fail with ENOSYS. Some functions are actually named
17807 something starting with __ and the normal name is an alias. */
17808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17816 if { (eval echo configure:17817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17818 eval "ac_cv_func_$ac_func=yes"
17820 echo "configure: failed program was:" >&5
17821 cat conftest.$ac_ext >&5
17823 eval "ac_cv_func_$ac_func=no"
17828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17829 echo "$ac_t""yes" 1>&6
17830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17831 cat >> confdefs.h <<EOF
17832 #define $ac_tr_func 1
17836 echo "$ac_t""no" 1>&6
17845 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
17846 echo "configure:17847: checking for copysignl declaration" >&5
17847 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17848 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17849 echo $ac_n "(cached) $ac_c" 1>&6
17854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17858 cross_compiling=$ac_cv_prog_cxx_cross
17860 cat > conftest.$ac_ext <<EOF
17861 #line 17862 "configure"
17862 #include "confdefs.h"
17868 if { (eval echo configure:17869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17870 glibcpp_cv_func_copysignl_use=yes
17872 echo "configure: failed program was:" >&5
17873 cat conftest.$ac_ext >&5
17875 glibcpp_cv_func_copysignl_use=no
17879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17883 cross_compiling=$ac_cv_prog_cc_cross
17889 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
17891 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
17892 for ac_func in copysignl
17894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17895 echo "configure:17896: checking for $ac_func" >&5
17896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17897 echo $ac_n "(cached) $ac_c" 1>&6
17899 cat > conftest.$ac_ext <<EOF
17900 #line 17901 "configure"
17901 #include "confdefs.h"
17902 /* System header to define __stub macros and hopefully few prototypes,
17903 which can conflict with char $ac_func(); below. */
17904 #include <assert.h>
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 /* We use char because int might match the return type of a gcc2
17907 builtin and then its argument prototype would still apply. */
17912 /* The GNU C library defines this for functions which it implements
17913 to always fail with ENOSYS. Some functions are actually named
17914 something starting with __ and the normal name is an alias. */
17915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 if { (eval echo configure:17924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17925 eval "ac_cv_func_$ac_func=yes"
17927 echo "configure: failed program was:" >&5
17928 cat conftest.$ac_ext >&5
17930 eval "ac_cv_func_$ac_func=no"
17935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17936 echo "$ac_t""yes" 1>&6
17937 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17938 cat >> confdefs.h <<EOF
17939 #define $ac_tr_func 1
17943 echo "$ac_t""no" 1>&6
17949 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
17950 echo "configure:17951: checking for _copysignl declaration" >&5
17951 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17952 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17953 echo $ac_n "(cached) $ac_c" 1>&6
17958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17959 ac_cpp='$CXXCPP $CPPFLAGS'
17960 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17961 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17962 cross_compiling=$ac_cv_prog_cxx_cross
17964 cat > conftest.$ac_ext <<EOF
17965 #line 17966 "configure"
17966 #include "confdefs.h"
17972 if { (eval echo configure:17973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17974 glibcpp_cv_func__copysignl_use=yes
17976 echo "configure: failed program was:" >&5
17977 cat conftest.$ac_ext >&5
17979 glibcpp_cv_func__copysignl_use=no
17983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17984 ac_cpp='$CPP $CPPFLAGS'
17985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17987 cross_compiling=$ac_cv_prog_cc_cross
17993 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17995 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17996 for ac_func in _copysignl
17998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17999 echo "configure:18000: checking for $ac_func" >&5
18000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18001 echo $ac_n "(cached) $ac_c" 1>&6
18003 cat > conftest.$ac_ext <<EOF
18004 #line 18005 "configure"
18005 #include "confdefs.h"
18006 /* System header to define __stub macros and hopefully few prototypes,
18007 which can conflict with char $ac_func(); below. */
18008 #include <assert.h>
18009 /* Override any gcc2 internal prototype to avoid an error. */
18010 /* We use char because int might match the return type of a gcc2
18011 builtin and then its argument prototype would still apply. */
18016 /* The GNU C library defines this for functions which it implements
18017 to always fail with ENOSYS. Some functions are actually named
18018 something starting with __ and the normal name is an alias. */
18019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18027 if { (eval echo configure:18028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18029 eval "ac_cv_func_$ac_func=yes"
18031 echo "configure: failed program was:" >&5
18032 cat conftest.$ac_ext >&5
18034 eval "ac_cv_func_$ac_func=no"
18039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18040 echo "$ac_t""yes" 1>&6
18041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18042 cat >> confdefs.h <<EOF
18043 #define $ac_tr_func 1
18047 echo "$ac_t""no" 1>&6
18056 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18057 echo "configure:18058: checking for atan2l declaration" >&5
18058 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18059 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18060 echo $ac_n "(cached) $ac_c" 1>&6
18065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18066 ac_cpp='$CXXCPP $CPPFLAGS'
18067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18069 cross_compiling=$ac_cv_prog_cxx_cross
18071 cat > conftest.$ac_ext <<EOF
18072 #line 18073 "configure"
18073 #include "confdefs.h"
18079 if { (eval echo configure:18080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18081 glibcpp_cv_func_atan2l_use=yes
18083 echo "configure: failed program was:" >&5
18084 cat conftest.$ac_ext >&5
18086 glibcpp_cv_func_atan2l_use=no
18090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18094 cross_compiling=$ac_cv_prog_cc_cross
18100 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18102 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18103 for ac_func in atan2l
18105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18106 echo "configure:18107: checking for $ac_func" >&5
18107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18108 echo $ac_n "(cached) $ac_c" 1>&6
18110 cat > conftest.$ac_ext <<EOF
18111 #line 18112 "configure"
18112 #include "confdefs.h"
18113 /* System header to define __stub macros and hopefully few prototypes,
18114 which can conflict with char $ac_func(); below. */
18115 #include <assert.h>
18116 /* Override any gcc2 internal prototype to avoid an error. */
18117 /* We use char because int might match the return type of a gcc2
18118 builtin and then its argument prototype would still apply. */
18123 /* The GNU C library defines this for functions which it implements
18124 to always fail with ENOSYS. Some functions are actually named
18125 something starting with __ and the normal name is an alias. */
18126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18134 if { (eval echo configure:18135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18136 eval "ac_cv_func_$ac_func=yes"
18138 echo "configure: failed program was:" >&5
18139 cat conftest.$ac_ext >&5
18141 eval "ac_cv_func_$ac_func=no"
18146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18147 echo "$ac_t""yes" 1>&6
18148 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18149 cat >> confdefs.h <<EOF
18150 #define $ac_tr_func 1
18154 echo "$ac_t""no" 1>&6
18160 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18161 echo "configure:18162: checking for _atan2l declaration" >&5
18162 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18163 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18164 echo $ac_n "(cached) $ac_c" 1>&6
18169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18170 ac_cpp='$CXXCPP $CPPFLAGS'
18171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18173 cross_compiling=$ac_cv_prog_cxx_cross
18175 cat > conftest.$ac_ext <<EOF
18176 #line 18177 "configure"
18177 #include "confdefs.h"
18183 if { (eval echo configure:18184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18185 glibcpp_cv_func__atan2l_use=yes
18187 echo "configure: failed program was:" >&5
18188 cat conftest.$ac_ext >&5
18190 glibcpp_cv_func__atan2l_use=no
18194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18198 cross_compiling=$ac_cv_prog_cc_cross
18204 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18206 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18207 for ac_func in _atan2l
18209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18210 echo "configure:18211: checking for $ac_func" >&5
18211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18212 echo $ac_n "(cached) $ac_c" 1>&6
18214 cat > conftest.$ac_ext <<EOF
18215 #line 18216 "configure"
18216 #include "confdefs.h"
18217 /* System header to define __stub macros and hopefully few prototypes,
18218 which can conflict with char $ac_func(); below. */
18219 #include <assert.h>
18220 /* Override any gcc2 internal prototype to avoid an error. */
18221 /* We use char because int might match the return type of a gcc2
18222 builtin and then its argument prototype would still apply. */
18227 /* The GNU C library defines this for functions which it implements
18228 to always fail with ENOSYS. Some functions are actually named
18229 something starting with __ and the normal name is an alias. */
18230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18238 if { (eval echo configure:18239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18240 eval "ac_cv_func_$ac_func=yes"
18242 echo "configure: failed program was:" >&5
18243 cat conftest.$ac_ext >&5
18245 eval "ac_cv_func_$ac_func=no"
18250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18251 echo "$ac_t""yes" 1>&6
18252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18253 cat >> confdefs.h <<EOF
18254 #define $ac_tr_func 1
18258 echo "$ac_t""no" 1>&6
18267 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18268 echo "configure:18269: checking for expl declaration" >&5
18269 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18270 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18271 echo $ac_n "(cached) $ac_c" 1>&6
18276 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18277 ac_cpp='$CXXCPP $CPPFLAGS'
18278 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18279 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18280 cross_compiling=$ac_cv_prog_cxx_cross
18282 cat > conftest.$ac_ext <<EOF
18283 #line 18284 "configure"
18284 #include "confdefs.h"
18286 #ifdef HAVE_IEEEFP_H
18287 #include <ieeefp.h>
18294 if { (eval echo configure:18295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18296 glibcpp_cv_func_expl_use=yes
18298 echo "configure: failed program was:" >&5
18299 cat conftest.$ac_ext >&5
18301 glibcpp_cv_func_expl_use=no
18305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18306 ac_cpp='$CPP $CPPFLAGS'
18307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18309 cross_compiling=$ac_cv_prog_cc_cross
18315 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18317 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18318 for ac_func in expl
18320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18321 echo "configure:18322: checking for $ac_func" >&5
18322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18323 echo $ac_n "(cached) $ac_c" 1>&6
18325 cat > conftest.$ac_ext <<EOF
18326 #line 18327 "configure"
18327 #include "confdefs.h"
18328 /* System header to define __stub macros and hopefully few prototypes,
18329 which can conflict with char $ac_func(); below. */
18330 #include <assert.h>
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 /* We use char because int might match the return type of a gcc2
18333 builtin and then its argument prototype would still apply. */
18338 /* The GNU C library defines this for functions which it implements
18339 to always fail with ENOSYS. Some functions are actually named
18340 something starting with __ and the normal name is an alias. */
18341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18349 if { (eval echo configure:18350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18351 eval "ac_cv_func_$ac_func=yes"
18353 echo "configure: failed program was:" >&5
18354 cat conftest.$ac_ext >&5
18356 eval "ac_cv_func_$ac_func=no"
18361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18362 echo "$ac_t""yes" 1>&6
18363 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18364 cat >> confdefs.h <<EOF
18365 #define $ac_tr_func 1
18369 echo "$ac_t""no" 1>&6
18375 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18376 echo "configure:18377: checking for _expl declaration" >&5
18377 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18378 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18379 echo $ac_n "(cached) $ac_c" 1>&6
18384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18385 ac_cpp='$CXXCPP $CPPFLAGS'
18386 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18387 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18388 cross_compiling=$ac_cv_prog_cxx_cross
18390 cat > conftest.$ac_ext <<EOF
18391 #line 18392 "configure"
18392 #include "confdefs.h"
18394 #ifdef HAVE_IEEEFP_H
18395 #include <ieeefp.h>
18402 if { (eval echo configure:18403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18404 glibcpp_cv_func__expl_use=yes
18406 echo "configure: failed program was:" >&5
18407 cat conftest.$ac_ext >&5
18409 glibcpp_cv_func__expl_use=no
18413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18414 ac_cpp='$CPP $CPPFLAGS'
18415 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18416 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18417 cross_compiling=$ac_cv_prog_cc_cross
18423 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18425 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18426 for ac_func in _expl
18428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18429 echo "configure:18430: checking for $ac_func" >&5
18430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18431 echo $ac_n "(cached) $ac_c" 1>&6
18433 cat > conftest.$ac_ext <<EOF
18434 #line 18435 "configure"
18435 #include "confdefs.h"
18436 /* System header to define __stub macros and hopefully few prototypes,
18437 which can conflict with char $ac_func(); below. */
18438 #include <assert.h>
18439 /* Override any gcc2 internal prototype to avoid an error. */
18440 /* We use char because int might match the return type of a gcc2
18441 builtin and then its argument prototype would still apply. */
18446 /* The GNU C library defines this for functions which it implements
18447 to always fail with ENOSYS. Some functions are actually named
18448 something starting with __ and the normal name is an alias. */
18449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18457 if { (eval echo configure:18458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18459 eval "ac_cv_func_$ac_func=yes"
18461 echo "configure: failed program was:" >&5
18462 cat conftest.$ac_ext >&5
18464 eval "ac_cv_func_$ac_func=no"
18469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18470 echo "$ac_t""yes" 1>&6
18471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18472 cat >> confdefs.h <<EOF
18473 #define $ac_tr_func 1
18477 echo "$ac_t""no" 1>&6
18486 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18487 echo "configure:18488: checking for fabsl declaration" >&5
18488 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18489 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18490 echo $ac_n "(cached) $ac_c" 1>&6
18495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18496 ac_cpp='$CXXCPP $CPPFLAGS'
18497 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18498 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18499 cross_compiling=$ac_cv_prog_cxx_cross
18501 cat > conftest.$ac_ext <<EOF
18502 #line 18503 "configure"
18503 #include "confdefs.h"
18505 #ifdef HAVE_IEEEFP_H
18506 #include <ieeefp.h>
18513 if { (eval echo configure:18514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18515 glibcpp_cv_func_fabsl_use=yes
18517 echo "configure: failed program was:" >&5
18518 cat conftest.$ac_ext >&5
18520 glibcpp_cv_func_fabsl_use=no
18524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18525 ac_cpp='$CPP $CPPFLAGS'
18526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18528 cross_compiling=$ac_cv_prog_cc_cross
18534 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18536 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18537 for ac_func in fabsl
18539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18540 echo "configure:18541: checking for $ac_func" >&5
18541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18542 echo $ac_n "(cached) $ac_c" 1>&6
18544 cat > conftest.$ac_ext <<EOF
18545 #line 18546 "configure"
18546 #include "confdefs.h"
18547 /* System header to define __stub macros and hopefully few prototypes,
18548 which can conflict with char $ac_func(); below. */
18549 #include <assert.h>
18550 /* Override any gcc2 internal prototype to avoid an error. */
18551 /* We use char because int might match the return type of a gcc2
18552 builtin and then its argument prototype would still apply. */
18557 /* The GNU C library defines this for functions which it implements
18558 to always fail with ENOSYS. Some functions are actually named
18559 something starting with __ and the normal name is an alias. */
18560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18568 if { (eval echo configure:18569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18570 eval "ac_cv_func_$ac_func=yes"
18572 echo "configure: failed program was:" >&5
18573 cat conftest.$ac_ext >&5
18575 eval "ac_cv_func_$ac_func=no"
18580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18581 echo "$ac_t""yes" 1>&6
18582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18583 cat >> confdefs.h <<EOF
18584 #define $ac_tr_func 1
18588 echo "$ac_t""no" 1>&6
18594 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18595 echo "configure:18596: checking for _fabsl declaration" >&5
18596 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18597 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18598 echo $ac_n "(cached) $ac_c" 1>&6
18603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18604 ac_cpp='$CXXCPP $CPPFLAGS'
18605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18607 cross_compiling=$ac_cv_prog_cxx_cross
18609 cat > conftest.$ac_ext <<EOF
18610 #line 18611 "configure"
18611 #include "confdefs.h"
18613 #ifdef HAVE_IEEEFP_H
18614 #include <ieeefp.h>
18621 if { (eval echo configure:18622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18623 glibcpp_cv_func__fabsl_use=yes
18625 echo "configure: failed program was:" >&5
18626 cat conftest.$ac_ext >&5
18628 glibcpp_cv_func__fabsl_use=no
18632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18633 ac_cpp='$CPP $CPPFLAGS'
18634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18636 cross_compiling=$ac_cv_prog_cc_cross
18642 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18644 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18645 for ac_func in _fabsl
18647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18648 echo "configure:18649: checking for $ac_func" >&5
18649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18650 echo $ac_n "(cached) $ac_c" 1>&6
18652 cat > conftest.$ac_ext <<EOF
18653 #line 18654 "configure"
18654 #include "confdefs.h"
18655 /* System header to define __stub macros and hopefully few prototypes,
18656 which can conflict with char $ac_func(); below. */
18657 #include <assert.h>
18658 /* Override any gcc2 internal prototype to avoid an error. */
18659 /* We use char because int might match the return type of a gcc2
18660 builtin and then its argument prototype would still apply. */
18665 /* The GNU C library defines this for functions which it implements
18666 to always fail with ENOSYS. Some functions are actually named
18667 something starting with __ and the normal name is an alias. */
18668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 if { (eval echo configure:18677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18678 eval "ac_cv_func_$ac_func=yes"
18680 echo "configure: failed program was:" >&5
18681 cat conftest.$ac_ext >&5
18683 eval "ac_cv_func_$ac_func=no"
18688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18689 echo "$ac_t""yes" 1>&6
18690 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18691 cat >> confdefs.h <<EOF
18692 #define $ac_tr_func 1
18696 echo "$ac_t""no" 1>&6
18705 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18706 echo "configure:18707: checking for fmodl declaration" >&5
18707 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18708 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18709 echo $ac_n "(cached) $ac_c" 1>&6
18714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18715 ac_cpp='$CXXCPP $CPPFLAGS'
18716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18718 cross_compiling=$ac_cv_prog_cxx_cross
18720 cat > conftest.$ac_ext <<EOF
18721 #line 18722 "configure"
18722 #include "confdefs.h"
18728 if { (eval echo configure:18729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18730 glibcpp_cv_func_fmodl_use=yes
18732 echo "configure: failed program was:" >&5
18733 cat conftest.$ac_ext >&5
18735 glibcpp_cv_func_fmodl_use=no
18739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18740 ac_cpp='$CPP $CPPFLAGS'
18741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18743 cross_compiling=$ac_cv_prog_cc_cross
18749 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18751 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18752 for ac_func in fmodl
18754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18755 echo "configure:18756: checking for $ac_func" >&5
18756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18757 echo $ac_n "(cached) $ac_c" 1>&6
18759 cat > conftest.$ac_ext <<EOF
18760 #line 18761 "configure"
18761 #include "confdefs.h"
18762 /* System header to define __stub macros and hopefully few prototypes,
18763 which can conflict with char $ac_func(); below. */
18764 #include <assert.h>
18765 /* Override any gcc2 internal prototype to avoid an error. */
18766 /* We use char because int might match the return type of a gcc2
18767 builtin and then its argument prototype would still apply. */
18772 /* The GNU C library defines this for functions which it implements
18773 to always fail with ENOSYS. Some functions are actually named
18774 something starting with __ and the normal name is an alias. */
18775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18783 if { (eval echo configure:18784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18785 eval "ac_cv_func_$ac_func=yes"
18787 echo "configure: failed program was:" >&5
18788 cat conftest.$ac_ext >&5
18790 eval "ac_cv_func_$ac_func=no"
18795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18796 echo "$ac_t""yes" 1>&6
18797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18798 cat >> confdefs.h <<EOF
18799 #define $ac_tr_func 1
18803 echo "$ac_t""no" 1>&6
18809 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
18810 echo "configure:18811: checking for _fmodl declaration" >&5
18811 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18812 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18813 echo $ac_n "(cached) $ac_c" 1>&6
18818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18822 cross_compiling=$ac_cv_prog_cxx_cross
18824 cat > conftest.$ac_ext <<EOF
18825 #line 18826 "configure"
18826 #include "confdefs.h"
18832 if { (eval echo configure:18833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18834 glibcpp_cv_func__fmodl_use=yes
18836 echo "configure: failed program was:" >&5
18837 cat conftest.$ac_ext >&5
18839 glibcpp_cv_func__fmodl_use=no
18843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18844 ac_cpp='$CPP $CPPFLAGS'
18845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18847 cross_compiling=$ac_cv_prog_cc_cross
18853 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
18855 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
18856 for ac_func in _fmodl
18858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18859 echo "configure:18860: checking for $ac_func" >&5
18860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18861 echo $ac_n "(cached) $ac_c" 1>&6
18863 cat > conftest.$ac_ext <<EOF
18864 #line 18865 "configure"
18865 #include "confdefs.h"
18866 /* System header to define __stub macros and hopefully few prototypes,
18867 which can conflict with char $ac_func(); below. */
18868 #include <assert.h>
18869 /* Override any gcc2 internal prototype to avoid an error. */
18870 /* We use char because int might match the return type of a gcc2
18871 builtin and then its argument prototype would still apply. */
18876 /* The GNU C library defines this for functions which it implements
18877 to always fail with ENOSYS. Some functions are actually named
18878 something starting with __ and the normal name is an alias. */
18879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 if { (eval echo configure:18888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18889 eval "ac_cv_func_$ac_func=yes"
18891 echo "configure: failed program was:" >&5
18892 cat conftest.$ac_ext >&5
18894 eval "ac_cv_func_$ac_func=no"
18899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18900 echo "$ac_t""yes" 1>&6
18901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18902 cat >> confdefs.h <<EOF
18903 #define $ac_tr_func 1
18907 echo "$ac_t""no" 1>&6
18916 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
18917 echo "configure:18918: checking for frexpl declaration" >&5
18918 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18919 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18920 echo $ac_n "(cached) $ac_c" 1>&6
18925 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18926 ac_cpp='$CXXCPP $CPPFLAGS'
18927 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18928 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18929 cross_compiling=$ac_cv_prog_cxx_cross
18931 cat > conftest.$ac_ext <<EOF
18932 #line 18933 "configure"
18933 #include "confdefs.h"
18939 if { (eval echo configure:18940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18941 glibcpp_cv_func_frexpl_use=yes
18943 echo "configure: failed program was:" >&5
18944 cat conftest.$ac_ext >&5
18946 glibcpp_cv_func_frexpl_use=no
18950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18951 ac_cpp='$CPP $CPPFLAGS'
18952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18954 cross_compiling=$ac_cv_prog_cc_cross
18960 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18962 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18963 for ac_func in frexpl
18965 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18966 echo "configure:18967: checking for $ac_func" >&5
18967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18968 echo $ac_n "(cached) $ac_c" 1>&6
18970 cat > conftest.$ac_ext <<EOF
18971 #line 18972 "configure"
18972 #include "confdefs.h"
18973 /* System header to define __stub macros and hopefully few prototypes,
18974 which can conflict with char $ac_func(); below. */
18975 #include <assert.h>
18976 /* Override any gcc2 internal prototype to avoid an error. */
18977 /* We use char because int might match the return type of a gcc2
18978 builtin and then its argument prototype would still apply. */
18983 /* The GNU C library defines this for functions which it implements
18984 to always fail with ENOSYS. Some functions are actually named
18985 something starting with __ and the normal name is an alias. */
18986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18994 if { (eval echo configure:18995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18996 eval "ac_cv_func_$ac_func=yes"
18998 echo "configure: failed program was:" >&5
18999 cat conftest.$ac_ext >&5
19001 eval "ac_cv_func_$ac_func=no"
19006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19007 echo "$ac_t""yes" 1>&6
19008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19009 cat >> confdefs.h <<EOF
19010 #define $ac_tr_func 1
19014 echo "$ac_t""no" 1>&6
19020 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19021 echo "configure:19022: checking for _frexpl declaration" >&5
19022 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19023 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19024 echo $ac_n "(cached) $ac_c" 1>&6
19029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19030 ac_cpp='$CXXCPP $CPPFLAGS'
19031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19033 cross_compiling=$ac_cv_prog_cxx_cross
19035 cat > conftest.$ac_ext <<EOF
19036 #line 19037 "configure"
19037 #include "confdefs.h"
19043 if { (eval echo configure:19044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19045 glibcpp_cv_func__frexpl_use=yes
19047 echo "configure: failed program was:" >&5
19048 cat conftest.$ac_ext >&5
19050 glibcpp_cv_func__frexpl_use=no
19054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19055 ac_cpp='$CPP $CPPFLAGS'
19056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19058 cross_compiling=$ac_cv_prog_cc_cross
19064 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19066 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19067 for ac_func in _frexpl
19069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19070 echo "configure:19071: checking for $ac_func" >&5
19071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19072 echo $ac_n "(cached) $ac_c" 1>&6
19074 cat > conftest.$ac_ext <<EOF
19075 #line 19076 "configure"
19076 #include "confdefs.h"
19077 /* System header to define __stub macros and hopefully few prototypes,
19078 which can conflict with char $ac_func(); below. */
19079 #include <assert.h>
19080 /* Override any gcc2 internal prototype to avoid an error. */
19081 /* We use char because int might match the return type of a gcc2
19082 builtin and then its argument prototype would still apply. */
19087 /* The GNU C library defines this for functions which it implements
19088 to always fail with ENOSYS. Some functions are actually named
19089 something starting with __ and the normal name is an alias. */
19090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19098 if { (eval echo configure:19099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19100 eval "ac_cv_func_$ac_func=yes"
19102 echo "configure: failed program was:" >&5
19103 cat conftest.$ac_ext >&5
19105 eval "ac_cv_func_$ac_func=no"
19110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19111 echo "$ac_t""yes" 1>&6
19112 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19113 cat >> confdefs.h <<EOF
19114 #define $ac_tr_func 1
19118 echo "$ac_t""no" 1>&6
19127 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19128 echo "configure:19129: checking for hypotl declaration" >&5
19129 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19130 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19131 echo $ac_n "(cached) $ac_c" 1>&6
19136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19137 ac_cpp='$CXXCPP $CPPFLAGS'
19138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19140 cross_compiling=$ac_cv_prog_cxx_cross
19142 cat > conftest.$ac_ext <<EOF
19143 #line 19144 "configure"
19144 #include "confdefs.h"
19150 if { (eval echo configure:19151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19152 glibcpp_cv_func_hypotl_use=yes
19154 echo "configure: failed program was:" >&5
19155 cat conftest.$ac_ext >&5
19157 glibcpp_cv_func_hypotl_use=no
19161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19162 ac_cpp='$CPP $CPPFLAGS'
19163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19165 cross_compiling=$ac_cv_prog_cc_cross
19171 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19173 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19174 for ac_func in hypotl
19176 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19177 echo "configure:19178: checking for $ac_func" >&5
19178 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19179 echo $ac_n "(cached) $ac_c" 1>&6
19181 cat > conftest.$ac_ext <<EOF
19182 #line 19183 "configure"
19183 #include "confdefs.h"
19184 /* System header to define __stub macros and hopefully few prototypes,
19185 which can conflict with char $ac_func(); below. */
19186 #include <assert.h>
19187 /* Override any gcc2 internal prototype to avoid an error. */
19188 /* We use char because int might match the return type of a gcc2
19189 builtin and then its argument prototype would still apply. */
19194 /* The GNU C library defines this for functions which it implements
19195 to always fail with ENOSYS. Some functions are actually named
19196 something starting with __ and the normal name is an alias. */
19197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19205 if { (eval echo configure:19206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19207 eval "ac_cv_func_$ac_func=yes"
19209 echo "configure: failed program was:" >&5
19210 cat conftest.$ac_ext >&5
19212 eval "ac_cv_func_$ac_func=no"
19217 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19218 echo "$ac_t""yes" 1>&6
19219 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19220 cat >> confdefs.h <<EOF
19221 #define $ac_tr_func 1
19225 echo "$ac_t""no" 1>&6
19231 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19232 echo "configure:19233: checking for _hypotl declaration" >&5
19233 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19234 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19235 echo $ac_n "(cached) $ac_c" 1>&6
19240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19241 ac_cpp='$CXXCPP $CPPFLAGS'
19242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19244 cross_compiling=$ac_cv_prog_cxx_cross
19246 cat > conftest.$ac_ext <<EOF
19247 #line 19248 "configure"
19248 #include "confdefs.h"
19254 if { (eval echo configure:19255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19256 glibcpp_cv_func__hypotl_use=yes
19258 echo "configure: failed program was:" >&5
19259 cat conftest.$ac_ext >&5
19261 glibcpp_cv_func__hypotl_use=no
19265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19269 cross_compiling=$ac_cv_prog_cc_cross
19275 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19277 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19278 for ac_func in _hypotl
19280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19281 echo "configure:19282: checking for $ac_func" >&5
19282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19283 echo $ac_n "(cached) $ac_c" 1>&6
19285 cat > conftest.$ac_ext <<EOF
19286 #line 19287 "configure"
19287 #include "confdefs.h"
19288 /* System header to define __stub macros and hopefully few prototypes,
19289 which can conflict with char $ac_func(); below. */
19290 #include <assert.h>
19291 /* Override any gcc2 internal prototype to avoid an error. */
19292 /* We use char because int might match the return type of a gcc2
19293 builtin and then its argument prototype would still apply. */
19298 /* The GNU C library defines this for functions which it implements
19299 to always fail with ENOSYS. Some functions are actually named
19300 something starting with __ and the normal name is an alias. */
19301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19309 if { (eval echo configure:19310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19311 eval "ac_cv_func_$ac_func=yes"
19313 echo "configure: failed program was:" >&5
19314 cat conftest.$ac_ext >&5
19316 eval "ac_cv_func_$ac_func=no"
19321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19322 echo "$ac_t""yes" 1>&6
19323 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19324 cat >> confdefs.h <<EOF
19325 #define $ac_tr_func 1
19329 echo "$ac_t""no" 1>&6
19338 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19339 echo "configure:19340: checking for ldexpl declaration" >&5
19340 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19341 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19342 echo $ac_n "(cached) $ac_c" 1>&6
19347 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19348 ac_cpp='$CXXCPP $CPPFLAGS'
19349 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19350 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19351 cross_compiling=$ac_cv_prog_cxx_cross
19353 cat > conftest.$ac_ext <<EOF
19354 #line 19355 "configure"
19355 #include "confdefs.h"
19361 if { (eval echo configure:19362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19363 glibcpp_cv_func_ldexpl_use=yes
19365 echo "configure: failed program was:" >&5
19366 cat conftest.$ac_ext >&5
19368 glibcpp_cv_func_ldexpl_use=no
19372 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19373 ac_cpp='$CPP $CPPFLAGS'
19374 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19375 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19376 cross_compiling=$ac_cv_prog_cc_cross
19382 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19384 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19385 for ac_func in ldexpl
19387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19388 echo "configure:19389: checking for $ac_func" >&5
19389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19390 echo $ac_n "(cached) $ac_c" 1>&6
19392 cat > conftest.$ac_ext <<EOF
19393 #line 19394 "configure"
19394 #include "confdefs.h"
19395 /* System header to define __stub macros and hopefully few prototypes,
19396 which can conflict with char $ac_func(); below. */
19397 #include <assert.h>
19398 /* Override any gcc2 internal prototype to avoid an error. */
19399 /* We use char because int might match the return type of a gcc2
19400 builtin and then its argument prototype would still apply. */
19405 /* The GNU C library defines this for functions which it implements
19406 to always fail with ENOSYS. Some functions are actually named
19407 something starting with __ and the normal name is an alias. */
19408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19416 if { (eval echo configure:19417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19418 eval "ac_cv_func_$ac_func=yes"
19420 echo "configure: failed program was:" >&5
19421 cat conftest.$ac_ext >&5
19423 eval "ac_cv_func_$ac_func=no"
19428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19429 echo "$ac_t""yes" 1>&6
19430 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19431 cat >> confdefs.h <<EOF
19432 #define $ac_tr_func 1
19436 echo "$ac_t""no" 1>&6
19442 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19443 echo "configure:19444: checking for _ldexpl declaration" >&5
19444 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19445 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19446 echo $ac_n "(cached) $ac_c" 1>&6
19451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19452 ac_cpp='$CXXCPP $CPPFLAGS'
19453 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19454 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19455 cross_compiling=$ac_cv_prog_cxx_cross
19457 cat > conftest.$ac_ext <<EOF
19458 #line 19459 "configure"
19459 #include "confdefs.h"
19465 if { (eval echo configure:19466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19467 glibcpp_cv_func__ldexpl_use=yes
19469 echo "configure: failed program was:" >&5
19470 cat conftest.$ac_ext >&5
19472 glibcpp_cv_func__ldexpl_use=no
19476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19480 cross_compiling=$ac_cv_prog_cc_cross
19486 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19488 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19489 for ac_func in _ldexpl
19491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19492 echo "configure:19493: checking for $ac_func" >&5
19493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19494 echo $ac_n "(cached) $ac_c" 1>&6
19496 cat > conftest.$ac_ext <<EOF
19497 #line 19498 "configure"
19498 #include "confdefs.h"
19499 /* System header to define __stub macros and hopefully few prototypes,
19500 which can conflict with char $ac_func(); below. */
19501 #include <assert.h>
19502 /* Override any gcc2 internal prototype to avoid an error. */
19503 /* We use char because int might match the return type of a gcc2
19504 builtin and then its argument prototype would still apply. */
19509 /* The GNU C library defines this for functions which it implements
19510 to always fail with ENOSYS. Some functions are actually named
19511 something starting with __ and the normal name is an alias. */
19512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19520 if { (eval echo configure:19521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19522 eval "ac_cv_func_$ac_func=yes"
19524 echo "configure: failed program was:" >&5
19525 cat conftest.$ac_ext >&5
19527 eval "ac_cv_func_$ac_func=no"
19532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19533 echo "$ac_t""yes" 1>&6
19534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19535 cat >> confdefs.h <<EOF
19536 #define $ac_tr_func 1
19540 echo "$ac_t""no" 1>&6
19549 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19550 echo "configure:19551: checking for logl declaration" >&5
19551 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19552 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19553 echo $ac_n "(cached) $ac_c" 1>&6
19558 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19559 ac_cpp='$CXXCPP $CPPFLAGS'
19560 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19561 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19562 cross_compiling=$ac_cv_prog_cxx_cross
19564 cat > conftest.$ac_ext <<EOF
19565 #line 19566 "configure"
19566 #include "confdefs.h"
19568 #ifdef HAVE_IEEEFP_H
19569 #include <ieeefp.h>
19576 if { (eval echo configure:19577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19578 glibcpp_cv_func_logl_use=yes
19580 echo "configure: failed program was:" >&5
19581 cat conftest.$ac_ext >&5
19583 glibcpp_cv_func_logl_use=no
19587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19588 ac_cpp='$CPP $CPPFLAGS'
19589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19591 cross_compiling=$ac_cv_prog_cc_cross
19597 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19599 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19600 for ac_func in logl
19602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19603 echo "configure:19604: checking for $ac_func" >&5
19604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19605 echo $ac_n "(cached) $ac_c" 1>&6
19607 cat > conftest.$ac_ext <<EOF
19608 #line 19609 "configure"
19609 #include "confdefs.h"
19610 /* System header to define __stub macros and hopefully few prototypes,
19611 which can conflict with char $ac_func(); below. */
19612 #include <assert.h>
19613 /* Override any gcc2 internal prototype to avoid an error. */
19614 /* We use char because int might match the return type of a gcc2
19615 builtin and then its argument prototype would still apply. */
19620 /* The GNU C library defines this for functions which it implements
19621 to always fail with ENOSYS. Some functions are actually named
19622 something starting with __ and the normal name is an alias. */
19623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19631 if { (eval echo configure:19632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19633 eval "ac_cv_func_$ac_func=yes"
19635 echo "configure: failed program was:" >&5
19636 cat conftest.$ac_ext >&5
19638 eval "ac_cv_func_$ac_func=no"
19643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19644 echo "$ac_t""yes" 1>&6
19645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19646 cat >> confdefs.h <<EOF
19647 #define $ac_tr_func 1
19651 echo "$ac_t""no" 1>&6
19657 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19658 echo "configure:19659: checking for _logl declaration" >&5
19659 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19660 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19661 echo $ac_n "(cached) $ac_c" 1>&6
19666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19667 ac_cpp='$CXXCPP $CPPFLAGS'
19668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19670 cross_compiling=$ac_cv_prog_cxx_cross
19672 cat > conftest.$ac_ext <<EOF
19673 #line 19674 "configure"
19674 #include "confdefs.h"
19676 #ifdef HAVE_IEEEFP_H
19677 #include <ieeefp.h>
19684 if { (eval echo configure:19685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19686 glibcpp_cv_func__logl_use=yes
19688 echo "configure: failed program was:" >&5
19689 cat conftest.$ac_ext >&5
19691 glibcpp_cv_func__logl_use=no
19695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19696 ac_cpp='$CPP $CPPFLAGS'
19697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19699 cross_compiling=$ac_cv_prog_cc_cross
19705 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19707 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19708 for ac_func in _logl
19710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19711 echo "configure:19712: checking for $ac_func" >&5
19712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19713 echo $ac_n "(cached) $ac_c" 1>&6
19715 cat > conftest.$ac_ext <<EOF
19716 #line 19717 "configure"
19717 #include "confdefs.h"
19718 /* System header to define __stub macros and hopefully few prototypes,
19719 which can conflict with char $ac_func(); below. */
19720 #include <assert.h>
19721 /* Override any gcc2 internal prototype to avoid an error. */
19722 /* We use char because int might match the return type of a gcc2
19723 builtin and then its argument prototype would still apply. */
19728 /* The GNU C library defines this for functions which it implements
19729 to always fail with ENOSYS. Some functions are actually named
19730 something starting with __ and the normal name is an alias. */
19731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19739 if { (eval echo configure:19740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19741 eval "ac_cv_func_$ac_func=yes"
19743 echo "configure: failed program was:" >&5
19744 cat conftest.$ac_ext >&5
19746 eval "ac_cv_func_$ac_func=no"
19751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19752 echo "$ac_t""yes" 1>&6
19753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19754 cat >> confdefs.h <<EOF
19755 #define $ac_tr_func 1
19759 echo "$ac_t""no" 1>&6
19768 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19769 echo "configure:19770: checking for log10l declaration" >&5
19770 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19771 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19772 echo $ac_n "(cached) $ac_c" 1>&6
19777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19778 ac_cpp='$CXXCPP $CPPFLAGS'
19779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19781 cross_compiling=$ac_cv_prog_cxx_cross
19783 cat > conftest.$ac_ext <<EOF
19784 #line 19785 "configure"
19785 #include "confdefs.h"
19787 #ifdef HAVE_IEEEFP_H
19788 #include <ieeefp.h>
19795 if { (eval echo configure:19796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19797 glibcpp_cv_func_log10l_use=yes
19799 echo "configure: failed program was:" >&5
19800 cat conftest.$ac_ext >&5
19802 glibcpp_cv_func_log10l_use=no
19806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19807 ac_cpp='$CPP $CPPFLAGS'
19808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19810 cross_compiling=$ac_cv_prog_cc_cross
19816 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19818 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19819 for ac_func in log10l
19821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19822 echo "configure:19823: checking for $ac_func" >&5
19823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19824 echo $ac_n "(cached) $ac_c" 1>&6
19826 cat > conftest.$ac_ext <<EOF
19827 #line 19828 "configure"
19828 #include "confdefs.h"
19829 /* System header to define __stub macros and hopefully few prototypes,
19830 which can conflict with char $ac_func(); below. */
19831 #include <assert.h>
19832 /* Override any gcc2 internal prototype to avoid an error. */
19833 /* We use char because int might match the return type of a gcc2
19834 builtin and then its argument prototype would still apply. */
19839 /* The GNU C library defines this for functions which it implements
19840 to always fail with ENOSYS. Some functions are actually named
19841 something starting with __ and the normal name is an alias. */
19842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19850 if { (eval echo configure:19851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19852 eval "ac_cv_func_$ac_func=yes"
19854 echo "configure: failed program was:" >&5
19855 cat conftest.$ac_ext >&5
19857 eval "ac_cv_func_$ac_func=no"
19862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19863 echo "$ac_t""yes" 1>&6
19864 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19865 cat >> confdefs.h <<EOF
19866 #define $ac_tr_func 1
19870 echo "$ac_t""no" 1>&6
19876 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
19877 echo "configure:19878: checking for _log10l declaration" >&5
19878 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
19879 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
19880 echo $ac_n "(cached) $ac_c" 1>&6
19885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19886 ac_cpp='$CXXCPP $CPPFLAGS'
19887 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19888 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19889 cross_compiling=$ac_cv_prog_cxx_cross
19891 cat > conftest.$ac_ext <<EOF
19892 #line 19893 "configure"
19893 #include "confdefs.h"
19895 #ifdef HAVE_IEEEFP_H
19896 #include <ieeefp.h>
19903 if { (eval echo configure:19904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19905 glibcpp_cv_func__log10l_use=yes
19907 echo "configure: failed program was:" >&5
19908 cat conftest.$ac_ext >&5
19910 glibcpp_cv_func__log10l_use=no
19914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19915 ac_cpp='$CPP $CPPFLAGS'
19916 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19917 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19918 cross_compiling=$ac_cv_prog_cc_cross
19924 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19926 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19927 for ac_func in _log10l
19929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19930 echo "configure:19931: checking for $ac_func" >&5
19931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19932 echo $ac_n "(cached) $ac_c" 1>&6
19934 cat > conftest.$ac_ext <<EOF
19935 #line 19936 "configure"
19936 #include "confdefs.h"
19937 /* System header to define __stub macros and hopefully few prototypes,
19938 which can conflict with char $ac_func(); below. */
19939 #include <assert.h>
19940 /* Override any gcc2 internal prototype to avoid an error. */
19941 /* We use char because int might match the return type of a gcc2
19942 builtin and then its argument prototype would still apply. */
19947 /* The GNU C library defines this for functions which it implements
19948 to always fail with ENOSYS. Some functions are actually named
19949 something starting with __ and the normal name is an alias. */
19950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19958 if { (eval echo configure:19959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19960 eval "ac_cv_func_$ac_func=yes"
19962 echo "configure: failed program was:" >&5
19963 cat conftest.$ac_ext >&5
19965 eval "ac_cv_func_$ac_func=no"
19970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19971 echo "$ac_t""yes" 1>&6
19972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19973 cat >> confdefs.h <<EOF
19974 #define $ac_tr_func 1
19978 echo "$ac_t""no" 1>&6
19987 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
19988 echo "configure:19989: checking for modfl declaration" >&5
19989 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19990 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19991 echo $ac_n "(cached) $ac_c" 1>&6
19996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20000 cross_compiling=$ac_cv_prog_cxx_cross
20002 cat > conftest.$ac_ext <<EOF
20003 #line 20004 "configure"
20004 #include "confdefs.h"
20010 if { (eval echo configure:20011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20012 glibcpp_cv_func_modfl_use=yes
20014 echo "configure: failed program was:" >&5
20015 cat conftest.$ac_ext >&5
20017 glibcpp_cv_func_modfl_use=no
20021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20022 ac_cpp='$CPP $CPPFLAGS'
20023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20025 cross_compiling=$ac_cv_prog_cc_cross
20031 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20033 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20034 for ac_func in modfl
20036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20037 echo "configure:20038: checking for $ac_func" >&5
20038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20039 echo $ac_n "(cached) $ac_c" 1>&6
20041 cat > conftest.$ac_ext <<EOF
20042 #line 20043 "configure"
20043 #include "confdefs.h"
20044 /* System header to define __stub macros and hopefully few prototypes,
20045 which can conflict with char $ac_func(); below. */
20046 #include <assert.h>
20047 /* Override any gcc2 internal prototype to avoid an error. */
20048 /* We use char because int might match the return type of a gcc2
20049 builtin and then its argument prototype would still apply. */
20054 /* The GNU C library defines this for functions which it implements
20055 to always fail with ENOSYS. Some functions are actually named
20056 something starting with __ and the normal name is an alias. */
20057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20065 if { (eval echo configure:20066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20067 eval "ac_cv_func_$ac_func=yes"
20069 echo "configure: failed program was:" >&5
20070 cat conftest.$ac_ext >&5
20072 eval "ac_cv_func_$ac_func=no"
20077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20078 echo "$ac_t""yes" 1>&6
20079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20080 cat >> confdefs.h <<EOF
20081 #define $ac_tr_func 1
20085 echo "$ac_t""no" 1>&6
20091 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20092 echo "configure:20093: checking for _modfl declaration" >&5
20093 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20094 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20095 echo $ac_n "(cached) $ac_c" 1>&6
20100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20101 ac_cpp='$CXXCPP $CPPFLAGS'
20102 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20103 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20104 cross_compiling=$ac_cv_prog_cxx_cross
20106 cat > conftest.$ac_ext <<EOF
20107 #line 20108 "configure"
20108 #include "confdefs.h"
20114 if { (eval echo configure:20115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20116 glibcpp_cv_func__modfl_use=yes
20118 echo "configure: failed program was:" >&5
20119 cat conftest.$ac_ext >&5
20121 glibcpp_cv_func__modfl_use=no
20125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20126 ac_cpp='$CPP $CPPFLAGS'
20127 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20128 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20129 cross_compiling=$ac_cv_prog_cc_cross
20135 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20137 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20138 for ac_func in _modfl
20140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20141 echo "configure:20142: checking for $ac_func" >&5
20142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20143 echo $ac_n "(cached) $ac_c" 1>&6
20145 cat > conftest.$ac_ext <<EOF
20146 #line 20147 "configure"
20147 #include "confdefs.h"
20148 /* System header to define __stub macros and hopefully few prototypes,
20149 which can conflict with char $ac_func(); below. */
20150 #include <assert.h>
20151 /* Override any gcc2 internal prototype to avoid an error. */
20152 /* We use char because int might match the return type of a gcc2
20153 builtin and then its argument prototype would still apply. */
20158 /* The GNU C library defines this for functions which it implements
20159 to always fail with ENOSYS. Some functions are actually named
20160 something starting with __ and the normal name is an alias. */
20161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20169 if { (eval echo configure:20170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20171 eval "ac_cv_func_$ac_func=yes"
20173 echo "configure: failed program was:" >&5
20174 cat conftest.$ac_ext >&5
20176 eval "ac_cv_func_$ac_func=no"
20181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20182 echo "$ac_t""yes" 1>&6
20183 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20184 cat >> confdefs.h <<EOF
20185 #define $ac_tr_func 1
20189 echo "$ac_t""no" 1>&6
20198 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20199 echo "configure:20200: checking for powl declaration" >&5
20200 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20201 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20202 echo $ac_n "(cached) $ac_c" 1>&6
20207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20208 ac_cpp='$CXXCPP $CPPFLAGS'
20209 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20210 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20211 cross_compiling=$ac_cv_prog_cxx_cross
20213 cat > conftest.$ac_ext <<EOF
20214 #line 20215 "configure"
20215 #include "confdefs.h"
20221 if { (eval echo configure:20222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20223 glibcpp_cv_func_powl_use=yes
20225 echo "configure: failed program was:" >&5
20226 cat conftest.$ac_ext >&5
20228 glibcpp_cv_func_powl_use=no
20232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20233 ac_cpp='$CPP $CPPFLAGS'
20234 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20235 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20236 cross_compiling=$ac_cv_prog_cc_cross
20242 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20244 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20245 for ac_func in powl
20247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20248 echo "configure:20249: checking for $ac_func" >&5
20249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20250 echo $ac_n "(cached) $ac_c" 1>&6
20252 cat > conftest.$ac_ext <<EOF
20253 #line 20254 "configure"
20254 #include "confdefs.h"
20255 /* System header to define __stub macros and hopefully few prototypes,
20256 which can conflict with char $ac_func(); below. */
20257 #include <assert.h>
20258 /* Override any gcc2 internal prototype to avoid an error. */
20259 /* We use char because int might match the return type of a gcc2
20260 builtin and then its argument prototype would still apply. */
20265 /* The GNU C library defines this for functions which it implements
20266 to always fail with ENOSYS. Some functions are actually named
20267 something starting with __ and the normal name is an alias. */
20268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20276 if { (eval echo configure:20277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20278 eval "ac_cv_func_$ac_func=yes"
20280 echo "configure: failed program was:" >&5
20281 cat conftest.$ac_ext >&5
20283 eval "ac_cv_func_$ac_func=no"
20288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20289 echo "$ac_t""yes" 1>&6
20290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20291 cat >> confdefs.h <<EOF
20292 #define $ac_tr_func 1
20296 echo "$ac_t""no" 1>&6
20302 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20303 echo "configure:20304: checking for _powl declaration" >&5
20304 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20305 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20306 echo $ac_n "(cached) $ac_c" 1>&6
20311 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20314 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20315 cross_compiling=$ac_cv_prog_cxx_cross
20317 cat > conftest.$ac_ext <<EOF
20318 #line 20319 "configure"
20319 #include "confdefs.h"
20325 if { (eval echo configure:20326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20327 glibcpp_cv_func__powl_use=yes
20329 echo "configure: failed program was:" >&5
20330 cat conftest.$ac_ext >&5
20332 glibcpp_cv_func__powl_use=no
20336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20337 ac_cpp='$CPP $CPPFLAGS'
20338 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20339 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20340 cross_compiling=$ac_cv_prog_cc_cross
20346 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20348 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20349 for ac_func in _powl
20351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20352 echo "configure:20353: checking for $ac_func" >&5
20353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20354 echo $ac_n "(cached) $ac_c" 1>&6
20356 cat > conftest.$ac_ext <<EOF
20357 #line 20358 "configure"
20358 #include "confdefs.h"
20359 /* System header to define __stub macros and hopefully few prototypes,
20360 which can conflict with char $ac_func(); below. */
20361 #include <assert.h>
20362 /* Override any gcc2 internal prototype to avoid an error. */
20363 /* We use char because int might match the return type of a gcc2
20364 builtin and then its argument prototype would still apply. */
20369 /* The GNU C library defines this for functions which it implements
20370 to always fail with ENOSYS. Some functions are actually named
20371 something starting with __ and the normal name is an alias. */
20372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20380 if { (eval echo configure:20381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20382 eval "ac_cv_func_$ac_func=yes"
20384 echo "configure: failed program was:" >&5
20385 cat conftest.$ac_ext >&5
20387 eval "ac_cv_func_$ac_func=no"
20392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20393 echo "$ac_t""yes" 1>&6
20394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20395 cat >> confdefs.h <<EOF
20396 #define $ac_tr_func 1
20400 echo "$ac_t""no" 1>&6
20409 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20410 echo "configure:20411: checking for sqrtl declaration" >&5
20411 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20412 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20413 echo $ac_n "(cached) $ac_c" 1>&6
20418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20419 ac_cpp='$CXXCPP $CPPFLAGS'
20420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20422 cross_compiling=$ac_cv_prog_cxx_cross
20424 cat > conftest.$ac_ext <<EOF
20425 #line 20426 "configure"
20426 #include "confdefs.h"
20428 #ifdef HAVE_IEEEFP_H
20429 #include <ieeefp.h>
20436 if { (eval echo configure:20437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20438 glibcpp_cv_func_sqrtl_use=yes
20440 echo "configure: failed program was:" >&5
20441 cat conftest.$ac_ext >&5
20443 glibcpp_cv_func_sqrtl_use=no
20447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20448 ac_cpp='$CPP $CPPFLAGS'
20449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20451 cross_compiling=$ac_cv_prog_cc_cross
20457 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20459 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20460 for ac_func in sqrtl
20462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20463 echo "configure:20464: checking for $ac_func" >&5
20464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20465 echo $ac_n "(cached) $ac_c" 1>&6
20467 cat > conftest.$ac_ext <<EOF
20468 #line 20469 "configure"
20469 #include "confdefs.h"
20470 /* System header to define __stub macros and hopefully few prototypes,
20471 which can conflict with char $ac_func(); below. */
20472 #include <assert.h>
20473 /* Override any gcc2 internal prototype to avoid an error. */
20474 /* We use char because int might match the return type of a gcc2
20475 builtin and then its argument prototype would still apply. */
20480 /* The GNU C library defines this for functions which it implements
20481 to always fail with ENOSYS. Some functions are actually named
20482 something starting with __ and the normal name is an alias. */
20483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20491 if { (eval echo configure:20492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20493 eval "ac_cv_func_$ac_func=yes"
20495 echo "configure: failed program was:" >&5
20496 cat conftest.$ac_ext >&5
20498 eval "ac_cv_func_$ac_func=no"
20503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20504 echo "$ac_t""yes" 1>&6
20505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20506 cat >> confdefs.h <<EOF
20507 #define $ac_tr_func 1
20511 echo "$ac_t""no" 1>&6
20517 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20518 echo "configure:20519: checking for _sqrtl declaration" >&5
20519 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20520 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20521 echo $ac_n "(cached) $ac_c" 1>&6
20526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20527 ac_cpp='$CXXCPP $CPPFLAGS'
20528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20530 cross_compiling=$ac_cv_prog_cxx_cross
20532 cat > conftest.$ac_ext <<EOF
20533 #line 20534 "configure"
20534 #include "confdefs.h"
20536 #ifdef HAVE_IEEEFP_H
20537 #include <ieeefp.h>
20544 if { (eval echo configure:20545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20546 glibcpp_cv_func__sqrtl_use=yes
20548 echo "configure: failed program was:" >&5
20549 cat conftest.$ac_ext >&5
20551 glibcpp_cv_func__sqrtl_use=no
20555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20556 ac_cpp='$CPP $CPPFLAGS'
20557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20559 cross_compiling=$ac_cv_prog_cc_cross
20565 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20567 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20568 for ac_func in _sqrtl
20570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20571 echo "configure:20572: checking for $ac_func" >&5
20572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20573 echo $ac_n "(cached) $ac_c" 1>&6
20575 cat > conftest.$ac_ext <<EOF
20576 #line 20577 "configure"
20577 #include "confdefs.h"
20578 /* System header to define __stub macros and hopefully few prototypes,
20579 which can conflict with char $ac_func(); below. */
20580 #include <assert.h>
20581 /* Override any gcc2 internal prototype to avoid an error. */
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20588 /* The GNU C library defines this for functions which it implements
20589 to always fail with ENOSYS. Some functions are actually named
20590 something starting with __ and the normal name is an alias. */
20591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20599 if { (eval echo configure:20600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20601 eval "ac_cv_func_$ac_func=yes"
20603 echo "configure: failed program was:" >&5
20604 cat conftest.$ac_ext >&5
20606 eval "ac_cv_func_$ac_func=no"
20611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20612 echo "$ac_t""yes" 1>&6
20613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20614 cat >> confdefs.h <<EOF
20615 #define $ac_tr_func 1
20619 echo "$ac_t""no" 1>&6
20628 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20629 echo "configure:20630: checking for sincosl declaration" >&5
20630 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20631 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20632 echo $ac_n "(cached) $ac_c" 1>&6
20637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20638 ac_cpp='$CXXCPP $CPPFLAGS'
20639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20641 cross_compiling=$ac_cv_prog_cxx_cross
20643 cat > conftest.$ac_ext <<EOF
20644 #line 20645 "configure"
20645 #include "confdefs.h"
20651 if { (eval echo configure:20652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20653 glibcpp_cv_func_sincosl_use=yes
20655 echo "configure: failed program was:" >&5
20656 cat conftest.$ac_ext >&5
20658 glibcpp_cv_func_sincosl_use=no
20662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20666 cross_compiling=$ac_cv_prog_cc_cross
20672 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20674 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20675 for ac_func in sincosl
20677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20678 echo "configure:20679: checking for $ac_func" >&5
20679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20680 echo $ac_n "(cached) $ac_c" 1>&6
20682 cat > conftest.$ac_ext <<EOF
20683 #line 20684 "configure"
20684 #include "confdefs.h"
20685 /* System header to define __stub macros and hopefully few prototypes,
20686 which can conflict with char $ac_func(); below. */
20687 #include <assert.h>
20688 /* Override any gcc2 internal prototype to avoid an error. */
20689 /* We use char because int might match the return type of a gcc2
20690 builtin and then its argument prototype would still apply. */
20695 /* The GNU C library defines this for functions which it implements
20696 to always fail with ENOSYS. Some functions are actually named
20697 something starting with __ and the normal name is an alias. */
20698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20706 if { (eval echo configure:20707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20708 eval "ac_cv_func_$ac_func=yes"
20710 echo "configure: failed program was:" >&5
20711 cat conftest.$ac_ext >&5
20713 eval "ac_cv_func_$ac_func=no"
20718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20719 echo "$ac_t""yes" 1>&6
20720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20721 cat >> confdefs.h <<EOF
20722 #define $ac_tr_func 1
20726 echo "$ac_t""no" 1>&6
20732 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20733 echo "configure:20734: checking for _sincosl declaration" >&5
20734 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20735 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20736 echo $ac_n "(cached) $ac_c" 1>&6
20741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20745 cross_compiling=$ac_cv_prog_cxx_cross
20747 cat > conftest.$ac_ext <<EOF
20748 #line 20749 "configure"
20749 #include "confdefs.h"
20755 if { (eval echo configure:20756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20757 glibcpp_cv_func__sincosl_use=yes
20759 echo "configure: failed program was:" >&5
20760 cat conftest.$ac_ext >&5
20762 glibcpp_cv_func__sincosl_use=no
20766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20767 ac_cpp='$CPP $CPPFLAGS'
20768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20770 cross_compiling=$ac_cv_prog_cc_cross
20776 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20778 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20779 for ac_func in _sincosl
20781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20782 echo "configure:20783: checking for $ac_func" >&5
20783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20784 echo $ac_n "(cached) $ac_c" 1>&6
20786 cat > conftest.$ac_ext <<EOF
20787 #line 20788 "configure"
20788 #include "confdefs.h"
20789 /* System header to define __stub macros and hopefully few prototypes,
20790 which can conflict with char $ac_func(); below. */
20791 #include <assert.h>
20792 /* Override any gcc2 internal prototype to avoid an error. */
20793 /* We use char because int might match the return type of a gcc2
20794 builtin and then its argument prototype would still apply. */
20799 /* The GNU C library defines this for functions which it implements
20800 to always fail with ENOSYS. Some functions are actually named
20801 something starting with __ and the normal name is an alias. */
20802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20810 if { (eval echo configure:20811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20812 eval "ac_cv_func_$ac_func=yes"
20814 echo "configure: failed program was:" >&5
20815 cat conftest.$ac_ext >&5
20817 eval "ac_cv_func_$ac_func=no"
20822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20823 echo "$ac_t""yes" 1>&6
20824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20825 cat >> confdefs.h <<EOF
20826 #define $ac_tr_func 1
20830 echo "$ac_t""no" 1>&6
20839 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
20840 echo "configure:20841: checking for finitel declaration" >&5
20841 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20842 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20843 echo $ac_n "(cached) $ac_c" 1>&6
20848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20849 ac_cpp='$CXXCPP $CPPFLAGS'
20850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20852 cross_compiling=$ac_cv_prog_cxx_cross
20854 cat > conftest.$ac_ext <<EOF
20855 #line 20856 "configure"
20856 #include "confdefs.h"
20858 #ifdef HAVE_IEEEFP_H
20859 #include <ieeefp.h>
20866 if { (eval echo configure:20867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20868 glibcpp_cv_func_finitel_use=yes
20870 echo "configure: failed program was:" >&5
20871 cat conftest.$ac_ext >&5
20873 glibcpp_cv_func_finitel_use=no
20877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20878 ac_cpp='$CPP $CPPFLAGS'
20879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20880 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20881 cross_compiling=$ac_cv_prog_cc_cross
20887 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
20889 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
20890 for ac_func in finitel
20892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20893 echo "configure:20894: checking for $ac_func" >&5
20894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20895 echo $ac_n "(cached) $ac_c" 1>&6
20897 cat > conftest.$ac_ext <<EOF
20898 #line 20899 "configure"
20899 #include "confdefs.h"
20900 /* System header to define __stub macros and hopefully few prototypes,
20901 which can conflict with char $ac_func(); below. */
20902 #include <assert.h>
20903 /* Override any gcc2 internal prototype to avoid an error. */
20904 /* We use char because int might match the return type of a gcc2
20905 builtin and then its argument prototype would still apply. */
20910 /* The GNU C library defines this for functions which it implements
20911 to always fail with ENOSYS. Some functions are actually named
20912 something starting with __ and the normal name is an alias. */
20913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20921 if { (eval echo configure:20922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20923 eval "ac_cv_func_$ac_func=yes"
20925 echo "configure: failed program was:" >&5
20926 cat conftest.$ac_ext >&5
20928 eval "ac_cv_func_$ac_func=no"
20933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20934 echo "$ac_t""yes" 1>&6
20935 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20936 cat >> confdefs.h <<EOF
20937 #define $ac_tr_func 1
20941 echo "$ac_t""no" 1>&6
20947 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
20948 echo "configure:20949: checking for _finitel declaration" >&5
20949 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20950 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20951 echo $ac_n "(cached) $ac_c" 1>&6
20956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20957 ac_cpp='$CXXCPP $CPPFLAGS'
20958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20960 cross_compiling=$ac_cv_prog_cxx_cross
20962 cat > conftest.$ac_ext <<EOF
20963 #line 20964 "configure"
20964 #include "confdefs.h"
20966 #ifdef HAVE_IEEEFP_H
20967 #include <ieeefp.h>
20974 if { (eval echo configure:20975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20976 glibcpp_cv_func__finitel_use=yes
20978 echo "configure: failed program was:" >&5
20979 cat conftest.$ac_ext >&5
20981 glibcpp_cv_func__finitel_use=no
20985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20989 cross_compiling=$ac_cv_prog_cc_cross
20995 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20997 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20998 for ac_func in _finitel
21000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21001 echo "configure:21002: checking for $ac_func" >&5
21002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21003 echo $ac_n "(cached) $ac_c" 1>&6
21005 cat > conftest.$ac_ext <<EOF
21006 #line 21007 "configure"
21007 #include "confdefs.h"
21008 /* System header to define __stub macros and hopefully few prototypes,
21009 which can conflict with char $ac_func(); below. */
21010 #include <assert.h>
21011 /* Override any gcc2 internal prototype to avoid an error. */
21012 /* We use char because int might match the return type of a gcc2
21013 builtin and then its argument prototype would still apply. */
21018 /* The GNU C library defines this for functions which it implements
21019 to always fail with ENOSYS. Some functions are actually named
21020 something starting with __ and the normal name is an alias. */
21021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21029 if { (eval echo configure:21030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21031 eval "ac_cv_func_$ac_func=yes"
21033 echo "configure: failed program was:" >&5
21034 cat conftest.$ac_ext >&5
21036 eval "ac_cv_func_$ac_func=no"
21041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21042 echo "$ac_t""yes" 1>&6
21043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21044 cat >> confdefs.h <<EOF
21045 #define $ac_tr_func 1
21049 echo "$ac_t""no" 1>&6
21059 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21060 echo "configure:21061: checking for _float trig functions" >&5
21061 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21062 echo $ac_n "(cached) $ac_c" 1>&6
21067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21068 ac_cpp='$CXXCPP $CPPFLAGS'
21069 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21070 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21071 cross_compiling=$ac_cv_prog_cxx_cross
21073 cat > conftest.$ac_ext <<EOF
21074 #line 21075 "configure"
21075 #include "confdefs.h"
21078 `for x in _acosf _asinf _atanf \
21079 _cosf _sinf _tanf \
21080 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21083 if { (eval echo configure:21084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21085 glibcpp_cv_func__float_trig_use=yes
21087 echo "configure: failed program was:" >&5
21088 cat conftest.$ac_ext >&5
21090 glibcpp_cv_func__float_trig_use=no
21094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21095 ac_cpp='$CPP $CPPFLAGS'
21096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21098 cross_compiling=$ac_cv_prog_cc_cross
21102 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21103 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21104 for ac_func in _acosf _asinf _atanf \
21105 _cosf _sinf _tanf \
21106 _coshf _sinhf _tanhf
21108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21109 echo "configure:21110: checking for $ac_func" >&5
21110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21111 echo $ac_n "(cached) $ac_c" 1>&6
21113 cat > conftest.$ac_ext <<EOF
21114 #line 21115 "configure"
21115 #include "confdefs.h"
21116 /* System header to define __stub macros and hopefully few prototypes,
21117 which can conflict with char $ac_func(); below. */
21118 #include <assert.h>
21119 /* Override any gcc2 internal prototype to avoid an error. */
21120 /* We use char because int might match the return type of a gcc2
21121 builtin and then its argument prototype would still apply. */
21126 /* The GNU C library defines this for functions which it implements
21127 to always fail with ENOSYS. Some functions are actually named
21128 something starting with __ and the normal name is an alias. */
21129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21137 if { (eval echo configure:21138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21139 eval "ac_cv_func_$ac_func=yes"
21141 echo "configure: failed program was:" >&5
21142 cat conftest.$ac_ext >&5
21144 eval "ac_cv_func_$ac_func=no"
21149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21150 echo "$ac_t""yes" 1>&6
21151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21152 cat >> confdefs.h <<EOF
21153 #define $ac_tr_func 1
21157 echo "$ac_t""no" 1>&6
21164 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21165 echo "configure:21166: checking for _float round functions" >&5
21166 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21167 echo $ac_n "(cached) $ac_c" 1>&6
21172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21173 ac_cpp='$CXXCPP $CPPFLAGS'
21174 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21175 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21176 cross_compiling=$ac_cv_prog_cxx_cross
21178 cat > conftest.$ac_ext <<EOF
21179 #line 21180 "configure"
21180 #include "confdefs.h"
21183 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21186 if { (eval echo configure:21187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21188 glibcpp_cv_func__float_round_use=yes
21190 echo "configure: failed program was:" >&5
21191 cat conftest.$ac_ext >&5
21193 glibcpp_cv_func__float_round_use=no
21197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21200 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21201 cross_compiling=$ac_cv_prog_cc_cross
21205 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21206 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21207 for ac_func in _ceilf _floorf
21209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21210 echo "configure:21211: checking for $ac_func" >&5
21211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21212 echo $ac_n "(cached) $ac_c" 1>&6
21214 cat > conftest.$ac_ext <<EOF
21215 #line 21216 "configure"
21216 #include "confdefs.h"
21217 /* System header to define __stub macros and hopefully few prototypes,
21218 which can conflict with char $ac_func(); below. */
21219 #include <assert.h>
21220 /* Override any gcc2 internal prototype to avoid an error. */
21221 /* We use char because int might match the return type of a gcc2
21222 builtin and then its argument prototype would still apply. */
21227 /* The GNU C library defines this for functions which it implements
21228 to always fail with ENOSYS. Some functions are actually named
21229 something starting with __ and the normal name is an alias. */
21230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21238 if { (eval echo configure:21239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21240 eval "ac_cv_func_$ac_func=yes"
21242 echo "configure: failed program was:" >&5
21243 cat conftest.$ac_ext >&5
21245 eval "ac_cv_func_$ac_func=no"
21250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21251 echo "$ac_t""yes" 1>&6
21252 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21253 cat >> confdefs.h <<EOF
21254 #define $ac_tr_func 1
21258 echo "$ac_t""no" 1>&6
21266 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21267 echo "configure:21268: checking for _long double trig functions" >&5
21268 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21269 echo $ac_n "(cached) $ac_c" 1>&6
21274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21278 cross_compiling=$ac_cv_prog_cxx_cross
21280 cat > conftest.$ac_ext <<EOF
21281 #line 21282 "configure"
21282 #include "confdefs.h"
21285 `for x in _acosl _asinl _atanl \
21286 _cosl _sinl _tanl \
21287 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21290 if { (eval echo configure:21291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21292 glibcpp_cv_func__long_double_trig_use=yes
21294 echo "configure: failed program was:" >&5
21295 cat conftest.$ac_ext >&5
21297 glibcpp_cv_func__long_double_trig_use=no
21301 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21302 ac_cpp='$CPP $CPPFLAGS'
21303 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21304 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21305 cross_compiling=$ac_cv_prog_cc_cross
21309 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21310 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21311 for ac_func in _acosl _asinl _atanl \
21312 _cosl _sinl _tanl \
21313 _coshl _sinhl _tanhl
21315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21316 echo "configure:21317: checking for $ac_func" >&5
21317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21318 echo $ac_n "(cached) $ac_c" 1>&6
21320 cat > conftest.$ac_ext <<EOF
21321 #line 21322 "configure"
21322 #include "confdefs.h"
21323 /* System header to define __stub macros and hopefully few prototypes,
21324 which can conflict with char $ac_func(); below. */
21325 #include <assert.h>
21326 /* Override any gcc2 internal prototype to avoid an error. */
21327 /* We use char because int might match the return type of a gcc2
21328 builtin and then its argument prototype would still apply. */
21333 /* The GNU C library defines this for functions which it implements
21334 to always fail with ENOSYS. Some functions are actually named
21335 something starting with __ and the normal name is an alias. */
21336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21344 if { (eval echo configure:21345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21346 eval "ac_cv_func_$ac_func=yes"
21348 echo "configure: failed program was:" >&5
21349 cat conftest.$ac_ext >&5
21351 eval "ac_cv_func_$ac_func=no"
21356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21357 echo "$ac_t""yes" 1>&6
21358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21359 cat >> confdefs.h <<EOF
21360 #define $ac_tr_func 1
21364 echo "$ac_t""no" 1>&6
21371 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21372 echo "configure:21373: checking for _long double round functions" >&5
21373 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21374 echo $ac_n "(cached) $ac_c" 1>&6
21379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21380 ac_cpp='$CXXCPP $CPPFLAGS'
21381 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21382 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21383 cross_compiling=$ac_cv_prog_cxx_cross
21385 cat > conftest.$ac_ext <<EOF
21386 #line 21387 "configure"
21387 #include "confdefs.h"
21390 `for x in _ceill _floorl; do echo "$x (0);"; done`
21393 if { (eval echo configure:21394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21395 glibcpp_cv_func__long_double_round_use=yes
21397 echo "configure: failed program was:" >&5
21398 cat conftest.$ac_ext >&5
21400 glibcpp_cv_func__long_double_round_use=no
21404 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21405 ac_cpp='$CPP $CPPFLAGS'
21406 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21407 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21408 cross_compiling=$ac_cv_prog_cc_cross
21412 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21413 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21414 for ac_func in _ceill _floorl
21416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21417 echo "configure:21418: checking for $ac_func" >&5
21418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21419 echo $ac_n "(cached) $ac_c" 1>&6
21421 cat > conftest.$ac_ext <<EOF
21422 #line 21423 "configure"
21423 #include "confdefs.h"
21424 /* System header to define __stub macros and hopefully few prototypes,
21425 which can conflict with char $ac_func(); below. */
21426 #include <assert.h>
21427 /* Override any gcc2 internal prototype to avoid an error. */
21428 /* We use char because int might match the return type of a gcc2
21429 builtin and then its argument prototype would still apply. */
21434 /* The GNU C library defines this for functions which it implements
21435 to always fail with ENOSYS. Some functions are actually named
21436 something starting with __ and the normal name is an alias. */
21437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21445 if { (eval echo configure:21446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21447 eval "ac_cv_func_$ac_func=yes"
21449 echo "configure: failed program was:" >&5
21450 cat conftest.$ac_ext >&5
21452 eval "ac_cv_func_$ac_func=no"
21457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21458 echo "$ac_t""yes" 1>&6
21459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21460 cat >> confdefs.h <<EOF
21461 #define $ac_tr_func 1
21465 echo "$ac_t""no" 1>&6
21472 LIBS="$ac_save_LIBS"
21473 CXXFLAGS="$ac_save_CXXFLAGS"
21476 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21477 echo "configure:21478: checking for main in -lm" >&5
21478 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21480 echo $ac_n "(cached) $ac_c" 1>&6
21482 ac_save_LIBS="$LIBS"
21484 cat > conftest.$ac_ext <<EOF
21485 #line 21486 "configure"
21486 #include "confdefs.h"
21492 if { (eval echo configure:21493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21494 eval "ac_cv_lib_$ac_lib_var=yes"
21496 echo "configure: failed program was:" >&5
21497 cat conftest.$ac_ext >&5
21499 eval "ac_cv_lib_$ac_lib_var=no"
21502 LIBS="$ac_save_LIBS"
21505 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21506 echo "$ac_t""yes" 1>&6
21507 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21508 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21509 cat >> confdefs.h <<EOF
21510 #define $ac_tr_lib 1
21516 echo "$ac_t""no" 1>&6
21519 for ac_func in nan copysignf
21521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21522 echo "configure:21523: checking for $ac_func" >&5
21523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21524 echo $ac_n "(cached) $ac_c" 1>&6
21526 cat > conftest.$ac_ext <<EOF
21527 #line 21528 "configure"
21528 #include "confdefs.h"
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func(); below. */
21531 #include <assert.h>
21532 /* Override any gcc2 internal prototype to avoid an error. */
21533 /* We use char because int might match the return type of a gcc2
21534 builtin and then its argument prototype would still apply. */
21539 /* The GNU C library defines this for functions which it implements
21540 to always fail with ENOSYS. Some functions are actually named
21541 something starting with __ and the normal name is an alias. */
21542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21550 if { (eval echo configure:21551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21552 eval "ac_cv_func_$ac_func=yes"
21554 echo "configure: failed program was:" >&5
21555 cat conftest.$ac_ext >&5
21557 eval "ac_cv_func_$ac_func=no"
21562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21563 echo "$ac_t""yes" 1>&6
21564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21565 cat >> confdefs.h <<EOF
21566 #define $ac_tr_func 1
21570 echo "$ac_t""no" 1>&6
21571 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21576 for ac_func in __signbit
21578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21579 echo "configure:21580: checking for $ac_func" >&5
21580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21581 echo $ac_n "(cached) $ac_c" 1>&6
21583 cat > conftest.$ac_ext <<EOF
21584 #line 21585 "configure"
21585 #include "confdefs.h"
21586 /* System header to define __stub macros and hopefully few prototypes,
21587 which can conflict with char $ac_func(); below. */
21588 #include <assert.h>
21589 /* Override any gcc2 internal prototype to avoid an error. */
21590 /* We use char because int might match the return type of a gcc2
21591 builtin and then its argument prototype would still apply. */
21596 /* The GNU C library defines this for functions which it implements
21597 to always fail with ENOSYS. Some functions are actually named
21598 something starting with __ and the normal name is an alias. */
21599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21607 if { (eval echo configure:21608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21609 eval "ac_cv_func_$ac_func=yes"
21611 echo "configure: failed program was:" >&5
21612 cat conftest.$ac_ext >&5
21614 eval "ac_cv_func_$ac_func=no"
21619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21620 echo "$ac_t""yes" 1>&6
21621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21622 cat >> confdefs.h <<EOF
21623 #define $ac_tr_func 1
21627 echo "$ac_t""no" 1>&6
21628 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21632 for ac_func in __signbitf
21634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21635 echo "configure:21636: checking for $ac_func" >&5
21636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21637 echo $ac_n "(cached) $ac_c" 1>&6
21639 cat > conftest.$ac_ext <<EOF
21640 #line 21641 "configure"
21641 #include "confdefs.h"
21642 /* System header to define __stub macros and hopefully few prototypes,
21643 which can conflict with char $ac_func(); below. */
21644 #include <assert.h>
21645 /* Override any gcc2 internal prototype to avoid an error. */
21646 /* We use char because int might match the return type of a gcc2
21647 builtin and then its argument prototype would still apply. */
21652 /* The GNU C library defines this for functions which it implements
21653 to always fail with ENOSYS. Some functions are actually named
21654 something starting with __ and the normal name is an alias. */
21655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21663 if { (eval echo configure:21664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21665 eval "ac_cv_func_$ac_func=yes"
21667 echo "configure: failed program was:" >&5
21668 cat conftest.$ac_ext >&5
21670 eval "ac_cv_func_$ac_func=no"
21675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21676 echo "$ac_t""yes" 1>&6
21677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21678 cat >> confdefs.h <<EOF
21679 #define $ac_tr_func 1
21683 echo "$ac_t""no" 1>&6
21684 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21689 if test x$ac_cv_func_copysignl = x"yes"; then
21690 for ac_func in __signbitl
21692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21693 echo "configure:21694: checking for $ac_func" >&5
21694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21695 echo $ac_n "(cached) $ac_c" 1>&6
21697 cat > conftest.$ac_ext <<EOF
21698 #line 21699 "configure"
21699 #include "confdefs.h"
21700 /* System header to define __stub macros and hopefully few prototypes,
21701 which can conflict with char $ac_func(); below. */
21702 #include <assert.h>
21703 /* Override any gcc2 internal prototype to avoid an error. */
21704 /* We use char because int might match the return type of a gcc2
21705 builtin and then its argument prototype would still apply. */
21710 /* The GNU C library defines this for functions which it implements
21711 to always fail with ENOSYS. Some functions are actually named
21712 something starting with __ and the normal name is an alias. */
21713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21721 if { (eval echo configure:21722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21723 eval "ac_cv_func_$ac_func=yes"
21725 echo "configure: failed program was:" >&5
21726 cat conftest.$ac_ext >&5
21728 eval "ac_cv_func_$ac_func=no"
21733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21734 echo "$ac_t""yes" 1>&6
21735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21736 cat >> confdefs.h <<EOF
21737 #define $ac_tr_func 1
21741 echo "$ac_t""no" 1>&6
21742 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21752 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21753 echo "configure:21754: checking for mbstate_t" >&5
21754 cat > conftest.$ac_ext <<EOF
21755 #line 21756 "configure"
21756 #include "confdefs.h"
21759 mbstate_t teststate;
21762 if { (eval echo configure:21763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21766 echo "configure: failed program was:" >&5
21767 cat conftest.$ac_ext >&5
21772 echo "$ac_t""$have_mbstate_t" 1>&6
21773 if test x"$have_mbstate_t" = xyes; then
21774 cat >> confdefs.h <<\EOF
21775 #define HAVE_MBSTATE_T 1
21780 for ac_hdr in wchar.h
21782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21784 echo "configure:21785: checking for $ac_hdr" >&5
21785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21786 echo $ac_n "(cached) $ac_c" 1>&6
21788 cat > conftest.$ac_ext <<EOF
21789 #line 21790 "configure"
21790 #include "confdefs.h"
21793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21794 { (eval echo configure:21795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21796 if test -z "$ac_err"; then
21798 eval "ac_cv_header_$ac_safe=yes"
21801 echo "configure: failed program was:" >&5
21802 cat conftest.$ac_ext >&5
21804 eval "ac_cv_header_$ac_safe=no"
21808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21809 echo "$ac_t""yes" 1>&6
21810 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21811 cat >> confdefs.h <<EOF
21812 #define $ac_tr_hdr 1
21816 echo "$ac_t""no" 1>&6
21821 for ac_hdr in wctype.h
21823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21825 echo "configure:21826: checking for $ac_hdr" >&5
21826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21827 echo $ac_n "(cached) $ac_c" 1>&6
21829 cat > conftest.$ac_ext <<EOF
21830 #line 21831 "configure"
21831 #include "confdefs.h"
21834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21835 { (eval echo configure:21836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21837 if test -z "$ac_err"; then
21839 eval "ac_cv_header_$ac_safe=yes"
21842 echo "configure: failed program was:" >&5
21843 cat conftest.$ac_ext >&5
21845 eval "ac_cv_header_$ac_safe=no"
21849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21850 echo "$ac_t""yes" 1>&6
21851 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21852 cat >> confdefs.h <<EOF
21853 #define $ac_tr_hdr 1
21855 ac_has_wctype_h=yes
21857 echo "$ac_t""no" 1>&6
21863 if test x"$ac_has_wchar_h" = xyes &&
21864 test x"$ac_has_wctype_h" = xyes &&
21865 test x"$enable_c_mbchar" != xno; then
21867 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
21868 echo "configure:21869: checking for WCHAR_MIN and WCHAR_MAX" >&5
21869 cat > conftest.$ac_ext <<EOF
21870 #line 21871 "configure"
21871 #include "confdefs.h"
21874 int i = WCHAR_MIN; int j = WCHAR_MAX;
21877 if { (eval echo configure:21878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21879 has_wchar_minmax=yes
21881 echo "configure: failed program was:" >&5
21882 cat conftest.$ac_ext >&5
21884 has_wchar_minmax=no
21887 echo "$ac_t""$has_wchar_minmax" 1>&6
21889 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
21890 echo "configure:21891: checking for WEOF" >&5
21891 cat > conftest.$ac_ext <<EOF
21892 #line 21893 "configure"
21893 #include "confdefs.h"
21896 #include <stddef.h>
21901 if { (eval echo configure:21902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21905 echo "configure: failed program was:" >&5
21906 cat conftest.$ac_ext >&5
21911 echo "$ac_t""$has_weof" 1>&6
21914 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
21916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21917 echo "configure:21918: checking for $ac_func" >&5
21918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21919 echo $ac_n "(cached) $ac_c" 1>&6
21921 cat > conftest.$ac_ext <<EOF
21922 #line 21923 "configure"
21923 #include "confdefs.h"
21924 /* System header to define __stub macros and hopefully few prototypes,
21925 which can conflict with char $ac_func(); below. */
21926 #include <assert.h>
21927 /* Override any gcc2 internal prototype to avoid an error. */
21928 /* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21934 /* The GNU C library defines this for functions which it implements
21935 to always fail with ENOSYS. Some functions are actually named
21936 something starting with __ and the normal name is an alias. */
21937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21945 if { (eval echo configure:21946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21947 eval "ac_cv_func_$ac_func=yes"
21949 echo "configure: failed program was:" >&5
21950 cat conftest.$ac_ext >&5
21952 eval "ac_cv_func_$ac_func=no"
21957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21958 echo "$ac_t""yes" 1>&6
21959 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21960 cat >> confdefs.h <<EOF
21961 #define $ac_tr_func 1
21965 echo "$ac_t""no" 1>&6
21972 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
21973 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
21974 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
21975 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
21976 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
21977 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
21979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21980 echo "configure:21981: checking for $ac_func" >&5
21981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21982 echo $ac_n "(cached) $ac_c" 1>&6
21984 cat > conftest.$ac_ext <<EOF
21985 #line 21986 "configure"
21986 #include "confdefs.h"
21987 /* System header to define __stub macros and hopefully few prototypes,
21988 which can conflict with char $ac_func(); below. */
21989 #include <assert.h>
21990 /* Override any gcc2 internal prototype to avoid an error. */
21991 /* We use char because int might match the return type of a gcc2
21992 builtin and then its argument prototype would still apply. */
21997 /* The GNU C library defines this for functions which it implements
21998 to always fail with ENOSYS. Some functions are actually named
21999 something starting with __ and the normal name is an alias. */
22000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22008 if { (eval echo configure:22009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22010 eval "ac_cv_func_$ac_func=yes"
22012 echo "configure: failed program was:" >&5
22013 cat conftest.$ac_ext >&5
22015 eval "ac_cv_func_$ac_func=no"
22020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22021 echo "$ac_t""yes" 1>&6
22022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22023 cat >> confdefs.h <<EOF
22024 #define $ac_tr_func 1
22028 echo "$ac_t""no" 1>&6
22035 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22036 echo "configure:22037: checking for ISO C99 wchar_t support" >&5
22037 if test x"$has_weof" = xyes &&
22038 test x"$has_wchar_minmax" = xyes &&
22039 test x"$ac_wfuncs" = xyes; then
22040 ac_isoC99_wchar_t=yes
22042 ac_isoC99_wchar_t=no
22044 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22046 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22047 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22048 echo "configure:22049: checking for iconv.h" >&5
22049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22050 echo $ac_n "(cached) $ac_c" 1>&6
22052 cat > conftest.$ac_ext <<EOF
22053 #line 22054 "configure"
22054 #include "confdefs.h"
22057 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22058 { (eval echo configure:22059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22059 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22060 if test -z "$ac_err"; then
22062 eval "ac_cv_header_$ac_safe=yes"
22065 echo "configure: failed program was:" >&5
22066 cat conftest.$ac_ext >&5
22068 eval "ac_cv_header_$ac_safe=no"
22072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22073 echo "$ac_t""yes" 1>&6
22076 echo "$ac_t""no" 1>&6
22080 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22081 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22082 echo "configure:22083: checking for langinfo.h" >&5
22083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22084 echo $ac_n "(cached) $ac_c" 1>&6
22086 cat > conftest.$ac_ext <<EOF
22087 #line 22088 "configure"
22088 #include "confdefs.h"
22089 #include <langinfo.h>
22091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22092 { (eval echo configure:22093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22094 if test -z "$ac_err"; then
22096 eval "ac_cv_header_$ac_safe=yes"
22099 echo "configure: failed program was:" >&5
22100 cat conftest.$ac_ext >&5
22102 eval "ac_cv_header_$ac_safe=no"
22106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22107 echo "$ac_t""yes" 1>&6
22108 ac_has_langinfo_h=yes
22110 echo "$ac_t""no" 1>&6
22111 ac_has_langinfo_h=no
22115 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22116 echo "configure:22117: checking for iconv in -liconv" >&5
22117 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22119 echo $ac_n "(cached) $ac_c" 1>&6
22121 ac_save_LIBS="$LIBS"
22122 LIBS="-liconv $LIBS"
22123 cat > conftest.$ac_ext <<EOF
22124 #line 22125 "configure"
22125 #include "confdefs.h"
22126 /* Override any gcc2 internal prototype to avoid an error. */
22127 /* We use char because int might match the return type of a gcc2
22128 builtin and then its argument prototype would still apply. */
22135 if { (eval echo configure:22136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22137 eval "ac_cv_lib_$ac_lib_var=yes"
22139 echo "configure: failed program was:" >&5
22140 cat conftest.$ac_ext >&5
22142 eval "ac_cv_lib_$ac_lib_var=no"
22145 LIBS="$ac_save_LIBS"
22148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22149 echo "$ac_t""yes" 1>&6
22152 echo "$ac_t""no" 1>&6
22155 ac_save_LIBS="$LIBS"
22156 LIBS="$LIBS $libiconv"
22158 for ac_func in iconv_open iconv_close iconv nl_langinfo
22160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22161 echo "configure:22162: checking for $ac_func" >&5
22162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22163 echo $ac_n "(cached) $ac_c" 1>&6
22165 cat > conftest.$ac_ext <<EOF
22166 #line 22167 "configure"
22167 #include "confdefs.h"
22168 /* System header to define __stub macros and hopefully few prototypes,
22169 which can conflict with char $ac_func(); below. */
22170 #include <assert.h>
22171 /* Override any gcc2 internal prototype to avoid an error. */
22172 /* We use char because int might match the return type of a gcc2
22173 builtin and then its argument prototype would still apply. */
22178 /* The GNU C library defines this for functions which it implements
22179 to always fail with ENOSYS. Some functions are actually named
22180 something starting with __ and the normal name is an alias. */
22181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22189 if { (eval echo configure:22190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22191 eval "ac_cv_func_$ac_func=yes"
22193 echo "configure: failed program was:" >&5
22194 cat conftest.$ac_ext >&5
22196 eval "ac_cv_func_$ac_func=no"
22201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22202 echo "$ac_t""yes" 1>&6
22203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22204 cat >> confdefs.h <<EOF
22205 #define $ac_tr_func 1
22210 echo "$ac_t""no" 1>&6
22216 LIBS="$ac_save_LIBS"
22218 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22219 echo "configure:22220: checking for XPG2 wchar_t support" >&5
22220 if test x"$ac_has_iconv_h" = xyes &&
22221 test x"$ac_has_langinfo_h" = xyes &&
22222 test x"$ac_XPG2funcs" = xyes; then
22223 ac_XPG2_wchar_t=yes
22227 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22229 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22230 echo "configure:22231: checking for enabled wchar_t specializations" >&5
22231 if test x"$ac_isoC99_wchar_t" = xyes &&
22232 test x"$ac_XPG2_wchar_t" = xyes; then
22233 cat >> confdefs.h <<\EOF
22234 #define _GLIBCPP_USE_WCHAR_T 1
22237 echo "$ac_t"""yes"" 1>&6
22239 echo "$ac_t"""no"" 1>&6
22242 echo "configure: warning: wchar_t support disabled." 1>&2
22246 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22247 ac_save_CXXFLAGS="$CXXFLAGS"
22248 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22251 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22252 echo "configure:22253: checking for strtold declaration" >&5
22253 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22254 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22255 echo $ac_n "(cached) $ac_c" 1>&6
22260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22261 ac_cpp='$CXXCPP $CPPFLAGS'
22262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22264 cross_compiling=$ac_cv_prog_cxx_cross
22266 cat > conftest.$ac_ext <<EOF
22267 #line 22268 "configure"
22268 #include "confdefs.h"
22269 #include <stdlib.h>
22274 if { (eval echo configure:22275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22276 glibcpp_cv_func_strtold_use=yes
22278 echo "configure: failed program was:" >&5
22279 cat conftest.$ac_ext >&5
22281 glibcpp_cv_func_strtold_use=no
22285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22286 ac_cpp='$CPP $CPPFLAGS'
22287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22289 cross_compiling=$ac_cv_prog_cc_cross
22295 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22296 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22297 for ac_func in strtold
22299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22300 echo "configure:22301: checking for $ac_func" >&5
22301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22302 echo $ac_n "(cached) $ac_c" 1>&6
22304 cat > conftest.$ac_ext <<EOF
22305 #line 22306 "configure"
22306 #include "confdefs.h"
22307 /* System header to define __stub macros and hopefully few prototypes,
22308 which can conflict with char $ac_func(); below. */
22309 #include <assert.h>
22310 /* Override any gcc2 internal prototype to avoid an error. */
22311 /* We use char because int might match the return type of a gcc2
22312 builtin and then its argument prototype would still apply. */
22317 /* The GNU C library defines this for functions which it implements
22318 to always fail with ENOSYS. Some functions are actually named
22319 something starting with __ and the normal name is an alias. */
22320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22328 if { (eval echo configure:22329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22330 eval "ac_cv_func_$ac_func=yes"
22332 echo "configure: failed program was:" >&5
22333 cat conftest.$ac_ext >&5
22335 eval "ac_cv_func_$ac_func=no"
22340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22341 echo "$ac_t""yes" 1>&6
22342 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22343 cat >> confdefs.h <<EOF
22344 #define $ac_tr_func 1
22348 echo "$ac_t""no" 1>&6
22355 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22356 echo "configure:22357: checking for strtof declaration" >&5
22357 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22358 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22359 echo $ac_n "(cached) $ac_c" 1>&6
22364 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22365 ac_cpp='$CXXCPP $CPPFLAGS'
22366 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22367 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22368 cross_compiling=$ac_cv_prog_cxx_cross
22370 cat > conftest.$ac_ext <<EOF
22371 #line 22372 "configure"
22372 #include "confdefs.h"
22373 #include <stdlib.h>
22378 if { (eval echo configure:22379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22380 glibcpp_cv_func_strtof_use=yes
22382 echo "configure: failed program was:" >&5
22383 cat conftest.$ac_ext >&5
22385 glibcpp_cv_func_strtof_use=no
22389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22390 ac_cpp='$CPP $CPPFLAGS'
22391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22393 cross_compiling=$ac_cv_prog_cc_cross
22399 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22400 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22401 for ac_func in strtof
22403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22404 echo "configure:22405: checking for $ac_func" >&5
22405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22406 echo $ac_n "(cached) $ac_c" 1>&6
22408 cat > conftest.$ac_ext <<EOF
22409 #line 22410 "configure"
22410 #include "confdefs.h"
22411 /* System header to define __stub macros and hopefully few prototypes,
22412 which can conflict with char $ac_func(); below. */
22413 #include <assert.h>
22414 /* Override any gcc2 internal prototype to avoid an error. */
22415 /* We use char because int might match the return type of a gcc2
22416 builtin and then its argument prototype would still apply. */
22421 /* The GNU C library defines this for functions which it implements
22422 to always fail with ENOSYS. Some functions are actually named
22423 something starting with __ and the normal name is an alias. */
22424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22432 if { (eval echo configure:22433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22434 eval "ac_cv_func_$ac_func=yes"
22436 echo "configure: failed program was:" >&5
22437 cat conftest.$ac_ext >&5
22439 eval "ac_cv_func_$ac_func=no"
22444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22445 echo "$ac_t""yes" 1>&6
22446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22447 cat >> confdefs.h <<EOF
22448 #define $ac_tr_func 1
22452 echo "$ac_t""no" 1>&6
22458 for ac_func in drand48
22460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22461 echo "configure:22462: checking for $ac_func" >&5
22462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22463 echo $ac_n "(cached) $ac_c" 1>&6
22465 cat > conftest.$ac_ext <<EOF
22466 #line 22467 "configure"
22467 #include "confdefs.h"
22468 /* System header to define __stub macros and hopefully few prototypes,
22469 which can conflict with char $ac_func(); below. */
22470 #include <assert.h>
22471 /* Override any gcc2 internal prototype to avoid an error. */
22472 /* We use char because int might match the return type of a gcc2
22473 builtin and then its argument prototype would still apply. */
22478 /* The GNU C library defines this for functions which it implements
22479 to always fail with ENOSYS. Some functions are actually named
22480 something starting with __ and the normal name is an alias. */
22481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22489 if { (eval echo configure:22490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22491 eval "ac_cv_func_$ac_func=yes"
22493 echo "configure: failed program was:" >&5
22494 cat conftest.$ac_ext >&5
22496 eval "ac_cv_func_$ac_func=no"
22501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22502 echo "$ac_t""yes" 1>&6
22503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22504 cat >> confdefs.h <<EOF
22505 #define $ac_tr_func 1
22509 echo "$ac_t""no" 1>&6
22514 CXXFLAGS="$ac_save_CXXFLAGS"
22517 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22518 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22519 echo "configure:22520: checking for locale.h" >&5
22520 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22521 echo $ac_n "(cached) $ac_c" 1>&6
22523 cat > conftest.$ac_ext <<EOF
22524 #line 22525 "configure"
22525 #include "confdefs.h"
22526 #include <locale.h>
22528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22529 { (eval echo configure:22530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22531 if test -z "$ac_err"; then
22533 eval "ac_cv_header_$ac_safe=yes"
22536 echo "configure: failed program was:" >&5
22537 cat conftest.$ac_ext >&5
22539 eval "ac_cv_header_$ac_safe=no"
22543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22544 echo "$ac_t""yes" 1>&6
22546 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22547 echo "configure:22548: checking for LC_MESSAGES" >&5
22548 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22549 echo $ac_n "(cached) $ac_c" 1>&6
22551 cat > conftest.$ac_ext <<EOF
22552 #line 22553 "configure"
22553 #include "confdefs.h"
22554 #include <locale.h>
22559 if { (eval echo configure:22560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22561 ac_cv_val_LC_MESSAGES=yes
22563 echo "configure: failed program was:" >&5
22564 cat conftest.$ac_ext >&5
22566 ac_cv_val_LC_MESSAGES=no
22571 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22572 if test $ac_cv_val_LC_MESSAGES = yes; then
22573 cat >> confdefs.h <<\EOF
22574 #define HAVE_LC_MESSAGES 1
22580 echo "$ac_t""no" 1>&6
22585 cat > conftest.$ac_ext <<EOF
22586 #line 22587 "configure"
22587 #include "confdefs.h"
22589 #include <setjmp.h>
22592 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22595 if { (eval echo configure:22596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22597 cat >> confdefs.h <<\EOF
22598 #define HAVE_SIGSETJMP 1
22603 echo "configure: failed program was:" >&5
22604 cat conftest.$ac_ext >&5
22608 for ac_hdr in unistd.h
22610 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22611 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22612 echo "configure:22613: checking for $ac_hdr" >&5
22613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22614 echo $ac_n "(cached) $ac_c" 1>&6
22616 cat > conftest.$ac_ext <<EOF
22617 #line 22618 "configure"
22618 #include "confdefs.h"
22621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22622 { (eval echo configure:22623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22624 if test -z "$ac_err"; then
22626 eval "ac_cv_header_$ac_safe=yes"
22629 echo "configure: failed program was:" >&5
22630 cat conftest.$ac_ext >&5
22632 eval "ac_cv_header_$ac_safe=no"
22636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22637 echo "$ac_t""yes" 1>&6
22638 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22639 cat >> confdefs.h <<EOF
22640 #define $ac_tr_hdr 1
22644 echo "$ac_t""no" 1>&6
22648 for ac_func in getpagesize
22650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22651 echo "configure:22652: checking for $ac_func" >&5
22652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22653 echo $ac_n "(cached) $ac_c" 1>&6
22655 cat > conftest.$ac_ext <<EOF
22656 #line 22657 "configure"
22657 #include "confdefs.h"
22658 /* System header to define __stub macros and hopefully few prototypes,
22659 which can conflict with char $ac_func(); below. */
22660 #include <assert.h>
22661 /* Override any gcc2 internal prototype to avoid an error. */
22662 /* We use char because int might match the return type of a gcc2
22663 builtin and then its argument prototype would still apply. */
22668 /* The GNU C library defines this for functions which it implements
22669 to always fail with ENOSYS. Some functions are actually named
22670 something starting with __ and the normal name is an alias. */
22671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22679 if { (eval echo configure:22680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22681 eval "ac_cv_func_$ac_func=yes"
22683 echo "configure: failed program was:" >&5
22684 cat conftest.$ac_ext >&5
22686 eval "ac_cv_func_$ac_func=no"
22691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22692 echo "$ac_t""yes" 1>&6
22693 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22694 cat >> confdefs.h <<EOF
22695 #define $ac_tr_func 1
22699 echo "$ac_t""no" 1>&6
22703 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22704 echo "configure:22705: checking for working mmap" >&5
22705 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22706 echo $ac_n "(cached) $ac_c" 1>&6
22708 if test "$cross_compiling" = yes; then
22709 ac_cv_func_mmap_fixed_mapped=no
22711 cat > conftest.$ac_ext <<EOF
22712 #line 22713 "configure"
22713 #include "confdefs.h"
22715 /* Thanks to Mike Haertel and Jim Avera for this test.
22716 Here is a matrix of mmap possibilities:
22717 mmap private not fixed
22718 mmap private fixed at somewhere currently unmapped
22719 mmap private fixed at somewhere already mapped
22720 mmap shared not fixed
22721 mmap shared fixed at somewhere currently unmapped
22722 mmap shared fixed at somewhere already mapped
22723 For private mappings, we should verify that changes cannot be read()
22724 back from the file, nor mmap's back from the file at a different
22725 address. (There have been systems where private was not correctly
22726 implemented like the infamous i386 svr4.0, and systems where the
22727 VM page cache was not coherent with the filesystem buffer cache
22728 like early versions of FreeBSD and possibly contemporary NetBSD.)
22729 For shared mappings, we should conversely verify that changes get
22730 propogated back to all the places they're supposed to be.
22732 Grep wants private fixed already mapped.
22733 The main things grep needs to know about mmap are:
22734 * does it exist and is it safe to write into the mmap'd area
22735 * how to use it (BSD variants) */
22736 #include <sys/types.h>
22738 #include <sys/mman.h>
22740 /* This mess was copied from the GNU getpagesize.h. */
22741 #ifndef HAVE_GETPAGESIZE
22742 # ifdef HAVE_UNISTD_H
22743 # include <unistd.h>
22746 /* Assume that all systems that can run configure have sys/param.h. */
22747 # ifndef HAVE_SYS_PARAM_H
22748 # define HAVE_SYS_PARAM_H 1
22751 # ifdef _SC_PAGESIZE
22752 # define getpagesize() sysconf(_SC_PAGESIZE)
22753 # else /* no _SC_PAGESIZE */
22754 # ifdef HAVE_SYS_PARAM_H
22755 # include <sys/param.h>
22756 # ifdef EXEC_PAGESIZE
22757 # define getpagesize() EXEC_PAGESIZE
22758 # else /* no EXEC_PAGESIZE */
22760 # define getpagesize() NBPG * CLSIZE
22763 # endif /* no CLSIZE */
22764 # else /* no NBPG */
22766 # define getpagesize() NBPC
22767 # else /* no NBPC */
22769 # define getpagesize() PAGESIZE
22770 # endif /* PAGESIZE */
22771 # endif /* no NBPC */
22772 # endif /* no NBPG */
22773 # endif /* no EXEC_PAGESIZE */
22774 # else /* no HAVE_SYS_PARAM_H */
22775 # define getpagesize() 8192 /* punt totally */
22776 # endif /* no HAVE_SYS_PARAM_H */
22777 # endif /* no _SC_PAGESIZE */
22779 #endif /* no HAVE_GETPAGESIZE */
22782 extern "C" { void *malloc(unsigned); }
22790 char *data, *data2, *data3;
22794 pagesize = getpagesize();
22797 * First, make a file with some known garbage in it.
22799 data = malloc(pagesize);
22802 for (i = 0; i < pagesize; ++i)
22803 *(data + i) = rand();
22805 fd = creat("conftestmmap", 0600);
22808 if (write(fd, data, pagesize) != pagesize)
22813 * Next, try to mmap the file at a fixed address which
22814 * already has something else allocated at it. If we can,
22815 * also make sure that we see the same garbage.
22817 fd = open("conftestmmap", O_RDWR);
22820 data2 = malloc(2 * pagesize);
22823 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22824 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
22825 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22827 for (i = 0; i < pagesize; ++i)
22828 if (*(data + i) != *(data2 + i))
22832 * Finally, make sure that changes to the mapped area
22833 * do not percolate back to the file as seen by read().
22834 * (This is a bug on some variants of i386 svr4.0.)
22836 for (i = 0; i < pagesize; ++i)
22837 *(data2 + i) = *(data2 + i) + 1;
22838 data3 = malloc(pagesize);
22841 if (read(fd, data3, pagesize) != pagesize)
22843 for (i = 0; i < pagesize; ++i)
22844 if (*(data + i) != *(data3 + i))
22847 unlink("conftestmmap");
22852 if { (eval echo configure:22853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
22854 ac_cv_func_mmap_fixed_mapped=yes
22856 echo "configure: failed program was:" >&5
22857 cat conftest.$ac_ext >&5
22859 ac_cv_func_mmap_fixed_mapped=no
22866 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
22867 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22868 cat >> confdefs.h <<\EOF
22869 #define HAVE_MMAP 1
22875 # Establish limits on memory usage during 'make check'
22878 setrlimit_have_headers=yes
22879 for ac_hdr in unistd.h sys/time.h sys/resource.h
22881 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22883 echo "configure:22884: checking for $ac_hdr" >&5
22884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22885 echo $ac_n "(cached) $ac_c" 1>&6
22887 cat > conftest.$ac_ext <<EOF
22888 #line 22889 "configure"
22889 #include "confdefs.h"
22892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22893 { (eval echo configure:22894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22895 if test -z "$ac_err"; then
22897 eval "ac_cv_header_$ac_safe=yes"
22900 echo "configure: failed program was:" >&5
22901 cat conftest.$ac_ext >&5
22903 eval "ac_cv_header_$ac_safe=no"
22907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22908 echo "$ac_t""yes" 1>&6
22909 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22910 cat >> confdefs.h <<EOF
22911 #define $ac_tr_hdr 1
22915 echo "$ac_t""no" 1>&6
22916 setrlimit_have_headers=no
22920 # If don't have the headers, then we can't run the tests now, and we
22921 # won't be seeing any of these during testsuite compilation.
22922 if test $setrlimit_have_headers = yes; then
22923 # Can't do these in a loop, else the resulting syntax is wrong.
22925 cat > conftest.$ac_ext <<EOF
22926 #line 22927 "configure"
22927 #include "confdefs.h"
22928 #include <unistd.h>
22929 #include <sys/time.h>
22930 #include <sys/resource.h>
22933 int f = RLIMIT_DATA ;
22936 if { (eval echo configure:22937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22940 echo "configure: failed program was:" >&5
22941 cat conftest.$ac_ext >&5
22946 cat >> confdefs.h <<EOF
22947 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
22952 cat > conftest.$ac_ext <<EOF
22953 #line 22954 "configure"
22954 #include "confdefs.h"
22955 #include <unistd.h>
22956 #include <sys/time.h>
22957 #include <sys/resource.h>
22960 int f = RLIMIT_RSS ;
22963 if { (eval echo configure:22964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22967 echo "configure: failed program was:" >&5
22968 cat conftest.$ac_ext >&5
22973 cat >> confdefs.h <<EOF
22974 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
22979 cat > conftest.$ac_ext <<EOF
22980 #line 22981 "configure"
22981 #include "confdefs.h"
22982 #include <unistd.h>
22983 #include <sys/time.h>
22984 #include <sys/resource.h>
22987 int f = RLIMIT_VMEM ;
22990 if { (eval echo configure:22991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22994 echo "configure: failed program was:" >&5
22995 cat conftest.$ac_ext >&5
23000 cat >> confdefs.h <<EOF
23001 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23006 cat > conftest.$ac_ext <<EOF
23007 #line 23008 "configure"
23008 #include "confdefs.h"
23009 #include <unistd.h>
23010 #include <sys/time.h>
23011 #include <sys/resource.h>
23014 int f = RLIMIT_AS ;
23017 if { (eval echo configure:23018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23021 echo "configure: failed program was:" >&5
23022 cat conftest.$ac_ext >&5
23027 cat >> confdefs.h <<EOF
23028 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23033 # Check for rlimit, setrlimit.
23034 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23035 echo $ac_n "(cached) $ac_c" 1>&6
23038 cat > conftest.$ac_ext <<EOF
23039 #line 23040 "configure"
23040 #include "confdefs.h"
23041 #include <unistd.h>
23042 #include <sys/time.h>
23043 #include <sys/resource.h>
23046 struct rlimit r; setrlimit(0, &r);
23049 if { (eval echo configure:23050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23053 echo "configure: failed program was:" >&5
23054 cat conftest.$ac_ext >&5
23064 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23065 echo "configure:23066: checking for testsuite memory limit support" >&5
23066 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23068 cat >> confdefs.h <<\EOF
23069 #define _GLIBCPP_MEM_LIMITS 1
23075 echo "$ac_t""$ac_mem_limits" 1>&6
23078 # Look for setenv, so that extended locale tests can be performed.
23080 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23081 echo "configure:23082: checking for setenv declaration" >&5
23082 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23083 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23084 echo $ac_n "(cached) $ac_c" 1>&6
23089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23093 cross_compiling=$ac_cv_prog_cxx_cross
23095 cat > conftest.$ac_ext <<EOF
23096 #line 23097 "configure"
23097 #include "confdefs.h"
23098 #include <stdlib.h>
23103 if { (eval echo configure:23104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23105 glibcpp_cv_func_setenv_use=yes
23107 echo "configure: failed program was:" >&5
23108 cat conftest.$ac_ext >&5
23110 glibcpp_cv_func_setenv_use=no
23114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23118 cross_compiling=$ac_cv_prog_cc_cross
23124 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23125 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23126 for ac_func in setenv
23128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23129 echo "configure:23130: checking for $ac_func" >&5
23130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23131 echo $ac_n "(cached) $ac_c" 1>&6
23133 cat > conftest.$ac_ext <<EOF
23134 #line 23135 "configure"
23135 #include "confdefs.h"
23136 /* System header to define __stub macros and hopefully few prototypes,
23137 which can conflict with char $ac_func(); below. */
23138 #include <assert.h>
23139 /* Override any gcc2 internal prototype to avoid an error. */
23140 /* We use char because int might match the return type of a gcc2
23141 builtin and then its argument prototype would still apply. */
23146 /* The GNU C library defines this for functions which it implements
23147 to always fail with ENOSYS. Some functions are actually named
23148 something starting with __ and the normal name is an alias. */
23149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23157 if { (eval echo configure:23158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23159 eval "ac_cv_func_$ac_func=yes"
23161 echo "configure: failed program was:" >&5
23162 cat conftest.$ac_ext >&5
23164 eval "ac_cv_func_$ac_func=no"
23169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23170 echo "$ac_t""yes" 1>&6
23171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23172 cat >> confdefs.h <<EOF
23173 #define $ac_tr_func 1
23177 echo "$ac_t""no" 1>&6
23184 # Export file names for ABI checking.
23185 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23188 # Don't do ABI checking unless native.
23191 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23192 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23193 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23195 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23196 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23201 # This depends on the possibly-skipped linker test above.
23202 # Check whether --enable-symvers or --disable-symvers was given.
23203 if test "${enable_symvers+set}" = set; then
23204 enableval="$enable_symvers"
23205 case "$enableval" in
23206 yes) enable_symvers=yes ;;
23207 no) enable_symvers=no ;;
23208 # other names here, just as sanity checks
23209 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23210 gnu) enable_symvers=$enableval ;;
23211 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23217 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23218 # don't know enough about $LD to do tricks...
23219 if test x$enable_shared = xno ||
23221 test x$glibcpp_gnu_ld_version = x; then
23225 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23226 if test $enable_symvers != no; then
23227 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23228 echo "configure:23229: checking for shared libgcc" >&5
23229 ac_save_CFLAGS="$CFLAGS"
23231 cat > conftest.$ac_ext <<EOF
23232 #line 23233 "configure"
23233 #include "confdefs.h"
23239 if { (eval echo configure:23240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23241 glibcpp_shared_libgcc=yes
23243 echo "configure: failed program was:" >&5
23244 cat conftest.$ac_ext >&5
23246 glibcpp_shared_libgcc=no
23249 CFLAGS="$ac_save_CFLAGS"
23250 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23253 # For GNU ld, we need at least this version. It's 2.12 in the same format
23254 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23255 glibcpp_min_gnu_ld_version=21200
23257 # Check to see if unspecified "yes" value can win, given results
23259 if test $enable_symvers = yes ; then
23260 if test $with_gnu_ld = yes &&
23261 test $glibcpp_shared_libgcc = yes ;
23263 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23266 ac_test_CFLAGS="${CFLAGS+set}"
23267 ac_save_CFLAGS="$CFLAGS"
23268 CFLAGS='-shared -Wl,--version-script,conftest.map'
23271 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23273 cat > conftest.$ac_ext <<EOF
23274 #line 23275 "configure"
23275 #include "confdefs.h"
23281 if { (eval echo configure:23282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23285 echo "configure: failed program was:" >&5
23286 cat conftest.$ac_ext >&5
23289 if test "$ac_test_CFLAGS" = set; then
23290 CFLAGS="$ac_save_CFLAGS"
23292 # this is the suspicious part
23298 # just fail for now
23303 case $enable_symvers in
23305 LINKER_MAP=config/linker-map.dummy
23308 LINKER_MAP=config/linker-map.gnu
23309 cat >> confdefs.h <<\EOF
23310 #define _GLIBCPP_SYMVER 1
23319 if test $enable_symvers != no; then
23320 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23321 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23323 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23324 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23326 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23327 echo "configure:23328: checking versioning on shared library symbols" >&5
23328 echo "$ac_t""$enable_symvers" 1>&6
23331 # Propagate the target-specific source directories through the build chain.
23332 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23333 # uses it, and they only get used here.)
23334 OS_INC_SRCDIR=config/${os_include_dir}
23335 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23339 # Set up cross-compile flags
23342 if test "$CANADIAN" = yes; then
23350 cat > confcache <<\EOF
23351 # This file is a shell script that caches the results of configure
23352 # tests run on this system so they can be shared between configure
23353 # scripts and configure runs. It is not useful on other systems.
23354 # If it contains results you don't want to keep, you may remove or edit it.
23356 # By default, configure uses ./config.cache as the cache file,
23357 # creating it if it does not exist already. You can give configure
23358 # the --cache-file=FILE option to use a different cache file; that is
23359 # what configure does when it calls configure scripts in
23360 # subdirectories, so they share the cache.
23361 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23362 # config.status only pays attention to the cache file if you give it the
23363 # --recheck option to rerun configure.
23366 # The following way of writing the cache mishandles newlines in values,
23367 # but we know of no workaround that is simple, portable, and efficient.
23368 # So, don't put newlines in cache variables' values.
23369 # Ultrix sh set writes to stderr and can't be redirected directly,
23370 # and sets the high bit in the cache file unless we assign to the vars.
23372 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23374 # `set' does not quote correctly, so add quotes (double-quote substitution
23375 # turns \\\\ into \\, and sed turns \\ into \).
23377 -e "s/'/'\\\\''/g" \
23378 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23381 # `set' quotes correctly as required by POSIX, so do not add quotes.
23382 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23385 if cmp -s $cache_file confcache; then
23388 if test -w $cache_file; then
23389 echo "updating cache $cache_file"
23390 cat confcache > $cache_file
23392 echo "not updating unwritable cache $cache_file"
23398 if test "${multilib}" = "yes"; then
23399 multilib_arg="--enable-multilib"
23404 # Export all the install information
23406 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23407 # exported correctly in GLIBCPP_CONFIGURE.
23408 glibcpp_toolexecdir=no
23409 glibcpp_toolexeclibdir=no
23410 glibcpp_prefixdir=${prefix}
23412 # Process the option --with-gxx-include-dir=<path to include-files directory>
23413 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23414 echo "configure:23415: checking for --with-gxx-include-dir" >&5
23415 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23416 if test "${with_gxx_include_dir+set}" = set; then
23417 withval="$with_gxx_include_dir"
23418 case "${withval}" in
23420 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23427 gxx_include_dir=${withval}
23434 echo "$ac_t""$gxx_include_dir" 1>&6
23436 # Process the option "--enable-version-specific-runtime-libs"
23437 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23438 echo "configure:23439: checking for --enable-version-specific-runtime-libs" >&5
23439 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23440 if test "${enable_version_specific_runtime_libs+set}" = set; then
23441 enableval="$enable_version_specific_runtime_libs"
23442 case "$enableval" in
23443 yes) version_specific_libs=yes ;;
23444 no) version_specific_libs=no ;;
23445 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23448 version_specific_libs=no
23450 # Option set, now we can test it.
23451 echo "$ac_t""$version_specific_libs" 1>&6
23453 # Default case for install directory for include files.
23454 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23455 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23458 # Version-specific runtime libs processing.
23459 if test $version_specific_libs = yes; then
23460 # Need the gcc compiler version to know where to install libraries
23461 # and header files if --enable-version-specific-runtime-libs option
23463 if test x"$gxx_include_dir" = x"no"; then
23464 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23466 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23467 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23470 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23471 # Install a library built with a cross compiler in tooldir, not libdir.
23472 if test x"$glibcpp_toolexecdir" = x"no"; then
23473 if test -n "$with_cross_host" &&
23474 test x"$with_cross_host" != x"no"; then
23475 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23476 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23478 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23479 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23483 echo $ac_n "checking for install location""... $ac_c" 1>&6
23484 echo "configure:23485: checking for install location" >&5
23485 echo "$ac_t""$gxx_include_dir" 1>&6
23493 # Export all the include and flag information to makefiles.
23495 # Root level of the build directory include sources.
23496 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23498 # Passed down for canadian crosses.
23499 if test x"$CANADIAN" = xyes; then
23500 TOPLEVEL_INCLUDES='-I$(includedir)'
23503 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23505 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23507 if test x"$need_libio" = xyes; then
23508 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23512 # Now, export this to all the little Makefiles....
23519 # Optimization flags that are probably a good idea for thrill-seekers. Just
23520 # uncomment the lines below and make, everything else is ready to go...
23521 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23525 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23529 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23530 grep "enable shared" > /dev/null; then
23531 LIBSUPCXX_PICFLAGS=-prefer-pic
23533 LIBSUPCXX_PICFLAGS=
23537 # Generate the various Makefiles, include files, and scripts.
23538 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23539 # and libsupc++/Makefile.am so that multilib installs will end up
23540 # installed in the correct place. To work around this not being passed
23541 # down from config-ml.in -> top_srcdir/Makefile.am ->
23542 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23544 cat > confcache <<\EOF
23545 # This file is a shell script that caches the results of configure
23546 # tests run on this system so they can be shared between configure
23547 # scripts and configure runs. It is not useful on other systems.
23548 # If it contains results you don't want to keep, you may remove or edit it.
23550 # By default, configure uses ./config.cache as the cache file,
23551 # creating it if it does not exist already. You can give configure
23552 # the --cache-file=FILE option to use a different cache file; that is
23553 # what configure does when it calls configure scripts in
23554 # subdirectories, so they share the cache.
23555 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23556 # config.status only pays attention to the cache file if you give it the
23557 # --recheck option to rerun configure.
23560 # The following way of writing the cache mishandles newlines in values,
23561 # but we know of no workaround that is simple, portable, and efficient.
23562 # So, don't put newlines in cache variables' values.
23563 # Ultrix sh set writes to stderr and can't be redirected directly,
23564 # and sets the high bit in the cache file unless we assign to the vars.
23566 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23568 # `set' does not quote correctly, so add quotes (double-quote substitution
23569 # turns \\\\ into \\, and sed turns \\ into \).
23571 -e "s/'/'\\\\''/g" \
23572 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23575 # `set' quotes correctly as required by POSIX, so do not add quotes.
23576 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23579 if cmp -s $cache_file confcache; then
23582 if test -w $cache_file; then
23583 echo "updating cache $cache_file"
23584 cat confcache > $cache_file
23586 echo "not updating unwritable cache $cache_file"
23591 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23593 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23594 # Let make expand exec_prefix.
23595 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23597 # Any assignment to VPATH causes Sun make to only execute
23598 # the first set of double-colon rules, so remove it if not needed.
23599 # If there is a colon in the path, we need to keep it.
23600 if test "x$srcdir" = x.; then
23601 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23604 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23606 DEFS=-DHAVE_CONFIG_H
23608 # Without the "./", some shells look in PATH for config.status.
23609 : ${CONFIG_STATUS=./config.status}
23611 echo creating $CONFIG_STATUS
23612 rm -f $CONFIG_STATUS
23613 cat > $CONFIG_STATUS <<EOF
23615 # Generated automatically by configure.
23616 # Run this file to recreate the current configuration.
23617 # This directory was configured as follows,
23618 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23620 # $0 $ac_configure_args
23622 # Compiler output produced by configure, useful for debugging
23623 # configure, is in ./config.log if it exists.
23625 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23628 case "\$ac_option" in
23629 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23630 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23631 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23632 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23633 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23635 -help | --help | --hel | --he | --h)
23636 echo "\$ac_cs_usage"; exit 0 ;;
23637 *) echo "\$ac_cs_usage"; exit 1 ;;
23641 ac_given_srcdir=$srcdir
23642 ac_given_INSTALL="$INSTALL"
23644 trap 'rm -fr `echo "Makefile \
23645 include/Makefile src/Makefile \
23646 libmath/Makefile libio/Makefile libsupc++/Makefile \
23647 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23649 cat >> $CONFIG_STATUS <<EOF
23651 # Protect against being on the right side of a sed subst in config.status.
23652 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23653 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23657 s%@CFLAGS@%$CFLAGS%g
23658 s%@CPPFLAGS@%$CPPFLAGS%g
23659 s%@CXXFLAGS@%$CXXFLAGS%g
23660 s%@FFLAGS@%$FFLAGS%g
23662 s%@LDFLAGS@%$LDFLAGS%g
23664 s%@exec_prefix@%$exec_prefix%g
23665 s%@prefix@%$prefix%g
23666 s%@program_transform_name@%$program_transform_name%g
23667 s%@bindir@%$bindir%g
23668 s%@sbindir@%$sbindir%g
23669 s%@libexecdir@%$libexecdir%g
23670 s%@datadir@%$datadir%g
23671 s%@sysconfdir@%$sysconfdir%g
23672 s%@sharedstatedir@%$sharedstatedir%g
23673 s%@localstatedir@%$localstatedir%g
23674 s%@libdir@%$libdir%g
23675 s%@includedir@%$includedir%g
23676 s%@oldincludedir@%$oldincludedir%g
23677 s%@infodir@%$infodir%g
23678 s%@mandir@%$mandir%g
23679 s%@PACKAGE@%$PACKAGE%g
23680 s%@libtool_VERSION@%$libtool_VERSION%g
23681 s%@toplevel_srcdir@%$toplevel_srcdir%g
23683 s%@host_alias@%$host_alias%g
23684 s%@host_cpu@%$host_cpu%g
23685 s%@host_vendor@%$host_vendor%g
23686 s%@host_os@%$host_os%g
23687 s%@target@%$target%g
23688 s%@target_alias@%$target_alias%g
23689 s%@target_cpu@%$target_cpu%g
23690 s%@target_vendor@%$target_vendor%g
23691 s%@target_os@%$target_os%g
23693 s%@build_alias@%$build_alias%g
23694 s%@build_cpu@%$build_cpu%g
23695 s%@build_vendor@%$build_vendor%g
23696 s%@build_os@%$build_os%g
23697 s%@glibcpp_builddir@%$glibcpp_builddir%g
23698 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23701 s%@glibcpp_basedir@%$glibcpp_basedir%g
23703 s%@glibcpp_CXX@%$glibcpp_CXX%g
23706 s%@RANLIB@%$RANLIB%g
23707 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23708 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23709 s%@INSTALL_DATA@%$INSTALL_DATA%g
23710 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23711 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
23713 s%@EXEEXT@%$EXEEXT%g
23714 s%@VERSION@%$VERSION%g
23715 s%@ACLOCAL@%$ACLOCAL%g
23716 s%@AUTOCONF@%$AUTOCONF%g
23717 s%@AUTOMAKE@%$AUTOMAKE%g
23718 s%@AUTOHEADER@%$AUTOHEADER%g
23719 s%@MAKEINFO@%$MAKEINFO%g
23720 s%@SET_MAKE@%$SET_MAKE%g
23721 s%@OBJEXT@%$OBJEXT%g
23723 s%@LIBTOOL@%$LIBTOOL%g
23724 s%@CXXCPP@%$CXXCPP%g
23725 s%@enable_shared@%$enable_shared%g
23726 s%@enable_static@%$enable_static%g
23727 s%@ifGNUmake@%$ifGNUmake%g
23728 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
23730 s%@CSTDIO_H@%$CSTDIO_H%g
23731 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
23732 s%@CCODECVT_C@%$CCODECVT_C%g
23733 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
23734 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
23735 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
23736 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
23737 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
23738 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
23739 s%@libio_la@%$libio_la%g
23740 s%@check_msgfmt@%$check_msgfmt%g
23741 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
23742 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
23743 s%@glibcpp_localedir@%$glibcpp_localedir%g
23744 s%@USE_NLS@%$USE_NLS%g
23745 s%@CLOCALE_H@%$CLOCALE_H%g
23746 s%@CCODECVT_H@%$CCODECVT_H%g
23747 s%@CMESSAGES_H@%$CMESSAGES_H%g
23748 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
23749 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
23750 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
23751 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
23752 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
23753 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
23754 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
23755 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
23756 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
23757 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
23758 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
23759 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
23760 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
23761 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
23762 s%@WERROR@%$WERROR%g
23763 s%@baseline_file@%$baseline_file%g
23764 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
23765 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
23766 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
23767 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
23768 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
23769 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
23770 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
23771 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
23772 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
23773 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
23774 s%@gxx_include_dir@%$gxx_include_dir%g
23775 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
23776 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
23777 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
23778 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
23779 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
23780 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
23781 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
23782 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
23783 s%@WARN_FLAGS@%$WARN_FLAGS%g
23784 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
23789 cat >> $CONFIG_STATUS <<\EOF
23791 # Split the substitutions into bite-sized pieces for seds with
23792 # small command number limits, like on Digital OSF/1 and HP-UX.
23793 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
23794 ac_file=1 # Number of current file.
23795 ac_beg=1 # First line for current file.
23796 ac_end=$ac_max_sed_cmds # Line after last line for current file.
23799 while $ac_more_lines; do
23800 if test $ac_beg -gt 1; then
23801 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
23803 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
23805 if test ! -s conftest.s$ac_file; then
23806 ac_more_lines=false
23807 rm -f conftest.s$ac_file
23809 if test -z "$ac_sed_cmds"; then
23810 ac_sed_cmds="sed -f conftest.s$ac_file"
23812 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
23814 ac_file=`expr $ac_file + 1`
23816 ac_end=`expr $ac_end + $ac_max_sed_cmds`
23819 if test -z "$ac_sed_cmds"; then
23824 cat >> $CONFIG_STATUS <<EOF
23826 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
23827 include/Makefile src/Makefile \
23828 libmath/Makefile libio/Makefile libsupc++/Makefile \
23829 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
23831 cat >> $CONFIG_STATUS <<\EOF
23832 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
23833 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23835 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
23836 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23837 *) ac_file_in="${ac_file}.in" ;;
23840 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
23842 # Remove last slash and all that follows it. Not all systems have dirname.
23843 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23844 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23845 # The file is in a subdirectory.
23846 test ! -d "$ac_dir" && mkdir "$ac_dir"
23847 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
23848 # A "../" for each directory in $ac_dir_suffix.
23849 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
23851 ac_dir_suffix= ac_dots=
23854 case "$ac_given_srcdir" in
23856 if test -z "$ac_dots"; then top_srcdir=.
23857 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
23858 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
23859 *) # Relative path.
23860 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
23861 top_srcdir="$ac_dots$ac_given_srcdir" ;;
23864 case "$ac_given_INSTALL" in
23865 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23866 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23869 echo creating "$ac_file"
23871 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
23873 *Makefile*) ac_comsub="1i\\
23874 # $configure_input" ;;
23878 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23880 s%@configure_input@%$configure_input%g
23881 s%@srcdir@%$srcdir%g
23882 s%@top_srcdir@%$top_srcdir%g
23883 s%@INSTALL@%$INSTALL%g
23884 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
23888 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23889 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23891 # ac_d sets the value in "#define NAME VALUE" lines.
23892 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23893 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
23896 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
23897 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23898 ac_uB='\([ ]\)%\1#\2define\3'
23901 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23902 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23903 ac_eB='$%\1#\2define\3'
23907 if test "${CONFIG_HEADERS+set}" != set; then
23909 cat >> $CONFIG_STATUS <<EOF
23910 CONFIG_HEADERS="config.h"
23912 cat >> $CONFIG_STATUS <<\EOF
23914 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
23915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23917 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
23918 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23919 *) ac_file_in="${ac_file}.in" ;;
23922 echo creating $ac_file
23924 rm -f conftest.frag conftest.in conftest.out
23925 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23926 cat $ac_file_inputs > conftest.in
23930 # Transform confdefs.h into a sed script conftest.vals that substitutes
23931 # the proper values into config.h.in to produce config.h. And first:
23932 # Protect against being on the right side of a sed subst in config.status.
23933 # Protect against being in an unquoted here document in config.status.
23934 rm -f conftest.vals
23935 cat > conftest.hdr <<\EOF
23938 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
23942 sed -n -f conftest.hdr confdefs.h > conftest.vals
23945 # This sed command replaces #undef with comments. This is necessary, for
23946 # example, in the case of _POSIX_SOURCE, which is predefined and required
23947 # on some systems where configure will not decide to define it.
23948 cat >> conftest.vals <<\EOF
23949 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
23952 # Break up conftest.vals because some shells have a limit on
23953 # the size of here documents, and old seds have small limits too.
23955 rm -f conftest.tail
23958 ac_lines=`grep -c . conftest.vals`
23959 # grep -c gives empty output for an empty file on some AIX systems.
23960 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
23961 # Write a limited-size here document to conftest.frag.
23962 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
23963 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
23965 sed -f conftest.frag conftest.in > conftest.out
23967 mv conftest.out conftest.in
23968 ' >> $CONFIG_STATUS
23969 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
23970 rm -f conftest.vals
23971 mv conftest.tail conftest.vals
23973 rm -f conftest.vals
23975 cat >> $CONFIG_STATUS <<\EOF
23976 rm -f conftest.frag conftest.h
23977 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23978 cat conftest.in >> conftest.h
23980 if cmp -s $ac_file conftest.h 2>/dev/null; then
23981 echo "$ac_file is unchanged"
23984 # Remove last slash and all that follows it. Not all systems have dirname.
23985 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23986 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23987 # The file is in a subdirectory.
23988 test ! -d "$ac_dir" && mkdir "$ac_dir"
23991 mv conftest.h $ac_file
23997 cat >> $CONFIG_STATUS <<EOF
23998 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCODECVT_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $CLOCALE_INTERNAL_H $LINKER_MAP"
23999 ac_dests="src/basic_file.cc src/c++locale.cc src/codecvt_members.cc src/collate_members.cc src/ctype_members.cc src/messages_members.cc src/monetary_members.cc src/numeric_members.cc src/time_members.cc src/c++locale_internal.h src/linker.map"
24002 cat >> $CONFIG_STATUS <<\EOF
24003 srcdir=$ac_given_srcdir
24004 while test -n "$ac_sources"; do
24005 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
24006 set $ac_sources; ac_source=$1; shift; ac_sources=$*
24008 echo "linking $srcdir/$ac_source to $ac_dest"
24010 if test ! -r $srcdir/$ac_source; then
24011 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
24015 # Make relative symlinks.
24016 # Remove last slash and all that follows it. Not all systems have dirname.
24017 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
24018 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
24019 # The dest file is in a subdirectory.
24020 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
24021 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
24022 # A "../" for each directory in $ac_dest_dir_suffix.
24023 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
24025 ac_dest_dir_suffix= ac_dots=
24029 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
24030 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
24033 # Make a symlink if possible; otherwise try a hard link.
24034 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
24035 ln $srcdir/$ac_source $ac_dest; then :
24037 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
24041 cat >> $CONFIG_STATUS <<EOF
24046 with_multisubdir=${with_multisubdir}
24047 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24048 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24049 glibcpp_basedir=${glibcpp_basedir}
24054 cat >> $CONFIG_STATUS <<\EOF
24055 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24056 if test -n "$CONFIG_FILES"; then
24057 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24058 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24059 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24060 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24063 chmod +x testsuite_flags
24067 chmod +x $CONFIG_STATUS
24068 rm -fr confdefs* $ac_clean_files
24069 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24073 # Sanity checking & User-visible messages.
24074 # Checks down here, otherwise they get scrolled off before
24075 # the user will notice.
24077 # Trying to get more people to read documentation. Possibly remove
24078 # check and warn all the time. There is no "informational" AC_MSG_
24079 # macro, so these are going to be printed even when --quiet/--silent
24081 if test ! -f stamp-sanity-warned; then
24082 touch stamp-sanity-warned
24084 echo "Please make certain that you read the installation information here:"
24085 echo " faster => ${srcdir}/docs/html/install.html"
24086 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24088 echo "and the configuration information here:"
24089 echo " faster => ${srcdir}/docs/html/configopts.html"
24090 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24092 echo "before proceeding with ${_cv_gnu_make_command}."