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 typical GNU versioning info, format is MAJOR.MINOR.MICRO
602 release_VERSION=3.1.1
604 # For libtool versioning info, format is CURRENT:REVISION:AGE
605 libtool_VERSION=4:1:0
608 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
610 # You will slowly go insane if you do not grok the following fact: when
611 # building v3 as part of the compiler, the top-level /target/ becomes the
612 # library's /host/. `configure' then causes --target to default to --host,
613 # exactly like any other package using autoconf. Therefore, 'target' and
614 # 'host' will always be the same. This makes sense both for native and
615 # cross compilers, just think about it for a little while. :-)
617 # Also, if v3 is being configured as part of a cross compiler, the top-level
618 # configure script will pass the "real" host as $with_cross_host.
620 # AC 2.5x sets target_alias iff the user specified --target, but we use it
621 # everywhere, so we set it here just to be sure. In AC 2.13
622 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
624 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
625 if test -f $ac_dir/install-sh; then
627 ac_install_sh="$ac_aux_dir/install-sh -c"
629 elif test -f $ac_dir/install.sh; then
631 ac_install_sh="$ac_aux_dir/install.sh -c"
635 if test -z "$ac_aux_dir"; then
636 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
638 ac_config_guess=$ac_aux_dir/config.guess
639 ac_config_sub=$ac_aux_dir/config.sub
640 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
643 # Do some error checking and defaulting for the host and target type.
645 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
648 # 1. You are not allowed to specify --host, --target, and nonopt at the
650 # 2. Host defaults to nonopt.
651 # 3. If nonopt is not specified, then host defaults to the current host,
652 # as determined by config.guess.
653 # 4. Target and build default to nonopt.
654 # 5. If nonopt is not specified, then target and build default to host.
656 # The aliases save the names the user supplied, while $host etc.
657 # will get canonicalized.
658 case $host---$target---$nonopt in
659 NONE---*---* | *---NONE---* | *---*---NONE) ;;
660 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
664 # Make sure we can run config.sub.
665 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
666 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
669 echo $ac_n "checking host system type""... $ac_c" 1>&6
670 echo "configure:671: checking host system type" >&5
673 case "$host_alias" in
677 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
678 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
680 *) host_alias=$nonopt ;;
684 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
685 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
686 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
687 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
688 echo "$ac_t""$host" 1>&6
690 echo $ac_n "checking target system type""... $ac_c" 1>&6
691 echo "configure:692: checking target system type" >&5
694 case "$target_alias" in
697 NONE) target_alias=$host_alias ;;
698 *) target_alias=$nonopt ;;
702 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
703 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
704 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
705 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
706 echo "$ac_t""$target" 1>&6
708 echo $ac_n "checking build system type""... $ac_c" 1>&6
709 echo "configure:710: checking build system type" >&5
712 case "$build_alias" in
715 NONE) build_alias=$host_alias ;;
716 *) build_alias=$nonopt ;;
720 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
721 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
722 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
723 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
724 echo "$ac_t""$build" 1>&6
726 test "$host_alias" != "$target_alias" &&
727 test "$program_prefix$program_suffix$program_transform_name" = \
729 program_prefix=${target_alias}-
731 target_alias=${target_alias-$target}
734 # Find a good install program. We prefer a C program (faster),
735 # so one script is as good as another. But avoid the broken or
736 # incompatible versions:
737 # SysV /etc/install, /usr/sbin/install
738 # SunOS /usr/etc/install
741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
744 # ./install, which can be erroneously created by make from ./install.sh.
745 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
746 echo "configure:747: checking for a BSD compatible install" >&5
747 if test -z "$INSTALL"; then
748 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
749 echo $ac_n "(cached) $ac_c" 1>&6
751 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
752 for ac_dir in $PATH; do
753 # Account for people who put trailing slashes in PATH elements.
755 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
757 # OSF1 and SCO ODT 3.0 have their own names for install.
758 # Don't use installbsd from OSF since it installs stuff as root
760 for ac_prog in ginstall scoinst install; do
761 if test -f $ac_dir/$ac_prog; then
762 if test $ac_prog = install &&
763 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
764 # AIX install. It has an incompatible calling convention.
767 ac_cv_path_install="$ac_dir/$ac_prog -c"
778 if test "${ac_cv_path_install+set}" = set; then
779 INSTALL="$ac_cv_path_install"
781 # As a last resort, use the slow shell script. We don't cache a
782 # path for INSTALL within a source directory, because that will
783 # break other packages using the cache if that directory is
784 # removed, or if the path is relative.
785 INSTALL="$ac_install_sh"
788 echo "$ac_t""$INSTALL" 1>&6
790 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
791 # It thinks the first close brace ends the variable substitution.
792 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
794 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
796 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
798 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
799 echo "configure:800: checking whether build environment is sane" >&5
802 echo timestamp > conftestfile
803 # Do `set' in a subshell so we don't clobber the current shell's
804 # arguments. Must try -L first in case configure is actually a
805 # symlink; some systems play weird games with the mod time of symlinks
806 # (eg FreeBSD returns the mod time of the symlink's containing
809 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
810 if test "$*" = "X"; then
812 set X `ls -t $srcdir/configure conftestfile`
814 if test "$*" != "X $srcdir/configure conftestfile" \
815 && test "$*" != "X conftestfile $srcdir/configure"; then
817 # If neither matched, then we have a broken ls. This can happen
818 # if, for instance, CONFIG_SHELL is bash and it inherits a
819 # broken ls alias from the environment. This has actually
820 # happened. Such a system could not be considered "sane".
821 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
822 alias in your environment" 1>&2; exit 1; }
825 test "$2" = conftestfile
831 { echo "configure: error: newly created file is older than distributed files!
832 Check your system clock" 1>&2; exit 1; }
835 echo "$ac_t""yes" 1>&6
836 if test "$program_transform_name" = s,x,x,; then
837 program_transform_name=
839 # Double any \ or $. echo might interpret backslashes.
840 cat <<\EOF_SED > conftestsed
841 s,\\,\\\\,g; s,\$,$$,g
843 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
846 test "$program_prefix" != NONE &&
847 program_transform_name="s,^,${program_prefix},; $program_transform_name"
848 # Use a double $ so make ignores it.
849 test "$program_suffix" != NONE &&
850 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
852 # sed with no file args requires a program.
853 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
855 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
856 echo "configure:857: checking whether ${MAKE-make} sets \${MAKE}" >&5
857 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
858 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
859 echo $ac_n "(cached) $ac_c" 1>&6
861 cat > conftestmake <<\EOF
863 @echo 'ac_maketemp="${MAKE}"'
865 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
866 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
867 if test -n "$ac_maketemp"; then
868 eval ac_cv_prog_make_${ac_make}_set=yes
870 eval ac_cv_prog_make_${ac_make}_set=no
874 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
875 echo "$ac_t""yes" 1>&6
878 echo "$ac_t""no" 1>&6
879 SET_MAKE="MAKE=${MAKE-make}"
885 VERSION=$release_VERSION
887 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
888 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
890 cat >> confdefs.h <<EOF
891 #define PACKAGE "$PACKAGE"
894 cat >> confdefs.h <<EOF
895 #define VERSION "$VERSION"
900 missing_dir=`cd $ac_aux_dir && pwd`
901 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
902 echo "configure:903: checking for working aclocal" >&5
903 # Run test in a subshell; some versions of sh will print an error if
904 # an executable is not found, even if stderr is redirected.
905 # Redirect stdin to placate older versions of autoconf. Sigh.
906 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
908 echo "$ac_t""found" 1>&6
910 ACLOCAL="$missing_dir/missing aclocal"
911 echo "$ac_t""missing" 1>&6
914 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
915 echo "configure:916: checking for working autoconf" >&5
916 # Run test in a subshell; some versions of sh will print an error if
917 # an executable is not found, even if stderr is redirected.
918 # Redirect stdin to placate older versions of autoconf. Sigh.
919 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
921 echo "$ac_t""found" 1>&6
923 AUTOCONF="$missing_dir/missing autoconf"
924 echo "$ac_t""missing" 1>&6
927 echo $ac_n "checking for working automake""... $ac_c" 1>&6
928 echo "configure:929: checking for working automake" >&5
929 # Run test in a subshell; some versions of sh will print an error if
930 # an executable is not found, even if stderr is redirected.
931 # Redirect stdin to placate older versions of autoconf. Sigh.
932 if (automake --version) < /dev/null > /dev/null 2>&1; then
934 echo "$ac_t""found" 1>&6
936 AUTOMAKE="$missing_dir/missing automake"
937 echo "$ac_t""missing" 1>&6
940 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
941 echo "configure:942: checking for working autoheader" >&5
942 # Run test in a subshell; some versions of sh will print an error if
943 # an executable is not found, even if stderr is redirected.
944 # Redirect stdin to placate older versions of autoconf. Sigh.
945 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
946 AUTOHEADER=autoheader
947 echo "$ac_t""found" 1>&6
949 AUTOHEADER="$missing_dir/missing autoheader"
950 echo "$ac_t""missing" 1>&6
953 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
954 echo "configure:955: checking for working makeinfo" >&5
955 # Run test in a subshell; some versions of sh will print an error if
956 # an executable is not found, even if stderr is redirected.
957 # Redirect stdin to placate older versions of autoconf. Sigh.
958 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
960 echo "$ac_t""found" 1>&6
962 MAKEINFO="$missing_dir/missing makeinfo"
963 echo "$ac_t""missing" 1>&6
971 # Runs configure.target, finds CC, CXX and assorted other critical bits.
972 # Must run this before the GLIBCPP_ENABLE_* macros below.
973 if test $host != $build; then
974 ac_tool_prefix=${host_alias}-
979 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
980 echo "configure:981: checking for Cygwin environment" >&5
981 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
982 echo $ac_n "(cached) $ac_c" 1>&6
984 cat > conftest.$ac_ext <<EOF
985 #line 986 "configure"
986 #include "confdefs.h"
991 #define __CYGWIN__ __CYGWIN32__
996 if { (eval echo configure:997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1000 echo "configure: failed program was:" >&5
1001 cat conftest.$ac_ext >&5
1009 echo "$ac_t""$ac_cv_cygwin" 1>&6
1011 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1012 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1013 echo "configure:1014: checking for mingw32 environment" >&5
1014 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1015 echo $ac_n "(cached) $ac_c" 1>&6
1017 cat > conftest.$ac_ext <<EOF
1018 #line 1019 "configure"
1019 #include "confdefs.h"
1025 if { (eval echo configure:1026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1029 echo "configure: failed program was:" >&5
1030 cat conftest.$ac_ext >&5
1038 echo "$ac_t""$ac_cv_mingw32" 1>&6
1040 test "$ac_cv_mingw32" = yes && MINGW32=yes
1042 # Check whether --enable-multilib or --disable-multilib was given.
1043 if test "${enable_multilib+set}" = set; then
1044 enableval="$enable_multilib"
1045 case "${enableval}" in
1046 yes) multilib=yes ;;
1048 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1054 # When building with srcdir == objdir, links to the source files will
1055 # be created in directories within the target_subdir. We have to
1056 # adjust toplevel_srcdir accordingly, so that configure finds
1057 # install-sh and other auxiliary files that live in the top-level
1059 if test "${srcdir}" = "."; then
1060 if test -z "${with_target_subdir}"; then
1063 if test "${with_target_subdir}" != "."; then
1064 toprel="${with_multisrctop}../.."
1066 toprel="${with_multisrctop}.."
1073 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1074 if test -f $ac_dir/install-sh; then
1076 ac_install_sh="$ac_aux_dir/install-sh -c"
1078 elif test -f $ac_dir/install.sh; then
1080 ac_install_sh="$ac_aux_dir/install.sh -c"
1084 if test -z "$ac_aux_dir"; then
1085 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1087 ac_config_guess=$ac_aux_dir/config.guess
1088 ac_config_sub=$ac_aux_dir/config.sub
1089 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1091 toplevel_srcdir=\${top_srcdir}/$toprel
1094 #possibly test for the presence of the compiler sources here?
1096 # Export build and source directories.
1097 # These need to be absolute paths, yet at the same time need to
1098 # canonicalize only relative paths, because then amd will not unmount
1099 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1100 glibcpp_builddir=`${PWDCMD-pwd}`
1102 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1103 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1110 for ac_prog in mawk gawk nawk awk
1112 # Extract the first word of "$ac_prog", so it can be a program name with args.
1113 set dummy $ac_prog; ac_word=$2
1114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1115 echo "configure:1116: checking for $ac_word" >&5
1116 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1117 echo $ac_n "(cached) $ac_c" 1>&6
1119 if test -n "$AWK"; then
1120 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1124 for ac_dir in $ac_dummy; do
1125 test -z "$ac_dir" && ac_dir=.
1126 if test -f $ac_dir/$ac_word; then
1127 ac_cv_prog_AWK="$ac_prog"
1134 AWK="$ac_cv_prog_AWK"
1135 if test -n "$AWK"; then
1136 echo "$ac_t""$AWK" 1>&6
1138 echo "$ac_t""no" 1>&6
1141 test -n "$AWK" && break
1144 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1145 # be 'cp -p' if linking isn't available. Uncomment the next line to
1146 # force a particular method.
1147 #ac_cv_prog_LN_S='cp -p'
1148 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether ln -s works" >&5
1150 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1151 echo $ac_n "(cached) $ac_c" 1>&6
1154 if ln -s X conftestdata 2>/dev/null
1157 ac_cv_prog_LN_S="ln -s"
1162 LN_S="$ac_cv_prog_LN_S"
1163 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1164 echo "$ac_t""yes" 1>&6
1166 echo "$ac_t""no" 1>&6
1170 # We use these options to decide which functions to include.
1171 # Check whether --with-target-subdir or --without-target-subdir was given.
1172 if test "${with_target_subdir+set}" = set; then
1173 withval="$with_target_subdir"
1177 # Check whether --with-cross-host or --without-cross-host was given.
1178 if test "${with_cross_host+set}" = set; then
1179 withval="$with_cross_host"
1184 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1187 # Never versions of autoconf add an underscore to these functions.
1188 # Prevent future problems ...
1195 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1196 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1197 # are probably using a cross compiler, which will not be able to fully
1198 # link an executable. This is addressed in later versions of autoconf.
1203 # Extract the first word of "gcc", so it can be a program name with args.
1204 set dummy gcc; ac_word=$2
1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1206 echo "configure:1207: checking for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1208 echo $ac_n "(cached) $ac_c" 1>&6
1210 if test -n "$CC"; then
1211 ac_cv_prog_CC="$CC" # Let the user override the test.
1213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1215 for ac_dir in $ac_dummy; do
1216 test -z "$ac_dir" && ac_dir=.
1217 if test -f $ac_dir/$ac_word; then
1226 if test -n "$CC"; then
1227 echo "$ac_t""$CC" 1>&6
1229 echo "$ac_t""no" 1>&6
1232 if test -z "$CC"; then
1233 # Extract the first word of "cc", so it can be a program name with args.
1234 set dummy cc; ac_word=$2
1235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1236 echo "configure:1237: checking for $ac_word" >&5
1237 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1238 echo $ac_n "(cached) $ac_c" 1>&6
1240 if test -n "$CC"; then
1241 ac_cv_prog_CC="$CC" # Let the user override the test.
1243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1246 for ac_dir in $ac_dummy; do
1247 test -z "$ac_dir" && ac_dir=.
1248 if test -f $ac_dir/$ac_word; then
1249 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1250 ac_prog_rejected=yes
1258 if test $ac_prog_rejected = yes; then
1259 # We found a bogon in the path, so make sure we never use it.
1260 set dummy $ac_cv_prog_CC
1262 if test $# -gt 0; then
1263 # We chose a different compiler from the bogus one.
1264 # However, it has the same basename, so the bogon will be chosen
1265 # first if we set CC to just the basename; use the full file name.
1267 set dummy "$ac_dir/$ac_word" "$@"
1275 if test -n "$CC"; then
1276 echo "$ac_t""$CC" 1>&6
1278 echo "$ac_t""no" 1>&6
1281 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1284 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1285 echo "configure:1286: checking whether we are using GNU C" >&5
1286 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1287 echo $ac_n "(cached) $ac_c" 1>&6
1289 cat > conftest.c <<EOF
1294 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1301 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1303 if test $ac_cv_prog_gcc = yes; then
1305 ac_test_CFLAGS="${CFLAGS+set}"
1306 ac_save_CFLAGS="$CFLAGS"
1308 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1309 echo "configure:1310: checking whether ${CC-cc} accepts -g" >&5
1310 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 echo 'void f(){}' > conftest.c
1314 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1323 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1324 if test "$ac_test_CFLAGS" = set; then
1325 CFLAGS="$ac_save_CFLAGS"
1326 elif test $ac_cv_prog_cc_g = yes; then
1333 test "${CFLAGS+set}" = set || CFLAGS="-g"
1337 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1338 # will try to link in libstdc++.
1342 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1343 # flags that come in CXX while configuring libstdc++. They're different
1344 # from those used for all other target libraries. If CXX is set in
1345 # the environment, respect that here.
1347 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1349 # Extract the first word of "$ac_prog", so it can be a program name with args.
1350 set dummy $ac_prog; ac_word=$2
1351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1352 echo "configure:1353: checking for $ac_word" >&5
1353 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1354 echo $ac_n "(cached) $ac_c" 1>&6
1356 if test -n "$glibcpp_CXX"; then
1357 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1359 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1361 for ac_dir in $ac_dummy; do
1362 test -z "$ac_dir" && ac_dir=.
1363 if test -f $ac_dir/$ac_word; then
1364 ac_cv_prog_glibcpp_CXX="$ac_prog"
1371 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1372 if test -n "$glibcpp_CXX"; then
1373 echo "$ac_t""$glibcpp_CXX" 1>&6
1375 echo "$ac_t""no" 1>&6
1378 test -n "$glibcpp_CXX" && break
1380 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1384 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1386 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1387 echo "configure:1388: checking whether we are using GNU C++" >&5
1388 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1389 echo $ac_n "(cached) $ac_c" 1>&6
1391 cat > conftest.C <<EOF
1396 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1403 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1405 if test $ac_cv_prog_gxx = yes; then
1407 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1408 ac_save_CXXFLAGS="$CXXFLAGS"
1410 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1411 echo "configure:1412: checking whether ${CXX-g++} accepts -g" >&5
1412 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1413 echo $ac_n "(cached) $ac_c" 1>&6
1415 echo 'void f(){}' > conftest.cc
1416 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1417 ac_cv_prog_cxx_g=yes
1425 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1426 if test "$ac_test_CXXFLAGS" = set; then
1427 CXXFLAGS="$ac_save_CXXFLAGS"
1428 elif test $ac_cv_prog_cxx_g = yes; then
1435 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1439 # For some reason, gettext needs this.
1441 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1442 echo "configure:1443: checking for strerror in -lcposix" >&5
1443 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1445 echo $ac_n "(cached) $ac_c" 1>&6
1447 ac_save_LIBS="$LIBS"
1448 LIBS="-lcposix $LIBS"
1449 cat > conftest.$ac_ext <<EOF
1450 #line 1451 "configure"
1451 #include "confdefs.h"
1452 /* Override any gcc2 internal prototype to avoid an error. */
1453 /* We use char because int might match the return type of a gcc2
1454 builtin and then its argument prototype would still apply. */
1461 if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1463 eval "ac_cv_lib_$ac_lib_var=yes"
1465 echo "configure: failed program was:" >&5
1466 cat conftest.$ac_ext >&5
1468 eval "ac_cv_lib_$ac_lib_var=no"
1471 LIBS="$ac_save_LIBS"
1474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1475 echo "$ac_t""yes" 1>&6
1476 LIBS="$LIBS -lcposix"
1478 echo "$ac_t""no" 1>&6
1484 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1485 set dummy ${ac_tool_prefix}as; ac_word=$2
1486 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1487 echo "configure:1488: checking for $ac_word" >&5
1488 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1489 echo $ac_n "(cached) $ac_c" 1>&6
1491 if test -n "$AS"; then
1492 ac_cv_prog_AS="$AS" # Let the user override the test.
1494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1496 for ac_dir in $ac_dummy; do
1497 test -z "$ac_dir" && ac_dir=.
1498 if test -f $ac_dir/$ac_word; then
1499 ac_cv_prog_AS="${ac_tool_prefix}as"
1504 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1508 if test -n "$AS"; then
1509 echo "$ac_t""$AS" 1>&6
1511 echo "$ac_t""no" 1>&6
1516 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}ar; ac_word=$2
1518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1519 echo "configure:1520: checking for $ac_word" >&5
1520 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1521 echo $ac_n "(cached) $ac_c" 1>&6
1523 if test -n "$AR"; then
1524 ac_cv_prog_AR="$AR" # Let the user override the test.
1526 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1528 for ac_dir in $ac_dummy; do
1529 test -z "$ac_dir" && ac_dir=.
1530 if test -f $ac_dir/$ac_word; then
1531 ac_cv_prog_AR="${ac_tool_prefix}ar"
1536 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1540 if test -n "$AR"; then
1541 echo "$ac_t""$AR" 1>&6
1543 echo "$ac_t""no" 1>&6
1548 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1549 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1551 echo "configure:1552: checking for $ac_word" >&5
1552 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1553 echo $ac_n "(cached) $ac_c" 1>&6
1555 if test -n "$RANLIB"; then
1556 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1560 for ac_dir in $ac_dummy; do
1561 test -z "$ac_dir" && ac_dir=.
1562 if test -f $ac_dir/$ac_word; then
1563 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1570 RANLIB="$ac_cv_prog_RANLIB"
1571 if test -n "$RANLIB"; then
1572 echo "$ac_t""$RANLIB" 1>&6
1574 echo "$ac_t""no" 1>&6
1578 if test -z "$ac_cv_prog_RANLIB"; then
1579 if test -n "$ac_tool_prefix"; then
1580 # Extract the first word of "ranlib", so it can be a program name with args.
1581 set dummy ranlib; ac_word=$2
1582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1583 echo "configure:1584: checking for $ac_word" >&5
1584 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1585 echo $ac_n "(cached) $ac_c" 1>&6
1587 if test -n "$RANLIB"; then
1588 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1592 for ac_dir in $ac_dummy; do
1593 test -z "$ac_dir" && ac_dir=.
1594 if test -f $ac_dir/$ac_word; then
1595 ac_cv_prog_RANLIB="ranlib"
1600 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1603 RANLIB="$ac_cv_prog_RANLIB"
1604 if test -n "$RANLIB"; then
1605 echo "$ac_t""$RANLIB" 1>&6
1607 echo "$ac_t""no" 1>&6
1611 RANLIB="ranlib-not-found-in-path-error"
1615 # Find a good install program. We prefer a C program (faster),
1616 # so one script is as good as another. But avoid the broken or
1617 # incompatible versions:
1618 # SysV /etc/install, /usr/sbin/install
1619 # SunOS /usr/etc/install
1620 # IRIX /sbin/install
1622 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1623 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1624 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1625 # ./install, which can be erroneously created by make from ./install.sh.
1626 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1627 echo "configure:1628: checking for a BSD compatible install" >&5
1628 if test -z "$INSTALL"; then
1629 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1630 echo $ac_n "(cached) $ac_c" 1>&6
1632 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1633 for ac_dir in $PATH; do
1634 # Account for people who put trailing slashes in PATH elements.
1636 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1638 # OSF1 and SCO ODT 3.0 have their own names for install.
1639 # Don't use installbsd from OSF since it installs stuff as root
1641 for ac_prog in ginstall scoinst install; do
1642 if test -f $ac_dir/$ac_prog; then
1643 if test $ac_prog = install &&
1644 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1645 # AIX install. It has an incompatible calling convention.
1648 ac_cv_path_install="$ac_dir/$ac_prog -c"
1659 if test "${ac_cv_path_install+set}" = set; then
1660 INSTALL="$ac_cv_path_install"
1662 # As a last resort, use the slow shell script. We don't cache a
1663 # path for INSTALL within a source directory, because that will
1664 # break other packages using the cache if that directory is
1665 # removed, or if the path is relative.
1666 INSTALL="$ac_install_sh"
1669 echo "$ac_t""$INSTALL" 1>&6
1671 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1672 # It thinks the first close brace ends the variable substitution.
1673 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1675 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1677 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1680 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1681 echo "configure:1682: checking whether to enable maintainer-specific portions of Makefiles" >&5
1682 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1683 if test "${enable_maintainer_mode+set}" = set; then
1684 enableval="$enable_maintainer_mode"
1685 USE_MAINTAINER_MODE=$enableval
1687 USE_MAINTAINER_MODE=no
1690 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1693 if test $USE_MAINTAINER_MODE = yes; then
1694 MAINTAINER_MODE_TRUE=
1695 MAINTAINER_MODE_FALSE='#'
1697 MAINTAINER_MODE_TRUE='#'
1698 MAINTAINER_MODE_FALSE=
1700 MAINT=$MAINTAINER_MODE_TRUE
1704 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1705 # at least currently, we never actually build a program, so we never
1706 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1707 # fails, because we are probably configuring with a cross compiler
1708 # which can't create executables. So we include AC_EXEEXT to keep
1709 # automake happy, but we don't execute it, since we don't care about
1712 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1713 # to nothing, so nothing would remain between `then' and `fi' if it
1714 # were not for the `:' below.
1718 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1719 echo "configure:1720: checking for executable suffix" >&5
1720 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1721 echo $ac_n "(cached) $ac_c" 1>&6
1723 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1727 echo 'int main () { return 0; }' > conftest.$ac_ext
1729 if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1730 for file in conftest.*; do
1732 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1733 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1737 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1740 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1745 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1746 echo "$ac_t""${ac_cv_exeext}" 1>&6
1751 case ${glibcpp_basedir} in
1752 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1753 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1756 # Find platform-specific directories containing configuration info. In
1757 # addition to possibly modifying the same flags, it also sets up symlinks.
1759 . ${glibcpp_basedir}/configure.target
1760 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1761 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1767 # Check whether --enable-shared or --disable-shared was given.
1768 if test "${enable_shared+set}" = set; then
1769 enableval="$enable_shared"
1770 p=${PACKAGE-default}
1772 yes) enable_shared=yes ;;
1773 no) enable_shared=no ;;
1776 # Look at the argument we got. We use all the common list separators.
1777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1778 for pkg in $enableval; do
1779 if test "X$pkg" = "X$p"; then
1790 # Check whether --enable-static or --disable-static was given.
1791 if test "${enable_static+set}" = set; then
1792 enableval="$enable_static"
1793 p=${PACKAGE-default}
1795 yes) enable_static=yes ;;
1796 no) enable_static=no ;;
1799 # Look at the argument we got. We use all the common list separators.
1800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1801 for pkg in $enableval; do
1802 if test "X$pkg" = "X$p"; then
1813 # Check whether --enable-fast-install or --disable-fast-install was given.
1814 if test "${enable_fast_install+set}" = set; then
1815 enableval="$enable_fast_install"
1816 p=${PACKAGE-default}
1818 yes) enable_fast_install=yes ;;
1819 no) enable_fast_install=no ;;
1821 enable_fast_install=no
1822 # Look at the argument we got. We use all the common list separators.
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1824 for pkg in $enableval; do
1825 if test "X$pkg" = "X$p"; then
1826 enable_fast_install=yes
1833 enable_fast_install=yes
1836 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1837 if test "${with_gnu_ld+set}" = set; then
1838 withval="$with_gnu_ld"
1839 test "$withval" = no || with_gnu_ld=yes
1845 if test "$GCC" = yes; then
1846 # Check if gcc -print-prog-name=ld gives a path.
1847 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1848 echo "configure:1849: checking for ld used by GCC" >&5
1851 # gcc leaves a trailing carriage return which upsets mingw
1852 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1854 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1857 # Accept absolute paths.
1858 [\\/]* | [A-Za-z]:[\\/]*)
1859 re_direlt='/[^/][^/]*/\.\./'
1860 # Canonicalize the path of ld
1861 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1862 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1863 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1865 test -z "$LD" && LD="$ac_prog"
1868 # If it fails, then pretend we aren't using GCC.
1872 # If it is relative, then search for the first ld in PATH.
1876 elif test "$with_gnu_ld" = yes; then
1877 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1878 echo "configure:1879: checking for GNU ld" >&5
1880 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1881 echo "configure:1882: checking for non-GNU ld" >&5
1883 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1884 echo $ac_n "(cached) $ac_c" 1>&6
1886 if test -z "$LD"; then
1887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1888 for ac_dir in $PATH; do
1889 test -z "$ac_dir" && ac_dir=.
1890 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1891 lt_cv_path_LD="$ac_dir/$ac_prog"
1892 # Check to see if the program is GNU ld. I'd rather use --version,
1893 # but apparently some GNU ld's only accept -v.
1894 # Break only if it was the GNU/non-GNU ld that we prefer.
1895 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1896 test "$with_gnu_ld" != no && break
1898 test "$with_gnu_ld" != yes && break
1904 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1909 if test -n "$LD"; then
1910 echo "$ac_t""$LD" 1>&6
1912 echo "$ac_t""no" 1>&6
1914 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1915 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1916 echo "configure:1917: checking if the linker ($LD) is GNU ld" >&5
1917 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1918 echo $ac_n "(cached) $ac_c" 1>&6
1920 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1921 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1922 lt_cv_prog_gnu_ld=yes
1924 lt_cv_prog_gnu_ld=no
1928 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1929 with_gnu_ld=$lt_cv_prog_gnu_ld
1932 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1933 echo "configure:1934: checking for $LD option to reload object files" >&5
1934 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1935 echo $ac_n "(cached) $ac_c" 1>&6
1937 lt_cv_ld_reload_flag='-r'
1940 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1941 reload_flag=$lt_cv_ld_reload_flag
1942 test -n "$reload_flag" && reload_flag=" $reload_flag"
1944 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1945 echo "configure:1946: checking for BSD-compatible nm" >&5
1946 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1949 if test -n "$NM"; then
1950 # Let the user override the test.
1953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1954 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1955 test -z "$ac_dir" && ac_dir=.
1956 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1957 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1958 # Check to see if the nm accepts a BSD-compat flag.
1959 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1960 # nm: unknown option "B" ignored
1961 # Tru64's nm complains that /dev/null is an invalid object file
1962 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1963 lt_cv_path_NM="$tmp_nm -B"
1965 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1966 lt_cv_path_NM="$tmp_nm -p"
1969 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1970 continue # so that we can try to find one that supports BSD flags
1975 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1980 echo "$ac_t""$NM" 1>&6
1982 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1983 echo "configure:1984: checking how to recognise dependant libraries" >&5
1984 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1985 echo $ac_n "(cached) $ac_c" 1>&6
1987 lt_cv_file_magic_cmd='$MAGIC_CMD'
1988 lt_cv_file_magic_test_file=
1989 lt_cv_deplibs_check_method='unknown'
1990 # Need to set the preceding variable on all platforms that support
1991 # interlibrary dependencies.
1992 # 'none' -- dependencies not supported.
1993 # `unknown' -- same as none, but documents that we really don't know.
1994 # 'pass_all' -- all dependencies passed with no checks.
1995 # 'test_compile' -- check by making test program.
1996 # 'file_magic [regex]' -- check by looking for files in library path
1997 # which responds to the $file_magic_cmd with a given egrep regex.
1998 # If you have `file' or equivalent on your system and you're not sure
1999 # whether `pass_all' will *always* work, you probably want this one.
2003 lt_cv_deplibs_check_method=pass_all
2007 lt_cv_deplibs_check_method=pass_all
2011 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2012 lt_cv_file_magic_cmd='/usr/bin/file -L'
2013 lt_cv_file_magic_test_file=/shlib/libc.so
2016 cygwin* | mingw* |pw32*)
2017 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2018 lt_cv_file_magic_cmd='$OBJDUMP -f'
2021 darwin* | rhapsody*)
2022 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2023 lt_cv_file_magic_cmd='/usr/bin/file -L'
2025 rhapsody* | darwin1.012)
2026 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2029 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2035 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2038 # Not sure whether the presence of OpenBSD here was a mistake.
2039 # Let's accept both of them until this is cleared up.
2040 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2041 lt_cv_file_magic_cmd=/usr/bin/file
2042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2046 lt_cv_deplibs_check_method=pass_all
2051 lt_cv_deplibs_check_method=pass_all
2055 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2056 lt_cv_file_magic_cmd=/usr/bin/file
2057 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2063 # this will be overridden with pass_all, but let us keep it just in case
2064 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2068 *-32|*"-32 ") libmagic=32-bit;;
2069 *-n32|*"-n32 ") libmagic=N32;;
2070 *-64|*"-64 ") libmagic=64-bit;;
2071 *) libmagic=never-match;;
2073 # this will be overridden with pass_all, but let us keep it just in case
2074 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2077 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2078 lt_cv_deplibs_check_method=pass_all
2081 # This must be Linux ELF.
2084 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2085 lt_cv_deplibs_check_method=pass_all ;;
2087 # glibc up to 2.1.1 does not perform some relocations on ARM
2088 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2090 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2094 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2095 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2097 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2103 lt_cv_file_magic_cmd=/usr/bin/file
2104 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2107 osf3* | osf4* | osf5*)
2108 # this will be overridden with pass_all, but let us keep it just in case
2109 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2110 lt_cv_file_magic_test_file=/shlib/libc.so
2111 lt_cv_deplibs_check_method=pass_all
2115 lt_cv_deplibs_check_method=pass_all
2119 lt_cv_deplibs_check_method=pass_all
2120 lt_cv_file_magic_test_file=/lib/libc.so
2123 sysv5uw[78]* | sysv4*uw2*)
2124 lt_cv_deplibs_check_method=pass_all
2127 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2128 case $host_vendor in
2130 lt_cv_deplibs_check_method=pass_all
2133 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]'
2134 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2142 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2143 file_magic_cmd=$lt_cv_file_magic_cmd
2144 deplibs_check_method=$lt_cv_deplibs_check_method
2146 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2147 echo "configure:2148: checking for object suffix" >&5
2148 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2149 echo $ac_n "(cached) $ac_c" 1>&6
2152 echo 'int i = 1;' > conftest.$ac_ext
2153 if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2154 for ac_file in conftest.*; do
2157 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2161 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2166 echo "$ac_t""$ac_cv_objext" 1>&6
2167 OBJEXT=$ac_cv_objext
2168 ac_objext=$ac_cv_objext
2170 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2172 # Only perform the check for file, if the check method requires it
2173 case $deplibs_check_method in
2175 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2176 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2177 echo "configure:2178: checking for ${ac_tool_prefix}file" >&5
2178 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2186 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2189 ac_save_MAGIC_CMD="$MAGIC_CMD"
2190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2191 ac_dummy="/usr/bin:$PATH"
2192 for ac_dir in $ac_dummy; do
2193 test -z "$ac_dir" && ac_dir=.
2194 if test -f $ac_dir/${ac_tool_prefix}file; then
2195 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2196 if test -n "$file_magic_test_file"; then
2197 case $deplibs_check_method in
2199 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2201 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2202 egrep "$file_magic_regex" > /dev/null; then
2207 *** Warning: the command libtool uses to detect shared libraries,
2208 *** $file_magic_cmd, produces output that libtool cannot recognize.
2209 *** The result is that libtool may fail to recognize shared libraries
2210 *** as such. This will affect the creation of libtool libraries that
2211 *** depend on shared libraries, but programs linked with such libtool
2212 *** libraries will work regardless of this problem. Nevertheless, you
2213 *** may want to report the problem to your system manager and/or to
2214 *** bug-libtool@gnu.org
2224 MAGIC_CMD="$ac_save_MAGIC_CMD"
2229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2230 if test -n "$MAGIC_CMD"; then
2231 echo "$ac_t""$MAGIC_CMD" 1>&6
2233 echo "$ac_t""no" 1>&6
2236 if test -z "$lt_cv_path_MAGIC_CMD"; then
2237 if test -n "$ac_tool_prefix"; then
2238 echo $ac_n "checking for file""... $ac_c" 1>&6
2239 echo "configure:2240: checking for file" >&5
2240 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2241 echo $ac_n "(cached) $ac_c" 1>&6
2245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2251 ac_save_MAGIC_CMD="$MAGIC_CMD"
2252 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2253 ac_dummy="/usr/bin:$PATH"
2254 for ac_dir in $ac_dummy; do
2255 test -z "$ac_dir" && ac_dir=.
2256 if test -f $ac_dir/file; then
2257 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2258 if test -n "$file_magic_test_file"; then
2259 case $deplibs_check_method in
2261 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2263 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2264 egrep "$file_magic_regex" > /dev/null; then
2269 *** Warning: the command libtool uses to detect shared libraries,
2270 *** $file_magic_cmd, produces output that libtool cannot recognize.
2271 *** The result is that libtool may fail to recognize shared libraries
2272 *** as such. This will affect the creation of libtool libraries that
2273 *** depend on shared libraries, but programs linked with such libtool
2274 *** libraries will work regardless of this problem. Nevertheless, you
2275 *** may want to report the problem to your system manager and/or to
2276 *** bug-libtool@gnu.org
2286 MAGIC_CMD="$ac_save_MAGIC_CMD"
2291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2292 if test -n "$MAGIC_CMD"; then
2293 echo "$ac_t""$MAGIC_CMD" 1>&6
2295 echo "$ac_t""no" 1>&6
2307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2310 echo "configure:2311: checking for $ac_word" >&5
2311 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2312 echo $ac_n "(cached) $ac_c" 1>&6
2314 if test -n "$RANLIB"; then
2315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2317 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2319 for ac_dir in $ac_dummy; do
2320 test -z "$ac_dir" && ac_dir=.
2321 if test -f $ac_dir/$ac_word; then
2322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2329 RANLIB="$ac_cv_prog_RANLIB"
2330 if test -n "$RANLIB"; then
2331 echo "$ac_t""$RANLIB" 1>&6
2333 echo "$ac_t""no" 1>&6
2337 if test -z "$ac_cv_prog_RANLIB"; then
2338 if test -n "$ac_tool_prefix"; then
2339 # Extract the first word of "ranlib", so it can be a program name with args.
2340 set dummy ranlib; ac_word=$2
2341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2342 echo "configure:2343: checking for $ac_word" >&5
2343 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2344 echo $ac_n "(cached) $ac_c" 1>&6
2346 if test -n "$RANLIB"; then
2347 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2349 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2351 for ac_dir in $ac_dummy; do
2352 test -z "$ac_dir" && ac_dir=.
2353 if test -f $ac_dir/$ac_word; then
2354 ac_cv_prog_RANLIB="ranlib"
2359 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2362 RANLIB="$ac_cv_prog_RANLIB"
2363 if test -n "$RANLIB"; then
2364 echo "$ac_t""$RANLIB" 1>&6
2366 echo "$ac_t""no" 1>&6
2374 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2375 set dummy ${ac_tool_prefix}strip; ac_word=$2
2376 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2377 echo "configure:2378: checking for $ac_word" >&5
2378 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2379 echo $ac_n "(cached) $ac_c" 1>&6
2381 if test -n "$STRIP"; then
2382 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2384 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2386 for ac_dir in $ac_dummy; do
2387 test -z "$ac_dir" && ac_dir=.
2388 if test -f $ac_dir/$ac_word; then
2389 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2396 STRIP="$ac_cv_prog_STRIP"
2397 if test -n "$STRIP"; then
2398 echo "$ac_t""$STRIP" 1>&6
2400 echo "$ac_t""no" 1>&6
2404 if test -z "$ac_cv_prog_STRIP"; then
2405 if test -n "$ac_tool_prefix"; then
2406 # Extract the first word of "strip", so it can be a program name with args.
2407 set dummy strip; ac_word=$2
2408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2409 echo "configure:2410: checking for $ac_word" >&5
2410 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2411 echo $ac_n "(cached) $ac_c" 1>&6
2413 if test -n "$STRIP"; then
2414 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2416 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2418 for ac_dir in $ac_dummy; do
2419 test -z "$ac_dir" && ac_dir=.
2420 if test -f $ac_dir/$ac_word; then
2421 ac_cv_prog_STRIP="strip"
2426 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2429 STRIP="$ac_cv_prog_STRIP"
2430 if test -n "$STRIP"; then
2431 echo "$ac_t""$STRIP" 1>&6
2433 echo "$ac_t""no" 1>&6
2442 # Check for any special flags to pass to ltconfig.
2443 libtool_flags="--cache-file=$cache_file"
2444 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2445 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2446 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2447 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2448 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2449 libtool_flags="$libtool_flags --enable-dlopen"
2451 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2452 if test "${enable_libtool_lock+set}" = set; then
2453 enableval="$enable_libtool_lock"
2457 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2458 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2460 # Check whether --with-pic or --without-pic was given.
2461 if test "${with_pic+set}" = set; then
2468 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2469 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2471 # Some flags need to be propagated to the compiler or linker for good
2475 # Find out which ABI we are using.
2476 echo '#line 2477 "configure"' > conftest.$ac_ext
2477 if { (eval echo configure:2478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2478 case `/usr/bin/file conftest.$ac_objext` in
2494 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2495 SAVE_CFLAGS="$CFLAGS"
2496 CFLAGS="$CFLAGS -belf"
2497 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2498 echo "configure:2499: checking whether the C compiler needs -belf" >&5
2499 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2500 echo $ac_n "(cached) $ac_c" 1>&6
2504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2508 cross_compiling=$ac_cv_prog_cc_cross
2510 cat > conftest.$ac_ext <<EOF
2511 #line 2512 "configure"
2512 #include "confdefs.h"
2518 if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2520 lt_cv_cc_needs_belf=yes
2522 echo "configure: failed program was:" >&5
2523 cat conftest.$ac_ext >&5
2525 lt_cv_cc_needs_belf=no
2529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2530 ac_cpp='$CPP $CPPFLAGS'
2531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2533 cross_compiling=$ac_cv_prog_cc_cross
2537 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2538 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2539 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2540 CFLAGS="$SAVE_CFLAGS"
2547 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2548 echo "configure:2549: checking how to run the C++ preprocessor" >&5
2549 if test -z "$CXXCPP"; then
2550 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2551 echo $ac_n "(cached) $ac_c" 1>&6
2554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2555 ac_cpp='$CXXCPP $CPPFLAGS'
2556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2558 cross_compiling=$ac_cv_prog_cxx_cross
2559 CXXCPP="${CXX-g++} -E"
2560 cat > conftest.$ac_ext <<EOF
2561 #line 2562 "configure"
2562 #include "confdefs.h"
2565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2566 { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2568 if test -z "$ac_err"; then
2572 echo "configure: failed program was:" >&5
2573 cat conftest.$ac_ext >&5
2578 ac_cv_prog_CXXCPP="$CXXCPP"
2580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2583 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2584 cross_compiling=$ac_cv_prog_cc_cross
2587 CXXCPP="$ac_cv_prog_CXXCPP"
2588 echo "$ac_t""$CXXCPP" 1>&6
2591 # Save cache, so that ltconfig can load it
2592 cat > confcache <<\EOF
2593 # This file is a shell script that caches the results of configure
2594 # tests run on this system so they can be shared between configure
2595 # scripts and configure runs. It is not useful on other systems.
2596 # If it contains results you don't want to keep, you may remove or edit it.
2598 # By default, configure uses ./config.cache as the cache file,
2599 # creating it if it does not exist already. You can give configure
2600 # the --cache-file=FILE option to use a different cache file; that is
2601 # what configure does when it calls configure scripts in
2602 # subdirectories, so they share the cache.
2603 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2604 # config.status only pays attention to the cache file if you give it the
2605 # --recheck option to rerun configure.
2608 # The following way of writing the cache mishandles newlines in values,
2609 # but we know of no workaround that is simple, portable, and efficient.
2610 # So, don't put newlines in cache variables' values.
2611 # Ultrix sh set writes to stderr and can't be redirected directly,
2612 # and sets the high bit in the cache file unless we assign to the vars.
2614 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2616 # `set' does not quote correctly, so add quotes (double-quote substitution
2617 # turns \\\\ into \\, and sed turns \\ into \).
2619 -e "s/'/'\\\\''/g" \
2620 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2623 # `set' quotes correctly as required by POSIX, so do not add quotes.
2624 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2627 if cmp -s $cache_file confcache; then
2630 if test -w $cache_file; then
2631 echo "updating cache $cache_file"
2632 cat confcache > $cache_file
2634 echo "not updating unwritable cache $cache_file"
2640 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2641 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2642 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2643 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2644 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2645 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2646 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2647 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2648 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2649 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2651 # Reload cache, that may have been modified by ltconfig
2652 if test -r "$cache_file"; then
2653 echo "loading cache $cache_file"
2656 echo "creating cache $cache_file"
2661 # This can be used to rebuild libtool when needed
2662 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2664 # Always use our own libtool.
2665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2667 # Redirect the config.log output again, so that the ltconfig log is not
2668 # clobbered by the next message.
2669 exec 5>>./config.log
2673 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2675 lt_save_CFLAGS="$CFLAGS"
2676 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2677 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2678 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2679 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2680 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2681 deplibs_check_method="$deplibs_check_method" \
2682 file_magic_cmd="$file_magic_cmd" \
2683 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2684 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2685 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2687 CFLAGS="$lt_save_CFLAGS"
2689 # Redirect the config.log output again, so that the ltconfig log is not
2690 # clobbered by the next message.
2691 exec 5>>./config.log
2701 # Check for c++ or library specific bits that don't require linking.
2702 #GLIBCPP_CHECK_COMPILER_VERSION
2703 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2704 echo "configure:2705: checking for GNU make" >&5
2705 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2706 echo $ac_n "(cached) $ac_c" 1>&6
2708 _cv_gnu_make_command='' ;
2709 for a in "${MAKE-make}" make gmake gnumake ; do
2710 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2712 _cv_gnu_make_command=$a ;
2719 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2720 if test "x$_cv_gnu_make_command" != "x" ; then
2728 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2729 # Check whether --enable-debug or --disable-debug was given.
2730 if test "${enable_debug+set}" = set; then
2731 enableval="$enable_debug"
2732 case "${enableval}" in
2733 yes) enable_debug=yes ;;
2734 no) enable_debug=no ;;
2735 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2741 case "${enable_debug}" in
2743 DEBUG_FLAGS='-O0 -ggdb3'
2751 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2752 echo "configure:2753: checking how to run the C preprocessor" >&5
2753 # On Suns, sometimes $CPP names a directory.
2754 if test -n "$CPP" && test -d "$CPP"; then
2757 if test -z "$CPP"; then
2758 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2759 echo $ac_n "(cached) $ac_c" 1>&6
2761 # This must be in double quotes, not single quotes, because CPP may get
2762 # substituted into the Makefile and "${CC-cc}" will confuse make.
2764 # On the NeXT, cc -E runs the code through the compiler's parser,
2765 # not just through cpp.
2766 cat > conftest.$ac_ext <<EOF
2767 #line 2768 "configure"
2768 #include "confdefs.h"
2772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2773 { (eval echo configure:2774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2775 if test -z "$ac_err"; then
2779 echo "configure: failed program was:" >&5
2780 cat conftest.$ac_ext >&5
2782 CPP="${CC-cc} -E -traditional-cpp"
2783 cat > conftest.$ac_ext <<EOF
2784 #line 2785 "configure"
2785 #include "confdefs.h"
2789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2790 { (eval echo configure:2791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2792 if test -z "$ac_err"; then
2796 echo "configure: failed program was:" >&5
2797 cat conftest.$ac_ext >&5
2799 CPP="${CC-cc} -nologo -E"
2800 cat > conftest.$ac_ext <<EOF
2801 #line 2802 "configure"
2802 #include "confdefs.h"
2806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2809 if test -z "$ac_err"; then
2813 echo "configure: failed program was:" >&5
2814 cat conftest.$ac_ext >&5
2823 ac_cv_prog_CPP="$CPP"
2825 CPP="$ac_cv_prog_CPP"
2827 ac_cv_prog_CPP="$CPP"
2829 echo "$ac_t""$CPP" 1>&6
2832 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2833 echo "configure:2834: checking for cstdio to use" >&5
2834 # Check whether --enable-cstdio or --disable-cstdio was given.
2835 if test "${enable_cstdio+set}" = set; then
2836 enableval="$enable_cstdio"
2837 if test x$enable_cstdio = xno; then
2845 enable_cstdio_flag=$enable_cstdio
2847 case x${enable_cstdio_flag} in
2849 CSTDIO_H=config/io/c_io_libio.h
2850 BASIC_FILE_H=config/io/basic_file_libio.h
2851 BASIC_FILE_CC=config/io/basic_file_libio.cc
2852 echo "$ac_t""libio" 1>&6
2854 # see if we are on a system with libio native (ie, linux)
2855 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2856 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2857 echo "configure:2858: checking for libio.h" >&5
2858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2859 echo $ac_n "(cached) $ac_c" 1>&6
2861 cat > conftest.$ac_ext <<EOF
2862 #line 2863 "configure"
2863 #include "confdefs.h"
2866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2867 { (eval echo configure:2868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2869 if test -z "$ac_err"; then
2871 eval "ac_cv_header_$ac_safe=yes"
2874 echo "configure: failed program was:" >&5
2875 cat conftest.$ac_ext >&5
2877 eval "ac_cv_header_$ac_safe=no"
2881 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2882 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2890 # Need to check and see what version of glibc is being used. If
2891 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2892 # compile most of libio for linux systems.
2893 if test x$has_libio = x"yes"; then
2896 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2897 echo "configure:2898: checking for glibc version >= 2.2" >&5
2898 cat > conftest.$ac_ext <<EOF
2899 #line 2900 "configure"
2900 #include "confdefs.h"
2902 #include <features.h>
2903 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2909 egrep "ok" >/dev/null 2>&1; then
2911 glibc_satisfactory=yes
2914 glibc_satisfactory=no
2918 echo "$ac_t""$glibc_satisfactory" 1>&6
2922 # XXX at the moment, admit defeat and force the recompilation
2923 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2924 glibc_satisfactory=no
2926 if test x$glibc_satisfactory = x"yes"; then
2931 # bkoz XXX need to add checks to enable this
2932 # pme XXX here's a first pass at such a check
2933 if test x$enable_c_mbchar != xno; then
2941 # Using libio, but <libio.h> doesn't exist on the target system. . .
2943 # bkoz XXX need to add checks to enable this
2944 # pme XXX here's a first pass at such a check
2945 if test x$enable_c_mbchar != xno; then
2952 xstdio | x | xno | xnone | xyes)
2954 CSTDIO_H=config/io/c_io_stdio.h
2955 BASIC_FILE_H=config/io/basic_file_stdio.h
2956 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2957 echo "$ac_t""stdio" 1>&6
2959 # We're not using stdio.
2964 echo "$enable_cstdio is an unknown io package" 1>&2
2972 # 2000-08-04 bkoz hack
2973 CCODECVT_C=config/io/c_io_libio_codecvt.c
2975 # 2000-08-04 bkoz hack
2979 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2980 GLIBCPP_BUILD_LIBIO_TRUE=
2981 GLIBCPP_BUILD_LIBIO_FALSE='#'
2983 GLIBCPP_BUILD_LIBIO_TRUE='#'
2984 GLIBCPP_BUILD_LIBIO_FALSE=
2988 if test "$need_libio" = yes; then
2989 GLIBCPP_NEED_LIBIO_TRUE=
2990 GLIBCPP_NEED_LIBIO_FALSE='#'
2992 GLIBCPP_NEED_LIBIO_TRUE='#'
2993 GLIBCPP_NEED_LIBIO_FALSE=
2997 if test "$need_wlibio" = yes; then
2998 GLIBCPP_NEED_WLIBIO_TRUE=
2999 GLIBCPP_NEED_WLIBIO_FALSE='#'
3001 GLIBCPP_NEED_WLIBIO_TRUE='#'
3002 GLIBCPP_NEED_WLIBIO_FALSE=
3004 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3005 libio_la=../libio/libio.la
3012 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
3013 echo "configure:3014: checking for clocale to use" >&5
3014 # Check whether --enable-clocale or --disable-clocale was given.
3015 if test "${enable_clocale+set}" = set; then
3016 enableval="$enable_clocale"
3017 if test x$enable_clocale = xno; then
3025 enable_clocale_flag=$enable_clocale
3027 if test x$enable_clocale_flag = xno; then
3028 case x${target_os} in
3030 cat > conftest.$ac_ext <<EOF
3031 #line 3032 "configure"
3032 #include "confdefs.h"
3034 #include <features.h>
3035 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3041 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3043 enable_clocale_flag=gnu
3046 enable_clocale_flag=generic
3051 # Test for bugs early in glibc-2.2.x series
3052 if test x$enable_clocale_flag = xgnu; then
3053 if test "$cross_compiling" = yes; then
3054 enable_clocale_flag=generic
3056 cat > conftest.$ac_ext <<EOF
3057 #line 3058 "configure"
3058 #include "confdefs.h"
3060 #define _GNU_SOURCE 1
3064 const char __one[] = "Äuglein Augmen";
3065 const char __two[] = "Äuglein";
3070 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3071 loc_dup = __duplocale(loc);
3072 i = __strcoll_l(__one, __two, loc);
3073 j = __strcoll_l(__one, __two, loc_dup);
3078 if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3080 enable_clocale_flag=gnu
3082 echo "configure: failed program was:" >&5
3083 cat conftest.$ac_ext >&5
3085 enable_clocale_flag=generic
3092 # ... at some point put __strxfrm_l tests in as well.
3095 enable_clocale_flag=generic
3100 # Check whether --enable-nls or --disable-nls was given.
3101 if test "${enable_nls+set}" = set; then
3102 enableval="$enable_nls"
3110 case x${enable_clocale_flag} in
3112 echo "$ac_t""generic" 1>&6
3114 CLOCALE_H=config/locale/generic/c_locale.h
3115 CLOCALE_CC=config/locale/generic/c_locale.cc
3116 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3117 CCOLLATE_CC=config/locale/generic/collate_members.cc
3118 CCTYPE_CC=config/locale/generic/ctype_members.cc
3119 CMESSAGES_H=config/locale/generic/messages_members.h
3120 CMESSAGES_CC=config/locale/generic/messages_members.cc
3121 CMONEY_CC=config/locale/generic/monetary_members.cc
3122 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3123 CTIME_CC=config/locale/generic/time_members.cc
3126 echo "$ac_t""gnu" 1>&6
3128 # Declare intention to use gettext, and add support for specific
3130 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3133 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3134 # Extract the first word of "msgfmt", so it can be a program name with args.
3135 set dummy msgfmt; ac_word=$2
3136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3137 echo "configure:3138: checking for $ac_word" >&5
3138 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3139 echo $ac_n "(cached) $ac_c" 1>&6
3141 if test -n "$check_msgfmt"; then
3142 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3146 for ac_dir in $ac_dummy; do
3147 test -z "$ac_dir" && ac_dir=.
3148 if test -f $ac_dir/$ac_word; then
3149 ac_cv_prog_check_msgfmt="yes"
3154 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3157 check_msgfmt="$ac_cv_prog_check_msgfmt"
3158 if test -n "$check_msgfmt"; then
3159 echo "$ac_t""$check_msgfmt" 1>&6
3161 echo "$ac_t""no" 1>&6
3164 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3167 # Export the build objects.
3168 for ling in $ALL_LINGUAS; do \
3169 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3170 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3175 CLOCALE_H=config/locale/gnu/c_locale.h
3176 CLOCALE_CC=config/locale/gnu/c_locale.cc
3177 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3178 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3179 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3180 CMESSAGES_H=config/locale/gnu/messages_members.h
3181 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3182 CMONEY_CC=config/locale/gnu/monetary_members.cc
3183 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3184 CTIME_CC=config/locale/gnu/time_members.cc
3187 echo "$ac_t""generic" 1>&6
3189 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3190 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3191 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3192 CCOLLATE_CC=config/locale/generic/collate_members.cc
3193 CCTYPE_CC=config/locale/generic/ctype_members.cc
3194 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3195 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3196 CMONEY_CC=config/locale/generic/monetary_members.cc
3197 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3198 CTIME_CC=config/locale/generic/time_members.cc
3201 echo "$enable_clocale is an unknown locale package" 1>&2
3206 # This is where the testsuite looks for locale catalogs, using the
3207 # -DLOCALEDIR define during testsuite compilation.
3208 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3223 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3224 if test "${enable_c_mbchar+set}" = set; then
3225 enableval="$enable_c_mbchar"
3226 case "$enableval" in
3227 yes) enable_c_mbchar=yes ;;
3228 no) enable_c_mbchar=no ;;
3229 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3236 # Check whether --enable-c99 or --disable-c99 was given.
3237 if test "${enable_c99+set}" = set; then
3238 enableval="$enable_c99"
3239 case "$enableval" in
3240 yes) enable_c99=yes ;;
3241 no) enable_c99=no ;;
3242 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3251 ac_cpp='$CXXCPP $CPPFLAGS'
3252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3254 cross_compiling=$ac_cv_prog_cxx_cross
3257 # Check for the existence of <math.h> functions used if C99 is enabled.
3259 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3260 echo "configure:3261: checking for ISO C99 support in <math.h>" >&5
3261 cat > conftest.$ac_ext <<EOF
3262 #line 3263 "configure"
3263 #include "confdefs.h"
3269 if { (eval echo configure:3270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3272 echo "configure: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3278 cat > conftest.$ac_ext <<EOF
3279 #line 3280 "configure"
3280 #include "confdefs.h"
3286 if { (eval echo configure:3287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3289 echo "configure: failed program was:" >&5
3290 cat conftest.$ac_ext >&5
3295 cat > conftest.$ac_ext <<EOF
3296 #line 3297 "configure"
3297 #include "confdefs.h"
3303 if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3306 echo "configure: failed program was:" >&5
3307 cat conftest.$ac_ext >&5
3312 cat > conftest.$ac_ext <<EOF
3313 #line 3314 "configure"
3314 #include "confdefs.h"
3320 if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3323 echo "configure: failed program was:" >&5
3324 cat conftest.$ac_ext >&5
3329 cat > conftest.$ac_ext <<EOF
3330 #line 3331 "configure"
3331 #include "confdefs.h"
3337 if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3340 echo "configure: failed program was:" >&5
3341 cat conftest.$ac_ext >&5
3346 cat > conftest.$ac_ext <<EOF
3347 #line 3348 "configure"
3348 #include "confdefs.h"
3354 if { (eval echo configure:3355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3357 echo "configure: failed program was:" >&5
3358 cat conftest.$ac_ext >&5
3363 cat > conftest.$ac_ext <<EOF
3364 #line 3365 "configure"
3365 #include "confdefs.h"
3371 if { (eval echo configure:3372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3374 echo "configure: failed program was:" >&5
3375 cat conftest.$ac_ext >&5
3380 cat > conftest.$ac_ext <<EOF
3381 #line 3382 "configure"
3382 #include "confdefs.h"
3385 isgreaterequal(0.0,0.0);
3388 if { (eval echo configure:3389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3391 echo "configure: failed program was:" >&5
3392 cat conftest.$ac_ext >&5
3397 cat > conftest.$ac_ext <<EOF
3398 #line 3399 "configure"
3399 #include "confdefs.h"
3405 if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3408 echo "configure: failed program was:" >&5
3409 cat conftest.$ac_ext >&5
3414 cat > conftest.$ac_ext <<EOF
3415 #line 3416 "configure"
3416 #include "confdefs.h"
3419 islessequal(0.0,0.0);
3422 if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3425 echo "configure: failed program was:" >&5
3426 cat conftest.$ac_ext >&5
3431 cat > conftest.$ac_ext <<EOF
3432 #line 3433 "configure"
3433 #include "confdefs.h"
3436 islessgreater(0.0,0.0);
3439 if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3442 echo "configure: failed program was:" >&5
3443 cat conftest.$ac_ext >&5
3448 cat > conftest.$ac_ext <<EOF
3449 #line 3450 "configure"
3450 #include "confdefs.h"
3453 isunordered(0.0,0.0);
3456 if { (eval echo configure:3457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3459 echo "configure: failed program was:" >&5
3460 cat conftest.$ac_ext >&5
3465 echo "$ac_t""$ac_c99_math" 1>&6
3467 # Check for the existence in <stdio.h> of vscanf, et. al.
3469 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3470 echo "configure:3471: checking for ISO C99 support in <stdio.h>" >&5
3471 cat > conftest.$ac_ext <<EOF
3472 #line 3473 "configure"
3473 #include "confdefs.h"
3476 snprintf("12", 0, "%i");
3479 if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3482 echo "configure: failed program was:" >&5
3483 cat conftest.$ac_ext >&5
3488 cat > conftest.$ac_ext <<EOF
3489 #line 3490 "configure"
3490 #include "confdefs.h"
3493 void foo(char* fmt, ...)
3494 {va_list args; va_start(args, fmt);
3495 vfscanf(stderr, "%i", args);}
3500 if { (eval echo configure:3501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 echo "configure: failed program was:" >&5
3504 cat conftest.$ac_ext >&5
3509 cat > conftest.$ac_ext <<EOF
3510 #line 3511 "configure"
3511 #include "confdefs.h"
3514 void foo(char* fmt, ...)
3515 {va_list args; va_start(args, fmt);
3516 vscanf("%i", args);}
3521 if { (eval echo configure:3522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3524 echo "configure: failed program was:" >&5
3525 cat conftest.$ac_ext >&5
3530 cat > conftest.$ac_ext <<EOF
3531 #line 3532 "configure"
3532 #include "confdefs.h"
3535 void foo(char* fmt, ...)
3536 {va_list args; va_start(args, fmt);
3537 vsnprintf(fmt, 0, "%i", args);}
3542 if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3545 echo "configure: failed program was:" >&5
3546 cat conftest.$ac_ext >&5
3551 cat > conftest.$ac_ext <<EOF
3552 #line 3553 "configure"
3553 #include "confdefs.h"
3556 void foo(char* fmt, ...)
3557 {va_list args; va_start(args, fmt);
3558 vsscanf(fmt, "%i", args);}
3563 if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3566 echo "configure: failed program was:" >&5
3567 cat conftest.$ac_ext >&5
3572 echo "$ac_t""$ac_c99_stdio" 1>&6
3574 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3576 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3577 echo "configure:3578: checking for lldiv_t declaration" >&5
3578 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3579 echo $ac_n "(cached) $ac_c" 1>&6
3582 cat > conftest.$ac_ext <<EOF
3583 #line 3584 "configure"
3584 #include "confdefs.h"
3590 if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3594 echo "configure: failed program was:" >&5
3595 cat conftest.$ac_ext >&5
3603 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3605 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3606 echo "configure:3607: checking for ISO C99 support in <stdlib.h>" >&5
3607 cat > conftest.$ac_ext <<EOF
3608 #line 3609 "configure"
3609 #include "confdefs.h"
3612 char* tmp; strtof("gnu", &tmp);
3615 if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3618 echo "configure: failed program was:" >&5
3619 cat conftest.$ac_ext >&5
3624 cat > conftest.$ac_ext <<EOF
3625 #line 3626 "configure"
3626 #include "confdefs.h"
3629 char* tmp; strtold("gnu", &tmp);
3632 if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3635 echo "configure: failed program was:" >&5
3636 cat conftest.$ac_ext >&5
3641 cat > conftest.$ac_ext <<EOF
3642 #line 3643 "configure"
3643 #include "confdefs.h"
3649 if { (eval echo configure:3650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3652 echo "configure: failed program was:" >&5
3653 cat conftest.$ac_ext >&5
3658 cat > conftest.$ac_ext <<EOF
3659 #line 3660 "configure"
3660 #include "confdefs.h"
3666 if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3669 echo "configure: failed program was:" >&5
3670 cat conftest.$ac_ext >&5
3675 cat > conftest.$ac_ext <<EOF
3676 #line 3677 "configure"
3677 #include "confdefs.h"
3683 if { (eval echo configure:3684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3686 echo "configure: failed program was:" >&5
3687 cat conftest.$ac_ext >&5
3692 cat > conftest.$ac_ext <<EOF
3693 #line 3694 "configure"
3694 #include "confdefs.h"
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure: failed program was:" >&5
3704 cat conftest.$ac_ext >&5
3709 if test x"$ac_c99_lldiv_t" = x"no"; then
3712 echo "$ac_t""$ac_c99_stdlib" 1>&6
3714 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3715 # XXX the wchar.h checks should be rolled into the general C99 bits.
3717 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3718 echo "configure:3719: checking for additional ISO C99 support in <wchar.h>" >&5
3719 cat > conftest.$ac_ext <<EOF
3720 #line 3721 "configure"
3721 #include "confdefs.h"
3724 wcstold(L"10.0", NULL);
3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3730 echo "configure: failed program was:" >&5
3731 cat conftest.$ac_ext >&5
3736 cat > conftest.$ac_ext <<EOF
3737 #line 3738 "configure"
3738 #include "confdefs.h"
3741 wcstoll(L"10", NULL, 10);
3744 if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3747 echo "configure: failed program was:" >&5
3748 cat conftest.$ac_ext >&5
3753 cat > conftest.$ac_ext <<EOF
3754 #line 3755 "configure"
3755 #include "confdefs.h"
3758 wcstoull(L"10", NULL, 10);
3761 if { (eval echo configure:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3764 echo "configure: failed program was:" >&5
3765 cat conftest.$ac_ext >&5
3770 echo "$ac_t""$ac_c99_wchar" 1>&6
3772 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3773 echo "configure:3774: checking for enabled ISO C99 support" >&5
3774 if test x"$ac_c99_math" = x"no" ||
3775 test x"$ac_c99_stdio" = x"no" ||
3776 test x"$ac_c99_stdlib" = x"no" ||
3777 test x"$ac_c99_wchar" = x"no"; then
3780 echo "$ac_t""$enable_c99" 1>&6
3782 # Option parsed, now set things appropriately
3783 if test x"$enable_c99" = x"yes"; then
3784 cat >> confdefs.h <<\EOF
3785 #define _GLIBCPP_USE_C99 1
3791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3792 ac_cpp='$CPP $CPPFLAGS'
3793 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3794 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3795 cross_compiling=$ac_cv_prog_cc_cross
3799 # Check whether --enable-long-long or --disable-long-long was given.
3800 if test "${enable_long_long+set}" = set; then
3801 enableval="$enable_long_long"
3802 case "$enableval" in
3803 yes) enable_long_long=yes ;;
3804 no) enable_long_long=no ;;
3805 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3808 enable_long_long=yes
3813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3814 ac_cpp='$CXXCPP $CPPFLAGS'
3815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3817 cross_compiling=$ac_cv_prog_cxx_cross
3820 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3821 echo "configure:3822: checking for enabled long long I/O support" >&5
3822 # iostreams require strtoll, strtoull to compile
3823 cat > conftest.$ac_ext <<EOF
3824 #line 3825 "configure"
3825 #include "confdefs.h"
3828 char* tmp; strtoll("gnu", &tmp, 10);
3831 if { (eval echo configure:3832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3834 echo "configure: failed program was:" >&5
3835 cat conftest.$ac_ext >&5
3840 cat > conftest.$ac_ext <<EOF
3841 #line 3842 "configure"
3842 #include "confdefs.h"
3845 char* tmp; strtoull("gnu", &tmp, 10);
3848 if { (eval echo configure:3849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3851 echo "configure: failed program was:" >&5
3852 cat conftest.$ac_ext >&5
3858 # Option parsed, now set things appropriately
3859 if test x"$enable_long_long" = xyes; then
3860 cat >> confdefs.h <<\EOF
3861 #define _GLIBCPP_USE_LONG_LONG 1
3865 echo "$ac_t""$enable_long_long" 1>&6
3868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3869 ac_cpp='$CPP $CPPFLAGS'
3870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3872 cross_compiling=$ac_cv_prog_cc_cross
3875 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3876 echo "configure:3877: checking for c header strategy to use" >&5
3877 # Check whether --enable-cheaders or --disable-cheaders was given.
3878 if test "${enable_cheaders+set}" = set; then
3879 enableval="$enable_cheaders"
3881 case "$enableval" in
3886 enable_cheaders=c_std
3889 enable_cheaders=c_shadow
3891 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3895 enable_cheaders=c_std
3898 echo "$ac_t""$enable_cheaders" 1>&6
3900 case "$enable_cheaders" in
3902 CSHADOW_FLAGS="-fno-builtin"
3903 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3907 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3911 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3919 if test "$enable_cheaders" = c; then
3920 GLIBCPP_C_HEADERS_C_TRUE=
3921 GLIBCPP_C_HEADERS_C_FALSE='#'
3923 GLIBCPP_C_HEADERS_C_TRUE='#'
3924 GLIBCPP_C_HEADERS_C_FALSE=
3928 if test "$enable_cheaders" = c_std; then
3929 GLIBCPP_C_HEADERS_C_STD_TRUE=
3930 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3932 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3933 GLIBCPP_C_HEADERS_C_STD_FALSE=
3937 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3938 echo "configure:3939: checking for thread model used by GCC" >&5
3939 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3940 echo "$ac_t""$target_thread_file" 1>&6
3942 if test $target_thread_file != single; then
3943 cat >> confdefs.h <<\EOF
3944 #define HAVE_GTHR_DEFAULT 1
3947 cat >> confdefs.h <<\EOF
3948 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3953 glibcpp_thread_h=gthr-$target_thread_file.h
3956 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3957 if test "${enable_cxx_flags+set}" = set; then
3958 enableval="$enable_cxx_flags"
3959 case "x$enableval" in
3961 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3963 enable_cxx_flags='' ;;
3965 enable_cxx_flags="$enableval" ;;
3968 enable_cxx_flags='none'
3972 if test "$enable_cxx_flags" = "none"; then
3973 enable_cxx_flags='';
3976 if test -n "$enable_cxx_flags"; then
3977 for f in $enable_cxx_flags; do
3981 *) # and we're trying to pass /what/ exactly?
3982 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3986 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3990 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3991 echo "configure:3992: checking for exception model to use" >&5
3994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3995 ac_cpp='$CXXCPP $CPPFLAGS'
3996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3998 cross_compiling=$ac_cv_prog_cxx_cross
4000 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4001 if test "${enable_sjlj_exceptions+set}" = set; then
4002 enableval="$enable_sjlj_exceptions"
4005 cat > conftest.$ac_ext << EOF
4006 #line 4007 "configure"
4015 old_CXXFLAGS="$CXXFLAGS"
4017 if { (eval echo configure:4018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4018 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4019 enable_sjlj_exceptions=yes
4020 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4021 enable_sjlj_exceptions=no
4024 CXXFLAGS="$old_CXXFLAGS"
4028 if test x$enable_sjlj_exceptions = xyes; then
4029 cat >> confdefs.h <<\EOF
4030 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4033 ac_exception_model_name=sjlj
4034 elif test x$enable_sjlj_exceptions = xno; then
4035 ac_exception_model_name="call frame"
4037 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4041 ac_cpp='$CPP $CPPFLAGS'
4042 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4043 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4044 cross_compiling=$ac_cv_prog_cc_cross
4046 echo "$ac_t""$ac_exception_model_name" 1>&6
4049 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4050 echo "configure:4051: checking for use of libunwind" >&5
4051 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4052 if test "${enable_libunwind_exceptions+set}" = set; then
4053 enableval="$enable_libunwind_exceptions"
4054 use_libunwind_exceptions=$enableval
4056 use_libunwind_exceptions=no
4059 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4060 if test x"$use_libunwind_exceptions" = xyes; then
4061 LIBUNWIND_FLAG="-lunwind"
4067 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4068 if test "${enable_concept_checks+set}" = set; then
4069 enableval="$enable_concept_checks"
4070 case "$enableval" in
4071 yes) enable_concept_checks=yes ;;
4072 no) enable_concept_checks=no ;;
4073 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4076 enable_concept_checks=no
4078 if test x"$enable_concept_checks" = xyes; then
4079 cat >> confdefs.h <<\EOF
4080 #define _GLIBCPP_CONCEPT_CHECKS 1
4086 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4087 for ac_hdr in string.h stdlib.h
4089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4091 echo "configure:4092: checking for $ac_hdr" >&5
4092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4093 echo $ac_n "(cached) $ac_c" 1>&6
4095 cat > conftest.$ac_ext <<EOF
4096 #line 4097 "configure"
4097 #include "confdefs.h"
4100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4101 { (eval echo configure:4102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4103 if test -z "$ac_err"; then
4105 eval "ac_cv_header_$ac_safe=yes"
4108 echo "configure: failed program was:" >&5
4109 cat conftest.$ac_ext >&5
4111 eval "ac_cv_header_$ac_safe=no"
4115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4116 echo "$ac_t""yes" 1>&6
4117 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4118 cat >> confdefs.h <<EOF
4119 #define $ac_tr_hdr 1
4123 echo "$ac_t""no" 1>&6
4128 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4130 # We are being configured with some form of cross compiler.
4131 GLIBCPP_IS_CROSS_COMPILING=1
4133 # This lets us hard-code the functionality we know we'll have in the cross
4134 # target environment. "Let" is a sugar-coated word placed on an especially
4135 # dull and tedious hack, actually.
4137 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4138 # that involve linking, can't be used:
4139 # "cannot open sim-crt0.o"
4140 # "cannot open crt0.o"
4141 # etc. All this is because there currently exists no unified, consistent
4142 # way for top level CC information to be passed down to target directories:
4143 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4144 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4145 # crosses can be removed.
4147 # If Canadian cross, then don't pick up tools from the build directory.
4148 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4149 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4155 # Construct crosses by hand, eliminating bits that need ld...
4156 # GLIBCPP_CHECK_COMPILER_FEATURES
4157 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4158 # GLIBCPP_CHECK_MATH_SUPPORT
4160 case "$target_alias" in
4162 os_include_dir="os/gnu-linux"
4163 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4164 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4165 fp.h locale.h float.h inttypes.h
4167 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4168 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4169 echo "configure:4170: checking for $ac_hdr" >&5
4170 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4171 echo $ac_n "(cached) $ac_c" 1>&6
4173 cat > conftest.$ac_ext <<EOF
4174 #line 4175 "configure"
4175 #include "confdefs.h"
4178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4179 { (eval echo configure:4180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4181 if test -z "$ac_err"; then
4183 eval "ac_cv_header_$ac_safe=yes"
4186 echo "configure: failed program was:" >&5
4187 cat conftest.$ac_ext >&5
4189 eval "ac_cv_header_$ac_safe=no"
4193 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4194 echo "$ac_t""yes" 1>&6
4195 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4196 cat >> confdefs.h <<EOF
4197 #define $ac_tr_hdr 1
4201 echo "$ac_t""no" 1>&6
4205 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4208 # If we're not using GNU ld, then there's no point in even trying these
4209 # tests. Check for that first. We should have already tested for gld
4210 # by now (in libtool), but require it now just to be safe...
4211 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4212 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4215 # The name set by libtool depends on the version of libtool. Shame on us
4216 # for depending on an impl detail, but c'est la vie. Older versions used
4217 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4218 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4219 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4220 # set (hence we're using an older libtool), then set it.
4221 if test x${with_gnu_ld+set} != xset; then
4222 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4223 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4226 with_gnu_ld=$ac_cv_prog_gnu_ld
4230 # Start by getting the version number. I think the libtool test already
4231 # does some of this, but throws away the result.
4233 ldver=`$LD --version 2>/dev/null | head -1 | \
4234 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4236 glibcpp_gnu_ld_version=`echo $ldver | \
4237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4239 # Set --gc-sections.
4240 if test "$with_gnu_ld" = "notbroken"; then
4241 # GNU ld it is! Joy and bunny rabbits!
4243 # All these tests are for C++; save the language and the compiler flags.
4244 # Need to do this so that g++ won't try to link in libstdc++
4245 ac_test_CFLAGS="${CFLAGS+set}"
4246 ac_save_CFLAGS="$CFLAGS"
4247 CFLAGS='-x c++ -Wl,--gc-sections'
4249 # Check for -Wl,--gc-sections
4250 # XXX This test is broken at the moment, as symbols required for
4251 # linking are now in libsupc++ (not built yet.....). In addition,
4252 # this test has cored on solaris in the past. In addition,
4253 # --gc-sections doesn't really work at the moment (keeps on discarding
4254 # used sections, first .eh_frame and now some of the glibc sections for
4255 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4256 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4257 echo "configure:4258: checking for ld that supports -Wl,--gc-sections" >&5
4258 if test "$cross_compiling" = yes; then
4259 ac_sectionLDflags=yes
4261 cat > conftest.$ac_ext <<EOF
4262 #line 4263 "configure"
4263 #include "confdefs.h"
4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4275 ac_sectionLDflags=yes
4277 echo "configure: failed program was:" >&5
4278 cat conftest.$ac_ext >&5
4280 ac_sectionLDflags=no
4285 if test "$ac_test_CFLAGS" = set; then
4286 CFLAGS="$ac_save_CFLAGS"
4288 # this is the suspicious part
4291 if test "$ac_sectionLDflags" = "yes"; then
4292 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4294 echo "$ac_t""$ac_sectionLDflags" 1>&6
4297 # Set linker optimization flags.
4298 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4299 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4306 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4307 echo "configure:4308: checking for main in -lm" >&5
4308 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4309 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4310 echo $ac_n "(cached) $ac_c" 1>&6
4312 ac_save_LIBS="$LIBS"
4314 cat > conftest.$ac_ext <<EOF
4315 #line 4316 "configure"
4316 #include "confdefs.h"
4322 if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4324 eval "ac_cv_lib_$ac_lib_var=yes"
4326 echo "configure: failed program was:" >&5
4327 cat conftest.$ac_ext >&5
4329 eval "ac_cv_lib_$ac_lib_var=no"
4332 LIBS="$ac_save_LIBS"
4335 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4336 echo "$ac_t""yes" 1>&6
4337 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4338 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4339 cat >> confdefs.h <<EOF
4340 #define $ac_tr_lib 1
4346 echo "$ac_t""no" 1>&6
4349 for ac_func in nan copysignf
4351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4352 echo "configure:4353: checking for $ac_func" >&5
4353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4354 echo $ac_n "(cached) $ac_c" 1>&6
4356 cat > conftest.$ac_ext <<EOF
4357 #line 4358 "configure"
4358 #include "confdefs.h"
4359 /* System header to define __stub macros and hopefully few prototypes,
4360 which can conflict with char $ac_func(); below. */
4362 /* Override any gcc2 internal prototype to avoid an error. */
4363 /* We use char because int might match the return type of a gcc2
4364 builtin and then its argument prototype would still apply. */
4369 /* The GNU C library defines this for functions which it implements
4370 to always fail with ENOSYS. Some functions are actually named
4371 something starting with __ and the normal name is an alias. */
4372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4380 if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4382 eval "ac_cv_func_$ac_func=yes"
4384 echo "configure: failed program was:" >&5
4385 cat conftest.$ac_ext >&5
4387 eval "ac_cv_func_$ac_func=no"
4392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4393 echo "$ac_t""yes" 1>&6
4394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4395 cat >> confdefs.h <<EOF
4396 #define $ac_tr_func 1
4400 echo "$ac_t""no" 1>&6
4401 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4406 for ac_func in __signbit
4408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4409 echo "configure:4410: checking for $ac_func" >&5
4410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4411 echo $ac_n "(cached) $ac_c" 1>&6
4413 cat > conftest.$ac_ext <<EOF
4414 #line 4415 "configure"
4415 #include "confdefs.h"
4416 /* System header to define __stub macros and hopefully few prototypes,
4417 which can conflict with char $ac_func(); below. */
4419 /* Override any gcc2 internal prototype to avoid an error. */
4420 /* We use char because int might match the return type of a gcc2
4421 builtin and then its argument prototype would still apply. */
4426 /* The GNU C library defines this for functions which it implements
4427 to always fail with ENOSYS. Some functions are actually named
4428 something starting with __ and the normal name is an alias. */
4429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4439 eval "ac_cv_func_$ac_func=yes"
4441 echo "configure: failed program was:" >&5
4442 cat conftest.$ac_ext >&5
4444 eval "ac_cv_func_$ac_func=no"
4449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4450 echo "$ac_t""yes" 1>&6
4451 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4452 cat >> confdefs.h <<EOF
4453 #define $ac_tr_func 1
4457 echo "$ac_t""no" 1>&6
4458 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4462 for ac_func in __signbitf
4464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4465 echo "configure:4466: checking for $ac_func" >&5
4466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4467 echo $ac_n "(cached) $ac_c" 1>&6
4469 cat > conftest.$ac_ext <<EOF
4470 #line 4471 "configure"
4471 #include "confdefs.h"
4472 /* System header to define __stub macros and hopefully few prototypes,
4473 which can conflict with char $ac_func(); below. */
4475 /* Override any gcc2 internal prototype to avoid an error. */
4476 /* We use char because int might match the return type of a gcc2
4477 builtin and then its argument prototype would still apply. */
4482 /* The GNU C library defines this for functions which it implements
4483 to always fail with ENOSYS. Some functions are actually named
4484 something starting with __ and the normal name is an alias. */
4485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4493 if { (eval echo configure:4494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4495 eval "ac_cv_func_$ac_func=yes"
4497 echo "configure: failed program was:" >&5
4498 cat conftest.$ac_ext >&5
4500 eval "ac_cv_func_$ac_func=no"
4505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4506 echo "$ac_t""yes" 1>&6
4507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4508 cat >> confdefs.h <<EOF
4509 #define $ac_tr_func 1
4513 echo "$ac_t""no" 1>&6
4514 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4519 if test x$ac_cv_func_copysignl = x"yes"; then
4520 for ac_func in __signbitl
4522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4523 echo "configure:4524: checking for $ac_func" >&5
4524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4525 echo $ac_n "(cached) $ac_c" 1>&6
4527 cat > conftest.$ac_ext <<EOF
4528 #line 4529 "configure"
4529 #include "confdefs.h"
4530 /* System header to define __stub macros and hopefully few prototypes,
4531 which can conflict with char $ac_func(); below. */
4533 /* Override any gcc2 internal prototype to avoid an error. */
4534 /* We use char because int might match the return type of a gcc2
4535 builtin and then its argument prototype would still apply. */
4540 /* The GNU C library defines this for functions which it implements
4541 to always fail with ENOSYS. Some functions are actually named
4542 something starting with __ and the normal name is an alias. */
4543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4551 if { (eval echo configure:4552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4553 eval "ac_cv_func_$ac_func=yes"
4555 echo "configure: failed program was:" >&5
4556 cat conftest.$ac_ext >&5
4558 eval "ac_cv_func_$ac_func=no"
4563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4564 echo "$ac_t""yes" 1>&6
4565 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4566 cat >> confdefs.h <<EOF
4567 #define $ac_tr_func 1
4571 echo "$ac_t""no" 1>&6
4572 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4582 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4583 echo "configure:4584: checking for mbstate_t" >&5
4584 cat > conftest.$ac_ext <<EOF
4585 #line 4586 "configure"
4586 #include "confdefs.h"
4589 mbstate_t teststate;
4592 if { (eval echo configure:4593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4596 echo "configure: failed program was:" >&5
4597 cat conftest.$ac_ext >&5
4602 echo "$ac_t""$have_mbstate_t" 1>&6
4603 if test x"$have_mbstate_t" = xyes; then
4604 cat >> confdefs.h <<\EOF
4605 #define HAVE_MBSTATE_T 1
4610 for ac_hdr in wchar.h
4612 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4613 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4614 echo "configure:4615: checking for $ac_hdr" >&5
4615 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4616 echo $ac_n "(cached) $ac_c" 1>&6
4618 cat > conftest.$ac_ext <<EOF
4619 #line 4620 "configure"
4620 #include "confdefs.h"
4623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4624 { (eval echo configure:4625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4626 if test -z "$ac_err"; then
4628 eval "ac_cv_header_$ac_safe=yes"
4631 echo "configure: failed program was:" >&5
4632 cat conftest.$ac_ext >&5
4634 eval "ac_cv_header_$ac_safe=no"
4638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4639 echo "$ac_t""yes" 1>&6
4640 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4641 cat >> confdefs.h <<EOF
4642 #define $ac_tr_hdr 1
4646 echo "$ac_t""no" 1>&6
4651 for ac_hdr in wctype.h
4653 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4654 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4655 echo "configure:4656: checking for $ac_hdr" >&5
4656 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4657 echo $ac_n "(cached) $ac_c" 1>&6
4659 cat > conftest.$ac_ext <<EOF
4660 #line 4661 "configure"
4661 #include "confdefs.h"
4664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4665 { (eval echo configure:4666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4667 if test -z "$ac_err"; then
4669 eval "ac_cv_header_$ac_safe=yes"
4672 echo "configure: failed program was:" >&5
4673 cat conftest.$ac_ext >&5
4675 eval "ac_cv_header_$ac_safe=no"
4679 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4680 echo "$ac_t""yes" 1>&6
4681 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4682 cat >> confdefs.h <<EOF
4683 #define $ac_tr_hdr 1
4687 echo "$ac_t""no" 1>&6
4693 if test x"$ac_has_wchar_h" = xyes &&
4694 test x"$ac_has_wctype_h" = xyes &&
4695 test x"$enable_c_mbchar" != xno; then
4697 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4698 echo "configure:4699: checking for WCHAR_MIN and WCHAR_MAX" >&5
4699 cat > conftest.$ac_ext <<EOF
4700 #line 4701 "configure"
4701 #include "confdefs.h"
4704 int i = WCHAR_MIN; int j = WCHAR_MAX;
4707 if { (eval echo configure:4708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4709 has_wchar_minmax=yes
4711 echo "configure: failed program was:" >&5
4712 cat conftest.$ac_ext >&5
4717 echo "$ac_t""$has_wchar_minmax" 1>&6
4719 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4720 echo "configure:4721: checking for WEOF" >&5
4721 cat > conftest.$ac_ext <<EOF
4722 #line 4723 "configure"
4723 #include "confdefs.h"
4731 if { (eval echo configure:4732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4735 echo "configure: failed program was:" >&5
4736 cat conftest.$ac_ext >&5
4741 echo "$ac_t""$has_weof" 1>&6
4744 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4747 echo "configure:4748: checking for $ac_func" >&5
4748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4749 echo $ac_n "(cached) $ac_c" 1>&6
4751 cat > conftest.$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4754 /* System header to define __stub macros and hopefully few prototypes,
4755 which can conflict with char $ac_func(); below. */
4757 /* Override any gcc2 internal prototype to avoid an error. */
4758 /* We use char because int might match the return type of a gcc2
4759 builtin and then its argument prototype would still apply. */
4764 /* The GNU C library defines this for functions which it implements
4765 to always fail with ENOSYS. Some functions are actually named
4766 something starting with __ and the normal name is an alias. */
4767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4777 eval "ac_cv_func_$ac_func=yes"
4779 echo "configure: failed program was:" >&5
4780 cat conftest.$ac_ext >&5
4782 eval "ac_cv_func_$ac_func=no"
4787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4788 echo "$ac_t""yes" 1>&6
4789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4790 cat >> confdefs.h <<EOF
4791 #define $ac_tr_func 1
4795 echo "$ac_t""no" 1>&6
4802 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4803 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4804 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4805 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4806 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4807 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4810 echo "configure:4811: checking for $ac_func" >&5
4811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4812 echo $ac_n "(cached) $ac_c" 1>&6
4814 cat > conftest.$ac_ext <<EOF
4815 #line 4816 "configure"
4816 #include "confdefs.h"
4817 /* System header to define __stub macros and hopefully few prototypes,
4818 which can conflict with char $ac_func(); below. */
4820 /* Override any gcc2 internal prototype to avoid an error. */
4821 /* We use char because int might match the return type of a gcc2
4822 builtin and then its argument prototype would still apply. */
4827 /* The GNU C library defines this for functions which it implements
4828 to always fail with ENOSYS. Some functions are actually named
4829 something starting with __ and the normal name is an alias. */
4830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4840 eval "ac_cv_func_$ac_func=yes"
4842 echo "configure: failed program was:" >&5
4843 cat conftest.$ac_ext >&5
4845 eval "ac_cv_func_$ac_func=no"
4850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4851 echo "$ac_t""yes" 1>&6
4852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4853 cat >> confdefs.h <<EOF
4854 #define $ac_tr_func 1
4858 echo "$ac_t""no" 1>&6
4865 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4866 echo "configure:4867: checking for ISO C99 wchar_t support" >&5
4867 if test x"$has_weof" = xyes &&
4868 test x"$has_wchar_minmax" = xyes &&
4869 test x"$ac_wfuncs" = xyes; then
4870 ac_isoC99_wchar_t=yes
4872 ac_isoC99_wchar_t=no
4874 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4876 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4877 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4878 echo "configure:4879: checking for iconv.h" >&5
4879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4880 echo $ac_n "(cached) $ac_c" 1>&6
4882 cat > conftest.$ac_ext <<EOF
4883 #line 4884 "configure"
4884 #include "confdefs.h"
4887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4888 { (eval echo configure:4889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4890 if test -z "$ac_err"; then
4892 eval "ac_cv_header_$ac_safe=yes"
4895 echo "configure: failed program was:" >&5
4896 cat conftest.$ac_ext >&5
4898 eval "ac_cv_header_$ac_safe=no"
4902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4903 echo "$ac_t""yes" 1>&6
4906 echo "$ac_t""no" 1>&6
4910 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4911 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4912 echo "configure:4913: checking for langinfo.h" >&5
4913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4914 echo $ac_n "(cached) $ac_c" 1>&6
4916 cat > conftest.$ac_ext <<EOF
4917 #line 4918 "configure"
4918 #include "confdefs.h"
4919 #include <langinfo.h>
4921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4922 { (eval echo configure:4923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4924 if test -z "$ac_err"; then
4926 eval "ac_cv_header_$ac_safe=yes"
4929 echo "configure: failed program was:" >&5
4930 cat conftest.$ac_ext >&5
4932 eval "ac_cv_header_$ac_safe=no"
4936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4937 echo "$ac_t""yes" 1>&6
4938 ac_has_langinfo_h=yes
4940 echo "$ac_t""no" 1>&6
4941 ac_has_langinfo_h=no
4945 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4946 echo "configure:4947: checking for iconv in -liconv" >&5
4947 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4949 echo $ac_n "(cached) $ac_c" 1>&6
4951 ac_save_LIBS="$LIBS"
4952 LIBS="-liconv $LIBS"
4953 cat > conftest.$ac_ext <<EOF
4954 #line 4955 "configure"
4955 #include "confdefs.h"
4956 /* Override any gcc2 internal prototype to avoid an error. */
4957 /* We use char because int might match the return type of a gcc2
4958 builtin and then its argument prototype would still apply. */
4965 if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4967 eval "ac_cv_lib_$ac_lib_var=yes"
4969 echo "configure: failed program was:" >&5
4970 cat conftest.$ac_ext >&5
4972 eval "ac_cv_lib_$ac_lib_var=no"
4975 LIBS="$ac_save_LIBS"
4978 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4979 echo "$ac_t""yes" 1>&6
4982 echo "$ac_t""no" 1>&6
4985 ac_save_LIBS="$LIBS"
4986 LIBS="$LIBS $libiconv"
4988 for ac_func in iconv_open iconv_close iconv nl_langinfo
4990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4991 echo "configure:4992: checking for $ac_func" >&5
4992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4993 echo $ac_n "(cached) $ac_c" 1>&6
4995 cat > conftest.$ac_ext <<EOF
4996 #line 4997 "configure"
4997 #include "confdefs.h"
4998 /* System header to define __stub macros and hopefully few prototypes,
4999 which can conflict with char $ac_func(); below. */
5001 /* Override any gcc2 internal prototype to avoid an error. */
5002 /* We use char because int might match the return type of a gcc2
5003 builtin and then its argument prototype would still apply. */
5008 /* The GNU C library defines this for functions which it implements
5009 to always fail with ENOSYS. Some functions are actually named
5010 something starting with __ and the normal name is an alias. */
5011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5021 eval "ac_cv_func_$ac_func=yes"
5023 echo "configure: failed program was:" >&5
5024 cat conftest.$ac_ext >&5
5026 eval "ac_cv_func_$ac_func=no"
5031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5032 echo "$ac_t""yes" 1>&6
5033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5034 cat >> confdefs.h <<EOF
5035 #define $ac_tr_func 1
5040 echo "$ac_t""no" 1>&6
5046 LIBS="$ac_save_LIBS"
5048 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5049 echo "configure:5050: checking for XPG2 wchar_t support" >&5
5050 if test x"$ac_has_iconv_h" = xyes &&
5051 test x"$ac_has_langinfo_h" = xyes &&
5052 test x"$ac_XPG2funcs" = xyes; then
5057 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5059 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5060 echo "configure:5061: checking for enabled wchar_t specializations" >&5
5061 if test x"$ac_isoC99_wchar_t" = xyes &&
5062 test x"$ac_XPG2_wchar_t" = xyes; then
5063 cat >> confdefs.h <<\EOF
5064 #define _GLIBCPP_USE_WCHAR_T 1
5067 echo "$ac_t"""yes"" 1>&6
5069 echo "$ac_t"""no"" 1>&6
5072 echo "configure: warning: wchar_t support disabled." 1>&2
5075 cat >> confdefs.h <<\EOF
5076 #define HAVE_COPYSIGN 1
5079 cat >> confdefs.h <<\EOF
5080 #define HAVE_COPYSIGNF 1
5083 cat >> confdefs.h <<\EOF
5084 #define HAVE_FINITE 1
5087 cat >> confdefs.h <<\EOF
5088 #define HAVE_FINITEF 1
5091 cat >> confdefs.h <<\EOF
5092 #define HAVE_FREXPF 1
5095 cat >> confdefs.h <<\EOF
5096 #define HAVE_HYPOTF 1
5099 cat >> confdefs.h <<\EOF
5100 #define HAVE_ISINF 1
5103 cat >> confdefs.h <<\EOF
5104 #define HAVE_ISINFF 1
5107 cat >> confdefs.h <<\EOF
5108 #define HAVE_ISNAN 1
5111 cat >> confdefs.h <<\EOF
5112 #define HAVE_ISNANF 1
5115 cat >> confdefs.h <<\EOF
5116 #define HAVE_SINCOS 1
5119 cat >> confdefs.h <<\EOF
5120 #define HAVE_SINCOSF 1
5123 if test x"long_double_math_on_this_cpu" = x"yes"; then
5124 cat >> confdefs.h <<\EOF
5125 #define HAVE_FINITEL 1
5128 cat >> confdefs.h <<\EOF
5129 #define HAVE_HYPOTL 1
5132 cat >> confdefs.h <<\EOF
5133 #define HAVE_ISINFL 1
5136 cat >> confdefs.h <<\EOF
5137 #define HAVE_ISNANL 1
5143 # Check for available headers.
5144 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5145 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5146 fp.h locale.h float.h inttypes.h
5148 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5149 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5150 echo "configure:5151: checking for $ac_hdr" >&5
5151 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5152 echo $ac_n "(cached) $ac_c" 1>&6
5154 cat > conftest.$ac_ext <<EOF
5155 #line 5156 "configure"
5156 #include "confdefs.h"
5159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5160 { (eval echo configure:5161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5162 if test -z "$ac_err"; then
5164 eval "ac_cv_header_$ac_safe=yes"
5167 echo "configure: failed program was:" >&5
5168 cat conftest.$ac_ext >&5
5170 eval "ac_cv_header_$ac_safe=no"
5174 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5175 echo "$ac_t""yes" 1>&6
5176 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5177 cat >> confdefs.h <<EOF
5178 #define $ac_tr_hdr 1
5182 echo "$ac_t""no" 1>&6
5186 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5189 # If we're not using GNU ld, then there's no point in even trying these
5190 # tests. Check for that first. We should have already tested for gld
5191 # by now (in libtool), but require it now just to be safe...
5192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5196 # The name set by libtool depends on the version of libtool. Shame on us
5197 # for depending on an impl detail, but c'est la vie. Older versions used
5198 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5199 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5200 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5201 # set (hence we're using an older libtool), then set it.
5202 if test x${with_gnu_ld+set} != xset; then
5203 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5204 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5207 with_gnu_ld=$ac_cv_prog_gnu_ld
5211 # Start by getting the version number. I think the libtool test already
5212 # does some of this, but throws away the result.
5214 ldver=`$LD --version 2>/dev/null | head -1 | \
5215 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5217 glibcpp_gnu_ld_version=`echo $ldver | \
5218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5220 # Set --gc-sections.
5221 if test "$with_gnu_ld" = "notbroken"; then
5222 # GNU ld it is! Joy and bunny rabbits!
5224 # All these tests are for C++; save the language and the compiler flags.
5225 # Need to do this so that g++ won't try to link in libstdc++
5226 ac_test_CFLAGS="${CFLAGS+set}"
5227 ac_save_CFLAGS="$CFLAGS"
5228 CFLAGS='-x c++ -Wl,--gc-sections'
5230 # Check for -Wl,--gc-sections
5231 # XXX This test is broken at the moment, as symbols required for
5232 # linking are now in libsupc++ (not built yet.....). In addition,
5233 # this test has cored on solaris in the past. In addition,
5234 # --gc-sections doesn't really work at the moment (keeps on discarding
5235 # used sections, first .eh_frame and now some of the glibc sections for
5236 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5237 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5238 echo "configure:5239: checking for ld that supports -Wl,--gc-sections" >&5
5239 if test "$cross_compiling" = yes; then
5240 ac_sectionLDflags=yes
5242 cat > conftest.$ac_ext <<EOF
5243 #line 5244 "configure"
5244 #include "confdefs.h"
5254 if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5256 ac_sectionLDflags=yes
5258 echo "configure: failed program was:" >&5
5259 cat conftest.$ac_ext >&5
5261 ac_sectionLDflags=no
5266 if test "$ac_test_CFLAGS" = set; then
5267 CFLAGS="$ac_save_CFLAGS"
5269 # this is the suspicious part
5272 if test "$ac_sectionLDflags" = "yes"; then
5273 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5275 echo "$ac_t""$ac_sectionLDflags" 1>&6
5278 # Set linker optimization flags.
5279 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5280 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5287 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5288 echo "configure:5289: checking for main in -lm" >&5
5289 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5291 echo $ac_n "(cached) $ac_c" 1>&6
5293 ac_save_LIBS="$LIBS"
5295 cat > conftest.$ac_ext <<EOF
5296 #line 5297 "configure"
5297 #include "confdefs.h"
5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5305 eval "ac_cv_lib_$ac_lib_var=yes"
5307 echo "configure: failed program was:" >&5
5308 cat conftest.$ac_ext >&5
5310 eval "ac_cv_lib_$ac_lib_var=no"
5313 LIBS="$ac_save_LIBS"
5316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5317 echo "$ac_t""yes" 1>&6
5318 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5319 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5320 cat >> confdefs.h <<EOF
5321 #define $ac_tr_lib 1
5327 echo "$ac_t""no" 1>&6
5330 for ac_func in nan copysignf
5332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5333 echo "configure:5334: checking for $ac_func" >&5
5334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5335 echo $ac_n "(cached) $ac_c" 1>&6
5337 cat > conftest.$ac_ext <<EOF
5338 #line 5339 "configure"
5339 #include "confdefs.h"
5340 /* System header to define __stub macros and hopefully few prototypes,
5341 which can conflict with char $ac_func(); below. */
5343 /* Override any gcc2 internal prototype to avoid an error. */
5344 /* We use char because int might match the return type of a gcc2
5345 builtin and then its argument prototype would still apply. */
5350 /* The GNU C library defines this for functions which it implements
5351 to always fail with ENOSYS. Some functions are actually named
5352 something starting with __ and the normal name is an alias. */
5353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5361 if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5363 eval "ac_cv_func_$ac_func=yes"
5365 echo "configure: failed program was:" >&5
5366 cat conftest.$ac_ext >&5
5368 eval "ac_cv_func_$ac_func=no"
5373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5374 echo "$ac_t""yes" 1>&6
5375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5376 cat >> confdefs.h <<EOF
5377 #define $ac_tr_func 1
5381 echo "$ac_t""no" 1>&6
5382 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5387 for ac_func in __signbit
5389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5390 echo "configure:5391: checking for $ac_func" >&5
5391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5392 echo $ac_n "(cached) $ac_c" 1>&6
5394 cat > conftest.$ac_ext <<EOF
5395 #line 5396 "configure"
5396 #include "confdefs.h"
5397 /* System header to define __stub macros and hopefully few prototypes,
5398 which can conflict with char $ac_func(); below. */
5400 /* Override any gcc2 internal prototype to avoid an error. */
5401 /* We use char because int might match the return type of a gcc2
5402 builtin and then its argument prototype would still apply. */
5407 /* The GNU C library defines this for functions which it implements
5408 to always fail with ENOSYS. Some functions are actually named
5409 something starting with __ and the normal name is an alias. */
5410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5418 if { (eval echo configure:5419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5420 eval "ac_cv_func_$ac_func=yes"
5422 echo "configure: failed program was:" >&5
5423 cat conftest.$ac_ext >&5
5425 eval "ac_cv_func_$ac_func=no"
5430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5431 echo "$ac_t""yes" 1>&6
5432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5433 cat >> confdefs.h <<EOF
5434 #define $ac_tr_func 1
5438 echo "$ac_t""no" 1>&6
5439 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5443 for ac_func in __signbitf
5445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5446 echo "configure:5447: checking for $ac_func" >&5
5447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5448 echo $ac_n "(cached) $ac_c" 1>&6
5450 cat > conftest.$ac_ext <<EOF
5451 #line 5452 "configure"
5452 #include "confdefs.h"
5453 /* System header to define __stub macros and hopefully few prototypes,
5454 which can conflict with char $ac_func(); below. */
5456 /* Override any gcc2 internal prototype to avoid an error. */
5457 /* We use char because int might match the return type of a gcc2
5458 builtin and then its argument prototype would still apply. */
5463 /* The GNU C library defines this for functions which it implements
5464 to always fail with ENOSYS. Some functions are actually named
5465 something starting with __ and the normal name is an alias. */
5466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5474 if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5476 eval "ac_cv_func_$ac_func=yes"
5478 echo "configure: failed program was:" >&5
5479 cat conftest.$ac_ext >&5
5481 eval "ac_cv_func_$ac_func=no"
5486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5487 echo "$ac_t""yes" 1>&6
5488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5489 cat >> confdefs.h <<EOF
5490 #define $ac_tr_func 1
5494 echo "$ac_t""no" 1>&6
5495 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5500 if test x$ac_cv_func_copysignl = x"yes"; then
5501 for ac_func in __signbitl
5503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5504 echo "configure:5505: checking for $ac_func" >&5
5505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5506 echo $ac_n "(cached) $ac_c" 1>&6
5508 cat > conftest.$ac_ext <<EOF
5509 #line 5510 "configure"
5510 #include "confdefs.h"
5511 /* System header to define __stub macros and hopefully few prototypes,
5512 which can conflict with char $ac_func(); below. */
5514 /* Override any gcc2 internal prototype to avoid an error. */
5515 /* We use char because int might match the return type of a gcc2
5516 builtin and then its argument prototype would still apply. */
5521 /* The GNU C library defines this for functions which it implements
5522 to always fail with ENOSYS. Some functions are actually named
5523 something starting with __ and the normal name is an alias. */
5524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5532 if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5534 eval "ac_cv_func_$ac_func=yes"
5536 echo "configure: failed program was:" >&5
5537 cat conftest.$ac_ext >&5
5539 eval "ac_cv_func_$ac_func=no"
5544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5545 echo "$ac_t""yes" 1>&6
5546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5547 cat >> confdefs.h <<EOF
5548 #define $ac_tr_func 1
5552 echo "$ac_t""no" 1>&6
5553 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5563 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5564 echo "configure:5565: checking for mbstate_t" >&5
5565 cat > conftest.$ac_ext <<EOF
5566 #line 5567 "configure"
5567 #include "confdefs.h"
5570 mbstate_t teststate;
5573 if { (eval echo configure:5574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5577 echo "configure: failed program was:" >&5
5578 cat conftest.$ac_ext >&5
5583 echo "$ac_t""$have_mbstate_t" 1>&6
5584 if test x"$have_mbstate_t" = xyes; then
5585 cat >> confdefs.h <<\EOF
5586 #define HAVE_MBSTATE_T 1
5591 for ac_hdr in wchar.h
5593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5595 echo "configure:5596: checking for $ac_hdr" >&5
5596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5597 echo $ac_n "(cached) $ac_c" 1>&6
5599 cat > conftest.$ac_ext <<EOF
5600 #line 5601 "configure"
5601 #include "confdefs.h"
5604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5605 { (eval echo configure:5606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5607 if test -z "$ac_err"; then
5609 eval "ac_cv_header_$ac_safe=yes"
5612 echo "configure: failed program was:" >&5
5613 cat conftest.$ac_ext >&5
5615 eval "ac_cv_header_$ac_safe=no"
5619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5620 echo "$ac_t""yes" 1>&6
5621 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5622 cat >> confdefs.h <<EOF
5623 #define $ac_tr_hdr 1
5627 echo "$ac_t""no" 1>&6
5632 for ac_hdr in wctype.h
5634 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5636 echo "configure:5637: checking for $ac_hdr" >&5
5637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5638 echo $ac_n "(cached) $ac_c" 1>&6
5640 cat > conftest.$ac_ext <<EOF
5641 #line 5642 "configure"
5642 #include "confdefs.h"
5645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5646 { (eval echo configure:5647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5648 if test -z "$ac_err"; then
5650 eval "ac_cv_header_$ac_safe=yes"
5653 echo "configure: failed program was:" >&5
5654 cat conftest.$ac_ext >&5
5656 eval "ac_cv_header_$ac_safe=no"
5660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5661 echo "$ac_t""yes" 1>&6
5662 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5663 cat >> confdefs.h <<EOF
5664 #define $ac_tr_hdr 1
5668 echo "$ac_t""no" 1>&6
5674 if test x"$ac_has_wchar_h" = xyes &&
5675 test x"$ac_has_wctype_h" = xyes &&
5676 test x"$enable_c_mbchar" != xno; then
5678 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5679 echo "configure:5680: checking for WCHAR_MIN and WCHAR_MAX" >&5
5680 cat > conftest.$ac_ext <<EOF
5681 #line 5682 "configure"
5682 #include "confdefs.h"
5685 int i = WCHAR_MIN; int j = WCHAR_MAX;
5688 if { (eval echo configure:5689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5690 has_wchar_minmax=yes
5692 echo "configure: failed program was:" >&5
5693 cat conftest.$ac_ext >&5
5698 echo "$ac_t""$has_wchar_minmax" 1>&6
5700 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5701 echo "configure:5702: checking for WEOF" >&5
5702 cat > conftest.$ac_ext <<EOF
5703 #line 5704 "configure"
5704 #include "confdefs.h"
5712 if { (eval echo configure:5713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5716 echo "configure: failed program was:" >&5
5717 cat conftest.$ac_ext >&5
5722 echo "$ac_t""$has_weof" 1>&6
5725 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5728 echo "configure:5729: checking for $ac_func" >&5
5729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5730 echo $ac_n "(cached) $ac_c" 1>&6
5732 cat > conftest.$ac_ext <<EOF
5733 #line 5734 "configure"
5734 #include "confdefs.h"
5735 /* System header to define __stub macros and hopefully few prototypes,
5736 which can conflict with char $ac_func(); below. */
5738 /* Override any gcc2 internal prototype to avoid an error. */
5739 /* We use char because int might match the return type of a gcc2
5740 builtin and then its argument prototype would still apply. */
5745 /* The GNU C library defines this for functions which it implements
5746 to always fail with ENOSYS. Some functions are actually named
5747 something starting with __ and the normal name is an alias. */
5748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5758 eval "ac_cv_func_$ac_func=yes"
5760 echo "configure: failed program was:" >&5
5761 cat conftest.$ac_ext >&5
5763 eval "ac_cv_func_$ac_func=no"
5768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5769 echo "$ac_t""yes" 1>&6
5770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5771 cat >> confdefs.h <<EOF
5772 #define $ac_tr_func 1
5776 echo "$ac_t""no" 1>&6
5783 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5784 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5785 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5786 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5787 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5788 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5790 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5791 echo "configure:5792: checking for $ac_func" >&5
5792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5793 echo $ac_n "(cached) $ac_c" 1>&6
5795 cat > conftest.$ac_ext <<EOF
5796 #line 5797 "configure"
5797 #include "confdefs.h"
5798 /* System header to define __stub macros and hopefully few prototypes,
5799 which can conflict with char $ac_func(); below. */
5801 /* Override any gcc2 internal prototype to avoid an error. */
5802 /* We use char because int might match the return type of a gcc2
5803 builtin and then its argument prototype would still apply. */
5808 /* The GNU C library defines this for functions which it implements
5809 to always fail with ENOSYS. Some functions are actually named
5810 something starting with __ and the normal name is an alias. */
5811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5819 if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5821 eval "ac_cv_func_$ac_func=yes"
5823 echo "configure: failed program was:" >&5
5824 cat conftest.$ac_ext >&5
5826 eval "ac_cv_func_$ac_func=no"
5831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5832 echo "$ac_t""yes" 1>&6
5833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5834 cat >> confdefs.h <<EOF
5835 #define $ac_tr_func 1
5839 echo "$ac_t""no" 1>&6
5846 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5847 echo "configure:5848: checking for ISO C99 wchar_t support" >&5
5848 if test x"$has_weof" = xyes &&
5849 test x"$has_wchar_minmax" = xyes &&
5850 test x"$ac_wfuncs" = xyes; then
5851 ac_isoC99_wchar_t=yes
5853 ac_isoC99_wchar_t=no
5855 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5857 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5858 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5859 echo "configure:5860: checking for iconv.h" >&5
5860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5861 echo $ac_n "(cached) $ac_c" 1>&6
5863 cat > conftest.$ac_ext <<EOF
5864 #line 5865 "configure"
5865 #include "confdefs.h"
5868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5869 { (eval echo configure:5870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5871 if test -z "$ac_err"; then
5873 eval "ac_cv_header_$ac_safe=yes"
5876 echo "configure: failed program was:" >&5
5877 cat conftest.$ac_ext >&5
5879 eval "ac_cv_header_$ac_safe=no"
5883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5884 echo "$ac_t""yes" 1>&6
5887 echo "$ac_t""no" 1>&6
5891 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5892 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5893 echo "configure:5894: checking for langinfo.h" >&5
5894 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5895 echo $ac_n "(cached) $ac_c" 1>&6
5897 cat > conftest.$ac_ext <<EOF
5898 #line 5899 "configure"
5899 #include "confdefs.h"
5900 #include <langinfo.h>
5902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5903 { (eval echo configure:5904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5905 if test -z "$ac_err"; then
5907 eval "ac_cv_header_$ac_safe=yes"
5910 echo "configure: failed program was:" >&5
5911 cat conftest.$ac_ext >&5
5913 eval "ac_cv_header_$ac_safe=no"
5917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5918 echo "$ac_t""yes" 1>&6
5919 ac_has_langinfo_h=yes
5921 echo "$ac_t""no" 1>&6
5922 ac_has_langinfo_h=no
5926 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5927 echo "configure:5928: checking for iconv in -liconv" >&5
5928 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5929 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5930 echo $ac_n "(cached) $ac_c" 1>&6
5932 ac_save_LIBS="$LIBS"
5933 LIBS="-liconv $LIBS"
5934 cat > conftest.$ac_ext <<EOF
5935 #line 5936 "configure"
5936 #include "confdefs.h"
5937 /* Override any gcc2 internal prototype to avoid an error. */
5938 /* We use char because int might match the return type of a gcc2
5939 builtin and then its argument prototype would still apply. */
5946 if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5948 eval "ac_cv_lib_$ac_lib_var=yes"
5950 echo "configure: failed program was:" >&5
5951 cat conftest.$ac_ext >&5
5953 eval "ac_cv_lib_$ac_lib_var=no"
5956 LIBS="$ac_save_LIBS"
5959 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5960 echo "$ac_t""yes" 1>&6
5963 echo "$ac_t""no" 1>&6
5966 ac_save_LIBS="$LIBS"
5967 LIBS="$LIBS $libiconv"
5969 for ac_func in iconv_open iconv_close iconv nl_langinfo
5971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5972 echo "configure:5973: checking for $ac_func" >&5
5973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5974 echo $ac_n "(cached) $ac_c" 1>&6
5976 cat > conftest.$ac_ext <<EOF
5977 #line 5978 "configure"
5978 #include "confdefs.h"
5979 /* System header to define __stub macros and hopefully few prototypes,
5980 which can conflict with char $ac_func(); below. */
5982 /* Override any gcc2 internal prototype to avoid an error. */
5983 /* We use char because int might match the return type of a gcc2
5984 builtin and then its argument prototype would still apply. */
5989 /* The GNU C library defines this for functions which it implements
5990 to always fail with ENOSYS. Some functions are actually named
5991 something starting with __ and the normal name is an alias. */
5992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6000 if { (eval echo configure:6001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6002 eval "ac_cv_func_$ac_func=yes"
6004 echo "configure: failed program was:" >&5
6005 cat conftest.$ac_ext >&5
6007 eval "ac_cv_func_$ac_func=no"
6012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6013 echo "$ac_t""yes" 1>&6
6014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6015 cat >> confdefs.h <<EOF
6016 #define $ac_tr_func 1
6021 echo "$ac_t""no" 1>&6
6027 LIBS="$ac_save_LIBS"
6029 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6030 echo "configure:6031: checking for XPG2 wchar_t support" >&5
6031 if test x"$ac_has_iconv_h" = xyes &&
6032 test x"$ac_has_langinfo_h" = xyes &&
6033 test x"$ac_XPG2funcs" = xyes; then
6038 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6040 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6041 echo "configure:6042: checking for enabled wchar_t specializations" >&5
6042 if test x"$ac_isoC99_wchar_t" = xyes &&
6043 test x"$ac_XPG2_wchar_t" = xyes; then
6044 cat >> confdefs.h <<\EOF
6045 #define _GLIBCPP_USE_WCHAR_T 1
6048 echo "$ac_t"""yes"" 1>&6
6050 echo "$ac_t"""no"" 1>&6
6053 echo "configure: warning: wchar_t support disabled." 1>&2
6056 os_include_dir="os/hpux"
6057 cat >> confdefs.h <<\EOF
6058 #define HAVE_COPYSIGN 1
6061 cat >> confdefs.h <<\EOF
6062 #define HAVE_COPYSIGNF 1
6065 cat >> confdefs.h <<\EOF
6066 #define HAVE_FREXPF 1
6069 cat >> confdefs.h <<\EOF
6070 #define HAVE_HYPOT 1
6073 case "$target_alias" in
6075 cat >> confdefs.h <<\EOF
6076 #define HAVE_FINITE 1
6079 cat >> confdefs.h <<\EOF
6080 #define HAVE_FINITEF 1
6083 cat >> confdefs.h <<\EOF
6084 #define HAVE_ISINF 1
6087 cat >> confdefs.h <<\EOF
6088 #define HAVE_ISINFF 1
6091 cat >> confdefs.h <<\EOF
6092 #define HAVE_ISNAN 1
6095 cat >> confdefs.h <<\EOF
6096 #define HAVE_ISNANF 1
6104 # Check for available headers.
6105 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6106 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6107 fp.h locale.h float.h inttypes.h
6109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6111 echo "configure:6112: checking for $ac_hdr" >&5
6112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6113 echo $ac_n "(cached) $ac_c" 1>&6
6115 cat > conftest.$ac_ext <<EOF
6116 #line 6117 "configure"
6117 #include "confdefs.h"
6120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6121 { (eval echo configure:6122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6123 if test -z "$ac_err"; then
6125 eval "ac_cv_header_$ac_safe=yes"
6128 echo "configure: failed program was:" >&5
6129 cat conftest.$ac_ext >&5
6131 eval "ac_cv_header_$ac_safe=no"
6135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6136 echo "$ac_t""yes" 1>&6
6137 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6138 cat >> confdefs.h <<EOF
6139 #define $ac_tr_hdr 1
6143 echo "$ac_t""no" 1>&6
6147 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6150 # If we're not using GNU ld, then there's no point in even trying these
6151 # tests. Check for that first. We should have already tested for gld
6152 # by now (in libtool), but require it now just to be safe...
6153 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6154 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6157 # The name set by libtool depends on the version of libtool. Shame on us
6158 # for depending on an impl detail, but c'est la vie. Older versions used
6159 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6160 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6161 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6162 # set (hence we're using an older libtool), then set it.
6163 if test x${with_gnu_ld+set} != xset; then
6164 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6165 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6168 with_gnu_ld=$ac_cv_prog_gnu_ld
6172 # Start by getting the version number. I think the libtool test already
6173 # does some of this, but throws away the result.
6175 ldver=`$LD --version 2>/dev/null | head -1 | \
6176 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6178 glibcpp_gnu_ld_version=`echo $ldver | \
6179 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6181 # Set --gc-sections.
6182 if test "$with_gnu_ld" = "notbroken"; then
6183 # GNU ld it is! Joy and bunny rabbits!
6185 # All these tests are for C++; save the language and the compiler flags.
6186 # Need to do this so that g++ won't try to link in libstdc++
6187 ac_test_CFLAGS="${CFLAGS+set}"
6188 ac_save_CFLAGS="$CFLAGS"
6189 CFLAGS='-x c++ -Wl,--gc-sections'
6191 # Check for -Wl,--gc-sections
6192 # XXX This test is broken at the moment, as symbols required for
6193 # linking are now in libsupc++ (not built yet.....). In addition,
6194 # this test has cored on solaris in the past. In addition,
6195 # --gc-sections doesn't really work at the moment (keeps on discarding
6196 # used sections, first .eh_frame and now some of the glibc sections for
6197 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6198 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6199 echo "configure:6200: checking for ld that supports -Wl,--gc-sections" >&5
6200 if test "$cross_compiling" = yes; then
6201 ac_sectionLDflags=yes
6203 cat > conftest.$ac_ext <<EOF
6204 #line 6205 "configure"
6205 #include "confdefs.h"
6215 if { (eval echo configure:6216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6217 ac_sectionLDflags=yes
6219 echo "configure: failed program was:" >&5
6220 cat conftest.$ac_ext >&5
6222 ac_sectionLDflags=no
6227 if test "$ac_test_CFLAGS" = set; then
6228 CFLAGS="$ac_save_CFLAGS"
6230 # this is the suspicious part
6233 if test "$ac_sectionLDflags" = "yes"; then
6234 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6236 echo "$ac_t""$ac_sectionLDflags" 1>&6
6239 # Set linker optimization flags.
6240 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6241 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6248 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6249 echo "configure:6250: checking for main in -lm" >&5
6250 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6252 echo $ac_n "(cached) $ac_c" 1>&6
6254 ac_save_LIBS="$LIBS"
6256 cat > conftest.$ac_ext <<EOF
6257 #line 6258 "configure"
6258 #include "confdefs.h"
6264 if { (eval echo configure:6265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6266 eval "ac_cv_lib_$ac_lib_var=yes"
6268 echo "configure: failed program was:" >&5
6269 cat conftest.$ac_ext >&5
6271 eval "ac_cv_lib_$ac_lib_var=no"
6274 LIBS="$ac_save_LIBS"
6277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6278 echo "$ac_t""yes" 1>&6
6279 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6280 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6281 cat >> confdefs.h <<EOF
6282 #define $ac_tr_lib 1
6288 echo "$ac_t""no" 1>&6
6291 for ac_func in nan copysignf
6293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6294 echo "configure:6295: checking for $ac_func" >&5
6295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6296 echo $ac_n "(cached) $ac_c" 1>&6
6298 cat > conftest.$ac_ext <<EOF
6299 #line 6300 "configure"
6300 #include "confdefs.h"
6301 /* System header to define __stub macros and hopefully few prototypes,
6302 which can conflict with char $ac_func(); below. */
6304 /* Override any gcc2 internal prototype to avoid an error. */
6305 /* We use char because int might match the return type of a gcc2
6306 builtin and then its argument prototype would still apply. */
6311 /* The GNU C library defines this for functions which it implements
6312 to always fail with ENOSYS. Some functions are actually named
6313 something starting with __ and the normal name is an alias. */
6314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6324 eval "ac_cv_func_$ac_func=yes"
6326 echo "configure: failed program was:" >&5
6327 cat conftest.$ac_ext >&5
6329 eval "ac_cv_func_$ac_func=no"
6334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6335 echo "$ac_t""yes" 1>&6
6336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6337 cat >> confdefs.h <<EOF
6338 #define $ac_tr_func 1
6342 echo "$ac_t""no" 1>&6
6343 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6348 for ac_func in __signbit
6350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6351 echo "configure:6352: checking for $ac_func" >&5
6352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6353 echo $ac_n "(cached) $ac_c" 1>&6
6355 cat > conftest.$ac_ext <<EOF
6356 #line 6357 "configure"
6357 #include "confdefs.h"
6358 /* System header to define __stub macros and hopefully few prototypes,
6359 which can conflict with char $ac_func(); below. */
6361 /* Override any gcc2 internal prototype to avoid an error. */
6362 /* We use char because int might match the return type of a gcc2
6363 builtin and then its argument prototype would still apply. */
6368 /* The GNU C library defines this for functions which it implements
6369 to always fail with ENOSYS. Some functions are actually named
6370 something starting with __ and the normal name is an alias. */
6371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6379 if { (eval echo configure:6380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6381 eval "ac_cv_func_$ac_func=yes"
6383 echo "configure: failed program was:" >&5
6384 cat conftest.$ac_ext >&5
6386 eval "ac_cv_func_$ac_func=no"
6391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6392 echo "$ac_t""yes" 1>&6
6393 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6394 cat >> confdefs.h <<EOF
6395 #define $ac_tr_func 1
6399 echo "$ac_t""no" 1>&6
6400 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6404 for ac_func in __signbitf
6406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6407 echo "configure:6408: checking for $ac_func" >&5
6408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6409 echo $ac_n "(cached) $ac_c" 1>&6
6411 cat > conftest.$ac_ext <<EOF
6412 #line 6413 "configure"
6413 #include "confdefs.h"
6414 /* System header to define __stub macros and hopefully few prototypes,
6415 which can conflict with char $ac_func(); below. */
6417 /* Override any gcc2 internal prototype to avoid an error. */
6418 /* We use char because int might match the return type of a gcc2
6419 builtin and then its argument prototype would still apply. */
6424 /* The GNU C library defines this for functions which it implements
6425 to always fail with ENOSYS. Some functions are actually named
6426 something starting with __ and the normal name is an alias. */
6427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6435 if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6437 eval "ac_cv_func_$ac_func=yes"
6439 echo "configure: failed program was:" >&5
6440 cat conftest.$ac_ext >&5
6442 eval "ac_cv_func_$ac_func=no"
6447 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6448 echo "$ac_t""yes" 1>&6
6449 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6450 cat >> confdefs.h <<EOF
6451 #define $ac_tr_func 1
6455 echo "$ac_t""no" 1>&6
6456 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6461 if test x$ac_cv_func_copysignl = x"yes"; then
6462 for ac_func in __signbitl
6464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6465 echo "configure:6466: checking for $ac_func" >&5
6466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6467 echo $ac_n "(cached) $ac_c" 1>&6
6469 cat > conftest.$ac_ext <<EOF
6470 #line 6471 "configure"
6471 #include "confdefs.h"
6472 /* System header to define __stub macros and hopefully few prototypes,
6473 which can conflict with char $ac_func(); below. */
6475 /* Override any gcc2 internal prototype to avoid an error. */
6476 /* We use char because int might match the return type of a gcc2
6477 builtin and then its argument prototype would still apply. */
6482 /* The GNU C library defines this for functions which it implements
6483 to always fail with ENOSYS. Some functions are actually named
6484 something starting with __ and the normal name is an alias. */
6485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6493 if { (eval echo configure:6494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6495 eval "ac_cv_func_$ac_func=yes"
6497 echo "configure: failed program was:" >&5
6498 cat conftest.$ac_ext >&5
6500 eval "ac_cv_func_$ac_func=no"
6505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6506 echo "$ac_t""yes" 1>&6
6507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6508 cat >> confdefs.h <<EOF
6509 #define $ac_tr_func 1
6513 echo "$ac_t""no" 1>&6
6514 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6524 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6525 echo "configure:6526: checking for mbstate_t" >&5
6526 cat > conftest.$ac_ext <<EOF
6527 #line 6528 "configure"
6528 #include "confdefs.h"
6531 mbstate_t teststate;
6534 if { (eval echo configure:6535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6538 echo "configure: failed program was:" >&5
6539 cat conftest.$ac_ext >&5
6544 echo "$ac_t""$have_mbstate_t" 1>&6
6545 if test x"$have_mbstate_t" = xyes; then
6546 cat >> confdefs.h <<\EOF
6547 #define HAVE_MBSTATE_T 1
6552 for ac_hdr in wchar.h
6554 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6555 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6556 echo "configure:6557: checking for $ac_hdr" >&5
6557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6558 echo $ac_n "(cached) $ac_c" 1>&6
6560 cat > conftest.$ac_ext <<EOF
6561 #line 6562 "configure"
6562 #include "confdefs.h"
6565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6566 { (eval echo configure:6567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6568 if test -z "$ac_err"; then
6570 eval "ac_cv_header_$ac_safe=yes"
6573 echo "configure: failed program was:" >&5
6574 cat conftest.$ac_ext >&5
6576 eval "ac_cv_header_$ac_safe=no"
6580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6581 echo "$ac_t""yes" 1>&6
6582 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6583 cat >> confdefs.h <<EOF
6584 #define $ac_tr_hdr 1
6588 echo "$ac_t""no" 1>&6
6593 for ac_hdr in wctype.h
6595 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6597 echo "configure:6598: checking for $ac_hdr" >&5
6598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6599 echo $ac_n "(cached) $ac_c" 1>&6
6601 cat > conftest.$ac_ext <<EOF
6602 #line 6603 "configure"
6603 #include "confdefs.h"
6606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6607 { (eval echo configure:6608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6609 if test -z "$ac_err"; then
6611 eval "ac_cv_header_$ac_safe=yes"
6614 echo "configure: failed program was:" >&5
6615 cat conftest.$ac_ext >&5
6617 eval "ac_cv_header_$ac_safe=no"
6621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6622 echo "$ac_t""yes" 1>&6
6623 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6624 cat >> confdefs.h <<EOF
6625 #define $ac_tr_hdr 1
6629 echo "$ac_t""no" 1>&6
6635 if test x"$ac_has_wchar_h" = xyes &&
6636 test x"$ac_has_wctype_h" = xyes &&
6637 test x"$enable_c_mbchar" != xno; then
6639 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6640 echo "configure:6641: checking for WCHAR_MIN and WCHAR_MAX" >&5
6641 cat > conftest.$ac_ext <<EOF
6642 #line 6643 "configure"
6643 #include "confdefs.h"
6646 int i = WCHAR_MIN; int j = WCHAR_MAX;
6649 if { (eval echo configure:6650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6651 has_wchar_minmax=yes
6653 echo "configure: failed program was:" >&5
6654 cat conftest.$ac_ext >&5
6659 echo "$ac_t""$has_wchar_minmax" 1>&6
6661 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6662 echo "configure:6663: checking for WEOF" >&5
6663 cat > conftest.$ac_ext <<EOF
6664 #line 6665 "configure"
6665 #include "confdefs.h"
6673 if { (eval echo configure:6674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6677 echo "configure: failed program was:" >&5
6678 cat conftest.$ac_ext >&5
6683 echo "$ac_t""$has_weof" 1>&6
6686 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6689 echo "configure:6690: checking for $ac_func" >&5
6690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6691 echo $ac_n "(cached) $ac_c" 1>&6
6693 cat > conftest.$ac_ext <<EOF
6694 #line 6695 "configure"
6695 #include "confdefs.h"
6696 /* System header to define __stub macros and hopefully few prototypes,
6697 which can conflict with char $ac_func(); below. */
6699 /* Override any gcc2 internal prototype to avoid an error. */
6700 /* We use char because int might match the return type of a gcc2
6701 builtin and then its argument prototype would still apply. */
6706 /* The GNU C library defines this for functions which it implements
6707 to always fail with ENOSYS. Some functions are actually named
6708 something starting with __ and the normal name is an alias. */
6709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6717 if { (eval echo configure:6718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6719 eval "ac_cv_func_$ac_func=yes"
6721 echo "configure: failed program was:" >&5
6722 cat conftest.$ac_ext >&5
6724 eval "ac_cv_func_$ac_func=no"
6729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6730 echo "$ac_t""yes" 1>&6
6731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6732 cat >> confdefs.h <<EOF
6733 #define $ac_tr_func 1
6737 echo "$ac_t""no" 1>&6
6744 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6745 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6746 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6747 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6748 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6749 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6752 echo "configure:6753: checking for $ac_func" >&5
6753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6754 echo $ac_n "(cached) $ac_c" 1>&6
6756 cat > conftest.$ac_ext <<EOF
6757 #line 6758 "configure"
6758 #include "confdefs.h"
6759 /* System header to define __stub macros and hopefully few prototypes,
6760 which can conflict with char $ac_func(); below. */
6762 /* Override any gcc2 internal prototype to avoid an error. */
6763 /* We use char because int might match the return type of a gcc2
6764 builtin and then its argument prototype would still apply. */
6769 /* The GNU C library defines this for functions which it implements
6770 to always fail with ENOSYS. Some functions are actually named
6771 something starting with __ and the normal name is an alias. */
6772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6780 if { (eval echo configure:6781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6782 eval "ac_cv_func_$ac_func=yes"
6784 echo "configure: failed program was:" >&5
6785 cat conftest.$ac_ext >&5
6787 eval "ac_cv_func_$ac_func=no"
6792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6793 echo "$ac_t""yes" 1>&6
6794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6795 cat >> confdefs.h <<EOF
6796 #define $ac_tr_func 1
6800 echo "$ac_t""no" 1>&6
6807 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6808 echo "configure:6809: checking for ISO C99 wchar_t support" >&5
6809 if test x"$has_weof" = xyes &&
6810 test x"$has_wchar_minmax" = xyes &&
6811 test x"$ac_wfuncs" = xyes; then
6812 ac_isoC99_wchar_t=yes
6814 ac_isoC99_wchar_t=no
6816 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6818 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6819 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6820 echo "configure:6821: checking for iconv.h" >&5
6821 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6822 echo $ac_n "(cached) $ac_c" 1>&6
6824 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure"
6826 #include "confdefs.h"
6829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6830 { (eval echo configure:6831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6832 if test -z "$ac_err"; then
6834 eval "ac_cv_header_$ac_safe=yes"
6837 echo "configure: failed program was:" >&5
6838 cat conftest.$ac_ext >&5
6840 eval "ac_cv_header_$ac_safe=no"
6844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6845 echo "$ac_t""yes" 1>&6
6848 echo "$ac_t""no" 1>&6
6852 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6853 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6854 echo "configure:6855: checking for langinfo.h" >&5
6855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6856 echo $ac_n "(cached) $ac_c" 1>&6
6858 cat > conftest.$ac_ext <<EOF
6859 #line 6860 "configure"
6860 #include "confdefs.h"
6861 #include <langinfo.h>
6863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6864 { (eval echo configure:6865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6866 if test -z "$ac_err"; then
6868 eval "ac_cv_header_$ac_safe=yes"
6871 echo "configure: failed program was:" >&5
6872 cat conftest.$ac_ext >&5
6874 eval "ac_cv_header_$ac_safe=no"
6878 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6879 echo "$ac_t""yes" 1>&6
6880 ac_has_langinfo_h=yes
6882 echo "$ac_t""no" 1>&6
6883 ac_has_langinfo_h=no
6887 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6888 echo "configure:6889: checking for iconv in -liconv" >&5
6889 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6890 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6893 ac_save_LIBS="$LIBS"
6894 LIBS="-liconv $LIBS"
6895 cat > conftest.$ac_ext <<EOF
6896 #line 6897 "configure"
6897 #include "confdefs.h"
6898 /* Override any gcc2 internal prototype to avoid an error. */
6899 /* We use char because int might match the return type of a gcc2
6900 builtin and then its argument prototype would still apply. */
6907 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6909 eval "ac_cv_lib_$ac_lib_var=yes"
6911 echo "configure: failed program was:" >&5
6912 cat conftest.$ac_ext >&5
6914 eval "ac_cv_lib_$ac_lib_var=no"
6917 LIBS="$ac_save_LIBS"
6920 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6921 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6927 ac_save_LIBS="$LIBS"
6928 LIBS="$LIBS $libiconv"
6930 for ac_func in iconv_open iconv_close iconv nl_langinfo
6932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6933 echo "configure:6934: checking for $ac_func" >&5
6934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6935 echo $ac_n "(cached) $ac_c" 1>&6
6937 cat > conftest.$ac_ext <<EOF
6938 #line 6939 "configure"
6939 #include "confdefs.h"
6940 /* System header to define __stub macros and hopefully few prototypes,
6941 which can conflict with char $ac_func(); below. */
6943 /* Override any gcc2 internal prototype to avoid an error. */
6944 /* We use char because int might match the return type of a gcc2
6945 builtin and then its argument prototype would still apply. */
6950 /* The GNU C library defines this for functions which it implements
6951 to always fail with ENOSYS. Some functions are actually named
6952 something starting with __ and the normal name is an alias. */
6953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6961 if { (eval echo configure:6962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6963 eval "ac_cv_func_$ac_func=yes"
6965 echo "configure: failed program was:" >&5
6966 cat conftest.$ac_ext >&5
6968 eval "ac_cv_func_$ac_func=no"
6973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6974 echo "$ac_t""yes" 1>&6
6975 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6976 cat >> confdefs.h <<EOF
6977 #define $ac_tr_func 1
6982 echo "$ac_t""no" 1>&6
6988 LIBS="$ac_save_LIBS"
6990 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6991 echo "configure:6992: checking for XPG2 wchar_t support" >&5
6992 if test x"$ac_has_iconv_h" = xyes &&
6993 test x"$ac_has_langinfo_h" = xyes &&
6994 test x"$ac_XPG2funcs" = xyes; then
6999 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7001 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7002 echo "configure:7003: checking for enabled wchar_t specializations" >&5
7003 if test x"$ac_isoC99_wchar_t" = xyes &&
7004 test x"$ac_XPG2_wchar_t" = xyes; then
7005 cat >> confdefs.h <<\EOF
7006 #define _GLIBCPP_USE_WCHAR_T 1
7009 echo "$ac_t"""yes"" 1>&6
7011 echo "$ac_t"""no"" 1>&6
7014 echo "configure: warning: wchar_t support disabled." 1>&2
7017 os_include_dir="os/bsd/netbsd"
7018 cat >> confdefs.h <<\EOF
7019 #define HAVE_COPYSIGN 1
7022 cat >> confdefs.h <<\EOF
7023 #define HAVE_COPYSIGNF 1
7026 cat >> confdefs.h <<\EOF
7027 #define HAVE_FINITEF 1
7030 cat >> confdefs.h <<\EOF
7031 #define HAVE_FINITE 1
7034 cat >> confdefs.h <<\EOF
7035 #define HAVE_FREXPF 1
7038 cat >> confdefs.h <<\EOF
7039 #define HAVE_HYPOTF 1
7042 cat >> confdefs.h <<\EOF
7043 #define HAVE_ISINF 1
7046 cat >> confdefs.h <<\EOF
7047 #define HAVE_ISINFF 1
7050 cat >> confdefs.h <<\EOF
7051 #define HAVE_ISNAN 1
7054 cat >> confdefs.h <<\EOF
7055 #define HAVE_ISNANF 1
7058 if test x"long_double_math_on_this_cpu" = x"yes"; then
7059 cat >> confdefs.h <<\EOF
7060 #define HAVE_FINITEL 1
7063 cat >> confdefs.h <<\EOF
7064 #define HAVE_ISINFL 1
7067 cat >> confdefs.h <<\EOF
7068 #define HAVE_ISNANL 1
7074 for ac_hdr in sys/types.h locale.h float.h
7076 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7078 echo "configure:7079: checking for $ac_hdr" >&5
7079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7080 echo $ac_n "(cached) $ac_c" 1>&6
7082 cat > conftest.$ac_ext <<EOF
7083 #line 7084 "configure"
7084 #include "confdefs.h"
7087 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7088 { (eval echo configure:7089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7089 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7090 if test -z "$ac_err"; then
7092 eval "ac_cv_header_$ac_safe=yes"
7095 echo "configure: failed program was:" >&5
7096 cat conftest.$ac_ext >&5
7098 eval "ac_cv_header_$ac_safe=no"
7102 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7103 echo "$ac_t""yes" 1>&6
7104 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7105 cat >> confdefs.h <<EOF
7106 #define $ac_tr_hdr 1
7110 echo "$ac_t""no" 1>&6
7115 # If we're not using GNU ld, then there's no point in even trying these
7116 # tests. Check for that first. We should have already tested for gld
7117 # by now (in libtool), but require it now just to be safe...
7118 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7119 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7122 # The name set by libtool depends on the version of libtool. Shame on us
7123 # for depending on an impl detail, but c'est la vie. Older versions used
7124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7127 # set (hence we're using an older libtool), then set it.
7128 if test x${with_gnu_ld+set} != xset; then
7129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7133 with_gnu_ld=$ac_cv_prog_gnu_ld
7137 # Start by getting the version number. I think the libtool test already
7138 # does some of this, but throws away the result.
7140 ldver=`$LD --version 2>/dev/null | head -1 | \
7141 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7143 glibcpp_gnu_ld_version=`echo $ldver | \
7144 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7146 # Set --gc-sections.
7147 if test "$with_gnu_ld" = "notbroken"; then
7148 # GNU ld it is! Joy and bunny rabbits!
7150 # All these tests are for C++; save the language and the compiler flags.
7151 # Need to do this so that g++ won't try to link in libstdc++
7152 ac_test_CFLAGS="${CFLAGS+set}"
7153 ac_save_CFLAGS="$CFLAGS"
7154 CFLAGS='-x c++ -Wl,--gc-sections'
7156 # Check for -Wl,--gc-sections
7157 # XXX This test is broken at the moment, as symbols required for
7158 # linking are now in libsupc++ (not built yet.....). In addition,
7159 # this test has cored on solaris in the past. In addition,
7160 # --gc-sections doesn't really work at the moment (keeps on discarding
7161 # used sections, first .eh_frame and now some of the glibc sections for
7162 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7163 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7164 echo "configure:7165: checking for ld that supports -Wl,--gc-sections" >&5
7165 if test "$cross_compiling" = yes; then
7166 ac_sectionLDflags=yes
7168 cat > conftest.$ac_ext <<EOF
7169 #line 7170 "configure"
7170 #include "confdefs.h"
7180 if { (eval echo configure:7181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7182 ac_sectionLDflags=yes
7184 echo "configure: failed program was:" >&5
7185 cat conftest.$ac_ext >&5
7187 ac_sectionLDflags=no
7192 if test "$ac_test_CFLAGS" = set; then
7193 CFLAGS="$ac_save_CFLAGS"
7195 # this is the suspicious part
7198 if test "$ac_sectionLDflags" = "yes"; then
7199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7201 echo "$ac_t""$ac_sectionLDflags" 1>&6
7204 # Set linker optimization flags.
7205 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7206 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7213 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7214 echo "configure:7215: checking for main in -lm" >&5
7215 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7217 echo $ac_n "(cached) $ac_c" 1>&6
7219 ac_save_LIBS="$LIBS"
7221 cat > conftest.$ac_ext <<EOF
7222 #line 7223 "configure"
7223 #include "confdefs.h"
7229 if { (eval echo configure:7230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7231 eval "ac_cv_lib_$ac_lib_var=yes"
7233 echo "configure: failed program was:" >&5
7234 cat conftest.$ac_ext >&5
7236 eval "ac_cv_lib_$ac_lib_var=no"
7239 LIBS="$ac_save_LIBS"
7242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7243 echo "$ac_t""yes" 1>&6
7244 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7245 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7246 cat >> confdefs.h <<EOF
7247 #define $ac_tr_lib 1
7253 echo "$ac_t""no" 1>&6
7256 for ac_func in nan copysignf
7258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7259 echo "configure:7260: checking for $ac_func" >&5
7260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7261 echo $ac_n "(cached) $ac_c" 1>&6
7263 cat > conftest.$ac_ext <<EOF
7264 #line 7265 "configure"
7265 #include "confdefs.h"
7266 /* System header to define __stub macros and hopefully few prototypes,
7267 which can conflict with char $ac_func(); below. */
7269 /* Override any gcc2 internal prototype to avoid an error. */
7270 /* We use char because int might match the return type of a gcc2
7271 builtin and then its argument prototype would still apply. */
7276 /* The GNU C library defines this for functions which it implements
7277 to always fail with ENOSYS. Some functions are actually named
7278 something starting with __ and the normal name is an alias. */
7279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7287 if { (eval echo configure:7288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7289 eval "ac_cv_func_$ac_func=yes"
7291 echo "configure: failed program was:" >&5
7292 cat conftest.$ac_ext >&5
7294 eval "ac_cv_func_$ac_func=no"
7299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7300 echo "$ac_t""yes" 1>&6
7301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7302 cat >> confdefs.h <<EOF
7303 #define $ac_tr_func 1
7307 echo "$ac_t""no" 1>&6
7308 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7313 for ac_func in __signbit
7315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7316 echo "configure:7317: checking for $ac_func" >&5
7317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7318 echo $ac_n "(cached) $ac_c" 1>&6
7320 cat > conftest.$ac_ext <<EOF
7321 #line 7322 "configure"
7322 #include "confdefs.h"
7323 /* System header to define __stub macros and hopefully few prototypes,
7324 which can conflict with char $ac_func(); below. */
7326 /* Override any gcc2 internal prototype to avoid an error. */
7327 /* We use char because int might match the return type of a gcc2
7328 builtin and then its argument prototype would still apply. */
7333 /* The GNU C library defines this for functions which it implements
7334 to always fail with ENOSYS. Some functions are actually named
7335 something starting with __ and the normal name is an alias. */
7336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7344 if { (eval echo configure:7345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7346 eval "ac_cv_func_$ac_func=yes"
7348 echo "configure: failed program was:" >&5
7349 cat conftest.$ac_ext >&5
7351 eval "ac_cv_func_$ac_func=no"
7356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7357 echo "$ac_t""yes" 1>&6
7358 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7359 cat >> confdefs.h <<EOF
7360 #define $ac_tr_func 1
7364 echo "$ac_t""no" 1>&6
7365 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7369 for ac_func in __signbitf
7371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7372 echo "configure:7373: checking for $ac_func" >&5
7373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7374 echo $ac_n "(cached) $ac_c" 1>&6
7376 cat > conftest.$ac_ext <<EOF
7377 #line 7378 "configure"
7378 #include "confdefs.h"
7379 /* System header to define __stub macros and hopefully few prototypes,
7380 which can conflict with char $ac_func(); below. */
7382 /* Override any gcc2 internal prototype to avoid an error. */
7383 /* We use char because int might match the return type of a gcc2
7384 builtin and then its argument prototype would still apply. */
7389 /* The GNU C library defines this for functions which it implements
7390 to always fail with ENOSYS. Some functions are actually named
7391 something starting with __ and the normal name is an alias. */
7392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7400 if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7402 eval "ac_cv_func_$ac_func=yes"
7404 echo "configure: failed program was:" >&5
7405 cat conftest.$ac_ext >&5
7407 eval "ac_cv_func_$ac_func=no"
7412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7413 echo "$ac_t""yes" 1>&6
7414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7415 cat >> confdefs.h <<EOF
7416 #define $ac_tr_func 1
7420 echo "$ac_t""no" 1>&6
7421 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7426 if test x$ac_cv_func_copysignl = x"yes"; then
7427 for ac_func in __signbitl
7429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7430 echo "configure:7431: checking for $ac_func" >&5
7431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7432 echo $ac_n "(cached) $ac_c" 1>&6
7434 cat > conftest.$ac_ext <<EOF
7435 #line 7436 "configure"
7436 #include "confdefs.h"
7437 /* System header to define __stub macros and hopefully few prototypes,
7438 which can conflict with char $ac_func(); below. */
7440 /* Override any gcc2 internal prototype to avoid an error. */
7441 /* We use char because int might match the return type of a gcc2
7442 builtin and then its argument prototype would still apply. */
7447 /* The GNU C library defines this for functions which it implements
7448 to always fail with ENOSYS. Some functions are actually named
7449 something starting with __ and the normal name is an alias. */
7450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7460 eval "ac_cv_func_$ac_func=yes"
7462 echo "configure: failed program was:" >&5
7463 cat conftest.$ac_ext >&5
7465 eval "ac_cv_func_$ac_func=no"
7470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7471 echo "$ac_t""yes" 1>&6
7472 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7473 cat >> confdefs.h <<EOF
7474 #define $ac_tr_func 1
7478 echo "$ac_t""no" 1>&6
7479 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7489 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7490 echo "configure:7491: checking for mbstate_t" >&5
7491 cat > conftest.$ac_ext <<EOF
7492 #line 7493 "configure"
7493 #include "confdefs.h"
7496 mbstate_t teststate;
7499 if { (eval echo configure:7500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7503 echo "configure: failed program was:" >&5
7504 cat conftest.$ac_ext >&5
7509 echo "$ac_t""$have_mbstate_t" 1>&6
7510 if test x"$have_mbstate_t" = xyes; then
7511 cat >> confdefs.h <<\EOF
7512 #define HAVE_MBSTATE_T 1
7517 for ac_hdr in wchar.h
7519 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7520 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7521 echo "configure:7522: checking for $ac_hdr" >&5
7522 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7523 echo $ac_n "(cached) $ac_c" 1>&6
7525 cat > conftest.$ac_ext <<EOF
7526 #line 7527 "configure"
7527 #include "confdefs.h"
7530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7531 { (eval echo configure:7532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7533 if test -z "$ac_err"; then
7535 eval "ac_cv_header_$ac_safe=yes"
7538 echo "configure: failed program was:" >&5
7539 cat conftest.$ac_ext >&5
7541 eval "ac_cv_header_$ac_safe=no"
7545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7546 echo "$ac_t""yes" 1>&6
7547 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7548 cat >> confdefs.h <<EOF
7549 #define $ac_tr_hdr 1
7553 echo "$ac_t""no" 1>&6
7558 for ac_hdr in wctype.h
7560 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7561 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7562 echo "configure:7563: checking for $ac_hdr" >&5
7563 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7564 echo $ac_n "(cached) $ac_c" 1>&6
7566 cat > conftest.$ac_ext <<EOF
7567 #line 7568 "configure"
7568 #include "confdefs.h"
7571 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7572 { (eval echo configure:7573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7573 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7574 if test -z "$ac_err"; then
7576 eval "ac_cv_header_$ac_safe=yes"
7579 echo "configure: failed program was:" >&5
7580 cat conftest.$ac_ext >&5
7582 eval "ac_cv_header_$ac_safe=no"
7586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7587 echo "$ac_t""yes" 1>&6
7588 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7589 cat >> confdefs.h <<EOF
7590 #define $ac_tr_hdr 1
7594 echo "$ac_t""no" 1>&6
7600 if test x"$ac_has_wchar_h" = xyes &&
7601 test x"$ac_has_wctype_h" = xyes &&
7602 test x"$enable_c_mbchar" != xno; then
7604 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7605 echo "configure:7606: checking for WCHAR_MIN and WCHAR_MAX" >&5
7606 cat > conftest.$ac_ext <<EOF
7607 #line 7608 "configure"
7608 #include "confdefs.h"
7611 int i = WCHAR_MIN; int j = WCHAR_MAX;
7614 if { (eval echo configure:7615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7616 has_wchar_minmax=yes
7618 echo "configure: failed program was:" >&5
7619 cat conftest.$ac_ext >&5
7624 echo "$ac_t""$has_wchar_minmax" 1>&6
7626 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7627 echo "configure:7628: checking for WEOF" >&5
7628 cat > conftest.$ac_ext <<EOF
7629 #line 7630 "configure"
7630 #include "confdefs.h"
7638 if { (eval echo configure:7639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7642 echo "configure: failed program was:" >&5
7643 cat conftest.$ac_ext >&5
7648 echo "$ac_t""$has_weof" 1>&6
7651 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7654 echo "configure:7655: checking for $ac_func" >&5
7655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7656 echo $ac_n "(cached) $ac_c" 1>&6
7658 cat > conftest.$ac_ext <<EOF
7659 #line 7660 "configure"
7660 #include "confdefs.h"
7661 /* System header to define __stub macros and hopefully few prototypes,
7662 which can conflict with char $ac_func(); below. */
7664 /* Override any gcc2 internal prototype to avoid an error. */
7665 /* We use char because int might match the return type of a gcc2
7666 builtin and then its argument prototype would still apply. */
7671 /* The GNU C library defines this for functions which it implements
7672 to always fail with ENOSYS. Some functions are actually named
7673 something starting with __ and the normal name is an alias. */
7674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7682 if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7684 eval "ac_cv_func_$ac_func=yes"
7686 echo "configure: failed program was:" >&5
7687 cat conftest.$ac_ext >&5
7689 eval "ac_cv_func_$ac_func=no"
7694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7695 echo "$ac_t""yes" 1>&6
7696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7697 cat >> confdefs.h <<EOF
7698 #define $ac_tr_func 1
7702 echo "$ac_t""no" 1>&6
7709 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7710 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7711 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7712 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7713 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7714 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7716 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7717 echo "configure:7718: checking for $ac_func" >&5
7718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6
7721 cat > conftest.$ac_ext <<EOF
7722 #line 7723 "configure"
7723 #include "confdefs.h"
7724 /* System header to define __stub macros and hopefully few prototypes,
7725 which can conflict with char $ac_func(); below. */
7727 /* Override any gcc2 internal prototype to avoid an error. */
7728 /* We use char because int might match the return type of a gcc2
7729 builtin and then its argument prototype would still apply. */
7734 /* The GNU C library defines this for functions which it implements
7735 to always fail with ENOSYS. Some functions are actually named
7736 something starting with __ and the normal name is an alias. */
7737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7745 if { (eval echo configure:7746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7747 eval "ac_cv_func_$ac_func=yes"
7749 echo "configure: failed program was:" >&5
7750 cat conftest.$ac_ext >&5
7752 eval "ac_cv_func_$ac_func=no"
7757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7758 echo "$ac_t""yes" 1>&6
7759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7760 cat >> confdefs.h <<EOF
7761 #define $ac_tr_func 1
7765 echo "$ac_t""no" 1>&6
7772 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7773 echo "configure:7774: checking for ISO C99 wchar_t support" >&5
7774 if test x"$has_weof" = xyes &&
7775 test x"$has_wchar_minmax" = xyes &&
7776 test x"$ac_wfuncs" = xyes; then
7777 ac_isoC99_wchar_t=yes
7779 ac_isoC99_wchar_t=no
7781 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7783 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7784 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7785 echo "configure:7786: checking for iconv.h" >&5
7786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7787 echo $ac_n "(cached) $ac_c" 1>&6
7789 cat > conftest.$ac_ext <<EOF
7790 #line 7791 "configure"
7791 #include "confdefs.h"
7794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7795 { (eval echo configure:7796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7796 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7797 if test -z "$ac_err"; then
7799 eval "ac_cv_header_$ac_safe=yes"
7802 echo "configure: failed program was:" >&5
7803 cat conftest.$ac_ext >&5
7805 eval "ac_cv_header_$ac_safe=no"
7809 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7810 echo "$ac_t""yes" 1>&6
7813 echo "$ac_t""no" 1>&6
7817 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7818 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7819 echo "configure:7820: checking for langinfo.h" >&5
7820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7823 cat > conftest.$ac_ext <<EOF
7824 #line 7825 "configure"
7825 #include "confdefs.h"
7826 #include <langinfo.h>
7828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7829 { (eval echo configure:7830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7831 if test -z "$ac_err"; then
7833 eval "ac_cv_header_$ac_safe=yes"
7836 echo "configure: failed program was:" >&5
7837 cat conftest.$ac_ext >&5
7839 eval "ac_cv_header_$ac_safe=no"
7843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7844 echo "$ac_t""yes" 1>&6
7845 ac_has_langinfo_h=yes
7847 echo "$ac_t""no" 1>&6
7848 ac_has_langinfo_h=no
7852 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7853 echo "configure:7854: checking for iconv in -liconv" >&5
7854 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7856 echo $ac_n "(cached) $ac_c" 1>&6
7858 ac_save_LIBS="$LIBS"
7859 LIBS="-liconv $LIBS"
7860 cat > conftest.$ac_ext <<EOF
7861 #line 7862 "configure"
7862 #include "confdefs.h"
7863 /* Override any gcc2 internal prototype to avoid an error. */
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7874 eval "ac_cv_lib_$ac_lib_var=yes"
7876 echo "configure: failed program was:" >&5
7877 cat conftest.$ac_ext >&5
7879 eval "ac_cv_lib_$ac_lib_var=no"
7882 LIBS="$ac_save_LIBS"
7885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7886 echo "$ac_t""yes" 1>&6
7889 echo "$ac_t""no" 1>&6
7892 ac_save_LIBS="$LIBS"
7893 LIBS="$LIBS $libiconv"
7895 for ac_func in iconv_open iconv_close iconv nl_langinfo
7897 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7898 echo "configure:7899: checking for $ac_func" >&5
7899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7902 cat > conftest.$ac_ext <<EOF
7903 #line 7904 "configure"
7904 #include "confdefs.h"
7905 /* System header to define __stub macros and hopefully few prototypes,
7906 which can conflict with char $ac_func(); below. */
7908 /* Override any gcc2 internal prototype to avoid an error. */
7909 /* We use char because int might match the return type of a gcc2
7910 builtin and then its argument prototype would still apply. */
7915 /* The GNU C library defines this for functions which it implements
7916 to always fail with ENOSYS. Some functions are actually named
7917 something starting with __ and the normal name is an alias. */
7918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7926 if { (eval echo configure:7927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7928 eval "ac_cv_func_$ac_func=yes"
7930 echo "configure: failed program was:" >&5
7931 cat conftest.$ac_ext >&5
7933 eval "ac_cv_func_$ac_func=no"
7938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7939 echo "$ac_t""yes" 1>&6
7940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7941 cat >> confdefs.h <<EOF
7942 #define $ac_tr_func 1
7947 echo "$ac_t""no" 1>&6
7953 LIBS="$ac_save_LIBS"
7955 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7956 echo "configure:7957: checking for XPG2 wchar_t support" >&5
7957 if test x"$ac_has_iconv_h" = xyes &&
7958 test x"$ac_has_langinfo_h" = xyes &&
7959 test x"$ac_XPG2funcs" = xyes; then
7964 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7966 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7967 echo "configure:7968: checking for enabled wchar_t specializations" >&5
7968 if test x"$ac_isoC99_wchar_t" = xyes &&
7969 test x"$ac_XPG2_wchar_t" = xyes; then
7970 cat >> confdefs.h <<\EOF
7971 #define _GLIBCPP_USE_WCHAR_T 1
7974 echo "$ac_t"""yes"" 1>&6
7976 echo "$ac_t"""no"" 1>&6
7979 echo "configure: warning: wchar_t support disabled." 1>&2
7982 os_include_dir="os/mingw32"
7985 os_include_dir="os/windiss"
7988 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7991 # If we're not using GNU ld, then there's no point in even trying these
7992 # tests. Check for that first. We should have already tested for gld
7993 # by now (in libtool), but require it now just to be safe...
7994 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7995 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7998 # The name set by libtool depends on the version of libtool. Shame on us
7999 # for depending on an impl detail, but c'est la vie. Older versions used
8000 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8001 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8002 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8003 # set (hence we're using an older libtool), then set it.
8004 if test x${with_gnu_ld+set} != xset; then
8005 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8006 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8009 with_gnu_ld=$ac_cv_prog_gnu_ld
8013 # Start by getting the version number. I think the libtool test already
8014 # does some of this, but throws away the result.
8016 ldver=`$LD --version 2>/dev/null | head -1 | \
8017 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8019 glibcpp_gnu_ld_version=`echo $ldver | \
8020 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8022 # Set --gc-sections.
8023 if test "$with_gnu_ld" = "notbroken"; then
8024 # GNU ld it is! Joy and bunny rabbits!
8026 # All these tests are for C++; save the language and the compiler flags.
8027 # Need to do this so that g++ won't try to link in libstdc++
8028 ac_test_CFLAGS="${CFLAGS+set}"
8029 ac_save_CFLAGS="$CFLAGS"
8030 CFLAGS='-x c++ -Wl,--gc-sections'
8032 # Check for -Wl,--gc-sections
8033 # XXX This test is broken at the moment, as symbols required for
8034 # linking are now in libsupc++ (not built yet.....). In addition,
8035 # this test has cored on solaris in the past. In addition,
8036 # --gc-sections doesn't really work at the moment (keeps on discarding
8037 # used sections, first .eh_frame and now some of the glibc sections for
8038 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8039 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8040 echo "configure:8041: checking for ld that supports -Wl,--gc-sections" >&5
8041 if test "$cross_compiling" = yes; then
8042 ac_sectionLDflags=yes
8044 cat > conftest.$ac_ext <<EOF
8045 #line 8046 "configure"
8046 #include "confdefs.h"
8056 if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8058 ac_sectionLDflags=yes
8060 echo "configure: failed program was:" >&5
8061 cat conftest.$ac_ext >&5
8063 ac_sectionLDflags=no
8068 if test "$ac_test_CFLAGS" = set; then
8069 CFLAGS="$ac_save_CFLAGS"
8071 # this is the suspicious part
8074 if test "$ac_sectionLDflags" = "yes"; then
8075 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8077 echo "$ac_t""$ac_sectionLDflags" 1>&6
8080 # Set linker optimization flags.
8081 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8082 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8089 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8090 echo "configure:8091: checking for main in -lm" >&5
8091 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8095 ac_save_LIBS="$LIBS"
8097 cat > conftest.$ac_ext <<EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8105 if { (eval echo configure:8106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8107 eval "ac_cv_lib_$ac_lib_var=yes"
8109 echo "configure: failed program was:" >&5
8110 cat conftest.$ac_ext >&5
8112 eval "ac_cv_lib_$ac_lib_var=no"
8115 LIBS="$ac_save_LIBS"
8118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8119 echo "$ac_t""yes" 1>&6
8120 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8121 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8122 cat >> confdefs.h <<EOF
8123 #define $ac_tr_lib 1
8129 echo "$ac_t""no" 1>&6
8132 for ac_func in nan copysignf
8134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8135 echo "configure:8136: checking for $ac_func" >&5
8136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8137 echo $ac_n "(cached) $ac_c" 1>&6
8139 cat > conftest.$ac_ext <<EOF
8140 #line 8141 "configure"
8141 #include "confdefs.h"
8142 /* System header to define __stub macros and hopefully few prototypes,
8143 which can conflict with char $ac_func(); below. */
8145 /* Override any gcc2 internal prototype to avoid an error. */
8146 /* We use char because int might match the return type of a gcc2
8147 builtin and then its argument prototype would still apply. */
8152 /* The GNU C library defines this for functions which it implements
8153 to always fail with ENOSYS. Some functions are actually named
8154 something starting with __ and the normal name is an alias. */
8155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8163 if { (eval echo configure:8164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8165 eval "ac_cv_func_$ac_func=yes"
8167 echo "configure: failed program was:" >&5
8168 cat conftest.$ac_ext >&5
8170 eval "ac_cv_func_$ac_func=no"
8175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8176 echo "$ac_t""yes" 1>&6
8177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8178 cat >> confdefs.h <<EOF
8179 #define $ac_tr_func 1
8183 echo "$ac_t""no" 1>&6
8184 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8189 for ac_func in __signbit
8191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8192 echo "configure:8193: checking for $ac_func" >&5
8193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8194 echo $ac_n "(cached) $ac_c" 1>&6
8196 cat > conftest.$ac_ext <<EOF
8197 #line 8198 "configure"
8198 #include "confdefs.h"
8199 /* System header to define __stub macros and hopefully few prototypes,
8200 which can conflict with char $ac_func(); below. */
8202 /* Override any gcc2 internal prototype to avoid an error. */
8203 /* We use char because int might match the return type of a gcc2
8204 builtin and then its argument prototype would still apply. */
8209 /* The GNU C library defines this for functions which it implements
8210 to always fail with ENOSYS. Some functions are actually named
8211 something starting with __ and the normal name is an alias. */
8212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8222 eval "ac_cv_func_$ac_func=yes"
8224 echo "configure: failed program was:" >&5
8225 cat conftest.$ac_ext >&5
8227 eval "ac_cv_func_$ac_func=no"
8232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8233 echo "$ac_t""yes" 1>&6
8234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8235 cat >> confdefs.h <<EOF
8236 #define $ac_tr_func 1
8240 echo "$ac_t""no" 1>&6
8241 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8245 for ac_func in __signbitf
8247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8248 echo "configure:8249: checking for $ac_func" >&5
8249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8250 echo $ac_n "(cached) $ac_c" 1>&6
8252 cat > conftest.$ac_ext <<EOF
8253 #line 8254 "configure"
8254 #include "confdefs.h"
8255 /* System header to define __stub macros and hopefully few prototypes,
8256 which can conflict with char $ac_func(); below. */
8258 /* Override any gcc2 internal prototype to avoid an error. */
8259 /* We use char because int might match the return type of a gcc2
8260 builtin and then its argument prototype would still apply. */
8265 /* The GNU C library defines this for functions which it implements
8266 to always fail with ENOSYS. Some functions are actually named
8267 something starting with __ and the normal name is an alias. */
8268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8276 if { (eval echo configure:8277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8278 eval "ac_cv_func_$ac_func=yes"
8280 echo "configure: failed program was:" >&5
8281 cat conftest.$ac_ext >&5
8283 eval "ac_cv_func_$ac_func=no"
8288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8289 echo "$ac_t""yes" 1>&6
8290 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8291 cat >> confdefs.h <<EOF
8292 #define $ac_tr_func 1
8296 echo "$ac_t""no" 1>&6
8297 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8302 if test x$ac_cv_func_copysignl = x"yes"; then
8303 for ac_func in __signbitl
8305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8306 echo "configure:8307: checking for $ac_func" >&5
8307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8308 echo $ac_n "(cached) $ac_c" 1>&6
8310 cat > conftest.$ac_ext <<EOF
8311 #line 8312 "configure"
8312 #include "confdefs.h"
8313 /* System header to define __stub macros and hopefully few prototypes,
8314 which can conflict with char $ac_func(); below. */
8316 /* Override any gcc2 internal prototype to avoid an error. */
8317 /* We use char because int might match the return type of a gcc2
8318 builtin and then its argument prototype would still apply. */
8323 /* The GNU C library defines this for functions which it implements
8324 to always fail with ENOSYS. Some functions are actually named
8325 something starting with __ and the normal name is an alias. */
8326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8334 if { (eval echo configure:8335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8336 eval "ac_cv_func_$ac_func=yes"
8338 echo "configure: failed program was:" >&5
8339 cat conftest.$ac_ext >&5
8341 eval "ac_cv_func_$ac_func=no"
8346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8347 echo "$ac_t""yes" 1>&6
8348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8349 cat >> confdefs.h <<EOF
8350 #define $ac_tr_func 1
8354 echo "$ac_t""no" 1>&6
8355 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8365 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8366 echo "configure:8367: checking for mbstate_t" >&5
8367 cat > conftest.$ac_ext <<EOF
8368 #line 8369 "configure"
8369 #include "confdefs.h"
8372 mbstate_t teststate;
8375 if { (eval echo configure:8376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8379 echo "configure: failed program was:" >&5
8380 cat conftest.$ac_ext >&5
8385 echo "$ac_t""$have_mbstate_t" 1>&6
8386 if test x"$have_mbstate_t" = xyes; then
8387 cat >> confdefs.h <<\EOF
8388 #define HAVE_MBSTATE_T 1
8393 for ac_hdr in wchar.h
8395 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8396 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8397 echo "configure:8398: checking for $ac_hdr" >&5
8398 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8399 echo $ac_n "(cached) $ac_c" 1>&6
8401 cat > conftest.$ac_ext <<EOF
8402 #line 8403 "configure"
8403 #include "confdefs.h"
8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8409 if test -z "$ac_err"; then
8411 eval "ac_cv_header_$ac_safe=yes"
8414 echo "configure: failed program was:" >&5
8415 cat conftest.$ac_ext >&5
8417 eval "ac_cv_header_$ac_safe=no"
8421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8422 echo "$ac_t""yes" 1>&6
8423 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8424 cat >> confdefs.h <<EOF
8425 #define $ac_tr_hdr 1
8429 echo "$ac_t""no" 1>&6
8434 for ac_hdr in wctype.h
8436 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8437 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8438 echo "configure:8439: checking for $ac_hdr" >&5
8439 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8442 cat > conftest.$ac_ext <<EOF
8443 #line 8444 "configure"
8444 #include "confdefs.h"
8447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8448 { (eval echo configure:8449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8450 if test -z "$ac_err"; then
8452 eval "ac_cv_header_$ac_safe=yes"
8455 echo "configure: failed program was:" >&5
8456 cat conftest.$ac_ext >&5
8458 eval "ac_cv_header_$ac_safe=no"
8462 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8463 echo "$ac_t""yes" 1>&6
8464 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8465 cat >> confdefs.h <<EOF
8466 #define $ac_tr_hdr 1
8470 echo "$ac_t""no" 1>&6
8476 if test x"$ac_has_wchar_h" = xyes &&
8477 test x"$ac_has_wctype_h" = xyes &&
8478 test x"$enable_c_mbchar" != xno; then
8480 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8481 echo "configure:8482: checking for WCHAR_MIN and WCHAR_MAX" >&5
8482 cat > conftest.$ac_ext <<EOF
8483 #line 8484 "configure"
8484 #include "confdefs.h"
8487 int i = WCHAR_MIN; int j = WCHAR_MAX;
8490 if { (eval echo configure:8491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8492 has_wchar_minmax=yes
8494 echo "configure: failed program was:" >&5
8495 cat conftest.$ac_ext >&5
8500 echo "$ac_t""$has_wchar_minmax" 1>&6
8502 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8503 echo "configure:8504: checking for WEOF" >&5
8504 cat > conftest.$ac_ext <<EOF
8505 #line 8506 "configure"
8506 #include "confdefs.h"
8514 if { (eval echo configure:8515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8518 echo "configure: failed program was:" >&5
8519 cat conftest.$ac_ext >&5
8524 echo "$ac_t""$has_weof" 1>&6
8527 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8530 echo "configure:8531: checking for $ac_func" >&5
8531 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8532 echo $ac_n "(cached) $ac_c" 1>&6
8534 cat > conftest.$ac_ext <<EOF
8535 #line 8536 "configure"
8536 #include "confdefs.h"
8537 /* System header to define __stub macros and hopefully few prototypes,
8538 which can conflict with char $ac_func(); below. */
8540 /* Override any gcc2 internal prototype to avoid an error. */
8541 /* We use char because int might match the return type of a gcc2
8542 builtin and then its argument prototype would still apply. */
8547 /* The GNU C library defines this for functions which it implements
8548 to always fail with ENOSYS. Some functions are actually named
8549 something starting with __ and the normal name is an alias. */
8550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8558 if { (eval echo configure:8559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8560 eval "ac_cv_func_$ac_func=yes"
8562 echo "configure: failed program was:" >&5
8563 cat conftest.$ac_ext >&5
8565 eval "ac_cv_func_$ac_func=no"
8570 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8571 echo "$ac_t""yes" 1>&6
8572 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8573 cat >> confdefs.h <<EOF
8574 #define $ac_tr_func 1
8578 echo "$ac_t""no" 1>&6
8585 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8586 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8587 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8588 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8589 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8590 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8593 echo "configure:8594: checking for $ac_func" >&5
8594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8595 echo $ac_n "(cached) $ac_c" 1>&6
8597 cat > conftest.$ac_ext <<EOF
8598 #line 8599 "configure"
8599 #include "confdefs.h"
8600 /* System header to define __stub macros and hopefully few prototypes,
8601 which can conflict with char $ac_func(); below. */
8603 /* Override any gcc2 internal prototype to avoid an error. */
8604 /* We use char because int might match the return type of a gcc2
8605 builtin and then its argument prototype would still apply. */
8610 /* The GNU C library defines this for functions which it implements
8611 to always fail with ENOSYS. Some functions are actually named
8612 something starting with __ and the normal name is an alias. */
8613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8623 eval "ac_cv_func_$ac_func=yes"
8625 echo "configure: failed program was:" >&5
8626 cat conftest.$ac_ext >&5
8628 eval "ac_cv_func_$ac_func=no"
8633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8634 echo "$ac_t""yes" 1>&6
8635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8636 cat >> confdefs.h <<EOF
8637 #define $ac_tr_func 1
8641 echo "$ac_t""no" 1>&6
8648 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8649 echo "configure:8650: checking for ISO C99 wchar_t support" >&5
8650 if test x"$has_weof" = xyes &&
8651 test x"$has_wchar_minmax" = xyes &&
8652 test x"$ac_wfuncs" = xyes; then
8653 ac_isoC99_wchar_t=yes
8655 ac_isoC99_wchar_t=no
8657 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8659 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8660 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8661 echo "configure:8662: checking for iconv.h" >&5
8662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8663 echo $ac_n "(cached) $ac_c" 1>&6
8665 cat > conftest.$ac_ext <<EOF
8666 #line 8667 "configure"
8667 #include "confdefs.h"
8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8673 if test -z "$ac_err"; then
8675 eval "ac_cv_header_$ac_safe=yes"
8678 echo "configure: failed program was:" >&5
8679 cat conftest.$ac_ext >&5
8681 eval "ac_cv_header_$ac_safe=no"
8685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8686 echo "$ac_t""yes" 1>&6
8689 echo "$ac_t""no" 1>&6
8693 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8694 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8695 echo "configure:8696: checking for langinfo.h" >&5
8696 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8697 echo $ac_n "(cached) $ac_c" 1>&6
8699 cat > conftest.$ac_ext <<EOF
8700 #line 8701 "configure"
8701 #include "confdefs.h"
8702 #include <langinfo.h>
8704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8705 { (eval echo configure:8706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8707 if test -z "$ac_err"; then
8709 eval "ac_cv_header_$ac_safe=yes"
8712 echo "configure: failed program was:" >&5
8713 cat conftest.$ac_ext >&5
8715 eval "ac_cv_header_$ac_safe=no"
8719 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8720 echo "$ac_t""yes" 1>&6
8721 ac_has_langinfo_h=yes
8723 echo "$ac_t""no" 1>&6
8724 ac_has_langinfo_h=no
8728 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8729 echo "configure:8730: checking for iconv in -liconv" >&5
8730 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8734 ac_save_LIBS="$LIBS"
8735 LIBS="-liconv $LIBS"
8736 cat > conftest.$ac_ext <<EOF
8737 #line 8738 "configure"
8738 #include "confdefs.h"
8739 /* Override any gcc2 internal prototype to avoid an error. */
8740 /* We use char because int might match the return type of a gcc2
8741 builtin and then its argument prototype would still apply. */
8748 if { (eval echo configure:8749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8750 eval "ac_cv_lib_$ac_lib_var=yes"
8752 echo "configure: failed program was:" >&5
8753 cat conftest.$ac_ext >&5
8755 eval "ac_cv_lib_$ac_lib_var=no"
8758 LIBS="$ac_save_LIBS"
8761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8762 echo "$ac_t""yes" 1>&6
8765 echo "$ac_t""no" 1>&6
8768 ac_save_LIBS="$LIBS"
8769 LIBS="$LIBS $libiconv"
8771 for ac_func in iconv_open iconv_close iconv nl_langinfo
8773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8774 echo "configure:8775: checking for $ac_func" >&5
8775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8776 echo $ac_n "(cached) $ac_c" 1>&6
8778 cat > conftest.$ac_ext <<EOF
8779 #line 8780 "configure"
8780 #include "confdefs.h"
8781 /* System header to define __stub macros and hopefully few prototypes,
8782 which can conflict with char $ac_func(); below. */
8784 /* Override any gcc2 internal prototype to avoid an error. */
8785 /* We use char because int might match the return type of a gcc2
8786 builtin and then its argument prototype would still apply. */
8791 /* The GNU C library defines this for functions which it implements
8792 to always fail with ENOSYS. Some functions are actually named
8793 something starting with __ and the normal name is an alias. */
8794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8804 eval "ac_cv_func_$ac_func=yes"
8806 echo "configure: failed program was:" >&5
8807 cat conftest.$ac_ext >&5
8809 eval "ac_cv_func_$ac_func=no"
8814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8815 echo "$ac_t""yes" 1>&6
8816 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8817 cat >> confdefs.h <<EOF
8818 #define $ac_tr_func 1
8823 echo "$ac_t""no" 1>&6
8829 LIBS="$ac_save_LIBS"
8831 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8832 echo "configure:8833: checking for XPG2 wchar_t support" >&5
8833 if test x"$ac_has_iconv_h" = xyes &&
8834 test x"$ac_has_langinfo_h" = xyes &&
8835 test x"$ac_XPG2funcs" = xyes; then
8840 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8842 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8843 echo "configure:8844: checking for enabled wchar_t specializations" >&5
8844 if test x"$ac_isoC99_wchar_t" = xyes &&
8845 test x"$ac_XPG2_wchar_t" = xyes; then
8846 cat >> confdefs.h <<\EOF
8847 #define _GLIBCPP_USE_WCHAR_T 1
8850 echo "$ac_t"""yes"" 1>&6
8852 echo "$ac_t"""no"" 1>&6
8855 echo "configure: warning: wchar_t support disabled." 1>&2
8858 os_include_dir="os/qnx/qnx6.1"
8859 cat >> confdefs.h <<\EOF
8863 cat >> confdefs.h <<\EOF
8867 cat >> confdefs.h <<\EOF
8868 #define HAVE_COSHF 1
8871 cat >> confdefs.h <<\EOF
8872 #define HAVE_COSHL 1
8875 cat >> confdefs.h <<\EOF
8879 cat >> confdefs.h <<\EOF
8883 cat >> confdefs.h <<\EOF
8884 #define HAVE_LOG10F 1
8887 cat >> confdefs.h <<\EOF
8888 #define HAVE_LOG10L 1
8891 cat >> confdefs.h <<\EOF
8895 cat >> confdefs.h <<\EOF
8899 cat >> confdefs.h <<\EOF
8900 #define HAVE_SINHF 1
8903 cat >> confdefs.h <<\EOF
8904 #define HAVE_SINHL 1
8909 os_include_dir="os/newlib"
8910 cat >> confdefs.h <<\EOF
8911 #define HAVE_HYPOT 1
8917 case "$target_alias" in
8921 cat >> confdefs.h <<\EOF
8922 #define HAVE_ACOSF 1
8925 cat >> confdefs.h <<\EOF
8926 #define HAVE_ASINF 1
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_ATAN2F 1
8933 cat >> confdefs.h <<\EOF
8934 #define HAVE_ATANF 1
8937 cat >> confdefs.h <<\EOF
8938 #define HAVE_CEILF 1
8941 cat >> confdefs.h <<\EOF
8942 #define HAVE_COPYSIGN 1
8945 cat >> confdefs.h <<\EOF
8946 #define HAVE_COPYSIGNF 1
8949 cat >> confdefs.h <<\EOF
8953 cat >> confdefs.h <<\EOF
8954 #define HAVE_COSHF 1
8957 cat >> confdefs.h <<\EOF
8961 cat >> confdefs.h <<\EOF
8962 #define HAVE_FABSF 1
8965 cat >> confdefs.h <<\EOF
8966 #define HAVE_FLOORF 1
8969 cat >> confdefs.h <<\EOF
8970 #define HAVE_FMODF 1
8973 cat >> confdefs.h <<\EOF
8974 #define HAVE_FREXPF 1
8977 cat >> confdefs.h <<\EOF
8978 #define HAVE_LDEXPF 1
8981 cat >> confdefs.h <<\EOF
8982 #define HAVE_LOG10F 1
8985 cat >> confdefs.h <<\EOF
8989 cat >> confdefs.h <<\EOF
8990 #define HAVE_MODFF 1
8993 cat >> confdefs.h <<\EOF
8997 cat >> confdefs.h <<\EOF
9001 cat >> confdefs.h <<\EOF
9002 #define HAVE_SINHF 1
9005 cat >> confdefs.h <<\EOF
9006 #define HAVE_SQRTF 1
9009 cat >> confdefs.h <<\EOF
9013 cat >> confdefs.h <<\EOF
9014 #define HAVE_TANHF 1
9019 # GLIBCPP_CHECK_STDLIB_SUPPORT
9020 cat >> confdefs.h <<\EOF
9021 #define HAVE_STRTOF 1
9024 cat >> confdefs.h <<\EOF
9025 #define HAVE_STRTOLD 1
9029 cat >> confdefs.h <<\EOF
9034 cat >> confdefs.h <<\EOF
9035 #define HAVE_ACOSF 1
9038 cat >> confdefs.h <<\EOF
9039 #define HAVE_ASINF 1
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE_ATAN2F 1
9046 cat >> confdefs.h <<\EOF
9047 #define HAVE_ATANF 1
9050 cat >> confdefs.h <<\EOF
9051 #define HAVE_CEILF 1
9054 cat >> confdefs.h <<\EOF
9055 #define HAVE_COPYSIGN 1
9058 cat >> confdefs.h <<\EOF
9059 #define HAVE_COPYSIGNF 1
9062 cat >> confdefs.h <<\EOF
9066 cat >> confdefs.h <<\EOF
9067 #define HAVE_COSHF 1
9070 cat >> confdefs.h <<\EOF
9074 cat >> confdefs.h <<\EOF
9075 #define HAVE_FABSF 1
9078 cat >> confdefs.h <<\EOF
9079 #define HAVE_FLOORF 1
9082 cat >> confdefs.h <<\EOF
9083 #define HAVE_FMODF 1
9086 cat >> confdefs.h <<\EOF
9087 #define HAVE_FREXPF 1
9090 cat >> confdefs.h <<\EOF
9091 #define HAVE_LDEXPF 1
9094 cat >> confdefs.h <<\EOF
9095 #define HAVE_LOG10F 1
9098 cat >> confdefs.h <<\EOF
9102 cat >> confdefs.h <<\EOF
9103 #define HAVE_MODFF 1
9106 cat >> confdefs.h <<\EOF
9110 cat >> confdefs.h <<\EOF
9114 cat >> confdefs.h <<\EOF
9115 #define HAVE_SINHF 1
9118 cat >> confdefs.h <<\EOF
9119 #define HAVE_SQRTF 1
9122 cat >> confdefs.h <<\EOF
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_TANHF 1
9133 # At some point, we should differentiate between architectures
9134 # like x86, which have long double versions, and alpha/powerpc/etc.,
9135 # which don't. For the time being, punt.
9136 if test x"long_double_math_on_this_cpu" = x"yes"; then
9137 cat >> confdefs.h <<\EOF
9138 #define HAVE_ACOSL 1
9141 cat >> confdefs.h <<\EOF
9142 #define HAVE_ASINL 1
9145 cat >> confdefs.h <<\EOF
9146 #define HAVE_ATAN2L 1
9149 cat >> confdefs.h <<\EOF
9150 #define HAVE_ATANL 1
9153 cat >> confdefs.h <<\EOF
9154 #define HAVE_CEILL 1
9157 cat >> confdefs.h <<\EOF
9158 #define HAVE_COPYSIGNL 1
9161 cat >> confdefs.h <<\EOF
9165 cat >> confdefs.h <<\EOF
9166 #define HAVE_COSHL 1
9169 cat >> confdefs.h <<\EOF
9173 cat >> confdefs.h <<\EOF
9174 #define HAVE_FABSL 1
9177 cat >> confdefs.h <<\EOF
9178 #define HAVE_FLOORL 1
9181 cat >> confdefs.h <<\EOF
9182 #define HAVE_FMODL 1
9185 cat >> confdefs.h <<\EOF
9186 #define HAVE_FREXPL 1
9189 cat >> confdefs.h <<\EOF
9190 #define HAVE_LDEXPL 1
9193 cat >> confdefs.h <<\EOF
9194 #define HAVE_LOG10L 1
9197 cat >> confdefs.h <<\EOF
9201 cat >> confdefs.h <<\EOF
9202 #define HAVE_MODFL 1
9205 cat >> confdefs.h <<\EOF
9209 cat >> confdefs.h <<\EOF
9210 #define HAVE_SINCOSL 1
9213 cat >> confdefs.h <<\EOF
9217 cat >> confdefs.h <<\EOF
9218 #define HAVE_SINHL 1
9221 cat >> confdefs.h <<\EOF
9222 #define HAVE_SQRTL 1
9225 cat >> confdefs.h <<\EOF
9229 cat >> confdefs.h <<\EOF
9230 #define HAVE_TANHL 1
9237 # We are being configured natively. We can do more elaborate tests
9238 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9240 GLIBCPP_IS_CROSS_COMPILING=0
9243 # Check for available headers.
9244 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9245 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9249 echo "configure:9250: checking for $ac_hdr" >&5
9250 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9251 echo $ac_n "(cached) $ac_c" 1>&6
9253 cat > conftest.$ac_ext <<EOF
9254 #line 9255 "configure"
9255 #include "confdefs.h"
9258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9259 { (eval echo configure:9260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9260 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9261 if test -z "$ac_err"; then
9263 eval "ac_cv_header_$ac_safe=yes"
9266 echo "configure: failed program was:" >&5
9267 cat conftest.$ac_ext >&5
9269 eval "ac_cv_header_$ac_safe=no"
9273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9274 echo "$ac_t""yes" 1>&6
9275 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9276 cat >> confdefs.h <<EOF
9277 #define $ac_tr_hdr 1
9281 echo "$ac_t""no" 1>&6
9287 # All these tests are for C++; save the language and the compiler flags.
9288 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9289 # found in GLIBCPP_CONFIGURE.
9292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9293 ac_cpp='$CXXCPP $CPPFLAGS'
9294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9296 cross_compiling=$ac_cv_prog_cxx_cross
9298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9299 ac_save_CXXFLAGS="$CXXFLAGS"
9301 # Check for maintainer-mode bits.
9302 if test x"$USE_MAINTAINER_MODE" = xno; then
9308 # Check for -ffunction-sections -fdata-sections
9309 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9310 echo "configure:9311: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9311 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9312 cat > conftest.$ac_ext <<EOF
9313 #line 9314 "configure"
9314 #include "confdefs.h"
9321 if { (eval echo configure:9322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9325 echo "configure: failed program was:" >&5
9326 cat conftest.$ac_ext >&5
9331 if test "$ac_test_CXXFLAGS" = set; then
9332 CXXFLAGS="$ac_save_CXXFLAGS"
9334 # this is the suspicious part
9337 if test x"$ac_fdsections" = x"yes" &&
9338 test x"$enable_debug" = x"no"; then
9339 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9341 echo "$ac_t""$ac_fdsections" 1>&6
9344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9345 ac_cpp='$CPP $CPPFLAGS'
9346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9348 cross_compiling=$ac_cv_prog_cc_cross
9354 # If we're not using GNU ld, then there's no point in even trying these
9355 # tests. Check for that first. We should have already tested for gld
9356 # by now (in libtool), but require it now just to be safe...
9357 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9358 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9361 # The name set by libtool depends on the version of libtool. Shame on us
9362 # for depending on an impl detail, but c'est la vie. Older versions used
9363 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9364 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9365 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9366 # set (hence we're using an older libtool), then set it.
9367 if test x${with_gnu_ld+set} != xset; then
9368 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9369 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9372 with_gnu_ld=$ac_cv_prog_gnu_ld
9376 # Start by getting the version number. I think the libtool test already
9377 # does some of this, but throws away the result.
9379 ldver=`$LD --version 2>/dev/null | head -1 | \
9380 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9382 glibcpp_gnu_ld_version=`echo $ldver | \
9383 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9385 # Set --gc-sections.
9386 if test "$with_gnu_ld" = "notbroken"; then
9387 # GNU ld it is! Joy and bunny rabbits!
9389 # All these tests are for C++; save the language and the compiler flags.
9390 # Need to do this so that g++ won't try to link in libstdc++
9391 ac_test_CFLAGS="${CFLAGS+set}"
9392 ac_save_CFLAGS="$CFLAGS"
9393 CFLAGS='-x c++ -Wl,--gc-sections'
9395 # Check for -Wl,--gc-sections
9396 # XXX This test is broken at the moment, as symbols required for
9397 # linking are now in libsupc++ (not built yet.....). In addition,
9398 # this test has cored on solaris in the past. In addition,
9399 # --gc-sections doesn't really work at the moment (keeps on discarding
9400 # used sections, first .eh_frame and now some of the glibc sections for
9401 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9402 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9403 echo "configure:9404: checking for ld that supports -Wl,--gc-sections" >&5
9404 if test "$cross_compiling" = yes; then
9405 ac_sectionLDflags=yes
9407 cat > conftest.$ac_ext <<EOF
9408 #line 9409 "configure"
9409 #include "confdefs.h"
9419 if { (eval echo configure:9420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9421 ac_sectionLDflags=yes
9423 echo "configure: failed program was:" >&5
9424 cat conftest.$ac_ext >&5
9426 ac_sectionLDflags=no
9431 if test "$ac_test_CFLAGS" = set; then
9432 CFLAGS="$ac_save_CFLAGS"
9434 # this is the suspicious part
9437 if test "$ac_sectionLDflags" = "yes"; then
9438 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9440 echo "$ac_t""$ac_sectionLDflags" 1>&6
9443 # Set linker optimization flags.
9444 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9445 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9453 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9454 echo "configure:9455: checking for __builtin_abs declaration" >&5
9455 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9456 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9457 echo $ac_n "(cached) $ac_c" 1>&6
9462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9463 ac_cpp='$CXXCPP $CPPFLAGS'
9464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9466 cross_compiling=$ac_cv_prog_cxx_cross
9468 cat > conftest.$ac_ext <<EOF
9469 #line 9470 "configure"
9470 #include "confdefs.h"
9476 if { (eval echo configure:9477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9478 glibcpp_cv_func___builtin_abs_use=yes
9480 echo "configure: failed program was:" >&5
9481 cat conftest.$ac_ext >&5
9483 glibcpp_cv_func___builtin_abs_use=no
9487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9488 ac_cpp='$CPP $CPPFLAGS'
9489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9491 cross_compiling=$ac_cv_prog_cc_cross
9497 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9498 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9499 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9500 echo "configure:9501: checking for __builtin_abs linkage" >&5
9501 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9502 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9503 echo $ac_n "(cached) $ac_c" 1>&6
9506 cat > conftest.$ac_ext <<EOF
9507 #line 9508 "configure"
9508 #include "confdefs.h"
9514 if { (eval echo configure:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9516 glibcpp_cv_func___builtin_abs_link=yes
9518 echo "configure: failed program was:" >&5
9519 cat conftest.$ac_ext >&5
9521 glibcpp_cv_func___builtin_abs_link=no
9528 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9529 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9530 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9531 cat >> confdefs.h <<EOF
9532 #define ${ac_tr_func} 1
9539 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9540 echo "configure:9541: checking for __builtin_fabsf declaration" >&5
9541 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9542 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9549 ac_cpp='$CXXCPP $CPPFLAGS'
9550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9552 cross_compiling=$ac_cv_prog_cxx_cross
9554 cat > conftest.$ac_ext <<EOF
9555 #line 9556 "configure"
9556 #include "confdefs.h"
9562 if { (eval echo configure:9563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9564 glibcpp_cv_func___builtin_fabsf_use=yes
9566 echo "configure: failed program was:" >&5
9567 cat conftest.$ac_ext >&5
9569 glibcpp_cv_func___builtin_fabsf_use=no
9573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9574 ac_cpp='$CPP $CPPFLAGS'
9575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9577 cross_compiling=$ac_cv_prog_cc_cross
9583 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9584 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9585 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9586 echo "configure:9587: checking for __builtin_fabsf linkage" >&5
9587 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9588 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9589 echo $ac_n "(cached) $ac_c" 1>&6
9592 cat > conftest.$ac_ext <<EOF
9593 #line 9594 "configure"
9594 #include "confdefs.h"
9600 if { (eval echo configure:9601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9602 glibcpp_cv_func___builtin_fabsf_link=yes
9604 echo "configure: failed program was:" >&5
9605 cat conftest.$ac_ext >&5
9607 glibcpp_cv_func___builtin_fabsf_link=no
9614 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9615 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9616 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9617 cat >> confdefs.h <<EOF
9618 #define ${ac_tr_func} 1
9625 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9626 echo "configure:9627: checking for __builtin_fabs declaration" >&5
9627 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9628 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9629 echo $ac_n "(cached) $ac_c" 1>&6
9634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9635 ac_cpp='$CXXCPP $CPPFLAGS'
9636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9638 cross_compiling=$ac_cv_prog_cxx_cross
9640 cat > conftest.$ac_ext <<EOF
9641 #line 9642 "configure"
9642 #include "confdefs.h"
9648 if { (eval echo configure:9649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9650 glibcpp_cv_func___builtin_fabs_use=yes
9652 echo "configure: failed program was:" >&5
9653 cat conftest.$ac_ext >&5
9655 glibcpp_cv_func___builtin_fabs_use=no
9659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9660 ac_cpp='$CPP $CPPFLAGS'
9661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9663 cross_compiling=$ac_cv_prog_cc_cross
9669 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9670 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9671 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9672 echo "configure:9673: checking for __builtin_fabs linkage" >&5
9673 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9674 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9675 echo $ac_n "(cached) $ac_c" 1>&6
9678 cat > conftest.$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9686 if { (eval echo configure:9687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9688 glibcpp_cv_func___builtin_fabs_link=yes
9690 echo "configure: failed program was:" >&5
9691 cat conftest.$ac_ext >&5
9693 glibcpp_cv_func___builtin_fabs_link=no
9700 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9701 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9702 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9703 cat >> confdefs.h <<EOF
9704 #define ${ac_tr_func} 1
9711 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9712 echo "configure:9713: checking for __builtin_fabsl declaration" >&5
9713 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9714 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9715 echo $ac_n "(cached) $ac_c" 1>&6
9720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9721 ac_cpp='$CXXCPP $CPPFLAGS'
9722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9724 cross_compiling=$ac_cv_prog_cxx_cross
9726 cat > conftest.$ac_ext <<EOF
9727 #line 9728 "configure"
9728 #include "confdefs.h"
9734 if { (eval echo configure:9735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9736 glibcpp_cv_func___builtin_fabsl_use=yes
9738 echo "configure: failed program was:" >&5
9739 cat conftest.$ac_ext >&5
9741 glibcpp_cv_func___builtin_fabsl_use=no
9745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9746 ac_cpp='$CPP $CPPFLAGS'
9747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9749 cross_compiling=$ac_cv_prog_cc_cross
9755 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9756 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9757 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9758 echo "configure:9759: checking for __builtin_fabsl linkage" >&5
9759 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9760 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9761 echo $ac_n "(cached) $ac_c" 1>&6
9764 cat > conftest.$ac_ext <<EOF
9765 #line 9766 "configure"
9766 #include "confdefs.h"
9772 if { (eval echo configure:9773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9774 glibcpp_cv_func___builtin_fabsl_link=yes
9776 echo "configure: failed program was:" >&5
9777 cat conftest.$ac_ext >&5
9779 glibcpp_cv_func___builtin_fabsl_link=no
9786 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9787 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9788 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9789 cat >> confdefs.h <<EOF
9790 #define ${ac_tr_func} 1
9797 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9798 echo "configure:9799: checking for __builtin_labs declaration" >&5
9799 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9800 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9801 echo $ac_n "(cached) $ac_c" 1>&6
9806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9807 ac_cpp='$CXXCPP $CPPFLAGS'
9808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9810 cross_compiling=$ac_cv_prog_cxx_cross
9812 cat > conftest.$ac_ext <<EOF
9813 #line 9814 "configure"
9814 #include "confdefs.h"
9820 if { (eval echo configure:9821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9822 glibcpp_cv_func___builtin_labs_use=yes
9824 echo "configure: failed program was:" >&5
9825 cat conftest.$ac_ext >&5
9827 glibcpp_cv_func___builtin_labs_use=no
9831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9832 ac_cpp='$CPP $CPPFLAGS'
9833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9835 cross_compiling=$ac_cv_prog_cc_cross
9841 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9842 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9843 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9844 echo "configure:9845: checking for __builtin_labs linkage" >&5
9845 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9846 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9847 echo $ac_n "(cached) $ac_c" 1>&6
9850 cat > conftest.$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9858 if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9860 glibcpp_cv_func___builtin_labs_link=yes
9862 echo "configure: failed program was:" >&5
9863 cat conftest.$ac_ext >&5
9865 glibcpp_cv_func___builtin_labs_link=no
9872 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9873 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9874 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9875 cat >> confdefs.h <<EOF
9876 #define ${ac_tr_func} 1
9884 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9885 echo "configure:9886: checking for __builtin_sqrtf declaration" >&5
9886 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9887 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9894 ac_cpp='$CXXCPP $CPPFLAGS'
9895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9897 cross_compiling=$ac_cv_prog_cxx_cross
9899 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure"
9901 #include "confdefs.h"
9907 if { (eval echo configure:9908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9909 glibcpp_cv_func___builtin_sqrtf_use=yes
9911 echo "configure: failed program was:" >&5
9912 cat conftest.$ac_ext >&5
9914 glibcpp_cv_func___builtin_sqrtf_use=no
9918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9919 ac_cpp='$CPP $CPPFLAGS'
9920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9922 cross_compiling=$ac_cv_prog_cc_cross
9928 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9929 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9930 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9931 echo "configure:9932: checking for __builtin_sqrtf linkage" >&5
9932 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9933 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9934 echo $ac_n "(cached) $ac_c" 1>&6
9937 cat > conftest.$ac_ext <<EOF
9938 #line 9939 "configure"
9939 #include "confdefs.h"
9945 if { (eval echo configure:9946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9947 glibcpp_cv_func___builtin_sqrtf_link=yes
9949 echo "configure: failed program was:" >&5
9950 cat conftest.$ac_ext >&5
9952 glibcpp_cv_func___builtin_sqrtf_link=no
9959 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9960 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9961 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9962 cat >> confdefs.h <<EOF
9963 #define ${ac_tr_func} 1
9970 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9971 echo "configure:9972: checking for __builtin_sqrt declaration" >&5
9972 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9973 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9980 ac_cpp='$CXXCPP $CPPFLAGS'
9981 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9982 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9983 cross_compiling=$ac_cv_prog_cxx_cross
9985 cat > conftest.$ac_ext <<EOF
9986 #line 9987 "configure"
9987 #include "confdefs.h"
9993 if { (eval echo configure:9994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9995 glibcpp_cv_func___builtin_sqrt_use=yes
9997 echo "configure: failed program was:" >&5
9998 cat conftest.$ac_ext >&5
10000 glibcpp_cv_func___builtin_sqrt_use=no
10004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10005 ac_cpp='$CPP $CPPFLAGS'
10006 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10007 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10008 cross_compiling=$ac_cv_prog_cc_cross
10014 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
10015 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
10016 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
10017 echo "configure:10018: checking for __builtin_sqrt linkage" >&5
10018 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
10019 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
10020 echo $ac_n "(cached) $ac_c" 1>&6
10023 cat > conftest.$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10033 glibcpp_cv_func___builtin_sqrt_link=yes
10035 echo "configure: failed program was:" >&5
10036 cat conftest.$ac_ext >&5
10038 glibcpp_cv_func___builtin_sqrt_link=no
10045 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
10046 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
10047 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10048 cat >> confdefs.h <<EOF
10049 #define ${ac_tr_func} 1
10056 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
10057 echo "configure:10058: checking for __builtin_sqrtl declaration" >&5
10058 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10059 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10060 echo $ac_n "(cached) $ac_c" 1>&6
10065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10066 ac_cpp='$CXXCPP $CPPFLAGS'
10067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10069 cross_compiling=$ac_cv_prog_cxx_cross
10071 cat > conftest.$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10076 __builtin_sqrtl(0);
10079 if { (eval echo configure:10080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10081 glibcpp_cv_func___builtin_sqrtl_use=yes
10083 echo "configure: failed program was:" >&5
10084 cat conftest.$ac_ext >&5
10086 glibcpp_cv_func___builtin_sqrtl_use=no
10090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10091 ac_cpp='$CPP $CPPFLAGS'
10092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10094 cross_compiling=$ac_cv_prog_cc_cross
10100 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10101 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10102 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10103 echo "configure:10104: checking for __builtin_sqrtl linkage" >&5
10104 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10105 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10106 echo $ac_n "(cached) $ac_c" 1>&6
10109 cat > conftest.$ac_ext <<EOF
10110 #line 10111 "configure"
10111 #include "confdefs.h"
10114 __builtin_sqrtl(0);
10117 if { (eval echo configure:10118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10119 glibcpp_cv_func___builtin_sqrtl_link=yes
10121 echo "configure: failed program was:" >&5
10122 cat conftest.$ac_ext >&5
10124 glibcpp_cv_func___builtin_sqrtl_link=no
10131 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10132 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10133 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10134 cat >> confdefs.h <<EOF
10135 #define ${ac_tr_func} 1
10143 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10144 echo "configure:10145: checking for __builtin_sinf declaration" >&5
10145 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10146 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10147 echo $ac_n "(cached) $ac_c" 1>&6
10152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10153 ac_cpp='$CXXCPP $CPPFLAGS'
10154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10156 cross_compiling=$ac_cv_prog_cxx_cross
10158 cat > conftest.$ac_ext <<EOF
10159 #line 10160 "configure"
10160 #include "confdefs.h"
10166 if { (eval echo configure:10167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10168 glibcpp_cv_func___builtin_sinf_use=yes
10170 echo "configure: failed program was:" >&5
10171 cat conftest.$ac_ext >&5
10173 glibcpp_cv_func___builtin_sinf_use=no
10177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10178 ac_cpp='$CPP $CPPFLAGS'
10179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10181 cross_compiling=$ac_cv_prog_cc_cross
10187 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10188 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10189 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10190 echo "configure:10191: checking for __builtin_sinf linkage" >&5
10191 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10192 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10193 echo $ac_n "(cached) $ac_c" 1>&6
10196 cat > conftest.$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10206 glibcpp_cv_func___builtin_sinf_link=yes
10208 echo "configure: failed program was:" >&5
10209 cat conftest.$ac_ext >&5
10211 glibcpp_cv_func___builtin_sinf_link=no
10218 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10219 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10220 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10221 cat >> confdefs.h <<EOF
10222 #define ${ac_tr_func} 1
10229 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10230 echo "configure:10231: checking for __builtin_sin declaration" >&5
10231 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10232 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10233 echo $ac_n "(cached) $ac_c" 1>&6
10238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10239 ac_cpp='$CXXCPP $CPPFLAGS'
10240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10242 cross_compiling=$ac_cv_prog_cxx_cross
10244 cat > conftest.$ac_ext <<EOF
10245 #line 10246 "configure"
10246 #include "confdefs.h"
10252 if { (eval echo configure:10253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10254 glibcpp_cv_func___builtin_sin_use=yes
10256 echo "configure: failed program was:" >&5
10257 cat conftest.$ac_ext >&5
10259 glibcpp_cv_func___builtin_sin_use=no
10263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10264 ac_cpp='$CPP $CPPFLAGS'
10265 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10266 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10267 cross_compiling=$ac_cv_prog_cc_cross
10273 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10274 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10275 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10276 echo "configure:10277: checking for __builtin_sin linkage" >&5
10277 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10278 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10279 echo $ac_n "(cached) $ac_c" 1>&6
10282 cat > conftest.$ac_ext <<EOF
10283 #line 10284 "configure"
10284 #include "confdefs.h"
10290 if { (eval echo configure:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10292 glibcpp_cv_func___builtin_sin_link=yes
10294 echo "configure: failed program was:" >&5
10295 cat conftest.$ac_ext >&5
10297 glibcpp_cv_func___builtin_sin_link=no
10304 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10305 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10306 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10307 cat >> confdefs.h <<EOF
10308 #define ${ac_tr_func} 1
10315 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10316 echo "configure:10317: checking for __builtin_sinl declaration" >&5
10317 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10318 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10319 echo $ac_n "(cached) $ac_c" 1>&6
10324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10325 ac_cpp='$CXXCPP $CPPFLAGS'
10326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10328 cross_compiling=$ac_cv_prog_cxx_cross
10330 cat > conftest.$ac_ext <<EOF
10331 #line 10332 "configure"
10332 #include "confdefs.h"
10338 if { (eval echo configure:10339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10340 glibcpp_cv_func___builtin_sinl_use=yes
10342 echo "configure: failed program was:" >&5
10343 cat conftest.$ac_ext >&5
10345 glibcpp_cv_func___builtin_sinl_use=no
10349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10353 cross_compiling=$ac_cv_prog_cc_cross
10359 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10360 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10361 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10362 echo "configure:10363: checking for __builtin_sinl linkage" >&5
10363 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10364 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10365 echo $ac_n "(cached) $ac_c" 1>&6
10368 cat > conftest.$ac_ext <<EOF
10369 #line 10370 "configure"
10370 #include "confdefs.h"
10376 if { (eval echo configure:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10378 glibcpp_cv_func___builtin_sinl_link=yes
10380 echo "configure: failed program was:" >&5
10381 cat conftest.$ac_ext >&5
10383 glibcpp_cv_func___builtin_sinl_link=no
10390 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10391 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10392 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10393 cat >> confdefs.h <<EOF
10394 #define ${ac_tr_func} 1
10402 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10403 echo "configure:10404: checking for __builtin_cosf declaration" >&5
10404 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10405 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10406 echo $ac_n "(cached) $ac_c" 1>&6
10411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10412 ac_cpp='$CXXCPP $CPPFLAGS'
10413 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10414 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10415 cross_compiling=$ac_cv_prog_cxx_cross
10417 cat > conftest.$ac_ext <<EOF
10418 #line 10419 "configure"
10419 #include "confdefs.h"
10425 if { (eval echo configure:10426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10427 glibcpp_cv_func___builtin_cosf_use=yes
10429 echo "configure: failed program was:" >&5
10430 cat conftest.$ac_ext >&5
10432 glibcpp_cv_func___builtin_cosf_use=no
10436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10437 ac_cpp='$CPP $CPPFLAGS'
10438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10440 cross_compiling=$ac_cv_prog_cc_cross
10446 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10447 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10448 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10449 echo "configure:10450: checking for __builtin_cosf linkage" >&5
10450 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10451 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10452 echo $ac_n "(cached) $ac_c" 1>&6
10455 cat > conftest.$ac_ext <<EOF
10456 #line 10457 "configure"
10457 #include "confdefs.h"
10463 if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10465 glibcpp_cv_func___builtin_cosf_link=yes
10467 echo "configure: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10470 glibcpp_cv_func___builtin_cosf_link=no
10477 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10478 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10479 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10480 cat >> confdefs.h <<EOF
10481 #define ${ac_tr_func} 1
10488 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10489 echo "configure:10490: checking for __builtin_cos declaration" >&5
10490 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10491 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10492 echo $ac_n "(cached) $ac_c" 1>&6
10497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10498 ac_cpp='$CXXCPP $CPPFLAGS'
10499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10501 cross_compiling=$ac_cv_prog_cxx_cross
10503 cat > conftest.$ac_ext <<EOF
10504 #line 10505 "configure"
10505 #include "confdefs.h"
10511 if { (eval echo configure:10512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10513 glibcpp_cv_func___builtin_cos_use=yes
10515 echo "configure: failed program was:" >&5
10516 cat conftest.$ac_ext >&5
10518 glibcpp_cv_func___builtin_cos_use=no
10522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10523 ac_cpp='$CPP $CPPFLAGS'
10524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10526 cross_compiling=$ac_cv_prog_cc_cross
10532 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10533 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10534 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10535 echo "configure:10536: checking for __builtin_cos linkage" >&5
10536 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10537 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10541 cat > conftest.$ac_ext <<EOF
10542 #line 10543 "configure"
10543 #include "confdefs.h"
10549 if { (eval echo configure:10550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10551 glibcpp_cv_func___builtin_cos_link=yes
10553 echo "configure: failed program was:" >&5
10554 cat conftest.$ac_ext >&5
10556 glibcpp_cv_func___builtin_cos_link=no
10563 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10564 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10565 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10566 cat >> confdefs.h <<EOF
10567 #define ${ac_tr_func} 1
10574 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10575 echo "configure:10576: checking for __builtin_cosl declaration" >&5
10576 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10577 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10578 echo $ac_n "(cached) $ac_c" 1>&6
10583 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10584 ac_cpp='$CXXCPP $CPPFLAGS'
10585 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10586 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10587 cross_compiling=$ac_cv_prog_cxx_cross
10589 cat > conftest.$ac_ext <<EOF
10590 #line 10591 "configure"
10591 #include "confdefs.h"
10597 if { (eval echo configure:10598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10599 glibcpp_cv_func___builtin_cosl_use=yes
10601 echo "configure: failed program was:" >&5
10602 cat conftest.$ac_ext >&5
10604 glibcpp_cv_func___builtin_cosl_use=no
10608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10609 ac_cpp='$CPP $CPPFLAGS'
10610 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10611 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10612 cross_compiling=$ac_cv_prog_cc_cross
10618 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10619 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10620 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10621 echo "configure:10622: checking for __builtin_cosl linkage" >&5
10622 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10623 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10627 cat > conftest.$ac_ext <<EOF
10628 #line 10629 "configure"
10629 #include "confdefs.h"
10635 if { (eval echo configure:10636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10637 glibcpp_cv_func___builtin_cosl_link=yes
10639 echo "configure: failed program was:" >&5
10640 cat conftest.$ac_ext >&5
10642 glibcpp_cv_func___builtin_cosl_link=no
10649 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10650 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10651 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10652 cat >> confdefs.h <<EOF
10653 #define ${ac_tr_func} 1
10661 if test x$dummyvar = x"yes"; then
10662 cat >> confdefs.h <<\EOF
10663 #define HAVE___BUILTIN_ABS 1
10666 cat >> confdefs.h <<\EOF
10667 #define HAVE___BUILTIN_LABS 1
10670 cat >> confdefs.h <<\EOF
10671 #define HAVE___BUILTIN_COS 1
10674 cat >> confdefs.h <<\EOF
10675 #define HAVE___BUILTIN_COSF 1
10678 cat >> confdefs.h <<\EOF
10679 #define HAVE___BUILTIN_COSL 1
10682 cat >> confdefs.h <<\EOF
10683 #define HAVE___BUILTIN_FABS 1
10686 cat >> confdefs.h <<\EOF
10687 #define HAVE___BUILTIN_FABSF 1
10690 cat >> confdefs.h <<\EOF
10691 #define HAVE___BUILTIN_FABSL 1
10694 cat >> confdefs.h <<\EOF
10695 #define HAVE___BUILTIN_SIN 1
10698 cat >> confdefs.h <<\EOF
10699 #define HAVE___BUILTIN_SINF 1
10702 cat >> confdefs.h <<\EOF
10703 #define HAVE___BUILTIN_SINL 1
10706 cat >> confdefs.h <<\EOF
10707 #define HAVE___BUILTIN_SQRT 1
10710 cat >> confdefs.h <<\EOF
10711 #define HAVE___BUILTIN_SQRTF 1
10714 cat >> confdefs.h <<\EOF
10715 #define HAVE___BUILTIN_SQRTL 1
10721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10722 ac_save_CXXFLAGS="$CXXFLAGS"
10723 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10725 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10726 echo "configure:10727: checking for sin in -lm" >&5
10727 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10731 ac_save_LIBS="$LIBS"
10733 cat > conftest.$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10736 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10747 eval "ac_cv_lib_$ac_lib_var=yes"
10749 echo "configure: failed program was:" >&5
10750 cat conftest.$ac_ext >&5
10752 eval "ac_cv_lib_$ac_lib_var=no"
10755 LIBS="$ac_save_LIBS"
10758 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10759 echo "$ac_t""yes" 1>&6
10762 echo "$ac_t""no" 1>&6
10765 ac_save_LIBS="$LIBS"
10770 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10771 echo "configure:10772: checking for isinf declaration" >&5
10772 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10773 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10774 echo $ac_n "(cached) $ac_c" 1>&6
10779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10780 ac_cpp='$CXXCPP $CPPFLAGS'
10781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10783 cross_compiling=$ac_cv_prog_cxx_cross
10785 cat > conftest.$ac_ext <<EOF
10786 #line 10787 "configure"
10787 #include "confdefs.h"
10789 #ifdef HAVE_IEEEFP_H
10790 #include <ieeefp.h>
10797 if { (eval echo configure:10798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10799 glibcpp_cv_func_isinf_use=yes
10801 echo "configure: failed program was:" >&5
10802 cat conftest.$ac_ext >&5
10804 glibcpp_cv_func_isinf_use=no
10808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10809 ac_cpp='$CPP $CPPFLAGS'
10810 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10811 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10812 cross_compiling=$ac_cv_prog_cc_cross
10818 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10820 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10821 for ac_func in isinf
10823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10824 echo "configure:10825: checking for $ac_func" >&5
10825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10828 cat > conftest.$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10831 /* System header to define __stub macros and hopefully few prototypes,
10832 which can conflict with char $ac_func(); below. */
10833 #include <assert.h>
10834 /* Override any gcc2 internal prototype to avoid an error. */
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10841 /* The GNU C library defines this for functions which it implements
10842 to always fail with ENOSYS. Some functions are actually named
10843 something starting with __ and the normal name is an alias. */
10844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10852 if { (eval echo configure:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10854 eval "ac_cv_func_$ac_func=yes"
10856 echo "configure: failed program was:" >&5
10857 cat conftest.$ac_ext >&5
10859 eval "ac_cv_func_$ac_func=no"
10864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10867 cat >> confdefs.h <<EOF
10868 #define $ac_tr_func 1
10872 echo "$ac_t""no" 1>&6
10878 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10879 echo "configure:10880: checking for _isinf declaration" >&5
10880 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10881 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10888 ac_cpp='$CXXCPP $CPPFLAGS'
10889 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10890 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10891 cross_compiling=$ac_cv_prog_cxx_cross
10893 cat > conftest.$ac_ext <<EOF
10894 #line 10895 "configure"
10895 #include "confdefs.h"
10897 #ifdef HAVE_IEEEFP_H
10898 #include <ieeefp.h>
10905 if { (eval echo configure:10906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10907 glibcpp_cv_func__isinf_use=yes
10909 echo "configure: failed program was:" >&5
10910 cat conftest.$ac_ext >&5
10912 glibcpp_cv_func__isinf_use=no
10916 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10917 ac_cpp='$CPP $CPPFLAGS'
10918 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10919 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10920 cross_compiling=$ac_cv_prog_cc_cross
10926 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10928 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10929 for ac_func in _isinf
10931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_func" >&5
10933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10936 cat > conftest.$ac_ext <<EOF
10937 #line 10938 "configure"
10938 #include "confdefs.h"
10939 /* System header to define __stub macros and hopefully few prototypes,
10940 which can conflict with char $ac_func(); below. */
10941 #include <assert.h>
10942 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10949 /* The GNU C library defines this for functions which it implements
10950 to always fail with ENOSYS. Some functions are actually named
10951 something starting with __ and the normal name is an alias. */
10952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10960 if { (eval echo configure:10961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10962 eval "ac_cv_func_$ac_func=yes"
10964 echo "configure: failed program was:" >&5
10965 cat conftest.$ac_ext >&5
10967 eval "ac_cv_func_$ac_func=no"
10972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10973 echo "$ac_t""yes" 1>&6
10974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10975 cat >> confdefs.h <<EOF
10976 #define $ac_tr_func 1
10980 echo "$ac_t""no" 1>&6
10989 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10990 echo "configure:10991: checking for isnan declaration" >&5
10991 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10992 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10993 echo $ac_n "(cached) $ac_c" 1>&6
10998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10999 ac_cpp='$CXXCPP $CPPFLAGS'
11000 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11001 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11002 cross_compiling=$ac_cv_prog_cxx_cross
11004 cat > conftest.$ac_ext <<EOF
11005 #line 11006 "configure"
11006 #include "confdefs.h"
11008 #ifdef HAVE_IEEEFP_H
11009 #include <ieeefp.h>
11016 if { (eval echo configure:11017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11018 glibcpp_cv_func_isnan_use=yes
11020 echo "configure: failed program was:" >&5
11021 cat conftest.$ac_ext >&5
11023 glibcpp_cv_func_isnan_use=no
11027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11028 ac_cpp='$CPP $CPPFLAGS'
11029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11031 cross_compiling=$ac_cv_prog_cc_cross
11037 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11039 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11040 for ac_func in isnan
11042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11043 echo "configure:11044: checking for $ac_func" >&5
11044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11045 echo $ac_n "(cached) $ac_c" 1>&6
11047 cat > conftest.$ac_ext <<EOF
11048 #line 11049 "configure"
11049 #include "confdefs.h"
11050 /* System header to define __stub macros and hopefully few prototypes,
11051 which can conflict with char $ac_func(); below. */
11052 #include <assert.h>
11053 /* Override any gcc2 internal prototype to avoid an error. */
11054 /* We use char because int might match the return type of a gcc2
11055 builtin and then its argument prototype would still apply. */
11060 /* The GNU C library defines this for functions which it implements
11061 to always fail with ENOSYS. Some functions are actually named
11062 something starting with __ and the normal name is an alias. */
11063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11071 if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11073 eval "ac_cv_func_$ac_func=yes"
11075 echo "configure: failed program was:" >&5
11076 cat conftest.$ac_ext >&5
11078 eval "ac_cv_func_$ac_func=no"
11083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11084 echo "$ac_t""yes" 1>&6
11085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11086 cat >> confdefs.h <<EOF
11087 #define $ac_tr_func 1
11091 echo "$ac_t""no" 1>&6
11097 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11098 echo "configure:11099: checking for _isnan declaration" >&5
11099 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11100 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11101 echo $ac_n "(cached) $ac_c" 1>&6
11106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11107 ac_cpp='$CXXCPP $CPPFLAGS'
11108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11110 cross_compiling=$ac_cv_prog_cxx_cross
11112 cat > conftest.$ac_ext <<EOF
11113 #line 11114 "configure"
11114 #include "confdefs.h"
11116 #ifdef HAVE_IEEEFP_H
11117 #include <ieeefp.h>
11124 if { (eval echo configure:11125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11126 glibcpp_cv_func__isnan_use=yes
11128 echo "configure: failed program was:" >&5
11129 cat conftest.$ac_ext >&5
11131 glibcpp_cv_func__isnan_use=no
11135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11136 ac_cpp='$CPP $CPPFLAGS'
11137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11139 cross_compiling=$ac_cv_prog_cc_cross
11145 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11147 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11148 for ac_func in _isnan
11150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11151 echo "configure:11152: checking for $ac_func" >&5
11152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11153 echo $ac_n "(cached) $ac_c" 1>&6
11155 cat > conftest.$ac_ext <<EOF
11156 #line 11157 "configure"
11157 #include "confdefs.h"
11158 /* System header to define __stub macros and hopefully few prototypes,
11159 which can conflict with char $ac_func(); below. */
11160 #include <assert.h>
11161 /* Override any gcc2 internal prototype to avoid an error. */
11162 /* We use char because int might match the return type of a gcc2
11163 builtin and then its argument prototype would still apply. */
11168 /* The GNU C library defines this for functions which it implements
11169 to always fail with ENOSYS. Some functions are actually named
11170 something starting with __ and the normal name is an alias. */
11171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11179 if { (eval echo configure:11180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11181 eval "ac_cv_func_$ac_func=yes"
11183 echo "configure: failed program was:" >&5
11184 cat conftest.$ac_ext >&5
11186 eval "ac_cv_func_$ac_func=no"
11191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11192 echo "$ac_t""yes" 1>&6
11193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11194 cat >> confdefs.h <<EOF
11195 #define $ac_tr_func 1
11199 echo "$ac_t""no" 1>&6
11208 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11209 echo "configure:11210: checking for finite declaration" >&5
11210 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11211 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11212 echo $ac_n "(cached) $ac_c" 1>&6
11217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp='$CXXCPP $CPPFLAGS'
11219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling=$ac_cv_prog_cxx_cross
11223 cat > conftest.$ac_ext <<EOF
11224 #line 11225 "configure"
11225 #include "confdefs.h"
11227 #ifdef HAVE_IEEEFP_H
11228 #include <ieeefp.h>
11235 if { (eval echo configure:11236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11237 glibcpp_cv_func_finite_use=yes
11239 echo "configure: failed program was:" >&5
11240 cat conftest.$ac_ext >&5
11242 glibcpp_cv_func_finite_use=no
11246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11247 ac_cpp='$CPP $CPPFLAGS'
11248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11250 cross_compiling=$ac_cv_prog_cc_cross
11256 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11258 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11259 for ac_func in finite
11261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11262 echo "configure:11263: checking for $ac_func" >&5
11263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11266 cat > conftest.$ac_ext <<EOF
11267 #line 11268 "configure"
11268 #include "confdefs.h"
11269 /* System header to define __stub macros and hopefully few prototypes,
11270 which can conflict with char $ac_func(); below. */
11271 #include <assert.h>
11272 /* Override any gcc2 internal prototype to avoid an error. */
11273 /* We use char because int might match the return type of a gcc2
11274 builtin and then its argument prototype would still apply. */
11279 /* The GNU C library defines this for functions which it implements
11280 to always fail with ENOSYS. Some functions are actually named
11281 something starting with __ and the normal name is an alias. */
11282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11292 eval "ac_cv_func_$ac_func=yes"
11294 echo "configure: failed program was:" >&5
11295 cat conftest.$ac_ext >&5
11297 eval "ac_cv_func_$ac_func=no"
11302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11303 echo "$ac_t""yes" 1>&6
11304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11305 cat >> confdefs.h <<EOF
11306 #define $ac_tr_func 1
11310 echo "$ac_t""no" 1>&6
11316 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11317 echo "configure:11318: checking for _finite declaration" >&5
11318 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11319 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11320 echo $ac_n "(cached) $ac_c" 1>&6
11325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11326 ac_cpp='$CXXCPP $CPPFLAGS'
11327 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11328 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11329 cross_compiling=$ac_cv_prog_cxx_cross
11331 cat > conftest.$ac_ext <<EOF
11332 #line 11333 "configure"
11333 #include "confdefs.h"
11335 #ifdef HAVE_IEEEFP_H
11336 #include <ieeefp.h>
11343 if { (eval echo configure:11344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11345 glibcpp_cv_func__finite_use=yes
11347 echo "configure: failed program was:" >&5
11348 cat conftest.$ac_ext >&5
11350 glibcpp_cv_func__finite_use=no
11354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11355 ac_cpp='$CPP $CPPFLAGS'
11356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11358 cross_compiling=$ac_cv_prog_cc_cross
11364 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11366 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11367 for ac_func in _finite
11369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11370 echo "configure:11371: checking for $ac_func" >&5
11371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11374 cat > conftest.$ac_ext <<EOF
11375 #line 11376 "configure"
11376 #include "confdefs.h"
11377 /* System header to define __stub macros and hopefully few prototypes,
11378 which can conflict with char $ac_func(); below. */
11379 #include <assert.h>
11380 /* Override any gcc2 internal prototype to avoid an error. */
11381 /* We use char because int might match the return type of a gcc2
11382 builtin and then its argument prototype would still apply. */
11387 /* The GNU C library defines this for functions which it implements
11388 to always fail with ENOSYS. Some functions are actually named
11389 something starting with __ and the normal name is an alias. */
11390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11398 if { (eval echo configure:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11400 eval "ac_cv_func_$ac_func=yes"
11402 echo "configure: failed program was:" >&5
11403 cat conftest.$ac_ext >&5
11405 eval "ac_cv_func_$ac_func=no"
11410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11411 echo "$ac_t""yes" 1>&6
11412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11413 cat >> confdefs.h <<EOF
11414 #define $ac_tr_func 1
11418 echo "$ac_t""no" 1>&6
11427 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11428 echo "configure:11429: checking for copysign declaration" >&5
11429 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11430 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11431 echo $ac_n "(cached) $ac_c" 1>&6
11436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11437 ac_cpp='$CXXCPP $CPPFLAGS'
11438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11440 cross_compiling=$ac_cv_prog_cxx_cross
11442 cat > conftest.$ac_ext <<EOF
11443 #line 11444 "configure"
11444 #include "confdefs.h"
11450 if { (eval echo configure:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11452 glibcpp_cv_func_copysign_use=yes
11454 echo "configure: failed program was:" >&5
11455 cat conftest.$ac_ext >&5
11457 glibcpp_cv_func_copysign_use=no
11461 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11462 ac_cpp='$CPP $CPPFLAGS'
11463 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11464 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11465 cross_compiling=$ac_cv_prog_cc_cross
11471 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11473 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11474 for ac_func in copysign
11476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11477 echo "configure:11478: checking for $ac_func" >&5
11478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11479 echo $ac_n "(cached) $ac_c" 1>&6
11481 cat > conftest.$ac_ext <<EOF
11482 #line 11483 "configure"
11483 #include "confdefs.h"
11484 /* System header to define __stub macros and hopefully few prototypes,
11485 which can conflict with char $ac_func(); below. */
11486 #include <assert.h>
11487 /* Override any gcc2 internal prototype to avoid an error. */
11488 /* We use char because int might match the return type of a gcc2
11489 builtin and then its argument prototype would still apply. */
11494 /* The GNU C library defines this for functions which it implements
11495 to always fail with ENOSYS. Some functions are actually named
11496 something starting with __ and the normal name is an alias. */
11497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11505 if { (eval echo configure:11506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11507 eval "ac_cv_func_$ac_func=yes"
11509 echo "configure: failed program was:" >&5
11510 cat conftest.$ac_ext >&5
11512 eval "ac_cv_func_$ac_func=no"
11517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11518 echo "$ac_t""yes" 1>&6
11519 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11520 cat >> confdefs.h <<EOF
11521 #define $ac_tr_func 1
11525 echo "$ac_t""no" 1>&6
11531 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11532 echo "configure:11533: checking for _copysign declaration" >&5
11533 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11534 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11535 echo $ac_n "(cached) $ac_c" 1>&6
11540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11541 ac_cpp='$CXXCPP $CPPFLAGS'
11542 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11543 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11544 cross_compiling=$ac_cv_prog_cxx_cross
11546 cat > conftest.$ac_ext <<EOF
11547 #line 11548 "configure"
11548 #include "confdefs.h"
11554 if { (eval echo configure:11555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11556 glibcpp_cv_func__copysign_use=yes
11558 echo "configure: failed program was:" >&5
11559 cat conftest.$ac_ext >&5
11561 glibcpp_cv_func__copysign_use=no
11565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11566 ac_cpp='$CPP $CPPFLAGS'
11567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11569 cross_compiling=$ac_cv_prog_cc_cross
11575 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11577 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11578 for ac_func in _copysign
11580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11581 echo "configure:11582: checking for $ac_func" >&5
11582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11583 echo $ac_n "(cached) $ac_c" 1>&6
11585 cat > conftest.$ac_ext <<EOF
11586 #line 11587 "configure"
11587 #include "confdefs.h"
11588 /* System header to define __stub macros and hopefully few prototypes,
11589 which can conflict with char $ac_func(); below. */
11590 #include <assert.h>
11591 /* Override any gcc2 internal prototype to avoid an error. */
11592 /* We use char because int might match the return type of a gcc2
11593 builtin and then its argument prototype would still apply. */
11598 /* The GNU C library defines this for functions which it implements
11599 to always fail with ENOSYS. Some functions are actually named
11600 something starting with __ and the normal name is an alias. */
11601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11609 if { (eval echo configure:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11611 eval "ac_cv_func_$ac_func=yes"
11613 echo "configure: failed program was:" >&5
11614 cat conftest.$ac_ext >&5
11616 eval "ac_cv_func_$ac_func=no"
11621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11622 echo "$ac_t""yes" 1>&6
11623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11624 cat >> confdefs.h <<EOF
11625 #define $ac_tr_func 1
11629 echo "$ac_t""no" 1>&6
11638 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11639 echo "configure:11640: checking for sincos declaration" >&5
11640 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11641 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11648 ac_cpp='$CXXCPP $CPPFLAGS'
11649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11651 cross_compiling=$ac_cv_prog_cxx_cross
11653 cat > conftest.$ac_ext <<EOF
11654 #line 11655 "configure"
11655 #include "confdefs.h"
11661 if { (eval echo configure:11662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11663 glibcpp_cv_func_sincos_use=yes
11665 echo "configure: failed program was:" >&5
11666 cat conftest.$ac_ext >&5
11668 glibcpp_cv_func_sincos_use=no
11672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11673 ac_cpp='$CPP $CPPFLAGS'
11674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11676 cross_compiling=$ac_cv_prog_cc_cross
11682 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11684 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11685 for ac_func in sincos
11687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11688 echo "configure:11689: checking for $ac_func" >&5
11689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11690 echo $ac_n "(cached) $ac_c" 1>&6
11692 cat > conftest.$ac_ext <<EOF
11693 #line 11694 "configure"
11694 #include "confdefs.h"
11695 /* System header to define __stub macros and hopefully few prototypes,
11696 which can conflict with char $ac_func(); below. */
11697 #include <assert.h>
11698 /* Override any gcc2 internal prototype to avoid an error. */
11699 /* We use char because int might match the return type of a gcc2
11700 builtin and then its argument prototype would still apply. */
11705 /* The GNU C library defines this for functions which it implements
11706 to always fail with ENOSYS. Some functions are actually named
11707 something starting with __ and the normal name is an alias. */
11708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11716 if { (eval echo configure:11717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11718 eval "ac_cv_func_$ac_func=yes"
11720 echo "configure: failed program was:" >&5
11721 cat conftest.$ac_ext >&5
11723 eval "ac_cv_func_$ac_func=no"
11728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11729 echo "$ac_t""yes" 1>&6
11730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11731 cat >> confdefs.h <<EOF
11732 #define $ac_tr_func 1
11736 echo "$ac_t""no" 1>&6
11742 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11743 echo "configure:11744: checking for _sincos declaration" >&5
11744 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11745 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11746 echo $ac_n "(cached) $ac_c" 1>&6
11751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11752 ac_cpp='$CXXCPP $CPPFLAGS'
11753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11755 cross_compiling=$ac_cv_prog_cxx_cross
11757 cat > conftest.$ac_ext <<EOF
11758 #line 11759 "configure"
11759 #include "confdefs.h"
11765 if { (eval echo configure:11766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11767 glibcpp_cv_func__sincos_use=yes
11769 echo "configure: failed program was:" >&5
11770 cat conftest.$ac_ext >&5
11772 glibcpp_cv_func__sincos_use=no
11776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11777 ac_cpp='$CPP $CPPFLAGS'
11778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11780 cross_compiling=$ac_cv_prog_cc_cross
11786 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11788 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11789 for ac_func in _sincos
11791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11792 echo "configure:11793: checking for $ac_func" >&5
11793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11796 cat > conftest.$ac_ext <<EOF
11797 #line 11798 "configure"
11798 #include "confdefs.h"
11799 /* System header to define __stub macros and hopefully few prototypes,
11800 which can conflict with char $ac_func(); below. */
11801 #include <assert.h>
11802 /* Override any gcc2 internal prototype to avoid an error. */
11803 /* We use char because int might match the return type of a gcc2
11804 builtin and then its argument prototype would still apply. */
11809 /* The GNU C library defines this for functions which it implements
11810 to always fail with ENOSYS. Some functions are actually named
11811 something starting with __ and the normal name is an alias. */
11812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11822 eval "ac_cv_func_$ac_func=yes"
11824 echo "configure: failed program was:" >&5
11825 cat conftest.$ac_ext >&5
11827 eval "ac_cv_func_$ac_func=no"
11832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11833 echo "$ac_t""yes" 1>&6
11834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11835 cat >> confdefs.h <<EOF
11836 #define $ac_tr_func 1
11840 echo "$ac_t""no" 1>&6
11849 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11850 echo "configure:11851: checking for fpclass declaration" >&5
11851 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11852 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11853 echo $ac_n "(cached) $ac_c" 1>&6
11858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11859 ac_cpp='$CXXCPP $CPPFLAGS'
11860 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11861 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11862 cross_compiling=$ac_cv_prog_cxx_cross
11864 cat > conftest.$ac_ext <<EOF
11865 #line 11866 "configure"
11866 #include "confdefs.h"
11868 #ifdef HAVE_IEEEFP_H
11869 #include <ieeefp.h>
11876 if { (eval echo configure:11877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11878 glibcpp_cv_func_fpclass_use=yes
11880 echo "configure: failed program was:" >&5
11881 cat conftest.$ac_ext >&5
11883 glibcpp_cv_func_fpclass_use=no
11887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11888 ac_cpp='$CPP $CPPFLAGS'
11889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11891 cross_compiling=$ac_cv_prog_cc_cross
11897 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11899 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11900 for ac_func in fpclass
11902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11903 echo "configure:11904: checking for $ac_func" >&5
11904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11905 echo $ac_n "(cached) $ac_c" 1>&6
11907 cat > conftest.$ac_ext <<EOF
11908 #line 11909 "configure"
11909 #include "confdefs.h"
11910 /* System header to define __stub macros and hopefully few prototypes,
11911 which can conflict with char $ac_func(); below. */
11912 #include <assert.h>
11913 /* Override any gcc2 internal prototype to avoid an error. */
11914 /* We use char because int might match the return type of a gcc2
11915 builtin and then its argument prototype would still apply. */
11920 /* The GNU C library defines this for functions which it implements
11921 to always fail with ENOSYS. Some functions are actually named
11922 something starting with __ and the normal name is an alias. */
11923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11931 if { (eval echo configure:11932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11933 eval "ac_cv_func_$ac_func=yes"
11935 echo "configure: failed program was:" >&5
11936 cat conftest.$ac_ext >&5
11938 eval "ac_cv_func_$ac_func=no"
11943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11944 echo "$ac_t""yes" 1>&6
11945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11946 cat >> confdefs.h <<EOF
11947 #define $ac_tr_func 1
11951 echo "$ac_t""no" 1>&6
11957 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11958 echo "configure:11959: checking for _fpclass declaration" >&5
11959 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11960 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11967 ac_cpp='$CXXCPP $CPPFLAGS'
11968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11970 cross_compiling=$ac_cv_prog_cxx_cross
11972 cat > conftest.$ac_ext <<EOF
11973 #line 11974 "configure"
11974 #include "confdefs.h"
11976 #ifdef HAVE_IEEEFP_H
11977 #include <ieeefp.h>
11984 if { (eval echo configure:11985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11986 glibcpp_cv_func__fpclass_use=yes
11988 echo "configure: failed program was:" >&5
11989 cat conftest.$ac_ext >&5
11991 glibcpp_cv_func__fpclass_use=no
11995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11996 ac_cpp='$CPP $CPPFLAGS'
11997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11999 cross_compiling=$ac_cv_prog_cc_cross
12005 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12007 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12008 for ac_func in _fpclass
12010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12011 echo "configure:12012: checking for $ac_func" >&5
12012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12013 echo $ac_n "(cached) $ac_c" 1>&6
12015 cat > conftest.$ac_ext <<EOF
12016 #line 12017 "configure"
12017 #include "confdefs.h"
12018 /* System header to define __stub macros and hopefully few prototypes,
12019 which can conflict with char $ac_func(); below. */
12020 #include <assert.h>
12021 /* Override any gcc2 internal prototype to avoid an error. */
12022 /* We use char because int might match the return type of a gcc2
12023 builtin and then its argument prototype would still apply. */
12028 /* The GNU C library defines this for functions which it implements
12029 to always fail with ENOSYS. Some functions are actually named
12030 something starting with __ and the normal name is an alias. */
12031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12041 eval "ac_cv_func_$ac_func=yes"
12043 echo "configure: failed program was:" >&5
12044 cat conftest.$ac_ext >&5
12046 eval "ac_cv_func_$ac_func=no"
12051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12052 echo "$ac_t""yes" 1>&6
12053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12054 cat >> confdefs.h <<EOF
12055 #define $ac_tr_func 1
12059 echo "$ac_t""no" 1>&6
12068 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12069 echo "configure:12070: checking for qfpclass declaration" >&5
12070 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12071 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12072 echo $ac_n "(cached) $ac_c" 1>&6
12077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12078 ac_cpp='$CXXCPP $CPPFLAGS'
12079 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12080 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12081 cross_compiling=$ac_cv_prog_cxx_cross
12083 cat > conftest.$ac_ext <<EOF
12084 #line 12085 "configure"
12085 #include "confdefs.h"
12087 #ifdef HAVE_IEEEFP_H
12088 #include <ieeefp.h>
12095 if { (eval echo configure:12096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12097 glibcpp_cv_func_qfpclass_use=yes
12099 echo "configure: failed program was:" >&5
12100 cat conftest.$ac_ext >&5
12102 glibcpp_cv_func_qfpclass_use=no
12106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12107 ac_cpp='$CPP $CPPFLAGS'
12108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12110 cross_compiling=$ac_cv_prog_cc_cross
12116 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12118 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12119 for ac_func in qfpclass
12121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12122 echo "configure:12123: checking for $ac_func" >&5
12123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12124 echo $ac_n "(cached) $ac_c" 1>&6
12126 cat > conftest.$ac_ext <<EOF
12127 #line 12128 "configure"
12128 #include "confdefs.h"
12129 /* System header to define __stub macros and hopefully few prototypes,
12130 which can conflict with char $ac_func(); below. */
12131 #include <assert.h>
12132 /* Override any gcc2 internal prototype to avoid an error. */
12133 /* We use char because int might match the return type of a gcc2
12134 builtin and then its argument prototype would still apply. */
12139 /* The GNU C library defines this for functions which it implements
12140 to always fail with ENOSYS. Some functions are actually named
12141 something starting with __ and the normal name is an alias. */
12142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12150 if { (eval echo configure:12151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12152 eval "ac_cv_func_$ac_func=yes"
12154 echo "configure: failed program was:" >&5
12155 cat conftest.$ac_ext >&5
12157 eval "ac_cv_func_$ac_func=no"
12162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12163 echo "$ac_t""yes" 1>&6
12164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12165 cat >> confdefs.h <<EOF
12166 #define $ac_tr_func 1
12170 echo "$ac_t""no" 1>&6
12176 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12177 echo "configure:12178: checking for _qfpclass declaration" >&5
12178 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12179 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12186 ac_cpp='$CXXCPP $CPPFLAGS'
12187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12189 cross_compiling=$ac_cv_prog_cxx_cross
12191 cat > conftest.$ac_ext <<EOF
12192 #line 12193 "configure"
12193 #include "confdefs.h"
12195 #ifdef HAVE_IEEEFP_H
12196 #include <ieeefp.h>
12203 if { (eval echo configure:12204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12205 glibcpp_cv_func__qfpclass_use=yes
12207 echo "configure: failed program was:" >&5
12208 cat conftest.$ac_ext >&5
12210 glibcpp_cv_func__qfpclass_use=no
12214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12215 ac_cpp='$CPP $CPPFLAGS'
12216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12218 cross_compiling=$ac_cv_prog_cc_cross
12224 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12226 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12227 for ac_func in _qfpclass
12229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12230 echo "configure:12231: checking for $ac_func" >&5
12231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12232 echo $ac_n "(cached) $ac_c" 1>&6
12234 cat > conftest.$ac_ext <<EOF
12235 #line 12236 "configure"
12236 #include "confdefs.h"
12237 /* System header to define __stub macros and hopefully few prototypes,
12238 which can conflict with char $ac_func(); below. */
12239 #include <assert.h>
12240 /* Override any gcc2 internal prototype to avoid an error. */
12241 /* We use char because int might match the return type of a gcc2
12242 builtin and then its argument prototype would still apply. */
12247 /* The GNU C library defines this for functions which it implements
12248 to always fail with ENOSYS. Some functions are actually named
12249 something starting with __ and the normal name is an alias. */
12250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12260 eval "ac_cv_func_$ac_func=yes"
12262 echo "configure: failed program was:" >&5
12263 cat conftest.$ac_ext >&5
12265 eval "ac_cv_func_$ac_func=no"
12270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12271 echo "$ac_t""yes" 1>&6
12272 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12273 cat >> confdefs.h <<EOF
12274 #define $ac_tr_func 1
12278 echo "$ac_t""no" 1>&6
12287 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12288 echo "configure:12289: checking for hypot declaration" >&5
12289 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12290 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12291 echo $ac_n "(cached) $ac_c" 1>&6
12296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12297 ac_cpp='$CXXCPP $CPPFLAGS'
12298 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12299 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12300 cross_compiling=$ac_cv_prog_cxx_cross
12302 cat > conftest.$ac_ext <<EOF
12303 #line 12304 "configure"
12304 #include "confdefs.h"
12310 if { (eval echo configure:12311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12312 glibcpp_cv_func_hypot_use=yes
12314 echo "configure: failed program was:" >&5
12315 cat conftest.$ac_ext >&5
12317 glibcpp_cv_func_hypot_use=no
12321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12322 ac_cpp='$CPP $CPPFLAGS'
12323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12325 cross_compiling=$ac_cv_prog_cc_cross
12331 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12333 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12334 for ac_func in hypot
12336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12337 echo "configure:12338: checking for $ac_func" >&5
12338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12339 echo $ac_n "(cached) $ac_c" 1>&6
12341 cat > conftest.$ac_ext <<EOF
12342 #line 12343 "configure"
12343 #include "confdefs.h"
12344 /* System header to define __stub macros and hopefully few prototypes,
12345 which can conflict with char $ac_func(); below. */
12346 #include <assert.h>
12347 /* Override any gcc2 internal prototype to avoid an error. */
12348 /* We use char because int might match the return type of a gcc2
12349 builtin and then its argument prototype would still apply. */
12354 /* The GNU C library defines this for functions which it implements
12355 to always fail with ENOSYS. Some functions are actually named
12356 something starting with __ and the normal name is an alias. */
12357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12365 if { (eval echo configure:12366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12367 eval "ac_cv_func_$ac_func=yes"
12369 echo "configure: failed program was:" >&5
12370 cat conftest.$ac_ext >&5
12372 eval "ac_cv_func_$ac_func=no"
12377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12378 echo "$ac_t""yes" 1>&6
12379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12380 cat >> confdefs.h <<EOF
12381 #define $ac_tr_func 1
12385 echo "$ac_t""no" 1>&6
12391 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12392 echo "configure:12393: checking for _hypot declaration" >&5
12393 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12394 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12395 echo $ac_n "(cached) $ac_c" 1>&6
12400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12401 ac_cpp='$CXXCPP $CPPFLAGS'
12402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12404 cross_compiling=$ac_cv_prog_cxx_cross
12406 cat > conftest.$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12414 if { (eval echo configure:12415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12416 glibcpp_cv_func__hypot_use=yes
12418 echo "configure: failed program was:" >&5
12419 cat conftest.$ac_ext >&5
12421 glibcpp_cv_func__hypot_use=no
12425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12426 ac_cpp='$CPP $CPPFLAGS'
12427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12429 cross_compiling=$ac_cv_prog_cc_cross
12435 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12437 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12438 for ac_func in _hypot
12440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12441 echo "configure:12442: checking for $ac_func" >&5
12442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12445 cat > conftest.$ac_ext <<EOF
12446 #line 12447 "configure"
12447 #include "confdefs.h"
12448 /* System header to define __stub macros and hopefully few prototypes,
12449 which can conflict with char $ac_func(); below. */
12450 #include <assert.h>
12451 /* Override any gcc2 internal prototype to avoid an error. */
12452 /* We use char because int might match the return type of a gcc2
12453 builtin and then its argument prototype would still apply. */
12458 /* The GNU C library defines this for functions which it implements
12459 to always fail with ENOSYS. Some functions are actually named
12460 something starting with __ and the normal name is an alias. */
12461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12469 if { (eval echo configure:12470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12471 eval "ac_cv_func_$ac_func=yes"
12473 echo "configure: failed program was:" >&5
12474 cat conftest.$ac_ext >&5
12476 eval "ac_cv_func_$ac_func=no"
12481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12482 echo "$ac_t""yes" 1>&6
12483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12484 cat >> confdefs.h <<EOF
12485 #define $ac_tr_func 1
12489 echo "$ac_t""no" 1>&6
12498 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12499 echo "configure:12500: checking for float trig functions" >&5
12500 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12501 echo $ac_n "(cached) $ac_c" 1>&6
12506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12507 ac_cpp='$CXXCPP $CPPFLAGS'
12508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12510 cross_compiling=$ac_cv_prog_cxx_cross
12512 cat > conftest.$ac_ext <<EOF
12513 #line 12514 "configure"
12514 #include "confdefs.h"
12517 `for x in acosf asinf atanf \
12519 coshf sinhf tanhf; do echo "$x (0);"; done`
12522 if { (eval echo configure:12523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12524 glibcpp_cv_func_float_trig_use=yes
12526 echo "configure: failed program was:" >&5
12527 cat conftest.$ac_ext >&5
12529 glibcpp_cv_func_float_trig_use=no
12533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12534 ac_cpp='$CPP $CPPFLAGS'
12535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12537 cross_compiling=$ac_cv_prog_cc_cross
12541 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12542 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12543 for ac_func in acosf asinf atanf \
12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12548 echo "configure:12549: checking for $ac_func" >&5
12549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12550 echo $ac_n "(cached) $ac_c" 1>&6
12552 cat > conftest.$ac_ext <<EOF
12553 #line 12554 "configure"
12554 #include "confdefs.h"
12555 /* System header to define __stub macros and hopefully few prototypes,
12556 which can conflict with char $ac_func(); below. */
12557 #include <assert.h>
12558 /* Override any gcc2 internal prototype to avoid an error. */
12559 /* We use char because int might match the return type of a gcc2
12560 builtin and then its argument prototype would still apply. */
12565 /* The GNU C library defines this for functions which it implements
12566 to always fail with ENOSYS. Some functions are actually named
12567 something starting with __ and the normal name is an alias. */
12568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12576 if { (eval echo configure:12577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12578 eval "ac_cv_func_$ac_func=yes"
12580 echo "configure: failed program was:" >&5
12581 cat conftest.$ac_ext >&5
12583 eval "ac_cv_func_$ac_func=no"
12588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12589 echo "$ac_t""yes" 1>&6
12590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12591 cat >> confdefs.h <<EOF
12592 #define $ac_tr_func 1
12596 echo "$ac_t""no" 1>&6
12603 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12604 echo "configure:12605: checking for float round functions" >&5
12605 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12606 echo $ac_n "(cached) $ac_c" 1>&6
12611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12612 ac_cpp='$CXXCPP $CPPFLAGS'
12613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12615 cross_compiling=$ac_cv_prog_cxx_cross
12617 cat > conftest.$ac_ext <<EOF
12618 #line 12619 "configure"
12619 #include "confdefs.h"
12622 `for x in ceilf floorf; do echo "$x (0);"; done`
12625 if { (eval echo configure:12626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12627 glibcpp_cv_func_float_round_use=yes
12629 echo "configure: failed program was:" >&5
12630 cat conftest.$ac_ext >&5
12632 glibcpp_cv_func_float_round_use=no
12636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12637 ac_cpp='$CPP $CPPFLAGS'
12638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12640 cross_compiling=$ac_cv_prog_cc_cross
12644 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12645 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12646 for ac_func in ceilf floorf
12648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12649 echo "configure:12650: checking for $ac_func" >&5
12650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12651 echo $ac_n "(cached) $ac_c" 1>&6
12653 cat > conftest.$ac_ext <<EOF
12654 #line 12655 "configure"
12655 #include "confdefs.h"
12656 /* System header to define __stub macros and hopefully few prototypes,
12657 which can conflict with char $ac_func(); below. */
12658 #include <assert.h>
12659 /* Override any gcc2 internal prototype to avoid an error. */
12660 /* We use char because int might match the return type of a gcc2
12661 builtin and then its argument prototype would still apply. */
12666 /* The GNU C library defines this for functions which it implements
12667 to always fail with ENOSYS. Some functions are actually named
12668 something starting with __ and the normal name is an alias. */
12669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12677 if { (eval echo configure:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12679 eval "ac_cv_func_$ac_func=yes"
12681 echo "configure: failed program was:" >&5
12682 cat conftest.$ac_ext >&5
12684 eval "ac_cv_func_$ac_func=no"
12689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12690 echo "$ac_t""yes" 1>&6
12691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12692 cat >> confdefs.h <<EOF
12693 #define $ac_tr_func 1
12697 echo "$ac_t""no" 1>&6
12705 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12706 echo "configure:12707: checking for expf declaration" >&5
12707 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12708 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12709 echo $ac_n "(cached) $ac_c" 1>&6
12714 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12715 ac_cpp='$CXXCPP $CPPFLAGS'
12716 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12717 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12718 cross_compiling=$ac_cv_prog_cxx_cross
12720 cat > conftest.$ac_ext <<EOF
12721 #line 12722 "configure"
12722 #include "confdefs.h"
12724 #ifdef HAVE_IEEEFP_H
12725 #include <ieeefp.h>
12732 if { (eval echo configure:12733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12734 glibcpp_cv_func_expf_use=yes
12736 echo "configure: failed program was:" >&5
12737 cat conftest.$ac_ext >&5
12739 glibcpp_cv_func_expf_use=no
12743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12744 ac_cpp='$CPP $CPPFLAGS'
12745 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12746 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12747 cross_compiling=$ac_cv_prog_cc_cross
12753 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12755 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12756 for ac_func in expf
12758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12759 echo "configure:12760: checking for $ac_func" >&5
12760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12761 echo $ac_n "(cached) $ac_c" 1>&6
12763 cat > conftest.$ac_ext <<EOF
12764 #line 12765 "configure"
12765 #include "confdefs.h"
12766 /* System header to define __stub macros and hopefully few prototypes,
12767 which can conflict with char $ac_func(); below. */
12768 #include <assert.h>
12769 /* Override any gcc2 internal prototype to avoid an error. */
12770 /* We use char because int might match the return type of a gcc2
12771 builtin and then its argument prototype would still apply. */
12776 /* The GNU C library defines this for functions which it implements
12777 to always fail with ENOSYS. Some functions are actually named
12778 something starting with __ and the normal name is an alias. */
12779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12787 if { (eval echo configure:12788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12789 eval "ac_cv_func_$ac_func=yes"
12791 echo "configure: failed program was:" >&5
12792 cat conftest.$ac_ext >&5
12794 eval "ac_cv_func_$ac_func=no"
12799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12800 echo "$ac_t""yes" 1>&6
12801 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12802 cat >> confdefs.h <<EOF
12803 #define $ac_tr_func 1
12807 echo "$ac_t""no" 1>&6
12813 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12814 echo "configure:12815: checking for _expf declaration" >&5
12815 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12816 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12817 echo $ac_n "(cached) $ac_c" 1>&6
12822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12823 ac_cpp='$CXXCPP $CPPFLAGS'
12824 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12825 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12826 cross_compiling=$ac_cv_prog_cxx_cross
12828 cat > conftest.$ac_ext <<EOF
12829 #line 12830 "configure"
12830 #include "confdefs.h"
12832 #ifdef HAVE_IEEEFP_H
12833 #include <ieeefp.h>
12840 if { (eval echo configure:12841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12842 glibcpp_cv_func__expf_use=yes
12844 echo "configure: failed program was:" >&5
12845 cat conftest.$ac_ext >&5
12847 glibcpp_cv_func__expf_use=no
12851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12852 ac_cpp='$CPP $CPPFLAGS'
12853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12855 cross_compiling=$ac_cv_prog_cc_cross
12861 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12863 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12864 for ac_func in _expf
12866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12867 echo "configure:12868: checking for $ac_func" >&5
12868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12869 echo $ac_n "(cached) $ac_c" 1>&6
12871 cat > conftest.$ac_ext <<EOF
12872 #line 12873 "configure"
12873 #include "confdefs.h"
12874 /* System header to define __stub macros and hopefully few prototypes,
12875 which can conflict with char $ac_func(); below. */
12876 #include <assert.h>
12877 /* Override any gcc2 internal prototype to avoid an error. */
12878 /* We use char because int might match the return type of a gcc2
12879 builtin and then its argument prototype would still apply. */
12884 /* The GNU C library defines this for functions which it implements
12885 to always fail with ENOSYS. Some functions are actually named
12886 something starting with __ and the normal name is an alias. */
12887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12897 eval "ac_cv_func_$ac_func=yes"
12899 echo "configure: failed program was:" >&5
12900 cat conftest.$ac_ext >&5
12902 eval "ac_cv_func_$ac_func=no"
12907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12908 echo "$ac_t""yes" 1>&6
12909 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12910 cat >> confdefs.h <<EOF
12911 #define $ac_tr_func 1
12915 echo "$ac_t""no" 1>&6
12924 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12925 echo "configure:12926: checking for isnanf declaration" >&5
12926 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12927 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12934 ac_cpp='$CXXCPP $CPPFLAGS'
12935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12937 cross_compiling=$ac_cv_prog_cxx_cross
12939 cat > conftest.$ac_ext <<EOF
12940 #line 12941 "configure"
12941 #include "confdefs.h"
12943 #ifdef HAVE_IEEEFP_H
12944 #include <ieeefp.h>
12951 if { (eval echo configure:12952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12953 glibcpp_cv_func_isnanf_use=yes
12955 echo "configure: failed program was:" >&5
12956 cat conftest.$ac_ext >&5
12958 glibcpp_cv_func_isnanf_use=no
12962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12963 ac_cpp='$CPP $CPPFLAGS'
12964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12966 cross_compiling=$ac_cv_prog_cc_cross
12972 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12974 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12975 for ac_func in isnanf
12977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12978 echo "configure:12979: checking for $ac_func" >&5
12979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12980 echo $ac_n "(cached) $ac_c" 1>&6
12982 cat > conftest.$ac_ext <<EOF
12983 #line 12984 "configure"
12984 #include "confdefs.h"
12985 /* System header to define __stub macros and hopefully few prototypes,
12986 which can conflict with char $ac_func(); below. */
12987 #include <assert.h>
12988 /* Override any gcc2 internal prototype to avoid an error. */
12989 /* We use char because int might match the return type of a gcc2
12990 builtin and then its argument prototype would still apply. */
12995 /* The GNU C library defines this for functions which it implements
12996 to always fail with ENOSYS. Some functions are actually named
12997 something starting with __ and the normal name is an alias. */
12998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13006 if { (eval echo configure:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13008 eval "ac_cv_func_$ac_func=yes"
13010 echo "configure: failed program was:" >&5
13011 cat conftest.$ac_ext >&5
13013 eval "ac_cv_func_$ac_func=no"
13018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13019 echo "$ac_t""yes" 1>&6
13020 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13021 cat >> confdefs.h <<EOF
13022 #define $ac_tr_func 1
13026 echo "$ac_t""no" 1>&6
13032 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13033 echo "configure:13034: checking for _isnanf declaration" >&5
13034 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13035 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13042 ac_cpp='$CXXCPP $CPPFLAGS'
13043 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13044 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13045 cross_compiling=$ac_cv_prog_cxx_cross
13047 cat > conftest.$ac_ext <<EOF
13048 #line 13049 "configure"
13049 #include "confdefs.h"
13051 #ifdef HAVE_IEEEFP_H
13052 #include <ieeefp.h>
13059 if { (eval echo configure:13060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13061 glibcpp_cv_func__isnanf_use=yes
13063 echo "configure: failed program was:" >&5
13064 cat conftest.$ac_ext >&5
13066 glibcpp_cv_func__isnanf_use=no
13070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13071 ac_cpp='$CPP $CPPFLAGS'
13072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13074 cross_compiling=$ac_cv_prog_cc_cross
13080 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13082 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13083 for ac_func in _isnanf
13085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13086 echo "configure:13087: checking for $ac_func" >&5
13087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13088 echo $ac_n "(cached) $ac_c" 1>&6
13090 cat > conftest.$ac_ext <<EOF
13091 #line 13092 "configure"
13092 #include "confdefs.h"
13093 /* System header to define __stub macros and hopefully few prototypes,
13094 which can conflict with char $ac_func(); below. */
13095 #include <assert.h>
13096 /* Override any gcc2 internal prototype to avoid an error. */
13097 /* We use char because int might match the return type of a gcc2
13098 builtin and then its argument prototype would still apply. */
13103 /* The GNU C library defines this for functions which it implements
13104 to always fail with ENOSYS. Some functions are actually named
13105 something starting with __ and the normal name is an alias. */
13106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13114 if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13116 eval "ac_cv_func_$ac_func=yes"
13118 echo "configure: failed program was:" >&5
13119 cat conftest.$ac_ext >&5
13121 eval "ac_cv_func_$ac_func=no"
13126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13127 echo "$ac_t""yes" 1>&6
13128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13129 cat >> confdefs.h <<EOF
13130 #define $ac_tr_func 1
13134 echo "$ac_t""no" 1>&6
13143 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13144 echo "configure:13145: checking for isinff declaration" >&5
13145 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13146 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13147 echo $ac_n "(cached) $ac_c" 1>&6
13152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13153 ac_cpp='$CXXCPP $CPPFLAGS'
13154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13156 cross_compiling=$ac_cv_prog_cxx_cross
13158 cat > conftest.$ac_ext <<EOF
13159 #line 13160 "configure"
13160 #include "confdefs.h"
13162 #ifdef HAVE_IEEEFP_H
13163 #include <ieeefp.h>
13170 if { (eval echo configure:13171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13172 glibcpp_cv_func_isinff_use=yes
13174 echo "configure: failed program was:" >&5
13175 cat conftest.$ac_ext >&5
13177 glibcpp_cv_func_isinff_use=no
13181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13182 ac_cpp='$CPP $CPPFLAGS'
13183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13185 cross_compiling=$ac_cv_prog_cc_cross
13191 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13193 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13194 for ac_func in isinff
13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13197 echo "configure:13198: checking for $ac_func" >&5
13198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13199 echo $ac_n "(cached) $ac_c" 1>&6
13201 cat > conftest.$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13204 /* System header to define __stub macros and hopefully few prototypes,
13205 which can conflict with char $ac_func(); below. */
13206 #include <assert.h>
13207 /* Override any gcc2 internal prototype to avoid an error. */
13208 /* We use char because int might match the return type of a gcc2
13209 builtin and then its argument prototype would still apply. */
13214 /* The GNU C library defines this for functions which it implements
13215 to always fail with ENOSYS. Some functions are actually named
13216 something starting with __ and the normal name is an alias. */
13217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13225 if { (eval echo configure:13226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13227 eval "ac_cv_func_$ac_func=yes"
13229 echo "configure: failed program was:" >&5
13230 cat conftest.$ac_ext >&5
13232 eval "ac_cv_func_$ac_func=no"
13237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13238 echo "$ac_t""yes" 1>&6
13239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13240 cat >> confdefs.h <<EOF
13241 #define $ac_tr_func 1
13245 echo "$ac_t""no" 1>&6
13251 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13252 echo "configure:13253: checking for _isinff declaration" >&5
13253 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13254 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13255 echo $ac_n "(cached) $ac_c" 1>&6
13260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13261 ac_cpp='$CXXCPP $CPPFLAGS'
13262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13264 cross_compiling=$ac_cv_prog_cxx_cross
13266 cat > conftest.$ac_ext <<EOF
13267 #line 13268 "configure"
13268 #include "confdefs.h"
13270 #ifdef HAVE_IEEEFP_H
13271 #include <ieeefp.h>
13278 if { (eval echo configure:13279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13280 glibcpp_cv_func__isinff_use=yes
13282 echo "configure: failed program was:" >&5
13283 cat conftest.$ac_ext >&5
13285 glibcpp_cv_func__isinff_use=no
13289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13290 ac_cpp='$CPP $CPPFLAGS'
13291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13293 cross_compiling=$ac_cv_prog_cc_cross
13299 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13301 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13302 for ac_func in _isinff
13304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13305 echo "configure:13306: checking for $ac_func" >&5
13306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13307 echo $ac_n "(cached) $ac_c" 1>&6
13309 cat > conftest.$ac_ext <<EOF
13310 #line 13311 "configure"
13311 #include "confdefs.h"
13312 /* System header to define __stub macros and hopefully few prototypes,
13313 which can conflict with char $ac_func(); below. */
13314 #include <assert.h>
13315 /* Override any gcc2 internal prototype to avoid an error. */
13316 /* We use char because int might match the return type of a gcc2
13317 builtin and then its argument prototype would still apply. */
13322 /* The GNU C library defines this for functions which it implements
13323 to always fail with ENOSYS. Some functions are actually named
13324 something starting with __ and the normal name is an alias. */
13325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13333 if { (eval echo configure:13334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13335 eval "ac_cv_func_$ac_func=yes"
13337 echo "configure: failed program was:" >&5
13338 cat conftest.$ac_ext >&5
13340 eval "ac_cv_func_$ac_func=no"
13345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13346 echo "$ac_t""yes" 1>&6
13347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13348 cat >> confdefs.h <<EOF
13349 #define $ac_tr_func 1
13353 echo "$ac_t""no" 1>&6
13362 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13363 echo "configure:13364: checking for atan2f declaration" >&5
13364 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13365 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13366 echo $ac_n "(cached) $ac_c" 1>&6
13371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13372 ac_cpp='$CXXCPP $CPPFLAGS'
13373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13375 cross_compiling=$ac_cv_prog_cxx_cross
13377 cat > conftest.$ac_ext <<EOF
13378 #line 13379 "configure"
13379 #include "confdefs.h"
13385 if { (eval echo configure:13386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13387 glibcpp_cv_func_atan2f_use=yes
13389 echo "configure: failed program was:" >&5
13390 cat conftest.$ac_ext >&5
13392 glibcpp_cv_func_atan2f_use=no
13396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13397 ac_cpp='$CPP $CPPFLAGS'
13398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13400 cross_compiling=$ac_cv_prog_cc_cross
13406 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13408 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13409 for ac_func in atan2f
13411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13412 echo "configure:13413: checking for $ac_func" >&5
13413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13414 echo $ac_n "(cached) $ac_c" 1>&6
13416 cat > conftest.$ac_ext <<EOF
13417 #line 13418 "configure"
13418 #include "confdefs.h"
13419 /* System header to define __stub macros and hopefully few prototypes,
13420 which can conflict with char $ac_func(); below. */
13421 #include <assert.h>
13422 /* Override any gcc2 internal prototype to avoid an error. */
13423 /* We use char because int might match the return type of a gcc2
13424 builtin and then its argument prototype would still apply. */
13429 /* The GNU C library defines this for functions which it implements
13430 to always fail with ENOSYS. Some functions are actually named
13431 something starting with __ and the normal name is an alias. */
13432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13440 if { (eval echo configure:13441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13442 eval "ac_cv_func_$ac_func=yes"
13444 echo "configure: failed program was:" >&5
13445 cat conftest.$ac_ext >&5
13447 eval "ac_cv_func_$ac_func=no"
13452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13453 echo "$ac_t""yes" 1>&6
13454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13455 cat >> confdefs.h <<EOF
13456 #define $ac_tr_func 1
13460 echo "$ac_t""no" 1>&6
13466 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13467 echo "configure:13468: checking for _atan2f declaration" >&5
13468 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13469 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13470 echo $ac_n "(cached) $ac_c" 1>&6
13475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13476 ac_cpp='$CXXCPP $CPPFLAGS'
13477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13479 cross_compiling=$ac_cv_prog_cxx_cross
13481 cat > conftest.$ac_ext <<EOF
13482 #line 13483 "configure"
13483 #include "confdefs.h"
13489 if { (eval echo configure:13490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13491 glibcpp_cv_func__atan2f_use=yes
13493 echo "configure: failed program was:" >&5
13494 cat conftest.$ac_ext >&5
13496 glibcpp_cv_func__atan2f_use=no
13500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13501 ac_cpp='$CPP $CPPFLAGS'
13502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13504 cross_compiling=$ac_cv_prog_cc_cross
13510 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13512 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13513 for ac_func in _atan2f
13515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13516 echo "configure:13517: checking for $ac_func" >&5
13517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13518 echo $ac_n "(cached) $ac_c" 1>&6
13520 cat > conftest.$ac_ext <<EOF
13521 #line 13522 "configure"
13522 #include "confdefs.h"
13523 /* System header to define __stub macros and hopefully few prototypes,
13524 which can conflict with char $ac_func(); below. */
13525 #include <assert.h>
13526 /* Override any gcc2 internal prototype to avoid an error. */
13527 /* We use char because int might match the return type of a gcc2
13528 builtin and then its argument prototype would still apply. */
13533 /* The GNU C library defines this for functions which it implements
13534 to always fail with ENOSYS. Some functions are actually named
13535 something starting with __ and the normal name is an alias. */
13536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13544 if { (eval echo configure:13545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13546 eval "ac_cv_func_$ac_func=yes"
13548 echo "configure: failed program was:" >&5
13549 cat conftest.$ac_ext >&5
13551 eval "ac_cv_func_$ac_func=no"
13556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13557 echo "$ac_t""yes" 1>&6
13558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13559 cat >> confdefs.h <<EOF
13560 #define $ac_tr_func 1
13564 echo "$ac_t""no" 1>&6
13573 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13574 echo "configure:13575: checking for fabsf declaration" >&5
13575 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13576 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13577 echo $ac_n "(cached) $ac_c" 1>&6
13582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13583 ac_cpp='$CXXCPP $CPPFLAGS'
13584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13586 cross_compiling=$ac_cv_prog_cxx_cross
13588 cat > conftest.$ac_ext <<EOF
13589 #line 13590 "configure"
13590 #include "confdefs.h"
13592 #ifdef HAVE_IEEEFP_H
13593 #include <ieeefp.h>
13600 if { (eval echo configure:13601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13602 glibcpp_cv_func_fabsf_use=yes
13604 echo "configure: failed program was:" >&5
13605 cat conftest.$ac_ext >&5
13607 glibcpp_cv_func_fabsf_use=no
13611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13612 ac_cpp='$CPP $CPPFLAGS'
13613 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13614 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13615 cross_compiling=$ac_cv_prog_cc_cross
13621 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13623 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13624 for ac_func in fabsf
13626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13627 echo "configure:13628: checking for $ac_func" >&5
13628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13629 echo $ac_n "(cached) $ac_c" 1>&6
13631 cat > conftest.$ac_ext <<EOF
13632 #line 13633 "configure"
13633 #include "confdefs.h"
13634 /* System header to define __stub macros and hopefully few prototypes,
13635 which can conflict with char $ac_func(); below. */
13636 #include <assert.h>
13637 /* Override any gcc2 internal prototype to avoid an error. */
13638 /* We use char because int might match the return type of a gcc2
13639 builtin and then its argument prototype would still apply. */
13644 /* The GNU C library defines this for functions which it implements
13645 to always fail with ENOSYS. Some functions are actually named
13646 something starting with __ and the normal name is an alias. */
13647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13655 if { (eval echo configure:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13657 eval "ac_cv_func_$ac_func=yes"
13659 echo "configure: failed program was:" >&5
13660 cat conftest.$ac_ext >&5
13662 eval "ac_cv_func_$ac_func=no"
13667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13668 echo "$ac_t""yes" 1>&6
13669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13670 cat >> confdefs.h <<EOF
13671 #define $ac_tr_func 1
13675 echo "$ac_t""no" 1>&6
13681 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13682 echo "configure:13683: checking for _fabsf declaration" >&5
13683 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13684 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13685 echo $ac_n "(cached) $ac_c" 1>&6
13690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13691 ac_cpp='$CXXCPP $CPPFLAGS'
13692 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13693 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13694 cross_compiling=$ac_cv_prog_cxx_cross
13696 cat > conftest.$ac_ext <<EOF
13697 #line 13698 "configure"
13698 #include "confdefs.h"
13700 #ifdef HAVE_IEEEFP_H
13701 #include <ieeefp.h>
13708 if { (eval echo configure:13709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13710 glibcpp_cv_func__fabsf_use=yes
13712 echo "configure: failed program was:" >&5
13713 cat conftest.$ac_ext >&5
13715 glibcpp_cv_func__fabsf_use=no
13719 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13720 ac_cpp='$CPP $CPPFLAGS'
13721 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13722 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13723 cross_compiling=$ac_cv_prog_cc_cross
13729 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13731 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13732 for ac_func in _fabsf
13734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13735 echo "configure:13736: checking for $ac_func" >&5
13736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13737 echo $ac_n "(cached) $ac_c" 1>&6
13739 cat > conftest.$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13742 /* System header to define __stub macros and hopefully few prototypes,
13743 which can conflict with char $ac_func(); below. */
13744 #include <assert.h>
13745 /* Override any gcc2 internal prototype to avoid an error. */
13746 /* We use char because int might match the return type of a gcc2
13747 builtin and then its argument prototype would still apply. */
13752 /* The GNU C library defines this for functions which it implements
13753 to always fail with ENOSYS. Some functions are actually named
13754 something starting with __ and the normal name is an alias. */
13755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13763 if { (eval echo configure:13764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13765 eval "ac_cv_func_$ac_func=yes"
13767 echo "configure: failed program was:" >&5
13768 cat conftest.$ac_ext >&5
13770 eval "ac_cv_func_$ac_func=no"
13775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13776 echo "$ac_t""yes" 1>&6
13777 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13778 cat >> confdefs.h <<EOF
13779 #define $ac_tr_func 1
13783 echo "$ac_t""no" 1>&6
13792 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13793 echo "configure:13794: checking for fmodf declaration" >&5
13794 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13795 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13796 echo $ac_n "(cached) $ac_c" 1>&6
13801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13804 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13805 cross_compiling=$ac_cv_prog_cxx_cross
13807 cat > conftest.$ac_ext <<EOF
13808 #line 13809 "configure"
13809 #include "confdefs.h"
13815 if { (eval echo configure:13816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13817 glibcpp_cv_func_fmodf_use=yes
13819 echo "configure: failed program was:" >&5
13820 cat conftest.$ac_ext >&5
13822 glibcpp_cv_func_fmodf_use=no
13826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13830 cross_compiling=$ac_cv_prog_cc_cross
13836 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13838 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13839 for ac_func in fmodf
13841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13842 echo "configure:13843: checking for $ac_func" >&5
13843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13844 echo $ac_n "(cached) $ac_c" 1>&6
13846 cat > conftest.$ac_ext <<EOF
13847 #line 13848 "configure"
13848 #include "confdefs.h"
13849 /* System header to define __stub macros and hopefully few prototypes,
13850 which can conflict with char $ac_func(); below. */
13851 #include <assert.h>
13852 /* Override any gcc2 internal prototype to avoid an error. */
13853 /* We use char because int might match the return type of a gcc2
13854 builtin and then its argument prototype would still apply. */
13859 /* The GNU C library defines this for functions which it implements
13860 to always fail with ENOSYS. Some functions are actually named
13861 something starting with __ and the normal name is an alias. */
13862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13870 if { (eval echo configure:13871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13872 eval "ac_cv_func_$ac_func=yes"
13874 echo "configure: failed program was:" >&5
13875 cat conftest.$ac_ext >&5
13877 eval "ac_cv_func_$ac_func=no"
13882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13883 echo "$ac_t""yes" 1>&6
13884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13885 cat >> confdefs.h <<EOF
13886 #define $ac_tr_func 1
13890 echo "$ac_t""no" 1>&6
13896 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13897 echo "configure:13898: checking for _fmodf declaration" >&5
13898 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13899 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13900 echo $ac_n "(cached) $ac_c" 1>&6
13905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13906 ac_cpp='$CXXCPP $CPPFLAGS'
13907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13909 cross_compiling=$ac_cv_prog_cxx_cross
13911 cat > conftest.$ac_ext <<EOF
13912 #line 13913 "configure"
13913 #include "confdefs.h"
13919 if { (eval echo configure:13920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13921 glibcpp_cv_func__fmodf_use=yes
13923 echo "configure: failed program was:" >&5
13924 cat conftest.$ac_ext >&5
13926 glibcpp_cv_func__fmodf_use=no
13930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13931 ac_cpp='$CPP $CPPFLAGS'
13932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13934 cross_compiling=$ac_cv_prog_cc_cross
13940 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13942 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13943 for ac_func in _fmodf
13945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13946 echo "configure:13947: checking for $ac_func" >&5
13947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13948 echo $ac_n "(cached) $ac_c" 1>&6
13950 cat > conftest.$ac_ext <<EOF
13951 #line 13952 "configure"
13952 #include "confdefs.h"
13953 /* System header to define __stub macros and hopefully few prototypes,
13954 which can conflict with char $ac_func(); below. */
13955 #include <assert.h>
13956 /* Override any gcc2 internal prototype to avoid an error. */
13957 /* We use char because int might match the return type of a gcc2
13958 builtin and then its argument prototype would still apply. */
13963 /* The GNU C library defines this for functions which it implements
13964 to always fail with ENOSYS. Some functions are actually named
13965 something starting with __ and the normal name is an alias. */
13966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13974 if { (eval echo configure:13975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13976 eval "ac_cv_func_$ac_func=yes"
13978 echo "configure: failed program was:" >&5
13979 cat conftest.$ac_ext >&5
13981 eval "ac_cv_func_$ac_func=no"
13986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13987 echo "$ac_t""yes" 1>&6
13988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13989 cat >> confdefs.h <<EOF
13990 #define $ac_tr_func 1
13994 echo "$ac_t""no" 1>&6
14003 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
14004 echo "configure:14005: checking for frexpf declaration" >&5
14005 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14006 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14013 ac_cpp='$CXXCPP $CPPFLAGS'
14014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14016 cross_compiling=$ac_cv_prog_cxx_cross
14018 cat > conftest.$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14026 if { (eval echo configure:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14028 glibcpp_cv_func_frexpf_use=yes
14030 echo "configure: failed program was:" >&5
14031 cat conftest.$ac_ext >&5
14033 glibcpp_cv_func_frexpf_use=no
14037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14038 ac_cpp='$CPP $CPPFLAGS'
14039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14041 cross_compiling=$ac_cv_prog_cc_cross
14047 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14049 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14050 for ac_func in frexpf
14052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14053 echo "configure:14054: checking for $ac_func" >&5
14054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14055 echo $ac_n "(cached) $ac_c" 1>&6
14057 cat > conftest.$ac_ext <<EOF
14058 #line 14059 "configure"
14059 #include "confdefs.h"
14060 /* System header to define __stub macros and hopefully few prototypes,
14061 which can conflict with char $ac_func(); below. */
14062 #include <assert.h>
14063 /* Override any gcc2 internal prototype to avoid an error. */
14064 /* We use char because int might match the return type of a gcc2
14065 builtin and then its argument prototype would still apply. */
14070 /* The GNU C library defines this for functions which it implements
14071 to always fail with ENOSYS. Some functions are actually named
14072 something starting with __ and the normal name is an alias. */
14073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14081 if { (eval echo configure:14082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14083 eval "ac_cv_func_$ac_func=yes"
14085 echo "configure: failed program was:" >&5
14086 cat conftest.$ac_ext >&5
14088 eval "ac_cv_func_$ac_func=no"
14093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14094 echo "$ac_t""yes" 1>&6
14095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14096 cat >> confdefs.h <<EOF
14097 #define $ac_tr_func 1
14101 echo "$ac_t""no" 1>&6
14107 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14108 echo "configure:14109: checking for _frexpf declaration" >&5
14109 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14110 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14117 ac_cpp='$CXXCPP $CPPFLAGS'
14118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14120 cross_compiling=$ac_cv_prog_cxx_cross
14122 cat > conftest.$ac_ext <<EOF
14123 #line 14124 "configure"
14124 #include "confdefs.h"
14130 if { (eval echo configure:14131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14132 glibcpp_cv_func__frexpf_use=yes
14134 echo "configure: failed program was:" >&5
14135 cat conftest.$ac_ext >&5
14137 glibcpp_cv_func__frexpf_use=no
14141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14142 ac_cpp='$CPP $CPPFLAGS'
14143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14145 cross_compiling=$ac_cv_prog_cc_cross
14151 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14153 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14154 for ac_func in _frexpf
14156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14157 echo "configure:14158: checking for $ac_func" >&5
14158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14159 echo $ac_n "(cached) $ac_c" 1>&6
14161 cat > conftest.$ac_ext <<EOF
14162 #line 14163 "configure"
14163 #include "confdefs.h"
14164 /* System header to define __stub macros and hopefully few prototypes,
14165 which can conflict with char $ac_func(); below. */
14166 #include <assert.h>
14167 /* Override any gcc2 internal prototype to avoid an error. */
14168 /* We use char because int might match the return type of a gcc2
14169 builtin and then its argument prototype would still apply. */
14174 /* The GNU C library defines this for functions which it implements
14175 to always fail with ENOSYS. Some functions are actually named
14176 something starting with __ and the normal name is an alias. */
14177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14185 if { (eval echo configure:14186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14187 eval "ac_cv_func_$ac_func=yes"
14189 echo "configure: failed program was:" >&5
14190 cat conftest.$ac_ext >&5
14192 eval "ac_cv_func_$ac_func=no"
14197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14198 echo "$ac_t""yes" 1>&6
14199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14200 cat >> confdefs.h <<EOF
14201 #define $ac_tr_func 1
14205 echo "$ac_t""no" 1>&6
14214 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14215 echo "configure:14216: checking for hypotf declaration" >&5
14216 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14217 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14218 echo $ac_n "(cached) $ac_c" 1>&6
14223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14224 ac_cpp='$CXXCPP $CPPFLAGS'
14225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14227 cross_compiling=$ac_cv_prog_cxx_cross
14229 cat > conftest.$ac_ext <<EOF
14230 #line 14231 "configure"
14231 #include "confdefs.h"
14237 if { (eval echo configure:14238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14239 glibcpp_cv_func_hypotf_use=yes
14241 echo "configure: failed program was:" >&5
14242 cat conftest.$ac_ext >&5
14244 glibcpp_cv_func_hypotf_use=no
14248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14249 ac_cpp='$CPP $CPPFLAGS'
14250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14252 cross_compiling=$ac_cv_prog_cc_cross
14258 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14260 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14261 for ac_func in hypotf
14263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14264 echo "configure:14265: checking for $ac_func" >&5
14265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14266 echo $ac_n "(cached) $ac_c" 1>&6
14268 cat > conftest.$ac_ext <<EOF
14269 #line 14270 "configure"
14270 #include "confdefs.h"
14271 /* System header to define __stub macros and hopefully few prototypes,
14272 which can conflict with char $ac_func(); below. */
14273 #include <assert.h>
14274 /* Override any gcc2 internal prototype to avoid an error. */
14275 /* We use char because int might match the return type of a gcc2
14276 builtin and then its argument prototype would still apply. */
14281 /* The GNU C library defines this for functions which it implements
14282 to always fail with ENOSYS. Some functions are actually named
14283 something starting with __ and the normal name is an alias. */
14284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14292 if { (eval echo configure:14293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14294 eval "ac_cv_func_$ac_func=yes"
14296 echo "configure: failed program was:" >&5
14297 cat conftest.$ac_ext >&5
14299 eval "ac_cv_func_$ac_func=no"
14304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14305 echo "$ac_t""yes" 1>&6
14306 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14307 cat >> confdefs.h <<EOF
14308 #define $ac_tr_func 1
14312 echo "$ac_t""no" 1>&6
14318 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14319 echo "configure:14320: checking for _hypotf declaration" >&5
14320 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14321 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14322 echo $ac_n "(cached) $ac_c" 1>&6
14327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14328 ac_cpp='$CXXCPP $CPPFLAGS'
14329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14331 cross_compiling=$ac_cv_prog_cxx_cross
14333 cat > conftest.$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14341 if { (eval echo configure:14342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14343 glibcpp_cv_func__hypotf_use=yes
14345 echo "configure: failed program was:" >&5
14346 cat conftest.$ac_ext >&5
14348 glibcpp_cv_func__hypotf_use=no
14352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14356 cross_compiling=$ac_cv_prog_cc_cross
14362 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14364 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14365 for ac_func in _hypotf
14367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14368 echo "configure:14369: checking for $ac_func" >&5
14369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14370 echo $ac_n "(cached) $ac_c" 1>&6
14372 cat > conftest.$ac_ext <<EOF
14373 #line 14374 "configure"
14374 #include "confdefs.h"
14375 /* System header to define __stub macros and hopefully few prototypes,
14376 which can conflict with char $ac_func(); below. */
14377 #include <assert.h>
14378 /* Override any gcc2 internal prototype to avoid an error. */
14379 /* We use char because int might match the return type of a gcc2
14380 builtin and then its argument prototype would still apply. */
14385 /* The GNU C library defines this for functions which it implements
14386 to always fail with ENOSYS. Some functions are actually named
14387 something starting with __ and the normal name is an alias. */
14388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14396 if { (eval echo configure:14397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14398 eval "ac_cv_func_$ac_func=yes"
14400 echo "configure: failed program was:" >&5
14401 cat conftest.$ac_ext >&5
14403 eval "ac_cv_func_$ac_func=no"
14408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14409 echo "$ac_t""yes" 1>&6
14410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14411 cat >> confdefs.h <<EOF
14412 #define $ac_tr_func 1
14416 echo "$ac_t""no" 1>&6
14425 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14426 echo "configure:14427: checking for ldexpf declaration" >&5
14427 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14428 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14429 echo $ac_n "(cached) $ac_c" 1>&6
14434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14435 ac_cpp='$CXXCPP $CPPFLAGS'
14436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14438 cross_compiling=$ac_cv_prog_cxx_cross
14440 cat > conftest.$ac_ext <<EOF
14441 #line 14442 "configure"
14442 #include "confdefs.h"
14448 if { (eval echo configure:14449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14450 glibcpp_cv_func_ldexpf_use=yes
14452 echo "configure: failed program was:" >&5
14453 cat conftest.$ac_ext >&5
14455 glibcpp_cv_func_ldexpf_use=no
14459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14460 ac_cpp='$CPP $CPPFLAGS'
14461 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14462 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14463 cross_compiling=$ac_cv_prog_cc_cross
14469 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14471 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14472 for ac_func in ldexpf
14474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14475 echo "configure:14476: checking for $ac_func" >&5
14476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14477 echo $ac_n "(cached) $ac_c" 1>&6
14479 cat > conftest.$ac_ext <<EOF
14480 #line 14481 "configure"
14481 #include "confdefs.h"
14482 /* System header to define __stub macros and hopefully few prototypes,
14483 which can conflict with char $ac_func(); below. */
14484 #include <assert.h>
14485 /* Override any gcc2 internal prototype to avoid an error. */
14486 /* We use char because int might match the return type of a gcc2
14487 builtin and then its argument prototype would still apply. */
14492 /* The GNU C library defines this for functions which it implements
14493 to always fail with ENOSYS. Some functions are actually named
14494 something starting with __ and the normal name is an alias. */
14495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14503 if { (eval echo configure:14504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14505 eval "ac_cv_func_$ac_func=yes"
14507 echo "configure: failed program was:" >&5
14508 cat conftest.$ac_ext >&5
14510 eval "ac_cv_func_$ac_func=no"
14515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14516 echo "$ac_t""yes" 1>&6
14517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14518 cat >> confdefs.h <<EOF
14519 #define $ac_tr_func 1
14523 echo "$ac_t""no" 1>&6
14529 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14530 echo "configure:14531: checking for _ldexpf declaration" >&5
14531 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14532 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14542 cross_compiling=$ac_cv_prog_cxx_cross
14544 cat > conftest.$ac_ext <<EOF
14545 #line 14546 "configure"
14546 #include "confdefs.h"
14552 if { (eval echo configure:14553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14554 glibcpp_cv_func__ldexpf_use=yes
14556 echo "configure: failed program was:" >&5
14557 cat conftest.$ac_ext >&5
14559 glibcpp_cv_func__ldexpf_use=no
14563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14564 ac_cpp='$CPP $CPPFLAGS'
14565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14567 cross_compiling=$ac_cv_prog_cc_cross
14573 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14575 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14576 for ac_func in _ldexpf
14578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14579 echo "configure:14580: checking for $ac_func" >&5
14580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14583 cat > conftest.$ac_ext <<EOF
14584 #line 14585 "configure"
14585 #include "confdefs.h"
14586 /* System header to define __stub macros and hopefully few prototypes,
14587 which can conflict with char $ac_func(); below. */
14588 #include <assert.h>
14589 /* Override any gcc2 internal prototype to avoid an error. */
14590 /* We use char because int might match the return type of a gcc2
14591 builtin and then its argument prototype would still apply. */
14596 /* The GNU C library defines this for functions which it implements
14597 to always fail with ENOSYS. Some functions are actually named
14598 something starting with __ and the normal name is an alias. */
14599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14607 if { (eval echo configure:14608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14609 eval "ac_cv_func_$ac_func=yes"
14611 echo "configure: failed program was:" >&5
14612 cat conftest.$ac_ext >&5
14614 eval "ac_cv_func_$ac_func=no"
14619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14620 echo "$ac_t""yes" 1>&6
14621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14622 cat >> confdefs.h <<EOF
14623 #define $ac_tr_func 1
14627 echo "$ac_t""no" 1>&6
14636 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14637 echo "configure:14638: checking for logf declaration" >&5
14638 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14639 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14646 ac_cpp='$CXXCPP $CPPFLAGS'
14647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14649 cross_compiling=$ac_cv_prog_cxx_cross
14651 cat > conftest.$ac_ext <<EOF
14652 #line 14653 "configure"
14653 #include "confdefs.h"
14655 #ifdef HAVE_IEEEFP_H
14656 #include <ieeefp.h>
14663 if { (eval echo configure:14664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14665 glibcpp_cv_func_logf_use=yes
14667 echo "configure: failed program was:" >&5
14668 cat conftest.$ac_ext >&5
14670 glibcpp_cv_func_logf_use=no
14674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14675 ac_cpp='$CPP $CPPFLAGS'
14676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14678 cross_compiling=$ac_cv_prog_cc_cross
14684 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14686 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14687 for ac_func in logf
14689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14690 echo "configure:14691: checking for $ac_func" >&5
14691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14692 echo $ac_n "(cached) $ac_c" 1>&6
14694 cat > conftest.$ac_ext <<EOF
14695 #line 14696 "configure"
14696 #include "confdefs.h"
14697 /* System header to define __stub macros and hopefully few prototypes,
14698 which can conflict with char $ac_func(); below. */
14699 #include <assert.h>
14700 /* Override any gcc2 internal prototype to avoid an error. */
14701 /* We use char because int might match the return type of a gcc2
14702 builtin and then its argument prototype would still apply. */
14707 /* The GNU C library defines this for functions which it implements
14708 to always fail with ENOSYS. Some functions are actually named
14709 something starting with __ and the normal name is an alias. */
14710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14718 if { (eval echo configure:14719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14720 eval "ac_cv_func_$ac_func=yes"
14722 echo "configure: failed program was:" >&5
14723 cat conftest.$ac_ext >&5
14725 eval "ac_cv_func_$ac_func=no"
14730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14731 echo "$ac_t""yes" 1>&6
14732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14733 cat >> confdefs.h <<EOF
14734 #define $ac_tr_func 1
14738 echo "$ac_t""no" 1>&6
14744 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14745 echo "configure:14746: checking for _logf declaration" >&5
14746 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14747 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14748 echo $ac_n "(cached) $ac_c" 1>&6
14753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14754 ac_cpp='$CXXCPP $CPPFLAGS'
14755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14757 cross_compiling=$ac_cv_prog_cxx_cross
14759 cat > conftest.$ac_ext <<EOF
14760 #line 14761 "configure"
14761 #include "confdefs.h"
14763 #ifdef HAVE_IEEEFP_H
14764 #include <ieeefp.h>
14771 if { (eval echo configure:14772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14773 glibcpp_cv_func__logf_use=yes
14775 echo "configure: failed program was:" >&5
14776 cat conftest.$ac_ext >&5
14778 glibcpp_cv_func__logf_use=no
14782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14783 ac_cpp='$CPP $CPPFLAGS'
14784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14786 cross_compiling=$ac_cv_prog_cc_cross
14792 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14794 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14795 for ac_func in _logf
14797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14798 echo "configure:14799: checking for $ac_func" >&5
14799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14800 echo $ac_n "(cached) $ac_c" 1>&6
14802 cat > conftest.$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14805 /* System header to define __stub macros and hopefully few prototypes,
14806 which can conflict with char $ac_func(); below. */
14807 #include <assert.h>
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 /* We use char because int might match the return type of a gcc2
14810 builtin and then its argument prototype would still apply. */
14815 /* The GNU C library defines this for functions which it implements
14816 to always fail with ENOSYS. Some functions are actually named
14817 something starting with __ and the normal name is an alias. */
14818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14826 if { (eval echo configure:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14828 eval "ac_cv_func_$ac_func=yes"
14830 echo "configure: failed program was:" >&5
14831 cat conftest.$ac_ext >&5
14833 eval "ac_cv_func_$ac_func=no"
14838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14839 echo "$ac_t""yes" 1>&6
14840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14841 cat >> confdefs.h <<EOF
14842 #define $ac_tr_func 1
14846 echo "$ac_t""no" 1>&6
14855 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14856 echo "configure:14857: checking for log10f declaration" >&5
14857 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14858 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14859 echo $ac_n "(cached) $ac_c" 1>&6
14864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14865 ac_cpp='$CXXCPP $CPPFLAGS'
14866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14868 cross_compiling=$ac_cv_prog_cxx_cross
14870 cat > conftest.$ac_ext <<EOF
14871 #line 14872 "configure"
14872 #include "confdefs.h"
14874 #ifdef HAVE_IEEEFP_H
14875 #include <ieeefp.h>
14882 if { (eval echo configure:14883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14884 glibcpp_cv_func_log10f_use=yes
14886 echo "configure: failed program was:" >&5
14887 cat conftest.$ac_ext >&5
14889 glibcpp_cv_func_log10f_use=no
14893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14894 ac_cpp='$CPP $CPPFLAGS'
14895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14897 cross_compiling=$ac_cv_prog_cc_cross
14903 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14905 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14906 for ac_func in log10f
14908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14909 echo "configure:14910: checking for $ac_func" >&5
14910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14911 echo $ac_n "(cached) $ac_c" 1>&6
14913 cat > conftest.$ac_ext <<EOF
14914 #line 14915 "configure"
14915 #include "confdefs.h"
14916 /* System header to define __stub macros and hopefully few prototypes,
14917 which can conflict with char $ac_func(); below. */
14918 #include <assert.h>
14919 /* Override any gcc2 internal prototype to avoid an error. */
14920 /* We use char because int might match the return type of a gcc2
14921 builtin and then its argument prototype would still apply. */
14926 /* The GNU C library defines this for functions which it implements
14927 to always fail with ENOSYS. Some functions are actually named
14928 something starting with __ and the normal name is an alias. */
14929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14937 if { (eval echo configure:14938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14939 eval "ac_cv_func_$ac_func=yes"
14941 echo "configure: failed program was:" >&5
14942 cat conftest.$ac_ext >&5
14944 eval "ac_cv_func_$ac_func=no"
14949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14950 echo "$ac_t""yes" 1>&6
14951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14952 cat >> confdefs.h <<EOF
14953 #define $ac_tr_func 1
14957 echo "$ac_t""no" 1>&6
14963 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14964 echo "configure:14965: checking for _log10f declaration" >&5
14965 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14966 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14967 echo $ac_n "(cached) $ac_c" 1>&6
14972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14973 ac_cpp='$CXXCPP $CPPFLAGS'
14974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14976 cross_compiling=$ac_cv_prog_cxx_cross
14978 cat > conftest.$ac_ext <<EOF
14979 #line 14980 "configure"
14980 #include "confdefs.h"
14982 #ifdef HAVE_IEEEFP_H
14983 #include <ieeefp.h>
14990 if { (eval echo configure:14991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14992 glibcpp_cv_func__log10f_use=yes
14994 echo "configure: failed program was:" >&5
14995 cat conftest.$ac_ext >&5
14997 glibcpp_cv_func__log10f_use=no
15001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15005 cross_compiling=$ac_cv_prog_cc_cross
15011 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15013 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15014 for ac_func in _log10f
15016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15017 echo "configure:15018: checking for $ac_func" >&5
15018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15019 echo $ac_n "(cached) $ac_c" 1>&6
15021 cat > conftest.$ac_ext <<EOF
15022 #line 15023 "configure"
15023 #include "confdefs.h"
15024 /* System header to define __stub macros and hopefully few prototypes,
15025 which can conflict with char $ac_func(); below. */
15026 #include <assert.h>
15027 /* Override any gcc2 internal prototype to avoid an error. */
15028 /* We use char because int might match the return type of a gcc2
15029 builtin and then its argument prototype would still apply. */
15034 /* The GNU C library defines this for functions which it implements
15035 to always fail with ENOSYS. Some functions are actually named
15036 something starting with __ and the normal name is an alias. */
15037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15045 if { (eval echo configure:15046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15047 eval "ac_cv_func_$ac_func=yes"
15049 echo "configure: failed program was:" >&5
15050 cat conftest.$ac_ext >&5
15052 eval "ac_cv_func_$ac_func=no"
15057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15058 echo "$ac_t""yes" 1>&6
15059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15060 cat >> confdefs.h <<EOF
15061 #define $ac_tr_func 1
15065 echo "$ac_t""no" 1>&6
15074 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15075 echo "configure:15076: checking for modff declaration" >&5
15076 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15077 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15078 echo $ac_n "(cached) $ac_c" 1>&6
15083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15087 cross_compiling=$ac_cv_prog_cxx_cross
15089 cat > conftest.$ac_ext <<EOF
15090 #line 15091 "configure"
15091 #include "confdefs.h"
15097 if { (eval echo configure:15098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15099 glibcpp_cv_func_modff_use=yes
15101 echo "configure: failed program was:" >&5
15102 cat conftest.$ac_ext >&5
15104 glibcpp_cv_func_modff_use=no
15108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15109 ac_cpp='$CPP $CPPFLAGS'
15110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15112 cross_compiling=$ac_cv_prog_cc_cross
15118 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15120 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15121 for ac_func in modff
15123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15124 echo "configure:15125: checking for $ac_func" >&5
15125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15126 echo $ac_n "(cached) $ac_c" 1>&6
15128 cat > conftest.$ac_ext <<EOF
15129 #line 15130 "configure"
15130 #include "confdefs.h"
15131 /* System header to define __stub macros and hopefully few prototypes,
15132 which can conflict with char $ac_func(); below. */
15133 #include <assert.h>
15134 /* Override any gcc2 internal prototype to avoid an error. */
15135 /* We use char because int might match the return type of a gcc2
15136 builtin and then its argument prototype would still apply. */
15141 /* The GNU C library defines this for functions which it implements
15142 to always fail with ENOSYS. Some functions are actually named
15143 something starting with __ and the normal name is an alias. */
15144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15152 if { (eval echo configure:15153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15154 eval "ac_cv_func_$ac_func=yes"
15156 echo "configure: failed program was:" >&5
15157 cat conftest.$ac_ext >&5
15159 eval "ac_cv_func_$ac_func=no"
15164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15165 echo "$ac_t""yes" 1>&6
15166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15167 cat >> confdefs.h <<EOF
15168 #define $ac_tr_func 1
15172 echo "$ac_t""no" 1>&6
15178 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15179 echo "configure:15180: checking for _modff declaration" >&5
15180 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15181 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15182 echo $ac_n "(cached) $ac_c" 1>&6
15187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15191 cross_compiling=$ac_cv_prog_cxx_cross
15193 cat > conftest.$ac_ext <<EOF
15194 #line 15195 "configure"
15195 #include "confdefs.h"
15201 if { (eval echo configure:15202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15203 glibcpp_cv_func__modff_use=yes
15205 echo "configure: failed program was:" >&5
15206 cat conftest.$ac_ext >&5
15208 glibcpp_cv_func__modff_use=no
15212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15216 cross_compiling=$ac_cv_prog_cc_cross
15222 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15224 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15225 for ac_func in _modff
15227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15228 echo "configure:15229: checking for $ac_func" >&5
15229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15230 echo $ac_n "(cached) $ac_c" 1>&6
15232 cat > conftest.$ac_ext <<EOF
15233 #line 15234 "configure"
15234 #include "confdefs.h"
15235 /* System header to define __stub macros and hopefully few prototypes,
15236 which can conflict with char $ac_func(); below. */
15237 #include <assert.h>
15238 /* Override any gcc2 internal prototype to avoid an error. */
15239 /* We use char because int might match the return type of a gcc2
15240 builtin and then its argument prototype would still apply. */
15245 /* The GNU C library defines this for functions which it implements
15246 to always fail with ENOSYS. Some functions are actually named
15247 something starting with __ and the normal name is an alias. */
15248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15256 if { (eval echo configure:15257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15258 eval "ac_cv_func_$ac_func=yes"
15260 echo "configure: failed program was:" >&5
15261 cat conftest.$ac_ext >&5
15263 eval "ac_cv_func_$ac_func=no"
15268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15269 echo "$ac_t""yes" 1>&6
15270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15271 cat >> confdefs.h <<EOF
15272 #define $ac_tr_func 1
15276 echo "$ac_t""no" 1>&6
15285 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15286 echo "configure:15287: checking for powf declaration" >&5
15287 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15288 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15289 echo $ac_n "(cached) $ac_c" 1>&6
15294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15295 ac_cpp='$CXXCPP $CPPFLAGS'
15296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15298 cross_compiling=$ac_cv_prog_cxx_cross
15300 cat > conftest.$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15308 if { (eval echo configure:15309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15310 glibcpp_cv_func_powf_use=yes
15312 echo "configure: failed program was:" >&5
15313 cat conftest.$ac_ext >&5
15315 glibcpp_cv_func_powf_use=no
15319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15320 ac_cpp='$CPP $CPPFLAGS'
15321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15323 cross_compiling=$ac_cv_prog_cc_cross
15329 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15331 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15332 for ac_func in powf
15334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15335 echo "configure:15336: checking for $ac_func" >&5
15336 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15337 echo $ac_n "(cached) $ac_c" 1>&6
15339 cat > conftest.$ac_ext <<EOF
15340 #line 15341 "configure"
15341 #include "confdefs.h"
15342 /* System header to define __stub macros and hopefully few prototypes,
15343 which can conflict with char $ac_func(); below. */
15344 #include <assert.h>
15345 /* Override any gcc2 internal prototype to avoid an error. */
15346 /* We use char because int might match the return type of a gcc2
15347 builtin and then its argument prototype would still apply. */
15352 /* The GNU C library defines this for functions which it implements
15353 to always fail with ENOSYS. Some functions are actually named
15354 something starting with __ and the normal name is an alias. */
15355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15363 if { (eval echo configure:15364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15365 eval "ac_cv_func_$ac_func=yes"
15367 echo "configure: failed program was:" >&5
15368 cat conftest.$ac_ext >&5
15370 eval "ac_cv_func_$ac_func=no"
15375 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15376 echo "$ac_t""yes" 1>&6
15377 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15378 cat >> confdefs.h <<EOF
15379 #define $ac_tr_func 1
15383 echo "$ac_t""no" 1>&6
15389 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15390 echo "configure:15391: checking for _powf declaration" >&5
15391 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15392 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15399 ac_cpp='$CXXCPP $CPPFLAGS'
15400 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15401 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15402 cross_compiling=$ac_cv_prog_cxx_cross
15404 cat > conftest.$ac_ext <<EOF
15405 #line 15406 "configure"
15406 #include "confdefs.h"
15412 if { (eval echo configure:15413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15414 glibcpp_cv_func__powf_use=yes
15416 echo "configure: failed program was:" >&5
15417 cat conftest.$ac_ext >&5
15419 glibcpp_cv_func__powf_use=no
15423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15424 ac_cpp='$CPP $CPPFLAGS'
15425 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15426 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15427 cross_compiling=$ac_cv_prog_cc_cross
15433 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15435 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15436 for ac_func in _powf
15438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15439 echo "configure:15440: checking for $ac_func" >&5
15440 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15441 echo $ac_n "(cached) $ac_c" 1>&6
15443 cat > conftest.$ac_ext <<EOF
15444 #line 15445 "configure"
15445 #include "confdefs.h"
15446 /* System header to define __stub macros and hopefully few prototypes,
15447 which can conflict with char $ac_func(); below. */
15448 #include <assert.h>
15449 /* Override any gcc2 internal prototype to avoid an error. */
15450 /* We use char because int might match the return type of a gcc2
15451 builtin and then its argument prototype would still apply. */
15456 /* The GNU C library defines this for functions which it implements
15457 to always fail with ENOSYS. Some functions are actually named
15458 something starting with __ and the normal name is an alias. */
15459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15467 if { (eval echo configure:15468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15469 eval "ac_cv_func_$ac_func=yes"
15471 echo "configure: failed program was:" >&5
15472 cat conftest.$ac_ext >&5
15474 eval "ac_cv_func_$ac_func=no"
15479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15480 echo "$ac_t""yes" 1>&6
15481 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15482 cat >> confdefs.h <<EOF
15483 #define $ac_tr_func 1
15487 echo "$ac_t""no" 1>&6
15496 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15497 echo "configure:15498: checking for sqrtf declaration" >&5
15498 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15499 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15500 echo $ac_n "(cached) $ac_c" 1>&6
15505 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15506 ac_cpp='$CXXCPP $CPPFLAGS'
15507 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15508 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15509 cross_compiling=$ac_cv_prog_cxx_cross
15511 cat > conftest.$ac_ext <<EOF
15512 #line 15513 "configure"
15513 #include "confdefs.h"
15515 #ifdef HAVE_IEEEFP_H
15516 #include <ieeefp.h>
15523 if { (eval echo configure:15524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15525 glibcpp_cv_func_sqrtf_use=yes
15527 echo "configure: failed program was:" >&5
15528 cat conftest.$ac_ext >&5
15530 glibcpp_cv_func_sqrtf_use=no
15534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15538 cross_compiling=$ac_cv_prog_cc_cross
15544 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15546 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15547 for ac_func in sqrtf
15549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15550 echo "configure:15551: checking for $ac_func" >&5
15551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15552 echo $ac_n "(cached) $ac_c" 1>&6
15554 cat > conftest.$ac_ext <<EOF
15555 #line 15556 "configure"
15556 #include "confdefs.h"
15557 /* System header to define __stub macros and hopefully few prototypes,
15558 which can conflict with char $ac_func(); below. */
15559 #include <assert.h>
15560 /* Override any gcc2 internal prototype to avoid an error. */
15561 /* We use char because int might match the return type of a gcc2
15562 builtin and then its argument prototype would still apply. */
15567 /* The GNU C library defines this for functions which it implements
15568 to always fail with ENOSYS. Some functions are actually named
15569 something starting with __ and the normal name is an alias. */
15570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15578 if { (eval echo configure:15579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15580 eval "ac_cv_func_$ac_func=yes"
15582 echo "configure: failed program was:" >&5
15583 cat conftest.$ac_ext >&5
15585 eval "ac_cv_func_$ac_func=no"
15590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15591 echo "$ac_t""yes" 1>&6
15592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15593 cat >> confdefs.h <<EOF
15594 #define $ac_tr_func 1
15598 echo "$ac_t""no" 1>&6
15604 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15605 echo "configure:15606: checking for _sqrtf declaration" >&5
15606 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15607 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15608 echo $ac_n "(cached) $ac_c" 1>&6
15613 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15614 ac_cpp='$CXXCPP $CPPFLAGS'
15615 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15616 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15617 cross_compiling=$ac_cv_prog_cxx_cross
15619 cat > conftest.$ac_ext <<EOF
15620 #line 15621 "configure"
15621 #include "confdefs.h"
15623 #ifdef HAVE_IEEEFP_H
15624 #include <ieeefp.h>
15631 if { (eval echo configure:15632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15633 glibcpp_cv_func__sqrtf_use=yes
15635 echo "configure: failed program was:" >&5
15636 cat conftest.$ac_ext >&5
15638 glibcpp_cv_func__sqrtf_use=no
15642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15643 ac_cpp='$CPP $CPPFLAGS'
15644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15646 cross_compiling=$ac_cv_prog_cc_cross
15652 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15654 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15655 for ac_func in _sqrtf
15657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15658 echo "configure:15659: checking for $ac_func" >&5
15659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15660 echo $ac_n "(cached) $ac_c" 1>&6
15662 cat > conftest.$ac_ext <<EOF
15663 #line 15664 "configure"
15664 #include "confdefs.h"
15665 /* System header to define __stub macros and hopefully few prototypes,
15666 which can conflict with char $ac_func(); below. */
15667 #include <assert.h>
15668 /* Override any gcc2 internal prototype to avoid an error. */
15669 /* We use char because int might match the return type of a gcc2
15670 builtin and then its argument prototype would still apply. */
15675 /* The GNU C library defines this for functions which it implements
15676 to always fail with ENOSYS. Some functions are actually named
15677 something starting with __ and the normal name is an alias. */
15678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15686 if { (eval echo configure:15687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15688 eval "ac_cv_func_$ac_func=yes"
15690 echo "configure: failed program was:" >&5
15691 cat conftest.$ac_ext >&5
15693 eval "ac_cv_func_$ac_func=no"
15698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15699 echo "$ac_t""yes" 1>&6
15700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15701 cat >> confdefs.h <<EOF
15702 #define $ac_tr_func 1
15706 echo "$ac_t""no" 1>&6
15715 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15716 echo "configure:15717: checking for sincosf declaration" >&5
15717 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15718 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15719 echo $ac_n "(cached) $ac_c" 1>&6
15724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15725 ac_cpp='$CXXCPP $CPPFLAGS'
15726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15728 cross_compiling=$ac_cv_prog_cxx_cross
15730 cat > conftest.$ac_ext <<EOF
15731 #line 15732 "configure"
15732 #include "confdefs.h"
15738 if { (eval echo configure:15739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15740 glibcpp_cv_func_sincosf_use=yes
15742 echo "configure: failed program was:" >&5
15743 cat conftest.$ac_ext >&5
15745 glibcpp_cv_func_sincosf_use=no
15749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15753 cross_compiling=$ac_cv_prog_cc_cross
15759 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15761 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15762 for ac_func in sincosf
15764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15765 echo "configure:15766: checking for $ac_func" >&5
15766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15767 echo $ac_n "(cached) $ac_c" 1>&6
15769 cat > conftest.$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15772 /* System header to define __stub macros and hopefully few prototypes,
15773 which can conflict with char $ac_func(); below. */
15774 #include <assert.h>
15775 /* Override any gcc2 internal prototype to avoid an error. */
15776 /* We use char because int might match the return type of a gcc2
15777 builtin and then its argument prototype would still apply. */
15782 /* The GNU C library defines this for functions which it implements
15783 to always fail with ENOSYS. Some functions are actually named
15784 something starting with __ and the normal name is an alias. */
15785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15793 if { (eval echo configure:15794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15795 eval "ac_cv_func_$ac_func=yes"
15797 echo "configure: failed program was:" >&5
15798 cat conftest.$ac_ext >&5
15800 eval "ac_cv_func_$ac_func=no"
15805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15806 echo "$ac_t""yes" 1>&6
15807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15808 cat >> confdefs.h <<EOF
15809 #define $ac_tr_func 1
15813 echo "$ac_t""no" 1>&6
15819 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15820 echo "configure:15821: checking for _sincosf declaration" >&5
15821 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15822 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15823 echo $ac_n "(cached) $ac_c" 1>&6
15828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15829 ac_cpp='$CXXCPP $CPPFLAGS'
15830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15832 cross_compiling=$ac_cv_prog_cxx_cross
15834 cat > conftest.$ac_ext <<EOF
15835 #line 15836 "configure"
15836 #include "confdefs.h"
15842 if { (eval echo configure:15843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15844 glibcpp_cv_func__sincosf_use=yes
15846 echo "configure: failed program was:" >&5
15847 cat conftest.$ac_ext >&5
15849 glibcpp_cv_func__sincosf_use=no
15853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15856 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15857 cross_compiling=$ac_cv_prog_cc_cross
15863 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15865 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15866 for ac_func in _sincosf
15868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15869 echo "configure:15870: checking for $ac_func" >&5
15870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15871 echo $ac_n "(cached) $ac_c" 1>&6
15873 cat > conftest.$ac_ext <<EOF
15874 #line 15875 "configure"
15875 #include "confdefs.h"
15876 /* System header to define __stub macros and hopefully few prototypes,
15877 which can conflict with char $ac_func(); below. */
15878 #include <assert.h>
15879 /* Override any gcc2 internal prototype to avoid an error. */
15880 /* We use char because int might match the return type of a gcc2
15881 builtin and then its argument prototype would still apply. */
15886 /* The GNU C library defines this for functions which it implements
15887 to always fail with ENOSYS. Some functions are actually named
15888 something starting with __ and the normal name is an alias. */
15889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15897 if { (eval echo configure:15898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15899 eval "ac_cv_func_$ac_func=yes"
15901 echo "configure: failed program was:" >&5
15902 cat conftest.$ac_ext >&5
15904 eval "ac_cv_func_$ac_func=no"
15909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15910 echo "$ac_t""yes" 1>&6
15911 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15912 cat >> confdefs.h <<EOF
15913 #define $ac_tr_func 1
15917 echo "$ac_t""no" 1>&6
15926 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15927 echo "configure:15928: checking for finitef declaration" >&5
15928 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15929 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15930 echo $ac_n "(cached) $ac_c" 1>&6
15935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15936 ac_cpp='$CXXCPP $CPPFLAGS'
15937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15939 cross_compiling=$ac_cv_prog_cxx_cross
15941 cat > conftest.$ac_ext <<EOF
15942 #line 15943 "configure"
15943 #include "confdefs.h"
15945 #ifdef HAVE_IEEEFP_H
15946 #include <ieeefp.h>
15953 if { (eval echo configure:15954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15955 glibcpp_cv_func_finitef_use=yes
15957 echo "configure: failed program was:" >&5
15958 cat conftest.$ac_ext >&5
15960 glibcpp_cv_func_finitef_use=no
15964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15965 ac_cpp='$CPP $CPPFLAGS'
15966 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15967 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15968 cross_compiling=$ac_cv_prog_cc_cross
15974 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15976 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15977 for ac_func in finitef
15979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15980 echo "configure:15981: checking for $ac_func" >&5
15981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15982 echo $ac_n "(cached) $ac_c" 1>&6
15984 cat > conftest.$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15987 /* System header to define __stub macros and hopefully few prototypes,
15988 which can conflict with char $ac_func(); below. */
15989 #include <assert.h>
15990 /* Override any gcc2 internal prototype to avoid an error. */
15991 /* We use char because int might match the return type of a gcc2
15992 builtin and then its argument prototype would still apply. */
15997 /* The GNU C library defines this for functions which it implements
15998 to always fail with ENOSYS. Some functions are actually named
15999 something starting with __ and the normal name is an alias. */
16000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16008 if { (eval echo configure:16009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16010 eval "ac_cv_func_$ac_func=yes"
16012 echo "configure: failed program was:" >&5
16013 cat conftest.$ac_ext >&5
16015 eval "ac_cv_func_$ac_func=no"
16020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16021 echo "$ac_t""yes" 1>&6
16022 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16023 cat >> confdefs.h <<EOF
16024 #define $ac_tr_func 1
16028 echo "$ac_t""no" 1>&6
16034 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16035 echo "configure:16036: checking for _finitef declaration" >&5
16036 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16037 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16038 echo $ac_n "(cached) $ac_c" 1>&6
16043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16044 ac_cpp='$CXXCPP $CPPFLAGS'
16045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16047 cross_compiling=$ac_cv_prog_cxx_cross
16049 cat > conftest.$ac_ext <<EOF
16050 #line 16051 "configure"
16051 #include "confdefs.h"
16053 #ifdef HAVE_IEEEFP_H
16054 #include <ieeefp.h>
16061 if { (eval echo configure:16062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16063 glibcpp_cv_func__finitef_use=yes
16065 echo "configure: failed program was:" >&5
16066 cat conftest.$ac_ext >&5
16068 glibcpp_cv_func__finitef_use=no
16072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16073 ac_cpp='$CPP $CPPFLAGS'
16074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16076 cross_compiling=$ac_cv_prog_cc_cross
16082 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16084 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16085 for ac_func in _finitef
16087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16088 echo "configure:16089: checking for $ac_func" >&5
16089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16090 echo $ac_n "(cached) $ac_c" 1>&6
16092 cat > conftest.$ac_ext <<EOF
16093 #line 16094 "configure"
16094 #include "confdefs.h"
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char $ac_func(); below. */
16097 #include <assert.h>
16098 /* Override any gcc2 internal prototype to avoid an error. */
16099 /* We use char because int might match the return type of a gcc2
16100 builtin and then its argument prototype would still apply. */
16105 /* The GNU C library defines this for functions which it implements
16106 to always fail with ENOSYS. Some functions are actually named
16107 something starting with __ and the normal name is an alias. */
16108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16116 if { (eval echo configure:16117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16118 eval "ac_cv_func_$ac_func=yes"
16120 echo "configure: failed program was:" >&5
16121 cat conftest.$ac_ext >&5
16123 eval "ac_cv_func_$ac_func=no"
16128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16129 echo "$ac_t""yes" 1>&6
16130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16131 cat >> confdefs.h <<EOF
16132 #define $ac_tr_func 1
16136 echo "$ac_t""no" 1>&6
16145 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16146 echo "configure:16147: checking for long double trig functions" >&5
16147 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16153 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16154 ac_cpp='$CXXCPP $CPPFLAGS'
16155 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16156 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16157 cross_compiling=$ac_cv_prog_cxx_cross
16159 cat > conftest.$ac_ext <<EOF
16160 #line 16161 "configure"
16161 #include "confdefs.h"
16164 `for x in acosl asinl atanl \
16166 coshl sinhl tanhl; do echo "$x (0);"; done`
16169 if { (eval echo configure:16170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16171 glibcpp_cv_func_long_double_trig_use=yes
16173 echo "configure: failed program was:" >&5
16174 cat conftest.$ac_ext >&5
16176 glibcpp_cv_func_long_double_trig_use=no
16180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16181 ac_cpp='$CPP $CPPFLAGS'
16182 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16183 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16184 cross_compiling=$ac_cv_prog_cc_cross
16188 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16189 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16190 for ac_func in acosl asinl atanl \
16194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16195 echo "configure:16196: checking for $ac_func" >&5
16196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16197 echo $ac_n "(cached) $ac_c" 1>&6
16199 cat > conftest.$ac_ext <<EOF
16200 #line 16201 "configure"
16201 #include "confdefs.h"
16202 /* System header to define __stub macros and hopefully few prototypes,
16203 which can conflict with char $ac_func(); below. */
16204 #include <assert.h>
16205 /* Override any gcc2 internal prototype to avoid an error. */
16206 /* We use char because int might match the return type of a gcc2
16207 builtin and then its argument prototype would still apply. */
16212 /* The GNU C library defines this for functions which it implements
16213 to always fail with ENOSYS. Some functions are actually named
16214 something starting with __ and the normal name is an alias. */
16215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16223 if { (eval echo configure:16224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16225 eval "ac_cv_func_$ac_func=yes"
16227 echo "configure: failed program was:" >&5
16228 cat conftest.$ac_ext >&5
16230 eval "ac_cv_func_$ac_func=no"
16235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16236 echo "$ac_t""yes" 1>&6
16237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16238 cat >> confdefs.h <<EOF
16239 #define $ac_tr_func 1
16243 echo "$ac_t""no" 1>&6
16250 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16251 echo "configure:16252: checking for long double round functions" >&5
16252 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16253 echo $ac_n "(cached) $ac_c" 1>&6
16258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16259 ac_cpp='$CXXCPP $CPPFLAGS'
16260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16262 cross_compiling=$ac_cv_prog_cxx_cross
16264 cat > conftest.$ac_ext <<EOF
16265 #line 16266 "configure"
16266 #include "confdefs.h"
16269 `for x in ceill floorl; do echo "$x (0);"; done`
16272 if { (eval echo configure:16273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16274 glibcpp_cv_func_long_double_round_use=yes
16276 echo "configure: failed program was:" >&5
16277 cat conftest.$ac_ext >&5
16279 glibcpp_cv_func_long_double_round_use=no
16283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16284 ac_cpp='$CPP $CPPFLAGS'
16285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16287 cross_compiling=$ac_cv_prog_cc_cross
16291 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16292 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16293 for ac_func in ceill floorl
16295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16296 echo "configure:16297: checking for $ac_func" >&5
16297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16298 echo $ac_n "(cached) $ac_c" 1>&6
16300 cat > conftest.$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16303 /* System header to define __stub macros and hopefully few prototypes,
16304 which can conflict with char $ac_func(); below. */
16305 #include <assert.h>
16306 /* Override any gcc2 internal prototype to avoid an error. */
16307 /* We use char because int might match the return type of a gcc2
16308 builtin and then its argument prototype would still apply. */
16313 /* The GNU C library defines this for functions which it implements
16314 to always fail with ENOSYS. Some functions are actually named
16315 something starting with __ and the normal name is an alias. */
16316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16324 if { (eval echo configure:16325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16326 eval "ac_cv_func_$ac_func=yes"
16328 echo "configure: failed program was:" >&5
16329 cat conftest.$ac_ext >&5
16331 eval "ac_cv_func_$ac_func=no"
16336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16337 echo "$ac_t""yes" 1>&6
16338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16339 cat >> confdefs.h <<EOF
16340 #define $ac_tr_func 1
16344 echo "$ac_t""no" 1>&6
16352 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16353 echo "configure:16354: checking for isnanl declaration" >&5
16354 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16355 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16356 echo $ac_n "(cached) $ac_c" 1>&6
16361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16362 ac_cpp='$CXXCPP $CPPFLAGS'
16363 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16364 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16365 cross_compiling=$ac_cv_prog_cxx_cross
16367 cat > conftest.$ac_ext <<EOF
16368 #line 16369 "configure"
16369 #include "confdefs.h"
16371 #ifdef HAVE_IEEEFP_H
16372 #include <ieeefp.h>
16379 if { (eval echo configure:16380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16381 glibcpp_cv_func_isnanl_use=yes
16383 echo "configure: failed program was:" >&5
16384 cat conftest.$ac_ext >&5
16386 glibcpp_cv_func_isnanl_use=no
16390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16391 ac_cpp='$CPP $CPPFLAGS'
16392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16394 cross_compiling=$ac_cv_prog_cc_cross
16400 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16402 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16403 for ac_func in isnanl
16405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16406 echo "configure:16407: checking for $ac_func" >&5
16407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16410 cat > conftest.$ac_ext <<EOF
16411 #line 16412 "configure"
16412 #include "confdefs.h"
16413 /* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char $ac_func(); below. */
16415 #include <assert.h>
16416 /* Override any gcc2 internal prototype to avoid an error. */
16417 /* We use char because int might match the return type of a gcc2
16418 builtin and then its argument prototype would still apply. */
16423 /* The GNU C library defines this for functions which it implements
16424 to always fail with ENOSYS. Some functions are actually named
16425 something starting with __ and the normal name is an alias. */
16426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16434 if { (eval echo configure:16435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16436 eval "ac_cv_func_$ac_func=yes"
16438 echo "configure: failed program was:" >&5
16439 cat conftest.$ac_ext >&5
16441 eval "ac_cv_func_$ac_func=no"
16446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16447 echo "$ac_t""yes" 1>&6
16448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16449 cat >> confdefs.h <<EOF
16450 #define $ac_tr_func 1
16454 echo "$ac_t""no" 1>&6
16460 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16461 echo "configure:16462: checking for _isnanl declaration" >&5
16462 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16463 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16464 echo $ac_n "(cached) $ac_c" 1>&6
16469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16470 ac_cpp='$CXXCPP $CPPFLAGS'
16471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16473 cross_compiling=$ac_cv_prog_cxx_cross
16475 cat > conftest.$ac_ext <<EOF
16476 #line 16477 "configure"
16477 #include "confdefs.h"
16479 #ifdef HAVE_IEEEFP_H
16480 #include <ieeefp.h>
16487 if { (eval echo configure:16488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16489 glibcpp_cv_func__isnanl_use=yes
16491 echo "configure: failed program was:" >&5
16492 cat conftest.$ac_ext >&5
16494 glibcpp_cv_func__isnanl_use=no
16498 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16499 ac_cpp='$CPP $CPPFLAGS'
16500 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16501 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16502 cross_compiling=$ac_cv_prog_cc_cross
16508 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16510 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16511 for ac_func in _isnanl
16513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16514 echo "configure:16515: checking for $ac_func" >&5
16515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16516 echo $ac_n "(cached) $ac_c" 1>&6
16518 cat > conftest.$ac_ext <<EOF
16519 #line 16520 "configure"
16520 #include "confdefs.h"
16521 /* System header to define __stub macros and hopefully few prototypes,
16522 which can conflict with char $ac_func(); below. */
16523 #include <assert.h>
16524 /* Override any gcc2 internal prototype to avoid an error. */
16525 /* We use char because int might match the return type of a gcc2
16526 builtin and then its argument prototype would still apply. */
16531 /* The GNU C library defines this for functions which it implements
16532 to always fail with ENOSYS. Some functions are actually named
16533 something starting with __ and the normal name is an alias. */
16534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16542 if { (eval echo configure:16543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16544 eval "ac_cv_func_$ac_func=yes"
16546 echo "configure: failed program was:" >&5
16547 cat conftest.$ac_ext >&5
16549 eval "ac_cv_func_$ac_func=no"
16554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16555 echo "$ac_t""yes" 1>&6
16556 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16557 cat >> confdefs.h <<EOF
16558 #define $ac_tr_func 1
16562 echo "$ac_t""no" 1>&6
16571 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16572 echo "configure:16573: checking for isinfl declaration" >&5
16573 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16574 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16575 echo $ac_n "(cached) $ac_c" 1>&6
16580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16581 ac_cpp='$CXXCPP $CPPFLAGS'
16582 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16583 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16584 cross_compiling=$ac_cv_prog_cxx_cross
16586 cat > conftest.$ac_ext <<EOF
16587 #line 16588 "configure"
16588 #include "confdefs.h"
16590 #ifdef HAVE_IEEEFP_H
16591 #include <ieeefp.h>
16598 if { (eval echo configure:16599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16600 glibcpp_cv_func_isinfl_use=yes
16602 echo "configure: failed program was:" >&5
16603 cat conftest.$ac_ext >&5
16605 glibcpp_cv_func_isinfl_use=no
16609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16610 ac_cpp='$CPP $CPPFLAGS'
16611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16613 cross_compiling=$ac_cv_prog_cc_cross
16619 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16621 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16622 for ac_func in isinfl
16624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16625 echo "configure:16626: checking for $ac_func" >&5
16626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16627 echo $ac_n "(cached) $ac_c" 1>&6
16629 cat > conftest.$ac_ext <<EOF
16630 #line 16631 "configure"
16631 #include "confdefs.h"
16632 /* System header to define __stub macros and hopefully few prototypes,
16633 which can conflict with char $ac_func(); below. */
16634 #include <assert.h>
16635 /* Override any gcc2 internal prototype to avoid an error. */
16636 /* We use char because int might match the return type of a gcc2
16637 builtin and then its argument prototype would still apply. */
16642 /* The GNU C library defines this for functions which it implements
16643 to always fail with ENOSYS. Some functions are actually named
16644 something starting with __ and the normal name is an alias. */
16645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16653 if { (eval echo configure:16654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16655 eval "ac_cv_func_$ac_func=yes"
16657 echo "configure: failed program was:" >&5
16658 cat conftest.$ac_ext >&5
16660 eval "ac_cv_func_$ac_func=no"
16665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16666 echo "$ac_t""yes" 1>&6
16667 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16668 cat >> confdefs.h <<EOF
16669 #define $ac_tr_func 1
16673 echo "$ac_t""no" 1>&6
16679 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16680 echo "configure:16681: checking for _isinfl declaration" >&5
16681 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16682 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16683 echo $ac_n "(cached) $ac_c" 1>&6
16688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16689 ac_cpp='$CXXCPP $CPPFLAGS'
16690 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16691 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16692 cross_compiling=$ac_cv_prog_cxx_cross
16694 cat > conftest.$ac_ext <<EOF
16695 #line 16696 "configure"
16696 #include "confdefs.h"
16698 #ifdef HAVE_IEEEFP_H
16699 #include <ieeefp.h>
16706 if { (eval echo configure:16707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16708 glibcpp_cv_func__isinfl_use=yes
16710 echo "configure: failed program was:" >&5
16711 cat conftest.$ac_ext >&5
16713 glibcpp_cv_func__isinfl_use=no
16717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16718 ac_cpp='$CPP $CPPFLAGS'
16719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16721 cross_compiling=$ac_cv_prog_cc_cross
16727 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16729 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16730 for ac_func in _isinfl
16732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16733 echo "configure:16734: checking for $ac_func" >&5
16734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16735 echo $ac_n "(cached) $ac_c" 1>&6
16737 cat > conftest.$ac_ext <<EOF
16738 #line 16739 "configure"
16739 #include "confdefs.h"
16740 /* System header to define __stub macros and hopefully few prototypes,
16741 which can conflict with char $ac_func(); below. */
16742 #include <assert.h>
16743 /* Override any gcc2 internal prototype to avoid an error. */
16744 /* We use char because int might match the return type of a gcc2
16745 builtin and then its argument prototype would still apply. */
16750 /* The GNU C library defines this for functions which it implements
16751 to always fail with ENOSYS. Some functions are actually named
16752 something starting with __ and the normal name is an alias. */
16753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16761 if { (eval echo configure:16762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16763 eval "ac_cv_func_$ac_func=yes"
16765 echo "configure: failed program was:" >&5
16766 cat conftest.$ac_ext >&5
16768 eval "ac_cv_func_$ac_func=no"
16773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16774 echo "$ac_t""yes" 1>&6
16775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16776 cat >> confdefs.h <<EOF
16777 #define $ac_tr_func 1
16781 echo "$ac_t""no" 1>&6
16790 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16791 echo "configure:16792: checking for copysignl declaration" >&5
16792 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16793 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16794 echo $ac_n "(cached) $ac_c" 1>&6
16799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16803 cross_compiling=$ac_cv_prog_cxx_cross
16805 cat > conftest.$ac_ext <<EOF
16806 #line 16807 "configure"
16807 #include "confdefs.h"
16813 if { (eval echo configure:16814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16815 glibcpp_cv_func_copysignl_use=yes
16817 echo "configure: failed program was:" >&5
16818 cat conftest.$ac_ext >&5
16820 glibcpp_cv_func_copysignl_use=no
16824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16828 cross_compiling=$ac_cv_prog_cc_cross
16834 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16836 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16837 for ac_func in copysignl
16839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16840 echo "configure:16841: checking for $ac_func" >&5
16841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16842 echo $ac_n "(cached) $ac_c" 1>&6
16844 cat > conftest.$ac_ext <<EOF
16845 #line 16846 "configure"
16846 #include "confdefs.h"
16847 /* System header to define __stub macros and hopefully few prototypes,
16848 which can conflict with char $ac_func(); below. */
16849 #include <assert.h>
16850 /* Override any gcc2 internal prototype to avoid an error. */
16851 /* We use char because int might match the return type of a gcc2
16852 builtin and then its argument prototype would still apply. */
16857 /* The GNU C library defines this for functions which it implements
16858 to always fail with ENOSYS. Some functions are actually named
16859 something starting with __ and the normal name is an alias. */
16860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16868 if { (eval echo configure:16869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16870 eval "ac_cv_func_$ac_func=yes"
16872 echo "configure: failed program was:" >&5
16873 cat conftest.$ac_ext >&5
16875 eval "ac_cv_func_$ac_func=no"
16880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16881 echo "$ac_t""yes" 1>&6
16882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16883 cat >> confdefs.h <<EOF
16884 #define $ac_tr_func 1
16888 echo "$ac_t""no" 1>&6
16894 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16895 echo "configure:16896: checking for _copysignl declaration" >&5
16896 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16897 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16898 echo $ac_n "(cached) $ac_c" 1>&6
16903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16907 cross_compiling=$ac_cv_prog_cxx_cross
16909 cat > conftest.$ac_ext <<EOF
16910 #line 16911 "configure"
16911 #include "confdefs.h"
16917 if { (eval echo configure:16918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16919 glibcpp_cv_func__copysignl_use=yes
16921 echo "configure: failed program was:" >&5
16922 cat conftest.$ac_ext >&5
16924 glibcpp_cv_func__copysignl_use=no
16928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16929 ac_cpp='$CPP $CPPFLAGS'
16930 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16931 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16932 cross_compiling=$ac_cv_prog_cc_cross
16938 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16940 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16941 for ac_func in _copysignl
16943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16944 echo "configure:16945: checking for $ac_func" >&5
16945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16946 echo $ac_n "(cached) $ac_c" 1>&6
16948 cat > conftest.$ac_ext <<EOF
16949 #line 16950 "configure"
16950 #include "confdefs.h"
16951 /* System header to define __stub macros and hopefully few prototypes,
16952 which can conflict with char $ac_func(); below. */
16953 #include <assert.h>
16954 /* Override any gcc2 internal prototype to avoid an error. */
16955 /* We use char because int might match the return type of a gcc2
16956 builtin and then its argument prototype would still apply. */
16961 /* The GNU C library defines this for functions which it implements
16962 to always fail with ENOSYS. Some functions are actually named
16963 something starting with __ and the normal name is an alias. */
16964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16972 if { (eval echo configure:16973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16974 eval "ac_cv_func_$ac_func=yes"
16976 echo "configure: failed program was:" >&5
16977 cat conftest.$ac_ext >&5
16979 eval "ac_cv_func_$ac_func=no"
16984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16985 echo "$ac_t""yes" 1>&6
16986 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16987 cat >> confdefs.h <<EOF
16988 #define $ac_tr_func 1
16992 echo "$ac_t""no" 1>&6
17001 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
17002 echo "configure:17003: checking for atan2l declaration" >&5
17003 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17004 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17005 echo $ac_n "(cached) $ac_c" 1>&6
17010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17011 ac_cpp='$CXXCPP $CPPFLAGS'
17012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17014 cross_compiling=$ac_cv_prog_cxx_cross
17016 cat > conftest.$ac_ext <<EOF
17017 #line 17018 "configure"
17018 #include "confdefs.h"
17024 if { (eval echo configure:17025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17026 glibcpp_cv_func_atan2l_use=yes
17028 echo "configure: failed program was:" >&5
17029 cat conftest.$ac_ext >&5
17031 glibcpp_cv_func_atan2l_use=no
17035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17039 cross_compiling=$ac_cv_prog_cc_cross
17045 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17047 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17048 for ac_func in atan2l
17050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17051 echo "configure:17052: checking for $ac_func" >&5
17052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17053 echo $ac_n "(cached) $ac_c" 1>&6
17055 cat > conftest.$ac_ext <<EOF
17056 #line 17057 "configure"
17057 #include "confdefs.h"
17058 /* System header to define __stub macros and hopefully few prototypes,
17059 which can conflict with char $ac_func(); below. */
17060 #include <assert.h>
17061 /* Override any gcc2 internal prototype to avoid an error. */
17062 /* We use char because int might match the return type of a gcc2
17063 builtin and then its argument prototype would still apply. */
17068 /* The GNU C library defines this for functions which it implements
17069 to always fail with ENOSYS. Some functions are actually named
17070 something starting with __ and the normal name is an alias. */
17071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17079 if { (eval echo configure:17080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17081 eval "ac_cv_func_$ac_func=yes"
17083 echo "configure: failed program was:" >&5
17084 cat conftest.$ac_ext >&5
17086 eval "ac_cv_func_$ac_func=no"
17091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17092 echo "$ac_t""yes" 1>&6
17093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17094 cat >> confdefs.h <<EOF
17095 #define $ac_tr_func 1
17099 echo "$ac_t""no" 1>&6
17105 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17106 echo "configure:17107: checking for _atan2l declaration" >&5
17107 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17108 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17109 echo $ac_n "(cached) $ac_c" 1>&6
17114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17115 ac_cpp='$CXXCPP $CPPFLAGS'
17116 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17117 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17118 cross_compiling=$ac_cv_prog_cxx_cross
17120 cat > conftest.$ac_ext <<EOF
17121 #line 17122 "configure"
17122 #include "confdefs.h"
17128 if { (eval echo configure:17129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17130 glibcpp_cv_func__atan2l_use=yes
17132 echo "configure: failed program was:" >&5
17133 cat conftest.$ac_ext >&5
17135 glibcpp_cv_func__atan2l_use=no
17139 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17140 ac_cpp='$CPP $CPPFLAGS'
17141 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17142 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17143 cross_compiling=$ac_cv_prog_cc_cross
17149 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17151 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17152 for ac_func in _atan2l
17154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17155 echo "configure:17156: checking for $ac_func" >&5
17156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17157 echo $ac_n "(cached) $ac_c" 1>&6
17159 cat > conftest.$ac_ext <<EOF
17160 #line 17161 "configure"
17161 #include "confdefs.h"
17162 /* System header to define __stub macros and hopefully few prototypes,
17163 which can conflict with char $ac_func(); below. */
17164 #include <assert.h>
17165 /* Override any gcc2 internal prototype to avoid an error. */
17166 /* We use char because int might match the return type of a gcc2
17167 builtin and then its argument prototype would still apply. */
17172 /* The GNU C library defines this for functions which it implements
17173 to always fail with ENOSYS. Some functions are actually named
17174 something starting with __ and the normal name is an alias. */
17175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17183 if { (eval echo configure:17184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17185 eval "ac_cv_func_$ac_func=yes"
17187 echo "configure: failed program was:" >&5
17188 cat conftest.$ac_ext >&5
17190 eval "ac_cv_func_$ac_func=no"
17195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17196 echo "$ac_t""yes" 1>&6
17197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17198 cat >> confdefs.h <<EOF
17199 #define $ac_tr_func 1
17203 echo "$ac_t""no" 1>&6
17212 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17213 echo "configure:17214: checking for expl declaration" >&5
17214 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17215 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17216 echo $ac_n "(cached) $ac_c" 1>&6
17221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17222 ac_cpp='$CXXCPP $CPPFLAGS'
17223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17225 cross_compiling=$ac_cv_prog_cxx_cross
17227 cat > conftest.$ac_ext <<EOF
17228 #line 17229 "configure"
17229 #include "confdefs.h"
17231 #ifdef HAVE_IEEEFP_H
17232 #include <ieeefp.h>
17239 if { (eval echo configure:17240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17241 glibcpp_cv_func_expl_use=yes
17243 echo "configure: failed program was:" >&5
17244 cat conftest.$ac_ext >&5
17246 glibcpp_cv_func_expl_use=no
17250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17254 cross_compiling=$ac_cv_prog_cc_cross
17260 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17262 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17263 for ac_func in expl
17265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17266 echo "configure:17267: checking for $ac_func" >&5
17267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17268 echo $ac_n "(cached) $ac_c" 1>&6
17270 cat > conftest.$ac_ext <<EOF
17271 #line 17272 "configure"
17272 #include "confdefs.h"
17273 /* System header to define __stub macros and hopefully few prototypes,
17274 which can conflict with char $ac_func(); below. */
17275 #include <assert.h>
17276 /* Override any gcc2 internal prototype to avoid an error. */
17277 /* We use char because int might match the return type of a gcc2
17278 builtin and then its argument prototype would still apply. */
17283 /* The GNU C library defines this for functions which it implements
17284 to always fail with ENOSYS. Some functions are actually named
17285 something starting with __ and the normal name is an alias. */
17286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17294 if { (eval echo configure:17295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17296 eval "ac_cv_func_$ac_func=yes"
17298 echo "configure: failed program was:" >&5
17299 cat conftest.$ac_ext >&5
17301 eval "ac_cv_func_$ac_func=no"
17306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17307 echo "$ac_t""yes" 1>&6
17308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17309 cat >> confdefs.h <<EOF
17310 #define $ac_tr_func 1
17314 echo "$ac_t""no" 1>&6
17320 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17321 echo "configure:17322: checking for _expl declaration" >&5
17322 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17323 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17324 echo $ac_n "(cached) $ac_c" 1>&6
17329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17330 ac_cpp='$CXXCPP $CPPFLAGS'
17331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17333 cross_compiling=$ac_cv_prog_cxx_cross
17335 cat > conftest.$ac_ext <<EOF
17336 #line 17337 "configure"
17337 #include "confdefs.h"
17339 #ifdef HAVE_IEEEFP_H
17340 #include <ieeefp.h>
17347 if { (eval echo configure:17348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17349 glibcpp_cv_func__expl_use=yes
17351 echo "configure: failed program was:" >&5
17352 cat conftest.$ac_ext >&5
17354 glibcpp_cv_func__expl_use=no
17358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17359 ac_cpp='$CPP $CPPFLAGS'
17360 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17361 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17362 cross_compiling=$ac_cv_prog_cc_cross
17368 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17370 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17371 for ac_func in _expl
17373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17374 echo "configure:17375: checking for $ac_func" >&5
17375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17376 echo $ac_n "(cached) $ac_c" 1>&6
17378 cat > conftest.$ac_ext <<EOF
17379 #line 17380 "configure"
17380 #include "confdefs.h"
17381 /* System header to define __stub macros and hopefully few prototypes,
17382 which can conflict with char $ac_func(); below. */
17383 #include <assert.h>
17384 /* Override any gcc2 internal prototype to avoid an error. */
17385 /* We use char because int might match the return type of a gcc2
17386 builtin and then its argument prototype would still apply. */
17391 /* The GNU C library defines this for functions which it implements
17392 to always fail with ENOSYS. Some functions are actually named
17393 something starting with __ and the normal name is an alias. */
17394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17402 if { (eval echo configure:17403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17404 eval "ac_cv_func_$ac_func=yes"
17406 echo "configure: failed program was:" >&5
17407 cat conftest.$ac_ext >&5
17409 eval "ac_cv_func_$ac_func=no"
17414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17415 echo "$ac_t""yes" 1>&6
17416 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17417 cat >> confdefs.h <<EOF
17418 #define $ac_tr_func 1
17422 echo "$ac_t""no" 1>&6
17431 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17432 echo "configure:17433: checking for fabsl declaration" >&5
17433 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17434 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17435 echo $ac_n "(cached) $ac_c" 1>&6
17440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17441 ac_cpp='$CXXCPP $CPPFLAGS'
17442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17444 cross_compiling=$ac_cv_prog_cxx_cross
17446 cat > conftest.$ac_ext <<EOF
17447 #line 17448 "configure"
17448 #include "confdefs.h"
17450 #ifdef HAVE_IEEEFP_H
17451 #include <ieeefp.h>
17458 if { (eval echo configure:17459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17460 glibcpp_cv_func_fabsl_use=yes
17462 echo "configure: failed program was:" >&5
17463 cat conftest.$ac_ext >&5
17465 glibcpp_cv_func_fabsl_use=no
17469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17470 ac_cpp='$CPP $CPPFLAGS'
17471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17473 cross_compiling=$ac_cv_prog_cc_cross
17479 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17481 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17482 for ac_func in fabsl
17484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17485 echo "configure:17486: checking for $ac_func" >&5
17486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17487 echo $ac_n "(cached) $ac_c" 1>&6
17489 cat > conftest.$ac_ext <<EOF
17490 #line 17491 "configure"
17491 #include "confdefs.h"
17492 /* System header to define __stub macros and hopefully few prototypes,
17493 which can conflict with char $ac_func(); below. */
17494 #include <assert.h>
17495 /* Override any gcc2 internal prototype to avoid an error. */
17496 /* We use char because int might match the return type of a gcc2
17497 builtin and then its argument prototype would still apply. */
17502 /* The GNU C library defines this for functions which it implements
17503 to always fail with ENOSYS. Some functions are actually named
17504 something starting with __ and the normal name is an alias. */
17505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17513 if { (eval echo configure:17514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17515 eval "ac_cv_func_$ac_func=yes"
17517 echo "configure: failed program was:" >&5
17518 cat conftest.$ac_ext >&5
17520 eval "ac_cv_func_$ac_func=no"
17525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17526 echo "$ac_t""yes" 1>&6
17527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17528 cat >> confdefs.h <<EOF
17529 #define $ac_tr_func 1
17533 echo "$ac_t""no" 1>&6
17539 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17540 echo "configure:17541: checking for _fabsl declaration" >&5
17541 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17542 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17543 echo $ac_n "(cached) $ac_c" 1>&6
17548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17549 ac_cpp='$CXXCPP $CPPFLAGS'
17550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17552 cross_compiling=$ac_cv_prog_cxx_cross
17554 cat > conftest.$ac_ext <<EOF
17555 #line 17556 "configure"
17556 #include "confdefs.h"
17558 #ifdef HAVE_IEEEFP_H
17559 #include <ieeefp.h>
17566 if { (eval echo configure:17567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17568 glibcpp_cv_func__fabsl_use=yes
17570 echo "configure: failed program was:" >&5
17571 cat conftest.$ac_ext >&5
17573 glibcpp_cv_func__fabsl_use=no
17577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17578 ac_cpp='$CPP $CPPFLAGS'
17579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17581 cross_compiling=$ac_cv_prog_cc_cross
17587 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17589 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17590 for ac_func in _fabsl
17592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17593 echo "configure:17594: checking for $ac_func" >&5
17594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17595 echo $ac_n "(cached) $ac_c" 1>&6
17597 cat > conftest.$ac_ext <<EOF
17598 #line 17599 "configure"
17599 #include "confdefs.h"
17600 /* System header to define __stub macros and hopefully few prototypes,
17601 which can conflict with char $ac_func(); below. */
17602 #include <assert.h>
17603 /* Override any gcc2 internal prototype to avoid an error. */
17604 /* We use char because int might match the return type of a gcc2
17605 builtin and then its argument prototype would still apply. */
17610 /* The GNU C library defines this for functions which it implements
17611 to always fail with ENOSYS. Some functions are actually named
17612 something starting with __ and the normal name is an alias. */
17613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17621 if { (eval echo configure:17622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17623 eval "ac_cv_func_$ac_func=yes"
17625 echo "configure: failed program was:" >&5
17626 cat conftest.$ac_ext >&5
17628 eval "ac_cv_func_$ac_func=no"
17633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17634 echo "$ac_t""yes" 1>&6
17635 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17636 cat >> confdefs.h <<EOF
17637 #define $ac_tr_func 1
17641 echo "$ac_t""no" 1>&6
17650 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17651 echo "configure:17652: checking for fmodl declaration" >&5
17652 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17653 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17654 echo $ac_n "(cached) $ac_c" 1>&6
17659 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17660 ac_cpp='$CXXCPP $CPPFLAGS'
17661 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17662 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17663 cross_compiling=$ac_cv_prog_cxx_cross
17665 cat > conftest.$ac_ext <<EOF
17666 #line 17667 "configure"
17667 #include "confdefs.h"
17673 if { (eval echo configure:17674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17675 glibcpp_cv_func_fmodl_use=yes
17677 echo "configure: failed program was:" >&5
17678 cat conftest.$ac_ext >&5
17680 glibcpp_cv_func_fmodl_use=no
17684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17688 cross_compiling=$ac_cv_prog_cc_cross
17694 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17696 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17697 for ac_func in fmodl
17699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17700 echo "configure:17701: checking for $ac_func" >&5
17701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17702 echo $ac_n "(cached) $ac_c" 1>&6
17704 cat > conftest.$ac_ext <<EOF
17705 #line 17706 "configure"
17706 #include "confdefs.h"
17707 /* System header to define __stub macros and hopefully few prototypes,
17708 which can conflict with char $ac_func(); below. */
17709 #include <assert.h>
17710 /* Override any gcc2 internal prototype to avoid an error. */
17711 /* We use char because int might match the return type of a gcc2
17712 builtin and then its argument prototype would still apply. */
17717 /* The GNU C library defines this for functions which it implements
17718 to always fail with ENOSYS. Some functions are actually named
17719 something starting with __ and the normal name is an alias. */
17720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17728 if { (eval echo configure:17729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17730 eval "ac_cv_func_$ac_func=yes"
17732 echo "configure: failed program was:" >&5
17733 cat conftest.$ac_ext >&5
17735 eval "ac_cv_func_$ac_func=no"
17740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17741 echo "$ac_t""yes" 1>&6
17742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17743 cat >> confdefs.h <<EOF
17744 #define $ac_tr_func 1
17748 echo "$ac_t""no" 1>&6
17754 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17755 echo "configure:17756: checking for _fmodl declaration" >&5
17756 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17757 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17758 echo $ac_n "(cached) $ac_c" 1>&6
17763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17764 ac_cpp='$CXXCPP $CPPFLAGS'
17765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17767 cross_compiling=$ac_cv_prog_cxx_cross
17769 cat > conftest.$ac_ext <<EOF
17770 #line 17771 "configure"
17771 #include "confdefs.h"
17777 if { (eval echo configure:17778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17779 glibcpp_cv_func__fmodl_use=yes
17781 echo "configure: failed program was:" >&5
17782 cat conftest.$ac_ext >&5
17784 glibcpp_cv_func__fmodl_use=no
17788 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17789 ac_cpp='$CPP $CPPFLAGS'
17790 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17791 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17792 cross_compiling=$ac_cv_prog_cc_cross
17798 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17800 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17801 for ac_func in _fmodl
17803 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17804 echo "configure:17805: checking for $ac_func" >&5
17805 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17806 echo $ac_n "(cached) $ac_c" 1>&6
17808 cat > conftest.$ac_ext <<EOF
17809 #line 17810 "configure"
17810 #include "confdefs.h"
17811 /* System header to define __stub macros and hopefully few prototypes,
17812 which can conflict with char $ac_func(); below. */
17813 #include <assert.h>
17814 /* Override any gcc2 internal prototype to avoid an error. */
17815 /* We use char because int might match the return type of a gcc2
17816 builtin and then its argument prototype would still apply. */
17821 /* The GNU C library defines this for functions which it implements
17822 to always fail with ENOSYS. Some functions are actually named
17823 something starting with __ and the normal name is an alias. */
17824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17832 if { (eval echo configure:17833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17834 eval "ac_cv_func_$ac_func=yes"
17836 echo "configure: failed program was:" >&5
17837 cat conftest.$ac_ext >&5
17839 eval "ac_cv_func_$ac_func=no"
17844 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17845 echo "$ac_t""yes" 1>&6
17846 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17847 cat >> confdefs.h <<EOF
17848 #define $ac_tr_func 1
17852 echo "$ac_t""no" 1>&6
17861 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17862 echo "configure:17863: checking for frexpl declaration" >&5
17863 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17864 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17865 echo $ac_n "(cached) $ac_c" 1>&6
17870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17871 ac_cpp='$CXXCPP $CPPFLAGS'
17872 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17873 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17874 cross_compiling=$ac_cv_prog_cxx_cross
17876 cat > conftest.$ac_ext <<EOF
17877 #line 17878 "configure"
17878 #include "confdefs.h"
17884 if { (eval echo configure:17885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17886 glibcpp_cv_func_frexpl_use=yes
17888 echo "configure: failed program was:" >&5
17889 cat conftest.$ac_ext >&5
17891 glibcpp_cv_func_frexpl_use=no
17895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17896 ac_cpp='$CPP $CPPFLAGS'
17897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17899 cross_compiling=$ac_cv_prog_cc_cross
17905 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17907 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17908 for ac_func in frexpl
17910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17911 echo "configure:17912: checking for $ac_func" >&5
17912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17913 echo $ac_n "(cached) $ac_c" 1>&6
17915 cat > conftest.$ac_ext <<EOF
17916 #line 17917 "configure"
17917 #include "confdefs.h"
17918 /* System header to define __stub macros and hopefully few prototypes,
17919 which can conflict with char $ac_func(); below. */
17920 #include <assert.h>
17921 /* Override any gcc2 internal prototype to avoid an error. */
17922 /* We use char because int might match the return type of a gcc2
17923 builtin and then its argument prototype would still apply. */
17928 /* The GNU C library defines this for functions which it implements
17929 to always fail with ENOSYS. Some functions are actually named
17930 something starting with __ and the normal name is an alias. */
17931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17939 if { (eval echo configure:17940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17941 eval "ac_cv_func_$ac_func=yes"
17943 echo "configure: failed program was:" >&5
17944 cat conftest.$ac_ext >&5
17946 eval "ac_cv_func_$ac_func=no"
17951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17952 echo "$ac_t""yes" 1>&6
17953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17954 cat >> confdefs.h <<EOF
17955 #define $ac_tr_func 1
17959 echo "$ac_t""no" 1>&6
17965 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17966 echo "configure:17967: checking for _frexpl declaration" >&5
17967 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17968 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17969 echo $ac_n "(cached) $ac_c" 1>&6
17974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17975 ac_cpp='$CXXCPP $CPPFLAGS'
17976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17978 cross_compiling=$ac_cv_prog_cxx_cross
17980 cat > conftest.$ac_ext <<EOF
17981 #line 17982 "configure"
17982 #include "confdefs.h"
17988 if { (eval echo configure:17989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17990 glibcpp_cv_func__frexpl_use=yes
17992 echo "configure: failed program was:" >&5
17993 cat conftest.$ac_ext >&5
17995 glibcpp_cv_func__frexpl_use=no
17999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18000 ac_cpp='$CPP $CPPFLAGS'
18001 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18002 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18003 cross_compiling=$ac_cv_prog_cc_cross
18009 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18011 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18012 for ac_func in _frexpl
18014 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18015 echo "configure:18016: checking for $ac_func" >&5
18016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18017 echo $ac_n "(cached) $ac_c" 1>&6
18019 cat > conftest.$ac_ext <<EOF
18020 #line 18021 "configure"
18021 #include "confdefs.h"
18022 /* System header to define __stub macros and hopefully few prototypes,
18023 which can conflict with char $ac_func(); below. */
18024 #include <assert.h>
18025 /* Override any gcc2 internal prototype to avoid an error. */
18026 /* We use char because int might match the return type of a gcc2
18027 builtin and then its argument prototype would still apply. */
18032 /* The GNU C library defines this for functions which it implements
18033 to always fail with ENOSYS. Some functions are actually named
18034 something starting with __ and the normal name is an alias. */
18035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18043 if { (eval echo configure:18044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18045 eval "ac_cv_func_$ac_func=yes"
18047 echo "configure: failed program was:" >&5
18048 cat conftest.$ac_ext >&5
18050 eval "ac_cv_func_$ac_func=no"
18055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18056 echo "$ac_t""yes" 1>&6
18057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18058 cat >> confdefs.h <<EOF
18059 #define $ac_tr_func 1
18063 echo "$ac_t""no" 1>&6
18072 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18073 echo "configure:18074: checking for hypotl declaration" >&5
18074 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18075 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18076 echo $ac_n "(cached) $ac_c" 1>&6
18081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18084 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18085 cross_compiling=$ac_cv_prog_cxx_cross
18087 cat > conftest.$ac_ext <<EOF
18088 #line 18089 "configure"
18089 #include "confdefs.h"
18095 if { (eval echo configure:18096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18097 glibcpp_cv_func_hypotl_use=yes
18099 echo "configure: failed program was:" >&5
18100 cat conftest.$ac_ext >&5
18102 glibcpp_cv_func_hypotl_use=no
18106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18107 ac_cpp='$CPP $CPPFLAGS'
18108 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18109 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18110 cross_compiling=$ac_cv_prog_cc_cross
18116 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18118 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18119 for ac_func in hypotl
18121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18122 echo "configure:18123: checking for $ac_func" >&5
18123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18124 echo $ac_n "(cached) $ac_c" 1>&6
18126 cat > conftest.$ac_ext <<EOF
18127 #line 18128 "configure"
18128 #include "confdefs.h"
18129 /* System header to define __stub macros and hopefully few prototypes,
18130 which can conflict with char $ac_func(); below. */
18131 #include <assert.h>
18132 /* Override any gcc2 internal prototype to avoid an error. */
18133 /* We use char because int might match the return type of a gcc2
18134 builtin and then its argument prototype would still apply. */
18139 /* The GNU C library defines this for functions which it implements
18140 to always fail with ENOSYS. Some functions are actually named
18141 something starting with __ and the normal name is an alias. */
18142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18150 if { (eval echo configure:18151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18152 eval "ac_cv_func_$ac_func=yes"
18154 echo "configure: failed program was:" >&5
18155 cat conftest.$ac_ext >&5
18157 eval "ac_cv_func_$ac_func=no"
18162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18163 echo "$ac_t""yes" 1>&6
18164 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18165 cat >> confdefs.h <<EOF
18166 #define $ac_tr_func 1
18170 echo "$ac_t""no" 1>&6
18176 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18177 echo "configure:18178: checking for _hypotl declaration" >&5
18178 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18179 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18180 echo $ac_n "(cached) $ac_c" 1>&6
18185 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18186 ac_cpp='$CXXCPP $CPPFLAGS'
18187 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18188 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18189 cross_compiling=$ac_cv_prog_cxx_cross
18191 cat > conftest.$ac_ext <<EOF
18192 #line 18193 "configure"
18193 #include "confdefs.h"
18199 if { (eval echo configure:18200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18201 glibcpp_cv_func__hypotl_use=yes
18203 echo "configure: failed program was:" >&5
18204 cat conftest.$ac_ext >&5
18206 glibcpp_cv_func__hypotl_use=no
18210 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18213 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18214 cross_compiling=$ac_cv_prog_cc_cross
18220 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18222 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18223 for ac_func in _hypotl
18225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18226 echo "configure:18227: checking for $ac_func" >&5
18227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18228 echo $ac_n "(cached) $ac_c" 1>&6
18230 cat > conftest.$ac_ext <<EOF
18231 #line 18232 "configure"
18232 #include "confdefs.h"
18233 /* System header to define __stub macros and hopefully few prototypes,
18234 which can conflict with char $ac_func(); below. */
18235 #include <assert.h>
18236 /* Override any gcc2 internal prototype to avoid an error. */
18237 /* We use char because int might match the return type of a gcc2
18238 builtin and then its argument prototype would still apply. */
18243 /* The GNU C library defines this for functions which it implements
18244 to always fail with ENOSYS. Some functions are actually named
18245 something starting with __ and the normal name is an alias. */
18246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18254 if { (eval echo configure:18255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18256 eval "ac_cv_func_$ac_func=yes"
18258 echo "configure: failed program was:" >&5
18259 cat conftest.$ac_ext >&5
18261 eval "ac_cv_func_$ac_func=no"
18266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18267 echo "$ac_t""yes" 1>&6
18268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18269 cat >> confdefs.h <<EOF
18270 #define $ac_tr_func 1
18274 echo "$ac_t""no" 1>&6
18283 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18284 echo "configure:18285: checking for ldexpl declaration" >&5
18285 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18286 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18287 echo $ac_n "(cached) $ac_c" 1>&6
18292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18293 ac_cpp='$CXXCPP $CPPFLAGS'
18294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18296 cross_compiling=$ac_cv_prog_cxx_cross
18298 cat > conftest.$ac_ext <<EOF
18299 #line 18300 "configure"
18300 #include "confdefs.h"
18306 if { (eval echo configure:18307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18308 glibcpp_cv_func_ldexpl_use=yes
18310 echo "configure: failed program was:" >&5
18311 cat conftest.$ac_ext >&5
18313 glibcpp_cv_func_ldexpl_use=no
18317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18318 ac_cpp='$CPP $CPPFLAGS'
18319 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18320 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18321 cross_compiling=$ac_cv_prog_cc_cross
18327 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18329 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18330 for ac_func in ldexpl
18332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18333 echo "configure:18334: checking for $ac_func" >&5
18334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18335 echo $ac_n "(cached) $ac_c" 1>&6
18337 cat > conftest.$ac_ext <<EOF
18338 #line 18339 "configure"
18339 #include "confdefs.h"
18340 /* System header to define __stub macros and hopefully few prototypes,
18341 which can conflict with char $ac_func(); below. */
18342 #include <assert.h>
18343 /* Override any gcc2 internal prototype to avoid an error. */
18344 /* We use char because int might match the return type of a gcc2
18345 builtin and then its argument prototype would still apply. */
18350 /* The GNU C library defines this for functions which it implements
18351 to always fail with ENOSYS. Some functions are actually named
18352 something starting with __ and the normal name is an alias. */
18353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18361 if { (eval echo configure:18362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18363 eval "ac_cv_func_$ac_func=yes"
18365 echo "configure: failed program was:" >&5
18366 cat conftest.$ac_ext >&5
18368 eval "ac_cv_func_$ac_func=no"
18373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18374 echo "$ac_t""yes" 1>&6
18375 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18376 cat >> confdefs.h <<EOF
18377 #define $ac_tr_func 1
18381 echo "$ac_t""no" 1>&6
18387 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18388 echo "configure:18389: checking for _ldexpl declaration" >&5
18389 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18390 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18391 echo $ac_n "(cached) $ac_c" 1>&6
18396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18400 cross_compiling=$ac_cv_prog_cxx_cross
18402 cat > conftest.$ac_ext <<EOF
18403 #line 18404 "configure"
18404 #include "confdefs.h"
18410 if { (eval echo configure:18411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18412 glibcpp_cv_func__ldexpl_use=yes
18414 echo "configure: failed program was:" >&5
18415 cat conftest.$ac_ext >&5
18417 glibcpp_cv_func__ldexpl_use=no
18421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18422 ac_cpp='$CPP $CPPFLAGS'
18423 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18424 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18425 cross_compiling=$ac_cv_prog_cc_cross
18431 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18433 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18434 for ac_func in _ldexpl
18436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18437 echo "configure:18438: checking for $ac_func" >&5
18438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18439 echo $ac_n "(cached) $ac_c" 1>&6
18441 cat > conftest.$ac_ext <<EOF
18442 #line 18443 "configure"
18443 #include "confdefs.h"
18444 /* System header to define __stub macros and hopefully few prototypes,
18445 which can conflict with char $ac_func(); below. */
18446 #include <assert.h>
18447 /* Override any gcc2 internal prototype to avoid an error. */
18448 /* We use char because int might match the return type of a gcc2
18449 builtin and then its argument prototype would still apply. */
18454 /* The GNU C library defines this for functions which it implements
18455 to always fail with ENOSYS. Some functions are actually named
18456 something starting with __ and the normal name is an alias. */
18457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18465 if { (eval echo configure:18466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18467 eval "ac_cv_func_$ac_func=yes"
18469 echo "configure: failed program was:" >&5
18470 cat conftest.$ac_ext >&5
18472 eval "ac_cv_func_$ac_func=no"
18477 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18478 echo "$ac_t""yes" 1>&6
18479 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18480 cat >> confdefs.h <<EOF
18481 #define $ac_tr_func 1
18485 echo "$ac_t""no" 1>&6
18494 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18495 echo "configure:18496: checking for logl declaration" >&5
18496 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18497 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18498 echo $ac_n "(cached) $ac_c" 1>&6
18503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18507 cross_compiling=$ac_cv_prog_cxx_cross
18509 cat > conftest.$ac_ext <<EOF
18510 #line 18511 "configure"
18511 #include "confdefs.h"
18513 #ifdef HAVE_IEEEFP_H
18514 #include <ieeefp.h>
18521 if { (eval echo configure:18522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18523 glibcpp_cv_func_logl_use=yes
18525 echo "configure: failed program was:" >&5
18526 cat conftest.$ac_ext >&5
18528 glibcpp_cv_func_logl_use=no
18532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18533 ac_cpp='$CPP $CPPFLAGS'
18534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18536 cross_compiling=$ac_cv_prog_cc_cross
18542 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18544 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18545 for ac_func in logl
18547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18548 echo "configure:18549: checking for $ac_func" >&5
18549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18550 echo $ac_n "(cached) $ac_c" 1>&6
18552 cat > conftest.$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18555 /* System header to define __stub macros and hopefully few prototypes,
18556 which can conflict with char $ac_func(); below. */
18557 #include <assert.h>
18558 /* Override any gcc2 internal prototype to avoid an error. */
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18565 /* The GNU C library defines this for functions which it implements
18566 to always fail with ENOSYS. Some functions are actually named
18567 something starting with __ and the normal name is an alias. */
18568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18576 if { (eval echo configure:18577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18578 eval "ac_cv_func_$ac_func=yes"
18580 echo "configure: failed program was:" >&5
18581 cat conftest.$ac_ext >&5
18583 eval "ac_cv_func_$ac_func=no"
18588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18589 echo "$ac_t""yes" 1>&6
18590 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18591 cat >> confdefs.h <<EOF
18592 #define $ac_tr_func 1
18596 echo "$ac_t""no" 1>&6
18602 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18603 echo "configure:18604: checking for _logl declaration" >&5
18604 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18605 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18606 echo $ac_n "(cached) $ac_c" 1>&6
18611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18612 ac_cpp='$CXXCPP $CPPFLAGS'
18613 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18614 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18615 cross_compiling=$ac_cv_prog_cxx_cross
18617 cat > conftest.$ac_ext <<EOF
18618 #line 18619 "configure"
18619 #include "confdefs.h"
18621 #ifdef HAVE_IEEEFP_H
18622 #include <ieeefp.h>
18629 if { (eval echo configure:18630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18631 glibcpp_cv_func__logl_use=yes
18633 echo "configure: failed program was:" >&5
18634 cat conftest.$ac_ext >&5
18636 glibcpp_cv_func__logl_use=no
18640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18641 ac_cpp='$CPP $CPPFLAGS'
18642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18644 cross_compiling=$ac_cv_prog_cc_cross
18650 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18652 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18653 for ac_func in _logl
18655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18656 echo "configure:18657: checking for $ac_func" >&5
18657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18658 echo $ac_n "(cached) $ac_c" 1>&6
18660 cat > conftest.$ac_ext <<EOF
18661 #line 18662 "configure"
18662 #include "confdefs.h"
18663 /* System header to define __stub macros and hopefully few prototypes,
18664 which can conflict with char $ac_func(); below. */
18665 #include <assert.h>
18666 /* Override any gcc2 internal prototype to avoid an error. */
18667 /* We use char because int might match the return type of a gcc2
18668 builtin and then its argument prototype would still apply. */
18673 /* The GNU C library defines this for functions which it implements
18674 to always fail with ENOSYS. Some functions are actually named
18675 something starting with __ and the normal name is an alias. */
18676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18684 if { (eval echo configure:18685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18686 eval "ac_cv_func_$ac_func=yes"
18688 echo "configure: failed program was:" >&5
18689 cat conftest.$ac_ext >&5
18691 eval "ac_cv_func_$ac_func=no"
18696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18697 echo "$ac_t""yes" 1>&6
18698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18699 cat >> confdefs.h <<EOF
18700 #define $ac_tr_func 1
18704 echo "$ac_t""no" 1>&6
18713 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18714 echo "configure:18715: checking for log10l declaration" >&5
18715 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18716 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18717 echo $ac_n "(cached) $ac_c" 1>&6
18722 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18723 ac_cpp='$CXXCPP $CPPFLAGS'
18724 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18725 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18726 cross_compiling=$ac_cv_prog_cxx_cross
18728 cat > conftest.$ac_ext <<EOF
18729 #line 18730 "configure"
18730 #include "confdefs.h"
18732 #ifdef HAVE_IEEEFP_H
18733 #include <ieeefp.h>
18740 if { (eval echo configure:18741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18742 glibcpp_cv_func_log10l_use=yes
18744 echo "configure: failed program was:" >&5
18745 cat conftest.$ac_ext >&5
18747 glibcpp_cv_func_log10l_use=no
18751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18754 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18755 cross_compiling=$ac_cv_prog_cc_cross
18761 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18763 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18764 for ac_func in log10l
18766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18767 echo "configure:18768: checking for $ac_func" >&5
18768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18769 echo $ac_n "(cached) $ac_c" 1>&6
18771 cat > conftest.$ac_ext <<EOF
18772 #line 18773 "configure"
18773 #include "confdefs.h"
18774 /* System header to define __stub macros and hopefully few prototypes,
18775 which can conflict with char $ac_func(); below. */
18776 #include <assert.h>
18777 /* Override any gcc2 internal prototype to avoid an error. */
18778 /* We use char because int might match the return type of a gcc2
18779 builtin and then its argument prototype would still apply. */
18784 /* The GNU C library defines this for functions which it implements
18785 to always fail with ENOSYS. Some functions are actually named
18786 something starting with __ and the normal name is an alias. */
18787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18795 if { (eval echo configure:18796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18797 eval "ac_cv_func_$ac_func=yes"
18799 echo "configure: failed program was:" >&5
18800 cat conftest.$ac_ext >&5
18802 eval "ac_cv_func_$ac_func=no"
18807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18808 echo "$ac_t""yes" 1>&6
18809 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18810 cat >> confdefs.h <<EOF
18811 #define $ac_tr_func 1
18815 echo "$ac_t""no" 1>&6
18821 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18822 echo "configure:18823: checking for _log10l declaration" >&5
18823 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18824 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18825 echo $ac_n "(cached) $ac_c" 1>&6
18830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18831 ac_cpp='$CXXCPP $CPPFLAGS'
18832 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18833 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18834 cross_compiling=$ac_cv_prog_cxx_cross
18836 cat > conftest.$ac_ext <<EOF
18837 #line 18838 "configure"
18838 #include "confdefs.h"
18840 #ifdef HAVE_IEEEFP_H
18841 #include <ieeefp.h>
18848 if { (eval echo configure:18849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18850 glibcpp_cv_func__log10l_use=yes
18852 echo "configure: failed program was:" >&5
18853 cat conftest.$ac_ext >&5
18855 glibcpp_cv_func__log10l_use=no
18859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18860 ac_cpp='$CPP $CPPFLAGS'
18861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18863 cross_compiling=$ac_cv_prog_cc_cross
18869 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18871 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18872 for ac_func in _log10l
18874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18875 echo "configure:18876: checking for $ac_func" >&5
18876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18877 echo $ac_n "(cached) $ac_c" 1>&6
18879 cat > conftest.$ac_ext <<EOF
18880 #line 18881 "configure"
18881 #include "confdefs.h"
18882 /* System header to define __stub macros and hopefully few prototypes,
18883 which can conflict with char $ac_func(); below. */
18884 #include <assert.h>
18885 /* Override any gcc2 internal prototype to avoid an error. */
18886 /* We use char because int might match the return type of a gcc2
18887 builtin and then its argument prototype would still apply. */
18892 /* The GNU C library defines this for functions which it implements
18893 to always fail with ENOSYS. Some functions are actually named
18894 something starting with __ and the normal name is an alias. */
18895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18903 if { (eval echo configure:18904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18905 eval "ac_cv_func_$ac_func=yes"
18907 echo "configure: failed program was:" >&5
18908 cat conftest.$ac_ext >&5
18910 eval "ac_cv_func_$ac_func=no"
18915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18916 echo "$ac_t""yes" 1>&6
18917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18918 cat >> confdefs.h <<EOF
18919 #define $ac_tr_func 1
18923 echo "$ac_t""no" 1>&6
18932 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18933 echo "configure:18934: checking for modfl declaration" >&5
18934 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18935 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18936 echo $ac_n "(cached) $ac_c" 1>&6
18941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18945 cross_compiling=$ac_cv_prog_cxx_cross
18947 cat > conftest.$ac_ext <<EOF
18948 #line 18949 "configure"
18949 #include "confdefs.h"
18955 if { (eval echo configure:18956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18957 glibcpp_cv_func_modfl_use=yes
18959 echo "configure: failed program was:" >&5
18960 cat conftest.$ac_ext >&5
18962 glibcpp_cv_func_modfl_use=no
18966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18967 ac_cpp='$CPP $CPPFLAGS'
18968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18970 cross_compiling=$ac_cv_prog_cc_cross
18976 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18978 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18979 for ac_func in modfl
18981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18982 echo "configure:18983: checking for $ac_func" >&5
18983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18984 echo $ac_n "(cached) $ac_c" 1>&6
18986 cat > conftest.$ac_ext <<EOF
18987 #line 18988 "configure"
18988 #include "confdefs.h"
18989 /* System header to define __stub macros and hopefully few prototypes,
18990 which can conflict with char $ac_func(); below. */
18991 #include <assert.h>
18992 /* Override any gcc2 internal prototype to avoid an error. */
18993 /* We use char because int might match the return type of a gcc2
18994 builtin and then its argument prototype would still apply. */
18999 /* The GNU C library defines this for functions which it implements
19000 to always fail with ENOSYS. Some functions are actually named
19001 something starting with __ and the normal name is an alias. */
19002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19010 if { (eval echo configure:19011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19012 eval "ac_cv_func_$ac_func=yes"
19014 echo "configure: failed program was:" >&5
19015 cat conftest.$ac_ext >&5
19017 eval "ac_cv_func_$ac_func=no"
19022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19023 echo "$ac_t""yes" 1>&6
19024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19025 cat >> confdefs.h <<EOF
19026 #define $ac_tr_func 1
19030 echo "$ac_t""no" 1>&6
19036 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19037 echo "configure:19038: checking for _modfl declaration" >&5
19038 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19039 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19040 echo $ac_n "(cached) $ac_c" 1>&6
19045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19046 ac_cpp='$CXXCPP $CPPFLAGS'
19047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19049 cross_compiling=$ac_cv_prog_cxx_cross
19051 cat > conftest.$ac_ext <<EOF
19052 #line 19053 "configure"
19053 #include "confdefs.h"
19059 if { (eval echo configure:19060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19061 glibcpp_cv_func__modfl_use=yes
19063 echo "configure: failed program was:" >&5
19064 cat conftest.$ac_ext >&5
19066 glibcpp_cv_func__modfl_use=no
19070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19074 cross_compiling=$ac_cv_prog_cc_cross
19080 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19082 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19083 for ac_func in _modfl
19085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19086 echo "configure:19087: checking for $ac_func" >&5
19087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19088 echo $ac_n "(cached) $ac_c" 1>&6
19090 cat > conftest.$ac_ext <<EOF
19091 #line 19092 "configure"
19092 #include "confdefs.h"
19093 /* System header to define __stub macros and hopefully few prototypes,
19094 which can conflict with char $ac_func(); below. */
19095 #include <assert.h>
19096 /* Override any gcc2 internal prototype to avoid an error. */
19097 /* We use char because int might match the return type of a gcc2
19098 builtin and then its argument prototype would still apply. */
19103 /* The GNU C library defines this for functions which it implements
19104 to always fail with ENOSYS. Some functions are actually named
19105 something starting with __ and the normal name is an alias. */
19106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19114 if { (eval echo configure:19115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19116 eval "ac_cv_func_$ac_func=yes"
19118 echo "configure: failed program was:" >&5
19119 cat conftest.$ac_ext >&5
19121 eval "ac_cv_func_$ac_func=no"
19126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19127 echo "$ac_t""yes" 1>&6
19128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19129 cat >> confdefs.h <<EOF
19130 #define $ac_tr_func 1
19134 echo "$ac_t""no" 1>&6
19143 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19144 echo "configure:19145: checking for powl declaration" >&5
19145 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19146 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19147 echo $ac_n "(cached) $ac_c" 1>&6
19152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19153 ac_cpp='$CXXCPP $CPPFLAGS'
19154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19156 cross_compiling=$ac_cv_prog_cxx_cross
19158 cat > conftest.$ac_ext <<EOF
19159 #line 19160 "configure"
19160 #include "confdefs.h"
19166 if { (eval echo configure:19167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19168 glibcpp_cv_func_powl_use=yes
19170 echo "configure: failed program was:" >&5
19171 cat conftest.$ac_ext >&5
19173 glibcpp_cv_func_powl_use=no
19177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19178 ac_cpp='$CPP $CPPFLAGS'
19179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19181 cross_compiling=$ac_cv_prog_cc_cross
19187 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19189 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19190 for ac_func in powl
19192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19193 echo "configure:19194: checking for $ac_func" >&5
19194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19195 echo $ac_n "(cached) $ac_c" 1>&6
19197 cat > conftest.$ac_ext <<EOF
19198 #line 19199 "configure"
19199 #include "confdefs.h"
19200 /* System header to define __stub macros and hopefully few prototypes,
19201 which can conflict with char $ac_func(); below. */
19202 #include <assert.h>
19203 /* Override any gcc2 internal prototype to avoid an error. */
19204 /* We use char because int might match the return type of a gcc2
19205 builtin and then its argument prototype would still apply. */
19210 /* The GNU C library defines this for functions which it implements
19211 to always fail with ENOSYS. Some functions are actually named
19212 something starting with __ and the normal name is an alias. */
19213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19221 if { (eval echo configure:19222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19223 eval "ac_cv_func_$ac_func=yes"
19225 echo "configure: failed program was:" >&5
19226 cat conftest.$ac_ext >&5
19228 eval "ac_cv_func_$ac_func=no"
19233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19234 echo "$ac_t""yes" 1>&6
19235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19236 cat >> confdefs.h <<EOF
19237 #define $ac_tr_func 1
19241 echo "$ac_t""no" 1>&6
19247 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19248 echo "configure:19249: checking for _powl declaration" >&5
19249 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19250 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19251 echo $ac_n "(cached) $ac_c" 1>&6
19256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19257 ac_cpp='$CXXCPP $CPPFLAGS'
19258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19260 cross_compiling=$ac_cv_prog_cxx_cross
19262 cat > conftest.$ac_ext <<EOF
19263 #line 19264 "configure"
19264 #include "confdefs.h"
19270 if { (eval echo configure:19271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19272 glibcpp_cv_func__powl_use=yes
19274 echo "configure: failed program was:" >&5
19275 cat conftest.$ac_ext >&5
19277 glibcpp_cv_func__powl_use=no
19281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19282 ac_cpp='$CPP $CPPFLAGS'
19283 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19284 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19285 cross_compiling=$ac_cv_prog_cc_cross
19291 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19293 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19294 for ac_func in _powl
19296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19297 echo "configure:19298: checking for $ac_func" >&5
19298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19299 echo $ac_n "(cached) $ac_c" 1>&6
19301 cat > conftest.$ac_ext <<EOF
19302 #line 19303 "configure"
19303 #include "confdefs.h"
19304 /* System header to define __stub macros and hopefully few prototypes,
19305 which can conflict with char $ac_func(); below. */
19306 #include <assert.h>
19307 /* Override any gcc2 internal prototype to avoid an error. */
19308 /* We use char because int might match the return type of a gcc2
19309 builtin and then its argument prototype would still apply. */
19314 /* The GNU C library defines this for functions which it implements
19315 to always fail with ENOSYS. Some functions are actually named
19316 something starting with __ and the normal name is an alias. */
19317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19325 if { (eval echo configure:19326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19327 eval "ac_cv_func_$ac_func=yes"
19329 echo "configure: failed program was:" >&5
19330 cat conftest.$ac_ext >&5
19332 eval "ac_cv_func_$ac_func=no"
19337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19338 echo "$ac_t""yes" 1>&6
19339 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19340 cat >> confdefs.h <<EOF
19341 #define $ac_tr_func 1
19345 echo "$ac_t""no" 1>&6
19354 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19355 echo "configure:19356: checking for sqrtl declaration" >&5
19356 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19357 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19358 echo $ac_n "(cached) $ac_c" 1>&6
19363 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19366 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19367 cross_compiling=$ac_cv_prog_cxx_cross
19369 cat > conftest.$ac_ext <<EOF
19370 #line 19371 "configure"
19371 #include "confdefs.h"
19373 #ifdef HAVE_IEEEFP_H
19374 #include <ieeefp.h>
19381 if { (eval echo configure:19382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19383 glibcpp_cv_func_sqrtl_use=yes
19385 echo "configure: failed program was:" >&5
19386 cat conftest.$ac_ext >&5
19388 glibcpp_cv_func_sqrtl_use=no
19392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19396 cross_compiling=$ac_cv_prog_cc_cross
19402 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19404 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19405 for ac_func in sqrtl
19407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19408 echo "configure:19409: checking for $ac_func" >&5
19409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19410 echo $ac_n "(cached) $ac_c" 1>&6
19412 cat > conftest.$ac_ext <<EOF
19413 #line 19414 "configure"
19414 #include "confdefs.h"
19415 /* System header to define __stub macros and hopefully few prototypes,
19416 which can conflict with char $ac_func(); below. */
19417 #include <assert.h>
19418 /* Override any gcc2 internal prototype to avoid an error. */
19419 /* We use char because int might match the return type of a gcc2
19420 builtin and then its argument prototype would still apply. */
19425 /* The GNU C library defines this for functions which it implements
19426 to always fail with ENOSYS. Some functions are actually named
19427 something starting with __ and the normal name is an alias. */
19428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19436 if { (eval echo configure:19437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19438 eval "ac_cv_func_$ac_func=yes"
19440 echo "configure: failed program was:" >&5
19441 cat conftest.$ac_ext >&5
19443 eval "ac_cv_func_$ac_func=no"
19448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19449 echo "$ac_t""yes" 1>&6
19450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19451 cat >> confdefs.h <<EOF
19452 #define $ac_tr_func 1
19456 echo "$ac_t""no" 1>&6
19462 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19463 echo "configure:19464: checking for _sqrtl declaration" >&5
19464 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19465 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19466 echo $ac_n "(cached) $ac_c" 1>&6
19471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19472 ac_cpp='$CXXCPP $CPPFLAGS'
19473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19475 cross_compiling=$ac_cv_prog_cxx_cross
19477 cat > conftest.$ac_ext <<EOF
19478 #line 19479 "configure"
19479 #include "confdefs.h"
19481 #ifdef HAVE_IEEEFP_H
19482 #include <ieeefp.h>
19489 if { (eval echo configure:19490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19491 glibcpp_cv_func__sqrtl_use=yes
19493 echo "configure: failed program was:" >&5
19494 cat conftest.$ac_ext >&5
19496 glibcpp_cv_func__sqrtl_use=no
19500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19501 ac_cpp='$CPP $CPPFLAGS'
19502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19504 cross_compiling=$ac_cv_prog_cc_cross
19510 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19512 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19513 for ac_func in _sqrtl
19515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19516 echo "configure:19517: checking for $ac_func" >&5
19517 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19518 echo $ac_n "(cached) $ac_c" 1>&6
19520 cat > conftest.$ac_ext <<EOF
19521 #line 19522 "configure"
19522 #include "confdefs.h"
19523 /* System header to define __stub macros and hopefully few prototypes,
19524 which can conflict with char $ac_func(); below. */
19525 #include <assert.h>
19526 /* Override any gcc2 internal prototype to avoid an error. */
19527 /* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19533 /* The GNU C library defines this for functions which it implements
19534 to always fail with ENOSYS. Some functions are actually named
19535 something starting with __ and the normal name is an alias. */
19536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19544 if { (eval echo configure:19545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19546 eval "ac_cv_func_$ac_func=yes"
19548 echo "configure: failed program was:" >&5
19549 cat conftest.$ac_ext >&5
19551 eval "ac_cv_func_$ac_func=no"
19556 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19557 echo "$ac_t""yes" 1>&6
19558 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19559 cat >> confdefs.h <<EOF
19560 #define $ac_tr_func 1
19564 echo "$ac_t""no" 1>&6
19573 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19574 echo "configure:19575: checking for sincosl declaration" >&5
19575 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19576 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19577 echo $ac_n "(cached) $ac_c" 1>&6
19582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19583 ac_cpp='$CXXCPP $CPPFLAGS'
19584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19586 cross_compiling=$ac_cv_prog_cxx_cross
19588 cat > conftest.$ac_ext <<EOF
19589 #line 19590 "configure"
19590 #include "confdefs.h"
19596 if { (eval echo configure:19597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19598 glibcpp_cv_func_sincosl_use=yes
19600 echo "configure: failed program was:" >&5
19601 cat conftest.$ac_ext >&5
19603 glibcpp_cv_func_sincosl_use=no
19607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19611 cross_compiling=$ac_cv_prog_cc_cross
19617 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19619 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19620 for ac_func in sincosl
19622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19623 echo "configure:19624: checking for $ac_func" >&5
19624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19625 echo $ac_n "(cached) $ac_c" 1>&6
19627 cat > conftest.$ac_ext <<EOF
19628 #line 19629 "configure"
19629 #include "confdefs.h"
19630 /* System header to define __stub macros and hopefully few prototypes,
19631 which can conflict with char $ac_func(); below. */
19632 #include <assert.h>
19633 /* Override any gcc2 internal prototype to avoid an error. */
19634 /* We use char because int might match the return type of a gcc2
19635 builtin and then its argument prototype would still apply. */
19640 /* The GNU C library defines this for functions which it implements
19641 to always fail with ENOSYS. Some functions are actually named
19642 something starting with __ and the normal name is an alias. */
19643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19651 if { (eval echo configure:19652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19653 eval "ac_cv_func_$ac_func=yes"
19655 echo "configure: failed program was:" >&5
19656 cat conftest.$ac_ext >&5
19658 eval "ac_cv_func_$ac_func=no"
19663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19664 echo "$ac_t""yes" 1>&6
19665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19666 cat >> confdefs.h <<EOF
19667 #define $ac_tr_func 1
19671 echo "$ac_t""no" 1>&6
19677 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19678 echo "configure:19679: checking for _sincosl declaration" >&5
19679 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19680 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19681 echo $ac_n "(cached) $ac_c" 1>&6
19686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19687 ac_cpp='$CXXCPP $CPPFLAGS'
19688 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19689 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19690 cross_compiling=$ac_cv_prog_cxx_cross
19692 cat > conftest.$ac_ext <<EOF
19693 #line 19694 "configure"
19694 #include "confdefs.h"
19700 if { (eval echo configure:19701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19702 glibcpp_cv_func__sincosl_use=yes
19704 echo "configure: failed program was:" >&5
19705 cat conftest.$ac_ext >&5
19707 glibcpp_cv_func__sincosl_use=no
19711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19712 ac_cpp='$CPP $CPPFLAGS'
19713 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19714 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19715 cross_compiling=$ac_cv_prog_cc_cross
19721 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19723 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19724 for ac_func in _sincosl
19726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19727 echo "configure:19728: checking for $ac_func" >&5
19728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19729 echo $ac_n "(cached) $ac_c" 1>&6
19731 cat > conftest.$ac_ext <<EOF
19732 #line 19733 "configure"
19733 #include "confdefs.h"
19734 /* System header to define __stub macros and hopefully few prototypes,
19735 which can conflict with char $ac_func(); below. */
19736 #include <assert.h>
19737 /* Override any gcc2 internal prototype to avoid an error. */
19738 /* We use char because int might match the return type of a gcc2
19739 builtin and then its argument prototype would still apply. */
19744 /* The GNU C library defines this for functions which it implements
19745 to always fail with ENOSYS. Some functions are actually named
19746 something starting with __ and the normal name is an alias. */
19747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19755 if { (eval echo configure:19756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19757 eval "ac_cv_func_$ac_func=yes"
19759 echo "configure: failed program was:" >&5
19760 cat conftest.$ac_ext >&5
19762 eval "ac_cv_func_$ac_func=no"
19767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19768 echo "$ac_t""yes" 1>&6
19769 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19770 cat >> confdefs.h <<EOF
19771 #define $ac_tr_func 1
19775 echo "$ac_t""no" 1>&6
19784 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19785 echo "configure:19786: checking for finitel declaration" >&5
19786 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19787 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19788 echo $ac_n "(cached) $ac_c" 1>&6
19793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19794 ac_cpp='$CXXCPP $CPPFLAGS'
19795 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19796 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19797 cross_compiling=$ac_cv_prog_cxx_cross
19799 cat > conftest.$ac_ext <<EOF
19800 #line 19801 "configure"
19801 #include "confdefs.h"
19803 #ifdef HAVE_IEEEFP_H
19804 #include <ieeefp.h>
19811 if { (eval echo configure:19812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19813 glibcpp_cv_func_finitel_use=yes
19815 echo "configure: failed program was:" >&5
19816 cat conftest.$ac_ext >&5
19818 glibcpp_cv_func_finitel_use=no
19822 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19823 ac_cpp='$CPP $CPPFLAGS'
19824 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19825 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19826 cross_compiling=$ac_cv_prog_cc_cross
19832 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19834 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19835 for ac_func in finitel
19837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19838 echo "configure:19839: checking for $ac_func" >&5
19839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19840 echo $ac_n "(cached) $ac_c" 1>&6
19842 cat > conftest.$ac_ext <<EOF
19843 #line 19844 "configure"
19844 #include "confdefs.h"
19845 /* System header to define __stub macros and hopefully few prototypes,
19846 which can conflict with char $ac_func(); below. */
19847 #include <assert.h>
19848 /* Override any gcc2 internal prototype to avoid an error. */
19849 /* We use char because int might match the return type of a gcc2
19850 builtin and then its argument prototype would still apply. */
19855 /* The GNU C library defines this for functions which it implements
19856 to always fail with ENOSYS. Some functions are actually named
19857 something starting with __ and the normal name is an alias. */
19858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19866 if { (eval echo configure:19867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19868 eval "ac_cv_func_$ac_func=yes"
19870 echo "configure: failed program was:" >&5
19871 cat conftest.$ac_ext >&5
19873 eval "ac_cv_func_$ac_func=no"
19878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19879 echo "$ac_t""yes" 1>&6
19880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19881 cat >> confdefs.h <<EOF
19882 #define $ac_tr_func 1
19886 echo "$ac_t""no" 1>&6
19892 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19893 echo "configure:19894: checking for _finitel declaration" >&5
19894 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19895 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19896 echo $ac_n "(cached) $ac_c" 1>&6
19901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19902 ac_cpp='$CXXCPP $CPPFLAGS'
19903 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19904 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19905 cross_compiling=$ac_cv_prog_cxx_cross
19907 cat > conftest.$ac_ext <<EOF
19908 #line 19909 "configure"
19909 #include "confdefs.h"
19911 #ifdef HAVE_IEEEFP_H
19912 #include <ieeefp.h>
19919 if { (eval echo configure:19920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19921 glibcpp_cv_func__finitel_use=yes
19923 echo "configure: failed program was:" >&5
19924 cat conftest.$ac_ext >&5
19926 glibcpp_cv_func__finitel_use=no
19930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19931 ac_cpp='$CPP $CPPFLAGS'
19932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19934 cross_compiling=$ac_cv_prog_cc_cross
19940 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19942 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19943 for ac_func in _finitel
19945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19946 echo "configure:19947: checking for $ac_func" >&5
19947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19948 echo $ac_n "(cached) $ac_c" 1>&6
19950 cat > conftest.$ac_ext <<EOF
19951 #line 19952 "configure"
19952 #include "confdefs.h"
19953 /* System header to define __stub macros and hopefully few prototypes,
19954 which can conflict with char $ac_func(); below. */
19955 #include <assert.h>
19956 /* Override any gcc2 internal prototype to avoid an error. */
19957 /* We use char because int might match the return type of a gcc2
19958 builtin and then its argument prototype would still apply. */
19963 /* The GNU C library defines this for functions which it implements
19964 to always fail with ENOSYS. Some functions are actually named
19965 something starting with __ and the normal name is an alias. */
19966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19974 if { (eval echo configure:19975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19976 eval "ac_cv_func_$ac_func=yes"
19978 echo "configure: failed program was:" >&5
19979 cat conftest.$ac_ext >&5
19981 eval "ac_cv_func_$ac_func=no"
19986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19987 echo "$ac_t""yes" 1>&6
19988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19989 cat >> confdefs.h <<EOF
19990 #define $ac_tr_func 1
19994 echo "$ac_t""no" 1>&6
20004 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
20005 echo "configure:20006: checking for _float trig functions" >&5
20006 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20007 echo $ac_n "(cached) $ac_c" 1>&6
20012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20013 ac_cpp='$CXXCPP $CPPFLAGS'
20014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20016 cross_compiling=$ac_cv_prog_cxx_cross
20018 cat > conftest.$ac_ext <<EOF
20019 #line 20020 "configure"
20020 #include "confdefs.h"
20023 `for x in _acosf _asinf _atanf \
20024 _cosf _sinf _tanf \
20025 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20028 if { (eval echo configure:20029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20030 glibcpp_cv_func__float_trig_use=yes
20032 echo "configure: failed program was:" >&5
20033 cat conftest.$ac_ext >&5
20035 glibcpp_cv_func__float_trig_use=no
20039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20040 ac_cpp='$CPP $CPPFLAGS'
20041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20043 cross_compiling=$ac_cv_prog_cc_cross
20047 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20048 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20049 for ac_func in _acosf _asinf _atanf \
20050 _cosf _sinf _tanf \
20051 _coshf _sinhf _tanhf
20053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20054 echo "configure:20055: checking for $ac_func" >&5
20055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20056 echo $ac_n "(cached) $ac_c" 1>&6
20058 cat > conftest.$ac_ext <<EOF
20059 #line 20060 "configure"
20060 #include "confdefs.h"
20061 /* System header to define __stub macros and hopefully few prototypes,
20062 which can conflict with char $ac_func(); below. */
20063 #include <assert.h>
20064 /* Override any gcc2 internal prototype to avoid an error. */
20065 /* We use char because int might match the return type of a gcc2
20066 builtin and then its argument prototype would still apply. */
20071 /* The GNU C library defines this for functions which it implements
20072 to always fail with ENOSYS. Some functions are actually named
20073 something starting with __ and the normal name is an alias. */
20074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20082 if { (eval echo configure:20083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20084 eval "ac_cv_func_$ac_func=yes"
20086 echo "configure: failed program was:" >&5
20087 cat conftest.$ac_ext >&5
20089 eval "ac_cv_func_$ac_func=no"
20094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20095 echo "$ac_t""yes" 1>&6
20096 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20097 cat >> confdefs.h <<EOF
20098 #define $ac_tr_func 1
20102 echo "$ac_t""no" 1>&6
20109 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20110 echo "configure:20111: checking for _float round functions" >&5
20111 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20112 echo $ac_n "(cached) $ac_c" 1>&6
20117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20118 ac_cpp='$CXXCPP $CPPFLAGS'
20119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20121 cross_compiling=$ac_cv_prog_cxx_cross
20123 cat > conftest.$ac_ext <<EOF
20124 #line 20125 "configure"
20125 #include "confdefs.h"
20128 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20131 if { (eval echo configure:20132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20133 glibcpp_cv_func__float_round_use=yes
20135 echo "configure: failed program was:" >&5
20136 cat conftest.$ac_ext >&5
20138 glibcpp_cv_func__float_round_use=no
20142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20146 cross_compiling=$ac_cv_prog_cc_cross
20150 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20151 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20152 for ac_func in _ceilf _floorf
20154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20155 echo "configure:20156: checking for $ac_func" >&5
20156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20157 echo $ac_n "(cached) $ac_c" 1>&6
20159 cat > conftest.$ac_ext <<EOF
20160 #line 20161 "configure"
20161 #include "confdefs.h"
20162 /* System header to define __stub macros and hopefully few prototypes,
20163 which can conflict with char $ac_func(); below. */
20164 #include <assert.h>
20165 /* Override any gcc2 internal prototype to avoid an error. */
20166 /* We use char because int might match the return type of a gcc2
20167 builtin and then its argument prototype would still apply. */
20172 /* The GNU C library defines this for functions which it implements
20173 to always fail with ENOSYS. Some functions are actually named
20174 something starting with __ and the normal name is an alias. */
20175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20183 if { (eval echo configure:20184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20185 eval "ac_cv_func_$ac_func=yes"
20187 echo "configure: failed program was:" >&5
20188 cat conftest.$ac_ext >&5
20190 eval "ac_cv_func_$ac_func=no"
20195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20196 echo "$ac_t""yes" 1>&6
20197 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20198 cat >> confdefs.h <<EOF
20199 #define $ac_tr_func 1
20203 echo "$ac_t""no" 1>&6
20211 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20212 echo "configure:20213: checking for _long double trig functions" >&5
20213 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20214 echo $ac_n "(cached) $ac_c" 1>&6
20219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20220 ac_cpp='$CXXCPP $CPPFLAGS'
20221 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20222 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20223 cross_compiling=$ac_cv_prog_cxx_cross
20225 cat > conftest.$ac_ext <<EOF
20226 #line 20227 "configure"
20227 #include "confdefs.h"
20230 `for x in _acosl _asinl _atanl \
20231 _cosl _sinl _tanl \
20232 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20235 if { (eval echo configure:20236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20237 glibcpp_cv_func__long_double_trig_use=yes
20239 echo "configure: failed program was:" >&5
20240 cat conftest.$ac_ext >&5
20242 glibcpp_cv_func__long_double_trig_use=no
20246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20247 ac_cpp='$CPP $CPPFLAGS'
20248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20250 cross_compiling=$ac_cv_prog_cc_cross
20254 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20255 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20256 for ac_func in _acosl _asinl _atanl \
20257 _cosl _sinl _tanl \
20258 _coshl _sinhl _tanhl
20260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20261 echo "configure:20262: checking for $ac_func" >&5
20262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20263 echo $ac_n "(cached) $ac_c" 1>&6
20265 cat > conftest.$ac_ext <<EOF
20266 #line 20267 "configure"
20267 #include "confdefs.h"
20268 /* System header to define __stub macros and hopefully few prototypes,
20269 which can conflict with char $ac_func(); below. */
20270 #include <assert.h>
20271 /* Override any gcc2 internal prototype to avoid an error. */
20272 /* We use char because int might match the return type of a gcc2
20273 builtin and then its argument prototype would still apply. */
20278 /* The GNU C library defines this for functions which it implements
20279 to always fail with ENOSYS. Some functions are actually named
20280 something starting with __ and the normal name is an alias. */
20281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20289 if { (eval echo configure:20290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20291 eval "ac_cv_func_$ac_func=yes"
20293 echo "configure: failed program was:" >&5
20294 cat conftest.$ac_ext >&5
20296 eval "ac_cv_func_$ac_func=no"
20301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20302 echo "$ac_t""yes" 1>&6
20303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20304 cat >> confdefs.h <<EOF
20305 #define $ac_tr_func 1
20309 echo "$ac_t""no" 1>&6
20316 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20317 echo "configure:20318: checking for _long double round functions" >&5
20318 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20319 echo $ac_n "(cached) $ac_c" 1>&6
20324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20328 cross_compiling=$ac_cv_prog_cxx_cross
20330 cat > conftest.$ac_ext <<EOF
20331 #line 20332 "configure"
20332 #include "confdefs.h"
20335 `for x in _ceill _floorl; do echo "$x (0);"; done`
20338 if { (eval echo configure:20339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20340 glibcpp_cv_func__long_double_round_use=yes
20342 echo "configure: failed program was:" >&5
20343 cat conftest.$ac_ext >&5
20345 glibcpp_cv_func__long_double_round_use=no
20349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20350 ac_cpp='$CPP $CPPFLAGS'
20351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20353 cross_compiling=$ac_cv_prog_cc_cross
20357 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20358 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20359 for ac_func in _ceill _floorl
20361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20362 echo "configure:20363: checking for $ac_func" >&5
20363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20364 echo $ac_n "(cached) $ac_c" 1>&6
20366 cat > conftest.$ac_ext <<EOF
20367 #line 20368 "configure"
20368 #include "confdefs.h"
20369 /* System header to define __stub macros and hopefully few prototypes,
20370 which can conflict with char $ac_func(); below. */
20371 #include <assert.h>
20372 /* Override any gcc2 internal prototype to avoid an error. */
20373 /* We use char because int might match the return type of a gcc2
20374 builtin and then its argument prototype would still apply. */
20379 /* The GNU C library defines this for functions which it implements
20380 to always fail with ENOSYS. Some functions are actually named
20381 something starting with __ and the normal name is an alias. */
20382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20390 if { (eval echo configure:20391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20392 eval "ac_cv_func_$ac_func=yes"
20394 echo "configure: failed program was:" >&5
20395 cat conftest.$ac_ext >&5
20397 eval "ac_cv_func_$ac_func=no"
20402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20403 echo "$ac_t""yes" 1>&6
20404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20405 cat >> confdefs.h <<EOF
20406 #define $ac_tr_func 1
20410 echo "$ac_t""no" 1>&6
20417 LIBS="$ac_save_LIBS"
20418 CXXFLAGS="$ac_save_CXXFLAGS"
20421 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20422 echo "configure:20423: checking for main in -lm" >&5
20423 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20425 echo $ac_n "(cached) $ac_c" 1>&6
20427 ac_save_LIBS="$LIBS"
20429 cat > conftest.$ac_ext <<EOF
20430 #line 20431 "configure"
20431 #include "confdefs.h"
20437 if { (eval echo configure:20438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20439 eval "ac_cv_lib_$ac_lib_var=yes"
20441 echo "configure: failed program was:" >&5
20442 cat conftest.$ac_ext >&5
20444 eval "ac_cv_lib_$ac_lib_var=no"
20447 LIBS="$ac_save_LIBS"
20450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20451 echo "$ac_t""yes" 1>&6
20452 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20453 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20454 cat >> confdefs.h <<EOF
20455 #define $ac_tr_lib 1
20461 echo "$ac_t""no" 1>&6
20464 for ac_func in nan copysignf
20466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20467 echo "configure:20468: checking for $ac_func" >&5
20468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20469 echo $ac_n "(cached) $ac_c" 1>&6
20471 cat > conftest.$ac_ext <<EOF
20472 #line 20473 "configure"
20473 #include "confdefs.h"
20474 /* System header to define __stub macros and hopefully few prototypes,
20475 which can conflict with char $ac_func(); below. */
20476 #include <assert.h>
20477 /* Override any gcc2 internal prototype to avoid an error. */
20478 /* We use char because int might match the return type of a gcc2
20479 builtin and then its argument prototype would still apply. */
20484 /* The GNU C library defines this for functions which it implements
20485 to always fail with ENOSYS. Some functions are actually named
20486 something starting with __ and the normal name is an alias. */
20487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20495 if { (eval echo configure:20496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20497 eval "ac_cv_func_$ac_func=yes"
20499 echo "configure: failed program was:" >&5
20500 cat conftest.$ac_ext >&5
20502 eval "ac_cv_func_$ac_func=no"
20507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20508 echo "$ac_t""yes" 1>&6
20509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20510 cat >> confdefs.h <<EOF
20511 #define $ac_tr_func 1
20515 echo "$ac_t""no" 1>&6
20516 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20521 for ac_func in __signbit
20523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20524 echo "configure:20525: checking for $ac_func" >&5
20525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20526 echo $ac_n "(cached) $ac_c" 1>&6
20528 cat > conftest.$ac_ext <<EOF
20529 #line 20530 "configure"
20530 #include "confdefs.h"
20531 /* System header to define __stub macros and hopefully few prototypes,
20532 which can conflict with char $ac_func(); below. */
20533 #include <assert.h>
20534 /* Override any gcc2 internal prototype to avoid an error. */
20535 /* We use char because int might match the return type of a gcc2
20536 builtin and then its argument prototype would still apply. */
20541 /* The GNU C library defines this for functions which it implements
20542 to always fail with ENOSYS. Some functions are actually named
20543 something starting with __ and the normal name is an alias. */
20544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20552 if { (eval echo configure:20553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20554 eval "ac_cv_func_$ac_func=yes"
20556 echo "configure: failed program was:" >&5
20557 cat conftest.$ac_ext >&5
20559 eval "ac_cv_func_$ac_func=no"
20564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20565 echo "$ac_t""yes" 1>&6
20566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20567 cat >> confdefs.h <<EOF
20568 #define $ac_tr_func 1
20572 echo "$ac_t""no" 1>&6
20573 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20577 for ac_func in __signbitf
20579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20580 echo "configure:20581: checking for $ac_func" >&5
20581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20582 echo $ac_n "(cached) $ac_c" 1>&6
20584 cat > conftest.$ac_ext <<EOF
20585 #line 20586 "configure"
20586 #include "confdefs.h"
20587 /* System header to define __stub macros and hopefully few prototypes,
20588 which can conflict with char $ac_func(); below. */
20589 #include <assert.h>
20590 /* Override any gcc2 internal prototype to avoid an error. */
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20597 /* The GNU C library defines this for functions which it implements
20598 to always fail with ENOSYS. Some functions are actually named
20599 something starting with __ and the normal name is an alias. */
20600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20608 if { (eval echo configure:20609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20610 eval "ac_cv_func_$ac_func=yes"
20612 echo "configure: failed program was:" >&5
20613 cat conftest.$ac_ext >&5
20615 eval "ac_cv_func_$ac_func=no"
20620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20621 echo "$ac_t""yes" 1>&6
20622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20623 cat >> confdefs.h <<EOF
20624 #define $ac_tr_func 1
20628 echo "$ac_t""no" 1>&6
20629 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20634 if test x$ac_cv_func_copysignl = x"yes"; then
20635 for ac_func in __signbitl
20637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20638 echo "configure:20639: checking for $ac_func" >&5
20639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20640 echo $ac_n "(cached) $ac_c" 1>&6
20642 cat > conftest.$ac_ext <<EOF
20643 #line 20644 "configure"
20644 #include "confdefs.h"
20645 /* System header to define __stub macros and hopefully few prototypes,
20646 which can conflict with char $ac_func(); below. */
20647 #include <assert.h>
20648 /* Override any gcc2 internal prototype to avoid an error. */
20649 /* We use char because int might match the return type of a gcc2
20650 builtin and then its argument prototype would still apply. */
20655 /* The GNU C library defines this for functions which it implements
20656 to always fail with ENOSYS. Some functions are actually named
20657 something starting with __ and the normal name is an alias. */
20658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20666 if { (eval echo configure:20667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20668 eval "ac_cv_func_$ac_func=yes"
20670 echo "configure: failed program was:" >&5
20671 cat conftest.$ac_ext >&5
20673 eval "ac_cv_func_$ac_func=no"
20678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20679 echo "$ac_t""yes" 1>&6
20680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20681 cat >> confdefs.h <<EOF
20682 #define $ac_tr_func 1
20686 echo "$ac_t""no" 1>&6
20687 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20697 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20698 echo "configure:20699: checking for mbstate_t" >&5
20699 cat > conftest.$ac_ext <<EOF
20700 #line 20701 "configure"
20701 #include "confdefs.h"
20704 mbstate_t teststate;
20707 if { (eval echo configure:20708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20711 echo "configure: failed program was:" >&5
20712 cat conftest.$ac_ext >&5
20717 echo "$ac_t""$have_mbstate_t" 1>&6
20718 if test x"$have_mbstate_t" = xyes; then
20719 cat >> confdefs.h <<\EOF
20720 #define HAVE_MBSTATE_T 1
20725 for ac_hdr in wchar.h
20727 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20728 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20729 echo "configure:20730: checking for $ac_hdr" >&5
20730 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20731 echo $ac_n "(cached) $ac_c" 1>&6
20733 cat > conftest.$ac_ext <<EOF
20734 #line 20735 "configure"
20735 #include "confdefs.h"
20738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20739 { (eval echo configure:20740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20740 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20741 if test -z "$ac_err"; then
20743 eval "ac_cv_header_$ac_safe=yes"
20746 echo "configure: failed program was:" >&5
20747 cat conftest.$ac_ext >&5
20749 eval "ac_cv_header_$ac_safe=no"
20753 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20754 echo "$ac_t""yes" 1>&6
20755 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20756 cat >> confdefs.h <<EOF
20757 #define $ac_tr_hdr 1
20761 echo "$ac_t""no" 1>&6
20766 for ac_hdr in wctype.h
20768 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20769 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20770 echo "configure:20771: checking for $ac_hdr" >&5
20771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20772 echo $ac_n "(cached) $ac_c" 1>&6
20774 cat > conftest.$ac_ext <<EOF
20775 #line 20776 "configure"
20776 #include "confdefs.h"
20779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20780 { (eval echo configure:20781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20782 if test -z "$ac_err"; then
20784 eval "ac_cv_header_$ac_safe=yes"
20787 echo "configure: failed program was:" >&5
20788 cat conftest.$ac_ext >&5
20790 eval "ac_cv_header_$ac_safe=no"
20794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20795 echo "$ac_t""yes" 1>&6
20796 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20797 cat >> confdefs.h <<EOF
20798 #define $ac_tr_hdr 1
20800 ac_has_wctype_h=yes
20802 echo "$ac_t""no" 1>&6
20808 if test x"$ac_has_wchar_h" = xyes &&
20809 test x"$ac_has_wctype_h" = xyes &&
20810 test x"$enable_c_mbchar" != xno; then
20812 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20813 echo "configure:20814: checking for WCHAR_MIN and WCHAR_MAX" >&5
20814 cat > conftest.$ac_ext <<EOF
20815 #line 20816 "configure"
20816 #include "confdefs.h"
20819 int i = WCHAR_MIN; int j = WCHAR_MAX;
20822 if { (eval echo configure:20823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20824 has_wchar_minmax=yes
20826 echo "configure: failed program was:" >&5
20827 cat conftest.$ac_ext >&5
20829 has_wchar_minmax=no
20832 echo "$ac_t""$has_wchar_minmax" 1>&6
20834 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20835 echo "configure:20836: checking for WEOF" >&5
20836 cat > conftest.$ac_ext <<EOF
20837 #line 20838 "configure"
20838 #include "confdefs.h"
20841 #include <stddef.h>
20846 if { (eval echo configure:20847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20850 echo "configure: failed program was:" >&5
20851 cat conftest.$ac_ext >&5
20856 echo "$ac_t""$has_weof" 1>&6
20859 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20862 echo "configure:20863: checking for $ac_func" >&5
20863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20864 echo $ac_n "(cached) $ac_c" 1>&6
20866 cat > conftest.$ac_ext <<EOF
20867 #line 20868 "configure"
20868 #include "confdefs.h"
20869 /* System header to define __stub macros and hopefully few prototypes,
20870 which can conflict with char $ac_func(); below. */
20871 #include <assert.h>
20872 /* Override any gcc2 internal prototype to avoid an error. */
20873 /* We use char because int might match the return type of a gcc2
20874 builtin and then its argument prototype would still apply. */
20879 /* The GNU C library defines this for functions which it implements
20880 to always fail with ENOSYS. Some functions are actually named
20881 something starting with __ and the normal name is an alias. */
20882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20890 if { (eval echo configure:20891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20892 eval "ac_cv_func_$ac_func=yes"
20894 echo "configure: failed program was:" >&5
20895 cat conftest.$ac_ext >&5
20897 eval "ac_cv_func_$ac_func=no"
20902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20903 echo "$ac_t""yes" 1>&6
20904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20905 cat >> confdefs.h <<EOF
20906 #define $ac_tr_func 1
20910 echo "$ac_t""no" 1>&6
20917 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20918 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20919 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20920 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20921 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20922 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20925 echo "configure:20926: checking for $ac_func" >&5
20926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20927 echo $ac_n "(cached) $ac_c" 1>&6
20929 cat > conftest.$ac_ext <<EOF
20930 #line 20931 "configure"
20931 #include "confdefs.h"
20932 /* System header to define __stub macros and hopefully few prototypes,
20933 which can conflict with char $ac_func(); below. */
20934 #include <assert.h>
20935 /* Override any gcc2 internal prototype to avoid an error. */
20936 /* We use char because int might match the return type of a gcc2
20937 builtin and then its argument prototype would still apply. */
20942 /* The GNU C library defines this for functions which it implements
20943 to always fail with ENOSYS. Some functions are actually named
20944 something starting with __ and the normal name is an alias. */
20945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20953 if { (eval echo configure:20954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20955 eval "ac_cv_func_$ac_func=yes"
20957 echo "configure: failed program was:" >&5
20958 cat conftest.$ac_ext >&5
20960 eval "ac_cv_func_$ac_func=no"
20965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20966 echo "$ac_t""yes" 1>&6
20967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20968 cat >> confdefs.h <<EOF
20969 #define $ac_tr_func 1
20973 echo "$ac_t""no" 1>&6
20980 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20981 echo "configure:20982: checking for ISO C99 wchar_t support" >&5
20982 if test x"$has_weof" = xyes &&
20983 test x"$has_wchar_minmax" = xyes &&
20984 test x"$ac_wfuncs" = xyes; then
20985 ac_isoC99_wchar_t=yes
20987 ac_isoC99_wchar_t=no
20989 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20991 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20992 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20993 echo "configure:20994: checking for iconv.h" >&5
20994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20995 echo $ac_n "(cached) $ac_c" 1>&6
20997 cat > conftest.$ac_ext <<EOF
20998 #line 20999 "configure"
20999 #include "confdefs.h"
21002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21003 { (eval echo configure:21004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21005 if test -z "$ac_err"; then
21007 eval "ac_cv_header_$ac_safe=yes"
21010 echo "configure: failed program was:" >&5
21011 cat conftest.$ac_ext >&5
21013 eval "ac_cv_header_$ac_safe=no"
21017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21018 echo "$ac_t""yes" 1>&6
21021 echo "$ac_t""no" 1>&6
21025 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
21026 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
21027 echo "configure:21028: checking for langinfo.h" >&5
21028 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21029 echo $ac_n "(cached) $ac_c" 1>&6
21031 cat > conftest.$ac_ext <<EOF
21032 #line 21033 "configure"
21033 #include "confdefs.h"
21034 #include <langinfo.h>
21036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21037 { (eval echo configure:21038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21039 if test -z "$ac_err"; then
21041 eval "ac_cv_header_$ac_safe=yes"
21044 echo "configure: failed program was:" >&5
21045 cat conftest.$ac_ext >&5
21047 eval "ac_cv_header_$ac_safe=no"
21051 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21052 echo "$ac_t""yes" 1>&6
21053 ac_has_langinfo_h=yes
21055 echo "$ac_t""no" 1>&6
21056 ac_has_langinfo_h=no
21060 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21061 echo "configure:21062: checking for iconv in -liconv" >&5
21062 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21064 echo $ac_n "(cached) $ac_c" 1>&6
21066 ac_save_LIBS="$LIBS"
21067 LIBS="-liconv $LIBS"
21068 cat > conftest.$ac_ext <<EOF
21069 #line 21070 "configure"
21070 #include "confdefs.h"
21071 /* Override any gcc2 internal prototype to avoid an error. */
21072 /* We use char because int might match the return type of a gcc2
21073 builtin and then its argument prototype would still apply. */
21080 if { (eval echo configure:21081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21082 eval "ac_cv_lib_$ac_lib_var=yes"
21084 echo "configure: failed program was:" >&5
21085 cat conftest.$ac_ext >&5
21087 eval "ac_cv_lib_$ac_lib_var=no"
21090 LIBS="$ac_save_LIBS"
21093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21094 echo "$ac_t""yes" 1>&6
21097 echo "$ac_t""no" 1>&6
21100 ac_save_LIBS="$LIBS"
21101 LIBS="$LIBS $libiconv"
21103 for ac_func in iconv_open iconv_close iconv nl_langinfo
21105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21106 echo "configure:21107: checking for $ac_func" >&5
21107 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21108 echo $ac_n "(cached) $ac_c" 1>&6
21110 cat > conftest.$ac_ext <<EOF
21111 #line 21112 "configure"
21112 #include "confdefs.h"
21113 /* System header to define __stub macros and hopefully few prototypes,
21114 which can conflict with char $ac_func(); below. */
21115 #include <assert.h>
21116 /* Override any gcc2 internal prototype to avoid an error. */
21117 /* We use char because int might match the return type of a gcc2
21118 builtin and then its argument prototype would still apply. */
21123 /* The GNU C library defines this for functions which it implements
21124 to always fail with ENOSYS. Some functions are actually named
21125 something starting with __ and the normal name is an alias. */
21126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21134 if { (eval echo configure:21135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21136 eval "ac_cv_func_$ac_func=yes"
21138 echo "configure: failed program was:" >&5
21139 cat conftest.$ac_ext >&5
21141 eval "ac_cv_func_$ac_func=no"
21146 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21147 echo "$ac_t""yes" 1>&6
21148 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21149 cat >> confdefs.h <<EOF
21150 #define $ac_tr_func 1
21155 echo "$ac_t""no" 1>&6
21161 LIBS="$ac_save_LIBS"
21163 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21164 echo "configure:21165: checking for XPG2 wchar_t support" >&5
21165 if test x"$ac_has_iconv_h" = xyes &&
21166 test x"$ac_has_langinfo_h" = xyes &&
21167 test x"$ac_XPG2funcs" = xyes; then
21168 ac_XPG2_wchar_t=yes
21172 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21174 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21175 echo "configure:21176: checking for enabled wchar_t specializations" >&5
21176 if test x"$ac_isoC99_wchar_t" = xyes &&
21177 test x"$ac_XPG2_wchar_t" = xyes; then
21178 cat >> confdefs.h <<\EOF
21179 #define _GLIBCPP_USE_WCHAR_T 1
21182 echo "$ac_t"""yes"" 1>&6
21184 echo "$ac_t"""no"" 1>&6
21187 echo "configure: warning: wchar_t support disabled." 1>&2
21191 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21192 ac_save_CXXFLAGS="$CXXFLAGS"
21193 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21196 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21197 echo "configure:21198: checking for strtold declaration" >&5
21198 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21199 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21200 echo $ac_n "(cached) $ac_c" 1>&6
21205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21206 ac_cpp='$CXXCPP $CPPFLAGS'
21207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21209 cross_compiling=$ac_cv_prog_cxx_cross
21211 cat > conftest.$ac_ext <<EOF
21212 #line 21213 "configure"
21213 #include "confdefs.h"
21214 #include <stdlib.h>
21219 if { (eval echo configure:21220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21221 glibcpp_cv_func_strtold_use=yes
21223 echo "configure: failed program was:" >&5
21224 cat conftest.$ac_ext >&5
21226 glibcpp_cv_func_strtold_use=no
21230 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21231 ac_cpp='$CPP $CPPFLAGS'
21232 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21233 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21234 cross_compiling=$ac_cv_prog_cc_cross
21240 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21241 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21242 for ac_func in strtold
21244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21245 echo "configure:21246: checking for $ac_func" >&5
21246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21247 echo $ac_n "(cached) $ac_c" 1>&6
21249 cat > conftest.$ac_ext <<EOF
21250 #line 21251 "configure"
21251 #include "confdefs.h"
21252 /* System header to define __stub macros and hopefully few prototypes,
21253 which can conflict with char $ac_func(); below. */
21254 #include <assert.h>
21255 /* Override any gcc2 internal prototype to avoid an error. */
21256 /* We use char because int might match the return type of a gcc2
21257 builtin and then its argument prototype would still apply. */
21262 /* The GNU C library defines this for functions which it implements
21263 to always fail with ENOSYS. Some functions are actually named
21264 something starting with __ and the normal name is an alias. */
21265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21273 if { (eval echo configure:21274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21275 eval "ac_cv_func_$ac_func=yes"
21277 echo "configure: failed program was:" >&5
21278 cat conftest.$ac_ext >&5
21280 eval "ac_cv_func_$ac_func=no"
21285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21286 echo "$ac_t""yes" 1>&6
21287 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21288 cat >> confdefs.h <<EOF
21289 #define $ac_tr_func 1
21293 echo "$ac_t""no" 1>&6
21300 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21301 echo "configure:21302: checking for strtof declaration" >&5
21302 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21303 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21304 echo $ac_n "(cached) $ac_c" 1>&6
21309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21310 ac_cpp='$CXXCPP $CPPFLAGS'
21311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21313 cross_compiling=$ac_cv_prog_cxx_cross
21315 cat > conftest.$ac_ext <<EOF
21316 #line 21317 "configure"
21317 #include "confdefs.h"
21318 #include <stdlib.h>
21323 if { (eval echo configure:21324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21325 glibcpp_cv_func_strtof_use=yes
21327 echo "configure: failed program was:" >&5
21328 cat conftest.$ac_ext >&5
21330 glibcpp_cv_func_strtof_use=no
21334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21335 ac_cpp='$CPP $CPPFLAGS'
21336 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21337 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21338 cross_compiling=$ac_cv_prog_cc_cross
21344 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21345 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21346 for ac_func in strtof
21348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21349 echo "configure:21350: checking for $ac_func" >&5
21350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21351 echo $ac_n "(cached) $ac_c" 1>&6
21353 cat > conftest.$ac_ext <<EOF
21354 #line 21355 "configure"
21355 #include "confdefs.h"
21356 /* System header to define __stub macros and hopefully few prototypes,
21357 which can conflict with char $ac_func(); below. */
21358 #include <assert.h>
21359 /* Override any gcc2 internal prototype to avoid an error. */
21360 /* We use char because int might match the return type of a gcc2
21361 builtin and then its argument prototype would still apply. */
21366 /* The GNU C library defines this for functions which it implements
21367 to always fail with ENOSYS. Some functions are actually named
21368 something starting with __ and the normal name is an alias. */
21369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21377 if { (eval echo configure:21378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21379 eval "ac_cv_func_$ac_func=yes"
21381 echo "configure: failed program was:" >&5
21382 cat conftest.$ac_ext >&5
21384 eval "ac_cv_func_$ac_func=no"
21389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21390 echo "$ac_t""yes" 1>&6
21391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21392 cat >> confdefs.h <<EOF
21393 #define $ac_tr_func 1
21397 echo "$ac_t""no" 1>&6
21403 for ac_func in drand48
21405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21406 echo "configure:21407: checking for $ac_func" >&5
21407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21408 echo $ac_n "(cached) $ac_c" 1>&6
21410 cat > conftest.$ac_ext <<EOF
21411 #line 21412 "configure"
21412 #include "confdefs.h"
21413 /* System header to define __stub macros and hopefully few prototypes,
21414 which can conflict with char $ac_func(); below. */
21415 #include <assert.h>
21416 /* Override any gcc2 internal prototype to avoid an error. */
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21423 /* The GNU C library defines this for functions which it implements
21424 to always fail with ENOSYS. Some functions are actually named
21425 something starting with __ and the normal name is an alias. */
21426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21434 if { (eval echo configure:21435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21436 eval "ac_cv_func_$ac_func=yes"
21438 echo "configure: failed program was:" >&5
21439 cat conftest.$ac_ext >&5
21441 eval "ac_cv_func_$ac_func=no"
21446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21447 echo "$ac_t""yes" 1>&6
21448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21449 cat >> confdefs.h <<EOF
21450 #define $ac_tr_func 1
21454 echo "$ac_t""no" 1>&6
21459 CXXFLAGS="$ac_save_CXXFLAGS"
21462 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21463 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21464 echo "configure:21465: checking for locale.h" >&5
21465 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21466 echo $ac_n "(cached) $ac_c" 1>&6
21468 cat > conftest.$ac_ext <<EOF
21469 #line 21470 "configure"
21470 #include "confdefs.h"
21471 #include <locale.h>
21473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21474 { (eval echo configure:21475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21475 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21476 if test -z "$ac_err"; then
21478 eval "ac_cv_header_$ac_safe=yes"
21481 echo "configure: failed program was:" >&5
21482 cat conftest.$ac_ext >&5
21484 eval "ac_cv_header_$ac_safe=no"
21488 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21489 echo "$ac_t""yes" 1>&6
21491 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21492 echo "configure:21493: checking for LC_MESSAGES" >&5
21493 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21494 echo $ac_n "(cached) $ac_c" 1>&6
21496 cat > conftest.$ac_ext <<EOF
21497 #line 21498 "configure"
21498 #include "confdefs.h"
21499 #include <locale.h>
21504 if { (eval echo configure:21505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21506 ac_cv_val_LC_MESSAGES=yes
21508 echo "configure: failed program was:" >&5
21509 cat conftest.$ac_ext >&5
21511 ac_cv_val_LC_MESSAGES=no
21516 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21517 if test $ac_cv_val_LC_MESSAGES = yes; then
21518 cat >> confdefs.h <<\EOF
21519 #define HAVE_LC_MESSAGES 1
21525 echo "$ac_t""no" 1>&6
21530 cat > conftest.$ac_ext <<EOF
21531 #line 21532 "configure"
21532 #include "confdefs.h"
21534 #include <setjmp.h>
21537 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21540 if { (eval echo configure:21541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21542 cat >> confdefs.h <<\EOF
21543 #define HAVE_SIGSETJMP 1
21548 echo "configure: failed program was:" >&5
21549 cat conftest.$ac_ext >&5
21553 for ac_hdr in unistd.h
21555 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21556 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21557 echo "configure:21558: checking for $ac_hdr" >&5
21558 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21559 echo $ac_n "(cached) $ac_c" 1>&6
21561 cat > conftest.$ac_ext <<EOF
21562 #line 21563 "configure"
21563 #include "confdefs.h"
21566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21567 { (eval echo configure:21568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21569 if test -z "$ac_err"; then
21571 eval "ac_cv_header_$ac_safe=yes"
21574 echo "configure: failed program was:" >&5
21575 cat conftest.$ac_ext >&5
21577 eval "ac_cv_header_$ac_safe=no"
21581 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21582 echo "$ac_t""yes" 1>&6
21583 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21584 cat >> confdefs.h <<EOF
21585 #define $ac_tr_hdr 1
21589 echo "$ac_t""no" 1>&6
21593 for ac_func in getpagesize
21595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21596 echo "configure:21597: checking for $ac_func" >&5
21597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21598 echo $ac_n "(cached) $ac_c" 1>&6
21600 cat > conftest.$ac_ext <<EOF
21601 #line 21602 "configure"
21602 #include "confdefs.h"
21603 /* System header to define __stub macros and hopefully few prototypes,
21604 which can conflict with char $ac_func(); below. */
21605 #include <assert.h>
21606 /* Override any gcc2 internal prototype to avoid an error. */
21607 /* We use char because int might match the return type of a gcc2
21608 builtin and then its argument prototype would still apply. */
21613 /* The GNU C library defines this for functions which it implements
21614 to always fail with ENOSYS. Some functions are actually named
21615 something starting with __ and the normal name is an alias. */
21616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21624 if { (eval echo configure:21625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21626 eval "ac_cv_func_$ac_func=yes"
21628 echo "configure: failed program was:" >&5
21629 cat conftest.$ac_ext >&5
21631 eval "ac_cv_func_$ac_func=no"
21636 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21637 echo "$ac_t""yes" 1>&6
21638 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21639 cat >> confdefs.h <<EOF
21640 #define $ac_tr_func 1
21644 echo "$ac_t""no" 1>&6
21648 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21649 echo "configure:21650: checking for working mmap" >&5
21650 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21651 echo $ac_n "(cached) $ac_c" 1>&6
21653 if test "$cross_compiling" = yes; then
21654 ac_cv_func_mmap_fixed_mapped=no
21656 cat > conftest.$ac_ext <<EOF
21657 #line 21658 "configure"
21658 #include "confdefs.h"
21660 /* Thanks to Mike Haertel and Jim Avera for this test.
21661 Here is a matrix of mmap possibilities:
21662 mmap private not fixed
21663 mmap private fixed at somewhere currently unmapped
21664 mmap private fixed at somewhere already mapped
21665 mmap shared not fixed
21666 mmap shared fixed at somewhere currently unmapped
21667 mmap shared fixed at somewhere already mapped
21668 For private mappings, we should verify that changes cannot be read()
21669 back from the file, nor mmap's back from the file at a different
21670 address. (There have been systems where private was not correctly
21671 implemented like the infamous i386 svr4.0, and systems where the
21672 VM page cache was not coherent with the filesystem buffer cache
21673 like early versions of FreeBSD and possibly contemporary NetBSD.)
21674 For shared mappings, we should conversely verify that changes get
21675 propogated back to all the places they're supposed to be.
21677 Grep wants private fixed already mapped.
21678 The main things grep needs to know about mmap are:
21679 * does it exist and is it safe to write into the mmap'd area
21680 * how to use it (BSD variants) */
21681 #include <sys/types.h>
21683 #include <sys/mman.h>
21685 /* This mess was copied from the GNU getpagesize.h. */
21686 #ifndef HAVE_GETPAGESIZE
21687 # ifdef HAVE_UNISTD_H
21688 # include <unistd.h>
21691 /* Assume that all systems that can run configure have sys/param.h. */
21692 # ifndef HAVE_SYS_PARAM_H
21693 # define HAVE_SYS_PARAM_H 1
21696 # ifdef _SC_PAGESIZE
21697 # define getpagesize() sysconf(_SC_PAGESIZE)
21698 # else /* no _SC_PAGESIZE */
21699 # ifdef HAVE_SYS_PARAM_H
21700 # include <sys/param.h>
21701 # ifdef EXEC_PAGESIZE
21702 # define getpagesize() EXEC_PAGESIZE
21703 # else /* no EXEC_PAGESIZE */
21705 # define getpagesize() NBPG * CLSIZE
21708 # endif /* no CLSIZE */
21709 # else /* no NBPG */
21711 # define getpagesize() NBPC
21712 # else /* no NBPC */
21714 # define getpagesize() PAGESIZE
21715 # endif /* PAGESIZE */
21716 # endif /* no NBPC */
21717 # endif /* no NBPG */
21718 # endif /* no EXEC_PAGESIZE */
21719 # else /* no HAVE_SYS_PARAM_H */
21720 # define getpagesize() 8192 /* punt totally */
21721 # endif /* no HAVE_SYS_PARAM_H */
21722 # endif /* no _SC_PAGESIZE */
21724 #endif /* no HAVE_GETPAGESIZE */
21727 extern "C" { void *malloc(unsigned); }
21735 char *data, *data2, *data3;
21739 pagesize = getpagesize();
21742 * First, make a file with some known garbage in it.
21744 data = malloc(pagesize);
21747 for (i = 0; i < pagesize; ++i)
21748 *(data + i) = rand();
21750 fd = creat("conftestmmap", 0600);
21753 if (write(fd, data, pagesize) != pagesize)
21758 * Next, try to mmap the file at a fixed address which
21759 * already has something else allocated at it. If we can,
21760 * also make sure that we see the same garbage.
21762 fd = open("conftestmmap", O_RDWR);
21765 data2 = malloc(2 * pagesize);
21768 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21769 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21770 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21772 for (i = 0; i < pagesize; ++i)
21773 if (*(data + i) != *(data2 + i))
21777 * Finally, make sure that changes to the mapped area
21778 * do not percolate back to the file as seen by read().
21779 * (This is a bug on some variants of i386 svr4.0.)
21781 for (i = 0; i < pagesize; ++i)
21782 *(data2 + i) = *(data2 + i) + 1;
21783 data3 = malloc(pagesize);
21786 if (read(fd, data3, pagesize) != pagesize)
21788 for (i = 0; i < pagesize; ++i)
21789 if (*(data + i) != *(data3 + i))
21792 unlink("conftestmmap");
21797 if { (eval echo configure:21798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21799 ac_cv_func_mmap_fixed_mapped=yes
21801 echo "configure: failed program was:" >&5
21802 cat conftest.$ac_ext >&5
21804 ac_cv_func_mmap_fixed_mapped=no
21811 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21812 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21813 cat >> confdefs.h <<\EOF
21814 #define HAVE_MMAP 1
21820 # Establish limits on memory usage during 'make check'
21823 setrlimit_have_headers=yes
21824 for ac_hdr in unistd.h sys/time.h sys/resource.h
21826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21828 echo "configure:21829: checking for $ac_hdr" >&5
21829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21830 echo $ac_n "(cached) $ac_c" 1>&6
21832 cat > conftest.$ac_ext <<EOF
21833 #line 21834 "configure"
21834 #include "confdefs.h"
21837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21838 { (eval echo configure:21839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21840 if test -z "$ac_err"; then
21842 eval "ac_cv_header_$ac_safe=yes"
21845 echo "configure: failed program was:" >&5
21846 cat conftest.$ac_ext >&5
21848 eval "ac_cv_header_$ac_safe=no"
21852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21853 echo "$ac_t""yes" 1>&6
21854 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21855 cat >> confdefs.h <<EOF
21856 #define $ac_tr_hdr 1
21860 echo "$ac_t""no" 1>&6
21861 setrlimit_have_headers=no
21865 # If don't have the headers, then we can't run the tests now, and we
21866 # won't be seeing any of these during testsuite compilation.
21867 if test $setrlimit_have_headers = yes; then
21868 # Can't do these in a loop, else the resulting syntax is wrong.
21870 cat > conftest.$ac_ext <<EOF
21871 #line 21872 "configure"
21872 #include "confdefs.h"
21873 #include <unistd.h>
21874 #include <sys/time.h>
21875 #include <sys/resource.h>
21878 int f = RLIMIT_DATA ;
21881 if { (eval echo configure:21882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21885 echo "configure: failed program was:" >&5
21886 cat conftest.$ac_ext >&5
21891 cat >> confdefs.h <<EOF
21892 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21897 cat > conftest.$ac_ext <<EOF
21898 #line 21899 "configure"
21899 #include "confdefs.h"
21900 #include <unistd.h>
21901 #include <sys/time.h>
21902 #include <sys/resource.h>
21905 int f = RLIMIT_RSS ;
21908 if { (eval echo configure:21909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21912 echo "configure: failed program was:" >&5
21913 cat conftest.$ac_ext >&5
21918 cat >> confdefs.h <<EOF
21919 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21924 cat > conftest.$ac_ext <<EOF
21925 #line 21926 "configure"
21926 #include "confdefs.h"
21927 #include <unistd.h>
21928 #include <sys/time.h>
21929 #include <sys/resource.h>
21932 int f = RLIMIT_VMEM ;
21935 if { (eval echo configure:21936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21939 echo "configure: failed program was:" >&5
21940 cat conftest.$ac_ext >&5
21945 cat >> confdefs.h <<EOF
21946 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21951 cat > conftest.$ac_ext <<EOF
21952 #line 21953 "configure"
21953 #include "confdefs.h"
21954 #include <unistd.h>
21955 #include <sys/time.h>
21956 #include <sys/resource.h>
21959 int f = RLIMIT_AS ;
21962 if { (eval echo configure:21963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21966 echo "configure: failed program was:" >&5
21967 cat conftest.$ac_ext >&5
21972 cat >> confdefs.h <<EOF
21973 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21978 # Check for rlimit, setrlimit.
21979 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21980 echo $ac_n "(cached) $ac_c" 1>&6
21983 cat > conftest.$ac_ext <<EOF
21984 #line 21985 "configure"
21985 #include "confdefs.h"
21986 #include <unistd.h>
21987 #include <sys/time.h>
21988 #include <sys/resource.h>
21991 struct rlimit r; setrlimit(0, &r);
21994 if { (eval echo configure:21995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21998 echo "configure: failed program was:" >&5
21999 cat conftest.$ac_ext >&5
22009 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
22010 echo "configure:22011: checking for testsuite memory limit support" >&5
22011 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
22013 cat >> confdefs.h <<\EOF
22014 #define _GLIBCPP_MEM_LIMITS 1
22020 echo "$ac_t""$ac_mem_limits" 1>&6
22023 # Look for setenv, so that extended locale tests can be performed.
22025 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
22026 echo "configure:22027: checking for setenv declaration" >&5
22027 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
22028 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
22029 echo $ac_n "(cached) $ac_c" 1>&6
22034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22035 ac_cpp='$CXXCPP $CPPFLAGS'
22036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22038 cross_compiling=$ac_cv_prog_cxx_cross
22040 cat > conftest.$ac_ext <<EOF
22041 #line 22042 "configure"
22042 #include "confdefs.h"
22043 #include <stdlib.h>
22048 if { (eval echo configure:22049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22050 glibcpp_cv_func_setenv_use=yes
22052 echo "configure: failed program was:" >&5
22053 cat conftest.$ac_ext >&5
22055 glibcpp_cv_func_setenv_use=no
22059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22062 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22063 cross_compiling=$ac_cv_prog_cc_cross
22069 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22070 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22071 for ac_func in setenv
22073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22074 echo "configure:22075: checking for $ac_func" >&5
22075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22076 echo $ac_n "(cached) $ac_c" 1>&6
22078 cat > conftest.$ac_ext <<EOF
22079 #line 22080 "configure"
22080 #include "confdefs.h"
22081 /* System header to define __stub macros and hopefully few prototypes,
22082 which can conflict with char $ac_func(); below. */
22083 #include <assert.h>
22084 /* Override any gcc2 internal prototype to avoid an error. */
22085 /* We use char because int might match the return type of a gcc2
22086 builtin and then its argument prototype would still apply. */
22091 /* The GNU C library defines this for functions which it implements
22092 to always fail with ENOSYS. Some functions are actually named
22093 something starting with __ and the normal name is an alias. */
22094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22102 if { (eval echo configure:22103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22104 eval "ac_cv_func_$ac_func=yes"
22106 echo "configure: failed program was:" >&5
22107 cat conftest.$ac_ext >&5
22109 eval "ac_cv_func_$ac_func=no"
22114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22115 echo "$ac_t""yes" 1>&6
22116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22117 cat >> confdefs.h <<EOF
22118 #define $ac_tr_func 1
22122 echo "$ac_t""no" 1>&6
22131 # This depends on the possibly-skipped linker test above.
22132 # Check whether --enable-symvers or --disable-symvers was given.
22133 if test "${enable_symvers+set}" = set; then
22134 enableval="$enable_symvers"
22135 case "$enableval" in
22136 yes) enable_symvers=yes ;;
22137 no) enable_symvers=no ;;
22138 # other names here, just as sanity checks
22139 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22140 gnu) enable_symvers=$enableval ;;
22141 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22147 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22148 # don't know enough about $LD to do tricks...
22149 if test x$enable_shared = xno ||
22151 test x$glibcpp_gnu_ld_version = x; then
22155 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22156 if test $enable_symvers != no; then
22157 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22158 echo "configure:22159: checking for shared libgcc" >&5
22159 ac_save_CFLAGS="$CFLAGS"
22161 cat > conftest.$ac_ext <<EOF
22162 #line 22163 "configure"
22163 #include "confdefs.h"
22169 if { (eval echo configure:22170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22171 glibcpp_shared_libgcc=yes
22173 echo "configure: failed program was:" >&5
22174 cat conftest.$ac_ext >&5
22176 glibcpp_shared_libgcc=no
22179 CFLAGS="$ac_save_CFLAGS"
22180 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22183 # For GNU ld, we need at least this version. It's 2.12 in the same format
22184 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22185 glibcpp_min_gnu_ld_version=21200
22187 # Check to see if unspecified "yes" value can win, given results
22189 if test $enable_symvers = yes ; then
22190 if test $with_gnu_ld = yes &&
22191 test $glibcpp_shared_libgcc = yes ;
22193 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22196 ac_test_CFLAGS="${CFLAGS+set}"
22197 ac_save_CFLAGS="$CFLAGS"
22198 CFLAGS='-shared -Wl,--version-script,conftest.map'
22201 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22203 cat > conftest.$ac_ext <<EOF
22204 #line 22205 "configure"
22205 #include "confdefs.h"
22211 if { (eval echo configure:22212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22215 echo "configure: failed program was:" >&5
22216 cat conftest.$ac_ext >&5
22219 if test "$ac_test_CFLAGS" = set; then
22220 CFLAGS="$ac_save_CFLAGS"
22222 # this is the suspicious part
22228 # just fail for now
22233 case $enable_symvers in
22235 LINKER_MAP=config/linker-map.dummy
22238 LINKER_MAP=config/linker-map.gnu
22245 if test $enable_symvers != no; then
22246 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22247 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22249 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22250 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22252 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22253 echo "configure:22254: checking versioning on shared library symbols" >&5
22254 echo "$ac_t""$enable_symvers" 1>&6
22257 # Propagate the target-specific source directories through the build chain.
22258 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22259 # CPULIMITSH [might] use it, and they only get used here.)
22260 OS_INC_SRCDIR=config/${os_include_dir}/bits
22261 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}/bits
22262 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}/bits
22267 # Set up cross-compile flags
22270 if test "$CANADIAN" = yes; then
22278 cat > confcache <<\EOF
22279 # This file is a shell script that caches the results of configure
22280 # tests run on this system so they can be shared between configure
22281 # scripts and configure runs. It is not useful on other systems.
22282 # If it contains results you don't want to keep, you may remove or edit it.
22284 # By default, configure uses ./config.cache as the cache file,
22285 # creating it if it does not exist already. You can give configure
22286 # the --cache-file=FILE option to use a different cache file; that is
22287 # what configure does when it calls configure scripts in
22288 # subdirectories, so they share the cache.
22289 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22290 # config.status only pays attention to the cache file if you give it the
22291 # --recheck option to rerun configure.
22294 # The following way of writing the cache mishandles newlines in values,
22295 # but we know of no workaround that is simple, portable, and efficient.
22296 # So, don't put newlines in cache variables' values.
22297 # Ultrix sh set writes to stderr and can't be redirected directly,
22298 # and sets the high bit in the cache file unless we assign to the vars.
22300 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22302 # `set' does not quote correctly, so add quotes (double-quote substitution
22303 # turns \\\\ into \\, and sed turns \\ into \).
22305 -e "s/'/'\\\\''/g" \
22306 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22309 # `set' quotes correctly as required by POSIX, so do not add quotes.
22310 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22313 if cmp -s $cache_file confcache; then
22316 if test -w $cache_file; then
22317 echo "updating cache $cache_file"
22318 cat confcache > $cache_file
22320 echo "not updating unwritable cache $cache_file"
22326 if test "${multilib}" = "yes"; then
22327 multilib_arg="--enable-multilib"
22332 # Needed so that g++ can find the correct include subdir automatically.
22335 # Export all the install information
22337 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22338 # exported correctly in GLIBCPP_CONFIGURE.
22339 glibcpp_toolexecdir=no
22340 glibcpp_toolexeclibdir=no
22341 glibcpp_prefixdir=${prefix}
22343 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22344 echo "configure:22345: checking for interface version number" >&5
22345 libstdcxx_interface=$INTERFACE
22346 echo "$ac_t""$libstdcxx_interface" 1>&6
22348 # Process the option --with-gxx-include-dir=<path to include-files directory>
22349 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22350 echo "configure:22351: checking for --with-gxx-include-dir" >&5
22351 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22352 if test "${with_gxx_include_dir+set}" = set; then
22353 withval="$with_gxx_include_dir"
22354 case "${withval}" in
22356 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22363 gxx_include_dir=${withval}
22370 echo "$ac_t""$gxx_include_dir" 1>&6
22372 # Process the option "--enable-version-specific-runtime-libs"
22373 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22374 echo "configure:22375: checking for --enable-version-specific-runtime-libs" >&5
22375 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22376 if test "${enable_version_specific_runtime_libs+set}" = set; then
22377 enableval="$enable_version_specific_runtime_libs"
22378 case "$enableval" in
22379 yes) version_specific_libs=yes ;;
22380 no) version_specific_libs=no ;;
22381 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22384 version_specific_libs=no
22386 # Option set, now we can test it.
22387 echo "$ac_t""$version_specific_libs" 1>&6
22389 if test $version_specific_libs = yes; then
22390 # Need the gcc compiler version to know where to install libraries
22391 # and header files if --enable-version-specific-runtime-libs option
22393 gcc_version_trigger=${srcdir}/../gcc/version.c
22394 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22395 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22396 if test x"$gxx_include_dir" = x"no"; then
22397 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22399 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22400 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22403 # Default case for install directory for include files.
22404 if test $version_specific_libs = no &&
22405 test $gxx_include_dir = no; then
22406 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22409 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22410 # Install a library built with a cross compiler in tooldir, not libdir.
22411 if test x"$glibcpp_toolexecdir" = x"no"; then
22412 if test -n "$with_cross_host" &&
22413 test x"$with_cross_host" != x"no"; then
22414 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22415 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22417 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22418 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22422 echo $ac_n "checking for install location""... $ac_c" 1>&6
22423 echo "configure:22424: checking for install location" >&5
22424 echo "$ac_t""$gxx_include_dir" 1>&6
22432 # Export all the include and flag information to makefiles.
22434 # Root level of the build directory include sources.
22435 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22437 # Passed down for canadian crosses.
22438 if test x"$CANADIAN" = xyes; then
22439 TOPLEVEL_INCLUDES='-I$(includedir)'
22442 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22444 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22446 if test x"$need_libio" = xyes; then
22447 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22451 # Now, export this to all the little Makefiles....
22458 # Optimization flags that are probably a good idea for thrill-seekers. Just
22459 # uncomment the lines below and make, everything else is ready to go...
22460 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22464 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22468 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22469 grep "enable shared" > /dev/null; then
22470 LIBSUPCXX_PICFLAGS=-prefer-pic
22472 LIBSUPCXX_PICFLAGS=
22476 # Generate the various Makefiles, include files, and scripts.
22477 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22478 # and libsupc++/Makefile.am so that multilib installs will end up
22479 # installed in the correct place. To work around this not being passed
22480 # down from config-ml.in -> top_srcdir/Makefile.am ->
22481 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22483 cat > confcache <<\EOF
22484 # This file is a shell script that caches the results of configure
22485 # tests run on this system so they can be shared between configure
22486 # scripts and configure runs. It is not useful on other systems.
22487 # If it contains results you don't want to keep, you may remove or edit it.
22489 # By default, configure uses ./config.cache as the cache file,
22490 # creating it if it does not exist already. You can give configure
22491 # the --cache-file=FILE option to use a different cache file; that is
22492 # what configure does when it calls configure scripts in
22493 # subdirectories, so they share the cache.
22494 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22495 # config.status only pays attention to the cache file if you give it the
22496 # --recheck option to rerun configure.
22499 # The following way of writing the cache mishandles newlines in values,
22500 # but we know of no workaround that is simple, portable, and efficient.
22501 # So, don't put newlines in cache variables' values.
22502 # Ultrix sh set writes to stderr and can't be redirected directly,
22503 # and sets the high bit in the cache file unless we assign to the vars.
22505 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22507 # `set' does not quote correctly, so add quotes (double-quote substitution
22508 # turns \\\\ into \\, and sed turns \\ into \).
22510 -e "s/'/'\\\\''/g" \
22511 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22514 # `set' quotes correctly as required by POSIX, so do not add quotes.
22515 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22518 if cmp -s $cache_file confcache; then
22521 if test -w $cache_file; then
22522 echo "updating cache $cache_file"
22523 cat confcache > $cache_file
22525 echo "not updating unwritable cache $cache_file"
22530 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22532 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22533 # Let make expand exec_prefix.
22534 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22536 # Any assignment to VPATH causes Sun make to only execute
22537 # the first set of double-colon rules, so remove it if not needed.
22538 # If there is a colon in the path, we need to keep it.
22539 if test "x$srcdir" = x.; then
22540 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22543 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22545 DEFS=-DHAVE_CONFIG_H
22547 # Without the "./", some shells look in PATH for config.status.
22548 : ${CONFIG_STATUS=./config.status}
22550 echo creating $CONFIG_STATUS
22551 rm -f $CONFIG_STATUS
22552 cat > $CONFIG_STATUS <<EOF
22554 # Generated automatically by configure.
22555 # Run this file to recreate the current configuration.
22556 # This directory was configured as follows,
22557 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22559 # $0 $ac_configure_args
22561 # Compiler output produced by configure, useful for debugging
22562 # configure, is in ./config.log if it exists.
22564 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22567 case "\$ac_option" in
22568 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22569 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22570 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22571 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22572 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22574 -help | --help | --hel | --he | --h)
22575 echo "\$ac_cs_usage"; exit 0 ;;
22576 *) echo "\$ac_cs_usage"; exit 1 ;;
22580 ac_given_srcdir=$srcdir
22581 ac_given_INSTALL="$INSTALL"
22583 trap 'rm -fr `echo "Makefile \
22584 include/Makefile src/Makefile \
22585 libmath/Makefile libio/Makefile libsupc++/Makefile \
22586 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22588 cat >> $CONFIG_STATUS <<EOF
22590 # Protect against being on the right side of a sed subst in config.status.
22591 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22592 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22596 s%@CFLAGS@%$CFLAGS%g
22597 s%@CPPFLAGS@%$CPPFLAGS%g
22598 s%@CXXFLAGS@%$CXXFLAGS%g
22599 s%@FFLAGS@%$FFLAGS%g
22601 s%@LDFLAGS@%$LDFLAGS%g
22603 s%@exec_prefix@%$exec_prefix%g
22604 s%@prefix@%$prefix%g
22605 s%@program_transform_name@%$program_transform_name%g
22606 s%@bindir@%$bindir%g
22607 s%@sbindir@%$sbindir%g
22608 s%@libexecdir@%$libexecdir%g
22609 s%@datadir@%$datadir%g
22610 s%@sysconfdir@%$sysconfdir%g
22611 s%@sharedstatedir@%$sharedstatedir%g
22612 s%@localstatedir@%$localstatedir%g
22613 s%@libdir@%$libdir%g
22614 s%@includedir@%$includedir%g
22615 s%@oldincludedir@%$oldincludedir%g
22616 s%@infodir@%$infodir%g
22617 s%@mandir@%$mandir%g
22618 s%@PACKAGE@%$PACKAGE%g
22619 s%@release_VERSION@%$release_VERSION%g
22620 s%@libtool_VERSION@%$libtool_VERSION%g
22622 s%@host_alias@%$host_alias%g
22623 s%@host_cpu@%$host_cpu%g
22624 s%@host_vendor@%$host_vendor%g
22625 s%@host_os@%$host_os%g
22626 s%@target@%$target%g
22627 s%@target_alias@%$target_alias%g
22628 s%@target_cpu@%$target_cpu%g
22629 s%@target_vendor@%$target_vendor%g
22630 s%@target_os@%$target_os%g
22632 s%@build_alias@%$build_alias%g
22633 s%@build_cpu@%$build_cpu%g
22634 s%@build_vendor@%$build_vendor%g
22635 s%@build_os@%$build_os%g
22636 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22637 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22638 s%@INSTALL_DATA@%$INSTALL_DATA%g
22639 s%@VERSION@%$VERSION%g
22640 s%@ACLOCAL@%$ACLOCAL%g
22641 s%@AUTOCONF@%$AUTOCONF%g
22642 s%@AUTOMAKE@%$AUTOMAKE%g
22643 s%@AUTOHEADER@%$AUTOHEADER%g
22644 s%@MAKEINFO@%$MAKEINFO%g
22645 s%@SET_MAKE@%$SET_MAKE%g
22646 s%@toplevel_srcdir@%$toplevel_srcdir%g
22647 s%@glibcpp_builddir@%$glibcpp_builddir%g
22648 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22651 s%@glibcpp_basedir@%$glibcpp_basedir%g
22653 s%@glibcpp_CXX@%$glibcpp_CXX%g
22656 s%@RANLIB@%$RANLIB%g
22657 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22658 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22660 s%@EXEEXT@%$EXEEXT%g
22661 s%@OBJEXT@%$OBJEXT%g
22663 s%@LIBTOOL@%$LIBTOOL%g
22664 s%@CXXCPP@%$CXXCPP%g
22665 s%@enable_shared@%$enable_shared%g
22666 s%@enable_static@%$enable_static%g
22667 s%@ifGNUmake@%$ifGNUmake%g
22668 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22670 s%@CSTDIO_H@%$CSTDIO_H%g
22671 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22672 s%@CCODECVT_C@%$CCODECVT_C%g
22673 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22674 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22675 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22676 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22677 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22678 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22679 s%@libio_la@%$libio_la%g
22680 s%@check_msgfmt@%$check_msgfmt%g
22681 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22682 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22683 s%@glibcpp_localedir@%$glibcpp_localedir%g
22684 s%@USE_NLS@%$USE_NLS%g
22685 s%@CLOCALE_H@%$CLOCALE_H%g
22686 s%@CCODECVT_H@%$CCODECVT_H%g
22687 s%@CMESSAGES_H@%$CMESSAGES_H%g
22688 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
22689 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22690 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22691 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22692 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22693 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22694 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22695 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22696 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22697 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22698 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22699 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22700 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22701 s%@WERROR@%$WERROR%g
22702 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22703 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22704 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22705 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22706 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22707 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22708 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22709 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22710 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22711 s%@gxx_include_dir@%$gxx_include_dir%g
22712 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22713 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22714 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22715 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22716 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22717 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22718 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22719 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22720 s%@WARN_FLAGS@%$WARN_FLAGS%g
22721 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22726 cat >> $CONFIG_STATUS <<\EOF
22728 # Split the substitutions into bite-sized pieces for seds with
22729 # small command number limits, like on Digital OSF/1 and HP-UX.
22730 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22731 ac_file=1 # Number of current file.
22732 ac_beg=1 # First line for current file.
22733 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22736 while $ac_more_lines; do
22737 if test $ac_beg -gt 1; then
22738 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22740 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22742 if test ! -s conftest.s$ac_file; then
22743 ac_more_lines=false
22744 rm -f conftest.s$ac_file
22746 if test -z "$ac_sed_cmds"; then
22747 ac_sed_cmds="sed -f conftest.s$ac_file"
22749 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22751 ac_file=`expr $ac_file + 1`
22753 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22756 if test -z "$ac_sed_cmds"; then
22761 cat >> $CONFIG_STATUS <<EOF
22763 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22764 include/Makefile src/Makefile \
22765 libmath/Makefile libio/Makefile libsupc++/Makefile \
22766 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22768 cat >> $CONFIG_STATUS <<\EOF
22769 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22770 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22772 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22773 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22774 *) ac_file_in="${ac_file}.in" ;;
22777 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22779 # Remove last slash and all that follows it. Not all systems have dirname.
22780 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22781 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22782 # The file is in a subdirectory.
22783 test ! -d "$ac_dir" && mkdir "$ac_dir"
22784 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22785 # A "../" for each directory in $ac_dir_suffix.
22786 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22788 ac_dir_suffix= ac_dots=
22791 case "$ac_given_srcdir" in
22793 if test -z "$ac_dots"; then top_srcdir=.
22794 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22795 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22796 *) # Relative path.
22797 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22798 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22801 case "$ac_given_INSTALL" in
22802 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22803 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22806 echo creating "$ac_file"
22808 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22810 *Makefile*) ac_comsub="1i\\
22811 # $configure_input" ;;
22815 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22817 s%@configure_input@%$configure_input%g
22818 s%@srcdir@%$srcdir%g
22819 s%@top_srcdir@%$top_srcdir%g
22820 s%@INSTALL@%$INSTALL%g
22821 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22825 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22826 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22828 # ac_d sets the value in "#define NAME VALUE" lines.
22829 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22830 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22833 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22834 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22835 ac_uB='\([ ]\)%\1#\2define\3'
22838 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22839 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22840 ac_eB='$%\1#\2define\3'
22844 if test "${CONFIG_HEADERS+set}" != set; then
22846 cat >> $CONFIG_STATUS <<EOF
22847 CONFIG_HEADERS="config.h"
22849 cat >> $CONFIG_STATUS <<\EOF
22851 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22852 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22854 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22855 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22856 *) ac_file_in="${ac_file}.in" ;;
22859 echo creating $ac_file
22861 rm -f conftest.frag conftest.in conftest.out
22862 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22863 cat $ac_file_inputs > conftest.in
22867 # Transform confdefs.h into a sed script conftest.vals that substitutes
22868 # the proper values into config.h.in to produce config.h. And first:
22869 # Protect against being on the right side of a sed subst in config.status.
22870 # Protect against being in an unquoted here document in config.status.
22871 rm -f conftest.vals
22872 cat > conftest.hdr <<\EOF
22875 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22879 sed -n -f conftest.hdr confdefs.h > conftest.vals
22882 # This sed command replaces #undef with comments. This is necessary, for
22883 # example, in the case of _POSIX_SOURCE, which is predefined and required
22884 # on some systems where configure will not decide to define it.
22885 cat >> conftest.vals <<\EOF
22886 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22889 # Break up conftest.vals because some shells have a limit on
22890 # the size of here documents, and old seds have small limits too.
22892 rm -f conftest.tail
22895 ac_lines=`grep -c . conftest.vals`
22896 # grep -c gives empty output for an empty file on some AIX systems.
22897 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22898 # Write a limited-size here document to conftest.frag.
22899 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22900 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22902 sed -f conftest.frag conftest.in > conftest.out
22904 mv conftest.out conftest.in
22905 ' >> $CONFIG_STATUS
22906 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22907 rm -f conftest.vals
22908 mv conftest.tail conftest.vals
22910 rm -f conftest.vals
22912 cat >> $CONFIG_STATUS <<\EOF
22913 rm -f conftest.frag conftest.h
22914 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22915 cat conftest.in >> conftest.h
22917 if cmp -s $ac_file conftest.h 2>/dev/null; then
22918 echo "$ac_file is unchanged"
22921 # Remove last slash and all that follows it. Not all systems have dirname.
22922 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22923 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22924 # The file is in a subdirectory.
22925 test ! -d "$ac_dir" && mkdir "$ac_dir"
22928 mv conftest.h $ac_file
22934 cat >> $CONFIG_STATUS <<EOF
22935 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22936 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
22939 cat >> $CONFIG_STATUS <<\EOF
22940 srcdir=$ac_given_srcdir
22941 while test -n "$ac_sources"; do
22942 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22943 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22945 echo "linking $srcdir/$ac_source to $ac_dest"
22947 if test ! -r $srcdir/$ac_source; then
22948 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22952 # Make relative symlinks.
22953 # Remove last slash and all that follows it. Not all systems have dirname.
22954 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22955 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22956 # The dest file is in a subdirectory.
22957 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22958 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22959 # A "../" for each directory in $ac_dest_dir_suffix.
22960 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22962 ac_dest_dir_suffix= ac_dots=
22966 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22967 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22970 # Make a symlink if possible; otherwise try a hard link.
22971 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22972 ln $srcdir/$ac_source $ac_dest; then :
22974 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22978 cat >> $CONFIG_STATUS <<EOF
22983 with_multisubdir=${with_multisubdir}
22984 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22985 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22986 glibcpp_basedir=${glibcpp_basedir}
22991 cat >> $CONFIG_STATUS <<\EOF
22992 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22993 if test -n "$CONFIG_FILES"; then
22994 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22995 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22996 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22997 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
23000 chmod +x testsuite_flags
23004 chmod +x $CONFIG_STATUS
23005 rm -fr confdefs* $ac_clean_files
23006 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23010 # Sanity checking & User-visible messages.
23011 # Checks down here, otherwise they get scrolled off before
23012 # the user will notice.
23014 # Trying to get more people to read documentation. Possibly remove
23015 # check and warn all the time. There is no "informational" AC_MSG_
23016 # macro, so these are going to be printed even when --quiet/--silent
23018 if test ! -f stamp-sanity-warned; then
23019 touch stamp-sanity-warned
23021 echo "Please make certain that you read the installation information here:"
23022 echo " faster => ${srcdir}/docs/html/install.html"
23023 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
23025 echo "and the configuration information here:"
23026 echo " faster => ${srcdir}/docs/html/configopts.html"
23027 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
23029 echo "before proceeding with ${_cv_gnu_make_command}."