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.
1440 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1441 echo "configure:1442: checking for POSIXized ISC" >&5
1442 if test -d /etc/conf/kconfig.d &&
1443 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1445 echo "$ac_t""yes" 1>&6
1446 ISC=yes # If later tests want to check for ISC.
1447 cat >> confdefs.h <<\EOF
1448 #define _POSIX_SOURCE 1
1451 if test "$GCC" = yes; then
1457 echo "$ac_t""no" 1>&6
1462 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1463 set dummy ${ac_tool_prefix}as; ac_word=$2
1464 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1465 echo "configure:1466: checking for $ac_word" >&5
1466 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1467 echo $ac_n "(cached) $ac_c" 1>&6
1469 if test -n "$AS"; then
1470 ac_cv_prog_AS="$AS" # Let the user override the test.
1472 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1474 for ac_dir in $ac_dummy; do
1475 test -z "$ac_dir" && ac_dir=.
1476 if test -f $ac_dir/$ac_word; then
1477 ac_cv_prog_AS="${ac_tool_prefix}as"
1482 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1486 if test -n "$AS"; then
1487 echo "$ac_t""$AS" 1>&6
1489 echo "$ac_t""no" 1>&6
1494 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1495 set dummy ${ac_tool_prefix}ar; ac_word=$2
1496 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1497 echo "configure:1498: checking for $ac_word" >&5
1498 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1499 echo $ac_n "(cached) $ac_c" 1>&6
1501 if test -n "$AR"; then
1502 ac_cv_prog_AR="$AR" # Let the user override the test.
1504 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1506 for ac_dir in $ac_dummy; do
1507 test -z "$ac_dir" && ac_dir=.
1508 if test -f $ac_dir/$ac_word; then
1509 ac_cv_prog_AR="${ac_tool_prefix}ar"
1514 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1518 if test -n "$AR"; then
1519 echo "$ac_t""$AR" 1>&6
1521 echo "$ac_t""no" 1>&6
1526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1527 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1528 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1529 echo "configure:1530: checking for $ac_word" >&5
1530 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1531 echo $ac_n "(cached) $ac_c" 1>&6
1533 if test -n "$RANLIB"; then
1534 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1536 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1538 for ac_dir in $ac_dummy; do
1539 test -z "$ac_dir" && ac_dir=.
1540 if test -f $ac_dir/$ac_word; then
1541 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1548 RANLIB="$ac_cv_prog_RANLIB"
1549 if test -n "$RANLIB"; then
1550 echo "$ac_t""$RANLIB" 1>&6
1552 echo "$ac_t""no" 1>&6
1556 if test -z "$ac_cv_prog_RANLIB"; then
1557 if test -n "$ac_tool_prefix"; then
1558 # Extract the first word of "ranlib", so it can be a program name with args.
1559 set dummy ranlib; ac_word=$2
1560 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1561 echo "configure:1562: checking for $ac_word" >&5
1562 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1563 echo $ac_n "(cached) $ac_c" 1>&6
1565 if test -n "$RANLIB"; then
1566 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1568 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1570 for ac_dir in $ac_dummy; do
1571 test -z "$ac_dir" && ac_dir=.
1572 if test -f $ac_dir/$ac_word; then
1573 ac_cv_prog_RANLIB="ranlib"
1578 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1581 RANLIB="$ac_cv_prog_RANLIB"
1582 if test -n "$RANLIB"; then
1583 echo "$ac_t""$RANLIB" 1>&6
1585 echo "$ac_t""no" 1>&6
1589 RANLIB="ranlib-not-found-in-path-error"
1593 # Find a good install program. We prefer a C program (faster),
1594 # so one script is as good as another. But avoid the broken or
1595 # incompatible versions:
1596 # SysV /etc/install, /usr/sbin/install
1597 # SunOS /usr/etc/install
1598 # IRIX /sbin/install
1600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1603 # ./install, which can be erroneously created by make from ./install.sh.
1604 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1605 echo "configure:1606: checking for a BSD compatible install" >&5
1606 if test -z "$INSTALL"; then
1607 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1608 echo $ac_n "(cached) $ac_c" 1>&6
1610 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1611 for ac_dir in $PATH; do
1612 # Account for people who put trailing slashes in PATH elements.
1614 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1616 # OSF1 and SCO ODT 3.0 have their own names for install.
1617 # Don't use installbsd from OSF since it installs stuff as root
1619 for ac_prog in ginstall scoinst install; do
1620 if test -f $ac_dir/$ac_prog; then
1621 if test $ac_prog = install &&
1622 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1623 # AIX install. It has an incompatible calling convention.
1626 ac_cv_path_install="$ac_dir/$ac_prog -c"
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL="$ac_cv_path_install"
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL="$ac_install_sh"
1647 echo "$ac_t""$INSTALL" 1>&6
1649 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1650 # It thinks the first close brace ends the variable substitution.
1651 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1653 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1655 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1659 echo "configure:1660: checking whether to enable maintainer-specific portions of Makefiles" >&5
1660 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1661 if test "${enable_maintainer_mode+set}" = set; then
1662 enableval="$enable_maintainer_mode"
1663 USE_MAINTAINER_MODE=$enableval
1665 USE_MAINTAINER_MODE=no
1668 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1671 if test $USE_MAINTAINER_MODE = yes; then
1672 MAINTAINER_MODE_TRUE=
1673 MAINTAINER_MODE_FALSE='#'
1675 MAINTAINER_MODE_TRUE='#'
1676 MAINTAINER_MODE_FALSE=
1678 MAINT=$MAINTAINER_MODE_TRUE
1682 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1683 # at least currently, we never actually build a program, so we never
1684 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1685 # fails, because we are probably configuring with a cross compiler
1686 # which can't create executables. So we include AC_EXEEXT to keep
1687 # automake happy, but we don't execute it, since we don't care about
1690 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1691 # to nothing, so nothing would remain between `then' and `fi' if it
1692 # were not for the `:' below.
1696 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1697 echo "configure:1698: checking for executable suffix" >&5
1698 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1699 echo $ac_n "(cached) $ac_c" 1>&6
1701 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1705 echo 'int main () { return 0; }' > conftest.$ac_ext
1707 if { (eval echo configure:1708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1708 for file in conftest.*; do
1710 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1711 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1715 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1718 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1723 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1724 echo "$ac_t""${ac_cv_exeext}" 1>&6
1729 case ${glibcpp_basedir} in
1730 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1731 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1734 # Find platform-specific directories containing configuration info. In
1735 # addition to possibly modifying the same flags, it also sets up symlinks.
1737 . ${glibcpp_basedir}/configure.target
1738 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1739 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1745 # Check whether --enable-shared or --disable-shared was given.
1746 if test "${enable_shared+set}" = set; then
1747 enableval="$enable_shared"
1748 p=${PACKAGE-default}
1750 yes) enable_shared=yes ;;
1751 no) enable_shared=no ;;
1754 # Look at the argument we got. We use all the common list separators.
1755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1756 for pkg in $enableval; do
1757 if test "X$pkg" = "X$p"; then
1768 # Check whether --enable-static or --disable-static was given.
1769 if test "${enable_static+set}" = set; then
1770 enableval="$enable_static"
1771 p=${PACKAGE-default}
1773 yes) enable_static=yes ;;
1774 no) enable_static=no ;;
1777 # Look at the argument we got. We use all the common list separators.
1778 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1779 for pkg in $enableval; do
1780 if test "X$pkg" = "X$p"; then
1791 # Check whether --enable-fast-install or --disable-fast-install was given.
1792 if test "${enable_fast_install+set}" = set; then
1793 enableval="$enable_fast_install"
1794 p=${PACKAGE-default}
1796 yes) enable_fast_install=yes ;;
1797 no) enable_fast_install=no ;;
1799 enable_fast_install=no
1800 # Look at the argument we got. We use all the common list separators.
1801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1802 for pkg in $enableval; do
1803 if test "X$pkg" = "X$p"; then
1804 enable_fast_install=yes
1811 enable_fast_install=yes
1814 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1815 if test "${with_gnu_ld+set}" = set; then
1816 withval="$with_gnu_ld"
1817 test "$withval" = no || with_gnu_ld=yes
1823 if test "$GCC" = yes; then
1824 # Check if gcc -print-prog-name=ld gives a path.
1825 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1826 echo "configure:1827: checking for ld used by GCC" >&5
1829 # gcc leaves a trailing carriage return which upsets mingw
1830 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1832 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1835 # Accept absolute paths.
1836 [\\/]* | [A-Za-z]:[\\/]*)
1837 re_direlt='/[^/][^/]*/\.\./'
1838 # Canonicalize the path of ld
1839 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1840 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1841 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1843 test -z "$LD" && LD="$ac_prog"
1846 # If it fails, then pretend we aren't using GCC.
1850 # If it is relative, then search for the first ld in PATH.
1854 elif test "$with_gnu_ld" = yes; then
1855 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1856 echo "configure:1857: checking for GNU ld" >&5
1858 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1859 echo "configure:1860: checking for non-GNU ld" >&5
1861 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1862 echo $ac_n "(cached) $ac_c" 1>&6
1864 if test -z "$LD"; then
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH; do
1867 test -z "$ac_dir" && ac_dir=.
1868 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1869 lt_cv_path_LD="$ac_dir/$ac_prog"
1870 # Check to see if the program is GNU ld. I'd rather use --version,
1871 # but apparently some GNU ld's only accept -v.
1872 # Break only if it was the GNU/non-GNU ld that we prefer.
1873 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1874 test "$with_gnu_ld" != no && break
1876 test "$with_gnu_ld" != yes && break
1882 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1887 if test -n "$LD"; then
1888 echo "$ac_t""$LD" 1>&6
1890 echo "$ac_t""no" 1>&6
1892 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1893 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1894 echo "configure:1895: checking if the linker ($LD) is GNU ld" >&5
1895 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1899 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1900 lt_cv_prog_gnu_ld=yes
1902 lt_cv_prog_gnu_ld=no
1906 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1907 with_gnu_ld=$lt_cv_prog_gnu_ld
1910 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1911 echo "configure:1912: checking for $LD option to reload object files" >&5
1912 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1913 echo $ac_n "(cached) $ac_c" 1>&6
1915 lt_cv_ld_reload_flag='-r'
1918 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1919 reload_flag=$lt_cv_ld_reload_flag
1920 test -n "$reload_flag" && reload_flag=" $reload_flag"
1922 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1923 echo "configure:1924: checking for BSD-compatible nm" >&5
1924 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1925 echo $ac_n "(cached) $ac_c" 1>&6
1927 if test -n "$NM"; then
1928 # Let the user override the test.
1931 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1932 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1933 test -z "$ac_dir" && ac_dir=.
1934 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1935 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1936 # Check to see if the nm accepts a BSD-compat flag.
1937 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1938 # nm: unknown option "B" ignored
1939 # Tru64's nm complains that /dev/null is an invalid object file
1940 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1941 lt_cv_path_NM="$tmp_nm -B"
1943 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1944 lt_cv_path_NM="$tmp_nm -p"
1947 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1948 continue # so that we can try to find one that supports BSD flags
1953 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1958 echo "$ac_t""$NM" 1>&6
1960 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1961 echo "configure:1962: checking how to recognise dependant libraries" >&5
1962 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1963 echo $ac_n "(cached) $ac_c" 1>&6
1965 lt_cv_file_magic_cmd='$MAGIC_CMD'
1966 lt_cv_file_magic_test_file=
1967 lt_cv_deplibs_check_method='unknown'
1968 # Need to set the preceding variable on all platforms that support
1969 # interlibrary dependencies.
1970 # 'none' -- dependencies not supported.
1971 # `unknown' -- same as none, but documents that we really don't know.
1972 # 'pass_all' -- all dependencies passed with no checks.
1973 # 'test_compile' -- check by making test program.
1974 # 'file_magic [regex]' -- check by looking for files in library path
1975 # which responds to the $file_magic_cmd with a given egrep regex.
1976 # If you have `file' or equivalent on your system and you're not sure
1977 # whether `pass_all' will *always* work, you probably want this one.
1981 lt_cv_deplibs_check_method=pass_all
1985 lt_cv_deplibs_check_method=pass_all
1989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1990 lt_cv_file_magic_cmd='/usr/bin/file -L'
1991 lt_cv_file_magic_test_file=/shlib/libc.so
1994 cygwin* | mingw* |pw32*)
1995 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1996 lt_cv_file_magic_cmd='$OBJDUMP -f'
1999 darwin* | rhapsody*)
2000 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2001 lt_cv_file_magic_cmd='/usr/bin/file -L'
2003 rhapsody* | darwin1.012)
2004 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2007 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2013 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 # Not sure whether the presence of OpenBSD here was a mistake.
2017 # Let's accept both of them until this is cleared up.
2018 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2019 lt_cv_file_magic_cmd=/usr/bin/file
2020 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2024 lt_cv_deplibs_check_method=pass_all
2029 lt_cv_deplibs_check_method=pass_all
2033 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2034 lt_cv_file_magic_cmd=/usr/bin/file
2035 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2041 # this will be overridden with pass_all, but let us keep it just in case
2042 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2046 *-32|*"-32 ") libmagic=32-bit;;
2047 *-n32|*"-n32 ") libmagic=N32;;
2048 *-64|*"-64 ") libmagic=64-bit;;
2049 *) libmagic=never-match;;
2051 # this will be overridden with pass_all, but let us keep it just in case
2052 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2055 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2056 lt_cv_deplibs_check_method=pass_all
2059 # This must be Linux ELF.
2062 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2063 lt_cv_deplibs_check_method=pass_all ;;
2065 # glibc up to 2.1.1 does not perform some relocations on ARM
2066 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2068 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2072 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2073 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2075 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2080 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2081 lt_cv_file_magic_cmd=/usr/bin/file
2082 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2085 osf3* | osf4* | osf5*)
2086 # this will be overridden with pass_all, but let us keep it just in case
2087 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2088 lt_cv_file_magic_test_file=/shlib/libc.so
2089 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_deplibs_check_method=pass_all
2097 lt_cv_deplibs_check_method=pass_all
2098 lt_cv_file_magic_test_file=/lib/libc.so
2101 sysv5uw[78]* | sysv4*uw2*)
2102 lt_cv_deplibs_check_method=pass_all
2105 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2106 case $host_vendor in
2108 lt_cv_deplibs_check_method=pass_all
2111 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]'
2112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2120 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2121 file_magic_cmd=$lt_cv_file_magic_cmd
2122 deplibs_check_method=$lt_cv_deplibs_check_method
2124 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2125 echo "configure:2126: checking for object suffix" >&5
2126 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2127 echo $ac_n "(cached) $ac_c" 1>&6
2130 echo 'int i = 1;' > conftest.$ac_ext
2131 if { (eval echo configure:2132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2132 for ac_file in conftest.*; do
2135 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2139 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2144 echo "$ac_t""$ac_cv_objext" 1>&6
2145 OBJEXT=$ac_cv_objext
2146 ac_objext=$ac_cv_objext
2148 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2150 # Only perform the check for file, if the check method requires it
2151 case $deplibs_check_method in
2153 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2154 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2155 echo "configure:2156: checking for ${ac_tool_prefix}file" >&5
2156 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2157 echo $ac_n "(cached) $ac_c" 1>&6
2161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2164 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2167 ac_save_MAGIC_CMD="$MAGIC_CMD"
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2169 ac_dummy="/usr/bin:$PATH"
2170 for ac_dir in $ac_dummy; do
2171 test -z "$ac_dir" && ac_dir=.
2172 if test -f $ac_dir/${ac_tool_prefix}file; then
2173 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2174 if test -n "$file_magic_test_file"; then
2175 case $deplibs_check_method in
2177 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2178 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2179 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2180 egrep "$file_magic_regex" > /dev/null; then
2185 *** Warning: the command libtool uses to detect shared libraries,
2186 *** $file_magic_cmd, produces output that libtool cannot recognize.
2187 *** The result is that libtool may fail to recognize shared libraries
2188 *** as such. This will affect the creation of libtool libraries that
2189 *** depend on shared libraries, but programs linked with such libtool
2190 *** libraries will work regardless of this problem. Nevertheless, you
2191 *** may want to report the problem to your system manager and/or to
2192 *** bug-libtool@gnu.org
2202 MAGIC_CMD="$ac_save_MAGIC_CMD"
2207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2208 if test -n "$MAGIC_CMD"; then
2209 echo "$ac_t""$MAGIC_CMD" 1>&6
2211 echo "$ac_t""no" 1>&6
2214 if test -z "$lt_cv_path_MAGIC_CMD"; then
2215 if test -n "$ac_tool_prefix"; then
2216 echo $ac_n "checking for file""... $ac_c" 1>&6
2217 echo "configure:2218: checking for file" >&5
2218 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2219 echo $ac_n "(cached) $ac_c" 1>&6
2223 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2226 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2229 ac_save_MAGIC_CMD="$MAGIC_CMD"
2230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2231 ac_dummy="/usr/bin:$PATH"
2232 for ac_dir in $ac_dummy; do
2233 test -z "$ac_dir" && ac_dir=.
2234 if test -f $ac_dir/file; then
2235 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2236 if test -n "$file_magic_test_file"; then
2237 case $deplibs_check_method in
2239 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2241 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2242 egrep "$file_magic_regex" > /dev/null; then
2247 *** Warning: the command libtool uses to detect shared libraries,
2248 *** $file_magic_cmd, produces output that libtool cannot recognize.
2249 *** The result is that libtool may fail to recognize shared libraries
2250 *** as such. This will affect the creation of libtool libraries that
2251 *** depend on shared libraries, but programs linked with such libtool
2252 *** libraries will work regardless of this problem. Nevertheless, you
2253 *** may want to report the problem to your system manager and/or to
2254 *** bug-libtool@gnu.org
2264 MAGIC_CMD="$ac_save_MAGIC_CMD"
2269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2270 if test -n "$MAGIC_CMD"; then
2271 echo "$ac_t""$MAGIC_CMD" 1>&6
2273 echo "$ac_t""no" 1>&6
2285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2288 echo "configure:2289: checking for $ac_word" >&5
2289 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2290 echo $ac_n "(cached) $ac_c" 1>&6
2292 if test -n "$RANLIB"; then
2293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2297 for ac_dir in $ac_dummy; do
2298 test -z "$ac_dir" && ac_dir=.
2299 if test -f $ac_dir/$ac_word; then
2300 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2307 RANLIB="$ac_cv_prog_RANLIB"
2308 if test -n "$RANLIB"; then
2309 echo "$ac_t""$RANLIB" 1>&6
2311 echo "$ac_t""no" 1>&6
2315 if test -z "$ac_cv_prog_RANLIB"; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "ranlib", so it can be a program name with args.
2318 set dummy ranlib; ac_word=$2
2319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2320 echo "configure:2321: checking for $ac_word" >&5
2321 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2322 echo $ac_n "(cached) $ac_c" 1>&6
2324 if test -n "$RANLIB"; then
2325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2327 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2329 for ac_dir in $ac_dummy; do
2330 test -z "$ac_dir" && ac_dir=.
2331 if test -f $ac_dir/$ac_word; then
2332 ac_cv_prog_RANLIB="ranlib"
2337 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2340 RANLIB="$ac_cv_prog_RANLIB"
2341 if test -n "$RANLIB"; then
2342 echo "$ac_t""$RANLIB" 1>&6
2344 echo "$ac_t""no" 1>&6
2352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2353 set dummy ${ac_tool_prefix}strip; ac_word=$2
2354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2355 echo "configure:2356: checking for $ac_word" >&5
2356 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2357 echo $ac_n "(cached) $ac_c" 1>&6
2359 if test -n "$STRIP"; then
2360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2364 for ac_dir in $ac_dummy; do
2365 test -z "$ac_dir" && ac_dir=.
2366 if test -f $ac_dir/$ac_word; then
2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2374 STRIP="$ac_cv_prog_STRIP"
2375 if test -n "$STRIP"; then
2376 echo "$ac_t""$STRIP" 1>&6
2378 echo "$ac_t""no" 1>&6
2382 if test -z "$ac_cv_prog_STRIP"; then
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "strip", so it can be a program name with args.
2385 set dummy strip; ac_word=$2
2386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2387 echo "configure:2388: checking for $ac_word" >&5
2388 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2389 echo $ac_n "(cached) $ac_c" 1>&6
2391 if test -n "$STRIP"; then
2392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2396 for ac_dir in $ac_dummy; do
2397 test -z "$ac_dir" && ac_dir=.
2398 if test -f $ac_dir/$ac_word; then
2399 ac_cv_prog_STRIP="strip"
2404 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2407 STRIP="$ac_cv_prog_STRIP"
2408 if test -n "$STRIP"; then
2409 echo "$ac_t""$STRIP" 1>&6
2411 echo "$ac_t""no" 1>&6
2420 # Check for any special flags to pass to ltconfig.
2421 libtool_flags="--cache-file=$cache_file"
2422 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2423 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2424 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2425 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2426 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2427 libtool_flags="$libtool_flags --enable-dlopen"
2429 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2430 if test "${enable_libtool_lock+set}" = set; then
2431 enableval="$enable_libtool_lock"
2435 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2436 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2438 # Check whether --with-pic or --without-pic was given.
2439 if test "${with_pic+set}" = set; then
2446 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2447 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2449 # Some flags need to be propagated to the compiler or linker for good
2453 # Find out which ABI we are using.
2454 echo '#line 2455 "configure"' > conftest.$ac_ext
2455 if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2456 case `/usr/bin/file conftest.$ac_objext` in
2472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2473 SAVE_CFLAGS="$CFLAGS"
2474 CFLAGS="$CFLAGS -belf"
2475 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2476 echo "configure:2477: checking whether the C compiler needs -belf" >&5
2477 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2478 echo $ac_n "(cached) $ac_c" 1>&6
2482 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2485 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2486 cross_compiling=$ac_cv_prog_cc_cross
2488 cat > conftest.$ac_ext <<EOF
2489 #line 2490 "configure"
2490 #include "confdefs.h"
2496 if { (eval echo configure:2497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2498 lt_cv_cc_needs_belf=yes
2500 echo "configure: failed program was:" >&5
2501 cat conftest.$ac_ext >&5
2503 lt_cv_cc_needs_belf=no
2507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2508 ac_cpp='$CPP $CPPFLAGS'
2509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2511 cross_compiling=$ac_cv_prog_cc_cross
2515 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2518 CFLAGS="$SAVE_CFLAGS"
2525 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2526 echo "configure:2527: checking how to run the C++ preprocessor" >&5
2527 if test -z "$CXXCPP"; then
2528 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2529 echo $ac_n "(cached) $ac_c" 1>&6
2532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2533 ac_cpp='$CXXCPP $CPPFLAGS'
2534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2536 cross_compiling=$ac_cv_prog_cxx_cross
2537 CXXCPP="${CXX-g++} -E"
2538 cat > conftest.$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2546 if test -z "$ac_err"; then
2550 echo "configure: failed program was:" >&5
2551 cat conftest.$ac_ext >&5
2556 ac_cv_prog_CXXCPP="$CXXCPP"
2558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2562 cross_compiling=$ac_cv_prog_cc_cross
2565 CXXCPP="$ac_cv_prog_CXXCPP"
2566 echo "$ac_t""$CXXCPP" 1>&6
2569 # Save cache, so that ltconfig can load it
2570 cat > confcache <<\EOF
2571 # This file is a shell script that caches the results of configure
2572 # tests run on this system so they can be shared between configure
2573 # scripts and configure runs. It is not useful on other systems.
2574 # If it contains results you don't want to keep, you may remove or edit it.
2576 # By default, configure uses ./config.cache as the cache file,
2577 # creating it if it does not exist already. You can give configure
2578 # the --cache-file=FILE option to use a different cache file; that is
2579 # what configure does when it calls configure scripts in
2580 # subdirectories, so they share the cache.
2581 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2582 # config.status only pays attention to the cache file if you give it the
2583 # --recheck option to rerun configure.
2586 # The following way of writing the cache mishandles newlines in values,
2587 # but we know of no workaround that is simple, portable, and efficient.
2588 # So, don't put newlines in cache variables' values.
2589 # Ultrix sh set writes to stderr and can't be redirected directly,
2590 # and sets the high bit in the cache file unless we assign to the vars.
2592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2594 # `set' does not quote correctly, so add quotes (double-quote substitution
2595 # turns \\\\ into \\, and sed turns \\ into \).
2597 -e "s/'/'\\\\''/g" \
2598 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2601 # `set' quotes correctly as required by POSIX, so do not add quotes.
2602 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2605 if cmp -s $cache_file confcache; then
2608 if test -w $cache_file; then
2609 echo "updating cache $cache_file"
2610 cat confcache > $cache_file
2612 echo "not updating unwritable cache $cache_file"
2618 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2619 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2620 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2621 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2622 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2623 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2624 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2625 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2626 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2627 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2629 # Reload cache, that may have been modified by ltconfig
2630 if test -r "$cache_file"; then
2631 echo "loading cache $cache_file"
2634 echo "creating cache $cache_file"
2639 # This can be used to rebuild libtool when needed
2640 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2642 # Always use our own libtool.
2643 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2645 # Redirect the config.log output again, so that the ltconfig log is not
2646 # clobbered by the next message.
2647 exec 5>>./config.log
2651 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2653 lt_save_CFLAGS="$CFLAGS"
2654 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2655 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2656 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2657 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2658 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2659 deplibs_check_method="$deplibs_check_method" \
2660 file_magic_cmd="$file_magic_cmd" \
2661 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2662 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2663 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2665 CFLAGS="$lt_save_CFLAGS"
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
2679 # Check for c++ or library specific bits that don't require linking.
2680 #GLIBCPP_CHECK_COMPILER_VERSION
2681 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2682 echo "configure:2683: checking for GNU make" >&5
2683 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2684 echo $ac_n "(cached) $ac_c" 1>&6
2686 _cv_gnu_make_command='' ;
2687 for a in "${MAKE-make}" make gmake gnumake ; do
2688 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2690 _cv_gnu_make_command=$a ;
2697 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2698 if test "x$_cv_gnu_make_command" != "x" ; then
2706 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2707 # Check whether --enable-debug or --disable-debug was given.
2708 if test "${enable_debug+set}" = set; then
2709 enableval="$enable_debug"
2710 case "${enableval}" in
2711 yes) enable_debug=yes ;;
2712 no) enable_debug=no ;;
2713 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2719 case "${enable_debug}" in
2721 DEBUG_FLAGS='-O0 -ggdb3'
2729 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2730 echo "configure:2731: checking how to run the C preprocessor" >&5
2731 # On Suns, sometimes $CPP names a directory.
2732 if test -n "$CPP" && test -d "$CPP"; then
2735 if test -z "$CPP"; then
2736 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2737 echo $ac_n "(cached) $ac_c" 1>&6
2739 # This must be in double quotes, not single quotes, because CPP may get
2740 # substituted into the Makefile and "${CC-cc}" will confuse make.
2742 # On the NeXT, cc -E runs the code through the compiler's parser,
2743 # not just through cpp.
2744 cat > conftest.$ac_ext <<EOF
2745 #line 2746 "configure"
2746 #include "confdefs.h"
2750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2753 if test -z "$ac_err"; then
2757 echo "configure: failed program was:" >&5
2758 cat conftest.$ac_ext >&5
2760 CPP="${CC-cc} -E -traditional-cpp"
2761 cat > conftest.$ac_ext <<EOF
2762 #line 2763 "configure"
2763 #include "confdefs.h"
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2770 if test -z "$ac_err"; then
2774 echo "configure: failed program was:" >&5
2775 cat conftest.$ac_ext >&5
2777 CPP="${CC-cc} -nologo -E"
2778 cat > conftest.$ac_ext <<EOF
2779 #line 2780 "configure"
2780 #include "confdefs.h"
2784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2785 { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2787 if test -z "$ac_err"; then
2791 echo "configure: failed program was:" >&5
2792 cat conftest.$ac_ext >&5
2801 ac_cv_prog_CPP="$CPP"
2803 CPP="$ac_cv_prog_CPP"
2805 ac_cv_prog_CPP="$CPP"
2807 echo "$ac_t""$CPP" 1>&6
2810 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2811 echo "configure:2812: checking for cstdio to use" >&5
2812 # Check whether --enable-cstdio or --disable-cstdio was given.
2813 if test "${enable_cstdio+set}" = set; then
2814 enableval="$enable_cstdio"
2815 if test x$enable_cstdio = xno; then
2823 enable_cstdio_flag=$enable_cstdio
2825 case x${enable_cstdio_flag} in
2827 CSTDIO_H=config/io/c_io_libio.h
2828 BASIC_FILE_H=config/io/basic_file_libio.h
2829 BASIC_FILE_CC=config/io/basic_file_libio.cc
2830 echo "$ac_t""libio" 1>&6
2832 # see if we are on a system with libio native (ie, linux)
2833 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2834 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2835 echo "configure:2836: checking for libio.h" >&5
2836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2837 echo $ac_n "(cached) $ac_c" 1>&6
2839 cat > conftest.$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2845 { (eval echo configure:2846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2847 if test -z "$ac_err"; then
2849 eval "ac_cv_header_$ac_safe=yes"
2852 echo "configure: failed program was:" >&5
2853 cat conftest.$ac_ext >&5
2855 eval "ac_cv_header_$ac_safe=no"
2859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2860 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2868 # Need to check and see what version of glibc is being used. If
2869 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2870 # compile most of libio for linux systems.
2871 if test x$has_libio = x"yes"; then
2874 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2875 echo "configure:2876: checking for glibc version >= 2.2" >&5
2876 cat > conftest.$ac_ext <<EOF
2877 #line 2878 "configure"
2878 #include "confdefs.h"
2880 #include <features.h>
2881 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2887 egrep "ok" >/dev/null 2>&1; then
2889 glibc_satisfactory=yes
2892 glibc_satisfactory=no
2896 echo "$ac_t""$glibc_satisfactory" 1>&6
2900 # XXX at the moment, admit defeat and force the recompilation
2901 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2902 glibc_satisfactory=no
2904 if test x$glibc_satisfactory = x"yes"; then
2909 # bkoz XXX need to add checks to enable this
2910 # pme XXX here's a first pass at such a check
2911 if test x$enable_c_mbchar != xno; then
2919 # Using libio, but <libio.h> doesn't exist on the target system. . .
2921 # bkoz XXX need to add checks to enable this
2922 # pme XXX here's a first pass at such a check
2923 if test x$enable_c_mbchar != xno; then
2930 xstdio | x | xno | xnone | xyes)
2932 CSTDIO_H=config/io/c_io_stdio.h
2933 BASIC_FILE_H=config/io/basic_file_stdio.h
2934 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2935 echo "$ac_t""stdio" 1>&6
2937 # We're not using stdio.
2942 echo "$enable_cstdio is an unknown io package" 1>&2
2950 # 2000-08-04 bkoz hack
2951 CCODECVT_C=config/io/c_io_libio_codecvt.c
2953 # 2000-08-04 bkoz hack
2957 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2958 GLIBCPP_BUILD_LIBIO_TRUE=
2959 GLIBCPP_BUILD_LIBIO_FALSE='#'
2961 GLIBCPP_BUILD_LIBIO_TRUE='#'
2962 GLIBCPP_BUILD_LIBIO_FALSE=
2966 if test "$need_libio" = yes; then
2967 GLIBCPP_NEED_LIBIO_TRUE=
2968 GLIBCPP_NEED_LIBIO_FALSE='#'
2970 GLIBCPP_NEED_LIBIO_TRUE='#'
2971 GLIBCPP_NEED_LIBIO_FALSE=
2975 if test "$need_wlibio" = yes; then
2976 GLIBCPP_NEED_WLIBIO_TRUE=
2977 GLIBCPP_NEED_WLIBIO_FALSE='#'
2979 GLIBCPP_NEED_WLIBIO_TRUE='#'
2980 GLIBCPP_NEED_WLIBIO_FALSE=
2982 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2983 libio_la=../libio/libio.la
2990 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2991 echo "configure:2992: checking for clocale to use" >&5
2992 # Check whether --enable-clocale or --disable-clocale was given.
2993 if test "${enable_clocale+set}" = set; then
2994 enableval="$enable_clocale"
2995 if test x$enable_clocale = xno; then
3003 enable_clocale_flag=$enable_clocale
3005 if test x$enable_clocale_flag = xno; then
3006 case x${target_os} in
3008 cat > conftest.$ac_ext <<EOF
3009 #line 3010 "configure"
3010 #include "confdefs.h"
3012 #include <features.h>
3013 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3019 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3021 enable_clocale_flag=gnu
3024 enable_clocale_flag=generic
3029 # Test for bugs early in glibc-2.2.x series
3030 if test x$enable_clocale_flag = xgnu; then
3031 if test "$cross_compiling" = yes; then
3032 enable_clocale_flag=generic
3034 cat > conftest.$ac_ext <<EOF
3035 #line 3036 "configure"
3036 #include "confdefs.h"
3038 #define _GNU_SOURCE 1
3042 const char __one[] = "Äuglein Augmen";
3043 const char __two[] = "Äuglein";
3048 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3049 loc_dup = __duplocale(loc);
3050 i = __strcoll_l(__one, __two, loc);
3051 j = __strcoll_l(__one, __two, loc_dup);
3056 if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3058 enable_clocale_flag=gnu
3060 echo "configure: failed program was:" >&5
3061 cat conftest.$ac_ext >&5
3063 enable_clocale_flag=generic
3070 # ... at some point put __strxfrm_l tests in as well.
3073 enable_clocale_flag=generic
3078 # Check whether --enable-nls or --disable-nls was given.
3079 if test "${enable_nls+set}" = set; then
3080 enableval="$enable_nls"
3088 case x${enable_clocale_flag} in
3090 echo "$ac_t""generic" 1>&6
3092 CLOCALE_H=config/locale/generic/c_locale.h
3093 CLOCALE_CC=config/locale/generic/c_locale.cc
3094 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3095 CCOLLATE_CC=config/locale/generic/collate_members.cc
3096 CCTYPE_CC=config/locale/generic/ctype_members.cc
3097 CMESSAGES_H=config/locale/generic/messages_members.h
3098 CMESSAGES_CC=config/locale/generic/messages_members.cc
3099 CMONEY_CC=config/locale/generic/monetary_members.cc
3100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3101 CTIME_CC=config/locale/generic/time_members.cc
3104 echo "$ac_t""gnu" 1>&6
3106 # Declare intention to use gettext, and add support for specific
3108 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3111 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3112 # Extract the first word of "msgfmt", so it can be a program name with args.
3113 set dummy msgfmt; ac_word=$2
3114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3115 echo "configure:3116: checking for $ac_word" >&5
3116 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3117 echo $ac_n "(cached) $ac_c" 1>&6
3119 if test -n "$check_msgfmt"; then
3120 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3122 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3124 for ac_dir in $ac_dummy; do
3125 test -z "$ac_dir" && ac_dir=.
3126 if test -f $ac_dir/$ac_word; then
3127 ac_cv_prog_check_msgfmt="yes"
3132 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3135 check_msgfmt="$ac_cv_prog_check_msgfmt"
3136 if test -n "$check_msgfmt"; then
3137 echo "$ac_t""$check_msgfmt" 1>&6
3139 echo "$ac_t""no" 1>&6
3142 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3145 # Export the build objects.
3146 for ling in $ALL_LINGUAS; do \
3147 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3148 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3153 CLOCALE_H=config/locale/gnu/c_locale.h
3154 CLOCALE_CC=config/locale/gnu/c_locale.cc
3155 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3156 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3157 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3158 CMESSAGES_H=config/locale/gnu/messages_members.h
3159 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3160 CMONEY_CC=config/locale/gnu/monetary_members.cc
3161 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3162 CTIME_CC=config/locale/gnu/time_members.cc
3165 echo "$ac_t""generic" 1>&6
3167 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3168 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3169 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3170 CCOLLATE_CC=config/locale/generic/collate_members.cc
3171 CCTYPE_CC=config/locale/generic/ctype_members.cc
3172 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3173 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3174 CMONEY_CC=config/locale/generic/monetary_members.cc
3175 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3176 CTIME_CC=config/locale/generic/time_members.cc
3179 echo "$enable_clocale is an unknown locale package" 1>&2
3184 # This is where the testsuite looks for locale catalogs, using the
3185 # -DLOCALEDIR define during testsuite compilation.
3186 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3201 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3202 if test "${enable_c_mbchar+set}" = set; then
3203 enableval="$enable_c_mbchar"
3204 case "$enableval" in
3205 yes) enable_c_mbchar=yes ;;
3206 no) enable_c_mbchar=no ;;
3207 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3214 # Check whether --enable-c99 or --disable-c99 was given.
3215 if test "${enable_c99+set}" = set; then
3216 enableval="$enable_c99"
3217 case "$enableval" in
3218 yes) enable_c99=yes ;;
3219 no) enable_c99=no ;;
3220 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3229 ac_cpp='$CXXCPP $CPPFLAGS'
3230 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3231 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3232 cross_compiling=$ac_cv_prog_cxx_cross
3235 # Check for the existence of <math.h> functions used if C99 is enabled.
3237 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3238 echo "configure:3239: checking for ISO C99 support in <math.h>" >&5
3239 cat > conftest.$ac_ext <<EOF
3240 #line 3241 "configure"
3241 #include "confdefs.h"
3247 if { (eval echo configure:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3250 echo "configure: failed program was:" >&5
3251 cat conftest.$ac_ext >&5
3256 cat > conftest.$ac_ext <<EOF
3257 #line 3258 "configure"
3258 #include "confdefs.h"
3264 if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3267 echo "configure: failed program was:" >&5
3268 cat conftest.$ac_ext >&5
3273 cat > conftest.$ac_ext <<EOF
3274 #line 3275 "configure"
3275 #include "confdefs.h"
3281 if { (eval echo configure:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3284 echo "configure: failed program was:" >&5
3285 cat conftest.$ac_ext >&5
3290 cat > conftest.$ac_ext <<EOF
3291 #line 3292 "configure"
3292 #include "confdefs.h"
3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3301 echo "configure: failed program was:" >&5
3302 cat conftest.$ac_ext >&5
3307 cat > conftest.$ac_ext <<EOF
3308 #line 3309 "configure"
3309 #include "confdefs.h"
3315 if { (eval echo configure:3316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3318 echo "configure: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3324 cat > conftest.$ac_ext <<EOF
3325 #line 3326 "configure"
3326 #include "confdefs.h"
3332 if { (eval echo configure:3333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3335 echo "configure: failed program was:" >&5
3336 cat conftest.$ac_ext >&5
3341 cat > conftest.$ac_ext <<EOF
3342 #line 3343 "configure"
3343 #include "confdefs.h"
3349 if { (eval echo configure:3350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3352 echo "configure: failed program was:" >&5
3353 cat conftest.$ac_ext >&5
3358 cat > conftest.$ac_ext <<EOF
3359 #line 3360 "configure"
3360 #include "confdefs.h"
3363 isgreaterequal(0.0,0.0);
3366 if { (eval echo configure:3367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3369 echo "configure: failed program was:" >&5
3370 cat conftest.$ac_ext >&5
3375 cat > conftest.$ac_ext <<EOF
3376 #line 3377 "configure"
3377 #include "confdefs.h"
3383 if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3386 echo "configure: failed program was:" >&5
3387 cat conftest.$ac_ext >&5
3392 cat > conftest.$ac_ext <<EOF
3393 #line 3394 "configure"
3394 #include "confdefs.h"
3397 islessequal(0.0,0.0);
3400 if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure: failed program was:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure"
3411 #include "confdefs.h"
3414 islessgreater(0.0,0.0);
3417 if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3420 echo "configure: failed program was:" >&5
3421 cat conftest.$ac_ext >&5
3426 cat > conftest.$ac_ext <<EOF
3427 #line 3428 "configure"
3428 #include "confdefs.h"
3431 isunordered(0.0,0.0);
3434 if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3437 echo "configure: failed program was:" >&5
3438 cat conftest.$ac_ext >&5
3443 echo "$ac_t""$ac_c99_math" 1>&6
3445 # Check for the existence in <stdio.h> of vscanf, et. al.
3447 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3448 echo "configure:3449: checking for ISO C99 support in <stdio.h>" >&5
3449 cat > conftest.$ac_ext <<EOF
3450 #line 3451 "configure"
3451 #include "confdefs.h"
3454 snprintf("12", 0, "%i");
3457 if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.$ac_ext >&5
3466 cat > conftest.$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 void foo(char* fmt, ...)
3472 {va_list args; va_start(args, fmt);
3473 vfscanf(stderr, "%i", args);}
3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3481 echo "configure: failed program was:" >&5
3482 cat conftest.$ac_ext >&5
3487 cat > conftest.$ac_ext <<EOF
3488 #line 3489 "configure"
3489 #include "confdefs.h"
3492 void foo(char* fmt, ...)
3493 {va_list args; va_start(args, fmt);
3494 vscanf("%i", args);}
3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure"
3510 #include "confdefs.h"
3513 void foo(char* fmt, ...)
3514 {va_list args; va_start(args, fmt);
3515 vsnprintf(fmt, 0, "%i", args);}
3520 if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3523 echo "configure: failed program was:" >&5
3524 cat conftest.$ac_ext >&5
3529 cat > conftest.$ac_ext <<EOF
3530 #line 3531 "configure"
3531 #include "confdefs.h"
3534 void foo(char* fmt, ...)
3535 {va_list args; va_start(args, fmt);
3536 vsscanf(fmt, "%i", args);}
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3544 echo "configure: failed program was:" >&5
3545 cat conftest.$ac_ext >&5
3550 echo "$ac_t""$ac_c99_stdio" 1>&6
3552 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3554 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3555 echo "configure:3556: checking for lldiv_t declaration" >&5
3556 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3557 echo $ac_n "(cached) $ac_c" 1>&6
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3572 echo "configure: failed program was:" >&5
3573 cat conftest.$ac_ext >&5
3581 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3583 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3584 echo "configure:3585: checking for ISO C99 support in <stdlib.h>" >&5
3585 cat > conftest.$ac_ext <<EOF
3586 #line 3587 "configure"
3587 #include "confdefs.h"
3590 char* tmp; strtof("gnu", &tmp);
3593 if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3596 echo "configure: failed program was:" >&5
3597 cat conftest.$ac_ext >&5
3602 cat > conftest.$ac_ext <<EOF
3603 #line 3604 "configure"
3604 #include "confdefs.h"
3607 char* tmp; strtold("gnu", &tmp);
3610 if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3613 echo "configure: failed program was:" >&5
3614 cat conftest.$ac_ext >&5
3619 cat > conftest.$ac_ext <<EOF
3620 #line 3621 "configure"
3621 #include "confdefs.h"
3627 if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3630 echo "configure: failed program was:" >&5
3631 cat conftest.$ac_ext >&5
3636 cat > conftest.$ac_ext <<EOF
3637 #line 3638 "configure"
3638 #include "confdefs.h"
3644 if { (eval echo configure:3645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3647 echo "configure: failed program was:" >&5
3648 cat conftest.$ac_ext >&5
3653 cat > conftest.$ac_ext <<EOF
3654 #line 3655 "configure"
3655 #include "confdefs.h"
3661 if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3664 echo "configure: failed program was:" >&5
3665 cat conftest.$ac_ext >&5
3670 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure"
3672 #include "confdefs.h"
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure: failed program was:" >&5
3682 cat conftest.$ac_ext >&5
3687 if test x"$ac_c99_lldiv_t" = x"no"; then
3690 echo "$ac_t""$ac_c99_stdlib" 1>&6
3692 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3693 # XXX the wchar.h checks should be rolled into the general C99 bits.
3695 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3696 echo "configure:3697: checking for additional ISO C99 support in <wchar.h>" >&5
3697 cat > conftest.$ac_ext <<EOF
3698 #line 3699 "configure"
3699 #include "confdefs.h"
3702 wcstold(L"10.0", NULL);
3705 if { (eval echo configure:3706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3708 echo "configure: failed program was:" >&5
3709 cat conftest.$ac_ext >&5
3714 cat > conftest.$ac_ext <<EOF
3715 #line 3716 "configure"
3716 #include "confdefs.h"
3719 wcstoll(L"10", NULL, 10);
3722 if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3725 echo "configure: failed program was:" >&5
3726 cat conftest.$ac_ext >&5
3731 cat > conftest.$ac_ext <<EOF
3732 #line 3733 "configure"
3733 #include "confdefs.h"
3736 wcstoull(L"10", NULL, 10);
3739 if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3742 echo "configure: failed program was:" >&5
3743 cat conftest.$ac_ext >&5
3748 echo "$ac_t""$ac_c99_wchar" 1>&6
3750 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3751 echo "configure:3752: checking for enabled ISO C99 support" >&5
3752 if test x"$ac_c99_math" = x"no" ||
3753 test x"$ac_c99_stdio" = x"no" ||
3754 test x"$ac_c99_stdlib" = x"no" ||
3755 test x"$ac_c99_wchar" = x"no"; then
3758 echo "$ac_t""$enable_c99" 1>&6
3760 # Option parsed, now set things appropriately
3761 if test x"$enable_c99" = x"yes"; then
3762 cat >> confdefs.h <<\EOF
3763 #define _GLIBCPP_USE_C99 1
3769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3770 ac_cpp='$CPP $CPPFLAGS'
3771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3773 cross_compiling=$ac_cv_prog_cc_cross
3777 # Check whether --enable-long-long or --disable-long-long was given.
3778 if test "${enable_long_long+set}" = set; then
3779 enableval="$enable_long_long"
3780 case "$enableval" in
3781 yes) enable_long_long=yes ;;
3782 no) enable_long_long=no ;;
3783 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3786 enable_long_long=yes
3791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3792 ac_cpp='$CXXCPP $CPPFLAGS'
3793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3795 cross_compiling=$ac_cv_prog_cxx_cross
3798 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3799 echo "configure:3800: checking for enabled long long I/O support" >&5
3800 # iostreams require strtoll, strtoull to compile
3801 cat > conftest.$ac_ext <<EOF
3802 #line 3803 "configure"
3803 #include "confdefs.h"
3806 char* tmp; strtoll("gnu", &tmp, 10);
3809 if { (eval echo configure:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3812 echo "configure: failed program was:" >&5
3813 cat conftest.$ac_ext >&5
3818 cat > conftest.$ac_ext <<EOF
3819 #line 3820 "configure"
3820 #include "confdefs.h"
3823 char* tmp; strtoull("gnu", &tmp, 10);
3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3829 echo "configure: failed program was:" >&5
3830 cat conftest.$ac_ext >&5
3836 # Option parsed, now set things appropriately
3837 if test x"$enable_long_long" = xyes; then
3838 cat >> confdefs.h <<\EOF
3839 #define _GLIBCPP_USE_LONG_LONG 1
3843 echo "$ac_t""$enable_long_long" 1>&6
3846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3849 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3850 cross_compiling=$ac_cv_prog_cc_cross
3853 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3854 echo "configure:3855: checking for c header strategy to use" >&5
3855 # Check whether --enable-cheaders or --disable-cheaders was given.
3856 if test "${enable_cheaders+set}" = set; then
3857 enableval="$enable_cheaders"
3859 case "$enableval" in
3864 enable_cheaders=c_std
3867 enable_cheaders=c_shadow
3869 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3873 enable_cheaders=c_std
3876 echo "$ac_t""$enable_cheaders" 1>&6
3878 case "$enable_cheaders" in
3880 CSHADOW_FLAGS="-fno-builtin"
3881 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3885 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3889 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3897 if test "$enable_cheaders" = c; then
3898 GLIBCPP_C_HEADERS_C_TRUE=
3899 GLIBCPP_C_HEADERS_C_FALSE='#'
3901 GLIBCPP_C_HEADERS_C_TRUE='#'
3902 GLIBCPP_C_HEADERS_C_FALSE=
3906 if test "$enable_cheaders" = c_std; then
3907 GLIBCPP_C_HEADERS_C_STD_TRUE=
3908 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3910 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3911 GLIBCPP_C_HEADERS_C_STD_FALSE=
3915 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3916 echo "configure:3917: checking for thread model used by GCC" >&5
3917 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3918 echo "$ac_t""$target_thread_file" 1>&6
3920 if test $target_thread_file != single; then
3921 cat >> confdefs.h <<\EOF
3922 #define HAVE_GTHR_DEFAULT 1
3925 cat >> confdefs.h <<\EOF
3926 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3931 glibcpp_thread_h=gthr-$target_thread_file.h
3934 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3935 if test "${enable_cxx_flags+set}" = set; then
3936 enableval="$enable_cxx_flags"
3937 case "x$enableval" in
3939 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3941 enable_cxx_flags='' ;;
3943 enable_cxx_flags="$enableval" ;;
3946 enable_cxx_flags='none'
3950 if test "$enable_cxx_flags" = "none"; then
3951 enable_cxx_flags='';
3954 if test -n "$enable_cxx_flags"; then
3955 for f in $enable_cxx_flags; do
3959 *) # and we're trying to pass /what/ exactly?
3960 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3964 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3968 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3969 echo "configure:3970: checking for exception model to use" >&5
3972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3973 ac_cpp='$CXXCPP $CPPFLAGS'
3974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3976 cross_compiling=$ac_cv_prog_cxx_cross
3978 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3979 if test "${enable_sjlj_exceptions+set}" = set; then
3980 enableval="$enable_sjlj_exceptions"
3983 cat > conftest.$ac_ext << EOF
3984 #line 3985 "configure"
3993 old_CXXFLAGS="$CXXFLAGS"
3995 if { (eval echo configure:3996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3996 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3997 enable_sjlj_exceptions=yes
3998 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3999 enable_sjlj_exceptions=no
4002 CXXFLAGS="$old_CXXFLAGS"
4006 if test x$enable_sjlj_exceptions = xyes; then
4007 cat >> confdefs.h <<\EOF
4008 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4011 ac_exception_model_name=sjlj
4012 elif test x$enable_sjlj_exceptions = xno; then
4013 ac_exception_model_name="call frame"
4015 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4021 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4022 cross_compiling=$ac_cv_prog_cc_cross
4024 echo "$ac_t""$ac_exception_model_name" 1>&6
4027 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4028 echo "configure:4029: checking for use of libunwind" >&5
4029 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4030 if test "${enable_libunwind_exceptions+set}" = set; then
4031 enableval="$enable_libunwind_exceptions"
4032 use_libunwind_exceptions=$enableval
4034 use_libunwind_exceptions=no
4037 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4038 if test x"$use_libunwind_exceptions" = xyes; then
4039 LIBUNWIND_FLAG="-lunwind"
4045 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4046 if test "${enable_concept_checks+set}" = set; then
4047 enableval="$enable_concept_checks"
4048 case "$enableval" in
4049 yes) enable_concept_checks=yes ;;
4050 no) enable_concept_checks=no ;;
4051 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4054 enable_concept_checks=no
4056 if test x"$enable_concept_checks" = xyes; then
4057 cat >> confdefs.h <<\EOF
4058 #define _GLIBCPP_CONCEPT_CHECKS 1
4064 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4065 for ac_hdr in string.h stdlib.h
4067 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4069 echo "configure:4070: checking for $ac_hdr" >&5
4070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4071 echo $ac_n "(cached) $ac_c" 1>&6
4073 cat > conftest.$ac_ext <<EOF
4074 #line 4075 "configure"
4075 #include "confdefs.h"
4078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4079 { (eval echo configure:4080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4081 if test -z "$ac_err"; then
4083 eval "ac_cv_header_$ac_safe=yes"
4086 echo "configure: failed program was:" >&5
4087 cat conftest.$ac_ext >&5
4089 eval "ac_cv_header_$ac_safe=no"
4093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4094 echo "$ac_t""yes" 1>&6
4095 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4096 cat >> confdefs.h <<EOF
4097 #define $ac_tr_hdr 1
4101 echo "$ac_t""no" 1>&6
4106 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4108 # We are being configured with some form of cross compiler.
4109 GLIBCPP_IS_CROSS_COMPILING=1
4111 # This lets us hard-code the functionality we know we'll have in the cross
4112 # target environment. "Let" is a sugar-coated word placed on an especially
4113 # dull and tedious hack, actually.
4115 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4116 # that involve linking, can't be used:
4117 # "cannot open sim-crt0.o"
4118 # "cannot open crt0.o"
4119 # etc. All this is because there currently exists no unified, consistent
4120 # way for top level CC information to be passed down to target directories:
4121 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4122 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4123 # crosses can be removed.
4125 # If Canadian cross, then don't pick up tools from the build directory.
4126 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4127 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4133 # Construct crosses by hand, eliminating bits that need ld...
4134 # GLIBCPP_CHECK_COMPILER_FEATURES
4135 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4136 # GLIBCPP_CHECK_MATH_SUPPORT
4138 case "$target_alias" in
4140 os_include_dir="os/gnu-linux"
4141 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4142 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4143 fp.h locale.h float.h inttypes.h
4145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4147 echo "configure:4148: checking for $ac_hdr" >&5
4148 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4149 echo $ac_n "(cached) $ac_c" 1>&6
4151 cat > conftest.$ac_ext <<EOF
4152 #line 4153 "configure"
4153 #include "confdefs.h"
4156 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4157 { (eval echo configure:4158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4158 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4159 if test -z "$ac_err"; then
4161 eval "ac_cv_header_$ac_safe=yes"
4164 echo "configure: failed program was:" >&5
4165 cat conftest.$ac_ext >&5
4167 eval "ac_cv_header_$ac_safe=no"
4171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4172 echo "$ac_t""yes" 1>&6
4173 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4174 cat >> confdefs.h <<EOF
4175 #define $ac_tr_hdr 1
4179 echo "$ac_t""no" 1>&6
4183 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4186 # If we're not using GNU ld, then there's no point in even trying these
4187 # tests. Check for that first. We should have already tested for gld
4188 # by now (in libtool), but require it now just to be safe...
4189 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4190 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4193 # The name set by libtool depends on the version of libtool. Shame on us
4194 # for depending on an impl detail, but c'est la vie. Older versions used
4195 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4196 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4197 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4198 # set (hence we're using an older libtool), then set it.
4199 if test x${with_gnu_ld+set} != xset; then
4200 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4201 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4204 with_gnu_ld=$ac_cv_prog_gnu_ld
4208 # Start by getting the version number. I think the libtool test already
4209 # does some of this, but throws away the result.
4211 ldver=`$LD --version 2>/dev/null | head -1 | \
4212 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4214 glibcpp_gnu_ld_version=`echo $ldver | \
4215 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4217 # Set --gc-sections.
4218 if test "$with_gnu_ld" = "notbroken"; then
4219 # GNU ld it is! Joy and bunny rabbits!
4221 # All these tests are for C++; save the language and the compiler flags.
4222 # Need to do this so that g++ won't try to link in libstdc++
4223 ac_test_CFLAGS="${CFLAGS+set}"
4224 ac_save_CFLAGS="$CFLAGS"
4225 CFLAGS='-x c++ -Wl,--gc-sections'
4227 # Check for -Wl,--gc-sections
4228 # XXX This test is broken at the moment, as symbols required for
4229 # linking are now in libsupc++ (not built yet.....). In addition,
4230 # this test has cored on solaris in the past. In addition,
4231 # --gc-sections doesn't really work at the moment (keeps on discarding
4232 # used sections, first .eh_frame and now some of the glibc sections for
4233 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4234 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4235 echo "configure:4236: checking for ld that supports -Wl,--gc-sections" >&5
4236 if test "$cross_compiling" = yes; then
4237 ac_sectionLDflags=yes
4239 cat > conftest.$ac_ext <<EOF
4240 #line 4241 "configure"
4241 #include "confdefs.h"
4251 if { (eval echo configure:4252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4253 ac_sectionLDflags=yes
4255 echo "configure: failed program was:" >&5
4256 cat conftest.$ac_ext >&5
4258 ac_sectionLDflags=no
4263 if test "$ac_test_CFLAGS" = set; then
4264 CFLAGS="$ac_save_CFLAGS"
4266 # this is the suspicious part
4269 if test "$ac_sectionLDflags" = "yes"; then
4270 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4272 echo "$ac_t""$ac_sectionLDflags" 1>&6
4275 # Set linker optimization flags.
4276 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4277 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4284 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4285 echo "configure:4286: checking for main in -lm" >&5
4286 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4288 echo $ac_n "(cached) $ac_c" 1>&6
4290 ac_save_LIBS="$LIBS"
4292 cat > conftest.$ac_ext <<EOF
4293 #line 4294 "configure"
4294 #include "confdefs.h"
4300 if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4302 eval "ac_cv_lib_$ac_lib_var=yes"
4304 echo "configure: failed program was:" >&5
4305 cat conftest.$ac_ext >&5
4307 eval "ac_cv_lib_$ac_lib_var=no"
4310 LIBS="$ac_save_LIBS"
4313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4314 echo "$ac_t""yes" 1>&6
4315 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4316 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4317 cat >> confdefs.h <<EOF
4318 #define $ac_tr_lib 1
4324 echo "$ac_t""no" 1>&6
4327 for ac_func in nan copysignf
4329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4330 echo "configure:4331: checking for $ac_func" >&5
4331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4332 echo $ac_n "(cached) $ac_c" 1>&6
4334 cat > conftest.$ac_ext <<EOF
4335 #line 4336 "configure"
4336 #include "confdefs.h"
4337 /* System header to define __stub macros and hopefully few prototypes,
4338 which can conflict with char $ac_func(); below. */
4340 /* Override any gcc2 internal prototype to avoid an error. */
4341 /* We use char because int might match the return type of a gcc2
4342 builtin and then its argument prototype would still apply. */
4347 /* The GNU C library defines this for functions which it implements
4348 to always fail with ENOSYS. Some functions are actually named
4349 something starting with __ and the normal name is an alias. */
4350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4358 if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4360 eval "ac_cv_func_$ac_func=yes"
4362 echo "configure: failed program was:" >&5
4363 cat conftest.$ac_ext >&5
4365 eval "ac_cv_func_$ac_func=no"
4370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4371 echo "$ac_t""yes" 1>&6
4372 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4373 cat >> confdefs.h <<EOF
4374 #define $ac_tr_func 1
4378 echo "$ac_t""no" 1>&6
4379 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4384 for ac_func in __signbit
4386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4387 echo "configure:4388: checking for $ac_func" >&5
4388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4389 echo $ac_n "(cached) $ac_c" 1>&6
4391 cat > conftest.$ac_ext <<EOF
4392 #line 4393 "configure"
4393 #include "confdefs.h"
4394 /* System header to define __stub macros and hopefully few prototypes,
4395 which can conflict with char $ac_func(); below. */
4397 /* Override any gcc2 internal prototype to avoid an error. */
4398 /* We use char because int might match the return type of a gcc2
4399 builtin and then its argument prototype would still apply. */
4404 /* The GNU C library defines this for functions which it implements
4405 to always fail with ENOSYS. Some functions are actually named
4406 something starting with __ and the normal name is an alias. */
4407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4415 if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4417 eval "ac_cv_func_$ac_func=yes"
4419 echo "configure: failed program was:" >&5
4420 cat conftest.$ac_ext >&5
4422 eval "ac_cv_func_$ac_func=no"
4427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4428 echo "$ac_t""yes" 1>&6
4429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4430 cat >> confdefs.h <<EOF
4431 #define $ac_tr_func 1
4435 echo "$ac_t""no" 1>&6
4436 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4440 for ac_func in __signbitf
4442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4443 echo "configure:4444: checking for $ac_func" >&5
4444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4445 echo $ac_n "(cached) $ac_c" 1>&6
4447 cat > conftest.$ac_ext <<EOF
4448 #line 4449 "configure"
4449 #include "confdefs.h"
4450 /* System header to define __stub macros and hopefully few prototypes,
4451 which can conflict with char $ac_func(); below. */
4453 /* Override any gcc2 internal prototype to avoid an error. */
4454 /* We use char because int might match the return type of a gcc2
4455 builtin and then its argument prototype would still apply. */
4460 /* The GNU C library defines this for functions which it implements
4461 to always fail with ENOSYS. Some functions are actually named
4462 something starting with __ and the normal name is an alias. */
4463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4471 if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4473 eval "ac_cv_func_$ac_func=yes"
4475 echo "configure: failed program was:" >&5
4476 cat conftest.$ac_ext >&5
4478 eval "ac_cv_func_$ac_func=no"
4483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4484 echo "$ac_t""yes" 1>&6
4485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4486 cat >> confdefs.h <<EOF
4487 #define $ac_tr_func 1
4491 echo "$ac_t""no" 1>&6
4492 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4497 if test x$ac_cv_func_copysignl = x"yes"; then
4498 for ac_func in __signbitl
4500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4501 echo "configure:4502: checking for $ac_func" >&5
4502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4503 echo $ac_n "(cached) $ac_c" 1>&6
4505 cat > conftest.$ac_ext <<EOF
4506 #line 4507 "configure"
4507 #include "confdefs.h"
4508 /* System header to define __stub macros and hopefully few prototypes,
4509 which can conflict with char $ac_func(); below. */
4511 /* Override any gcc2 internal prototype to avoid an error. */
4512 /* We use char because int might match the return type of a gcc2
4513 builtin and then its argument prototype would still apply. */
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4529 if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4531 eval "ac_cv_func_$ac_func=yes"
4533 echo "configure: failed program was:" >&5
4534 cat conftest.$ac_ext >&5
4536 eval "ac_cv_func_$ac_func=no"
4541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4542 echo "$ac_t""yes" 1>&6
4543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4544 cat >> confdefs.h <<EOF
4545 #define $ac_tr_func 1
4549 echo "$ac_t""no" 1>&6
4550 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4560 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4561 echo "configure:4562: checking for mbstate_t" >&5
4562 cat > conftest.$ac_ext <<EOF
4563 #line 4564 "configure"
4564 #include "confdefs.h"
4567 mbstate_t teststate;
4570 if { (eval echo configure:4571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4574 echo "configure: failed program was:" >&5
4575 cat conftest.$ac_ext >&5
4580 echo "$ac_t""$have_mbstate_t" 1>&6
4581 if test x"$have_mbstate_t" = xyes; then
4582 cat >> confdefs.h <<\EOF
4583 #define HAVE_MBSTATE_T 1
4588 for ac_hdr in wchar.h
4590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4592 echo "configure:4593: checking for $ac_hdr" >&5
4593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4594 echo $ac_n "(cached) $ac_c" 1>&6
4596 cat > conftest.$ac_ext <<EOF
4597 #line 4598 "configure"
4598 #include "confdefs.h"
4601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4602 { (eval echo configure:4603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4604 if test -z "$ac_err"; then
4606 eval "ac_cv_header_$ac_safe=yes"
4609 echo "configure: failed program was:" >&5
4610 cat conftest.$ac_ext >&5
4612 eval "ac_cv_header_$ac_safe=no"
4616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4617 echo "$ac_t""yes" 1>&6
4618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4619 cat >> confdefs.h <<EOF
4620 #define $ac_tr_hdr 1
4624 echo "$ac_t""no" 1>&6
4629 for ac_hdr in wctype.h
4631 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4632 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4633 echo "configure:4634: checking for $ac_hdr" >&5
4634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4635 echo $ac_n "(cached) $ac_c" 1>&6
4637 cat > conftest.$ac_ext <<EOF
4638 #line 4639 "configure"
4639 #include "confdefs.h"
4642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4643 { (eval echo configure:4644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4645 if test -z "$ac_err"; then
4647 eval "ac_cv_header_$ac_safe=yes"
4650 echo "configure: failed program was:" >&5
4651 cat conftest.$ac_ext >&5
4653 eval "ac_cv_header_$ac_safe=no"
4657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4658 echo "$ac_t""yes" 1>&6
4659 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4660 cat >> confdefs.h <<EOF
4661 #define $ac_tr_hdr 1
4665 echo "$ac_t""no" 1>&6
4671 if test x"$ac_has_wchar_h" = xyes &&
4672 test x"$ac_has_wctype_h" = xyes &&
4673 test x"$enable_c_mbchar" != xno; then
4675 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4676 echo "configure:4677: checking for WCHAR_MIN and WCHAR_MAX" >&5
4677 cat > conftest.$ac_ext <<EOF
4678 #line 4679 "configure"
4679 #include "confdefs.h"
4682 int i = WCHAR_MIN; int j = WCHAR_MAX;
4685 if { (eval echo configure:4686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4687 has_wchar_minmax=yes
4689 echo "configure: failed program was:" >&5
4690 cat conftest.$ac_ext >&5
4695 echo "$ac_t""$has_wchar_minmax" 1>&6
4697 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4698 echo "configure:4699: checking for WEOF" >&5
4699 cat > conftest.$ac_ext <<EOF
4700 #line 4701 "configure"
4701 #include "confdefs.h"
4709 if { (eval echo configure:4710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4713 echo "configure: failed program was:" >&5
4714 cat conftest.$ac_ext >&5
4719 echo "$ac_t""$has_weof" 1>&6
4722 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4724 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4725 echo "configure:4726: checking for $ac_func" >&5
4726 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4727 echo $ac_n "(cached) $ac_c" 1>&6
4729 cat > conftest.$ac_ext <<EOF
4730 #line 4731 "configure"
4731 #include "confdefs.h"
4732 /* System header to define __stub macros and hopefully few prototypes,
4733 which can conflict with char $ac_func(); below. */
4735 /* Override any gcc2 internal prototype to avoid an error. */
4736 /* We use char because int might match the return type of a gcc2
4737 builtin and then its argument prototype would still apply. */
4742 /* The GNU C library defines this for functions which it implements
4743 to always fail with ENOSYS. Some functions are actually named
4744 something starting with __ and the normal name is an alias. */
4745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4753 if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4755 eval "ac_cv_func_$ac_func=yes"
4757 echo "configure: failed program was:" >&5
4758 cat conftest.$ac_ext >&5
4760 eval "ac_cv_func_$ac_func=no"
4765 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4766 echo "$ac_t""yes" 1>&6
4767 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4768 cat >> confdefs.h <<EOF
4769 #define $ac_tr_func 1
4773 echo "$ac_t""no" 1>&6
4780 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4781 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4782 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4783 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4784 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4785 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4788 echo "configure:4789: checking for $ac_func" >&5
4789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4790 echo $ac_n "(cached) $ac_c" 1>&6
4792 cat > conftest.$ac_ext <<EOF
4793 #line 4794 "configure"
4794 #include "confdefs.h"
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char $ac_func(); below. */
4798 /* Override any gcc2 internal prototype to avoid an error. */
4799 /* We use char because int might match the return type of a gcc2
4800 builtin and then its argument prototype would still apply. */
4805 /* The GNU C library defines this for functions which it implements
4806 to always fail with ENOSYS. Some functions are actually named
4807 something starting with __ and the normal name is an alias. */
4808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4816 if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4818 eval "ac_cv_func_$ac_func=yes"
4820 echo "configure: failed program was:" >&5
4821 cat conftest.$ac_ext >&5
4823 eval "ac_cv_func_$ac_func=no"
4828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4829 echo "$ac_t""yes" 1>&6
4830 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4831 cat >> confdefs.h <<EOF
4832 #define $ac_tr_func 1
4836 echo "$ac_t""no" 1>&6
4843 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4844 echo "configure:4845: checking for ISO C99 wchar_t support" >&5
4845 if test x"$has_weof" = xyes &&
4846 test x"$has_wchar_minmax" = xyes &&
4847 test x"$ac_wfuncs" = xyes; then
4848 ac_isoC99_wchar_t=yes
4850 ac_isoC99_wchar_t=no
4852 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4854 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4855 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4856 echo "configure:4857: checking for iconv.h" >&5
4857 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4858 echo $ac_n "(cached) $ac_c" 1>&6
4860 cat > conftest.$ac_ext <<EOF
4861 #line 4862 "configure"
4862 #include "confdefs.h"
4865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4866 { (eval echo configure:4867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4868 if test -z "$ac_err"; then
4870 eval "ac_cv_header_$ac_safe=yes"
4873 echo "configure: failed program was:" >&5
4874 cat conftest.$ac_ext >&5
4876 eval "ac_cv_header_$ac_safe=no"
4880 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4881 echo "$ac_t""yes" 1>&6
4884 echo "$ac_t""no" 1>&6
4888 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4889 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4890 echo "configure:4891: checking for langinfo.h" >&5
4891 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4892 echo $ac_n "(cached) $ac_c" 1>&6
4894 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure"
4896 #include "confdefs.h"
4897 #include <langinfo.h>
4899 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4900 { (eval echo configure:4901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4901 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4902 if test -z "$ac_err"; then
4904 eval "ac_cv_header_$ac_safe=yes"
4907 echo "configure: failed program was:" >&5
4908 cat conftest.$ac_ext >&5
4910 eval "ac_cv_header_$ac_safe=no"
4914 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4915 echo "$ac_t""yes" 1>&6
4916 ac_has_langinfo_h=yes
4918 echo "$ac_t""no" 1>&6
4919 ac_has_langinfo_h=no
4923 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4924 echo "configure:4925: checking for iconv in -liconv" >&5
4925 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4927 echo $ac_n "(cached) $ac_c" 1>&6
4929 ac_save_LIBS="$LIBS"
4930 LIBS="-liconv $LIBS"
4931 cat > conftest.$ac_ext <<EOF
4932 #line 4933 "configure"
4933 #include "confdefs.h"
4934 /* Override any gcc2 internal prototype to avoid an error. */
4935 /* We use char because int might match the return type of a gcc2
4936 builtin and then its argument prototype would still apply. */
4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4945 eval "ac_cv_lib_$ac_lib_var=yes"
4947 echo "configure: failed program was:" >&5
4948 cat conftest.$ac_ext >&5
4950 eval "ac_cv_lib_$ac_lib_var=no"
4953 LIBS="$ac_save_LIBS"
4956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4957 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4963 ac_save_LIBS="$LIBS"
4964 LIBS="$LIBS $libiconv"
4966 for ac_func in iconv_open iconv_close iconv nl_langinfo
4968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4969 echo "configure:4970: checking for $ac_func" >&5
4970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4971 echo $ac_n "(cached) $ac_c" 1>&6
4973 cat > conftest.$ac_ext <<EOF
4974 #line 4975 "configure"
4975 #include "confdefs.h"
4976 /* System header to define __stub macros and hopefully few prototypes,
4977 which can conflict with char $ac_func(); below. */
4979 /* Override any gcc2 internal prototype to avoid an error. */
4980 /* We use char because int might match the return type of a gcc2
4981 builtin and then its argument prototype would still apply. */
4986 /* The GNU C library defines this for functions which it implements
4987 to always fail with ENOSYS. Some functions are actually named
4988 something starting with __ and the normal name is an alias. */
4989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4997 if { (eval echo configure:4998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4999 eval "ac_cv_func_$ac_func=yes"
5001 echo "configure: failed program was:" >&5
5002 cat conftest.$ac_ext >&5
5004 eval "ac_cv_func_$ac_func=no"
5009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5010 echo "$ac_t""yes" 1>&6
5011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5012 cat >> confdefs.h <<EOF
5013 #define $ac_tr_func 1
5018 echo "$ac_t""no" 1>&6
5024 LIBS="$ac_save_LIBS"
5026 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5027 echo "configure:5028: checking for XPG2 wchar_t support" >&5
5028 if test x"$ac_has_iconv_h" = xyes &&
5029 test x"$ac_has_langinfo_h" = xyes &&
5030 test x"$ac_XPG2funcs" = xyes; then
5035 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5037 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5038 echo "configure:5039: checking for enabled wchar_t specializations" >&5
5039 if test x"$ac_isoC99_wchar_t" = xyes &&
5040 test x"$ac_XPG2_wchar_t" = xyes; then
5041 cat >> confdefs.h <<\EOF
5042 #define _GLIBCPP_USE_WCHAR_T 1
5045 echo "$ac_t"""yes"" 1>&6
5047 echo "$ac_t"""no"" 1>&6
5050 echo "configure: warning: wchar_t support disabled." 1>&2
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_COPYSIGN 1
5057 cat >> confdefs.h <<\EOF
5058 #define HAVE_COPYSIGNF 1
5061 cat >> confdefs.h <<\EOF
5062 #define HAVE_FINITEF 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_FREXPF 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_HYPOTF 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_SINCOS 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_SINCOSF 1
5081 if test x"long_double_math_on_this_cpu" = x"yes"; then
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_HYPOTL 1
5089 # Check for available headers.
5090 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5091 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5092 fp.h locale.h float.h inttypes.h
5094 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5095 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5096 echo "configure:5097: checking for $ac_hdr" >&5
5097 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5098 echo $ac_n "(cached) $ac_c" 1>&6
5100 cat > conftest.$ac_ext <<EOF
5101 #line 5102 "configure"
5102 #include "confdefs.h"
5105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5106 { (eval echo configure:5107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5108 if test -z "$ac_err"; then
5110 eval "ac_cv_header_$ac_safe=yes"
5113 echo "configure: failed program was:" >&5
5114 cat conftest.$ac_ext >&5
5116 eval "ac_cv_header_$ac_safe=no"
5120 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5121 echo "$ac_t""yes" 1>&6
5122 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5123 cat >> confdefs.h <<EOF
5124 #define $ac_tr_hdr 1
5128 echo "$ac_t""no" 1>&6
5132 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5135 # If we're not using GNU ld, then there's no point in even trying these
5136 # tests. Check for that first. We should have already tested for gld
5137 # by now (in libtool), but require it now just to be safe...
5138 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5139 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5142 # The name set by libtool depends on the version of libtool. Shame on us
5143 # for depending on an impl detail, but c'est la vie. Older versions used
5144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5147 # set (hence we're using an older libtool), then set it.
5148 if test x${with_gnu_ld+set} != xset; then
5149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5153 with_gnu_ld=$ac_cv_prog_gnu_ld
5157 # Start by getting the version number. I think the libtool test already
5158 # does some of this, but throws away the result.
5160 ldver=`$LD --version 2>/dev/null | head -1 | \
5161 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5163 glibcpp_gnu_ld_version=`echo $ldver | \
5164 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5166 # Set --gc-sections.
5167 if test "$with_gnu_ld" = "notbroken"; then
5168 # GNU ld it is! Joy and bunny rabbits!
5170 # All these tests are for C++; save the language and the compiler flags.
5171 # Need to do this so that g++ won't try to link in libstdc++
5172 ac_test_CFLAGS="${CFLAGS+set}"
5173 ac_save_CFLAGS="$CFLAGS"
5174 CFLAGS='-x c++ -Wl,--gc-sections'
5176 # Check for -Wl,--gc-sections
5177 # XXX This test is broken at the moment, as symbols required for
5178 # linking are now in libsupc++ (not built yet.....). In addition,
5179 # this test has cored on solaris in the past. In addition,
5180 # --gc-sections doesn't really work at the moment (keeps on discarding
5181 # used sections, first .eh_frame and now some of the glibc sections for
5182 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5183 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5184 echo "configure:5185: checking for ld that supports -Wl,--gc-sections" >&5
5185 if test "$cross_compiling" = yes; then
5186 ac_sectionLDflags=yes
5188 cat > conftest.$ac_ext <<EOF
5189 #line 5190 "configure"
5190 #include "confdefs.h"
5200 if { (eval echo configure:5201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5202 ac_sectionLDflags=yes
5204 echo "configure: failed program was:" >&5
5205 cat conftest.$ac_ext >&5
5207 ac_sectionLDflags=no
5212 if test "$ac_test_CFLAGS" = set; then
5213 CFLAGS="$ac_save_CFLAGS"
5215 # this is the suspicious part
5218 if test "$ac_sectionLDflags" = "yes"; then
5219 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5221 echo "$ac_t""$ac_sectionLDflags" 1>&6
5224 # Set linker optimization flags.
5225 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5233 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5234 echo "configure:5235: checking for main in -lm" >&5
5235 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5237 echo $ac_n "(cached) $ac_c" 1>&6
5239 ac_save_LIBS="$LIBS"
5241 cat > conftest.$ac_ext <<EOF
5242 #line 5243 "configure"
5243 #include "confdefs.h"
5249 if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5251 eval "ac_cv_lib_$ac_lib_var=yes"
5253 echo "configure: failed program was:" >&5
5254 cat conftest.$ac_ext >&5
5256 eval "ac_cv_lib_$ac_lib_var=no"
5259 LIBS="$ac_save_LIBS"
5262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5263 echo "$ac_t""yes" 1>&6
5264 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5265 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5266 cat >> confdefs.h <<EOF
5267 #define $ac_tr_lib 1
5273 echo "$ac_t""no" 1>&6
5276 for ac_func in nan copysignf
5278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5279 echo "configure:5280: checking for $ac_func" >&5
5280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5281 echo $ac_n "(cached) $ac_c" 1>&6
5283 cat > conftest.$ac_ext <<EOF
5284 #line 5285 "configure"
5285 #include "confdefs.h"
5286 /* System header to define __stub macros and hopefully few prototypes,
5287 which can conflict with char $ac_func(); below. */
5289 /* Override any gcc2 internal prototype to avoid an error. */
5290 /* We use char because int might match the return type of a gcc2
5291 builtin and then its argument prototype would still apply. */
5296 /* The GNU C library defines this for functions which it implements
5297 to always fail with ENOSYS. Some functions are actually named
5298 something starting with __ and the normal name is an alias. */
5299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5307 if { (eval echo configure:5308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5309 eval "ac_cv_func_$ac_func=yes"
5311 echo "configure: failed program was:" >&5
5312 cat conftest.$ac_ext >&5
5314 eval "ac_cv_func_$ac_func=no"
5319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5320 echo "$ac_t""yes" 1>&6
5321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5322 cat >> confdefs.h <<EOF
5323 #define $ac_tr_func 1
5327 echo "$ac_t""no" 1>&6
5328 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5333 for ac_func in __signbit
5335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5336 echo "configure:5337: checking for $ac_func" >&5
5337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5338 echo $ac_n "(cached) $ac_c" 1>&6
5340 cat > conftest.$ac_ext <<EOF
5341 #line 5342 "configure"
5342 #include "confdefs.h"
5343 /* System header to define __stub macros and hopefully few prototypes,
5344 which can conflict with char $ac_func(); below. */
5346 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5353 /* The GNU C library defines this for functions which it implements
5354 to always fail with ENOSYS. Some functions are actually named
5355 something starting with __ and the normal name is an alias. */
5356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5364 if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5366 eval "ac_cv_func_$ac_func=yes"
5368 echo "configure: failed program was:" >&5
5369 cat conftest.$ac_ext >&5
5371 eval "ac_cv_func_$ac_func=no"
5376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5377 echo "$ac_t""yes" 1>&6
5378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5379 cat >> confdefs.h <<EOF
5380 #define $ac_tr_func 1
5384 echo "$ac_t""no" 1>&6
5385 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5389 for ac_func in __signbitf
5391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5392 echo "configure:5393: checking for $ac_func" >&5
5393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5394 echo $ac_n "(cached) $ac_c" 1>&6
5396 cat > conftest.$ac_ext <<EOF
5397 #line 5398 "configure"
5398 #include "confdefs.h"
5399 /* System header to define __stub macros and hopefully few prototypes,
5400 which can conflict with char $ac_func(); below. */
5402 /* Override any gcc2 internal prototype to avoid an error. */
5403 /* We use char because int might match the return type of a gcc2
5404 builtin and then its argument prototype would still apply. */
5409 /* The GNU C library defines this for functions which it implements
5410 to always fail with ENOSYS. Some functions are actually named
5411 something starting with __ and the normal name is an alias. */
5412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5420 if { (eval echo configure:5421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5422 eval "ac_cv_func_$ac_func=yes"
5424 echo "configure: failed program was:" >&5
5425 cat conftest.$ac_ext >&5
5427 eval "ac_cv_func_$ac_func=no"
5432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5433 echo "$ac_t""yes" 1>&6
5434 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5435 cat >> confdefs.h <<EOF
5436 #define $ac_tr_func 1
5440 echo "$ac_t""no" 1>&6
5441 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5446 if test x$ac_cv_func_copysignl = x"yes"; then
5447 for ac_func in __signbitl
5449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5450 echo "configure:5451: checking for $ac_func" >&5
5451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5452 echo $ac_n "(cached) $ac_c" 1>&6
5454 cat > conftest.$ac_ext <<EOF
5455 #line 5456 "configure"
5456 #include "confdefs.h"
5457 /* System header to define __stub macros and hopefully few prototypes,
5458 which can conflict with char $ac_func(); below. */
5460 /* Override any gcc2 internal prototype to avoid an error. */
5461 /* We use char because int might match the return type of a gcc2
5462 builtin and then its argument prototype would still apply. */
5467 /* The GNU C library defines this for functions which it implements
5468 to always fail with ENOSYS. Some functions are actually named
5469 something starting with __ and the normal name is an alias. */
5470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5480 eval "ac_cv_func_$ac_func=yes"
5482 echo "configure: failed program was:" >&5
5483 cat conftest.$ac_ext >&5
5485 eval "ac_cv_func_$ac_func=no"
5490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5491 echo "$ac_t""yes" 1>&6
5492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5493 cat >> confdefs.h <<EOF
5494 #define $ac_tr_func 1
5498 echo "$ac_t""no" 1>&6
5499 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5509 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5510 echo "configure:5511: checking for mbstate_t" >&5
5511 cat > conftest.$ac_ext <<EOF
5512 #line 5513 "configure"
5513 #include "confdefs.h"
5516 mbstate_t teststate;
5519 if { (eval echo configure:5520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5523 echo "configure: failed program was:" >&5
5524 cat conftest.$ac_ext >&5
5529 echo "$ac_t""$have_mbstate_t" 1>&6
5530 if test x"$have_mbstate_t" = xyes; then
5531 cat >> confdefs.h <<\EOF
5532 #define HAVE_MBSTATE_T 1
5537 for ac_hdr in wchar.h
5539 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5541 echo "configure:5542: checking for $ac_hdr" >&5
5542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5543 echo $ac_n "(cached) $ac_c" 1>&6
5545 cat > conftest.$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5550 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5551 { (eval echo configure:5552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5552 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5553 if test -z "$ac_err"; then
5555 eval "ac_cv_header_$ac_safe=yes"
5558 echo "configure: failed program was:" >&5
5559 cat conftest.$ac_ext >&5
5561 eval "ac_cv_header_$ac_safe=no"
5565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5566 echo "$ac_t""yes" 1>&6
5567 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5568 cat >> confdefs.h <<EOF
5569 #define $ac_tr_hdr 1
5573 echo "$ac_t""no" 1>&6
5578 for ac_hdr in wctype.h
5580 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5582 echo "configure:5583: checking for $ac_hdr" >&5
5583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5584 echo $ac_n "(cached) $ac_c" 1>&6
5586 cat > conftest.$ac_ext <<EOF
5587 #line 5588 "configure"
5588 #include "confdefs.h"
5591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5592 { (eval echo configure:5593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5594 if test -z "$ac_err"; then
5596 eval "ac_cv_header_$ac_safe=yes"
5599 echo "configure: failed program was:" >&5
5600 cat conftest.$ac_ext >&5
5602 eval "ac_cv_header_$ac_safe=no"
5606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5607 echo "$ac_t""yes" 1>&6
5608 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5609 cat >> confdefs.h <<EOF
5610 #define $ac_tr_hdr 1
5614 echo "$ac_t""no" 1>&6
5620 if test x"$ac_has_wchar_h" = xyes &&
5621 test x"$ac_has_wctype_h" = xyes &&
5622 test x"$enable_c_mbchar" != xno; then
5624 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5625 echo "configure:5626: checking for WCHAR_MIN and WCHAR_MAX" >&5
5626 cat > conftest.$ac_ext <<EOF
5627 #line 5628 "configure"
5628 #include "confdefs.h"
5631 int i = WCHAR_MIN; int j = WCHAR_MAX;
5634 if { (eval echo configure:5635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5636 has_wchar_minmax=yes
5638 echo "configure: failed program was:" >&5
5639 cat conftest.$ac_ext >&5
5644 echo "$ac_t""$has_wchar_minmax" 1>&6
5646 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5647 echo "configure:5648: checking for WEOF" >&5
5648 cat > conftest.$ac_ext <<EOF
5649 #line 5650 "configure"
5650 #include "confdefs.h"
5658 if { (eval echo configure:5659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5662 echo "configure: failed program was:" >&5
5663 cat conftest.$ac_ext >&5
5668 echo "$ac_t""$has_weof" 1>&6
5671 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5674 echo "configure:5675: checking for $ac_func" >&5
5675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5676 echo $ac_n "(cached) $ac_c" 1>&6
5678 cat > conftest.$ac_ext <<EOF
5679 #line 5680 "configure"
5680 #include "confdefs.h"
5681 /* System header to define __stub macros and hopefully few prototypes,
5682 which can conflict with char $ac_func(); below. */
5684 /* Override any gcc2 internal prototype to avoid an error. */
5685 /* We use char because int might match the return type of a gcc2
5686 builtin and then its argument prototype would still apply. */
5691 /* The GNU C library defines this for functions which it implements
5692 to always fail with ENOSYS. Some functions are actually named
5693 something starting with __ and the normal name is an alias. */
5694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5704 eval "ac_cv_func_$ac_func=yes"
5706 echo "configure: failed program was:" >&5
5707 cat conftest.$ac_ext >&5
5709 eval "ac_cv_func_$ac_func=no"
5714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5715 echo "$ac_t""yes" 1>&6
5716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5717 cat >> confdefs.h <<EOF
5718 #define $ac_tr_func 1
5722 echo "$ac_t""no" 1>&6
5729 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5730 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5731 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5732 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5733 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5734 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5737 echo "configure:5738: checking for $ac_func" >&5
5738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5739 echo $ac_n "(cached) $ac_c" 1>&6
5741 cat > conftest.$ac_ext <<EOF
5742 #line 5743 "configure"
5743 #include "confdefs.h"
5744 /* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func(); below. */
5747 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5754 /* The GNU C library defines this for functions which it implements
5755 to always fail with ENOSYS. Some functions are actually named
5756 something starting with __ and the normal name is an alias. */
5757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5767 eval "ac_cv_func_$ac_func=yes"
5769 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5
5772 eval "ac_cv_func_$ac_func=no"
5777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5778 echo "$ac_t""yes" 1>&6
5779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5780 cat >> confdefs.h <<EOF
5781 #define $ac_tr_func 1
5785 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5793 echo "configure:5794: checking for ISO C99 wchar_t support" >&5
5794 if test x"$has_weof" = xyes &&
5795 test x"$has_wchar_minmax" = xyes &&
5796 test x"$ac_wfuncs" = xyes; then
5797 ac_isoC99_wchar_t=yes
5799 ac_isoC99_wchar_t=no
5801 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5803 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5804 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5805 echo "configure:5806: checking for iconv.h" >&5
5806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5809 cat > conftest.$ac_ext <<EOF
5810 #line 5811 "configure"
5811 #include "confdefs.h"
5814 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5815 { (eval echo configure:5816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5816 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5817 if test -z "$ac_err"; then
5819 eval "ac_cv_header_$ac_safe=yes"
5822 echo "configure: failed program was:" >&5
5823 cat conftest.$ac_ext >&5
5825 eval "ac_cv_header_$ac_safe=no"
5829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5830 echo "$ac_t""yes" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5838 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5839 echo "configure:5840: checking for langinfo.h" >&5
5840 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5841 echo $ac_n "(cached) $ac_c" 1>&6
5843 cat > conftest.$ac_ext <<EOF
5844 #line 5845 "configure"
5845 #include "confdefs.h"
5846 #include <langinfo.h>
5848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5849 { (eval echo configure:5850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5851 if test -z "$ac_err"; then
5853 eval "ac_cv_header_$ac_safe=yes"
5856 echo "configure: failed program was:" >&5
5857 cat conftest.$ac_ext >&5
5859 eval "ac_cv_header_$ac_safe=no"
5863 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5864 echo "$ac_t""yes" 1>&6
5865 ac_has_langinfo_h=yes
5867 echo "$ac_t""no" 1>&6
5868 ac_has_langinfo_h=no
5872 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5873 echo "configure:5874: checking for iconv in -liconv" >&5
5874 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5876 echo $ac_n "(cached) $ac_c" 1>&6
5878 ac_save_LIBS="$LIBS"
5879 LIBS="-liconv $LIBS"
5880 cat > conftest.$ac_ext <<EOF
5881 #line 5882 "configure"
5882 #include "confdefs.h"
5883 /* Override any gcc2 internal prototype to avoid an error. */
5884 /* We use char because int might match the return type of a gcc2
5885 builtin and then its argument prototype would still apply. */
5892 if { (eval echo configure:5893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5894 eval "ac_cv_lib_$ac_lib_var=yes"
5896 echo "configure: failed program was:" >&5
5897 cat conftest.$ac_ext >&5
5899 eval "ac_cv_lib_$ac_lib_var=no"
5902 LIBS="$ac_save_LIBS"
5905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5906 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5912 ac_save_LIBS="$LIBS"
5913 LIBS="$LIBS $libiconv"
5915 for ac_func in iconv_open iconv_close iconv nl_langinfo
5917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5918 echo "configure:5919: checking for $ac_func" >&5
5919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5920 echo $ac_n "(cached) $ac_c" 1>&6
5922 cat > conftest.$ac_ext <<EOF
5923 #line 5924 "configure"
5924 #include "confdefs.h"
5925 /* System header to define __stub macros and hopefully few prototypes,
5926 which can conflict with char $ac_func(); below. */
5928 /* Override any gcc2 internal prototype to avoid an error. */
5929 /* We use char because int might match the return type of a gcc2
5930 builtin and then its argument prototype would still apply. */
5935 /* The GNU C library defines this for functions which it implements
5936 to always fail with ENOSYS. Some functions are actually named
5937 something starting with __ and the normal name is an alias. */
5938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
5950 echo "configure: failed program was:" >&5
5951 cat conftest.$ac_ext >&5
5953 eval "ac_cv_func_$ac_func=no"
5958 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5959 echo "$ac_t""yes" 1>&6
5960 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5961 cat >> confdefs.h <<EOF
5962 #define $ac_tr_func 1
5967 echo "$ac_t""no" 1>&6
5973 LIBS="$ac_save_LIBS"
5975 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5976 echo "configure:5977: checking for XPG2 wchar_t support" >&5
5977 if test x"$ac_has_iconv_h" = xyes &&
5978 test x"$ac_has_langinfo_h" = xyes &&
5979 test x"$ac_XPG2funcs" = xyes; then
5984 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5986 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5987 echo "configure:5988: checking for enabled wchar_t specializations" >&5
5988 if test x"$ac_isoC99_wchar_t" = xyes &&
5989 test x"$ac_XPG2_wchar_t" = xyes; then
5990 cat >> confdefs.h <<\EOF
5991 #define _GLIBCPP_USE_WCHAR_T 1
5994 echo "$ac_t"""yes"" 1>&6
5996 echo "$ac_t"""no"" 1>&6
5999 echo "configure: warning: wchar_t support disabled." 1>&2
6002 os_include_dir="os/hpux"
6003 cat >> confdefs.h <<\EOF
6004 #define HAVE_COPYSIGN 1
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_COPYSIGNF 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_FINITEF 1
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_FREXPF 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_HYPOT 1
6023 cat >> confdefs.h <<\EOF
6024 #define HAVE_SINCOS 1
6027 cat >> confdefs.h <<\EOF
6028 #define HAVE_SINCOSF 1
6033 # Check for available headers.
6034 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6035 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6036 fp.h locale.h float.h inttypes.h
6038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6040 echo "configure:6041: checking for $ac_hdr" >&5
6041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6
6044 cat > conftest.$ac_ext <<EOF
6045 #line 6046 "configure"
6046 #include "confdefs.h"
6049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6050 { (eval echo configure:6051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6052 if test -z "$ac_err"; then
6054 eval "ac_cv_header_$ac_safe=yes"
6057 echo "configure: failed program was:" >&5
6058 cat conftest.$ac_ext >&5
6060 eval "ac_cv_header_$ac_safe=no"
6064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6065 echo "$ac_t""yes" 1>&6
6066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6067 cat >> confdefs.h <<EOF
6068 #define $ac_tr_hdr 1
6072 echo "$ac_t""no" 1>&6
6076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6079 # If we're not using GNU ld, then there's no point in even trying these
6080 # tests. Check for that first. We should have already tested for gld
6081 # by now (in libtool), but require it now just to be safe...
6082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6086 # The name set by libtool depends on the version of libtool. Shame on us
6087 # for depending on an impl detail, but c'est la vie. Older versions used
6088 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6089 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6090 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6091 # set (hence we're using an older libtool), then set it.
6092 if test x${with_gnu_ld+set} != xset; then
6093 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6094 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6097 with_gnu_ld=$ac_cv_prog_gnu_ld
6101 # Start by getting the version number. I think the libtool test already
6102 # does some of this, but throws away the result.
6104 ldver=`$LD --version 2>/dev/null | head -1 | \
6105 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6107 glibcpp_gnu_ld_version=`echo $ldver | \
6108 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6110 # Set --gc-sections.
6111 if test "$with_gnu_ld" = "notbroken"; then
6112 # GNU ld it is! Joy and bunny rabbits!
6114 # All these tests are for C++; save the language and the compiler flags.
6115 # Need to do this so that g++ won't try to link in libstdc++
6116 ac_test_CFLAGS="${CFLAGS+set}"
6117 ac_save_CFLAGS="$CFLAGS"
6118 CFLAGS='-x c++ -Wl,--gc-sections'
6120 # Check for -Wl,--gc-sections
6121 # XXX This test is broken at the moment, as symbols required for
6122 # linking are now in libsupc++ (not built yet.....). In addition,
6123 # this test has cored on solaris in the past. In addition,
6124 # --gc-sections doesn't really work at the moment (keeps on discarding
6125 # used sections, first .eh_frame and now some of the glibc sections for
6126 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6127 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6128 echo "configure:6129: checking for ld that supports -Wl,--gc-sections" >&5
6129 if test "$cross_compiling" = yes; then
6130 ac_sectionLDflags=yes
6132 cat > conftest.$ac_ext <<EOF
6133 #line 6134 "configure"
6134 #include "confdefs.h"
6144 if { (eval echo configure:6145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6146 ac_sectionLDflags=yes
6148 echo "configure: failed program was:" >&5
6149 cat conftest.$ac_ext >&5
6151 ac_sectionLDflags=no
6156 if test "$ac_test_CFLAGS" = set; then
6157 CFLAGS="$ac_save_CFLAGS"
6159 # this is the suspicious part
6162 if test "$ac_sectionLDflags" = "yes"; then
6163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6165 echo "$ac_t""$ac_sectionLDflags" 1>&6
6168 # Set linker optimization flags.
6169 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6170 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6177 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6178 echo "configure:6179: checking for main in -lm" >&5
6179 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6181 echo $ac_n "(cached) $ac_c" 1>&6
6183 ac_save_LIBS="$LIBS"
6185 cat > conftest.$ac_ext <<EOF
6186 #line 6187 "configure"
6187 #include "confdefs.h"
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6195 eval "ac_cv_lib_$ac_lib_var=yes"
6197 echo "configure: failed program was:" >&5
6198 cat conftest.$ac_ext >&5
6200 eval "ac_cv_lib_$ac_lib_var=no"
6203 LIBS="$ac_save_LIBS"
6206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6207 echo "$ac_t""yes" 1>&6
6208 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6209 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6210 cat >> confdefs.h <<EOF
6211 #define $ac_tr_lib 1
6217 echo "$ac_t""no" 1>&6
6220 for ac_func in nan copysignf
6222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6223 echo "configure:6224: checking for $ac_func" >&5
6224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6225 echo $ac_n "(cached) $ac_c" 1>&6
6227 cat > conftest.$ac_ext <<EOF
6228 #line 6229 "configure"
6229 #include "confdefs.h"
6230 /* System header to define __stub macros and hopefully few prototypes,
6231 which can conflict with char $ac_func(); below. */
6233 /* Override any gcc2 internal prototype to avoid an error. */
6234 /* We use char because int might match the return type of a gcc2
6235 builtin and then its argument prototype would still apply. */
6240 /* The GNU C library defines this for functions which it implements
6241 to always fail with ENOSYS. Some functions are actually named
6242 something starting with __ and the normal name is an alias. */
6243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6251 if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6253 eval "ac_cv_func_$ac_func=yes"
6255 echo "configure: failed program was:" >&5
6256 cat conftest.$ac_ext >&5
6258 eval "ac_cv_func_$ac_func=no"
6263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6264 echo "$ac_t""yes" 1>&6
6265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6266 cat >> confdefs.h <<EOF
6267 #define $ac_tr_func 1
6271 echo "$ac_t""no" 1>&6
6272 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6277 for ac_func in __signbit
6279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6280 echo "configure:6281: checking for $ac_func" >&5
6281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6
6284 cat > conftest.$ac_ext <<EOF
6285 #line 6286 "configure"
6286 #include "confdefs.h"
6287 /* System header to define __stub macros and hopefully few prototypes,
6288 which can conflict with char $ac_func(); below. */
6290 /* Override any gcc2 internal prototype to avoid an error. */
6291 /* We use char because int might match the return type of a gcc2
6292 builtin and then its argument prototype would still apply. */
6297 /* The GNU C library defines this for functions which it implements
6298 to always fail with ENOSYS. Some functions are actually named
6299 something starting with __ and the normal name is an alias. */
6300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6310 eval "ac_cv_func_$ac_func=yes"
6312 echo "configure: failed program was:" >&5
6313 cat conftest.$ac_ext >&5
6315 eval "ac_cv_func_$ac_func=no"
6320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6321 echo "$ac_t""yes" 1>&6
6322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6323 cat >> confdefs.h <<EOF
6324 #define $ac_tr_func 1
6328 echo "$ac_t""no" 1>&6
6329 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6333 for ac_func in __signbitf
6335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6336 echo "configure:6337: checking for $ac_func" >&5
6337 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6338 echo $ac_n "(cached) $ac_c" 1>&6
6340 cat > conftest.$ac_ext <<EOF
6341 #line 6342 "configure"
6342 #include "confdefs.h"
6343 /* System header to define __stub macros and hopefully few prototypes,
6344 which can conflict with char $ac_func(); below. */
6346 /* Override any gcc2 internal prototype to avoid an error. */
6347 /* We use char because int might match the return type of a gcc2
6348 builtin and then its argument prototype would still apply. */
6353 /* The GNU C library defines this for functions which it implements
6354 to always fail with ENOSYS. Some functions are actually named
6355 something starting with __ and the normal name is an alias. */
6356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6364 if { (eval echo configure:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6366 eval "ac_cv_func_$ac_func=yes"
6368 echo "configure: failed program was:" >&5
6369 cat conftest.$ac_ext >&5
6371 eval "ac_cv_func_$ac_func=no"
6376 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6377 echo "$ac_t""yes" 1>&6
6378 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6379 cat >> confdefs.h <<EOF
6380 #define $ac_tr_func 1
6384 echo "$ac_t""no" 1>&6
6385 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6390 if test x$ac_cv_func_copysignl = x"yes"; then
6391 for ac_func in __signbitl
6393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6394 echo "configure:6395: checking for $ac_func" >&5
6395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6396 echo $ac_n "(cached) $ac_c" 1>&6
6398 cat > conftest.$ac_ext <<EOF
6399 #line 6400 "configure"
6400 #include "confdefs.h"
6401 /* System header to define __stub macros and hopefully few prototypes,
6402 which can conflict with char $ac_func(); below. */
6404 /* Override any gcc2 internal prototype to avoid an error. */
6405 /* We use char because int might match the return type of a gcc2
6406 builtin and then its argument prototype would still apply. */
6411 /* The GNU C library defines this for functions which it implements
6412 to always fail with ENOSYS. Some functions are actually named
6413 something starting with __ and the normal name is an alias. */
6414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6422 if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6424 eval "ac_cv_func_$ac_func=yes"
6426 echo "configure: failed program was:" >&5
6427 cat conftest.$ac_ext >&5
6429 eval "ac_cv_func_$ac_func=no"
6434 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6435 echo "$ac_t""yes" 1>&6
6436 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6437 cat >> confdefs.h <<EOF
6438 #define $ac_tr_func 1
6442 echo "$ac_t""no" 1>&6
6443 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6453 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6454 echo "configure:6455: checking for mbstate_t" >&5
6455 cat > conftest.$ac_ext <<EOF
6456 #line 6457 "configure"
6457 #include "confdefs.h"
6460 mbstate_t teststate;
6463 if { (eval echo configure:6464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6467 echo "configure: failed program was:" >&5
6468 cat conftest.$ac_ext >&5
6473 echo "$ac_t""$have_mbstate_t" 1>&6
6474 if test x"$have_mbstate_t" = xyes; then
6475 cat >> confdefs.h <<\EOF
6476 #define HAVE_MBSTATE_T 1
6481 for ac_hdr in wchar.h
6483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6485 echo "configure:6486: checking for $ac_hdr" >&5
6486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6487 echo $ac_n "(cached) $ac_c" 1>&6
6489 cat > conftest.$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6495 { (eval echo configure:6496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6496 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6497 if test -z "$ac_err"; then
6499 eval "ac_cv_header_$ac_safe=yes"
6502 echo "configure: failed program was:" >&5
6503 cat conftest.$ac_ext >&5
6505 eval "ac_cv_header_$ac_safe=no"
6509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6510 echo "$ac_t""yes" 1>&6
6511 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6512 cat >> confdefs.h <<EOF
6513 #define $ac_tr_hdr 1
6517 echo "$ac_t""no" 1>&6
6522 for ac_hdr in wctype.h
6524 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6526 echo "configure:6527: checking for $ac_hdr" >&5
6527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6528 echo $ac_n "(cached) $ac_c" 1>&6
6530 cat > conftest.$ac_ext <<EOF
6531 #line 6532 "configure"
6532 #include "confdefs.h"
6535 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6536 { (eval echo configure:6537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6537 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6538 if test -z "$ac_err"; then
6540 eval "ac_cv_header_$ac_safe=yes"
6543 echo "configure: failed program was:" >&5
6544 cat conftest.$ac_ext >&5
6546 eval "ac_cv_header_$ac_safe=no"
6550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6551 echo "$ac_t""yes" 1>&6
6552 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6553 cat >> confdefs.h <<EOF
6554 #define $ac_tr_hdr 1
6558 echo "$ac_t""no" 1>&6
6564 if test x"$ac_has_wchar_h" = xyes &&
6565 test x"$ac_has_wctype_h" = xyes &&
6566 test x"$enable_c_mbchar" != xno; then
6568 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6569 echo "configure:6570: checking for WCHAR_MIN and WCHAR_MAX" >&5
6570 cat > conftest.$ac_ext <<EOF
6571 #line 6572 "configure"
6572 #include "confdefs.h"
6575 int i = WCHAR_MIN; int j = WCHAR_MAX;
6578 if { (eval echo configure:6579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6580 has_wchar_minmax=yes
6582 echo "configure: failed program was:" >&5
6583 cat conftest.$ac_ext >&5
6588 echo "$ac_t""$has_wchar_minmax" 1>&6
6590 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6591 echo "configure:6592: checking for WEOF" >&5
6592 cat > conftest.$ac_ext <<EOF
6593 #line 6594 "configure"
6594 #include "confdefs.h"
6602 if { (eval echo configure:6603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6606 echo "configure: failed program was:" >&5
6607 cat conftest.$ac_ext >&5
6612 echo "$ac_t""$has_weof" 1>&6
6615 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6618 echo "configure:6619: checking for $ac_func" >&5
6619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6620 echo $ac_n "(cached) $ac_c" 1>&6
6622 cat > conftest.$ac_ext <<EOF
6623 #line 6624 "configure"
6624 #include "confdefs.h"
6625 /* System header to define __stub macros and hopefully few prototypes,
6626 which can conflict with char $ac_func(); below. */
6628 /* Override any gcc2 internal prototype to avoid an error. */
6629 /* We use char because int might match the return type of a gcc2
6630 builtin and then its argument prototype would still apply. */
6635 /* The GNU C library defines this for functions which it implements
6636 to always fail with ENOSYS. Some functions are actually named
6637 something starting with __ and the normal name is an alias. */
6638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6646 if { (eval echo configure:6647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6648 eval "ac_cv_func_$ac_func=yes"
6650 echo "configure: failed program was:" >&5
6651 cat conftest.$ac_ext >&5
6653 eval "ac_cv_func_$ac_func=no"
6658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6659 echo "$ac_t""yes" 1>&6
6660 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6661 cat >> confdefs.h <<EOF
6662 #define $ac_tr_func 1
6666 echo "$ac_t""no" 1>&6
6673 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6674 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6675 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6676 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6677 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6678 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6681 echo "configure:6682: checking for $ac_func" >&5
6682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6683 echo $ac_n "(cached) $ac_c" 1>&6
6685 cat > conftest.$ac_ext <<EOF
6686 #line 6687 "configure"
6687 #include "confdefs.h"
6688 /* System header to define __stub macros and hopefully few prototypes,
6689 which can conflict with char $ac_func(); below. */
6691 /* Override any gcc2 internal prototype to avoid an error. */
6692 /* We use char because int might match the return type of a gcc2
6693 builtin and then its argument prototype would still apply. */
6698 /* The GNU C library defines this for functions which it implements
6699 to always fail with ENOSYS. Some functions are actually named
6700 something starting with __ and the normal name is an alias. */
6701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6711 eval "ac_cv_func_$ac_func=yes"
6713 echo "configure: failed program was:" >&5
6714 cat conftest.$ac_ext >&5
6716 eval "ac_cv_func_$ac_func=no"
6721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6722 echo "$ac_t""yes" 1>&6
6723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6724 cat >> confdefs.h <<EOF
6725 #define $ac_tr_func 1
6729 echo "$ac_t""no" 1>&6
6736 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6737 echo "configure:6738: checking for ISO C99 wchar_t support" >&5
6738 if test x"$has_weof" = xyes &&
6739 test x"$has_wchar_minmax" = xyes &&
6740 test x"$ac_wfuncs" = xyes; then
6741 ac_isoC99_wchar_t=yes
6743 ac_isoC99_wchar_t=no
6745 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6747 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6748 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6749 echo "configure:6750: checking for iconv.h" >&5
6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure"
6755 #include "confdefs.h"
6758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6761 if test -z "$ac_err"; then
6763 eval "ac_cv_header_$ac_safe=yes"
6766 echo "configure: failed program was:" >&5
6767 cat conftest.$ac_ext >&5
6769 eval "ac_cv_header_$ac_safe=no"
6773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6774 echo "$ac_t""yes" 1>&6
6777 echo "$ac_t""no" 1>&6
6781 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6782 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6783 echo "configure:6784: checking for langinfo.h" >&5
6784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6787 cat > conftest.$ac_ext <<EOF
6788 #line 6789 "configure"
6789 #include "confdefs.h"
6790 #include <langinfo.h>
6792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6793 { (eval echo configure:6794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6795 if test -z "$ac_err"; then
6797 eval "ac_cv_header_$ac_safe=yes"
6800 echo "configure: failed program was:" >&5
6801 cat conftest.$ac_ext >&5
6803 eval "ac_cv_header_$ac_safe=no"
6807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6808 echo "$ac_t""yes" 1>&6
6809 ac_has_langinfo_h=yes
6811 echo "$ac_t""no" 1>&6
6812 ac_has_langinfo_h=no
6816 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6817 echo "configure:6818: checking for iconv in -liconv" >&5
6818 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6820 echo $ac_n "(cached) $ac_c" 1>&6
6822 ac_save_LIBS="$LIBS"
6823 LIBS="-liconv $LIBS"
6824 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure"
6826 #include "confdefs.h"
6827 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6838 eval "ac_cv_lib_$ac_lib_var=yes"
6840 echo "configure: failed program was:" >&5
6841 cat conftest.$ac_ext >&5
6843 eval "ac_cv_lib_$ac_lib_var=no"
6846 LIBS="$ac_save_LIBS"
6849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6850 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6856 ac_save_LIBS="$LIBS"
6857 LIBS="$LIBS $libiconv"
6859 for ac_func in iconv_open iconv_close iconv nl_langinfo
6861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6862 echo "configure:6863: checking for $ac_func" >&5
6863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6864 echo $ac_n "(cached) $ac_c" 1>&6
6866 cat > conftest.$ac_ext <<EOF
6867 #line 6868 "configure"
6868 #include "confdefs.h"
6869 /* System header to define __stub macros and hopefully few prototypes,
6870 which can conflict with char $ac_func(); below. */
6872 /* Override any gcc2 internal prototype to avoid an error. */
6873 /* We use char because int might match the return type of a gcc2
6874 builtin and then its argument prototype would still apply. */
6879 /* The GNU C library defines this for functions which it implements
6880 to always fail with ENOSYS. Some functions are actually named
6881 something starting with __ and the normal name is an alias. */
6882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6890 if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6892 eval "ac_cv_func_$ac_func=yes"
6894 echo "configure: failed program was:" >&5
6895 cat conftest.$ac_ext >&5
6897 eval "ac_cv_func_$ac_func=no"
6902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6903 echo "$ac_t""yes" 1>&6
6904 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6905 cat >> confdefs.h <<EOF
6906 #define $ac_tr_func 1
6911 echo "$ac_t""no" 1>&6
6917 LIBS="$ac_save_LIBS"
6919 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6920 echo "configure:6921: checking for XPG2 wchar_t support" >&5
6921 if test x"$ac_has_iconv_h" = xyes &&
6922 test x"$ac_has_langinfo_h" = xyes &&
6923 test x"$ac_XPG2funcs" = xyes; then
6928 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6930 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6931 echo "configure:6932: checking for enabled wchar_t specializations" >&5
6932 if test x"$ac_isoC99_wchar_t" = xyes &&
6933 test x"$ac_XPG2_wchar_t" = xyes; then
6934 cat >> confdefs.h <<\EOF
6935 #define _GLIBCPP_USE_WCHAR_T 1
6938 echo "$ac_t"""yes"" 1>&6
6940 echo "$ac_t"""no"" 1>&6
6943 echo "configure: warning: wchar_t support disabled." 1>&2
6946 os_include_dir="os/bsd/netbsd"
6947 cat >> confdefs.h <<\EOF
6948 #define HAVE_COPYSIGN 1
6951 cat >> confdefs.h <<\EOF
6952 #define HAVE_COPYSIGNF 1
6955 cat >> confdefs.h <<\EOF
6956 #define HAVE_FINITEF 1
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_FREXPF 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_HYPOTF 1
6969 for ac_hdr in sys/types.h locale.h float.h
6971 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6972 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6973 echo "configure:6974: checking for $ac_hdr" >&5
6974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6975 echo $ac_n "(cached) $ac_c" 1>&6
6977 cat > conftest.$ac_ext <<EOF
6978 #line 6979 "configure"
6979 #include "confdefs.h"
6982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6983 { (eval echo configure:6984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6985 if test -z "$ac_err"; then
6987 eval "ac_cv_header_$ac_safe=yes"
6990 echo "configure: failed program was:" >&5
6991 cat conftest.$ac_ext >&5
6993 eval "ac_cv_header_$ac_safe=no"
6997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6998 echo "$ac_t""yes" 1>&6
6999 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7000 cat >> confdefs.h <<EOF
7001 #define $ac_tr_hdr 1
7005 echo "$ac_t""no" 1>&6
7010 # If we're not using GNU ld, then there's no point in even trying these
7011 # tests. Check for that first. We should have already tested for gld
7012 # by now (in libtool), but require it now just to be safe...
7013 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7014 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7017 # The name set by libtool depends on the version of libtool. Shame on us
7018 # for depending on an impl detail, but c'est la vie. Older versions used
7019 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7020 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7021 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7022 # set (hence we're using an older libtool), then set it.
7023 if test x${with_gnu_ld+set} != xset; then
7024 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7025 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7028 with_gnu_ld=$ac_cv_prog_gnu_ld
7032 # Start by getting the version number. I think the libtool test already
7033 # does some of this, but throws away the result.
7035 ldver=`$LD --version 2>/dev/null | head -1 | \
7036 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7038 glibcpp_gnu_ld_version=`echo $ldver | \
7039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7041 # Set --gc-sections.
7042 if test "$with_gnu_ld" = "notbroken"; then
7043 # GNU ld it is! Joy and bunny rabbits!
7045 # All these tests are for C++; save the language and the compiler flags.
7046 # Need to do this so that g++ won't try to link in libstdc++
7047 ac_test_CFLAGS="${CFLAGS+set}"
7048 ac_save_CFLAGS="$CFLAGS"
7049 CFLAGS='-x c++ -Wl,--gc-sections'
7051 # Check for -Wl,--gc-sections
7052 # XXX This test is broken at the moment, as symbols required for
7053 # linking are now in libsupc++ (not built yet.....). In addition,
7054 # this test has cored on solaris in the past. In addition,
7055 # --gc-sections doesn't really work at the moment (keeps on discarding
7056 # used sections, first .eh_frame and now some of the glibc sections for
7057 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7058 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7059 echo "configure:7060: checking for ld that supports -Wl,--gc-sections" >&5
7060 if test "$cross_compiling" = yes; then
7061 ac_sectionLDflags=yes
7063 cat > conftest.$ac_ext <<EOF
7064 #line 7065 "configure"
7065 #include "confdefs.h"
7075 if { (eval echo configure:7076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7077 ac_sectionLDflags=yes
7079 echo "configure: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 ac_sectionLDflags=no
7087 if test "$ac_test_CFLAGS" = set; then
7088 CFLAGS="$ac_save_CFLAGS"
7090 # this is the suspicious part
7093 if test "$ac_sectionLDflags" = "yes"; then
7094 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7096 echo "$ac_t""$ac_sectionLDflags" 1>&6
7099 # Set linker optimization flags.
7100 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7101 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7108 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7109 echo "configure:7110: checking for main in -lm" >&5
7110 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7112 echo $ac_n "(cached) $ac_c" 1>&6
7114 ac_save_LIBS="$LIBS"
7116 cat > conftest.$ac_ext <<EOF
7117 #line 7118 "configure"
7118 #include "confdefs.h"
7124 if { (eval echo configure:7125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7126 eval "ac_cv_lib_$ac_lib_var=yes"
7128 echo "configure: failed program was:" >&5
7129 cat conftest.$ac_ext >&5
7131 eval "ac_cv_lib_$ac_lib_var=no"
7134 LIBS="$ac_save_LIBS"
7137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7138 echo "$ac_t""yes" 1>&6
7139 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7140 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7141 cat >> confdefs.h <<EOF
7142 #define $ac_tr_lib 1
7148 echo "$ac_t""no" 1>&6
7151 for ac_func in nan copysignf
7153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7154 echo "configure:7155: checking for $ac_func" >&5
7155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7156 echo $ac_n "(cached) $ac_c" 1>&6
7158 cat > conftest.$ac_ext <<EOF
7159 #line 7160 "configure"
7160 #include "confdefs.h"
7161 /* System header to define __stub macros and hopefully few prototypes,
7162 which can conflict with char $ac_func(); below. */
7164 /* Override any gcc2 internal prototype to avoid an error. */
7165 /* We use char because int might match the return type of a gcc2
7166 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7182 if { (eval echo configure:7183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7184 eval "ac_cv_func_$ac_func=yes"
7186 echo "configure: failed program was:" >&5
7187 cat conftest.$ac_ext >&5
7189 eval "ac_cv_func_$ac_func=no"
7194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7195 echo "$ac_t""yes" 1>&6
7196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7197 cat >> confdefs.h <<EOF
7198 #define $ac_tr_func 1
7202 echo "$ac_t""no" 1>&6
7203 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7208 for ac_func in __signbit
7210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7211 echo "configure:7212: checking for $ac_func" >&5
7212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7213 echo $ac_n "(cached) $ac_c" 1>&6
7215 cat > conftest.$ac_ext <<EOF
7216 #line 7217 "configure"
7217 #include "confdefs.h"
7218 /* System header to define __stub macros and hopefully few prototypes,
7219 which can conflict with char $ac_func(); below. */
7221 /* Override any gcc2 internal prototype to avoid an error. */
7222 /* We use char because int might match the return type of a gcc2
7223 builtin and then its argument prototype would still apply. */
7228 /* The GNU C library defines this for functions which it implements
7229 to always fail with ENOSYS. Some functions are actually named
7230 something starting with __ and the normal name is an alias. */
7231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7241 eval "ac_cv_func_$ac_func=yes"
7243 echo "configure: failed program was:" >&5
7244 cat conftest.$ac_ext >&5
7246 eval "ac_cv_func_$ac_func=no"
7251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7252 echo "$ac_t""yes" 1>&6
7253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7254 cat >> confdefs.h <<EOF
7255 #define $ac_tr_func 1
7259 echo "$ac_t""no" 1>&6
7260 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7264 for ac_func in __signbitf
7266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7267 echo "configure:7268: checking for $ac_func" >&5
7268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7269 echo $ac_n "(cached) $ac_c" 1>&6
7271 cat > conftest.$ac_ext <<EOF
7272 #line 7273 "configure"
7273 #include "confdefs.h"
7274 /* System header to define __stub macros and hopefully few prototypes,
7275 which can conflict with char $ac_func(); below. */
7277 /* Override any gcc2 internal prototype to avoid an error. */
7278 /* We use char because int might match the return type of a gcc2
7279 builtin and then its argument prototype would still apply. */
7284 /* The GNU C library defines this for functions which it implements
7285 to always fail with ENOSYS. Some functions are actually named
7286 something starting with __ and the normal name is an alias. */
7287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7295 if { (eval echo configure:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7297 eval "ac_cv_func_$ac_func=yes"
7299 echo "configure: failed program was:" >&5
7300 cat conftest.$ac_ext >&5
7302 eval "ac_cv_func_$ac_func=no"
7307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7308 echo "$ac_t""yes" 1>&6
7309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7310 cat >> confdefs.h <<EOF
7311 #define $ac_tr_func 1
7315 echo "$ac_t""no" 1>&6
7316 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7321 if test x$ac_cv_func_copysignl = x"yes"; then
7322 for ac_func in __signbitl
7324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7325 echo "configure:7326: checking for $ac_func" >&5
7326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7327 echo $ac_n "(cached) $ac_c" 1>&6
7329 cat > conftest.$ac_ext <<EOF
7330 #line 7331 "configure"
7331 #include "confdefs.h"
7332 /* System header to define __stub macros and hopefully few prototypes,
7333 which can conflict with char $ac_func(); below. */
7335 /* Override any gcc2 internal prototype to avoid an error. */
7336 /* We use char because int might match the return type of a gcc2
7337 builtin and then its argument prototype would still apply. */
7342 /* The GNU C library defines this for functions which it implements
7343 to always fail with ENOSYS. Some functions are actually named
7344 something starting with __ and the normal name is an alias. */
7345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7355 eval "ac_cv_func_$ac_func=yes"
7357 echo "configure: failed program was:" >&5
7358 cat conftest.$ac_ext >&5
7360 eval "ac_cv_func_$ac_func=no"
7365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7366 echo "$ac_t""yes" 1>&6
7367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7368 cat >> confdefs.h <<EOF
7369 #define $ac_tr_func 1
7373 echo "$ac_t""no" 1>&6
7374 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7384 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7385 echo "configure:7386: checking for mbstate_t" >&5
7386 cat > conftest.$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7391 mbstate_t teststate;
7394 if { (eval echo configure:7395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7398 echo "configure: failed program was:" >&5
7399 cat conftest.$ac_ext >&5
7404 echo "$ac_t""$have_mbstate_t" 1>&6
7405 if test x"$have_mbstate_t" = xyes; then
7406 cat >> confdefs.h <<\EOF
7407 #define HAVE_MBSTATE_T 1
7412 for ac_hdr in wchar.h
7414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7416 echo "configure:7417: checking for $ac_hdr" >&5
7417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7418 echo $ac_n "(cached) $ac_c" 1>&6
7420 cat > conftest.$ac_ext <<EOF
7421 #line 7422 "configure"
7422 #include "confdefs.h"
7425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7426 { (eval echo configure:7427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7428 if test -z "$ac_err"; then
7430 eval "ac_cv_header_$ac_safe=yes"
7433 echo "configure: failed program was:" >&5
7434 cat conftest.$ac_ext >&5
7436 eval "ac_cv_header_$ac_safe=no"
7440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7441 echo "$ac_t""yes" 1>&6
7442 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7443 cat >> confdefs.h <<EOF
7444 #define $ac_tr_hdr 1
7448 echo "$ac_t""no" 1>&6
7453 for ac_hdr in wctype.h
7455 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7456 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7457 echo "configure:7458: checking for $ac_hdr" >&5
7458 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7459 echo $ac_n "(cached) $ac_c" 1>&6
7461 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure"
7463 #include "confdefs.h"
7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7469 if test -z "$ac_err"; then
7471 eval "ac_cv_header_$ac_safe=yes"
7474 echo "configure: failed program was:" >&5
7475 cat conftest.$ac_ext >&5
7477 eval "ac_cv_header_$ac_safe=no"
7481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7482 echo "$ac_t""yes" 1>&6
7483 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7484 cat >> confdefs.h <<EOF
7485 #define $ac_tr_hdr 1
7489 echo "$ac_t""no" 1>&6
7495 if test x"$ac_has_wchar_h" = xyes &&
7496 test x"$ac_has_wctype_h" = xyes &&
7497 test x"$enable_c_mbchar" != xno; then
7499 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7500 echo "configure:7501: checking for WCHAR_MIN and WCHAR_MAX" >&5
7501 cat > conftest.$ac_ext <<EOF
7502 #line 7503 "configure"
7503 #include "confdefs.h"
7506 int i = WCHAR_MIN; int j = WCHAR_MAX;
7509 if { (eval echo configure:7510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7511 has_wchar_minmax=yes
7513 echo "configure: failed program was:" >&5
7514 cat conftest.$ac_ext >&5
7519 echo "$ac_t""$has_wchar_minmax" 1>&6
7521 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7522 echo "configure:7523: checking for WEOF" >&5
7523 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure"
7525 #include "confdefs.h"
7533 if { (eval echo configure:7534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7537 echo "configure: failed program was:" >&5
7538 cat conftest.$ac_ext >&5
7543 echo "$ac_t""$has_weof" 1>&6
7546 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7549 echo "configure:7550: checking for $ac_func" >&5
7550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7551 echo $ac_n "(cached) $ac_c" 1>&6
7553 cat > conftest.$ac_ext <<EOF
7554 #line 7555 "configure"
7555 #include "confdefs.h"
7556 /* System header to define __stub macros and hopefully few prototypes,
7557 which can conflict with char $ac_func(); below. */
7559 /* Override any gcc2 internal prototype to avoid an error. */
7560 /* We use char because int might match the return type of a gcc2
7561 builtin and then its argument prototype would still apply. */
7566 /* The GNU C library defines this for functions which it implements
7567 to always fail with ENOSYS. Some functions are actually named
7568 something starting with __ and the normal name is an alias. */
7569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7577 if { (eval echo configure:7578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7579 eval "ac_cv_func_$ac_func=yes"
7581 echo "configure: failed program was:" >&5
7582 cat conftest.$ac_ext >&5
7584 eval "ac_cv_func_$ac_func=no"
7589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7590 echo "$ac_t""yes" 1>&6
7591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7592 cat >> confdefs.h <<EOF
7593 #define $ac_tr_func 1
7597 echo "$ac_t""no" 1>&6
7604 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7605 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7606 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7607 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7608 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7609 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7612 echo "configure:7613: checking for $ac_func" >&5
7613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7614 echo $ac_n "(cached) $ac_c" 1>&6
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure"
7618 #include "confdefs.h"
7619 /* System header to define __stub macros and hopefully few prototypes,
7620 which can conflict with char $ac_func(); below. */
7622 /* Override any gcc2 internal prototype to avoid an error. */
7623 /* We use char because int might match the return type of a gcc2
7624 builtin and then its argument prototype would still apply. */
7629 /* The GNU C library defines this for functions which it implements
7630 to always fail with ENOSYS. Some functions are actually named
7631 something starting with __ and the normal name is an alias. */
7632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7642 eval "ac_cv_func_$ac_func=yes"
7644 echo "configure: failed program was:" >&5
7645 cat conftest.$ac_ext >&5
7647 eval "ac_cv_func_$ac_func=no"
7652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7653 echo "$ac_t""yes" 1>&6
7654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7655 cat >> confdefs.h <<EOF
7656 #define $ac_tr_func 1
7660 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7668 echo "configure:7669: checking for ISO C99 wchar_t support" >&5
7669 if test x"$has_weof" = xyes &&
7670 test x"$has_wchar_minmax" = xyes &&
7671 test x"$ac_wfuncs" = xyes; then
7672 ac_isoC99_wchar_t=yes
7674 ac_isoC99_wchar_t=no
7676 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7678 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7679 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7680 echo "configure:7681: checking for iconv.h" >&5
7681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6
7684 cat > conftest.$ac_ext <<EOF
7685 #line 7686 "configure"
7686 #include "confdefs.h"
7689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7690 { (eval echo configure:7691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7692 if test -z "$ac_err"; then
7694 eval "ac_cv_header_$ac_safe=yes"
7697 echo "configure: failed program was:" >&5
7698 cat conftest.$ac_ext >&5
7700 eval "ac_cv_header_$ac_safe=no"
7704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7705 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7712 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7713 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7714 echo "configure:7715: checking for langinfo.h" >&5
7715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7716 echo $ac_n "(cached) $ac_c" 1>&6
7718 cat > conftest.$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 #include <langinfo.h>
7723 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7724 { (eval echo configure:7725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7725 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7726 if test -z "$ac_err"; then
7728 eval "ac_cv_header_$ac_safe=yes"
7731 echo "configure: failed program was:" >&5
7732 cat conftest.$ac_ext >&5
7734 eval "ac_cv_header_$ac_safe=no"
7738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7739 echo "$ac_t""yes" 1>&6
7740 ac_has_langinfo_h=yes
7742 echo "$ac_t""no" 1>&6
7743 ac_has_langinfo_h=no
7747 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7748 echo "configure:7749: checking for iconv in -liconv" >&5
7749 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6
7753 ac_save_LIBS="$LIBS"
7754 LIBS="-liconv $LIBS"
7755 cat > conftest.$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7767 if { (eval echo configure:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7769 eval "ac_cv_lib_$ac_lib_var=yes"
7771 echo "configure: failed program was:" >&5
7772 cat conftest.$ac_ext >&5
7774 eval "ac_cv_lib_$ac_lib_var=no"
7777 LIBS="$ac_save_LIBS"
7780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7781 echo "$ac_t""yes" 1>&6
7784 echo "$ac_t""no" 1>&6
7787 ac_save_LIBS="$LIBS"
7788 LIBS="$LIBS $libiconv"
7790 for ac_func in iconv_open iconv_close iconv nl_langinfo
7792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7793 echo "configure:7794: checking for $ac_func" >&5
7794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7795 echo $ac_n "(cached) $ac_c" 1>&6
7797 cat > conftest.$ac_ext <<EOF
7798 #line 7799 "configure"
7799 #include "confdefs.h"
7800 /* System header to define __stub macros and hopefully few prototypes,
7801 which can conflict with char $ac_func(); below. */
7803 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7810 /* The GNU C library defines this for functions which it implements
7811 to always fail with ENOSYS. Some functions are actually named
7812 something starting with __ and the normal name is an alias. */
7813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7821 if { (eval echo configure:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7823 eval "ac_cv_func_$ac_func=yes"
7825 echo "configure: failed program was:" >&5
7826 cat conftest.$ac_ext >&5
7828 eval "ac_cv_func_$ac_func=no"
7833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7834 echo "$ac_t""yes" 1>&6
7835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7836 cat >> confdefs.h <<EOF
7837 #define $ac_tr_func 1
7842 echo "$ac_t""no" 1>&6
7848 LIBS="$ac_save_LIBS"
7850 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7851 echo "configure:7852: checking for XPG2 wchar_t support" >&5
7852 if test x"$ac_has_iconv_h" = xyes &&
7853 test x"$ac_has_langinfo_h" = xyes &&
7854 test x"$ac_XPG2funcs" = xyes; then
7859 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7861 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7862 echo "configure:7863: checking for enabled wchar_t specializations" >&5
7863 if test x"$ac_isoC99_wchar_t" = xyes &&
7864 test x"$ac_XPG2_wchar_t" = xyes; then
7865 cat >> confdefs.h <<\EOF
7866 #define _GLIBCPP_USE_WCHAR_T 1
7869 echo "$ac_t"""yes"" 1>&6
7871 echo "$ac_t"""no"" 1>&6
7874 echo "configure: warning: wchar_t support disabled." 1>&2
7877 os_include_dir="os/mingw32"
7880 os_include_dir="os/windiss"
7883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7886 # If we're not using GNU ld, then there's no point in even trying these
7887 # tests. Check for that first. We should have already tested for gld
7888 # by now (in libtool), but require it now just to be safe...
7889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7893 # The name set by libtool depends on the version of libtool. Shame on us
7894 # for depending on an impl detail, but c'est la vie. Older versions used
7895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7898 # set (hence we're using an older libtool), then set it.
7899 if test x${with_gnu_ld+set} != xset; then
7900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7904 with_gnu_ld=$ac_cv_prog_gnu_ld
7908 # Start by getting the version number. I think the libtool test already
7909 # does some of this, but throws away the result.
7911 ldver=`$LD --version 2>/dev/null | head -1 | \
7912 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7914 glibcpp_gnu_ld_version=`echo $ldver | \
7915 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7917 # Set --gc-sections.
7918 if test "$with_gnu_ld" = "notbroken"; then
7919 # GNU ld it is! Joy and bunny rabbits!
7921 # All these tests are for C++; save the language and the compiler flags.
7922 # Need to do this so that g++ won't try to link in libstdc++
7923 ac_test_CFLAGS="${CFLAGS+set}"
7924 ac_save_CFLAGS="$CFLAGS"
7925 CFLAGS='-x c++ -Wl,--gc-sections'
7927 # Check for -Wl,--gc-sections
7928 # XXX This test is broken at the moment, as symbols required for
7929 # linking are now in libsupc++ (not built yet.....). In addition,
7930 # this test has cored on solaris in the past. In addition,
7931 # --gc-sections doesn't really work at the moment (keeps on discarding
7932 # used sections, first .eh_frame and now some of the glibc sections for
7933 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7934 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7935 echo "configure:7936: checking for ld that supports -Wl,--gc-sections" >&5
7936 if test "$cross_compiling" = yes; then
7937 ac_sectionLDflags=yes
7939 cat > conftest.$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7951 if { (eval echo configure:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7953 ac_sectionLDflags=yes
7955 echo "configure: failed program was:" >&5
7956 cat conftest.$ac_ext >&5
7958 ac_sectionLDflags=no
7963 if test "$ac_test_CFLAGS" = set; then
7964 CFLAGS="$ac_save_CFLAGS"
7966 # this is the suspicious part
7969 if test "$ac_sectionLDflags" = "yes"; then
7970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7972 echo "$ac_t""$ac_sectionLDflags" 1>&6
7975 # Set linker optimization flags.
7976 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7984 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7985 echo "configure:7986: checking for main in -lm" >&5
7986 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7988 echo $ac_n "(cached) $ac_c" 1>&6
7990 ac_save_LIBS="$LIBS"
7992 cat > conftest.$ac_ext <<EOF
7993 #line 7994 "configure"
7994 #include "confdefs.h"
8000 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8002 eval "ac_cv_lib_$ac_lib_var=yes"
8004 echo "configure: failed program was:" >&5
8005 cat conftest.$ac_ext >&5
8007 eval "ac_cv_lib_$ac_lib_var=no"
8010 LIBS="$ac_save_LIBS"
8013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8014 echo "$ac_t""yes" 1>&6
8015 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8016 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8017 cat >> confdefs.h <<EOF
8018 #define $ac_tr_lib 1
8024 echo "$ac_t""no" 1>&6
8027 for ac_func in nan copysignf
8029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8030 echo "configure:8031: checking for $ac_func" >&5
8031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8032 echo $ac_n "(cached) $ac_c" 1>&6
8034 cat > conftest.$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8037 /* System header to define __stub macros and hopefully few prototypes,
8038 which can conflict with char $ac_func(); below. */
8040 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8047 /* The GNU C library defines this for functions which it implements
8048 to always fail with ENOSYS. Some functions are actually named
8049 something starting with __ and the normal name is an alias. */
8050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8060 eval "ac_cv_func_$ac_func=yes"
8062 echo "configure: failed program was:" >&5
8063 cat conftest.$ac_ext >&5
8065 eval "ac_cv_func_$ac_func=no"
8070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8071 echo "$ac_t""yes" 1>&6
8072 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8073 cat >> confdefs.h <<EOF
8074 #define $ac_tr_func 1
8078 echo "$ac_t""no" 1>&6
8079 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8084 for ac_func in __signbit
8086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8087 echo "configure:8088: checking for $ac_func" >&5
8088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8089 echo $ac_n "(cached) $ac_c" 1>&6
8091 cat > conftest.$ac_ext <<EOF
8092 #line 8093 "configure"
8093 #include "confdefs.h"
8094 /* System header to define __stub macros and hopefully few prototypes,
8095 which can conflict with char $ac_func(); below. */
8097 /* Override any gcc2 internal prototype to avoid an error. */
8098 /* We use char because int might match the return type of a gcc2
8099 builtin and then its argument prototype would still apply. */
8104 /* The GNU C library defines this for functions which it implements
8105 to always fail with ENOSYS. Some functions are actually named
8106 something starting with __ and the normal name is an alias. */
8107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8115 if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8117 eval "ac_cv_func_$ac_func=yes"
8119 echo "configure: failed program was:" >&5
8120 cat conftest.$ac_ext >&5
8122 eval "ac_cv_func_$ac_func=no"
8127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8128 echo "$ac_t""yes" 1>&6
8129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8130 cat >> confdefs.h <<EOF
8131 #define $ac_tr_func 1
8135 echo "$ac_t""no" 1>&6
8136 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8140 for ac_func in __signbitf
8142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8143 echo "configure:8144: checking for $ac_func" >&5
8144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8147 cat > conftest.$ac_ext <<EOF
8148 #line 8149 "configure"
8149 #include "confdefs.h"
8150 /* System header to define __stub macros and hopefully few prototypes,
8151 which can conflict with char $ac_func(); below. */
8153 /* Override any gcc2 internal prototype to avoid an error. */
8154 /* We use char because int might match the return type of a gcc2
8155 builtin and then its argument prototype would still apply. */
8160 /* The GNU C library defines this for functions which it implements
8161 to always fail with ENOSYS. Some functions are actually named
8162 something starting with __ and the normal name is an alias. */
8163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8171 if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8173 eval "ac_cv_func_$ac_func=yes"
8175 echo "configure: failed program was:" >&5
8176 cat conftest.$ac_ext >&5
8178 eval "ac_cv_func_$ac_func=no"
8183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8184 echo "$ac_t""yes" 1>&6
8185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8186 cat >> confdefs.h <<EOF
8187 #define $ac_tr_func 1
8191 echo "$ac_t""no" 1>&6
8192 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8197 if test x$ac_cv_func_copysignl = x"yes"; then
8198 for ac_func in __signbitl
8200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8201 echo "configure:8202: checking for $ac_func" >&5
8202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8203 echo $ac_n "(cached) $ac_c" 1>&6
8205 cat > conftest.$ac_ext <<EOF
8206 #line 8207 "configure"
8207 #include "confdefs.h"
8208 /* System header to define __stub macros and hopefully few prototypes,
8209 which can conflict with char $ac_func(); below. */
8211 /* Override any gcc2 internal prototype to avoid an error. */
8212 /* We use char because int might match the return type of a gcc2
8213 builtin and then its argument prototype would still apply. */
8218 /* The GNU C library defines this for functions which it implements
8219 to always fail with ENOSYS. Some functions are actually named
8220 something starting with __ and the normal name is an alias. */
8221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8229 if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8231 eval "ac_cv_func_$ac_func=yes"
8233 echo "configure: failed program was:" >&5
8234 cat conftest.$ac_ext >&5
8236 eval "ac_cv_func_$ac_func=no"
8241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8242 echo "$ac_t""yes" 1>&6
8243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8244 cat >> confdefs.h <<EOF
8245 #define $ac_tr_func 1
8249 echo "$ac_t""no" 1>&6
8250 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8260 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8261 echo "configure:8262: checking for mbstate_t" >&5
8262 cat > conftest.$ac_ext <<EOF
8263 #line 8264 "configure"
8264 #include "confdefs.h"
8267 mbstate_t teststate;
8270 if { (eval echo configure:8271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8274 echo "configure: failed program was:" >&5
8275 cat conftest.$ac_ext >&5
8280 echo "$ac_t""$have_mbstate_t" 1>&6
8281 if test x"$have_mbstate_t" = xyes; then
8282 cat >> confdefs.h <<\EOF
8283 #define HAVE_MBSTATE_T 1
8288 for ac_hdr in wchar.h
8290 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8292 echo "configure:8293: checking for $ac_hdr" >&5
8293 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8294 echo $ac_n "(cached) $ac_c" 1>&6
8296 cat > conftest.$ac_ext <<EOF
8297 #line 8298 "configure"
8298 #include "confdefs.h"
8301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8302 { (eval echo configure:8303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8304 if test -z "$ac_err"; then
8306 eval "ac_cv_header_$ac_safe=yes"
8309 echo "configure: failed program was:" >&5
8310 cat conftest.$ac_ext >&5
8312 eval "ac_cv_header_$ac_safe=no"
8316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8317 echo "$ac_t""yes" 1>&6
8318 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8319 cat >> confdefs.h <<EOF
8320 #define $ac_tr_hdr 1
8324 echo "$ac_t""no" 1>&6
8329 for ac_hdr in wctype.h
8331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8333 echo "configure:8334: checking for $ac_hdr" >&5
8334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8335 echo $ac_n "(cached) $ac_c" 1>&6
8337 cat > conftest.$ac_ext <<EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8343 { (eval echo configure:8344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8345 if test -z "$ac_err"; then
8347 eval "ac_cv_header_$ac_safe=yes"
8350 echo "configure: failed program was:" >&5
8351 cat conftest.$ac_ext >&5
8353 eval "ac_cv_header_$ac_safe=no"
8357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8358 echo "$ac_t""yes" 1>&6
8359 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8360 cat >> confdefs.h <<EOF
8361 #define $ac_tr_hdr 1
8365 echo "$ac_t""no" 1>&6
8371 if test x"$ac_has_wchar_h" = xyes &&
8372 test x"$ac_has_wctype_h" = xyes &&
8373 test x"$enable_c_mbchar" != xno; then
8375 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8376 echo "configure:8377: checking for WCHAR_MIN and WCHAR_MAX" >&5
8377 cat > conftest.$ac_ext <<EOF
8378 #line 8379 "configure"
8379 #include "confdefs.h"
8382 int i = WCHAR_MIN; int j = WCHAR_MAX;
8385 if { (eval echo configure:8386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8387 has_wchar_minmax=yes
8389 echo "configure: failed program was:" >&5
8390 cat conftest.$ac_ext >&5
8395 echo "$ac_t""$has_wchar_minmax" 1>&6
8397 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8398 echo "configure:8399: checking for WEOF" >&5
8399 cat > conftest.$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8409 if { (eval echo configure:8410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8413 echo "configure: failed program was:" >&5
8414 cat conftest.$ac_ext >&5
8419 echo "$ac_t""$has_weof" 1>&6
8422 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8425 echo "configure:8426: checking for $ac_func" >&5
8426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8427 echo $ac_n "(cached) $ac_c" 1>&6
8429 cat > conftest.$ac_ext <<EOF
8430 #line 8431 "configure"
8431 #include "confdefs.h"
8432 /* System header to define __stub macros and hopefully few prototypes,
8433 which can conflict with char $ac_func(); below. */
8435 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8442 /* The GNU C library defines this for functions which it implements
8443 to always fail with ENOSYS. Some functions are actually named
8444 something starting with __ and the normal name is an alias. */
8445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8455 eval "ac_cv_func_$ac_func=yes"
8457 echo "configure: failed program was:" >&5
8458 cat conftest.$ac_ext >&5
8460 eval "ac_cv_func_$ac_func=no"
8465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8466 echo "$ac_t""yes" 1>&6
8467 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8468 cat >> confdefs.h <<EOF
8469 #define $ac_tr_func 1
8473 echo "$ac_t""no" 1>&6
8480 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8481 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8482 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8483 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8484 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8485 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8488 echo "configure:8489: checking for $ac_func" >&5
8489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8490 echo $ac_n "(cached) $ac_c" 1>&6
8492 cat > conftest.$ac_ext <<EOF
8493 #line 8494 "configure"
8494 #include "confdefs.h"
8495 /* System header to define __stub macros and hopefully few prototypes,
8496 which can conflict with char $ac_func(); below. */
8498 /* Override any gcc2 internal prototype to avoid an error. */
8499 /* We use char because int might match the return type of a gcc2
8500 builtin and then its argument prototype would still apply. */
8505 /* The GNU C library defines this for functions which it implements
8506 to always fail with ENOSYS. Some functions are actually named
8507 something starting with __ and the normal name is an alias. */
8508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8516 if { (eval echo configure:8517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8518 eval "ac_cv_func_$ac_func=yes"
8520 echo "configure: failed program was:" >&5
8521 cat conftest.$ac_ext >&5
8523 eval "ac_cv_func_$ac_func=no"
8528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8529 echo "$ac_t""yes" 1>&6
8530 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8531 cat >> confdefs.h <<EOF
8532 #define $ac_tr_func 1
8536 echo "$ac_t""no" 1>&6
8543 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8544 echo "configure:8545: checking for ISO C99 wchar_t support" >&5
8545 if test x"$has_weof" = xyes &&
8546 test x"$has_wchar_minmax" = xyes &&
8547 test x"$ac_wfuncs" = xyes; then
8548 ac_isoC99_wchar_t=yes
8550 ac_isoC99_wchar_t=no
8552 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8554 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8555 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8556 echo "configure:8557: checking for iconv.h" >&5
8557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8558 echo $ac_n "(cached) $ac_c" 1>&6
8560 cat > conftest.$ac_ext <<EOF
8561 #line 8562 "configure"
8562 #include "confdefs.h"
8565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8566 { (eval echo configure:8567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8568 if test -z "$ac_err"; then
8570 eval "ac_cv_header_$ac_safe=yes"
8573 echo "configure: failed program was:" >&5
8574 cat conftest.$ac_ext >&5
8576 eval "ac_cv_header_$ac_safe=no"
8580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8581 echo "$ac_t""yes" 1>&6
8584 echo "$ac_t""no" 1>&6
8588 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8589 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8590 echo "configure:8591: checking for langinfo.h" >&5
8591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8592 echo $ac_n "(cached) $ac_c" 1>&6
8594 cat > conftest.$ac_ext <<EOF
8595 #line 8596 "configure"
8596 #include "confdefs.h"
8597 #include <langinfo.h>
8599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8600 { (eval echo configure:8601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8602 if test -z "$ac_err"; then
8604 eval "ac_cv_header_$ac_safe=yes"
8607 echo "configure: failed program was:" >&5
8608 cat conftest.$ac_ext >&5
8610 eval "ac_cv_header_$ac_safe=no"
8614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8615 echo "$ac_t""yes" 1>&6
8616 ac_has_langinfo_h=yes
8618 echo "$ac_t""no" 1>&6
8619 ac_has_langinfo_h=no
8623 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8624 echo "configure:8625: checking for iconv in -liconv" >&5
8625 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8627 echo $ac_n "(cached) $ac_c" 1>&6
8629 ac_save_LIBS="$LIBS"
8630 LIBS="-liconv $LIBS"
8631 cat > conftest.$ac_ext <<EOF
8632 #line 8633 "configure"
8633 #include "confdefs.h"
8634 /* Override any gcc2 internal prototype to avoid an error. */
8635 /* We use char because int might match the return type of a gcc2
8636 builtin and then its argument prototype would still apply. */
8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8645 eval "ac_cv_lib_$ac_lib_var=yes"
8647 echo "configure: failed program was:" >&5
8648 cat conftest.$ac_ext >&5
8650 eval "ac_cv_lib_$ac_lib_var=no"
8653 LIBS="$ac_save_LIBS"
8656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8657 echo "$ac_t""yes" 1>&6
8660 echo "$ac_t""no" 1>&6
8663 ac_save_LIBS="$LIBS"
8664 LIBS="$LIBS $libiconv"
8666 for ac_func in iconv_open iconv_close iconv nl_langinfo
8668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8669 echo "configure:8670: checking for $ac_func" >&5
8670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8673 cat > conftest.$ac_ext <<EOF
8674 #line 8675 "configure"
8675 #include "confdefs.h"
8676 /* System header to define __stub macros and hopefully few prototypes,
8677 which can conflict with char $ac_func(); below. */
8679 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8686 /* The GNU C library defines this for functions which it implements
8687 to always fail with ENOSYS. Some functions are actually named
8688 something starting with __ and the normal name is an alias. */
8689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8697 if { (eval echo configure:8698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8699 eval "ac_cv_func_$ac_func=yes"
8701 echo "configure: failed program was:" >&5
8702 cat conftest.$ac_ext >&5
8704 eval "ac_cv_func_$ac_func=no"
8709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8710 echo "$ac_t""yes" 1>&6
8711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8712 cat >> confdefs.h <<EOF
8713 #define $ac_tr_func 1
8718 echo "$ac_t""no" 1>&6
8724 LIBS="$ac_save_LIBS"
8726 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8727 echo "configure:8728: checking for XPG2 wchar_t support" >&5
8728 if test x"$ac_has_iconv_h" = xyes &&
8729 test x"$ac_has_langinfo_h" = xyes &&
8730 test x"$ac_XPG2funcs" = xyes; then
8735 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8737 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8738 echo "configure:8739: checking for enabled wchar_t specializations" >&5
8739 if test x"$ac_isoC99_wchar_t" = xyes &&
8740 test x"$ac_XPG2_wchar_t" = xyes; then
8741 cat >> confdefs.h <<\EOF
8742 #define _GLIBCPP_USE_WCHAR_T 1
8745 echo "$ac_t"""yes"" 1>&6
8747 echo "$ac_t"""no"" 1>&6
8750 echo "configure: warning: wchar_t support disabled." 1>&2
8753 os_include_dir="os/qnx/qnx6.1"
8754 cat >> confdefs.h <<\EOF
8758 cat >> confdefs.h <<\EOF
8762 cat >> confdefs.h <<\EOF
8763 #define HAVE_COSHF 1
8766 cat >> confdefs.h <<\EOF
8767 #define HAVE_COSHL 1
8770 cat >> confdefs.h <<\EOF
8774 cat >> confdefs.h <<\EOF
8778 cat >> confdefs.h <<\EOF
8779 #define HAVE_LOG10F 1
8782 cat >> confdefs.h <<\EOF
8783 #define HAVE_LOG10L 1
8786 cat >> confdefs.h <<\EOF
8790 cat >> confdefs.h <<\EOF
8794 cat >> confdefs.h <<\EOF
8795 #define HAVE_SINHF 1
8798 cat >> confdefs.h <<\EOF
8799 #define HAVE_SINHL 1
8804 os_include_dir="os/newlib"
8805 cat >> confdefs.h <<\EOF
8806 #define HAVE_HYPOT 1
8812 case "$target_alias" in
8816 cat >> confdefs.h <<\EOF
8817 #define HAVE_ACOSF 1
8820 cat >> confdefs.h <<\EOF
8821 #define HAVE_ASINF 1
8824 cat >> confdefs.h <<\EOF
8825 #define HAVE_ATAN2F 1
8828 cat >> confdefs.h <<\EOF
8829 #define HAVE_ATANF 1
8832 cat >> confdefs.h <<\EOF
8833 #define HAVE_CEILF 1
8836 cat >> confdefs.h <<\EOF
8837 #define HAVE_COPYSIGN 1
8840 cat >> confdefs.h <<\EOF
8841 #define HAVE_COPYSIGNF 1
8844 cat >> confdefs.h <<\EOF
8848 cat >> confdefs.h <<\EOF
8849 #define HAVE_COSHF 1
8852 cat >> confdefs.h <<\EOF
8856 cat >> confdefs.h <<\EOF
8857 #define HAVE_FABSF 1
8860 cat >> confdefs.h <<\EOF
8861 #define HAVE_FLOORF 1
8864 cat >> confdefs.h <<\EOF
8865 #define HAVE_FMODF 1
8868 cat >> confdefs.h <<\EOF
8869 #define HAVE_FREXPF 1
8872 cat >> confdefs.h <<\EOF
8873 #define HAVE_LDEXPF 1
8876 cat >> confdefs.h <<\EOF
8877 #define HAVE_LOG10F 1
8880 cat >> confdefs.h <<\EOF
8884 cat >> confdefs.h <<\EOF
8885 #define HAVE_MODFF 1
8888 cat >> confdefs.h <<\EOF
8892 cat >> confdefs.h <<\EOF
8896 cat >> confdefs.h <<\EOF
8897 #define HAVE_SINHF 1
8900 cat >> confdefs.h <<\EOF
8901 #define HAVE_SQRTF 1
8904 cat >> confdefs.h <<\EOF
8908 cat >> confdefs.h <<\EOF
8909 #define HAVE_TANHF 1
8914 # GLIBCPP_CHECK_STDLIB_SUPPORT
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_STRTOF 1
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_STRTOLD 1
8924 cat >> confdefs.h <<\EOF
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_ACOSF 1
8933 cat >> confdefs.h <<\EOF
8934 #define HAVE_ASINF 1
8937 cat >> confdefs.h <<\EOF
8938 #define HAVE_ATAN2F 1
8941 cat >> confdefs.h <<\EOF
8942 #define HAVE_ATANF 1
8945 cat >> confdefs.h <<\EOF
8946 #define HAVE_CEILF 1
8949 cat >> confdefs.h <<\EOF
8950 #define HAVE_COPYSIGN 1
8953 cat >> confdefs.h <<\EOF
8954 #define HAVE_COPYSIGNF 1
8957 cat >> confdefs.h <<\EOF
8961 cat >> confdefs.h <<\EOF
8962 #define HAVE_COSHF 1
8965 cat >> confdefs.h <<\EOF
8969 cat >> confdefs.h <<\EOF
8970 #define HAVE_FABSF 1
8973 cat >> confdefs.h <<\EOF
8974 #define HAVE_FINITE 1
8977 cat >> confdefs.h <<\EOF
8978 #define HAVE_FINITEF 1
8981 cat >> confdefs.h <<\EOF
8982 #define HAVE_FLOORF 1
8985 cat >> confdefs.h <<\EOF
8986 #define HAVE_FMODF 1
8989 cat >> confdefs.h <<\EOF
8990 #define HAVE_FREXPF 1
8993 cat >> confdefs.h <<\EOF
8994 #define HAVE_ISINF 1
8997 cat >> confdefs.h <<\EOF
8998 #define HAVE_ISINFF 1
9001 cat >> confdefs.h <<\EOF
9002 #define HAVE_ISNAN 1
9005 cat >> confdefs.h <<\EOF
9006 #define HAVE_ISNANF 1
9009 cat >> confdefs.h <<\EOF
9010 #define HAVE_LDEXPF 1
9013 cat >> confdefs.h <<\EOF
9014 #define HAVE_LOG10F 1
9017 cat >> confdefs.h <<\EOF
9021 cat >> confdefs.h <<\EOF
9022 #define HAVE_MODFF 1
9025 cat >> confdefs.h <<\EOF
9029 cat >> confdefs.h <<\EOF
9033 cat >> confdefs.h <<\EOF
9034 #define HAVE_SINHF 1
9037 cat >> confdefs.h <<\EOF
9038 #define HAVE_SQRTF 1
9041 cat >> confdefs.h <<\EOF
9045 cat >> confdefs.h <<\EOF
9046 #define HAVE_TANHF 1
9052 # At some point, we should differentiate between architectures
9053 # like x86, which have long double versions, and alpha/powerpc/etc.,
9054 # which don't. For the time being, punt.
9055 if test x"long_double_math_on_this_cpu" = x"yes"; then
9056 cat >> confdefs.h <<\EOF
9057 #define HAVE_ACOSL 1
9060 cat >> confdefs.h <<\EOF
9061 #define HAVE_ASINL 1
9064 cat >> confdefs.h <<\EOF
9065 #define HAVE_ATAN2L 1
9068 cat >> confdefs.h <<\EOF
9069 #define HAVE_ATANL 1
9072 cat >> confdefs.h <<\EOF
9073 #define HAVE_CEILL 1
9076 cat >> confdefs.h <<\EOF
9077 #define HAVE_COPYSIGNL 1
9080 cat >> confdefs.h <<\EOF
9084 cat >> confdefs.h <<\EOF
9085 #define HAVE_COSHL 1
9088 cat >> confdefs.h <<\EOF
9092 cat >> confdefs.h <<\EOF
9093 #define HAVE_FABSL 1
9096 cat >> confdefs.h <<\EOF
9097 #define HAVE_FINITEL 1
9100 cat >> confdefs.h <<\EOF
9101 #define HAVE_FLOORL 1
9104 cat >> confdefs.h <<\EOF
9105 #define HAVE_FMODL 1
9108 cat >> confdefs.h <<\EOF
9109 #define HAVE_FREXPL 1
9112 cat >> confdefs.h <<\EOF
9113 #define HAVE_ISINFL 1
9116 cat >> confdefs.h <<\EOF
9117 #define HAVE_ISNANL 1
9120 cat >> confdefs.h <<\EOF
9121 #define HAVE_LDEXPL 1
9124 cat >> confdefs.h <<\EOF
9125 #define HAVE_LOG10L 1
9128 cat >> confdefs.h <<\EOF
9132 cat >> confdefs.h <<\EOF
9133 #define HAVE_MODFL 1
9136 cat >> confdefs.h <<\EOF
9140 cat >> confdefs.h <<\EOF
9141 #define HAVE_SINCOSL 1
9144 cat >> confdefs.h <<\EOF
9148 cat >> confdefs.h <<\EOF
9149 #define HAVE_SINHL 1
9152 cat >> confdefs.h <<\EOF
9153 #define HAVE_SQRTL 1
9156 cat >> confdefs.h <<\EOF
9160 cat >> confdefs.h <<\EOF
9161 #define HAVE_TANHL 1
9168 # We are being configured natively. We can do more elaborate tests
9169 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9171 GLIBCPP_IS_CROSS_COMPILING=0
9174 # Check for available headers.
9175 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9176 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9180 echo "configure:9181: checking for $ac_hdr" >&5
9181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9182 echo $ac_n "(cached) $ac_c" 1>&6
9184 cat > conftest.$ac_ext <<EOF
9185 #line 9186 "configure"
9186 #include "confdefs.h"
9189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9190 { (eval echo configure:9191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9192 if test -z "$ac_err"; then
9194 eval "ac_cv_header_$ac_safe=yes"
9197 echo "configure: failed program was:" >&5
9198 cat conftest.$ac_ext >&5
9200 eval "ac_cv_header_$ac_safe=no"
9204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9205 echo "$ac_t""yes" 1>&6
9206 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9207 cat >> confdefs.h <<EOF
9208 #define $ac_tr_hdr 1
9212 echo "$ac_t""no" 1>&6
9218 # All these tests are for C++; save the language and the compiler flags.
9219 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9220 # found in GLIBCPP_CONFIGURE.
9223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9224 ac_cpp='$CXXCPP $CPPFLAGS'
9225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9227 cross_compiling=$ac_cv_prog_cxx_cross
9229 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9230 ac_save_CXXFLAGS="$CXXFLAGS"
9232 # Check for maintainer-mode bits.
9233 if test x"$USE_MAINTAINER_MODE" = xno; then
9239 # Check for -ffunction-sections -fdata-sections
9240 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9241 echo "configure:9242: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9242 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9243 cat > conftest.$ac_ext <<EOF
9244 #line 9245 "configure"
9245 #include "confdefs.h"
9252 if { (eval echo configure:9253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9256 echo "configure: failed program was:" >&5
9257 cat conftest.$ac_ext >&5
9262 if test "$ac_test_CXXFLAGS" = set; then
9263 CXXFLAGS="$ac_save_CXXFLAGS"
9265 # this is the suspicious part
9268 if test x"$ac_fdsections" = x"yes" &&
9269 test x"$enable_debug" = x"no"; then
9270 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9272 echo "$ac_t""$ac_fdsections" 1>&6
9275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9276 ac_cpp='$CPP $CPPFLAGS'
9277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9279 cross_compiling=$ac_cv_prog_cc_cross
9285 # If we're not using GNU ld, then there's no point in even trying these
9286 # tests. Check for that first. We should have already tested for gld
9287 # by now (in libtool), but require it now just to be safe...
9288 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9289 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9292 # The name set by libtool depends on the version of libtool. Shame on us
9293 # for depending on an impl detail, but c'est la vie. Older versions used
9294 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9295 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9296 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9297 # set (hence we're using an older libtool), then set it.
9298 if test x${with_gnu_ld+set} != xset; then
9299 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9300 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9303 with_gnu_ld=$ac_cv_prog_gnu_ld
9307 # Start by getting the version number. I think the libtool test already
9308 # does some of this, but throws away the result.
9310 ldver=`$LD --version 2>/dev/null | head -1 | \
9311 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9313 glibcpp_gnu_ld_version=`echo $ldver | \
9314 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9316 # Set --gc-sections.
9317 if test "$with_gnu_ld" = "notbroken"; then
9318 # GNU ld it is! Joy and bunny rabbits!
9320 # All these tests are for C++; save the language and the compiler flags.
9321 # Need to do this so that g++ won't try to link in libstdc++
9322 ac_test_CFLAGS="${CFLAGS+set}"
9323 ac_save_CFLAGS="$CFLAGS"
9324 CFLAGS='-x c++ -Wl,--gc-sections'
9326 # Check for -Wl,--gc-sections
9327 # XXX This test is broken at the moment, as symbols required for
9328 # linking are now in libsupc++ (not built yet.....). In addition,
9329 # this test has cored on solaris in the past. In addition,
9330 # --gc-sections doesn't really work at the moment (keeps on discarding
9331 # used sections, first .eh_frame and now some of the glibc sections for
9332 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9333 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9334 echo "configure:9335: checking for ld that supports -Wl,--gc-sections" >&5
9335 if test "$cross_compiling" = yes; then
9336 ac_sectionLDflags=yes
9338 cat > conftest.$ac_ext <<EOF
9339 #line 9340 "configure"
9340 #include "confdefs.h"
9350 if { (eval echo configure:9351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9352 ac_sectionLDflags=yes
9354 echo "configure: failed program was:" >&5
9355 cat conftest.$ac_ext >&5
9357 ac_sectionLDflags=no
9362 if test "$ac_test_CFLAGS" = set; then
9363 CFLAGS="$ac_save_CFLAGS"
9365 # this is the suspicious part
9368 if test "$ac_sectionLDflags" = "yes"; then
9369 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9371 echo "$ac_t""$ac_sectionLDflags" 1>&6
9374 # Set linker optimization flags.
9375 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9376 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9384 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9385 echo "configure:9386: checking for __builtin_abs declaration" >&5
9386 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9387 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9388 echo $ac_n "(cached) $ac_c" 1>&6
9393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9394 ac_cpp='$CXXCPP $CPPFLAGS'
9395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9397 cross_compiling=$ac_cv_prog_cxx_cross
9399 cat > conftest.$ac_ext <<EOF
9400 #line 9401 "configure"
9401 #include "confdefs.h"
9407 if { (eval echo configure:9408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9409 glibcpp_cv_func___builtin_abs_use=yes
9411 echo "configure: failed program was:" >&5
9412 cat conftest.$ac_ext >&5
9414 glibcpp_cv_func___builtin_abs_use=no
9418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9419 ac_cpp='$CPP $CPPFLAGS'
9420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9422 cross_compiling=$ac_cv_prog_cc_cross
9428 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9429 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9430 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9431 echo "configure:9432: checking for __builtin_abs linkage" >&5
9432 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9433 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9434 echo $ac_n "(cached) $ac_c" 1>&6
9437 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure"
9439 #include "confdefs.h"
9445 if { (eval echo configure:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9447 glibcpp_cv_func___builtin_abs_link=yes
9449 echo "configure: failed program was:" >&5
9450 cat conftest.$ac_ext >&5
9452 glibcpp_cv_func___builtin_abs_link=no
9459 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9460 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9461 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9462 cat >> confdefs.h <<EOF
9463 #define ${ac_tr_func} 1
9470 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9471 echo "configure:9472: checking for __builtin_fabsf declaration" >&5
9472 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9473 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9474 echo $ac_n "(cached) $ac_c" 1>&6
9479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9480 ac_cpp='$CXXCPP $CPPFLAGS'
9481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9483 cross_compiling=$ac_cv_prog_cxx_cross
9485 cat > conftest.$ac_ext <<EOF
9486 #line 9487 "configure"
9487 #include "confdefs.h"
9493 if { (eval echo configure:9494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9495 glibcpp_cv_func___builtin_fabsf_use=yes
9497 echo "configure: failed program was:" >&5
9498 cat conftest.$ac_ext >&5
9500 glibcpp_cv_func___builtin_fabsf_use=no
9504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9505 ac_cpp='$CPP $CPPFLAGS'
9506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9508 cross_compiling=$ac_cv_prog_cc_cross
9514 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9515 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9516 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9517 echo "configure:9518: checking for __builtin_fabsf linkage" >&5
9518 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9519 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9523 cat > conftest.$ac_ext <<EOF
9524 #line 9525 "configure"
9525 #include "confdefs.h"
9531 if { (eval echo configure:9532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9533 glibcpp_cv_func___builtin_fabsf_link=yes
9535 echo "configure: failed program was:" >&5
9536 cat conftest.$ac_ext >&5
9538 glibcpp_cv_func___builtin_fabsf_link=no
9545 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9546 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9547 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9548 cat >> confdefs.h <<EOF
9549 #define ${ac_tr_func} 1
9556 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9557 echo "configure:9558: checking for __builtin_fabs declaration" >&5
9558 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9559 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9560 echo $ac_n "(cached) $ac_c" 1>&6
9565 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9566 ac_cpp='$CXXCPP $CPPFLAGS'
9567 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9568 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9569 cross_compiling=$ac_cv_prog_cxx_cross
9571 cat > conftest.$ac_ext <<EOF
9572 #line 9573 "configure"
9573 #include "confdefs.h"
9579 if { (eval echo configure:9580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9581 glibcpp_cv_func___builtin_fabs_use=yes
9583 echo "configure: failed program was:" >&5
9584 cat conftest.$ac_ext >&5
9586 glibcpp_cv_func___builtin_fabs_use=no
9590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9591 ac_cpp='$CPP $CPPFLAGS'
9592 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9593 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9594 cross_compiling=$ac_cv_prog_cc_cross
9600 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9601 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9602 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9603 echo "configure:9604: checking for __builtin_fabs linkage" >&5
9604 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9605 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9609 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9617 if { (eval echo configure:9618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9619 glibcpp_cv_func___builtin_fabs_link=yes
9621 echo "configure: failed program was:" >&5
9622 cat conftest.$ac_ext >&5
9624 glibcpp_cv_func___builtin_fabs_link=no
9631 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9632 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9633 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9634 cat >> confdefs.h <<EOF
9635 #define ${ac_tr_func} 1
9642 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9643 echo "configure:9644: checking for __builtin_fabsl declaration" >&5
9644 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9645 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9652 ac_cpp='$CXXCPP $CPPFLAGS'
9653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9655 cross_compiling=$ac_cv_prog_cxx_cross
9657 cat > conftest.$ac_ext <<EOF
9658 #line 9659 "configure"
9659 #include "confdefs.h"
9665 if { (eval echo configure:9666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9667 glibcpp_cv_func___builtin_fabsl_use=yes
9669 echo "configure: failed program was:" >&5
9670 cat conftest.$ac_ext >&5
9672 glibcpp_cv_func___builtin_fabsl_use=no
9676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9677 ac_cpp='$CPP $CPPFLAGS'
9678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9680 cross_compiling=$ac_cv_prog_cc_cross
9686 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9687 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9688 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9689 echo "configure:9690: checking for __builtin_fabsl linkage" >&5
9690 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9691 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9695 cat > conftest.$ac_ext <<EOF
9696 #line 9697 "configure"
9697 #include "confdefs.h"
9703 if { (eval echo configure:9704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9705 glibcpp_cv_func___builtin_fabsl_link=yes
9707 echo "configure: failed program was:" >&5
9708 cat conftest.$ac_ext >&5
9710 glibcpp_cv_func___builtin_fabsl_link=no
9717 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9718 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9719 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9720 cat >> confdefs.h <<EOF
9721 #define ${ac_tr_func} 1
9728 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9729 echo "configure:9730: checking for __builtin_labs declaration" >&5
9730 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9731 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9737 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9738 ac_cpp='$CXXCPP $CPPFLAGS'
9739 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9740 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9741 cross_compiling=$ac_cv_prog_cxx_cross
9743 cat > conftest.$ac_ext <<EOF
9744 #line 9745 "configure"
9745 #include "confdefs.h"
9751 if { (eval echo configure:9752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9753 glibcpp_cv_func___builtin_labs_use=yes
9755 echo "configure: failed program was:" >&5
9756 cat conftest.$ac_ext >&5
9758 glibcpp_cv_func___builtin_labs_use=no
9762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9763 ac_cpp='$CPP $CPPFLAGS'
9764 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9765 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9766 cross_compiling=$ac_cv_prog_cc_cross
9772 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9773 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9774 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9775 echo "configure:9776: checking for __builtin_labs linkage" >&5
9776 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9777 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9781 cat > conftest.$ac_ext <<EOF
9782 #line 9783 "configure"
9783 #include "confdefs.h"
9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9791 glibcpp_cv_func___builtin_labs_link=yes
9793 echo "configure: failed program was:" >&5
9794 cat conftest.$ac_ext >&5
9796 glibcpp_cv_func___builtin_labs_link=no
9803 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9804 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9805 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9806 cat >> confdefs.h <<EOF
9807 #define ${ac_tr_func} 1
9815 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9816 echo "configure:9817: checking for __builtin_sqrtf declaration" >&5
9817 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9818 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9819 echo $ac_n "(cached) $ac_c" 1>&6
9824 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9825 ac_cpp='$CXXCPP $CPPFLAGS'
9826 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9827 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9828 cross_compiling=$ac_cv_prog_cxx_cross
9830 cat > conftest.$ac_ext <<EOF
9831 #line 9832 "configure"
9832 #include "confdefs.h"
9838 if { (eval echo configure:9839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9840 glibcpp_cv_func___builtin_sqrtf_use=yes
9842 echo "configure: failed program was:" >&5
9843 cat conftest.$ac_ext >&5
9845 glibcpp_cv_func___builtin_sqrtf_use=no
9849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9850 ac_cpp='$CPP $CPPFLAGS'
9851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9853 cross_compiling=$ac_cv_prog_cc_cross
9859 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9860 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9861 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9862 echo "configure:9863: checking for __builtin_sqrtf linkage" >&5
9863 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9864 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9865 echo $ac_n "(cached) $ac_c" 1>&6
9868 cat > conftest.$ac_ext <<EOF
9869 #line 9870 "configure"
9870 #include "confdefs.h"
9876 if { (eval echo configure:9877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9878 glibcpp_cv_func___builtin_sqrtf_link=yes
9880 echo "configure: failed program was:" >&5
9881 cat conftest.$ac_ext >&5
9883 glibcpp_cv_func___builtin_sqrtf_link=no
9890 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9891 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9892 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9893 cat >> confdefs.h <<EOF
9894 #define ${ac_tr_func} 1
9901 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9902 echo "configure:9903: checking for __builtin_sqrt declaration" >&5
9903 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9904 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9905 echo $ac_n "(cached) $ac_c" 1>&6
9910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9911 ac_cpp='$CXXCPP $CPPFLAGS'
9912 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9913 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9914 cross_compiling=$ac_cv_prog_cxx_cross
9916 cat > conftest.$ac_ext <<EOF
9917 #line 9918 "configure"
9918 #include "confdefs.h"
9924 if { (eval echo configure:9925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9926 glibcpp_cv_func___builtin_sqrt_use=yes
9928 echo "configure: failed program was:" >&5
9929 cat conftest.$ac_ext >&5
9931 glibcpp_cv_func___builtin_sqrt_use=no
9935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9936 ac_cpp='$CPP $CPPFLAGS'
9937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9939 cross_compiling=$ac_cv_prog_cc_cross
9945 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9946 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9947 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9948 echo "configure:9949: checking for __builtin_sqrt linkage" >&5
9949 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9950 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9951 echo $ac_n "(cached) $ac_c" 1>&6
9954 cat > conftest.$ac_ext <<EOF
9955 #line 9956 "configure"
9956 #include "confdefs.h"
9962 if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9964 glibcpp_cv_func___builtin_sqrt_link=yes
9966 echo "configure: failed program was:" >&5
9967 cat conftest.$ac_ext >&5
9969 glibcpp_cv_func___builtin_sqrt_link=no
9976 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9977 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9978 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9979 cat >> confdefs.h <<EOF
9980 #define ${ac_tr_func} 1
9987 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9988 echo "configure:9989: checking for __builtin_sqrtl declaration" >&5
9989 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9990 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9991 echo $ac_n "(cached) $ac_c" 1>&6
9996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9997 ac_cpp='$CXXCPP $CPPFLAGS'
9998 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9999 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10000 cross_compiling=$ac_cv_prog_cxx_cross
10002 cat > conftest.$ac_ext <<EOF
10003 #line 10004 "configure"
10004 #include "confdefs.h"
10007 __builtin_sqrtl(0);
10010 if { (eval echo configure:10011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10012 glibcpp_cv_func___builtin_sqrtl_use=yes
10014 echo "configure: failed program was:" >&5
10015 cat conftest.$ac_ext >&5
10017 glibcpp_cv_func___builtin_sqrtl_use=no
10021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10022 ac_cpp='$CPP $CPPFLAGS'
10023 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10024 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10025 cross_compiling=$ac_cv_prog_cc_cross
10031 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10032 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10033 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10034 echo "configure:10035: checking for __builtin_sqrtl linkage" >&5
10035 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10036 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10037 echo $ac_n "(cached) $ac_c" 1>&6
10040 cat > conftest.$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10045 __builtin_sqrtl(0);
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10050 glibcpp_cv_func___builtin_sqrtl_link=yes
10052 echo "configure: failed program was:" >&5
10053 cat conftest.$ac_ext >&5
10055 glibcpp_cv_func___builtin_sqrtl_link=no
10062 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10063 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10064 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10065 cat >> confdefs.h <<EOF
10066 #define ${ac_tr_func} 1
10074 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10075 echo "configure:10076: checking for __builtin_sinf declaration" >&5
10076 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10077 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10084 ac_cpp='$CXXCPP $CPPFLAGS'
10085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10087 cross_compiling=$ac_cv_prog_cxx_cross
10089 cat > conftest.$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10097 if { (eval echo configure:10098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10099 glibcpp_cv_func___builtin_sinf_use=yes
10101 echo "configure: failed program was:" >&5
10102 cat conftest.$ac_ext >&5
10104 glibcpp_cv_func___builtin_sinf_use=no
10108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10109 ac_cpp='$CPP $CPPFLAGS'
10110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10112 cross_compiling=$ac_cv_prog_cc_cross
10118 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10119 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10120 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10121 echo "configure:10122: checking for __builtin_sinf linkage" >&5
10122 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10123 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10124 echo $ac_n "(cached) $ac_c" 1>&6
10127 cat > conftest.$ac_ext <<EOF
10128 #line 10129 "configure"
10129 #include "confdefs.h"
10135 if { (eval echo configure:10136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10137 glibcpp_cv_func___builtin_sinf_link=yes
10139 echo "configure: failed program was:" >&5
10140 cat conftest.$ac_ext >&5
10142 glibcpp_cv_func___builtin_sinf_link=no
10149 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10150 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10151 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10152 cat >> confdefs.h <<EOF
10153 #define ${ac_tr_func} 1
10160 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10161 echo "configure:10162: checking for __builtin_sin declaration" >&5
10162 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10163 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10164 echo $ac_n "(cached) $ac_c" 1>&6
10169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10170 ac_cpp='$CXXCPP $CPPFLAGS'
10171 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10172 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10173 cross_compiling=$ac_cv_prog_cxx_cross
10175 cat > conftest.$ac_ext <<EOF
10176 #line 10177 "configure"
10177 #include "confdefs.h"
10183 if { (eval echo configure:10184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10185 glibcpp_cv_func___builtin_sin_use=yes
10187 echo "configure: failed program was:" >&5
10188 cat conftest.$ac_ext >&5
10190 glibcpp_cv_func___builtin_sin_use=no
10194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10195 ac_cpp='$CPP $CPPFLAGS'
10196 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10197 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10198 cross_compiling=$ac_cv_prog_cc_cross
10204 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10205 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10206 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10207 echo "configure:10208: checking for __builtin_sin linkage" >&5
10208 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10209 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10210 echo $ac_n "(cached) $ac_c" 1>&6
10213 cat > conftest.$ac_ext <<EOF
10214 #line 10215 "configure"
10215 #include "confdefs.h"
10221 if { (eval echo configure:10222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10223 glibcpp_cv_func___builtin_sin_link=yes
10225 echo "configure: failed program was:" >&5
10226 cat conftest.$ac_ext >&5
10228 glibcpp_cv_func___builtin_sin_link=no
10235 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10236 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10237 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10238 cat >> confdefs.h <<EOF
10239 #define ${ac_tr_func} 1
10246 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10247 echo "configure:10248: checking for __builtin_sinl declaration" >&5
10248 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10249 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CXXCPP $CPPFLAGS'
10257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cxx_cross
10261 cat > conftest.$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10269 if { (eval echo configure:10270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10271 glibcpp_cv_func___builtin_sinl_use=yes
10273 echo "configure: failed program was:" >&5
10274 cat conftest.$ac_ext >&5
10276 glibcpp_cv_func___builtin_sinl_use=no
10280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10281 ac_cpp='$CPP $CPPFLAGS'
10282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10284 cross_compiling=$ac_cv_prog_cc_cross
10290 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10291 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10292 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10293 echo "configure:10294: checking for __builtin_sinl linkage" >&5
10294 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10295 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10296 echo $ac_n "(cached) $ac_c" 1>&6
10299 cat > conftest.$ac_ext <<EOF
10300 #line 10301 "configure"
10301 #include "confdefs.h"
10307 if { (eval echo configure:10308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10309 glibcpp_cv_func___builtin_sinl_link=yes
10311 echo "configure: failed program was:" >&5
10312 cat conftest.$ac_ext >&5
10314 glibcpp_cv_func___builtin_sinl_link=no
10321 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10322 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10323 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10324 cat >> confdefs.h <<EOF
10325 #define ${ac_tr_func} 1
10333 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10334 echo "configure:10335: checking for __builtin_cosf declaration" >&5
10335 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10336 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10337 echo $ac_n "(cached) $ac_c" 1>&6
10342 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10343 ac_cpp='$CXXCPP $CPPFLAGS'
10344 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10345 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10346 cross_compiling=$ac_cv_prog_cxx_cross
10348 cat > conftest.$ac_ext <<EOF
10349 #line 10350 "configure"
10350 #include "confdefs.h"
10356 if { (eval echo configure:10357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10358 glibcpp_cv_func___builtin_cosf_use=yes
10360 echo "configure: failed program was:" >&5
10361 cat conftest.$ac_ext >&5
10363 glibcpp_cv_func___builtin_cosf_use=no
10367 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10368 ac_cpp='$CPP $CPPFLAGS'
10369 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10370 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10371 cross_compiling=$ac_cv_prog_cc_cross
10377 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10378 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10379 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10380 echo "configure:10381: checking for __builtin_cosf linkage" >&5
10381 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10382 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10383 echo $ac_n "(cached) $ac_c" 1>&6
10386 cat > conftest.$ac_ext <<EOF
10387 #line 10388 "configure"
10388 #include "confdefs.h"
10394 if { (eval echo configure:10395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10396 glibcpp_cv_func___builtin_cosf_link=yes
10398 echo "configure: failed program was:" >&5
10399 cat conftest.$ac_ext >&5
10401 glibcpp_cv_func___builtin_cosf_link=no
10408 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10409 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10410 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10411 cat >> confdefs.h <<EOF
10412 #define ${ac_tr_func} 1
10419 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10420 echo "configure:10421: checking for __builtin_cos declaration" >&5
10421 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10422 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10429 ac_cpp='$CXXCPP $CPPFLAGS'
10430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10432 cross_compiling=$ac_cv_prog_cxx_cross
10434 cat > conftest.$ac_ext <<EOF
10435 #line 10436 "configure"
10436 #include "confdefs.h"
10442 if { (eval echo configure:10443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10444 glibcpp_cv_func___builtin_cos_use=yes
10446 echo "configure: failed program was:" >&5
10447 cat conftest.$ac_ext >&5
10449 glibcpp_cv_func___builtin_cos_use=no
10453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10454 ac_cpp='$CPP $CPPFLAGS'
10455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10457 cross_compiling=$ac_cv_prog_cc_cross
10463 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10464 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10465 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10466 echo "configure:10467: checking for __builtin_cos linkage" >&5
10467 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10468 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10469 echo $ac_n "(cached) $ac_c" 1>&6
10472 cat > conftest.$ac_ext <<EOF
10473 #line 10474 "configure"
10474 #include "confdefs.h"
10480 if { (eval echo configure:10481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10482 glibcpp_cv_func___builtin_cos_link=yes
10484 echo "configure: failed program was:" >&5
10485 cat conftest.$ac_ext >&5
10487 glibcpp_cv_func___builtin_cos_link=no
10494 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10495 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10496 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10497 cat >> confdefs.h <<EOF
10498 #define ${ac_tr_func} 1
10505 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10506 echo "configure:10507: checking for __builtin_cosl declaration" >&5
10507 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10508 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10509 echo $ac_n "(cached) $ac_c" 1>&6
10514 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10515 ac_cpp='$CXXCPP $CPPFLAGS'
10516 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10517 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10518 cross_compiling=$ac_cv_prog_cxx_cross
10520 cat > conftest.$ac_ext <<EOF
10521 #line 10522 "configure"
10522 #include "confdefs.h"
10528 if { (eval echo configure:10529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10530 glibcpp_cv_func___builtin_cosl_use=yes
10532 echo "configure: failed program was:" >&5
10533 cat conftest.$ac_ext >&5
10535 glibcpp_cv_func___builtin_cosl_use=no
10539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10540 ac_cpp='$CPP $CPPFLAGS'
10541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10543 cross_compiling=$ac_cv_prog_cc_cross
10549 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10550 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10551 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10552 echo "configure:10553: checking for __builtin_cosl linkage" >&5
10553 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10554 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10555 echo $ac_n "(cached) $ac_c" 1>&6
10558 cat > conftest.$ac_ext <<EOF
10559 #line 10560 "configure"
10560 #include "confdefs.h"
10566 if { (eval echo configure:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10568 glibcpp_cv_func___builtin_cosl_link=yes
10570 echo "configure: failed program was:" >&5
10571 cat conftest.$ac_ext >&5
10573 glibcpp_cv_func___builtin_cosl_link=no
10580 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10581 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10582 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10583 cat >> confdefs.h <<EOF
10584 #define ${ac_tr_func} 1
10592 if test x$dummyvar = x"yes"; then
10593 cat >> confdefs.h <<\EOF
10594 #define HAVE___BUILTIN_ABS 1
10597 cat >> confdefs.h <<\EOF
10598 #define HAVE___BUILTIN_LABS 1
10601 cat >> confdefs.h <<\EOF
10602 #define HAVE___BUILTIN_COS 1
10605 cat >> confdefs.h <<\EOF
10606 #define HAVE___BUILTIN_COSF 1
10609 cat >> confdefs.h <<\EOF
10610 #define HAVE___BUILTIN_COSL 1
10613 cat >> confdefs.h <<\EOF
10614 #define HAVE___BUILTIN_FABS 1
10617 cat >> confdefs.h <<\EOF
10618 #define HAVE___BUILTIN_FABSF 1
10621 cat >> confdefs.h <<\EOF
10622 #define HAVE___BUILTIN_FABSL 1
10625 cat >> confdefs.h <<\EOF
10626 #define HAVE___BUILTIN_SIN 1
10629 cat >> confdefs.h <<\EOF
10630 #define HAVE___BUILTIN_SINF 1
10633 cat >> confdefs.h <<\EOF
10634 #define HAVE___BUILTIN_SINL 1
10637 cat >> confdefs.h <<\EOF
10638 #define HAVE___BUILTIN_SQRT 1
10641 cat >> confdefs.h <<\EOF
10642 #define HAVE___BUILTIN_SQRTF 1
10645 cat >> confdefs.h <<\EOF
10646 #define HAVE___BUILTIN_SQRTL 1
10652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10653 ac_save_CXXFLAGS="$CXXFLAGS"
10654 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10656 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10657 echo "configure:10658: checking for sin in -lm" >&5
10658 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10659 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10660 echo $ac_n "(cached) $ac_c" 1>&6
10662 ac_save_LIBS="$LIBS"
10664 cat > conftest.$ac_ext <<EOF
10665 #line 10666 "configure"
10666 #include "confdefs.h"
10667 /* Override any gcc2 internal prototype to avoid an error. */
10668 /* We use char because int might match the return type of a gcc2
10669 builtin and then its argument prototype would still apply. */
10676 if { (eval echo configure:10677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10678 eval "ac_cv_lib_$ac_lib_var=yes"
10680 echo "configure: failed program was:" >&5
10681 cat conftest.$ac_ext >&5
10683 eval "ac_cv_lib_$ac_lib_var=no"
10686 LIBS="$ac_save_LIBS"
10689 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10690 echo "$ac_t""yes" 1>&6
10693 echo "$ac_t""no" 1>&6
10696 ac_save_LIBS="$LIBS"
10701 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10702 echo "configure:10703: checking for isinf declaration" >&5
10703 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10704 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10705 echo $ac_n "(cached) $ac_c" 1>&6
10710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10711 ac_cpp='$CXXCPP $CPPFLAGS'
10712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10714 cross_compiling=$ac_cv_prog_cxx_cross
10716 cat > conftest.$ac_ext <<EOF
10717 #line 10718 "configure"
10718 #include "confdefs.h"
10720 #ifdef HAVE_IEEEFP_H
10721 #include <ieeefp.h>
10728 if { (eval echo configure:10729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10730 glibcpp_cv_func_isinf_use=yes
10732 echo "configure: failed program was:" >&5
10733 cat conftest.$ac_ext >&5
10735 glibcpp_cv_func_isinf_use=no
10739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10740 ac_cpp='$CPP $CPPFLAGS'
10741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10743 cross_compiling=$ac_cv_prog_cc_cross
10749 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10751 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10752 for ac_func in isinf
10754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10755 echo "configure:10756: checking for $ac_func" >&5
10756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10757 echo $ac_n "(cached) $ac_c" 1>&6
10759 cat > conftest.$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char $ac_func(); below. */
10764 #include <assert.h>
10765 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10772 /* The GNU C library defines this for functions which it implements
10773 to always fail with ENOSYS. Some functions are actually named
10774 something starting with __ and the normal name is an alias. */
10775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10783 if { (eval echo configure:10784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10785 eval "ac_cv_func_$ac_func=yes"
10787 echo "configure: failed program was:" >&5
10788 cat conftest.$ac_ext >&5
10790 eval "ac_cv_func_$ac_func=no"
10795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10796 echo "$ac_t""yes" 1>&6
10797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10798 cat >> confdefs.h <<EOF
10799 #define $ac_tr_func 1
10803 echo "$ac_t""no" 1>&6
10809 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10810 echo "configure:10811: checking for _isinf declaration" >&5
10811 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10812 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10813 echo $ac_n "(cached) $ac_c" 1>&6
10818 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10819 ac_cpp='$CXXCPP $CPPFLAGS'
10820 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10821 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10822 cross_compiling=$ac_cv_prog_cxx_cross
10824 cat > conftest.$ac_ext <<EOF
10825 #line 10826 "configure"
10826 #include "confdefs.h"
10828 #ifdef HAVE_IEEEFP_H
10829 #include <ieeefp.h>
10836 if { (eval echo configure:10837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10838 glibcpp_cv_func__isinf_use=yes
10840 echo "configure: failed program was:" >&5
10841 cat conftest.$ac_ext >&5
10843 glibcpp_cv_func__isinf_use=no
10847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10848 ac_cpp='$CPP $CPPFLAGS'
10849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10851 cross_compiling=$ac_cv_prog_cc_cross
10857 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10859 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10860 for ac_func in _isinf
10862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10863 echo "configure:10864: checking for $ac_func" >&5
10864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10865 echo $ac_n "(cached) $ac_c" 1>&6
10867 cat > conftest.$ac_ext <<EOF
10868 #line 10869 "configure"
10869 #include "confdefs.h"
10870 /* System header to define __stub macros and hopefully few prototypes,
10871 which can conflict with char $ac_func(); below. */
10872 #include <assert.h>
10873 /* Override any gcc2 internal prototype to avoid an error. */
10874 /* We use char because int might match the return type of a gcc2
10875 builtin and then its argument prototype would still apply. */
10880 /* The GNU C library defines this for functions which it implements
10881 to always fail with ENOSYS. Some functions are actually named
10882 something starting with __ and the normal name is an alias. */
10883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10891 if { (eval echo configure:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10893 eval "ac_cv_func_$ac_func=yes"
10895 echo "configure: failed program was:" >&5
10896 cat conftest.$ac_ext >&5
10898 eval "ac_cv_func_$ac_func=no"
10903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10904 echo "$ac_t""yes" 1>&6
10905 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10906 cat >> confdefs.h <<EOF
10907 #define $ac_tr_func 1
10911 echo "$ac_t""no" 1>&6
10920 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10921 echo "configure:10922: checking for isnan declaration" >&5
10922 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10923 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10924 echo $ac_n "(cached) $ac_c" 1>&6
10929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10930 ac_cpp='$CXXCPP $CPPFLAGS'
10931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10933 cross_compiling=$ac_cv_prog_cxx_cross
10935 cat > conftest.$ac_ext <<EOF
10936 #line 10937 "configure"
10937 #include "confdefs.h"
10939 #ifdef HAVE_IEEEFP_H
10940 #include <ieeefp.h>
10947 if { (eval echo configure:10948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10949 glibcpp_cv_func_isnan_use=yes
10951 echo "configure: failed program was:" >&5
10952 cat conftest.$ac_ext >&5
10954 glibcpp_cv_func_isnan_use=no
10958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10959 ac_cpp='$CPP $CPPFLAGS'
10960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10962 cross_compiling=$ac_cv_prog_cc_cross
10968 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10970 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10971 for ac_func in isnan
10973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10974 echo "configure:10975: checking for $ac_func" >&5
10975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10976 echo $ac_n "(cached) $ac_c" 1>&6
10978 cat > conftest.$ac_ext <<EOF
10979 #line 10980 "configure"
10980 #include "confdefs.h"
10981 /* System header to define __stub macros and hopefully few prototypes,
10982 which can conflict with char $ac_func(); below. */
10983 #include <assert.h>
10984 /* Override any gcc2 internal prototype to avoid an error. */
10985 /* We use char because int might match the return type of a gcc2
10986 builtin and then its argument prototype would still apply. */
10991 /* The GNU C library defines this for functions which it implements
10992 to always fail with ENOSYS. Some functions are actually named
10993 something starting with __ and the normal name is an alias. */
10994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11002 if { (eval echo configure:11003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11004 eval "ac_cv_func_$ac_func=yes"
11006 echo "configure: failed program was:" >&5
11007 cat conftest.$ac_ext >&5
11009 eval "ac_cv_func_$ac_func=no"
11014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11015 echo "$ac_t""yes" 1>&6
11016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11017 cat >> confdefs.h <<EOF
11018 #define $ac_tr_func 1
11022 echo "$ac_t""no" 1>&6
11028 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11029 echo "configure:11030: checking for _isnan declaration" >&5
11030 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11031 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11032 echo $ac_n "(cached) $ac_c" 1>&6
11037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11038 ac_cpp='$CXXCPP $CPPFLAGS'
11039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11041 cross_compiling=$ac_cv_prog_cxx_cross
11043 cat > conftest.$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11047 #ifdef HAVE_IEEEFP_H
11048 #include <ieeefp.h>
11055 if { (eval echo configure:11056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11057 glibcpp_cv_func__isnan_use=yes
11059 echo "configure: failed program was:" >&5
11060 cat conftest.$ac_ext >&5
11062 glibcpp_cv_func__isnan_use=no
11066 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11067 ac_cpp='$CPP $CPPFLAGS'
11068 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11069 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11070 cross_compiling=$ac_cv_prog_cc_cross
11076 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11078 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11079 for ac_func in _isnan
11081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11082 echo "configure:11083: checking for $ac_func" >&5
11083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11084 echo $ac_n "(cached) $ac_c" 1>&6
11086 cat > conftest.$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 /* System header to define __stub macros and hopefully few prototypes,
11090 which can conflict with char $ac_func(); below. */
11091 #include <assert.h>
11092 /* Override any gcc2 internal prototype to avoid an error. */
11093 /* We use char because int might match the return type of a gcc2
11094 builtin and then its argument prototype would still apply. */
11099 /* The GNU C library defines this for functions which it implements
11100 to always fail with ENOSYS. Some functions are actually named
11101 something starting with __ and the normal name is an alias. */
11102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11112 eval "ac_cv_func_$ac_func=yes"
11114 echo "configure: failed program was:" >&5
11115 cat conftest.$ac_ext >&5
11117 eval "ac_cv_func_$ac_func=no"
11122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11123 echo "$ac_t""yes" 1>&6
11124 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11125 cat >> confdefs.h <<EOF
11126 #define $ac_tr_func 1
11130 echo "$ac_t""no" 1>&6
11139 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11140 echo "configure:11141: checking for finite declaration" >&5
11141 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11142 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11143 echo $ac_n "(cached) $ac_c" 1>&6
11148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11149 ac_cpp='$CXXCPP $CPPFLAGS'
11150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11152 cross_compiling=$ac_cv_prog_cxx_cross
11154 cat > conftest.$ac_ext <<EOF
11155 #line 11156 "configure"
11156 #include "confdefs.h"
11158 #ifdef HAVE_IEEEFP_H
11159 #include <ieeefp.h>
11166 if { (eval echo configure:11167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11168 glibcpp_cv_func_finite_use=yes
11170 echo "configure: failed program was:" >&5
11171 cat conftest.$ac_ext >&5
11173 glibcpp_cv_func_finite_use=no
11177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11178 ac_cpp='$CPP $CPPFLAGS'
11179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11181 cross_compiling=$ac_cv_prog_cc_cross
11187 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11189 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11190 for ac_func in finite
11192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11193 echo "configure:11194: checking for $ac_func" >&5
11194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 cat > conftest.$ac_ext <<EOF
11198 #line 11199 "configure"
11199 #include "confdefs.h"
11200 /* System header to define __stub macros and hopefully few prototypes,
11201 which can conflict with char $ac_func(); below. */
11202 #include <assert.h>
11203 /* Override any gcc2 internal prototype to avoid an error. */
11204 /* We use char because int might match the return type of a gcc2
11205 builtin and then its argument prototype would still apply. */
11210 /* The GNU C library defines this for functions which it implements
11211 to always fail with ENOSYS. Some functions are actually named
11212 something starting with __ and the normal name is an alias. */
11213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11221 if { (eval echo configure:11222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11223 eval "ac_cv_func_$ac_func=yes"
11225 echo "configure: failed program was:" >&5
11226 cat conftest.$ac_ext >&5
11228 eval "ac_cv_func_$ac_func=no"
11233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11234 echo "$ac_t""yes" 1>&6
11235 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11236 cat >> confdefs.h <<EOF
11237 #define $ac_tr_func 1
11241 echo "$ac_t""no" 1>&6
11247 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11248 echo "configure:11249: checking for _finite declaration" >&5
11249 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11250 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11251 echo $ac_n "(cached) $ac_c" 1>&6
11256 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11257 ac_cpp='$CXXCPP $CPPFLAGS'
11258 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11259 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11260 cross_compiling=$ac_cv_prog_cxx_cross
11262 cat > conftest.$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11266 #ifdef HAVE_IEEEFP_H
11267 #include <ieeefp.h>
11274 if { (eval echo configure:11275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11276 glibcpp_cv_func__finite_use=yes
11278 echo "configure: failed program was:" >&5
11279 cat conftest.$ac_ext >&5
11281 glibcpp_cv_func__finite_use=no
11285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11286 ac_cpp='$CPP $CPPFLAGS'
11287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11289 cross_compiling=$ac_cv_prog_cc_cross
11295 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11297 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11298 for ac_func in _finite
11300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11301 echo "configure:11302: checking for $ac_func" >&5
11302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11303 echo $ac_n "(cached) $ac_c" 1>&6
11305 cat > conftest.$ac_ext <<EOF
11306 #line 11307 "configure"
11307 #include "confdefs.h"
11308 /* System header to define __stub macros and hopefully few prototypes,
11309 which can conflict with char $ac_func(); below. */
11310 #include <assert.h>
11311 /* Override any gcc2 internal prototype to avoid an error. */
11312 /* We use char because int might match the return type of a gcc2
11313 builtin and then its argument prototype would still apply. */
11318 /* The GNU C library defines this for functions which it implements
11319 to always fail with ENOSYS. Some functions are actually named
11320 something starting with __ and the normal name is an alias. */
11321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11329 if { (eval echo configure:11330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11331 eval "ac_cv_func_$ac_func=yes"
11333 echo "configure: failed program was:" >&5
11334 cat conftest.$ac_ext >&5
11336 eval "ac_cv_func_$ac_func=no"
11341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11342 echo "$ac_t""yes" 1>&6
11343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11344 cat >> confdefs.h <<EOF
11345 #define $ac_tr_func 1
11349 echo "$ac_t""no" 1>&6
11358 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11359 echo "configure:11360: checking for copysign declaration" >&5
11360 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11361 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11362 echo $ac_n "(cached) $ac_c" 1>&6
11367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11368 ac_cpp='$CXXCPP $CPPFLAGS'
11369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11371 cross_compiling=$ac_cv_prog_cxx_cross
11373 cat > conftest.$ac_ext <<EOF
11374 #line 11375 "configure"
11375 #include "confdefs.h"
11381 if { (eval echo configure:11382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11383 glibcpp_cv_func_copysign_use=yes
11385 echo "configure: failed program was:" >&5
11386 cat conftest.$ac_ext >&5
11388 glibcpp_cv_func_copysign_use=no
11392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11393 ac_cpp='$CPP $CPPFLAGS'
11394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11396 cross_compiling=$ac_cv_prog_cc_cross
11402 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11404 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11405 for ac_func in copysign
11407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11408 echo "configure:11409: checking for $ac_func" >&5
11409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11410 echo $ac_n "(cached) $ac_c" 1>&6
11412 cat > conftest.$ac_ext <<EOF
11413 #line 11414 "configure"
11414 #include "confdefs.h"
11415 /* System header to define __stub macros and hopefully few prototypes,
11416 which can conflict with char $ac_func(); below. */
11417 #include <assert.h>
11418 /* Override any gcc2 internal prototype to avoid an error. */
11419 /* We use char because int might match the return type of a gcc2
11420 builtin and then its argument prototype would still apply. */
11425 /* The GNU C library defines this for functions which it implements
11426 to always fail with ENOSYS. Some functions are actually named
11427 something starting with __ and the normal name is an alias. */
11428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11436 if { (eval echo configure:11437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11438 eval "ac_cv_func_$ac_func=yes"
11440 echo "configure: failed program was:" >&5
11441 cat conftest.$ac_ext >&5
11443 eval "ac_cv_func_$ac_func=no"
11448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11449 echo "$ac_t""yes" 1>&6
11450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11451 cat >> confdefs.h <<EOF
11452 #define $ac_tr_func 1
11456 echo "$ac_t""no" 1>&6
11462 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11463 echo "configure:11464: checking for _copysign declaration" >&5
11464 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11465 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11466 echo $ac_n "(cached) $ac_c" 1>&6
11471 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11472 ac_cpp='$CXXCPP $CPPFLAGS'
11473 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11474 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11475 cross_compiling=$ac_cv_prog_cxx_cross
11477 cat > conftest.$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11485 if { (eval echo configure:11486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11487 glibcpp_cv_func__copysign_use=yes
11489 echo "configure: failed program was:" >&5
11490 cat conftest.$ac_ext >&5
11492 glibcpp_cv_func__copysign_use=no
11496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11497 ac_cpp='$CPP $CPPFLAGS'
11498 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11499 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11500 cross_compiling=$ac_cv_prog_cc_cross
11506 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11508 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11509 for ac_func in _copysign
11511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11512 echo "configure:11513: checking for $ac_func" >&5
11513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11514 echo $ac_n "(cached) $ac_c" 1>&6
11516 cat > conftest.$ac_ext <<EOF
11517 #line 11518 "configure"
11518 #include "confdefs.h"
11519 /* System header to define __stub macros and hopefully few prototypes,
11520 which can conflict with char $ac_func(); below. */
11521 #include <assert.h>
11522 /* Override any gcc2 internal prototype to avoid an error. */
11523 /* We use char because int might match the return type of a gcc2
11524 builtin and then its argument prototype would still apply. */
11529 /* The GNU C library defines this for functions which it implements
11530 to always fail with ENOSYS. Some functions are actually named
11531 something starting with __ and the normal name is an alias. */
11532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11540 if { (eval echo configure:11541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11542 eval "ac_cv_func_$ac_func=yes"
11544 echo "configure: failed program was:" >&5
11545 cat conftest.$ac_ext >&5
11547 eval "ac_cv_func_$ac_func=no"
11552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11553 echo "$ac_t""yes" 1>&6
11554 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11555 cat >> confdefs.h <<EOF
11556 #define $ac_tr_func 1
11560 echo "$ac_t""no" 1>&6
11569 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11570 echo "configure:11571: checking for sincos declaration" >&5
11571 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11572 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11573 echo $ac_n "(cached) $ac_c" 1>&6
11578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11579 ac_cpp='$CXXCPP $CPPFLAGS'
11580 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11581 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11582 cross_compiling=$ac_cv_prog_cxx_cross
11584 cat > conftest.$ac_ext <<EOF
11585 #line 11586 "configure"
11586 #include "confdefs.h"
11592 if { (eval echo configure:11593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11594 glibcpp_cv_func_sincos_use=yes
11596 echo "configure: failed program was:" >&5
11597 cat conftest.$ac_ext >&5
11599 glibcpp_cv_func_sincos_use=no
11603 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11604 ac_cpp='$CPP $CPPFLAGS'
11605 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11606 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11607 cross_compiling=$ac_cv_prog_cc_cross
11613 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11615 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11616 for ac_func in sincos
11618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11619 echo "configure:11620: checking for $ac_func" >&5
11620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11623 cat > conftest.$ac_ext <<EOF
11624 #line 11625 "configure"
11625 #include "confdefs.h"
11626 /* System header to define __stub macros and hopefully few prototypes,
11627 which can conflict with char $ac_func(); below. */
11628 #include <assert.h>
11629 /* Override any gcc2 internal prototype to avoid an error. */
11630 /* We use char because int might match the return type of a gcc2
11631 builtin and then its argument prototype would still apply. */
11636 /* The GNU C library defines this for functions which it implements
11637 to always fail with ENOSYS. Some functions are actually named
11638 something starting with __ and the normal name is an alias. */
11639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11647 if { (eval echo configure:11648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11649 eval "ac_cv_func_$ac_func=yes"
11651 echo "configure: failed program was:" >&5
11652 cat conftest.$ac_ext >&5
11654 eval "ac_cv_func_$ac_func=no"
11659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11660 echo "$ac_t""yes" 1>&6
11661 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11662 cat >> confdefs.h <<EOF
11663 #define $ac_tr_func 1
11667 echo "$ac_t""no" 1>&6
11673 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11674 echo "configure:11675: checking for _sincos declaration" >&5
11675 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11676 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11683 ac_cpp='$CXXCPP $CPPFLAGS'
11684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11686 cross_compiling=$ac_cv_prog_cxx_cross
11688 cat > conftest.$ac_ext <<EOF
11689 #line 11690 "configure"
11690 #include "confdefs.h"
11696 if { (eval echo configure:11697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11698 glibcpp_cv_func__sincos_use=yes
11700 echo "configure: failed program was:" >&5
11701 cat conftest.$ac_ext >&5
11703 glibcpp_cv_func__sincos_use=no
11707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11708 ac_cpp='$CPP $CPPFLAGS'
11709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11711 cross_compiling=$ac_cv_prog_cc_cross
11717 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11719 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11720 for ac_func in _sincos
11722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11723 echo "configure:11724: checking for $ac_func" >&5
11724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11725 echo $ac_n "(cached) $ac_c" 1>&6
11727 cat > conftest.$ac_ext <<EOF
11728 #line 11729 "configure"
11729 #include "confdefs.h"
11730 /* System header to define __stub macros and hopefully few prototypes,
11731 which can conflict with char $ac_func(); below. */
11732 #include <assert.h>
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11740 /* The GNU C library defines this for functions which it implements
11741 to always fail with ENOSYS. Some functions are actually named
11742 something starting with __ and the normal name is an alias. */
11743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11751 if { (eval echo configure:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11753 eval "ac_cv_func_$ac_func=yes"
11755 echo "configure: failed program was:" >&5
11756 cat conftest.$ac_ext >&5
11758 eval "ac_cv_func_$ac_func=no"
11763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11766 cat >> confdefs.h <<EOF
11767 #define $ac_tr_func 1
11771 echo "$ac_t""no" 1>&6
11780 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11781 echo "configure:11782: checking for fpclass declaration" >&5
11782 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11783 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11784 echo $ac_n "(cached) $ac_c" 1>&6
11789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11790 ac_cpp='$CXXCPP $CPPFLAGS'
11791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11793 cross_compiling=$ac_cv_prog_cxx_cross
11795 cat > conftest.$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11799 #ifdef HAVE_IEEEFP_H
11800 #include <ieeefp.h>
11807 if { (eval echo configure:11808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11809 glibcpp_cv_func_fpclass_use=yes
11811 echo "configure: failed program was:" >&5
11812 cat conftest.$ac_ext >&5
11814 glibcpp_cv_func_fpclass_use=no
11818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11819 ac_cpp='$CPP $CPPFLAGS'
11820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11822 cross_compiling=$ac_cv_prog_cc_cross
11828 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11830 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11831 for ac_func in fpclass
11833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11834 echo "configure:11835: checking for $ac_func" >&5
11835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11838 cat > conftest.$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 /* System header to define __stub macros and hopefully few prototypes,
11842 which can conflict with char $ac_func(); below. */
11843 #include <assert.h>
11844 /* Override any gcc2 internal prototype to avoid an error. */
11845 /* We use char because int might match the return type of a gcc2
11846 builtin and then its argument prototype would still apply. */
11851 /* The GNU C library defines this for functions which it implements
11852 to always fail with ENOSYS. Some functions are actually named
11853 something starting with __ and the normal name is an alias. */
11854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11862 if { (eval echo configure:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11864 eval "ac_cv_func_$ac_func=yes"
11866 echo "configure: failed program was:" >&5
11867 cat conftest.$ac_ext >&5
11869 eval "ac_cv_func_$ac_func=no"
11874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11875 echo "$ac_t""yes" 1>&6
11876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11877 cat >> confdefs.h <<EOF
11878 #define $ac_tr_func 1
11882 echo "$ac_t""no" 1>&6
11888 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11889 echo "configure:11890: checking for _fpclass declaration" >&5
11890 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11891 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11892 echo $ac_n "(cached) $ac_c" 1>&6
11897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11898 ac_cpp='$CXXCPP $CPPFLAGS'
11899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11901 cross_compiling=$ac_cv_prog_cxx_cross
11903 cat > conftest.$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11907 #ifdef HAVE_IEEEFP_H
11908 #include <ieeefp.h>
11915 if { (eval echo configure:11916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11917 glibcpp_cv_func__fpclass_use=yes
11919 echo "configure: failed program was:" >&5
11920 cat conftest.$ac_ext >&5
11922 glibcpp_cv_func__fpclass_use=no
11926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11930 cross_compiling=$ac_cv_prog_cc_cross
11936 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11938 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11939 for ac_func in _fpclass
11941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11942 echo "configure:11943: checking for $ac_func" >&5
11943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11944 echo $ac_n "(cached) $ac_c" 1>&6
11946 cat > conftest.$ac_ext <<EOF
11947 #line 11948 "configure"
11948 #include "confdefs.h"
11949 /* System header to define __stub macros and hopefully few prototypes,
11950 which can conflict with char $ac_func(); below. */
11951 #include <assert.h>
11952 /* Override any gcc2 internal prototype to avoid an error. */
11953 /* We use char because int might match the return type of a gcc2
11954 builtin and then its argument prototype would still apply. */
11959 /* The GNU C library defines this for functions which it implements
11960 to always fail with ENOSYS. Some functions are actually named
11961 something starting with __ and the normal name is an alias. */
11962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11970 if { (eval echo configure:11971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11972 eval "ac_cv_func_$ac_func=yes"
11974 echo "configure: failed program was:" >&5
11975 cat conftest.$ac_ext >&5
11977 eval "ac_cv_func_$ac_func=no"
11982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11983 echo "$ac_t""yes" 1>&6
11984 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11985 cat >> confdefs.h <<EOF
11986 #define $ac_tr_func 1
11990 echo "$ac_t""no" 1>&6
11999 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12000 echo "configure:12001: checking for qfpclass declaration" >&5
12001 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12002 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12003 echo $ac_n "(cached) $ac_c" 1>&6
12008 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12009 ac_cpp='$CXXCPP $CPPFLAGS'
12010 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12011 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12012 cross_compiling=$ac_cv_prog_cxx_cross
12014 cat > conftest.$ac_ext <<EOF
12015 #line 12016 "configure"
12016 #include "confdefs.h"
12018 #ifdef HAVE_IEEEFP_H
12019 #include <ieeefp.h>
12026 if { (eval echo configure:12027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12028 glibcpp_cv_func_qfpclass_use=yes
12030 echo "configure: failed program was:" >&5
12031 cat conftest.$ac_ext >&5
12033 glibcpp_cv_func_qfpclass_use=no
12037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12038 ac_cpp='$CPP $CPPFLAGS'
12039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12041 cross_compiling=$ac_cv_prog_cc_cross
12047 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12049 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12050 for ac_func in qfpclass
12052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12053 echo "configure:12054: checking for $ac_func" >&5
12054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12055 echo $ac_n "(cached) $ac_c" 1>&6
12057 cat > conftest.$ac_ext <<EOF
12058 #line 12059 "configure"
12059 #include "confdefs.h"
12060 /* System header to define __stub macros and hopefully few prototypes,
12061 which can conflict with char $ac_func(); below. */
12062 #include <assert.h>
12063 /* Override any gcc2 internal prototype to avoid an error. */
12064 /* We use char because int might match the return type of a gcc2
12065 builtin and then its argument prototype would still apply. */
12070 /* The GNU C library defines this for functions which it implements
12071 to always fail with ENOSYS. Some functions are actually named
12072 something starting with __ and the normal name is an alias. */
12073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12081 if { (eval echo configure:12082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12083 eval "ac_cv_func_$ac_func=yes"
12085 echo "configure: failed program was:" >&5
12086 cat conftest.$ac_ext >&5
12088 eval "ac_cv_func_$ac_func=no"
12093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12094 echo "$ac_t""yes" 1>&6
12095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12096 cat >> confdefs.h <<EOF
12097 #define $ac_tr_func 1
12101 echo "$ac_t""no" 1>&6
12107 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12108 echo "configure:12109: checking for _qfpclass declaration" >&5
12109 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12110 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12111 echo $ac_n "(cached) $ac_c" 1>&6
12116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12117 ac_cpp='$CXXCPP $CPPFLAGS'
12118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12120 cross_compiling=$ac_cv_prog_cxx_cross
12122 cat > conftest.$ac_ext <<EOF
12123 #line 12124 "configure"
12124 #include "confdefs.h"
12126 #ifdef HAVE_IEEEFP_H
12127 #include <ieeefp.h>
12134 if { (eval echo configure:12135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12136 glibcpp_cv_func__qfpclass_use=yes
12138 echo "configure: failed program was:" >&5
12139 cat conftest.$ac_ext >&5
12141 glibcpp_cv_func__qfpclass_use=no
12145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12146 ac_cpp='$CPP $CPPFLAGS'
12147 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12148 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12149 cross_compiling=$ac_cv_prog_cc_cross
12155 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12157 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12158 for ac_func in _qfpclass
12160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12161 echo "configure:12162: checking for $ac_func" >&5
12162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12163 echo $ac_n "(cached) $ac_c" 1>&6
12165 cat > conftest.$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 /* System header to define __stub macros and hopefully few prototypes,
12169 which can conflict with char $ac_func(); below. */
12170 #include <assert.h>
12171 /* Override any gcc2 internal prototype to avoid an error. */
12172 /* We use char because int might match the return type of a gcc2
12173 builtin and then its argument prototype would still apply. */
12178 /* The GNU C library defines this for functions which it implements
12179 to always fail with ENOSYS. Some functions are actually named
12180 something starting with __ and the normal name is an alias. */
12181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12189 if { (eval echo configure:12190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12191 eval "ac_cv_func_$ac_func=yes"
12193 echo "configure: failed program was:" >&5
12194 cat conftest.$ac_ext >&5
12196 eval "ac_cv_func_$ac_func=no"
12201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12202 echo "$ac_t""yes" 1>&6
12203 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12204 cat >> confdefs.h <<EOF
12205 #define $ac_tr_func 1
12209 echo "$ac_t""no" 1>&6
12218 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12219 echo "configure:12220: checking for hypot declaration" >&5
12220 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12221 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12222 echo $ac_n "(cached) $ac_c" 1>&6
12227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12228 ac_cpp='$CXXCPP $CPPFLAGS'
12229 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12230 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12231 cross_compiling=$ac_cv_prog_cxx_cross
12233 cat > conftest.$ac_ext <<EOF
12234 #line 12235 "configure"
12235 #include "confdefs.h"
12241 if { (eval echo configure:12242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12243 glibcpp_cv_func_hypot_use=yes
12245 echo "configure: failed program was:" >&5
12246 cat conftest.$ac_ext >&5
12248 glibcpp_cv_func_hypot_use=no
12252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12253 ac_cpp='$CPP $CPPFLAGS'
12254 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12255 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12256 cross_compiling=$ac_cv_prog_cc_cross
12262 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12264 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12265 for ac_func in hypot
12267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12268 echo "configure:12269: checking for $ac_func" >&5
12269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12270 echo $ac_n "(cached) $ac_c" 1>&6
12272 cat > conftest.$ac_ext <<EOF
12273 #line 12274 "configure"
12274 #include "confdefs.h"
12275 /* System header to define __stub macros and hopefully few prototypes,
12276 which can conflict with char $ac_func(); below. */
12277 #include <assert.h>
12278 /* Override any gcc2 internal prototype to avoid an error. */
12279 /* We use char because int might match the return type of a gcc2
12280 builtin and then its argument prototype would still apply. */
12285 /* The GNU C library defines this for functions which it implements
12286 to always fail with ENOSYS. Some functions are actually named
12287 something starting with __ and the normal name is an alias. */
12288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12296 if { (eval echo configure:12297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12298 eval "ac_cv_func_$ac_func=yes"
12300 echo "configure: failed program was:" >&5
12301 cat conftest.$ac_ext >&5
12303 eval "ac_cv_func_$ac_func=no"
12308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12309 echo "$ac_t""yes" 1>&6
12310 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12311 cat >> confdefs.h <<EOF
12312 #define $ac_tr_func 1
12316 echo "$ac_t""no" 1>&6
12322 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12323 echo "configure:12324: checking for _hypot declaration" >&5
12324 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12325 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12326 echo $ac_n "(cached) $ac_c" 1>&6
12331 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12332 ac_cpp='$CXXCPP $CPPFLAGS'
12333 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12334 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12335 cross_compiling=$ac_cv_prog_cxx_cross
12337 cat > conftest.$ac_ext <<EOF
12338 #line 12339 "configure"
12339 #include "confdefs.h"
12345 if { (eval echo configure:12346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12347 glibcpp_cv_func__hypot_use=yes
12349 echo "configure: failed program was:" >&5
12350 cat conftest.$ac_ext >&5
12352 glibcpp_cv_func__hypot_use=no
12356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12357 ac_cpp='$CPP $CPPFLAGS'
12358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12360 cross_compiling=$ac_cv_prog_cc_cross
12366 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12368 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12369 for ac_func in _hypot
12371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12372 echo "configure:12373: checking for $ac_func" >&5
12373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12374 echo $ac_n "(cached) $ac_c" 1>&6
12376 cat > conftest.$ac_ext <<EOF
12377 #line 12378 "configure"
12378 #include "confdefs.h"
12379 /* System header to define __stub macros and hopefully few prototypes,
12380 which can conflict with char $ac_func(); below. */
12381 #include <assert.h>
12382 /* Override any gcc2 internal prototype to avoid an error. */
12383 /* We use char because int might match the return type of a gcc2
12384 builtin and then its argument prototype would still apply. */
12389 /* The GNU C library defines this for functions which it implements
12390 to always fail with ENOSYS. Some functions are actually named
12391 something starting with __ and the normal name is an alias. */
12392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12400 if { (eval echo configure:12401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12402 eval "ac_cv_func_$ac_func=yes"
12404 echo "configure: failed program was:" >&5
12405 cat conftest.$ac_ext >&5
12407 eval "ac_cv_func_$ac_func=no"
12412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12413 echo "$ac_t""yes" 1>&6
12414 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12415 cat >> confdefs.h <<EOF
12416 #define $ac_tr_func 1
12420 echo "$ac_t""no" 1>&6
12429 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12430 echo "configure:12431: checking for float trig functions" >&5
12431 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12432 echo $ac_n "(cached) $ac_c" 1>&6
12437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12438 ac_cpp='$CXXCPP $CPPFLAGS'
12439 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12440 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12441 cross_compiling=$ac_cv_prog_cxx_cross
12443 cat > conftest.$ac_ext <<EOF
12444 #line 12445 "configure"
12445 #include "confdefs.h"
12448 `for x in acosf asinf atanf \
12450 coshf sinhf tanhf; do echo "$x (0);"; done`
12453 if { (eval echo configure:12454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12455 glibcpp_cv_func_float_trig_use=yes
12457 echo "configure: failed program was:" >&5
12458 cat conftest.$ac_ext >&5
12460 glibcpp_cv_func_float_trig_use=no
12464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12465 ac_cpp='$CPP $CPPFLAGS'
12466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12468 cross_compiling=$ac_cv_prog_cc_cross
12472 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12473 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12474 for ac_func in acosf asinf atanf \
12478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12479 echo "configure:12480: checking for $ac_func" >&5
12480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12481 echo $ac_n "(cached) $ac_c" 1>&6
12483 cat > conftest.$ac_ext <<EOF
12484 #line 12485 "configure"
12485 #include "confdefs.h"
12486 /* System header to define __stub macros and hopefully few prototypes,
12487 which can conflict with char $ac_func(); below. */
12488 #include <assert.h>
12489 /* Override any gcc2 internal prototype to avoid an error. */
12490 /* We use char because int might match the return type of a gcc2
12491 builtin and then its argument prototype would still apply. */
12496 /* The GNU C library defines this for functions which it implements
12497 to always fail with ENOSYS. Some functions are actually named
12498 something starting with __ and the normal name is an alias. */
12499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12507 if { (eval echo configure:12508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12509 eval "ac_cv_func_$ac_func=yes"
12511 echo "configure: failed program was:" >&5
12512 cat conftest.$ac_ext >&5
12514 eval "ac_cv_func_$ac_func=no"
12519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12520 echo "$ac_t""yes" 1>&6
12521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12522 cat >> confdefs.h <<EOF
12523 #define $ac_tr_func 1
12527 echo "$ac_t""no" 1>&6
12534 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12535 echo "configure:12536: checking for float round functions" >&5
12536 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12537 echo $ac_n "(cached) $ac_c" 1>&6
12542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12543 ac_cpp='$CXXCPP $CPPFLAGS'
12544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12546 cross_compiling=$ac_cv_prog_cxx_cross
12548 cat > conftest.$ac_ext <<EOF
12549 #line 12550 "configure"
12550 #include "confdefs.h"
12553 `for x in ceilf floorf; do echo "$x (0);"; done`
12556 if { (eval echo configure:12557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12558 glibcpp_cv_func_float_round_use=yes
12560 echo "configure: failed program was:" >&5
12561 cat conftest.$ac_ext >&5
12563 glibcpp_cv_func_float_round_use=no
12567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12568 ac_cpp='$CPP $CPPFLAGS'
12569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12571 cross_compiling=$ac_cv_prog_cc_cross
12575 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12576 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12577 for ac_func in ceilf floorf
12579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12580 echo "configure:12581: checking for $ac_func" >&5
12581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12582 echo $ac_n "(cached) $ac_c" 1>&6
12584 cat > conftest.$ac_ext <<EOF
12585 #line 12586 "configure"
12586 #include "confdefs.h"
12587 /* System header to define __stub macros and hopefully few prototypes,
12588 which can conflict with char $ac_func(); below. */
12589 #include <assert.h>
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 /* We use char because int might match the return type of a gcc2
12592 builtin and then its argument prototype would still apply. */
12597 /* The GNU C library defines this for functions which it implements
12598 to always fail with ENOSYS. Some functions are actually named
12599 something starting with __ and the normal name is an alias. */
12600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12608 if { (eval echo configure:12609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12610 eval "ac_cv_func_$ac_func=yes"
12612 echo "configure: failed program was:" >&5
12613 cat conftest.$ac_ext >&5
12615 eval "ac_cv_func_$ac_func=no"
12620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12621 echo "$ac_t""yes" 1>&6
12622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12623 cat >> confdefs.h <<EOF
12624 #define $ac_tr_func 1
12628 echo "$ac_t""no" 1>&6
12636 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12637 echo "configure:12638: checking for expf declaration" >&5
12638 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12639 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12640 echo $ac_n "(cached) $ac_c" 1>&6
12645 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12646 ac_cpp='$CXXCPP $CPPFLAGS'
12647 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12648 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12649 cross_compiling=$ac_cv_prog_cxx_cross
12651 cat > conftest.$ac_ext <<EOF
12652 #line 12653 "configure"
12653 #include "confdefs.h"
12655 #ifdef HAVE_IEEEFP_H
12656 #include <ieeefp.h>
12663 if { (eval echo configure:12664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12665 glibcpp_cv_func_expf_use=yes
12667 echo "configure: failed program was:" >&5
12668 cat conftest.$ac_ext >&5
12670 glibcpp_cv_func_expf_use=no
12674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12675 ac_cpp='$CPP $CPPFLAGS'
12676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12678 cross_compiling=$ac_cv_prog_cc_cross
12684 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12686 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12687 for ac_func in expf
12689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12690 echo "configure:12691: checking for $ac_func" >&5
12691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12692 echo $ac_n "(cached) $ac_c" 1>&6
12694 cat > conftest.$ac_ext <<EOF
12695 #line 12696 "configure"
12696 #include "confdefs.h"
12697 /* System header to define __stub macros and hopefully few prototypes,
12698 which can conflict with char $ac_func(); below. */
12699 #include <assert.h>
12700 /* Override any gcc2 internal prototype to avoid an error. */
12701 /* We use char because int might match the return type of a gcc2
12702 builtin and then its argument prototype would still apply. */
12707 /* The GNU C library defines this for functions which it implements
12708 to always fail with ENOSYS. Some functions are actually named
12709 something starting with __ and the normal name is an alias. */
12710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12718 if { (eval echo configure:12719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12720 eval "ac_cv_func_$ac_func=yes"
12722 echo "configure: failed program was:" >&5
12723 cat conftest.$ac_ext >&5
12725 eval "ac_cv_func_$ac_func=no"
12730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12731 echo "$ac_t""yes" 1>&6
12732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12733 cat >> confdefs.h <<EOF
12734 #define $ac_tr_func 1
12738 echo "$ac_t""no" 1>&6
12744 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12745 echo "configure:12746: checking for _expf declaration" >&5
12746 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12747 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12748 echo $ac_n "(cached) $ac_c" 1>&6
12753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12754 ac_cpp='$CXXCPP $CPPFLAGS'
12755 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12756 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12757 cross_compiling=$ac_cv_prog_cxx_cross
12759 cat > conftest.$ac_ext <<EOF
12760 #line 12761 "configure"
12761 #include "confdefs.h"
12763 #ifdef HAVE_IEEEFP_H
12764 #include <ieeefp.h>
12771 if { (eval echo configure:12772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12773 glibcpp_cv_func__expf_use=yes
12775 echo "configure: failed program was:" >&5
12776 cat conftest.$ac_ext >&5
12778 glibcpp_cv_func__expf_use=no
12782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12783 ac_cpp='$CPP $CPPFLAGS'
12784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12786 cross_compiling=$ac_cv_prog_cc_cross
12792 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12794 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12795 for ac_func in _expf
12797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12798 echo "configure:12799: checking for $ac_func" >&5
12799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12802 cat > conftest.$ac_ext <<EOF
12803 #line 12804 "configure"
12804 #include "confdefs.h"
12805 /* System header to define __stub macros and hopefully few prototypes,
12806 which can conflict with char $ac_func(); below. */
12807 #include <assert.h>
12808 /* Override any gcc2 internal prototype to avoid an error. */
12809 /* We use char because int might match the return type of a gcc2
12810 builtin and then its argument prototype would still apply. */
12815 /* The GNU C library defines this for functions which it implements
12816 to always fail with ENOSYS. Some functions are actually named
12817 something starting with __ and the normal name is an alias. */
12818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12826 if { (eval echo configure:12827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12828 eval "ac_cv_func_$ac_func=yes"
12830 echo "configure: failed program was:" >&5
12831 cat conftest.$ac_ext >&5
12833 eval "ac_cv_func_$ac_func=no"
12838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12839 echo "$ac_t""yes" 1>&6
12840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12841 cat >> confdefs.h <<EOF
12842 #define $ac_tr_func 1
12846 echo "$ac_t""no" 1>&6
12855 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12856 echo "configure:12857: checking for isnanf declaration" >&5
12857 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12858 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12859 echo $ac_n "(cached) $ac_c" 1>&6
12864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12865 ac_cpp='$CXXCPP $CPPFLAGS'
12866 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12867 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12868 cross_compiling=$ac_cv_prog_cxx_cross
12870 cat > conftest.$ac_ext <<EOF
12871 #line 12872 "configure"
12872 #include "confdefs.h"
12874 #ifdef HAVE_IEEEFP_H
12875 #include <ieeefp.h>
12882 if { (eval echo configure:12883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12884 glibcpp_cv_func_isnanf_use=yes
12886 echo "configure: failed program was:" >&5
12887 cat conftest.$ac_ext >&5
12889 glibcpp_cv_func_isnanf_use=no
12893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12897 cross_compiling=$ac_cv_prog_cc_cross
12903 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12905 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12906 for ac_func in isnanf
12908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12909 echo "configure:12910: checking for $ac_func" >&5
12910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12911 echo $ac_n "(cached) $ac_c" 1>&6
12913 cat > conftest.$ac_ext <<EOF
12914 #line 12915 "configure"
12915 #include "confdefs.h"
12916 /* System header to define __stub macros and hopefully few prototypes,
12917 which can conflict with char $ac_func(); below. */
12918 #include <assert.h>
12919 /* Override any gcc2 internal prototype to avoid an error. */
12920 /* We use char because int might match the return type of a gcc2
12921 builtin and then its argument prototype would still apply. */
12926 /* The GNU C library defines this for functions which it implements
12927 to always fail with ENOSYS. Some functions are actually named
12928 something starting with __ and the normal name is an alias. */
12929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12937 if { (eval echo configure:12938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12939 eval "ac_cv_func_$ac_func=yes"
12941 echo "configure: failed program was:" >&5
12942 cat conftest.$ac_ext >&5
12944 eval "ac_cv_func_$ac_func=no"
12949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12950 echo "$ac_t""yes" 1>&6
12951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12952 cat >> confdefs.h <<EOF
12953 #define $ac_tr_func 1
12957 echo "$ac_t""no" 1>&6
12963 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12964 echo "configure:12965: checking for _isnanf declaration" >&5
12965 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12966 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12967 echo $ac_n "(cached) $ac_c" 1>&6
12972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12973 ac_cpp='$CXXCPP $CPPFLAGS'
12974 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12975 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12976 cross_compiling=$ac_cv_prog_cxx_cross
12978 cat > conftest.$ac_ext <<EOF
12979 #line 12980 "configure"
12980 #include "confdefs.h"
12982 #ifdef HAVE_IEEEFP_H
12983 #include <ieeefp.h>
12990 if { (eval echo configure:12991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12992 glibcpp_cv_func__isnanf_use=yes
12994 echo "configure: failed program was:" >&5
12995 cat conftest.$ac_ext >&5
12997 glibcpp_cv_func__isnanf_use=no
13001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13002 ac_cpp='$CPP $CPPFLAGS'
13003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13005 cross_compiling=$ac_cv_prog_cc_cross
13011 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13013 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13014 for ac_func in _isnanf
13016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13017 echo "configure:13018: checking for $ac_func" >&5
13018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13019 echo $ac_n "(cached) $ac_c" 1>&6
13021 cat > conftest.$ac_ext <<EOF
13022 #line 13023 "configure"
13023 #include "confdefs.h"
13024 /* System header to define __stub macros and hopefully few prototypes,
13025 which can conflict with char $ac_func(); below. */
13026 #include <assert.h>
13027 /* Override any gcc2 internal prototype to avoid an error. */
13028 /* We use char because int might match the return type of a gcc2
13029 builtin and then its argument prototype would still apply. */
13034 /* The GNU C library defines this for functions which it implements
13035 to always fail with ENOSYS. Some functions are actually named
13036 something starting with __ and the normal name is an alias. */
13037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13045 if { (eval echo configure:13046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13047 eval "ac_cv_func_$ac_func=yes"
13049 echo "configure: failed program was:" >&5
13050 cat conftest.$ac_ext >&5
13052 eval "ac_cv_func_$ac_func=no"
13057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13058 echo "$ac_t""yes" 1>&6
13059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13060 cat >> confdefs.h <<EOF
13061 #define $ac_tr_func 1
13065 echo "$ac_t""no" 1>&6
13074 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13075 echo "configure:13076: checking for isinff declaration" >&5
13076 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13077 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13078 echo $ac_n "(cached) $ac_c" 1>&6
13083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13084 ac_cpp='$CXXCPP $CPPFLAGS'
13085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13087 cross_compiling=$ac_cv_prog_cxx_cross
13089 cat > conftest.$ac_ext <<EOF
13090 #line 13091 "configure"
13091 #include "confdefs.h"
13093 #ifdef HAVE_IEEEFP_H
13094 #include <ieeefp.h>
13101 if { (eval echo configure:13102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13103 glibcpp_cv_func_isinff_use=yes
13105 echo "configure: failed program was:" >&5
13106 cat conftest.$ac_ext >&5
13108 glibcpp_cv_func_isinff_use=no
13112 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13113 ac_cpp='$CPP $CPPFLAGS'
13114 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13115 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13116 cross_compiling=$ac_cv_prog_cc_cross
13122 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13124 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13125 for ac_func in isinff
13127 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13128 echo "configure:13129: checking for $ac_func" >&5
13129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13130 echo $ac_n "(cached) $ac_c" 1>&6
13132 cat > conftest.$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13135 /* System header to define __stub macros and hopefully few prototypes,
13136 which can conflict with char $ac_func(); below. */
13137 #include <assert.h>
13138 /* Override any gcc2 internal prototype to avoid an error. */
13139 /* We use char because int might match the return type of a gcc2
13140 builtin and then its argument prototype would still apply. */
13145 /* The GNU C library defines this for functions which it implements
13146 to always fail with ENOSYS. Some functions are actually named
13147 something starting with __ and the normal name is an alias. */
13148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13156 if { (eval echo configure:13157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13158 eval "ac_cv_func_$ac_func=yes"
13160 echo "configure: failed program was:" >&5
13161 cat conftest.$ac_ext >&5
13163 eval "ac_cv_func_$ac_func=no"
13168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13169 echo "$ac_t""yes" 1>&6
13170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13171 cat >> confdefs.h <<EOF
13172 #define $ac_tr_func 1
13176 echo "$ac_t""no" 1>&6
13182 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13183 echo "configure:13184: checking for _isinff declaration" >&5
13184 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13185 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13186 echo $ac_n "(cached) $ac_c" 1>&6
13191 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13192 ac_cpp='$CXXCPP $CPPFLAGS'
13193 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13194 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13195 cross_compiling=$ac_cv_prog_cxx_cross
13197 cat > conftest.$ac_ext <<EOF
13198 #line 13199 "configure"
13199 #include "confdefs.h"
13201 #ifdef HAVE_IEEEFP_H
13202 #include <ieeefp.h>
13209 if { (eval echo configure:13210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13211 glibcpp_cv_func__isinff_use=yes
13213 echo "configure: failed program was:" >&5
13214 cat conftest.$ac_ext >&5
13216 glibcpp_cv_func__isinff_use=no
13220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13221 ac_cpp='$CPP $CPPFLAGS'
13222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13224 cross_compiling=$ac_cv_prog_cc_cross
13230 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13232 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13233 for ac_func in _isinff
13235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13236 echo "configure:13237: checking for $ac_func" >&5
13237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13238 echo $ac_n "(cached) $ac_c" 1>&6
13240 cat > conftest.$ac_ext <<EOF
13241 #line 13242 "configure"
13242 #include "confdefs.h"
13243 /* System header to define __stub macros and hopefully few prototypes,
13244 which can conflict with char $ac_func(); below. */
13245 #include <assert.h>
13246 /* Override any gcc2 internal prototype to avoid an error. */
13247 /* We use char because int might match the return type of a gcc2
13248 builtin and then its argument prototype would still apply. */
13253 /* The GNU C library defines this for functions which it implements
13254 to always fail with ENOSYS. Some functions are actually named
13255 something starting with __ and the normal name is an alias. */
13256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13264 if { (eval echo configure:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13266 eval "ac_cv_func_$ac_func=yes"
13268 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5
13271 eval "ac_cv_func_$ac_func=no"
13276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13277 echo "$ac_t""yes" 1>&6
13278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13279 cat >> confdefs.h <<EOF
13280 #define $ac_tr_func 1
13284 echo "$ac_t""no" 1>&6
13293 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13294 echo "configure:13295: checking for atan2f declaration" >&5
13295 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13296 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13297 echo $ac_n "(cached) $ac_c" 1>&6
13302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13303 ac_cpp='$CXXCPP $CPPFLAGS'
13304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13306 cross_compiling=$ac_cv_prog_cxx_cross
13308 cat > conftest.$ac_ext <<EOF
13309 #line 13310 "configure"
13310 #include "confdefs.h"
13316 if { (eval echo configure:13317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13318 glibcpp_cv_func_atan2f_use=yes
13320 echo "configure: failed program was:" >&5
13321 cat conftest.$ac_ext >&5
13323 glibcpp_cv_func_atan2f_use=no
13327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13328 ac_cpp='$CPP $CPPFLAGS'
13329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13331 cross_compiling=$ac_cv_prog_cc_cross
13337 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13339 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13340 for ac_func in atan2f
13342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13343 echo "configure:13344: checking for $ac_func" >&5
13344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13345 echo $ac_n "(cached) $ac_c" 1>&6
13347 cat > conftest.$ac_ext <<EOF
13348 #line 13349 "configure"
13349 #include "confdefs.h"
13350 /* System header to define __stub macros and hopefully few prototypes,
13351 which can conflict with char $ac_func(); below. */
13352 #include <assert.h>
13353 /* Override any gcc2 internal prototype to avoid an error. */
13354 /* We use char because int might match the return type of a gcc2
13355 builtin and then its argument prototype would still apply. */
13360 /* The GNU C library defines this for functions which it implements
13361 to always fail with ENOSYS. Some functions are actually named
13362 something starting with __ and the normal name is an alias. */
13363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13371 if { (eval echo configure:13372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13373 eval "ac_cv_func_$ac_func=yes"
13375 echo "configure: failed program was:" >&5
13376 cat conftest.$ac_ext >&5
13378 eval "ac_cv_func_$ac_func=no"
13383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13384 echo "$ac_t""yes" 1>&6
13385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13386 cat >> confdefs.h <<EOF
13387 #define $ac_tr_func 1
13391 echo "$ac_t""no" 1>&6
13397 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13398 echo "configure:13399: checking for _atan2f declaration" >&5
13399 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13400 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13401 echo $ac_n "(cached) $ac_c" 1>&6
13406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13407 ac_cpp='$CXXCPP $CPPFLAGS'
13408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13410 cross_compiling=$ac_cv_prog_cxx_cross
13412 cat > conftest.$ac_ext <<EOF
13413 #line 13414 "configure"
13414 #include "confdefs.h"
13420 if { (eval echo configure:13421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13422 glibcpp_cv_func__atan2f_use=yes
13424 echo "configure: failed program was:" >&5
13425 cat conftest.$ac_ext >&5
13427 glibcpp_cv_func__atan2f_use=no
13431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13432 ac_cpp='$CPP $CPPFLAGS'
13433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13435 cross_compiling=$ac_cv_prog_cc_cross
13441 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13443 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13444 for ac_func in _atan2f
13446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13447 echo "configure:13448: checking for $ac_func" >&5
13448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13449 echo $ac_n "(cached) $ac_c" 1>&6
13451 cat > conftest.$ac_ext <<EOF
13452 #line 13453 "configure"
13453 #include "confdefs.h"
13454 /* System header to define __stub macros and hopefully few prototypes,
13455 which can conflict with char $ac_func(); below. */
13456 #include <assert.h>
13457 /* Override any gcc2 internal prototype to avoid an error. */
13458 /* We use char because int might match the return type of a gcc2
13459 builtin and then its argument prototype would still apply. */
13464 /* The GNU C library defines this for functions which it implements
13465 to always fail with ENOSYS. Some functions are actually named
13466 something starting with __ and the normal name is an alias. */
13467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13475 if { (eval echo configure:13476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13477 eval "ac_cv_func_$ac_func=yes"
13479 echo "configure: failed program was:" >&5
13480 cat conftest.$ac_ext >&5
13482 eval "ac_cv_func_$ac_func=no"
13487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13488 echo "$ac_t""yes" 1>&6
13489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13490 cat >> confdefs.h <<EOF
13491 #define $ac_tr_func 1
13495 echo "$ac_t""no" 1>&6
13504 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13505 echo "configure:13506: checking for fabsf declaration" >&5
13506 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13507 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13508 echo $ac_n "(cached) $ac_c" 1>&6
13513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13514 ac_cpp='$CXXCPP $CPPFLAGS'
13515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13517 cross_compiling=$ac_cv_prog_cxx_cross
13519 cat > conftest.$ac_ext <<EOF
13520 #line 13521 "configure"
13521 #include "confdefs.h"
13523 #ifdef HAVE_IEEEFP_H
13524 #include <ieeefp.h>
13531 if { (eval echo configure:13532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13533 glibcpp_cv_func_fabsf_use=yes
13535 echo "configure: failed program was:" >&5
13536 cat conftest.$ac_ext >&5
13538 glibcpp_cv_func_fabsf_use=no
13542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13543 ac_cpp='$CPP $CPPFLAGS'
13544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13546 cross_compiling=$ac_cv_prog_cc_cross
13552 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13554 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13555 for ac_func in fabsf
13557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13558 echo "configure:13559: checking for $ac_func" >&5
13559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13560 echo $ac_n "(cached) $ac_c" 1>&6
13562 cat > conftest.$ac_ext <<EOF
13563 #line 13564 "configure"
13564 #include "confdefs.h"
13565 /* System header to define __stub macros and hopefully few prototypes,
13566 which can conflict with char $ac_func(); below. */
13567 #include <assert.h>
13568 /* Override any gcc2 internal prototype to avoid an error. */
13569 /* We use char because int might match the return type of a gcc2
13570 builtin and then its argument prototype would still apply. */
13575 /* The GNU C library defines this for functions which it implements
13576 to always fail with ENOSYS. Some functions are actually named
13577 something starting with __ and the normal name is an alias. */
13578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13588 eval "ac_cv_func_$ac_func=yes"
13590 echo "configure: failed program was:" >&5
13591 cat conftest.$ac_ext >&5
13593 eval "ac_cv_func_$ac_func=no"
13598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13599 echo "$ac_t""yes" 1>&6
13600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13601 cat >> confdefs.h <<EOF
13602 #define $ac_tr_func 1
13606 echo "$ac_t""no" 1>&6
13612 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13613 echo "configure:13614: checking for _fabsf declaration" >&5
13614 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13615 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13616 echo $ac_n "(cached) $ac_c" 1>&6
13621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13622 ac_cpp='$CXXCPP $CPPFLAGS'
13623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13625 cross_compiling=$ac_cv_prog_cxx_cross
13627 cat > conftest.$ac_ext <<EOF
13628 #line 13629 "configure"
13629 #include "confdefs.h"
13631 #ifdef HAVE_IEEEFP_H
13632 #include <ieeefp.h>
13639 if { (eval echo configure:13640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13641 glibcpp_cv_func__fabsf_use=yes
13643 echo "configure: failed program was:" >&5
13644 cat conftest.$ac_ext >&5
13646 glibcpp_cv_func__fabsf_use=no
13650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13651 ac_cpp='$CPP $CPPFLAGS'
13652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13654 cross_compiling=$ac_cv_prog_cc_cross
13660 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13662 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13663 for ac_func in _fabsf
13665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13666 echo "configure:13667: checking for $ac_func" >&5
13667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13668 echo $ac_n "(cached) $ac_c" 1>&6
13670 cat > conftest.$ac_ext <<EOF
13671 #line 13672 "configure"
13672 #include "confdefs.h"
13673 /* System header to define __stub macros and hopefully few prototypes,
13674 which can conflict with char $ac_func(); below. */
13675 #include <assert.h>
13676 /* Override any gcc2 internal prototype to avoid an error. */
13677 /* We use char because int might match the return type of a gcc2
13678 builtin and then its argument prototype would still apply. */
13683 /* The GNU C library defines this for functions which it implements
13684 to always fail with ENOSYS. Some functions are actually named
13685 something starting with __ and the normal name is an alias. */
13686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13694 if { (eval echo configure:13695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13696 eval "ac_cv_func_$ac_func=yes"
13698 echo "configure: failed program was:" >&5
13699 cat conftest.$ac_ext >&5
13701 eval "ac_cv_func_$ac_func=no"
13706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13707 echo "$ac_t""yes" 1>&6
13708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13709 cat >> confdefs.h <<EOF
13710 #define $ac_tr_func 1
13714 echo "$ac_t""no" 1>&6
13723 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13724 echo "configure:13725: checking for fmodf declaration" >&5
13725 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13726 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13727 echo $ac_n "(cached) $ac_c" 1>&6
13732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13733 ac_cpp='$CXXCPP $CPPFLAGS'
13734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13736 cross_compiling=$ac_cv_prog_cxx_cross
13738 cat > conftest.$ac_ext <<EOF
13739 #line 13740 "configure"
13740 #include "confdefs.h"
13746 if { (eval echo configure:13747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13748 glibcpp_cv_func_fmodf_use=yes
13750 echo "configure: failed program was:" >&5
13751 cat conftest.$ac_ext >&5
13753 glibcpp_cv_func_fmodf_use=no
13757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13758 ac_cpp='$CPP $CPPFLAGS'
13759 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13760 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13761 cross_compiling=$ac_cv_prog_cc_cross
13767 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13769 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13770 for ac_func in fmodf
13772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13773 echo "configure:13774: checking for $ac_func" >&5
13774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13775 echo $ac_n "(cached) $ac_c" 1>&6
13777 cat > conftest.$ac_ext <<EOF
13778 #line 13779 "configure"
13779 #include "confdefs.h"
13780 /* System header to define __stub macros and hopefully few prototypes,
13781 which can conflict with char $ac_func(); below. */
13782 #include <assert.h>
13783 /* Override any gcc2 internal prototype to avoid an error. */
13784 /* We use char because int might match the return type of a gcc2
13785 builtin and then its argument prototype would still apply. */
13790 /* The GNU C library defines this for functions which it implements
13791 to always fail with ENOSYS. Some functions are actually named
13792 something starting with __ and the normal name is an alias. */
13793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13801 if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13803 eval "ac_cv_func_$ac_func=yes"
13805 echo "configure: failed program was:" >&5
13806 cat conftest.$ac_ext >&5
13808 eval "ac_cv_func_$ac_func=no"
13813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13814 echo "$ac_t""yes" 1>&6
13815 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13816 cat >> confdefs.h <<EOF
13817 #define $ac_tr_func 1
13821 echo "$ac_t""no" 1>&6
13827 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13828 echo "configure:13829: checking for _fmodf declaration" >&5
13829 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13830 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13831 echo $ac_n "(cached) $ac_c" 1>&6
13836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13837 ac_cpp='$CXXCPP $CPPFLAGS'
13838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13840 cross_compiling=$ac_cv_prog_cxx_cross
13842 cat > conftest.$ac_ext <<EOF
13843 #line 13844 "configure"
13844 #include "confdefs.h"
13850 if { (eval echo configure:13851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13852 glibcpp_cv_func__fmodf_use=yes
13854 echo "configure: failed program was:" >&5
13855 cat conftest.$ac_ext >&5
13857 glibcpp_cv_func__fmodf_use=no
13861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13862 ac_cpp='$CPP $CPPFLAGS'
13863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13865 cross_compiling=$ac_cv_prog_cc_cross
13871 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13873 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13874 for ac_func in _fmodf
13876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13877 echo "configure:13878: checking for $ac_func" >&5
13878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13879 echo $ac_n "(cached) $ac_c" 1>&6
13881 cat > conftest.$ac_ext <<EOF
13882 #line 13883 "configure"
13883 #include "confdefs.h"
13884 /* System header to define __stub macros and hopefully few prototypes,
13885 which can conflict with char $ac_func(); below. */
13886 #include <assert.h>
13887 /* Override any gcc2 internal prototype to avoid an error. */
13888 /* We use char because int might match the return type of a gcc2
13889 builtin and then its argument prototype would still apply. */
13894 /* The GNU C library defines this for functions which it implements
13895 to always fail with ENOSYS. Some functions are actually named
13896 something starting with __ and the normal name is an alias. */
13897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13905 if { (eval echo configure:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13907 eval "ac_cv_func_$ac_func=yes"
13909 echo "configure: failed program was:" >&5
13910 cat conftest.$ac_ext >&5
13912 eval "ac_cv_func_$ac_func=no"
13917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13918 echo "$ac_t""yes" 1>&6
13919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13920 cat >> confdefs.h <<EOF
13921 #define $ac_tr_func 1
13925 echo "$ac_t""no" 1>&6
13934 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13935 echo "configure:13936: checking for frexpf declaration" >&5
13936 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13937 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13938 echo $ac_n "(cached) $ac_c" 1>&6
13943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13944 ac_cpp='$CXXCPP $CPPFLAGS'
13945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13947 cross_compiling=$ac_cv_prog_cxx_cross
13949 cat > conftest.$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13957 if { (eval echo configure:13958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13959 glibcpp_cv_func_frexpf_use=yes
13961 echo "configure: failed program was:" >&5
13962 cat conftest.$ac_ext >&5
13964 glibcpp_cv_func_frexpf_use=no
13968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13969 ac_cpp='$CPP $CPPFLAGS'
13970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13972 cross_compiling=$ac_cv_prog_cc_cross
13978 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13980 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13981 for ac_func in frexpf
13983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13984 echo "configure:13985: checking for $ac_func" >&5
13985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13986 echo $ac_n "(cached) $ac_c" 1>&6
13988 cat > conftest.$ac_ext <<EOF
13989 #line 13990 "configure"
13990 #include "confdefs.h"
13991 /* System header to define __stub macros and hopefully few prototypes,
13992 which can conflict with char $ac_func(); below. */
13993 #include <assert.h>
13994 /* Override any gcc2 internal prototype to avoid an error. */
13995 /* We use char because int might match the return type of a gcc2
13996 builtin and then its argument prototype would still apply. */
14001 /* The GNU C library defines this for functions which it implements
14002 to always fail with ENOSYS. Some functions are actually named
14003 something starting with __ and the normal name is an alias. */
14004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 if { (eval echo configure:14013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14014 eval "ac_cv_func_$ac_func=yes"
14016 echo "configure: failed program was:" >&5
14017 cat conftest.$ac_ext >&5
14019 eval "ac_cv_func_$ac_func=no"
14024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14025 echo "$ac_t""yes" 1>&6
14026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14027 cat >> confdefs.h <<EOF
14028 #define $ac_tr_func 1
14032 echo "$ac_t""no" 1>&6
14038 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14039 echo "configure:14040: checking for _frexpf declaration" >&5
14040 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14041 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14042 echo $ac_n "(cached) $ac_c" 1>&6
14047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14048 ac_cpp='$CXXCPP $CPPFLAGS'
14049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14051 cross_compiling=$ac_cv_prog_cxx_cross
14053 cat > conftest.$ac_ext <<EOF
14054 #line 14055 "configure"
14055 #include "confdefs.h"
14061 if { (eval echo configure:14062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14063 glibcpp_cv_func__frexpf_use=yes
14065 echo "configure: failed program was:" >&5
14066 cat conftest.$ac_ext >&5
14068 glibcpp_cv_func__frexpf_use=no
14072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14076 cross_compiling=$ac_cv_prog_cc_cross
14082 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14084 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14085 for ac_func in _frexpf
14087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14088 echo "configure:14089: checking for $ac_func" >&5
14089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14090 echo $ac_n "(cached) $ac_c" 1>&6
14092 cat > conftest.$ac_ext <<EOF
14093 #line 14094 "configure"
14094 #include "confdefs.h"
14095 /* System header to define __stub macros and hopefully few prototypes,
14096 which can conflict with char $ac_func(); below. */
14097 #include <assert.h>
14098 /* Override any gcc2 internal prototype to avoid an error. */
14099 /* We use char because int might match the return type of a gcc2
14100 builtin and then its argument prototype would still apply. */
14105 /* The GNU C library defines this for functions which it implements
14106 to always fail with ENOSYS. Some functions are actually named
14107 something starting with __ and the normal name is an alias. */
14108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14116 if { (eval echo configure:14117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14118 eval "ac_cv_func_$ac_func=yes"
14120 echo "configure: failed program was:" >&5
14121 cat conftest.$ac_ext >&5
14123 eval "ac_cv_func_$ac_func=no"
14128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14129 echo "$ac_t""yes" 1>&6
14130 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14131 cat >> confdefs.h <<EOF
14132 #define $ac_tr_func 1
14136 echo "$ac_t""no" 1>&6
14145 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14146 echo "configure:14147: checking for hypotf declaration" >&5
14147 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14148 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14149 echo $ac_n "(cached) $ac_c" 1>&6
14154 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14155 ac_cpp='$CXXCPP $CPPFLAGS'
14156 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14157 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14158 cross_compiling=$ac_cv_prog_cxx_cross
14160 cat > conftest.$ac_ext <<EOF
14161 #line 14162 "configure"
14162 #include "confdefs.h"
14168 if { (eval echo configure:14169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14170 glibcpp_cv_func_hypotf_use=yes
14172 echo "configure: failed program was:" >&5
14173 cat conftest.$ac_ext >&5
14175 glibcpp_cv_func_hypotf_use=no
14179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14180 ac_cpp='$CPP $CPPFLAGS'
14181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14183 cross_compiling=$ac_cv_prog_cc_cross
14189 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14191 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14192 for ac_func in hypotf
14194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14195 echo "configure:14196: checking for $ac_func" >&5
14196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14197 echo $ac_n "(cached) $ac_c" 1>&6
14199 cat > conftest.$ac_ext <<EOF
14200 #line 14201 "configure"
14201 #include "confdefs.h"
14202 /* System header to define __stub macros and hopefully few prototypes,
14203 which can conflict with char $ac_func(); below. */
14204 #include <assert.h>
14205 /* Override any gcc2 internal prototype to avoid an error. */
14206 /* We use char because int might match the return type of a gcc2
14207 builtin and then its argument prototype would still apply. */
14212 /* The GNU C library defines this for functions which it implements
14213 to always fail with ENOSYS. Some functions are actually named
14214 something starting with __ and the normal name is an alias. */
14215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14223 if { (eval echo configure:14224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14225 eval "ac_cv_func_$ac_func=yes"
14227 echo "configure: failed program was:" >&5
14228 cat conftest.$ac_ext >&5
14230 eval "ac_cv_func_$ac_func=no"
14235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14236 echo "$ac_t""yes" 1>&6
14237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14238 cat >> confdefs.h <<EOF
14239 #define $ac_tr_func 1
14243 echo "$ac_t""no" 1>&6
14249 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14250 echo "configure:14251: checking for _hypotf declaration" >&5
14251 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14252 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14253 echo $ac_n "(cached) $ac_c" 1>&6
14258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14259 ac_cpp='$CXXCPP $CPPFLAGS'
14260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14262 cross_compiling=$ac_cv_prog_cxx_cross
14264 cat > conftest.$ac_ext <<EOF
14265 #line 14266 "configure"
14266 #include "confdefs.h"
14272 if { (eval echo configure:14273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14274 glibcpp_cv_func__hypotf_use=yes
14276 echo "configure: failed program was:" >&5
14277 cat conftest.$ac_ext >&5
14279 glibcpp_cv_func__hypotf_use=no
14283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14284 ac_cpp='$CPP $CPPFLAGS'
14285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14287 cross_compiling=$ac_cv_prog_cc_cross
14293 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14295 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14296 for ac_func in _hypotf
14298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14299 echo "configure:14300: checking for $ac_func" >&5
14300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14301 echo $ac_n "(cached) $ac_c" 1>&6
14303 cat > conftest.$ac_ext <<EOF
14304 #line 14305 "configure"
14305 #include "confdefs.h"
14306 /* System header to define __stub macros and hopefully few prototypes,
14307 which can conflict with char $ac_func(); below. */
14308 #include <assert.h>
14309 /* Override any gcc2 internal prototype to avoid an error. */
14310 /* We use char because int might match the return type of a gcc2
14311 builtin and then its argument prototype would still apply. */
14316 /* The GNU C library defines this for functions which it implements
14317 to always fail with ENOSYS. Some functions are actually named
14318 something starting with __ and the normal name is an alias. */
14319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14327 if { (eval echo configure:14328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14329 eval "ac_cv_func_$ac_func=yes"
14331 echo "configure: failed program was:" >&5
14332 cat conftest.$ac_ext >&5
14334 eval "ac_cv_func_$ac_func=no"
14339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14340 echo "$ac_t""yes" 1>&6
14341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14342 cat >> confdefs.h <<EOF
14343 #define $ac_tr_func 1
14347 echo "$ac_t""no" 1>&6
14356 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14357 echo "configure:14358: checking for ldexpf declaration" >&5
14358 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14359 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14360 echo $ac_n "(cached) $ac_c" 1>&6
14365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14366 ac_cpp='$CXXCPP $CPPFLAGS'
14367 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14368 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14369 cross_compiling=$ac_cv_prog_cxx_cross
14371 cat > conftest.$ac_ext <<EOF
14372 #line 14373 "configure"
14373 #include "confdefs.h"
14379 if { (eval echo configure:14380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14381 glibcpp_cv_func_ldexpf_use=yes
14383 echo "configure: failed program was:" >&5
14384 cat conftest.$ac_ext >&5
14386 glibcpp_cv_func_ldexpf_use=no
14390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14391 ac_cpp='$CPP $CPPFLAGS'
14392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14394 cross_compiling=$ac_cv_prog_cc_cross
14400 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14402 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14403 for ac_func in ldexpf
14405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14406 echo "configure:14407: checking for $ac_func" >&5
14407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14408 echo $ac_n "(cached) $ac_c" 1>&6
14410 cat > conftest.$ac_ext <<EOF
14411 #line 14412 "configure"
14412 #include "confdefs.h"
14413 /* System header to define __stub macros and hopefully few prototypes,
14414 which can conflict with char $ac_func(); below. */
14415 #include <assert.h>
14416 /* Override any gcc2 internal prototype to avoid an error. */
14417 /* We use char because int might match the return type of a gcc2
14418 builtin and then its argument prototype would still apply. */
14423 /* The GNU C library defines this for functions which it implements
14424 to always fail with ENOSYS. Some functions are actually named
14425 something starting with __ and the normal name is an alias. */
14426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14434 if { (eval echo configure:14435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14436 eval "ac_cv_func_$ac_func=yes"
14438 echo "configure: failed program was:" >&5
14439 cat conftest.$ac_ext >&5
14441 eval "ac_cv_func_$ac_func=no"
14446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14447 echo "$ac_t""yes" 1>&6
14448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14449 cat >> confdefs.h <<EOF
14450 #define $ac_tr_func 1
14454 echo "$ac_t""no" 1>&6
14460 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14461 echo "configure:14462: checking for _ldexpf declaration" >&5
14462 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14463 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14464 echo $ac_n "(cached) $ac_c" 1>&6
14469 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14470 ac_cpp='$CXXCPP $CPPFLAGS'
14471 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14472 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14473 cross_compiling=$ac_cv_prog_cxx_cross
14475 cat > conftest.$ac_ext <<EOF
14476 #line 14477 "configure"
14477 #include "confdefs.h"
14483 if { (eval echo configure:14484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14485 glibcpp_cv_func__ldexpf_use=yes
14487 echo "configure: failed program was:" >&5
14488 cat conftest.$ac_ext >&5
14490 glibcpp_cv_func__ldexpf_use=no
14494 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14497 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14498 cross_compiling=$ac_cv_prog_cc_cross
14504 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14506 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14507 for ac_func in _ldexpf
14509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14510 echo "configure:14511: checking for $ac_func" >&5
14511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14512 echo $ac_n "(cached) $ac_c" 1>&6
14514 cat > conftest.$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14517 /* System header to define __stub macros and hopefully few prototypes,
14518 which can conflict with char $ac_func(); below. */
14519 #include <assert.h>
14520 /* Override any gcc2 internal prototype to avoid an error. */
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14527 /* The GNU C library defines this for functions which it implements
14528 to always fail with ENOSYS. Some functions are actually named
14529 something starting with __ and the normal name is an alias. */
14530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14538 if { (eval echo configure:14539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14540 eval "ac_cv_func_$ac_func=yes"
14542 echo "configure: failed program was:" >&5
14543 cat conftest.$ac_ext >&5
14545 eval "ac_cv_func_$ac_func=no"
14550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14551 echo "$ac_t""yes" 1>&6
14552 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14553 cat >> confdefs.h <<EOF
14554 #define $ac_tr_func 1
14558 echo "$ac_t""no" 1>&6
14567 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14568 echo "configure:14569: checking for logf declaration" >&5
14569 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14570 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14571 echo $ac_n "(cached) $ac_c" 1>&6
14576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14577 ac_cpp='$CXXCPP $CPPFLAGS'
14578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14580 cross_compiling=$ac_cv_prog_cxx_cross
14582 cat > conftest.$ac_ext <<EOF
14583 #line 14584 "configure"
14584 #include "confdefs.h"
14586 #ifdef HAVE_IEEEFP_H
14587 #include <ieeefp.h>
14594 if { (eval echo configure:14595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14596 glibcpp_cv_func_logf_use=yes
14598 echo "configure: failed program was:" >&5
14599 cat conftest.$ac_ext >&5
14601 glibcpp_cv_func_logf_use=no
14605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14606 ac_cpp='$CPP $CPPFLAGS'
14607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14609 cross_compiling=$ac_cv_prog_cc_cross
14615 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14617 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14618 for ac_func in logf
14620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14621 echo "configure:14622: checking for $ac_func" >&5
14622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14623 echo $ac_n "(cached) $ac_c" 1>&6
14625 cat > conftest.$ac_ext <<EOF
14626 #line 14627 "configure"
14627 #include "confdefs.h"
14628 /* System header to define __stub macros and hopefully few prototypes,
14629 which can conflict with char $ac_func(); below. */
14630 #include <assert.h>
14631 /* Override any gcc2 internal prototype to avoid an error. */
14632 /* We use char because int might match the return type of a gcc2
14633 builtin and then its argument prototype would still apply. */
14638 /* The GNU C library defines this for functions which it implements
14639 to always fail with ENOSYS. Some functions are actually named
14640 something starting with __ and the normal name is an alias. */
14641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14649 if { (eval echo configure:14650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14651 eval "ac_cv_func_$ac_func=yes"
14653 echo "configure: failed program was:" >&5
14654 cat conftest.$ac_ext >&5
14656 eval "ac_cv_func_$ac_func=no"
14661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14662 echo "$ac_t""yes" 1>&6
14663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14664 cat >> confdefs.h <<EOF
14665 #define $ac_tr_func 1
14669 echo "$ac_t""no" 1>&6
14675 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14676 echo "configure:14677: checking for _logf declaration" >&5
14677 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14678 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14679 echo $ac_n "(cached) $ac_c" 1>&6
14684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14685 ac_cpp='$CXXCPP $CPPFLAGS'
14686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14688 cross_compiling=$ac_cv_prog_cxx_cross
14690 cat > conftest.$ac_ext <<EOF
14691 #line 14692 "configure"
14692 #include "confdefs.h"
14694 #ifdef HAVE_IEEEFP_H
14695 #include <ieeefp.h>
14702 if { (eval echo configure:14703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14704 glibcpp_cv_func__logf_use=yes
14706 echo "configure: failed program was:" >&5
14707 cat conftest.$ac_ext >&5
14709 glibcpp_cv_func__logf_use=no
14713 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14714 ac_cpp='$CPP $CPPFLAGS'
14715 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14716 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14717 cross_compiling=$ac_cv_prog_cc_cross
14723 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14725 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14726 for ac_func in _logf
14728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14729 echo "configure:14730: checking for $ac_func" >&5
14730 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14731 echo $ac_n "(cached) $ac_c" 1>&6
14733 cat > conftest.$ac_ext <<EOF
14734 #line 14735 "configure"
14735 #include "confdefs.h"
14736 /* System header to define __stub macros and hopefully few prototypes,
14737 which can conflict with char $ac_func(); below. */
14738 #include <assert.h>
14739 /* Override any gcc2 internal prototype to avoid an error. */
14740 /* We use char because int might match the return type of a gcc2
14741 builtin and then its argument prototype would still apply. */
14746 /* The GNU C library defines this for functions which it implements
14747 to always fail with ENOSYS. Some functions are actually named
14748 something starting with __ and the normal name is an alias. */
14749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14757 if { (eval echo configure:14758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14759 eval "ac_cv_func_$ac_func=yes"
14761 echo "configure: failed program was:" >&5
14762 cat conftest.$ac_ext >&5
14764 eval "ac_cv_func_$ac_func=no"
14769 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14770 echo "$ac_t""yes" 1>&6
14771 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14772 cat >> confdefs.h <<EOF
14773 #define $ac_tr_func 1
14777 echo "$ac_t""no" 1>&6
14786 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14787 echo "configure:14788: checking for log10f declaration" >&5
14788 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14789 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14790 echo $ac_n "(cached) $ac_c" 1>&6
14795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14796 ac_cpp='$CXXCPP $CPPFLAGS'
14797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14799 cross_compiling=$ac_cv_prog_cxx_cross
14801 cat > conftest.$ac_ext <<EOF
14802 #line 14803 "configure"
14803 #include "confdefs.h"
14805 #ifdef HAVE_IEEEFP_H
14806 #include <ieeefp.h>
14813 if { (eval echo configure:14814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14815 glibcpp_cv_func_log10f_use=yes
14817 echo "configure: failed program was:" >&5
14818 cat conftest.$ac_ext >&5
14820 glibcpp_cv_func_log10f_use=no
14824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14825 ac_cpp='$CPP $CPPFLAGS'
14826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14828 cross_compiling=$ac_cv_prog_cc_cross
14834 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14836 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14837 for ac_func in log10f
14839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14840 echo "configure:14841: checking for $ac_func" >&5
14841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14842 echo $ac_n "(cached) $ac_c" 1>&6
14844 cat > conftest.$ac_ext <<EOF
14845 #line 14846 "configure"
14846 #include "confdefs.h"
14847 /* System header to define __stub macros and hopefully few prototypes,
14848 which can conflict with char $ac_func(); below. */
14849 #include <assert.h>
14850 /* Override any gcc2 internal prototype to avoid an error. */
14851 /* We use char because int might match the return type of a gcc2
14852 builtin and then its argument prototype would still apply. */
14857 /* The GNU C library defines this for functions which it implements
14858 to always fail with ENOSYS. Some functions are actually named
14859 something starting with __ and the normal name is an alias. */
14860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14868 if { (eval echo configure:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14870 eval "ac_cv_func_$ac_func=yes"
14872 echo "configure: failed program was:" >&5
14873 cat conftest.$ac_ext >&5
14875 eval "ac_cv_func_$ac_func=no"
14880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14881 echo "$ac_t""yes" 1>&6
14882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14883 cat >> confdefs.h <<EOF
14884 #define $ac_tr_func 1
14888 echo "$ac_t""no" 1>&6
14894 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14895 echo "configure:14896: checking for _log10f declaration" >&5
14896 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14897 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14898 echo $ac_n "(cached) $ac_c" 1>&6
14903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14904 ac_cpp='$CXXCPP $CPPFLAGS'
14905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14907 cross_compiling=$ac_cv_prog_cxx_cross
14909 cat > conftest.$ac_ext <<EOF
14910 #line 14911 "configure"
14911 #include "confdefs.h"
14913 #ifdef HAVE_IEEEFP_H
14914 #include <ieeefp.h>
14921 if { (eval echo configure:14922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14923 glibcpp_cv_func__log10f_use=yes
14925 echo "configure: failed program was:" >&5
14926 cat conftest.$ac_ext >&5
14928 glibcpp_cv_func__log10f_use=no
14932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14933 ac_cpp='$CPP $CPPFLAGS'
14934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14936 cross_compiling=$ac_cv_prog_cc_cross
14942 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14944 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14945 for ac_func in _log10f
14947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14948 echo "configure:14949: checking for $ac_func" >&5
14949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14950 echo $ac_n "(cached) $ac_c" 1>&6
14952 cat > conftest.$ac_ext <<EOF
14953 #line 14954 "configure"
14954 #include "confdefs.h"
14955 /* System header to define __stub macros and hopefully few prototypes,
14956 which can conflict with char $ac_func(); below. */
14957 #include <assert.h>
14958 /* Override any gcc2 internal prototype to avoid an error. */
14959 /* We use char because int might match the return type of a gcc2
14960 builtin and then its argument prototype would still apply. */
14965 /* The GNU C library defines this for functions which it implements
14966 to always fail with ENOSYS. Some functions are actually named
14967 something starting with __ and the normal name is an alias. */
14968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14976 if { (eval echo configure:14977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14978 eval "ac_cv_func_$ac_func=yes"
14980 echo "configure: failed program was:" >&5
14981 cat conftest.$ac_ext >&5
14983 eval "ac_cv_func_$ac_func=no"
14988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14989 echo "$ac_t""yes" 1>&6
14990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14991 cat >> confdefs.h <<EOF
14992 #define $ac_tr_func 1
14996 echo "$ac_t""no" 1>&6
15005 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15006 echo "configure:15007: checking for modff declaration" >&5
15007 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15008 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15009 echo $ac_n "(cached) $ac_c" 1>&6
15014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15015 ac_cpp='$CXXCPP $CPPFLAGS'
15016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15018 cross_compiling=$ac_cv_prog_cxx_cross
15020 cat > conftest.$ac_ext <<EOF
15021 #line 15022 "configure"
15022 #include "confdefs.h"
15028 if { (eval echo configure:15029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15030 glibcpp_cv_func_modff_use=yes
15032 echo "configure: failed program was:" >&5
15033 cat conftest.$ac_ext >&5
15035 glibcpp_cv_func_modff_use=no
15039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15040 ac_cpp='$CPP $CPPFLAGS'
15041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15043 cross_compiling=$ac_cv_prog_cc_cross
15049 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15051 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15052 for ac_func in modff
15054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15055 echo "configure:15056: checking for $ac_func" >&5
15056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15057 echo $ac_n "(cached) $ac_c" 1>&6
15059 cat > conftest.$ac_ext <<EOF
15060 #line 15061 "configure"
15061 #include "confdefs.h"
15062 /* System header to define __stub macros and hopefully few prototypes,
15063 which can conflict with char $ac_func(); below. */
15064 #include <assert.h>
15065 /* Override any gcc2 internal prototype to avoid an error. */
15066 /* We use char because int might match the return type of a gcc2
15067 builtin and then its argument prototype would still apply. */
15072 /* The GNU C library defines this for functions which it implements
15073 to always fail with ENOSYS. Some functions are actually named
15074 something starting with __ and the normal name is an alias. */
15075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15083 if { (eval echo configure:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15085 eval "ac_cv_func_$ac_func=yes"
15087 echo "configure: failed program was:" >&5
15088 cat conftest.$ac_ext >&5
15090 eval "ac_cv_func_$ac_func=no"
15095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15096 echo "$ac_t""yes" 1>&6
15097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15098 cat >> confdefs.h <<EOF
15099 #define $ac_tr_func 1
15103 echo "$ac_t""no" 1>&6
15109 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15110 echo "configure:15111: checking for _modff declaration" >&5
15111 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15112 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15113 echo $ac_n "(cached) $ac_c" 1>&6
15118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15121 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15122 cross_compiling=$ac_cv_prog_cxx_cross
15124 cat > conftest.$ac_ext <<EOF
15125 #line 15126 "configure"
15126 #include "confdefs.h"
15132 if { (eval echo configure:15133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15134 glibcpp_cv_func__modff_use=yes
15136 echo "configure: failed program was:" >&5
15137 cat conftest.$ac_ext >&5
15139 glibcpp_cv_func__modff_use=no
15143 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15144 ac_cpp='$CPP $CPPFLAGS'
15145 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15146 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15147 cross_compiling=$ac_cv_prog_cc_cross
15153 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15155 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15156 for ac_func in _modff
15158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15159 echo "configure:15160: checking for $ac_func" >&5
15160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15161 echo $ac_n "(cached) $ac_c" 1>&6
15163 cat > conftest.$ac_ext <<EOF
15164 #line 15165 "configure"
15165 #include "confdefs.h"
15166 /* System header to define __stub macros and hopefully few prototypes,
15167 which can conflict with char $ac_func(); below. */
15168 #include <assert.h>
15169 /* Override any gcc2 internal prototype to avoid an error. */
15170 /* We use char because int might match the return type of a gcc2
15171 builtin and then its argument prototype would still apply. */
15176 /* The GNU C library defines this for functions which it implements
15177 to always fail with ENOSYS. Some functions are actually named
15178 something starting with __ and the normal name is an alias. */
15179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15187 if { (eval echo configure:15188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15189 eval "ac_cv_func_$ac_func=yes"
15191 echo "configure: failed program was:" >&5
15192 cat conftest.$ac_ext >&5
15194 eval "ac_cv_func_$ac_func=no"
15199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15200 echo "$ac_t""yes" 1>&6
15201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15202 cat >> confdefs.h <<EOF
15203 #define $ac_tr_func 1
15207 echo "$ac_t""no" 1>&6
15216 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15217 echo "configure:15218: checking for powf declaration" >&5
15218 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15219 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15220 echo $ac_n "(cached) $ac_c" 1>&6
15225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15226 ac_cpp='$CXXCPP $CPPFLAGS'
15227 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15228 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15229 cross_compiling=$ac_cv_prog_cxx_cross
15231 cat > conftest.$ac_ext <<EOF
15232 #line 15233 "configure"
15233 #include "confdefs.h"
15239 if { (eval echo configure:15240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15241 glibcpp_cv_func_powf_use=yes
15243 echo "configure: failed program was:" >&5
15244 cat conftest.$ac_ext >&5
15246 glibcpp_cv_func_powf_use=no
15250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15251 ac_cpp='$CPP $CPPFLAGS'
15252 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15253 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15254 cross_compiling=$ac_cv_prog_cc_cross
15260 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15262 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15263 for ac_func in powf
15265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15266 echo "configure:15267: checking for $ac_func" >&5
15267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15268 echo $ac_n "(cached) $ac_c" 1>&6
15270 cat > conftest.$ac_ext <<EOF
15271 #line 15272 "configure"
15272 #include "confdefs.h"
15273 /* System header to define __stub macros and hopefully few prototypes,
15274 which can conflict with char $ac_func(); below. */
15275 #include <assert.h>
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 /* We use char because int might match the return type of a gcc2
15278 builtin and then its argument prototype would still apply. */
15283 /* The GNU C library defines this for functions which it implements
15284 to always fail with ENOSYS. Some functions are actually named
15285 something starting with __ and the normal name is an alias. */
15286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15294 if { (eval echo configure:15295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15296 eval "ac_cv_func_$ac_func=yes"
15298 echo "configure: failed program was:" >&5
15299 cat conftest.$ac_ext >&5
15301 eval "ac_cv_func_$ac_func=no"
15306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15307 echo "$ac_t""yes" 1>&6
15308 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15309 cat >> confdefs.h <<EOF
15310 #define $ac_tr_func 1
15314 echo "$ac_t""no" 1>&6
15320 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15321 echo "configure:15322: checking for _powf declaration" >&5
15322 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15323 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15324 echo $ac_n "(cached) $ac_c" 1>&6
15329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15330 ac_cpp='$CXXCPP $CPPFLAGS'
15331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15333 cross_compiling=$ac_cv_prog_cxx_cross
15335 cat > conftest.$ac_ext <<EOF
15336 #line 15337 "configure"
15337 #include "confdefs.h"
15343 if { (eval echo configure:15344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15345 glibcpp_cv_func__powf_use=yes
15347 echo "configure: failed program was:" >&5
15348 cat conftest.$ac_ext >&5
15350 glibcpp_cv_func__powf_use=no
15354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15355 ac_cpp='$CPP $CPPFLAGS'
15356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15358 cross_compiling=$ac_cv_prog_cc_cross
15364 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15366 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15367 for ac_func in _powf
15369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15370 echo "configure:15371: checking for $ac_func" >&5
15371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15372 echo $ac_n "(cached) $ac_c" 1>&6
15374 cat > conftest.$ac_ext <<EOF
15375 #line 15376 "configure"
15376 #include "confdefs.h"
15377 /* System header to define __stub macros and hopefully few prototypes,
15378 which can conflict with char $ac_func(); below. */
15379 #include <assert.h>
15380 /* Override any gcc2 internal prototype to avoid an error. */
15381 /* We use char because int might match the return type of a gcc2
15382 builtin and then its argument prototype would still apply. */
15387 /* The GNU C library defines this for functions which it implements
15388 to always fail with ENOSYS. Some functions are actually named
15389 something starting with __ and the normal name is an alias. */
15390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15398 if { (eval echo configure:15399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15400 eval "ac_cv_func_$ac_func=yes"
15402 echo "configure: failed program was:" >&5
15403 cat conftest.$ac_ext >&5
15405 eval "ac_cv_func_$ac_func=no"
15410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15411 echo "$ac_t""yes" 1>&6
15412 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15413 cat >> confdefs.h <<EOF
15414 #define $ac_tr_func 1
15418 echo "$ac_t""no" 1>&6
15427 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15428 echo "configure:15429: checking for sqrtf declaration" >&5
15429 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15430 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15431 echo $ac_n "(cached) $ac_c" 1>&6
15436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15437 ac_cpp='$CXXCPP $CPPFLAGS'
15438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15440 cross_compiling=$ac_cv_prog_cxx_cross
15442 cat > conftest.$ac_ext <<EOF
15443 #line 15444 "configure"
15444 #include "confdefs.h"
15446 #ifdef HAVE_IEEEFP_H
15447 #include <ieeefp.h>
15454 if { (eval echo configure:15455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15456 glibcpp_cv_func_sqrtf_use=yes
15458 echo "configure: failed program was:" >&5
15459 cat conftest.$ac_ext >&5
15461 glibcpp_cv_func_sqrtf_use=no
15465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15469 cross_compiling=$ac_cv_prog_cc_cross
15475 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15477 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15478 for ac_func in sqrtf
15480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15481 echo "configure:15482: checking for $ac_func" >&5
15482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15483 echo $ac_n "(cached) $ac_c" 1>&6
15485 cat > conftest.$ac_ext <<EOF
15486 #line 15487 "configure"
15487 #include "confdefs.h"
15488 /* System header to define __stub macros and hopefully few prototypes,
15489 which can conflict with char $ac_func(); below. */
15490 #include <assert.h>
15491 /* Override any gcc2 internal prototype to avoid an error. */
15492 /* We use char because int might match the return type of a gcc2
15493 builtin and then its argument prototype would still apply. */
15498 /* The GNU C library defines this for functions which it implements
15499 to always fail with ENOSYS. Some functions are actually named
15500 something starting with __ and the normal name is an alias. */
15501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15509 if { (eval echo configure:15510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15511 eval "ac_cv_func_$ac_func=yes"
15513 echo "configure: failed program was:" >&5
15514 cat conftest.$ac_ext >&5
15516 eval "ac_cv_func_$ac_func=no"
15521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15522 echo "$ac_t""yes" 1>&6
15523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15524 cat >> confdefs.h <<EOF
15525 #define $ac_tr_func 1
15529 echo "$ac_t""no" 1>&6
15535 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15536 echo "configure:15537: checking for _sqrtf declaration" >&5
15537 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15538 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15539 echo $ac_n "(cached) $ac_c" 1>&6
15544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15545 ac_cpp='$CXXCPP $CPPFLAGS'
15546 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15547 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15548 cross_compiling=$ac_cv_prog_cxx_cross
15550 cat > conftest.$ac_ext <<EOF
15551 #line 15552 "configure"
15552 #include "confdefs.h"
15554 #ifdef HAVE_IEEEFP_H
15555 #include <ieeefp.h>
15562 if { (eval echo configure:15563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15564 glibcpp_cv_func__sqrtf_use=yes
15566 echo "configure: failed program was:" >&5
15567 cat conftest.$ac_ext >&5
15569 glibcpp_cv_func__sqrtf_use=no
15573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15574 ac_cpp='$CPP $CPPFLAGS'
15575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15577 cross_compiling=$ac_cv_prog_cc_cross
15583 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15585 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15586 for ac_func in _sqrtf
15588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15589 echo "configure:15590: checking for $ac_func" >&5
15590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15591 echo $ac_n "(cached) $ac_c" 1>&6
15593 cat > conftest.$ac_ext <<EOF
15594 #line 15595 "configure"
15595 #include "confdefs.h"
15596 /* System header to define __stub macros and hopefully few prototypes,
15597 which can conflict with char $ac_func(); below. */
15598 #include <assert.h>
15599 /* Override any gcc2 internal prototype to avoid an error. */
15600 /* We use char because int might match the return type of a gcc2
15601 builtin and then its argument prototype would still apply. */
15606 /* The GNU C library defines this for functions which it implements
15607 to always fail with ENOSYS. Some functions are actually named
15608 something starting with __ and the normal name is an alias. */
15609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15617 if { (eval echo configure:15618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15619 eval "ac_cv_func_$ac_func=yes"
15621 echo "configure: failed program was:" >&5
15622 cat conftest.$ac_ext >&5
15624 eval "ac_cv_func_$ac_func=no"
15629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15630 echo "$ac_t""yes" 1>&6
15631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15632 cat >> confdefs.h <<EOF
15633 #define $ac_tr_func 1
15637 echo "$ac_t""no" 1>&6
15646 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15647 echo "configure:15648: checking for sincosf declaration" >&5
15648 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15649 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15650 echo $ac_n "(cached) $ac_c" 1>&6
15655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15656 ac_cpp='$CXXCPP $CPPFLAGS'
15657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15659 cross_compiling=$ac_cv_prog_cxx_cross
15661 cat > conftest.$ac_ext <<EOF
15662 #line 15663 "configure"
15663 #include "confdefs.h"
15669 if { (eval echo configure:15670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15671 glibcpp_cv_func_sincosf_use=yes
15673 echo "configure: failed program was:" >&5
15674 cat conftest.$ac_ext >&5
15676 glibcpp_cv_func_sincosf_use=no
15680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15684 cross_compiling=$ac_cv_prog_cc_cross
15690 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15692 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15693 for ac_func in sincosf
15695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15696 echo "configure:15697: checking for $ac_func" >&5
15697 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15698 echo $ac_n "(cached) $ac_c" 1>&6
15700 cat > conftest.$ac_ext <<EOF
15701 #line 15702 "configure"
15702 #include "confdefs.h"
15703 /* System header to define __stub macros and hopefully few prototypes,
15704 which can conflict with char $ac_func(); below. */
15705 #include <assert.h>
15706 /* Override any gcc2 internal prototype to avoid an error. */
15707 /* We use char because int might match the return type of a gcc2
15708 builtin and then its argument prototype would still apply. */
15713 /* The GNU C library defines this for functions which it implements
15714 to always fail with ENOSYS. Some functions are actually named
15715 something starting with __ and the normal name is an alias. */
15716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15724 if { (eval echo configure:15725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15726 eval "ac_cv_func_$ac_func=yes"
15728 echo "configure: failed program was:" >&5
15729 cat conftest.$ac_ext >&5
15731 eval "ac_cv_func_$ac_func=no"
15736 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15737 echo "$ac_t""yes" 1>&6
15738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15739 cat >> confdefs.h <<EOF
15740 #define $ac_tr_func 1
15744 echo "$ac_t""no" 1>&6
15750 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15751 echo "configure:15752: checking for _sincosf declaration" >&5
15752 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15753 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15754 echo $ac_n "(cached) $ac_c" 1>&6
15759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15760 ac_cpp='$CXXCPP $CPPFLAGS'
15761 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15762 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15763 cross_compiling=$ac_cv_prog_cxx_cross
15765 cat > conftest.$ac_ext <<EOF
15766 #line 15767 "configure"
15767 #include "confdefs.h"
15773 if { (eval echo configure:15774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15775 glibcpp_cv_func__sincosf_use=yes
15777 echo "configure: failed program was:" >&5
15778 cat conftest.$ac_ext >&5
15780 glibcpp_cv_func__sincosf_use=no
15784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15788 cross_compiling=$ac_cv_prog_cc_cross
15794 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15796 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15797 for ac_func in _sincosf
15799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15800 echo "configure:15801: checking for $ac_func" >&5
15801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15802 echo $ac_n "(cached) $ac_c" 1>&6
15804 cat > conftest.$ac_ext <<EOF
15805 #line 15806 "configure"
15806 #include "confdefs.h"
15807 /* System header to define __stub macros and hopefully few prototypes,
15808 which can conflict with char $ac_func(); below. */
15809 #include <assert.h>
15810 /* Override any gcc2 internal prototype to avoid an error. */
15811 /* We use char because int might match the return type of a gcc2
15812 builtin and then its argument prototype would still apply. */
15817 /* The GNU C library defines this for functions which it implements
15818 to always fail with ENOSYS. Some functions are actually named
15819 something starting with __ and the normal name is an alias. */
15820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15828 if { (eval echo configure:15829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15830 eval "ac_cv_func_$ac_func=yes"
15832 echo "configure: failed program was:" >&5
15833 cat conftest.$ac_ext >&5
15835 eval "ac_cv_func_$ac_func=no"
15840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15841 echo "$ac_t""yes" 1>&6
15842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15843 cat >> confdefs.h <<EOF
15844 #define $ac_tr_func 1
15848 echo "$ac_t""no" 1>&6
15857 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15858 echo "configure:15859: checking for finitef declaration" >&5
15859 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15860 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15861 echo $ac_n "(cached) $ac_c" 1>&6
15866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15867 ac_cpp='$CXXCPP $CPPFLAGS'
15868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15870 cross_compiling=$ac_cv_prog_cxx_cross
15872 cat > conftest.$ac_ext <<EOF
15873 #line 15874 "configure"
15874 #include "confdefs.h"
15876 #ifdef HAVE_IEEEFP_H
15877 #include <ieeefp.h>
15884 if { (eval echo configure:15885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15886 glibcpp_cv_func_finitef_use=yes
15888 echo "configure: failed program was:" >&5
15889 cat conftest.$ac_ext >&5
15891 glibcpp_cv_func_finitef_use=no
15895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15896 ac_cpp='$CPP $CPPFLAGS'
15897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15899 cross_compiling=$ac_cv_prog_cc_cross
15905 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15907 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15908 for ac_func in finitef
15910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15911 echo "configure:15912: checking for $ac_func" >&5
15912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15913 echo $ac_n "(cached) $ac_c" 1>&6
15915 cat > conftest.$ac_ext <<EOF
15916 #line 15917 "configure"
15917 #include "confdefs.h"
15918 /* System header to define __stub macros and hopefully few prototypes,
15919 which can conflict with char $ac_func(); below. */
15920 #include <assert.h>
15921 /* Override any gcc2 internal prototype to avoid an error. */
15922 /* We use char because int might match the return type of a gcc2
15923 builtin and then its argument prototype would still apply. */
15928 /* The GNU C library defines this for functions which it implements
15929 to always fail with ENOSYS. Some functions are actually named
15930 something starting with __ and the normal name is an alias. */
15931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15939 if { (eval echo configure:15940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15941 eval "ac_cv_func_$ac_func=yes"
15943 echo "configure: failed program was:" >&5
15944 cat conftest.$ac_ext >&5
15946 eval "ac_cv_func_$ac_func=no"
15951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15952 echo "$ac_t""yes" 1>&6
15953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15954 cat >> confdefs.h <<EOF
15955 #define $ac_tr_func 1
15959 echo "$ac_t""no" 1>&6
15965 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15966 echo "configure:15967: checking for _finitef declaration" >&5
15967 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15968 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15969 echo $ac_n "(cached) $ac_c" 1>&6
15974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15975 ac_cpp='$CXXCPP $CPPFLAGS'
15976 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15977 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15978 cross_compiling=$ac_cv_prog_cxx_cross
15980 cat > conftest.$ac_ext <<EOF
15981 #line 15982 "configure"
15982 #include "confdefs.h"
15984 #ifdef HAVE_IEEEFP_H
15985 #include <ieeefp.h>
15992 if { (eval echo configure:15993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15994 glibcpp_cv_func__finitef_use=yes
15996 echo "configure: failed program was:" >&5
15997 cat conftest.$ac_ext >&5
15999 glibcpp_cv_func__finitef_use=no
16003 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16004 ac_cpp='$CPP $CPPFLAGS'
16005 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16006 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16007 cross_compiling=$ac_cv_prog_cc_cross
16013 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16015 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16016 for ac_func in _finitef
16018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16019 echo "configure:16020: checking for $ac_func" >&5
16020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16021 echo $ac_n "(cached) $ac_c" 1>&6
16023 cat > conftest.$ac_ext <<EOF
16024 #line 16025 "configure"
16025 #include "confdefs.h"
16026 /* System header to define __stub macros and hopefully few prototypes,
16027 which can conflict with char $ac_func(); below. */
16028 #include <assert.h>
16029 /* Override any gcc2 internal prototype to avoid an error. */
16030 /* We use char because int might match the return type of a gcc2
16031 builtin and then its argument prototype would still apply. */
16036 /* The GNU C library defines this for functions which it implements
16037 to always fail with ENOSYS. Some functions are actually named
16038 something starting with __ and the normal name is an alias. */
16039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16047 if { (eval echo configure:16048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16049 eval "ac_cv_func_$ac_func=yes"
16051 echo "configure: failed program was:" >&5
16052 cat conftest.$ac_ext >&5
16054 eval "ac_cv_func_$ac_func=no"
16059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16060 echo "$ac_t""yes" 1>&6
16061 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16062 cat >> confdefs.h <<EOF
16063 #define $ac_tr_func 1
16067 echo "$ac_t""no" 1>&6
16076 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16077 echo "configure:16078: checking for long double trig functions" >&5
16078 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16079 echo $ac_n "(cached) $ac_c" 1>&6
16084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16085 ac_cpp='$CXXCPP $CPPFLAGS'
16086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16088 cross_compiling=$ac_cv_prog_cxx_cross
16090 cat > conftest.$ac_ext <<EOF
16091 #line 16092 "configure"
16092 #include "confdefs.h"
16095 `for x in acosl asinl atanl \
16097 coshl sinhl tanhl; do echo "$x (0);"; done`
16100 if { (eval echo configure:16101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16102 glibcpp_cv_func_long_double_trig_use=yes
16104 echo "configure: failed program was:" >&5
16105 cat conftest.$ac_ext >&5
16107 glibcpp_cv_func_long_double_trig_use=no
16111 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16112 ac_cpp='$CPP $CPPFLAGS'
16113 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16114 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16115 cross_compiling=$ac_cv_prog_cc_cross
16119 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16120 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16121 for ac_func in acosl asinl atanl \
16125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16126 echo "configure:16127: checking for $ac_func" >&5
16127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16128 echo $ac_n "(cached) $ac_c" 1>&6
16130 cat > conftest.$ac_ext <<EOF
16131 #line 16132 "configure"
16132 #include "confdefs.h"
16133 /* System header to define __stub macros and hopefully few prototypes,
16134 which can conflict with char $ac_func(); below. */
16135 #include <assert.h>
16136 /* Override any gcc2 internal prototype to avoid an error. */
16137 /* We use char because int might match the return type of a gcc2
16138 builtin and then its argument prototype would still apply. */
16143 /* The GNU C library defines this for functions which it implements
16144 to always fail with ENOSYS. Some functions are actually named
16145 something starting with __ and the normal name is an alias. */
16146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16154 if { (eval echo configure:16155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16156 eval "ac_cv_func_$ac_func=yes"
16158 echo "configure: failed program was:" >&5
16159 cat conftest.$ac_ext >&5
16161 eval "ac_cv_func_$ac_func=no"
16166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16167 echo "$ac_t""yes" 1>&6
16168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16169 cat >> confdefs.h <<EOF
16170 #define $ac_tr_func 1
16174 echo "$ac_t""no" 1>&6
16181 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16182 echo "configure:16183: checking for long double round functions" >&5
16183 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16184 echo $ac_n "(cached) $ac_c" 1>&6
16189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16190 ac_cpp='$CXXCPP $CPPFLAGS'
16191 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16192 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16193 cross_compiling=$ac_cv_prog_cxx_cross
16195 cat > conftest.$ac_ext <<EOF
16196 #line 16197 "configure"
16197 #include "confdefs.h"
16200 `for x in ceill floorl; do echo "$x (0);"; done`
16203 if { (eval echo configure:16204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16205 glibcpp_cv_func_long_double_round_use=yes
16207 echo "configure: failed program was:" >&5
16208 cat conftest.$ac_ext >&5
16210 glibcpp_cv_func_long_double_round_use=no
16214 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16215 ac_cpp='$CPP $CPPFLAGS'
16216 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16217 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16218 cross_compiling=$ac_cv_prog_cc_cross
16222 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16223 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16224 for ac_func in ceill floorl
16226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16227 echo "configure:16228: checking for $ac_func" >&5
16228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16229 echo $ac_n "(cached) $ac_c" 1>&6
16231 cat > conftest.$ac_ext <<EOF
16232 #line 16233 "configure"
16233 #include "confdefs.h"
16234 /* System header to define __stub macros and hopefully few prototypes,
16235 which can conflict with char $ac_func(); below. */
16236 #include <assert.h>
16237 /* Override any gcc2 internal prototype to avoid an error. */
16238 /* We use char because int might match the return type of a gcc2
16239 builtin and then its argument prototype would still apply. */
16244 /* The GNU C library defines this for functions which it implements
16245 to always fail with ENOSYS. Some functions are actually named
16246 something starting with __ and the normal name is an alias. */
16247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16255 if { (eval echo configure:16256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16257 eval "ac_cv_func_$ac_func=yes"
16259 echo "configure: failed program was:" >&5
16260 cat conftest.$ac_ext >&5
16262 eval "ac_cv_func_$ac_func=no"
16267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16268 echo "$ac_t""yes" 1>&6
16269 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16270 cat >> confdefs.h <<EOF
16271 #define $ac_tr_func 1
16275 echo "$ac_t""no" 1>&6
16283 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16284 echo "configure:16285: checking for isnanl declaration" >&5
16285 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16286 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16287 echo $ac_n "(cached) $ac_c" 1>&6
16292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16295 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16296 cross_compiling=$ac_cv_prog_cxx_cross
16298 cat > conftest.$ac_ext <<EOF
16299 #line 16300 "configure"
16300 #include "confdefs.h"
16302 #ifdef HAVE_IEEEFP_H
16303 #include <ieeefp.h>
16310 if { (eval echo configure:16311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16312 glibcpp_cv_func_isnanl_use=yes
16314 echo "configure: failed program was:" >&5
16315 cat conftest.$ac_ext >&5
16317 glibcpp_cv_func_isnanl_use=no
16321 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16322 ac_cpp='$CPP $CPPFLAGS'
16323 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16324 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16325 cross_compiling=$ac_cv_prog_cc_cross
16331 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16333 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16334 for ac_func in isnanl
16336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16337 echo "configure:16338: checking for $ac_func" >&5
16338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16339 echo $ac_n "(cached) $ac_c" 1>&6
16341 cat > conftest.$ac_ext <<EOF
16342 #line 16343 "configure"
16343 #include "confdefs.h"
16344 /* System header to define __stub macros and hopefully few prototypes,
16345 which can conflict with char $ac_func(); below. */
16346 #include <assert.h>
16347 /* Override any gcc2 internal prototype to avoid an error. */
16348 /* We use char because int might match the return type of a gcc2
16349 builtin and then its argument prototype would still apply. */
16354 /* The GNU C library defines this for functions which it implements
16355 to always fail with ENOSYS. Some functions are actually named
16356 something starting with __ and the normal name is an alias. */
16357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16365 if { (eval echo configure:16366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16367 eval "ac_cv_func_$ac_func=yes"
16369 echo "configure: failed program was:" >&5
16370 cat conftest.$ac_ext >&5
16372 eval "ac_cv_func_$ac_func=no"
16377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16378 echo "$ac_t""yes" 1>&6
16379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16380 cat >> confdefs.h <<EOF
16381 #define $ac_tr_func 1
16385 echo "$ac_t""no" 1>&6
16391 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16392 echo "configure:16393: checking for _isnanl declaration" >&5
16393 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16394 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16395 echo $ac_n "(cached) $ac_c" 1>&6
16400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16401 ac_cpp='$CXXCPP $CPPFLAGS'
16402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16404 cross_compiling=$ac_cv_prog_cxx_cross
16406 cat > conftest.$ac_ext <<EOF
16407 #line 16408 "configure"
16408 #include "confdefs.h"
16410 #ifdef HAVE_IEEEFP_H
16411 #include <ieeefp.h>
16418 if { (eval echo configure:16419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16420 glibcpp_cv_func__isnanl_use=yes
16422 echo "configure: failed program was:" >&5
16423 cat conftest.$ac_ext >&5
16425 glibcpp_cv_func__isnanl_use=no
16429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16432 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16433 cross_compiling=$ac_cv_prog_cc_cross
16439 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16441 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16442 for ac_func in _isnanl
16444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16445 echo "configure:16446: checking for $ac_func" >&5
16446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16447 echo $ac_n "(cached) $ac_c" 1>&6
16449 cat > conftest.$ac_ext <<EOF
16450 #line 16451 "configure"
16451 #include "confdefs.h"
16452 /* System header to define __stub macros and hopefully few prototypes,
16453 which can conflict with char $ac_func(); below. */
16454 #include <assert.h>
16455 /* Override any gcc2 internal prototype to avoid an error. */
16456 /* We use char because int might match the return type of a gcc2
16457 builtin and then its argument prototype would still apply. */
16462 /* The GNU C library defines this for functions which it implements
16463 to always fail with ENOSYS. Some functions are actually named
16464 something starting with __ and the normal name is an alias. */
16465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16473 if { (eval echo configure:16474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16475 eval "ac_cv_func_$ac_func=yes"
16477 echo "configure: failed program was:" >&5
16478 cat conftest.$ac_ext >&5
16480 eval "ac_cv_func_$ac_func=no"
16485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16486 echo "$ac_t""yes" 1>&6
16487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16488 cat >> confdefs.h <<EOF
16489 #define $ac_tr_func 1
16493 echo "$ac_t""no" 1>&6
16502 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16503 echo "configure:16504: checking for isinfl declaration" >&5
16504 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16505 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16506 echo $ac_n "(cached) $ac_c" 1>&6
16511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16512 ac_cpp='$CXXCPP $CPPFLAGS'
16513 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16514 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16515 cross_compiling=$ac_cv_prog_cxx_cross
16517 cat > conftest.$ac_ext <<EOF
16518 #line 16519 "configure"
16519 #include "confdefs.h"
16521 #ifdef HAVE_IEEEFP_H
16522 #include <ieeefp.h>
16529 if { (eval echo configure:16530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16531 glibcpp_cv_func_isinfl_use=yes
16533 echo "configure: failed program was:" >&5
16534 cat conftest.$ac_ext >&5
16536 glibcpp_cv_func_isinfl_use=no
16540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16541 ac_cpp='$CPP $CPPFLAGS'
16542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16544 cross_compiling=$ac_cv_prog_cc_cross
16550 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16552 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16553 for ac_func in isinfl
16555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16556 echo "configure:16557: checking for $ac_func" >&5
16557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16558 echo $ac_n "(cached) $ac_c" 1>&6
16560 cat > conftest.$ac_ext <<EOF
16561 #line 16562 "configure"
16562 #include "confdefs.h"
16563 /* System header to define __stub macros and hopefully few prototypes,
16564 which can conflict with char $ac_func(); below. */
16565 #include <assert.h>
16566 /* Override any gcc2 internal prototype to avoid an error. */
16567 /* We use char because int might match the return type of a gcc2
16568 builtin and then its argument prototype would still apply. */
16573 /* The GNU C library defines this for functions which it implements
16574 to always fail with ENOSYS. Some functions are actually named
16575 something starting with __ and the normal name is an alias. */
16576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16584 if { (eval echo configure:16585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16586 eval "ac_cv_func_$ac_func=yes"
16588 echo "configure: failed program was:" >&5
16589 cat conftest.$ac_ext >&5
16591 eval "ac_cv_func_$ac_func=no"
16596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16597 echo "$ac_t""yes" 1>&6
16598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16599 cat >> confdefs.h <<EOF
16600 #define $ac_tr_func 1
16604 echo "$ac_t""no" 1>&6
16610 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16611 echo "configure:16612: checking for _isinfl declaration" >&5
16612 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16613 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16614 echo $ac_n "(cached) $ac_c" 1>&6
16619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16620 ac_cpp='$CXXCPP $CPPFLAGS'
16621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16623 cross_compiling=$ac_cv_prog_cxx_cross
16625 cat > conftest.$ac_ext <<EOF
16626 #line 16627 "configure"
16627 #include "confdefs.h"
16629 #ifdef HAVE_IEEEFP_H
16630 #include <ieeefp.h>
16637 if { (eval echo configure:16638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16639 glibcpp_cv_func__isinfl_use=yes
16641 echo "configure: failed program was:" >&5
16642 cat conftest.$ac_ext >&5
16644 glibcpp_cv_func__isinfl_use=no
16648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16649 ac_cpp='$CPP $CPPFLAGS'
16650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16652 cross_compiling=$ac_cv_prog_cc_cross
16658 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16660 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16661 for ac_func in _isinfl
16663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16664 echo "configure:16665: checking for $ac_func" >&5
16665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16666 echo $ac_n "(cached) $ac_c" 1>&6
16668 cat > conftest.$ac_ext <<EOF
16669 #line 16670 "configure"
16670 #include "confdefs.h"
16671 /* System header to define __stub macros and hopefully few prototypes,
16672 which can conflict with char $ac_func(); below. */
16673 #include <assert.h>
16674 /* Override any gcc2 internal prototype to avoid an error. */
16675 /* We use char because int might match the return type of a gcc2
16676 builtin and then its argument prototype would still apply. */
16681 /* The GNU C library defines this for functions which it implements
16682 to always fail with ENOSYS. Some functions are actually named
16683 something starting with __ and the normal name is an alias. */
16684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16692 if { (eval echo configure:16693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16694 eval "ac_cv_func_$ac_func=yes"
16696 echo "configure: failed program was:" >&5
16697 cat conftest.$ac_ext >&5
16699 eval "ac_cv_func_$ac_func=no"
16704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16705 echo "$ac_t""yes" 1>&6
16706 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16707 cat >> confdefs.h <<EOF
16708 #define $ac_tr_func 1
16712 echo "$ac_t""no" 1>&6
16721 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16722 echo "configure:16723: checking for copysignl declaration" >&5
16723 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16724 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16725 echo $ac_n "(cached) $ac_c" 1>&6
16730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16731 ac_cpp='$CXXCPP $CPPFLAGS'
16732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16734 cross_compiling=$ac_cv_prog_cxx_cross
16736 cat > conftest.$ac_ext <<EOF
16737 #line 16738 "configure"
16738 #include "confdefs.h"
16744 if { (eval echo configure:16745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16746 glibcpp_cv_func_copysignl_use=yes
16748 echo "configure: failed program was:" >&5
16749 cat conftest.$ac_ext >&5
16751 glibcpp_cv_func_copysignl_use=no
16755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16756 ac_cpp='$CPP $CPPFLAGS'
16757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16759 cross_compiling=$ac_cv_prog_cc_cross
16765 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16767 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16768 for ac_func in copysignl
16770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16771 echo "configure:16772: checking for $ac_func" >&5
16772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16773 echo $ac_n "(cached) $ac_c" 1>&6
16775 cat > conftest.$ac_ext <<EOF
16776 #line 16777 "configure"
16777 #include "confdefs.h"
16778 /* System header to define __stub macros and hopefully few prototypes,
16779 which can conflict with char $ac_func(); below. */
16780 #include <assert.h>
16781 /* Override any gcc2 internal prototype to avoid an error. */
16782 /* We use char because int might match the return type of a gcc2
16783 builtin and then its argument prototype would still apply. */
16788 /* The GNU C library defines this for functions which it implements
16789 to always fail with ENOSYS. Some functions are actually named
16790 something starting with __ and the normal name is an alias. */
16791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16799 if { (eval echo configure:16800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16801 eval "ac_cv_func_$ac_func=yes"
16803 echo "configure: failed program was:" >&5
16804 cat conftest.$ac_ext >&5
16806 eval "ac_cv_func_$ac_func=no"
16811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16812 echo "$ac_t""yes" 1>&6
16813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16814 cat >> confdefs.h <<EOF
16815 #define $ac_tr_func 1
16819 echo "$ac_t""no" 1>&6
16825 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16826 echo "configure:16827: checking for _copysignl declaration" >&5
16827 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16828 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16829 echo $ac_n "(cached) $ac_c" 1>&6
16834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16835 ac_cpp='$CXXCPP $CPPFLAGS'
16836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16838 cross_compiling=$ac_cv_prog_cxx_cross
16840 cat > conftest.$ac_ext <<EOF
16841 #line 16842 "configure"
16842 #include "confdefs.h"
16848 if { (eval echo configure:16849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16850 glibcpp_cv_func__copysignl_use=yes
16852 echo "configure: failed program was:" >&5
16853 cat conftest.$ac_ext >&5
16855 glibcpp_cv_func__copysignl_use=no
16859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16860 ac_cpp='$CPP $CPPFLAGS'
16861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16863 cross_compiling=$ac_cv_prog_cc_cross
16869 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16871 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16872 for ac_func in _copysignl
16874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16875 echo "configure:16876: checking for $ac_func" >&5
16876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16877 echo $ac_n "(cached) $ac_c" 1>&6
16879 cat > conftest.$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 /* System header to define __stub macros and hopefully few prototypes,
16883 which can conflict with char $ac_func(); below. */
16884 #include <assert.h>
16885 /* Override any gcc2 internal prototype to avoid an error. */
16886 /* We use char because int might match the return type of a gcc2
16887 builtin and then its argument prototype would still apply. */
16892 /* The GNU C library defines this for functions which it implements
16893 to always fail with ENOSYS. Some functions are actually named
16894 something starting with __ and the normal name is an alias. */
16895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16903 if { (eval echo configure:16904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16905 eval "ac_cv_func_$ac_func=yes"
16907 echo "configure: failed program was:" >&5
16908 cat conftest.$ac_ext >&5
16910 eval "ac_cv_func_$ac_func=no"
16915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16916 echo "$ac_t""yes" 1>&6
16917 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16918 cat >> confdefs.h <<EOF
16919 #define $ac_tr_func 1
16923 echo "$ac_t""no" 1>&6
16932 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16933 echo "configure:16934: checking for atan2l declaration" >&5
16934 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16935 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16936 echo $ac_n "(cached) $ac_c" 1>&6
16941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16942 ac_cpp='$CXXCPP $CPPFLAGS'
16943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16945 cross_compiling=$ac_cv_prog_cxx_cross
16947 cat > conftest.$ac_ext <<EOF
16948 #line 16949 "configure"
16949 #include "confdefs.h"
16955 if { (eval echo configure:16956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16957 glibcpp_cv_func_atan2l_use=yes
16959 echo "configure: failed program was:" >&5
16960 cat conftest.$ac_ext >&5
16962 glibcpp_cv_func_atan2l_use=no
16966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16967 ac_cpp='$CPP $CPPFLAGS'
16968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16970 cross_compiling=$ac_cv_prog_cc_cross
16976 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16978 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16979 for ac_func in atan2l
16981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16982 echo "configure:16983: checking for $ac_func" >&5
16983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16984 echo $ac_n "(cached) $ac_c" 1>&6
16986 cat > conftest.$ac_ext <<EOF
16987 #line 16988 "configure"
16988 #include "confdefs.h"
16989 /* System header to define __stub macros and hopefully few prototypes,
16990 which can conflict with char $ac_func(); below. */
16991 #include <assert.h>
16992 /* Override any gcc2 internal prototype to avoid an error. */
16993 /* We use char because int might match the return type of a gcc2
16994 builtin and then its argument prototype would still apply. */
16999 /* The GNU C library defines this for functions which it implements
17000 to always fail with ENOSYS. Some functions are actually named
17001 something starting with __ and the normal name is an alias. */
17002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17010 if { (eval echo configure:17011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17012 eval "ac_cv_func_$ac_func=yes"
17014 echo "configure: failed program was:" >&5
17015 cat conftest.$ac_ext >&5
17017 eval "ac_cv_func_$ac_func=no"
17022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17023 echo "$ac_t""yes" 1>&6
17024 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17025 cat >> confdefs.h <<EOF
17026 #define $ac_tr_func 1
17030 echo "$ac_t""no" 1>&6
17036 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17037 echo "configure:17038: checking for _atan2l declaration" >&5
17038 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17039 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17040 echo $ac_n "(cached) $ac_c" 1>&6
17045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17046 ac_cpp='$CXXCPP $CPPFLAGS'
17047 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17048 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17049 cross_compiling=$ac_cv_prog_cxx_cross
17051 cat > conftest.$ac_ext <<EOF
17052 #line 17053 "configure"
17053 #include "confdefs.h"
17059 if { (eval echo configure:17060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17061 glibcpp_cv_func__atan2l_use=yes
17063 echo "configure: failed program was:" >&5
17064 cat conftest.$ac_ext >&5
17066 glibcpp_cv_func__atan2l_use=no
17070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17071 ac_cpp='$CPP $CPPFLAGS'
17072 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17073 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17074 cross_compiling=$ac_cv_prog_cc_cross
17080 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17082 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17083 for ac_func in _atan2l
17085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17086 echo "configure:17087: checking for $ac_func" >&5
17087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17088 echo $ac_n "(cached) $ac_c" 1>&6
17090 cat > conftest.$ac_ext <<EOF
17091 #line 17092 "configure"
17092 #include "confdefs.h"
17093 /* System header to define __stub macros and hopefully few prototypes,
17094 which can conflict with char $ac_func(); below. */
17095 #include <assert.h>
17096 /* Override any gcc2 internal prototype to avoid an error. */
17097 /* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17103 /* The GNU C library defines this for functions which it implements
17104 to always fail with ENOSYS. Some functions are actually named
17105 something starting with __ and the normal name is an alias. */
17106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17114 if { (eval echo configure:17115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17116 eval "ac_cv_func_$ac_func=yes"
17118 echo "configure: failed program was:" >&5
17119 cat conftest.$ac_ext >&5
17121 eval "ac_cv_func_$ac_func=no"
17126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17127 echo "$ac_t""yes" 1>&6
17128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17129 cat >> confdefs.h <<EOF
17130 #define $ac_tr_func 1
17134 echo "$ac_t""no" 1>&6
17143 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17144 echo "configure:17145: checking for expl declaration" >&5
17145 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17146 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17147 echo $ac_n "(cached) $ac_c" 1>&6
17152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17153 ac_cpp='$CXXCPP $CPPFLAGS'
17154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17156 cross_compiling=$ac_cv_prog_cxx_cross
17158 cat > conftest.$ac_ext <<EOF
17159 #line 17160 "configure"
17160 #include "confdefs.h"
17162 #ifdef HAVE_IEEEFP_H
17163 #include <ieeefp.h>
17170 if { (eval echo configure:17171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17172 glibcpp_cv_func_expl_use=yes
17174 echo "configure: failed program was:" >&5
17175 cat conftest.$ac_ext >&5
17177 glibcpp_cv_func_expl_use=no
17181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17184 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17185 cross_compiling=$ac_cv_prog_cc_cross
17191 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17193 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17194 for ac_func in expl
17196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17197 echo "configure:17198: checking for $ac_func" >&5
17198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17199 echo $ac_n "(cached) $ac_c" 1>&6
17201 cat > conftest.$ac_ext <<EOF
17202 #line 17203 "configure"
17203 #include "confdefs.h"
17204 /* System header to define __stub macros and hopefully few prototypes,
17205 which can conflict with char $ac_func(); below. */
17206 #include <assert.h>
17207 /* Override any gcc2 internal prototype to avoid an error. */
17208 /* We use char because int might match the return type of a gcc2
17209 builtin and then its argument prototype would still apply. */
17214 /* The GNU C library defines this for functions which it implements
17215 to always fail with ENOSYS. Some functions are actually named
17216 something starting with __ and the normal name is an alias. */
17217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17225 if { (eval echo configure:17226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17227 eval "ac_cv_func_$ac_func=yes"
17229 echo "configure: failed program was:" >&5
17230 cat conftest.$ac_ext >&5
17232 eval "ac_cv_func_$ac_func=no"
17237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17238 echo "$ac_t""yes" 1>&6
17239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17240 cat >> confdefs.h <<EOF
17241 #define $ac_tr_func 1
17245 echo "$ac_t""no" 1>&6
17251 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17252 echo "configure:17253: checking for _expl declaration" >&5
17253 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17254 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17255 echo $ac_n "(cached) $ac_c" 1>&6
17260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17261 ac_cpp='$CXXCPP $CPPFLAGS'
17262 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17263 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17264 cross_compiling=$ac_cv_prog_cxx_cross
17266 cat > conftest.$ac_ext <<EOF
17267 #line 17268 "configure"
17268 #include "confdefs.h"
17270 #ifdef HAVE_IEEEFP_H
17271 #include <ieeefp.h>
17278 if { (eval echo configure:17279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17280 glibcpp_cv_func__expl_use=yes
17282 echo "configure: failed program was:" >&5
17283 cat conftest.$ac_ext >&5
17285 glibcpp_cv_func__expl_use=no
17289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17292 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17293 cross_compiling=$ac_cv_prog_cc_cross
17299 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17301 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17302 for ac_func in _expl
17304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17305 echo "configure:17306: checking for $ac_func" >&5
17306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17307 echo $ac_n "(cached) $ac_c" 1>&6
17309 cat > conftest.$ac_ext <<EOF
17310 #line 17311 "configure"
17311 #include "confdefs.h"
17312 /* System header to define __stub macros and hopefully few prototypes,
17313 which can conflict with char $ac_func(); below. */
17314 #include <assert.h>
17315 /* Override any gcc2 internal prototype to avoid an error. */
17316 /* We use char because int might match the return type of a gcc2
17317 builtin and then its argument prototype would still apply. */
17322 /* The GNU C library defines this for functions which it implements
17323 to always fail with ENOSYS. Some functions are actually named
17324 something starting with __ and the normal name is an alias. */
17325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17333 if { (eval echo configure:17334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17335 eval "ac_cv_func_$ac_func=yes"
17337 echo "configure: failed program was:" >&5
17338 cat conftest.$ac_ext >&5
17340 eval "ac_cv_func_$ac_func=no"
17345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17346 echo "$ac_t""yes" 1>&6
17347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17348 cat >> confdefs.h <<EOF
17349 #define $ac_tr_func 1
17353 echo "$ac_t""no" 1>&6
17362 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17363 echo "configure:17364: checking for fabsl declaration" >&5
17364 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17365 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17366 echo $ac_n "(cached) $ac_c" 1>&6
17371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17372 ac_cpp='$CXXCPP $CPPFLAGS'
17373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17375 cross_compiling=$ac_cv_prog_cxx_cross
17377 cat > conftest.$ac_ext <<EOF
17378 #line 17379 "configure"
17379 #include "confdefs.h"
17381 #ifdef HAVE_IEEEFP_H
17382 #include <ieeefp.h>
17389 if { (eval echo configure:17390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17391 glibcpp_cv_func_fabsl_use=yes
17393 echo "configure: failed program was:" >&5
17394 cat conftest.$ac_ext >&5
17396 glibcpp_cv_func_fabsl_use=no
17400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17401 ac_cpp='$CPP $CPPFLAGS'
17402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17404 cross_compiling=$ac_cv_prog_cc_cross
17410 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17412 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17413 for ac_func in fabsl
17415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17416 echo "configure:17417: checking for $ac_func" >&5
17417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17418 echo $ac_n "(cached) $ac_c" 1>&6
17420 cat > conftest.$ac_ext <<EOF
17421 #line 17422 "configure"
17422 #include "confdefs.h"
17423 /* System header to define __stub macros and hopefully few prototypes,
17424 which can conflict with char $ac_func(); below. */
17425 #include <assert.h>
17426 /* Override any gcc2 internal prototype to avoid an error. */
17427 /* We use char because int might match the return type of a gcc2
17428 builtin and then its argument prototype would still apply. */
17433 /* The GNU C library defines this for functions which it implements
17434 to always fail with ENOSYS. Some functions are actually named
17435 something starting with __ and the normal name is an alias. */
17436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17444 if { (eval echo configure:17445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17446 eval "ac_cv_func_$ac_func=yes"
17448 echo "configure: failed program was:" >&5
17449 cat conftest.$ac_ext >&5
17451 eval "ac_cv_func_$ac_func=no"
17456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17457 echo "$ac_t""yes" 1>&6
17458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17459 cat >> confdefs.h <<EOF
17460 #define $ac_tr_func 1
17464 echo "$ac_t""no" 1>&6
17470 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17471 echo "configure:17472: checking for _fabsl declaration" >&5
17472 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17473 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17474 echo $ac_n "(cached) $ac_c" 1>&6
17479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17480 ac_cpp='$CXXCPP $CPPFLAGS'
17481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17483 cross_compiling=$ac_cv_prog_cxx_cross
17485 cat > conftest.$ac_ext <<EOF
17486 #line 17487 "configure"
17487 #include "confdefs.h"
17489 #ifdef HAVE_IEEEFP_H
17490 #include <ieeefp.h>
17497 if { (eval echo configure:17498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17499 glibcpp_cv_func__fabsl_use=yes
17501 echo "configure: failed program was:" >&5
17502 cat conftest.$ac_ext >&5
17504 glibcpp_cv_func__fabsl_use=no
17508 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17511 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17512 cross_compiling=$ac_cv_prog_cc_cross
17518 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17520 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17521 for ac_func in _fabsl
17523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17524 echo "configure:17525: checking for $ac_func" >&5
17525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17526 echo $ac_n "(cached) $ac_c" 1>&6
17528 cat > conftest.$ac_ext <<EOF
17529 #line 17530 "configure"
17530 #include "confdefs.h"
17531 /* System header to define __stub macros and hopefully few prototypes,
17532 which can conflict with char $ac_func(); below. */
17533 #include <assert.h>
17534 /* Override any gcc2 internal prototype to avoid an error. */
17535 /* We use char because int might match the return type of a gcc2
17536 builtin and then its argument prototype would still apply. */
17541 /* The GNU C library defines this for functions which it implements
17542 to always fail with ENOSYS. Some functions are actually named
17543 something starting with __ and the normal name is an alias. */
17544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17552 if { (eval echo configure:17553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17554 eval "ac_cv_func_$ac_func=yes"
17556 echo "configure: failed program was:" >&5
17557 cat conftest.$ac_ext >&5
17559 eval "ac_cv_func_$ac_func=no"
17564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17565 echo "$ac_t""yes" 1>&6
17566 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17567 cat >> confdefs.h <<EOF
17568 #define $ac_tr_func 1
17572 echo "$ac_t""no" 1>&6
17581 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17582 echo "configure:17583: checking for fmodl declaration" >&5
17583 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17584 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17585 echo $ac_n "(cached) $ac_c" 1>&6
17590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17591 ac_cpp='$CXXCPP $CPPFLAGS'
17592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17594 cross_compiling=$ac_cv_prog_cxx_cross
17596 cat > conftest.$ac_ext <<EOF
17597 #line 17598 "configure"
17598 #include "confdefs.h"
17604 if { (eval echo configure:17605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17606 glibcpp_cv_func_fmodl_use=yes
17608 echo "configure: failed program was:" >&5
17609 cat conftest.$ac_ext >&5
17611 glibcpp_cv_func_fmodl_use=no
17615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17619 cross_compiling=$ac_cv_prog_cc_cross
17625 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17627 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17628 for ac_func in fmodl
17630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17631 echo "configure:17632: checking for $ac_func" >&5
17632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17633 echo $ac_n "(cached) $ac_c" 1>&6
17635 cat > conftest.$ac_ext <<EOF
17636 #line 17637 "configure"
17637 #include "confdefs.h"
17638 /* System header to define __stub macros and hopefully few prototypes,
17639 which can conflict with char $ac_func(); below. */
17640 #include <assert.h>
17641 /* Override any gcc2 internal prototype to avoid an error. */
17642 /* We use char because int might match the return type of a gcc2
17643 builtin and then its argument prototype would still apply. */
17648 /* The GNU C library defines this for functions which it implements
17649 to always fail with ENOSYS. Some functions are actually named
17650 something starting with __ and the normal name is an alias. */
17651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17659 if { (eval echo configure:17660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17661 eval "ac_cv_func_$ac_func=yes"
17663 echo "configure: failed program was:" >&5
17664 cat conftest.$ac_ext >&5
17666 eval "ac_cv_func_$ac_func=no"
17671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17672 echo "$ac_t""yes" 1>&6
17673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17674 cat >> confdefs.h <<EOF
17675 #define $ac_tr_func 1
17679 echo "$ac_t""no" 1>&6
17685 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17686 echo "configure:17687: checking for _fmodl declaration" >&5
17687 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17688 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17689 echo $ac_n "(cached) $ac_c" 1>&6
17694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17695 ac_cpp='$CXXCPP $CPPFLAGS'
17696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17698 cross_compiling=$ac_cv_prog_cxx_cross
17700 cat > conftest.$ac_ext <<EOF
17701 #line 17702 "configure"
17702 #include "confdefs.h"
17708 if { (eval echo configure:17709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17710 glibcpp_cv_func__fmodl_use=yes
17712 echo "configure: failed program was:" >&5
17713 cat conftest.$ac_ext >&5
17715 glibcpp_cv_func__fmodl_use=no
17719 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17722 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17723 cross_compiling=$ac_cv_prog_cc_cross
17729 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17731 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17732 for ac_func in _fmodl
17734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17735 echo "configure:17736: checking for $ac_func" >&5
17736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17737 echo $ac_n "(cached) $ac_c" 1>&6
17739 cat > conftest.$ac_ext <<EOF
17740 #line 17741 "configure"
17741 #include "confdefs.h"
17742 /* System header to define __stub macros and hopefully few prototypes,
17743 which can conflict with char $ac_func(); below. */
17744 #include <assert.h>
17745 /* Override any gcc2 internal prototype to avoid an error. */
17746 /* We use char because int might match the return type of a gcc2
17747 builtin and then its argument prototype would still apply. */
17752 /* The GNU C library defines this for functions which it implements
17753 to always fail with ENOSYS. Some functions are actually named
17754 something starting with __ and the normal name is an alias. */
17755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17763 if { (eval echo configure:17764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17765 eval "ac_cv_func_$ac_func=yes"
17767 echo "configure: failed program was:" >&5
17768 cat conftest.$ac_ext >&5
17770 eval "ac_cv_func_$ac_func=no"
17775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17776 echo "$ac_t""yes" 1>&6
17777 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17778 cat >> confdefs.h <<EOF
17779 #define $ac_tr_func 1
17783 echo "$ac_t""no" 1>&6
17792 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17793 echo "configure:17794: checking for frexpl declaration" >&5
17794 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17795 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17796 echo $ac_n "(cached) $ac_c" 1>&6
17801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17802 ac_cpp='$CXXCPP $CPPFLAGS'
17803 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17804 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17805 cross_compiling=$ac_cv_prog_cxx_cross
17807 cat > conftest.$ac_ext <<EOF
17808 #line 17809 "configure"
17809 #include "confdefs.h"
17815 if { (eval echo configure:17816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17817 glibcpp_cv_func_frexpl_use=yes
17819 echo "configure: failed program was:" >&5
17820 cat conftest.$ac_ext >&5
17822 glibcpp_cv_func_frexpl_use=no
17826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17830 cross_compiling=$ac_cv_prog_cc_cross
17836 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17838 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17839 for ac_func in frexpl
17841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17842 echo "configure:17843: checking for $ac_func" >&5
17843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17844 echo $ac_n "(cached) $ac_c" 1>&6
17846 cat > conftest.$ac_ext <<EOF
17847 #line 17848 "configure"
17848 #include "confdefs.h"
17849 /* System header to define __stub macros and hopefully few prototypes,
17850 which can conflict with char $ac_func(); below. */
17851 #include <assert.h>
17852 /* Override any gcc2 internal prototype to avoid an error. */
17853 /* We use char because int might match the return type of a gcc2
17854 builtin and then its argument prototype would still apply. */
17859 /* The GNU C library defines this for functions which it implements
17860 to always fail with ENOSYS. Some functions are actually named
17861 something starting with __ and the normal name is an alias. */
17862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17870 if { (eval echo configure:17871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17872 eval "ac_cv_func_$ac_func=yes"
17874 echo "configure: failed program was:" >&5
17875 cat conftest.$ac_ext >&5
17877 eval "ac_cv_func_$ac_func=no"
17882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17883 echo "$ac_t""yes" 1>&6
17884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17885 cat >> confdefs.h <<EOF
17886 #define $ac_tr_func 1
17890 echo "$ac_t""no" 1>&6
17896 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17897 echo "configure:17898: checking for _frexpl declaration" >&5
17898 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17899 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17900 echo $ac_n "(cached) $ac_c" 1>&6
17905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17906 ac_cpp='$CXXCPP $CPPFLAGS'
17907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17909 cross_compiling=$ac_cv_prog_cxx_cross
17911 cat > conftest.$ac_ext <<EOF
17912 #line 17913 "configure"
17913 #include "confdefs.h"
17919 if { (eval echo configure:17920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17921 glibcpp_cv_func__frexpl_use=yes
17923 echo "configure: failed program was:" >&5
17924 cat conftest.$ac_ext >&5
17926 glibcpp_cv_func__frexpl_use=no
17930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17931 ac_cpp='$CPP $CPPFLAGS'
17932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17934 cross_compiling=$ac_cv_prog_cc_cross
17940 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17942 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17943 for ac_func in _frexpl
17945 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17946 echo "configure:17947: checking for $ac_func" >&5
17947 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17948 echo $ac_n "(cached) $ac_c" 1>&6
17950 cat > conftest.$ac_ext <<EOF
17951 #line 17952 "configure"
17952 #include "confdefs.h"
17953 /* System header to define __stub macros and hopefully few prototypes,
17954 which can conflict with char $ac_func(); below. */
17955 #include <assert.h>
17956 /* Override any gcc2 internal prototype to avoid an error. */
17957 /* We use char because int might match the return type of a gcc2
17958 builtin and then its argument prototype would still apply. */
17963 /* The GNU C library defines this for functions which it implements
17964 to always fail with ENOSYS. Some functions are actually named
17965 something starting with __ and the normal name is an alias. */
17966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17974 if { (eval echo configure:17975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17976 eval "ac_cv_func_$ac_func=yes"
17978 echo "configure: failed program was:" >&5
17979 cat conftest.$ac_ext >&5
17981 eval "ac_cv_func_$ac_func=no"
17986 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17987 echo "$ac_t""yes" 1>&6
17988 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17989 cat >> confdefs.h <<EOF
17990 #define $ac_tr_func 1
17994 echo "$ac_t""no" 1>&6
18003 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18004 echo "configure:18005: checking for hypotl declaration" >&5
18005 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18006 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18007 echo $ac_n "(cached) $ac_c" 1>&6
18012 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18013 ac_cpp='$CXXCPP $CPPFLAGS'
18014 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18015 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18016 cross_compiling=$ac_cv_prog_cxx_cross
18018 cat > conftest.$ac_ext <<EOF
18019 #line 18020 "configure"
18020 #include "confdefs.h"
18026 if { (eval echo configure:18027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18028 glibcpp_cv_func_hypotl_use=yes
18030 echo "configure: failed program was:" >&5
18031 cat conftest.$ac_ext >&5
18033 glibcpp_cv_func_hypotl_use=no
18037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18038 ac_cpp='$CPP $CPPFLAGS'
18039 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18040 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18041 cross_compiling=$ac_cv_prog_cc_cross
18047 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18049 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18050 for ac_func in hypotl
18052 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18053 echo "configure:18054: checking for $ac_func" >&5
18054 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18055 echo $ac_n "(cached) $ac_c" 1>&6
18057 cat > conftest.$ac_ext <<EOF
18058 #line 18059 "configure"
18059 #include "confdefs.h"
18060 /* System header to define __stub macros and hopefully few prototypes,
18061 which can conflict with char $ac_func(); below. */
18062 #include <assert.h>
18063 /* Override any gcc2 internal prototype to avoid an error. */
18064 /* We use char because int might match the return type of a gcc2
18065 builtin and then its argument prototype would still apply. */
18070 /* The GNU C library defines this for functions which it implements
18071 to always fail with ENOSYS. Some functions are actually named
18072 something starting with __ and the normal name is an alias. */
18073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18081 if { (eval echo configure:18082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18083 eval "ac_cv_func_$ac_func=yes"
18085 echo "configure: failed program was:" >&5
18086 cat conftest.$ac_ext >&5
18088 eval "ac_cv_func_$ac_func=no"
18093 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18094 echo "$ac_t""yes" 1>&6
18095 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18096 cat >> confdefs.h <<EOF
18097 #define $ac_tr_func 1
18101 echo "$ac_t""no" 1>&6
18107 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18108 echo "configure:18109: checking for _hypotl declaration" >&5
18109 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18110 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18111 echo $ac_n "(cached) $ac_c" 1>&6
18116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18117 ac_cpp='$CXXCPP $CPPFLAGS'
18118 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18119 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18120 cross_compiling=$ac_cv_prog_cxx_cross
18122 cat > conftest.$ac_ext <<EOF
18123 #line 18124 "configure"
18124 #include "confdefs.h"
18130 if { (eval echo configure:18131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18132 glibcpp_cv_func__hypotl_use=yes
18134 echo "configure: failed program was:" >&5
18135 cat conftest.$ac_ext >&5
18137 glibcpp_cv_func__hypotl_use=no
18141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18144 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18145 cross_compiling=$ac_cv_prog_cc_cross
18151 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18153 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18154 for ac_func in _hypotl
18156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18157 echo "configure:18158: checking for $ac_func" >&5
18158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18159 echo $ac_n "(cached) $ac_c" 1>&6
18161 cat > conftest.$ac_ext <<EOF
18162 #line 18163 "configure"
18163 #include "confdefs.h"
18164 /* System header to define __stub macros and hopefully few prototypes,
18165 which can conflict with char $ac_func(); below. */
18166 #include <assert.h>
18167 /* Override any gcc2 internal prototype to avoid an error. */
18168 /* We use char because int might match the return type of a gcc2
18169 builtin and then its argument prototype would still apply. */
18174 /* The GNU C library defines this for functions which it implements
18175 to always fail with ENOSYS. Some functions are actually named
18176 something starting with __ and the normal name is an alias. */
18177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18185 if { (eval echo configure:18186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18187 eval "ac_cv_func_$ac_func=yes"
18189 echo "configure: failed program was:" >&5
18190 cat conftest.$ac_ext >&5
18192 eval "ac_cv_func_$ac_func=no"
18197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18198 echo "$ac_t""yes" 1>&6
18199 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18200 cat >> confdefs.h <<EOF
18201 #define $ac_tr_func 1
18205 echo "$ac_t""no" 1>&6
18214 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18215 echo "configure:18216: checking for ldexpl declaration" >&5
18216 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18217 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18218 echo $ac_n "(cached) $ac_c" 1>&6
18223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18224 ac_cpp='$CXXCPP $CPPFLAGS'
18225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18227 cross_compiling=$ac_cv_prog_cxx_cross
18229 cat > conftest.$ac_ext <<EOF
18230 #line 18231 "configure"
18231 #include "confdefs.h"
18237 if { (eval echo configure:18238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18239 glibcpp_cv_func_ldexpl_use=yes
18241 echo "configure: failed program was:" >&5
18242 cat conftest.$ac_ext >&5
18244 glibcpp_cv_func_ldexpl_use=no
18248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18251 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18252 cross_compiling=$ac_cv_prog_cc_cross
18258 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18260 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18261 for ac_func in ldexpl
18263 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18264 echo "configure:18265: checking for $ac_func" >&5
18265 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18266 echo $ac_n "(cached) $ac_c" 1>&6
18268 cat > conftest.$ac_ext <<EOF
18269 #line 18270 "configure"
18270 #include "confdefs.h"
18271 /* System header to define __stub macros and hopefully few prototypes,
18272 which can conflict with char $ac_func(); below. */
18273 #include <assert.h>
18274 /* Override any gcc2 internal prototype to avoid an error. */
18275 /* We use char because int might match the return type of a gcc2
18276 builtin and then its argument prototype would still apply. */
18281 /* The GNU C library defines this for functions which it implements
18282 to always fail with ENOSYS. Some functions are actually named
18283 something starting with __ and the normal name is an alias. */
18284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18292 if { (eval echo configure:18293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18294 eval "ac_cv_func_$ac_func=yes"
18296 echo "configure: failed program was:" >&5
18297 cat conftest.$ac_ext >&5
18299 eval "ac_cv_func_$ac_func=no"
18304 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18305 echo "$ac_t""yes" 1>&6
18306 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18307 cat >> confdefs.h <<EOF
18308 #define $ac_tr_func 1
18312 echo "$ac_t""no" 1>&6
18318 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18319 echo "configure:18320: checking for _ldexpl declaration" >&5
18320 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18321 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18322 echo $ac_n "(cached) $ac_c" 1>&6
18327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18328 ac_cpp='$CXXCPP $CPPFLAGS'
18329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18331 cross_compiling=$ac_cv_prog_cxx_cross
18333 cat > conftest.$ac_ext <<EOF
18334 #line 18335 "configure"
18335 #include "confdefs.h"
18341 if { (eval echo configure:18342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18343 glibcpp_cv_func__ldexpl_use=yes
18345 echo "configure: failed program was:" >&5
18346 cat conftest.$ac_ext >&5
18348 glibcpp_cv_func__ldexpl_use=no
18352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18356 cross_compiling=$ac_cv_prog_cc_cross
18362 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18364 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18365 for ac_func in _ldexpl
18367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18368 echo "configure:18369: checking for $ac_func" >&5
18369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18370 echo $ac_n "(cached) $ac_c" 1>&6
18372 cat > conftest.$ac_ext <<EOF
18373 #line 18374 "configure"
18374 #include "confdefs.h"
18375 /* System header to define __stub macros and hopefully few prototypes,
18376 which can conflict with char $ac_func(); below. */
18377 #include <assert.h>
18378 /* Override any gcc2 internal prototype to avoid an error. */
18379 /* We use char because int might match the return type of a gcc2
18380 builtin and then its argument prototype would still apply. */
18385 /* The GNU C library defines this for functions which it implements
18386 to always fail with ENOSYS. Some functions are actually named
18387 something starting with __ and the normal name is an alias. */
18388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18396 if { (eval echo configure:18397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18398 eval "ac_cv_func_$ac_func=yes"
18400 echo "configure: failed program was:" >&5
18401 cat conftest.$ac_ext >&5
18403 eval "ac_cv_func_$ac_func=no"
18408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18409 echo "$ac_t""yes" 1>&6
18410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18411 cat >> confdefs.h <<EOF
18412 #define $ac_tr_func 1
18416 echo "$ac_t""no" 1>&6
18425 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18426 echo "configure:18427: checking for logl declaration" >&5
18427 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18428 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18429 echo $ac_n "(cached) $ac_c" 1>&6
18434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18435 ac_cpp='$CXXCPP $CPPFLAGS'
18436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18438 cross_compiling=$ac_cv_prog_cxx_cross
18440 cat > conftest.$ac_ext <<EOF
18441 #line 18442 "configure"
18442 #include "confdefs.h"
18444 #ifdef HAVE_IEEEFP_H
18445 #include <ieeefp.h>
18452 if { (eval echo configure:18453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18454 glibcpp_cv_func_logl_use=yes
18456 echo "configure: failed program was:" >&5
18457 cat conftest.$ac_ext >&5
18459 glibcpp_cv_func_logl_use=no
18463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18464 ac_cpp='$CPP $CPPFLAGS'
18465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18467 cross_compiling=$ac_cv_prog_cc_cross
18473 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18475 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18476 for ac_func in logl
18478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18479 echo "configure:18480: checking for $ac_func" >&5
18480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18481 echo $ac_n "(cached) $ac_c" 1>&6
18483 cat > conftest.$ac_ext <<EOF
18484 #line 18485 "configure"
18485 #include "confdefs.h"
18486 /* System header to define __stub macros and hopefully few prototypes,
18487 which can conflict with char $ac_func(); below. */
18488 #include <assert.h>
18489 /* Override any gcc2 internal prototype to avoid an error. */
18490 /* We use char because int might match the return type of a gcc2
18491 builtin and then its argument prototype would still apply. */
18496 /* The GNU C library defines this for functions which it implements
18497 to always fail with ENOSYS. Some functions are actually named
18498 something starting with __ and the normal name is an alias. */
18499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18507 if { (eval echo configure:18508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18509 eval "ac_cv_func_$ac_func=yes"
18511 echo "configure: failed program was:" >&5
18512 cat conftest.$ac_ext >&5
18514 eval "ac_cv_func_$ac_func=no"
18519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18520 echo "$ac_t""yes" 1>&6
18521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18522 cat >> confdefs.h <<EOF
18523 #define $ac_tr_func 1
18527 echo "$ac_t""no" 1>&6
18533 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18534 echo "configure:18535: checking for _logl declaration" >&5
18535 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18536 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18537 echo $ac_n "(cached) $ac_c" 1>&6
18542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18543 ac_cpp='$CXXCPP $CPPFLAGS'
18544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18546 cross_compiling=$ac_cv_prog_cxx_cross
18548 cat > conftest.$ac_ext <<EOF
18549 #line 18550 "configure"
18550 #include "confdefs.h"
18552 #ifdef HAVE_IEEEFP_H
18553 #include <ieeefp.h>
18560 if { (eval echo configure:18561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18562 glibcpp_cv_func__logl_use=yes
18564 echo "configure: failed program was:" >&5
18565 cat conftest.$ac_ext >&5
18567 glibcpp_cv_func__logl_use=no
18571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18572 ac_cpp='$CPP $CPPFLAGS'
18573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18575 cross_compiling=$ac_cv_prog_cc_cross
18581 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18583 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18584 for ac_func in _logl
18586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18587 echo "configure:18588: checking for $ac_func" >&5
18588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18589 echo $ac_n "(cached) $ac_c" 1>&6
18591 cat > conftest.$ac_ext <<EOF
18592 #line 18593 "configure"
18593 #include "confdefs.h"
18594 /* System header to define __stub macros and hopefully few prototypes,
18595 which can conflict with char $ac_func(); below. */
18596 #include <assert.h>
18597 /* Override any gcc2 internal prototype to avoid an error. */
18598 /* We use char because int might match the return type of a gcc2
18599 builtin and then its argument prototype would still apply. */
18604 /* The GNU C library defines this for functions which it implements
18605 to always fail with ENOSYS. Some functions are actually named
18606 something starting with __ and the normal name is an alias. */
18607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18615 if { (eval echo configure:18616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18617 eval "ac_cv_func_$ac_func=yes"
18619 echo "configure: failed program was:" >&5
18620 cat conftest.$ac_ext >&5
18622 eval "ac_cv_func_$ac_func=no"
18627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18628 echo "$ac_t""yes" 1>&6
18629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18630 cat >> confdefs.h <<EOF
18631 #define $ac_tr_func 1
18635 echo "$ac_t""no" 1>&6
18644 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18645 echo "configure:18646: checking for log10l declaration" >&5
18646 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18647 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18648 echo $ac_n "(cached) $ac_c" 1>&6
18653 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18654 ac_cpp='$CXXCPP $CPPFLAGS'
18655 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18656 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18657 cross_compiling=$ac_cv_prog_cxx_cross
18659 cat > conftest.$ac_ext <<EOF
18660 #line 18661 "configure"
18661 #include "confdefs.h"
18663 #ifdef HAVE_IEEEFP_H
18664 #include <ieeefp.h>
18671 if { (eval echo configure:18672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18673 glibcpp_cv_func_log10l_use=yes
18675 echo "configure: failed program was:" >&5
18676 cat conftest.$ac_ext >&5
18678 glibcpp_cv_func_log10l_use=no
18682 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18683 ac_cpp='$CPP $CPPFLAGS'
18684 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18685 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18686 cross_compiling=$ac_cv_prog_cc_cross
18692 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18694 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18695 for ac_func in log10l
18697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18698 echo "configure:18699: checking for $ac_func" >&5
18699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18700 echo $ac_n "(cached) $ac_c" 1>&6
18702 cat > conftest.$ac_ext <<EOF
18703 #line 18704 "configure"
18704 #include "confdefs.h"
18705 /* System header to define __stub macros and hopefully few prototypes,
18706 which can conflict with char $ac_func(); below. */
18707 #include <assert.h>
18708 /* Override any gcc2 internal prototype to avoid an error. */
18709 /* We use char because int might match the return type of a gcc2
18710 builtin and then its argument prototype would still apply. */
18715 /* The GNU C library defines this for functions which it implements
18716 to always fail with ENOSYS. Some functions are actually named
18717 something starting with __ and the normal name is an alias. */
18718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18726 if { (eval echo configure:18727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18728 eval "ac_cv_func_$ac_func=yes"
18730 echo "configure: failed program was:" >&5
18731 cat conftest.$ac_ext >&5
18733 eval "ac_cv_func_$ac_func=no"
18738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18739 echo "$ac_t""yes" 1>&6
18740 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18741 cat >> confdefs.h <<EOF
18742 #define $ac_tr_func 1
18746 echo "$ac_t""no" 1>&6
18752 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18753 echo "configure:18754: checking for _log10l declaration" >&5
18754 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18755 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18756 echo $ac_n "(cached) $ac_c" 1>&6
18761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18762 ac_cpp='$CXXCPP $CPPFLAGS'
18763 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18764 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18765 cross_compiling=$ac_cv_prog_cxx_cross
18767 cat > conftest.$ac_ext <<EOF
18768 #line 18769 "configure"
18769 #include "confdefs.h"
18771 #ifdef HAVE_IEEEFP_H
18772 #include <ieeefp.h>
18779 if { (eval echo configure:18780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18781 glibcpp_cv_func__log10l_use=yes
18783 echo "configure: failed program was:" >&5
18784 cat conftest.$ac_ext >&5
18786 glibcpp_cv_func__log10l_use=no
18790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18791 ac_cpp='$CPP $CPPFLAGS'
18792 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18793 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18794 cross_compiling=$ac_cv_prog_cc_cross
18800 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18802 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18803 for ac_func in _log10l
18805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18806 echo "configure:18807: checking for $ac_func" >&5
18807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18808 echo $ac_n "(cached) $ac_c" 1>&6
18810 cat > conftest.$ac_ext <<EOF
18811 #line 18812 "configure"
18812 #include "confdefs.h"
18813 /* System header to define __stub macros and hopefully few prototypes,
18814 which can conflict with char $ac_func(); below. */
18815 #include <assert.h>
18816 /* Override any gcc2 internal prototype to avoid an error. */
18817 /* We use char because int might match the return type of a gcc2
18818 builtin and then its argument prototype would still apply. */
18823 /* The GNU C library defines this for functions which it implements
18824 to always fail with ENOSYS. Some functions are actually named
18825 something starting with __ and the normal name is an alias. */
18826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18834 if { (eval echo configure:18835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18836 eval "ac_cv_func_$ac_func=yes"
18838 echo "configure: failed program was:" >&5
18839 cat conftest.$ac_ext >&5
18841 eval "ac_cv_func_$ac_func=no"
18846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18847 echo "$ac_t""yes" 1>&6
18848 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18849 cat >> confdefs.h <<EOF
18850 #define $ac_tr_func 1
18854 echo "$ac_t""no" 1>&6
18863 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18864 echo "configure:18865: checking for modfl declaration" >&5
18865 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18866 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18867 echo $ac_n "(cached) $ac_c" 1>&6
18872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18873 ac_cpp='$CXXCPP $CPPFLAGS'
18874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18876 cross_compiling=$ac_cv_prog_cxx_cross
18878 cat > conftest.$ac_ext <<EOF
18879 #line 18880 "configure"
18880 #include "confdefs.h"
18886 if { (eval echo configure:18887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18888 glibcpp_cv_func_modfl_use=yes
18890 echo "configure: failed program was:" >&5
18891 cat conftest.$ac_ext >&5
18893 glibcpp_cv_func_modfl_use=no
18897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18898 ac_cpp='$CPP $CPPFLAGS'
18899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18901 cross_compiling=$ac_cv_prog_cc_cross
18907 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18909 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18910 for ac_func in modfl
18912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18913 echo "configure:18914: checking for $ac_func" >&5
18914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18915 echo $ac_n "(cached) $ac_c" 1>&6
18917 cat > conftest.$ac_ext <<EOF
18918 #line 18919 "configure"
18919 #include "confdefs.h"
18920 /* System header to define __stub macros and hopefully few prototypes,
18921 which can conflict with char $ac_func(); below. */
18922 #include <assert.h>
18923 /* Override any gcc2 internal prototype to avoid an error. */
18924 /* We use char because int might match the return type of a gcc2
18925 builtin and then its argument prototype would still apply. */
18930 /* The GNU C library defines this for functions which it implements
18931 to always fail with ENOSYS. Some functions are actually named
18932 something starting with __ and the normal name is an alias. */
18933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18941 if { (eval echo configure:18942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18943 eval "ac_cv_func_$ac_func=yes"
18945 echo "configure: failed program was:" >&5
18946 cat conftest.$ac_ext >&5
18948 eval "ac_cv_func_$ac_func=no"
18953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18954 echo "$ac_t""yes" 1>&6
18955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18956 cat >> confdefs.h <<EOF
18957 #define $ac_tr_func 1
18961 echo "$ac_t""no" 1>&6
18967 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18968 echo "configure:18969: checking for _modfl declaration" >&5
18969 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18970 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18971 echo $ac_n "(cached) $ac_c" 1>&6
18976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18977 ac_cpp='$CXXCPP $CPPFLAGS'
18978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18980 cross_compiling=$ac_cv_prog_cxx_cross
18982 cat > conftest.$ac_ext <<EOF
18983 #line 18984 "configure"
18984 #include "confdefs.h"
18990 if { (eval echo configure:18991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18992 glibcpp_cv_func__modfl_use=yes
18994 echo "configure: failed program was:" >&5
18995 cat conftest.$ac_ext >&5
18997 glibcpp_cv_func__modfl_use=no
19001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19002 ac_cpp='$CPP $CPPFLAGS'
19003 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19004 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19005 cross_compiling=$ac_cv_prog_cc_cross
19011 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19013 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19014 for ac_func in _modfl
19016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19017 echo "configure:19018: checking for $ac_func" >&5
19018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19019 echo $ac_n "(cached) $ac_c" 1>&6
19021 cat > conftest.$ac_ext <<EOF
19022 #line 19023 "configure"
19023 #include "confdefs.h"
19024 /* System header to define __stub macros and hopefully few prototypes,
19025 which can conflict with char $ac_func(); below. */
19026 #include <assert.h>
19027 /* Override any gcc2 internal prototype to avoid an error. */
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19034 /* The GNU C library defines this for functions which it implements
19035 to always fail with ENOSYS. Some functions are actually named
19036 something starting with __ and the normal name is an alias. */
19037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19045 if { (eval echo configure:19046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19047 eval "ac_cv_func_$ac_func=yes"
19049 echo "configure: failed program was:" >&5
19050 cat conftest.$ac_ext >&5
19052 eval "ac_cv_func_$ac_func=no"
19057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19058 echo "$ac_t""yes" 1>&6
19059 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19060 cat >> confdefs.h <<EOF
19061 #define $ac_tr_func 1
19065 echo "$ac_t""no" 1>&6
19074 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19075 echo "configure:19076: checking for powl declaration" >&5
19076 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19077 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19078 echo $ac_n "(cached) $ac_c" 1>&6
19083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19084 ac_cpp='$CXXCPP $CPPFLAGS'
19085 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19086 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19087 cross_compiling=$ac_cv_prog_cxx_cross
19089 cat > conftest.$ac_ext <<EOF
19090 #line 19091 "configure"
19091 #include "confdefs.h"
19097 if { (eval echo configure:19098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19099 glibcpp_cv_func_powl_use=yes
19101 echo "configure: failed program was:" >&5
19102 cat conftest.$ac_ext >&5
19104 glibcpp_cv_func_powl_use=no
19108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19109 ac_cpp='$CPP $CPPFLAGS'
19110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19112 cross_compiling=$ac_cv_prog_cc_cross
19118 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19120 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19121 for ac_func in powl
19123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19124 echo "configure:19125: checking for $ac_func" >&5
19125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19126 echo $ac_n "(cached) $ac_c" 1>&6
19128 cat > conftest.$ac_ext <<EOF
19129 #line 19130 "configure"
19130 #include "confdefs.h"
19131 /* System header to define __stub macros and hopefully few prototypes,
19132 which can conflict with char $ac_func(); below. */
19133 #include <assert.h>
19134 /* Override any gcc2 internal prototype to avoid an error. */
19135 /* We use char because int might match the return type of a gcc2
19136 builtin and then its argument prototype would still apply. */
19141 /* The GNU C library defines this for functions which it implements
19142 to always fail with ENOSYS. Some functions are actually named
19143 something starting with __ and the normal name is an alias. */
19144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19152 if { (eval echo configure:19153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19154 eval "ac_cv_func_$ac_func=yes"
19156 echo "configure: failed program was:" >&5
19157 cat conftest.$ac_ext >&5
19159 eval "ac_cv_func_$ac_func=no"
19164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19165 echo "$ac_t""yes" 1>&6
19166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19167 cat >> confdefs.h <<EOF
19168 #define $ac_tr_func 1
19172 echo "$ac_t""no" 1>&6
19178 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19179 echo "configure:19180: checking for _powl declaration" >&5
19180 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19181 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19182 echo $ac_n "(cached) $ac_c" 1>&6
19187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19188 ac_cpp='$CXXCPP $CPPFLAGS'
19189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19191 cross_compiling=$ac_cv_prog_cxx_cross
19193 cat > conftest.$ac_ext <<EOF
19194 #line 19195 "configure"
19195 #include "confdefs.h"
19201 if { (eval echo configure:19202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19203 glibcpp_cv_func__powl_use=yes
19205 echo "configure: failed program was:" >&5
19206 cat conftest.$ac_ext >&5
19208 glibcpp_cv_func__powl_use=no
19212 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19213 ac_cpp='$CPP $CPPFLAGS'
19214 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19215 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19216 cross_compiling=$ac_cv_prog_cc_cross
19222 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19224 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19225 for ac_func in _powl
19227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19228 echo "configure:19229: checking for $ac_func" >&5
19229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19230 echo $ac_n "(cached) $ac_c" 1>&6
19232 cat > conftest.$ac_ext <<EOF
19233 #line 19234 "configure"
19234 #include "confdefs.h"
19235 /* System header to define __stub macros and hopefully few prototypes,
19236 which can conflict with char $ac_func(); below. */
19237 #include <assert.h>
19238 /* Override any gcc2 internal prototype to avoid an error. */
19239 /* We use char because int might match the return type of a gcc2
19240 builtin and then its argument prototype would still apply. */
19245 /* The GNU C library defines this for functions which it implements
19246 to always fail with ENOSYS. Some functions are actually named
19247 something starting with __ and the normal name is an alias. */
19248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19256 if { (eval echo configure:19257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19258 eval "ac_cv_func_$ac_func=yes"
19260 echo "configure: failed program was:" >&5
19261 cat conftest.$ac_ext >&5
19263 eval "ac_cv_func_$ac_func=no"
19268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19269 echo "$ac_t""yes" 1>&6
19270 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19271 cat >> confdefs.h <<EOF
19272 #define $ac_tr_func 1
19276 echo "$ac_t""no" 1>&6
19285 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19286 echo "configure:19287: checking for sqrtl declaration" >&5
19287 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19288 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19289 echo $ac_n "(cached) $ac_c" 1>&6
19294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19295 ac_cpp='$CXXCPP $CPPFLAGS'
19296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19298 cross_compiling=$ac_cv_prog_cxx_cross
19300 cat > conftest.$ac_ext <<EOF
19301 #line 19302 "configure"
19302 #include "confdefs.h"
19304 #ifdef HAVE_IEEEFP_H
19305 #include <ieeefp.h>
19312 if { (eval echo configure:19313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19314 glibcpp_cv_func_sqrtl_use=yes
19316 echo "configure: failed program was:" >&5
19317 cat conftest.$ac_ext >&5
19319 glibcpp_cv_func_sqrtl_use=no
19323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19324 ac_cpp='$CPP $CPPFLAGS'
19325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19327 cross_compiling=$ac_cv_prog_cc_cross
19333 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19335 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19336 for ac_func in sqrtl
19338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19339 echo "configure:19340: checking for $ac_func" >&5
19340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19341 echo $ac_n "(cached) $ac_c" 1>&6
19343 cat > conftest.$ac_ext <<EOF
19344 #line 19345 "configure"
19345 #include "confdefs.h"
19346 /* System header to define __stub macros and hopefully few prototypes,
19347 which can conflict with char $ac_func(); below. */
19348 #include <assert.h>
19349 /* Override any gcc2 internal prototype to avoid an error. */
19350 /* We use char because int might match the return type of a gcc2
19351 builtin and then its argument prototype would still apply. */
19356 /* The GNU C library defines this for functions which it implements
19357 to always fail with ENOSYS. Some functions are actually named
19358 something starting with __ and the normal name is an alias. */
19359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19367 if { (eval echo configure:19368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19369 eval "ac_cv_func_$ac_func=yes"
19371 echo "configure: failed program was:" >&5
19372 cat conftest.$ac_ext >&5
19374 eval "ac_cv_func_$ac_func=no"
19379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19380 echo "$ac_t""yes" 1>&6
19381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19382 cat >> confdefs.h <<EOF
19383 #define $ac_tr_func 1
19387 echo "$ac_t""no" 1>&6
19393 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19394 echo "configure:19395: checking for _sqrtl declaration" >&5
19395 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19396 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19397 echo $ac_n "(cached) $ac_c" 1>&6
19402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19403 ac_cpp='$CXXCPP $CPPFLAGS'
19404 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19405 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19406 cross_compiling=$ac_cv_prog_cxx_cross
19408 cat > conftest.$ac_ext <<EOF
19409 #line 19410 "configure"
19410 #include "confdefs.h"
19412 #ifdef HAVE_IEEEFP_H
19413 #include <ieeefp.h>
19420 if { (eval echo configure:19421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19422 glibcpp_cv_func__sqrtl_use=yes
19424 echo "configure: failed program was:" >&5
19425 cat conftest.$ac_ext >&5
19427 glibcpp_cv_func__sqrtl_use=no
19431 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19432 ac_cpp='$CPP $CPPFLAGS'
19433 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19434 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19435 cross_compiling=$ac_cv_prog_cc_cross
19441 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19443 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19444 for ac_func in _sqrtl
19446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19447 echo "configure:19448: checking for $ac_func" >&5
19448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19449 echo $ac_n "(cached) $ac_c" 1>&6
19451 cat > conftest.$ac_ext <<EOF
19452 #line 19453 "configure"
19453 #include "confdefs.h"
19454 /* System header to define __stub macros and hopefully few prototypes,
19455 which can conflict with char $ac_func(); below. */
19456 #include <assert.h>
19457 /* Override any gcc2 internal prototype to avoid an error. */
19458 /* We use char because int might match the return type of a gcc2
19459 builtin and then its argument prototype would still apply. */
19464 /* The GNU C library defines this for functions which it implements
19465 to always fail with ENOSYS. Some functions are actually named
19466 something starting with __ and the normal name is an alias. */
19467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19475 if { (eval echo configure:19476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19477 eval "ac_cv_func_$ac_func=yes"
19479 echo "configure: failed program was:" >&5
19480 cat conftest.$ac_ext >&5
19482 eval "ac_cv_func_$ac_func=no"
19487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19488 echo "$ac_t""yes" 1>&6
19489 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19490 cat >> confdefs.h <<EOF
19491 #define $ac_tr_func 1
19495 echo "$ac_t""no" 1>&6
19504 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19505 echo "configure:19506: checking for sincosl declaration" >&5
19506 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19507 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19508 echo $ac_n "(cached) $ac_c" 1>&6
19513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19514 ac_cpp='$CXXCPP $CPPFLAGS'
19515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19517 cross_compiling=$ac_cv_prog_cxx_cross
19519 cat > conftest.$ac_ext <<EOF
19520 #line 19521 "configure"
19521 #include "confdefs.h"
19527 if { (eval echo configure:19528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19529 glibcpp_cv_func_sincosl_use=yes
19531 echo "configure: failed program was:" >&5
19532 cat conftest.$ac_ext >&5
19534 glibcpp_cv_func_sincosl_use=no
19538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19539 ac_cpp='$CPP $CPPFLAGS'
19540 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19541 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19542 cross_compiling=$ac_cv_prog_cc_cross
19548 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19550 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19551 for ac_func in sincosl
19553 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19554 echo "configure:19555: checking for $ac_func" >&5
19555 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19556 echo $ac_n "(cached) $ac_c" 1>&6
19558 cat > conftest.$ac_ext <<EOF
19559 #line 19560 "configure"
19560 #include "confdefs.h"
19561 /* System header to define __stub macros and hopefully few prototypes,
19562 which can conflict with char $ac_func(); below. */
19563 #include <assert.h>
19564 /* Override any gcc2 internal prototype to avoid an error. */
19565 /* We use char because int might match the return type of a gcc2
19566 builtin and then its argument prototype would still apply. */
19571 /* The GNU C library defines this for functions which it implements
19572 to always fail with ENOSYS. Some functions are actually named
19573 something starting with __ and the normal name is an alias. */
19574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19582 if { (eval echo configure:19583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19584 eval "ac_cv_func_$ac_func=yes"
19586 echo "configure: failed program was:" >&5
19587 cat conftest.$ac_ext >&5
19589 eval "ac_cv_func_$ac_func=no"
19594 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19595 echo "$ac_t""yes" 1>&6
19596 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19597 cat >> confdefs.h <<EOF
19598 #define $ac_tr_func 1
19602 echo "$ac_t""no" 1>&6
19608 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19609 echo "configure:19610: checking for _sincosl declaration" >&5
19610 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19611 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19612 echo $ac_n "(cached) $ac_c" 1>&6
19617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19618 ac_cpp='$CXXCPP $CPPFLAGS'
19619 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19620 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19621 cross_compiling=$ac_cv_prog_cxx_cross
19623 cat > conftest.$ac_ext <<EOF
19624 #line 19625 "configure"
19625 #include "confdefs.h"
19631 if { (eval echo configure:19632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19633 glibcpp_cv_func__sincosl_use=yes
19635 echo "configure: failed program was:" >&5
19636 cat conftest.$ac_ext >&5
19638 glibcpp_cv_func__sincosl_use=no
19642 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19643 ac_cpp='$CPP $CPPFLAGS'
19644 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19645 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19646 cross_compiling=$ac_cv_prog_cc_cross
19652 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19654 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19655 for ac_func in _sincosl
19657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19658 echo "configure:19659: checking for $ac_func" >&5
19659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19660 echo $ac_n "(cached) $ac_c" 1>&6
19662 cat > conftest.$ac_ext <<EOF
19663 #line 19664 "configure"
19664 #include "confdefs.h"
19665 /* System header to define __stub macros and hopefully few prototypes,
19666 which can conflict with char $ac_func(); below. */
19667 #include <assert.h>
19668 /* Override any gcc2 internal prototype to avoid an error. */
19669 /* We use char because int might match the return type of a gcc2
19670 builtin and then its argument prototype would still apply. */
19675 /* The GNU C library defines this for functions which it implements
19676 to always fail with ENOSYS. Some functions are actually named
19677 something starting with __ and the normal name is an alias. */
19678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19686 if { (eval echo configure:19687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19688 eval "ac_cv_func_$ac_func=yes"
19690 echo "configure: failed program was:" >&5
19691 cat conftest.$ac_ext >&5
19693 eval "ac_cv_func_$ac_func=no"
19698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19699 echo "$ac_t""yes" 1>&6
19700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19701 cat >> confdefs.h <<EOF
19702 #define $ac_tr_func 1
19706 echo "$ac_t""no" 1>&6
19715 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19716 echo "configure:19717: checking for finitel declaration" >&5
19717 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19718 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19719 echo $ac_n "(cached) $ac_c" 1>&6
19724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19725 ac_cpp='$CXXCPP $CPPFLAGS'
19726 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19727 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19728 cross_compiling=$ac_cv_prog_cxx_cross
19730 cat > conftest.$ac_ext <<EOF
19731 #line 19732 "configure"
19732 #include "confdefs.h"
19734 #ifdef HAVE_IEEEFP_H
19735 #include <ieeefp.h>
19742 if { (eval echo configure:19743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19744 glibcpp_cv_func_finitel_use=yes
19746 echo "configure: failed program was:" >&5
19747 cat conftest.$ac_ext >&5
19749 glibcpp_cv_func_finitel_use=no
19753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19754 ac_cpp='$CPP $CPPFLAGS'
19755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19757 cross_compiling=$ac_cv_prog_cc_cross
19763 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19765 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19766 for ac_func in finitel
19768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19769 echo "configure:19770: checking for $ac_func" >&5
19770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19771 echo $ac_n "(cached) $ac_c" 1>&6
19773 cat > conftest.$ac_ext <<EOF
19774 #line 19775 "configure"
19775 #include "confdefs.h"
19776 /* System header to define __stub macros and hopefully few prototypes,
19777 which can conflict with char $ac_func(); below. */
19778 #include <assert.h>
19779 /* Override any gcc2 internal prototype to avoid an error. */
19780 /* We use char because int might match the return type of a gcc2
19781 builtin and then its argument prototype would still apply. */
19786 /* The GNU C library defines this for functions which it implements
19787 to always fail with ENOSYS. Some functions are actually named
19788 something starting with __ and the normal name is an alias. */
19789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19797 if { (eval echo configure:19798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19799 eval "ac_cv_func_$ac_func=yes"
19801 echo "configure: failed program was:" >&5
19802 cat conftest.$ac_ext >&5
19804 eval "ac_cv_func_$ac_func=no"
19809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19810 echo "$ac_t""yes" 1>&6
19811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19812 cat >> confdefs.h <<EOF
19813 #define $ac_tr_func 1
19817 echo "$ac_t""no" 1>&6
19823 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19824 echo "configure:19825: checking for _finitel declaration" >&5
19825 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19826 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19827 echo $ac_n "(cached) $ac_c" 1>&6
19832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19836 cross_compiling=$ac_cv_prog_cxx_cross
19838 cat > conftest.$ac_ext <<EOF
19839 #line 19840 "configure"
19840 #include "confdefs.h"
19842 #ifdef HAVE_IEEEFP_H
19843 #include <ieeefp.h>
19850 if { (eval echo configure:19851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19852 glibcpp_cv_func__finitel_use=yes
19854 echo "configure: failed program was:" >&5
19855 cat conftest.$ac_ext >&5
19857 glibcpp_cv_func__finitel_use=no
19861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19862 ac_cpp='$CPP $CPPFLAGS'
19863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19865 cross_compiling=$ac_cv_prog_cc_cross
19871 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19873 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19874 for ac_func in _finitel
19876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19877 echo "configure:19878: checking for $ac_func" >&5
19878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19879 echo $ac_n "(cached) $ac_c" 1>&6
19881 cat > conftest.$ac_ext <<EOF
19882 #line 19883 "configure"
19883 #include "confdefs.h"
19884 /* System header to define __stub macros and hopefully few prototypes,
19885 which can conflict with char $ac_func(); below. */
19886 #include <assert.h>
19887 /* Override any gcc2 internal prototype to avoid an error. */
19888 /* We use char because int might match the return type of a gcc2
19889 builtin and then its argument prototype would still apply. */
19894 /* The GNU C library defines this for functions which it implements
19895 to always fail with ENOSYS. Some functions are actually named
19896 something starting with __ and the normal name is an alias. */
19897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19905 if { (eval echo configure:19906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19907 eval "ac_cv_func_$ac_func=yes"
19909 echo "configure: failed program was:" >&5
19910 cat conftest.$ac_ext >&5
19912 eval "ac_cv_func_$ac_func=no"
19917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19918 echo "$ac_t""yes" 1>&6
19919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19920 cat >> confdefs.h <<EOF
19921 #define $ac_tr_func 1
19925 echo "$ac_t""no" 1>&6
19935 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19936 echo "configure:19937: checking for _float trig functions" >&5
19937 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19938 echo $ac_n "(cached) $ac_c" 1>&6
19943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19944 ac_cpp='$CXXCPP $CPPFLAGS'
19945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19947 cross_compiling=$ac_cv_prog_cxx_cross
19949 cat > conftest.$ac_ext <<EOF
19950 #line 19951 "configure"
19951 #include "confdefs.h"
19954 `for x in _acosf _asinf _atanf \
19955 _cosf _sinf _tanf \
19956 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19959 if { (eval echo configure:19960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19961 glibcpp_cv_func__float_trig_use=yes
19963 echo "configure: failed program was:" >&5
19964 cat conftest.$ac_ext >&5
19966 glibcpp_cv_func__float_trig_use=no
19970 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19973 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19974 cross_compiling=$ac_cv_prog_cc_cross
19978 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19979 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19980 for ac_func in _acosf _asinf _atanf \
19981 _cosf _sinf _tanf \
19982 _coshf _sinhf _tanhf
19984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19985 echo "configure:19986: checking for $ac_func" >&5
19986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19987 echo $ac_n "(cached) $ac_c" 1>&6
19989 cat > conftest.$ac_ext <<EOF
19990 #line 19991 "configure"
19991 #include "confdefs.h"
19992 /* System header to define __stub macros and hopefully few prototypes,
19993 which can conflict with char $ac_func(); below. */
19994 #include <assert.h>
19995 /* Override any gcc2 internal prototype to avoid an error. */
19996 /* We use char because int might match the return type of a gcc2
19997 builtin and then its argument prototype would still apply. */
20002 /* The GNU C library defines this for functions which it implements
20003 to always fail with ENOSYS. Some functions are actually named
20004 something starting with __ and the normal name is an alias. */
20005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20013 if { (eval echo configure:20014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20015 eval "ac_cv_func_$ac_func=yes"
20017 echo "configure: failed program was:" >&5
20018 cat conftest.$ac_ext >&5
20020 eval "ac_cv_func_$ac_func=no"
20025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20026 echo "$ac_t""yes" 1>&6
20027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20028 cat >> confdefs.h <<EOF
20029 #define $ac_tr_func 1
20033 echo "$ac_t""no" 1>&6
20040 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20041 echo "configure:20042: checking for _float round functions" >&5
20042 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20043 echo $ac_n "(cached) $ac_c" 1>&6
20048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20052 cross_compiling=$ac_cv_prog_cxx_cross
20054 cat > conftest.$ac_ext <<EOF
20055 #line 20056 "configure"
20056 #include "confdefs.h"
20059 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20062 if { (eval echo configure:20063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20064 glibcpp_cv_func__float_round_use=yes
20066 echo "configure: failed program was:" >&5
20067 cat conftest.$ac_ext >&5
20069 glibcpp_cv_func__float_round_use=no
20073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20074 ac_cpp='$CPP $CPPFLAGS'
20075 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20076 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20077 cross_compiling=$ac_cv_prog_cc_cross
20081 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20082 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20083 for ac_func in _ceilf _floorf
20085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20086 echo "configure:20087: checking for $ac_func" >&5
20087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20088 echo $ac_n "(cached) $ac_c" 1>&6
20090 cat > conftest.$ac_ext <<EOF
20091 #line 20092 "configure"
20092 #include "confdefs.h"
20093 /* System header to define __stub macros and hopefully few prototypes,
20094 which can conflict with char $ac_func(); below. */
20095 #include <assert.h>
20096 /* Override any gcc2 internal prototype to avoid an error. */
20097 /* We use char because int might match the return type of a gcc2
20098 builtin and then its argument prototype would still apply. */
20103 /* The GNU C library defines this for functions which it implements
20104 to always fail with ENOSYS. Some functions are actually named
20105 something starting with __ and the normal name is an alias. */
20106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20114 if { (eval echo configure:20115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20116 eval "ac_cv_func_$ac_func=yes"
20118 echo "configure: failed program was:" >&5
20119 cat conftest.$ac_ext >&5
20121 eval "ac_cv_func_$ac_func=no"
20126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20127 echo "$ac_t""yes" 1>&6
20128 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20129 cat >> confdefs.h <<EOF
20130 #define $ac_tr_func 1
20134 echo "$ac_t""no" 1>&6
20142 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20143 echo "configure:20144: checking for _long double trig functions" >&5
20144 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20145 echo $ac_n "(cached) $ac_c" 1>&6
20150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20151 ac_cpp='$CXXCPP $CPPFLAGS'
20152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20154 cross_compiling=$ac_cv_prog_cxx_cross
20156 cat > conftest.$ac_ext <<EOF
20157 #line 20158 "configure"
20158 #include "confdefs.h"
20161 `for x in _acosl _asinl _atanl \
20162 _cosl _sinl _tanl \
20163 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20166 if { (eval echo configure:20167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20168 glibcpp_cv_func__long_double_trig_use=yes
20170 echo "configure: failed program was:" >&5
20171 cat conftest.$ac_ext >&5
20173 glibcpp_cv_func__long_double_trig_use=no
20177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20178 ac_cpp='$CPP $CPPFLAGS'
20179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20181 cross_compiling=$ac_cv_prog_cc_cross
20185 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20186 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20187 for ac_func in _acosl _asinl _atanl \
20188 _cosl _sinl _tanl \
20189 _coshl _sinhl _tanhl
20191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20192 echo "configure:20193: checking for $ac_func" >&5
20193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20194 echo $ac_n "(cached) $ac_c" 1>&6
20196 cat > conftest.$ac_ext <<EOF
20197 #line 20198 "configure"
20198 #include "confdefs.h"
20199 /* System header to define __stub macros and hopefully few prototypes,
20200 which can conflict with char $ac_func(); below. */
20201 #include <assert.h>
20202 /* Override any gcc2 internal prototype to avoid an error. */
20203 /* We use char because int might match the return type of a gcc2
20204 builtin and then its argument prototype would still apply. */
20209 /* The GNU C library defines this for functions which it implements
20210 to always fail with ENOSYS. Some functions are actually named
20211 something starting with __ and the normal name is an alias. */
20212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20220 if { (eval echo configure:20221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20222 eval "ac_cv_func_$ac_func=yes"
20224 echo "configure: failed program was:" >&5
20225 cat conftest.$ac_ext >&5
20227 eval "ac_cv_func_$ac_func=no"
20232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20233 echo "$ac_t""yes" 1>&6
20234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20235 cat >> confdefs.h <<EOF
20236 #define $ac_tr_func 1
20240 echo "$ac_t""no" 1>&6
20247 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20248 echo "configure:20249: checking for _long double round functions" >&5
20249 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20250 echo $ac_n "(cached) $ac_c" 1>&6
20255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20256 ac_cpp='$CXXCPP $CPPFLAGS'
20257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20259 cross_compiling=$ac_cv_prog_cxx_cross
20261 cat > conftest.$ac_ext <<EOF
20262 #line 20263 "configure"
20263 #include "confdefs.h"
20266 `for x in _ceill _floorl; do echo "$x (0);"; done`
20269 if { (eval echo configure:20270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20271 glibcpp_cv_func__long_double_round_use=yes
20273 echo "configure: failed program was:" >&5
20274 cat conftest.$ac_ext >&5
20276 glibcpp_cv_func__long_double_round_use=no
20280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20281 ac_cpp='$CPP $CPPFLAGS'
20282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20284 cross_compiling=$ac_cv_prog_cc_cross
20288 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20289 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20290 for ac_func in _ceill _floorl
20292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20293 echo "configure:20294: checking for $ac_func" >&5
20294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20295 echo $ac_n "(cached) $ac_c" 1>&6
20297 cat > conftest.$ac_ext <<EOF
20298 #line 20299 "configure"
20299 #include "confdefs.h"
20300 /* System header to define __stub macros and hopefully few prototypes,
20301 which can conflict with char $ac_func(); below. */
20302 #include <assert.h>
20303 /* Override any gcc2 internal prototype to avoid an error. */
20304 /* We use char because int might match the return type of a gcc2
20305 builtin and then its argument prototype would still apply. */
20310 /* The GNU C library defines this for functions which it implements
20311 to always fail with ENOSYS. Some functions are actually named
20312 something starting with __ and the normal name is an alias. */
20313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20321 if { (eval echo configure:20322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20323 eval "ac_cv_func_$ac_func=yes"
20325 echo "configure: failed program was:" >&5
20326 cat conftest.$ac_ext >&5
20328 eval "ac_cv_func_$ac_func=no"
20333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20334 echo "$ac_t""yes" 1>&6
20335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20336 cat >> confdefs.h <<EOF
20337 #define $ac_tr_func 1
20341 echo "$ac_t""no" 1>&6
20348 LIBS="$ac_save_LIBS"
20349 CXXFLAGS="$ac_save_CXXFLAGS"
20352 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20353 echo "configure:20354: checking for main in -lm" >&5
20354 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20356 echo $ac_n "(cached) $ac_c" 1>&6
20358 ac_save_LIBS="$LIBS"
20360 cat > conftest.$ac_ext <<EOF
20361 #line 20362 "configure"
20362 #include "confdefs.h"
20368 if { (eval echo configure:20369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20370 eval "ac_cv_lib_$ac_lib_var=yes"
20372 echo "configure: failed program was:" >&5
20373 cat conftest.$ac_ext >&5
20375 eval "ac_cv_lib_$ac_lib_var=no"
20378 LIBS="$ac_save_LIBS"
20381 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20382 echo "$ac_t""yes" 1>&6
20383 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20384 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20385 cat >> confdefs.h <<EOF
20386 #define $ac_tr_lib 1
20392 echo "$ac_t""no" 1>&6
20395 for ac_func in nan copysignf
20397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20398 echo "configure:20399: checking for $ac_func" >&5
20399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20400 echo $ac_n "(cached) $ac_c" 1>&6
20402 cat > conftest.$ac_ext <<EOF
20403 #line 20404 "configure"
20404 #include "confdefs.h"
20405 /* System header to define __stub macros and hopefully few prototypes,
20406 which can conflict with char $ac_func(); below. */
20407 #include <assert.h>
20408 /* Override any gcc2 internal prototype to avoid an error. */
20409 /* We use char because int might match the return type of a gcc2
20410 builtin and then its argument prototype would still apply. */
20415 /* The GNU C library defines this for functions which it implements
20416 to always fail with ENOSYS. Some functions are actually named
20417 something starting with __ and the normal name is an alias. */
20418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20426 if { (eval echo configure:20427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20428 eval "ac_cv_func_$ac_func=yes"
20430 echo "configure: failed program was:" >&5
20431 cat conftest.$ac_ext >&5
20433 eval "ac_cv_func_$ac_func=no"
20438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20439 echo "$ac_t""yes" 1>&6
20440 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20441 cat >> confdefs.h <<EOF
20442 #define $ac_tr_func 1
20446 echo "$ac_t""no" 1>&6
20447 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20452 for ac_func in __signbit
20454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20455 echo "configure:20456: checking for $ac_func" >&5
20456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20457 echo $ac_n "(cached) $ac_c" 1>&6
20459 cat > conftest.$ac_ext <<EOF
20460 #line 20461 "configure"
20461 #include "confdefs.h"
20462 /* System header to define __stub macros and hopefully few prototypes,
20463 which can conflict with char $ac_func(); below. */
20464 #include <assert.h>
20465 /* Override any gcc2 internal prototype to avoid an error. */
20466 /* We use char because int might match the return type of a gcc2
20467 builtin and then its argument prototype would still apply. */
20472 /* The GNU C library defines this for functions which it implements
20473 to always fail with ENOSYS. Some functions are actually named
20474 something starting with __ and the normal name is an alias. */
20475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20483 if { (eval echo configure:20484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20485 eval "ac_cv_func_$ac_func=yes"
20487 echo "configure: failed program was:" >&5
20488 cat conftest.$ac_ext >&5
20490 eval "ac_cv_func_$ac_func=no"
20495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20496 echo "$ac_t""yes" 1>&6
20497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20498 cat >> confdefs.h <<EOF
20499 #define $ac_tr_func 1
20503 echo "$ac_t""no" 1>&6
20504 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20508 for ac_func in __signbitf
20510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20511 echo "configure:20512: checking for $ac_func" >&5
20512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20513 echo $ac_n "(cached) $ac_c" 1>&6
20515 cat > conftest.$ac_ext <<EOF
20516 #line 20517 "configure"
20517 #include "confdefs.h"
20518 /* System header to define __stub macros and hopefully few prototypes,
20519 which can conflict with char $ac_func(); below. */
20520 #include <assert.h>
20521 /* Override any gcc2 internal prototype to avoid an error. */
20522 /* We use char because int might match the return type of a gcc2
20523 builtin and then its argument prototype would still apply. */
20528 /* The GNU C library defines this for functions which it implements
20529 to always fail with ENOSYS. Some functions are actually named
20530 something starting with __ and the normal name is an alias. */
20531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20539 if { (eval echo configure:20540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20541 eval "ac_cv_func_$ac_func=yes"
20543 echo "configure: failed program was:" >&5
20544 cat conftest.$ac_ext >&5
20546 eval "ac_cv_func_$ac_func=no"
20551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20552 echo "$ac_t""yes" 1>&6
20553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20554 cat >> confdefs.h <<EOF
20555 #define $ac_tr_func 1
20559 echo "$ac_t""no" 1>&6
20560 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20565 if test x$ac_cv_func_copysignl = x"yes"; then
20566 for ac_func in __signbitl
20568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20569 echo "configure:20570: checking for $ac_func" >&5
20570 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20571 echo $ac_n "(cached) $ac_c" 1>&6
20573 cat > conftest.$ac_ext <<EOF
20574 #line 20575 "configure"
20575 #include "confdefs.h"
20576 /* System header to define __stub macros and hopefully few prototypes,
20577 which can conflict with char $ac_func(); below. */
20578 #include <assert.h>
20579 /* Override any gcc2 internal prototype to avoid an error. */
20580 /* We use char because int might match the return type of a gcc2
20581 builtin and then its argument prototype would still apply. */
20586 /* The GNU C library defines this for functions which it implements
20587 to always fail with ENOSYS. Some functions are actually named
20588 something starting with __ and the normal name is an alias. */
20589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20597 if { (eval echo configure:20598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20599 eval "ac_cv_func_$ac_func=yes"
20601 echo "configure: failed program was:" >&5
20602 cat conftest.$ac_ext >&5
20604 eval "ac_cv_func_$ac_func=no"
20609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20610 echo "$ac_t""yes" 1>&6
20611 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20612 cat >> confdefs.h <<EOF
20613 #define $ac_tr_func 1
20617 echo "$ac_t""no" 1>&6
20618 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20628 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20629 echo "configure:20630: checking for mbstate_t" >&5
20630 cat > conftest.$ac_ext <<EOF
20631 #line 20632 "configure"
20632 #include "confdefs.h"
20635 mbstate_t teststate;
20638 if { (eval echo configure:20639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20642 echo "configure: failed program was:" >&5
20643 cat conftest.$ac_ext >&5
20648 echo "$ac_t""$have_mbstate_t" 1>&6
20649 if test x"$have_mbstate_t" = xyes; then
20650 cat >> confdefs.h <<\EOF
20651 #define HAVE_MBSTATE_T 1
20656 for ac_hdr in wchar.h
20658 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20660 echo "configure:20661: checking for $ac_hdr" >&5
20661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20662 echo $ac_n "(cached) $ac_c" 1>&6
20664 cat > conftest.$ac_ext <<EOF
20665 #line 20666 "configure"
20666 #include "confdefs.h"
20669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20670 { (eval echo configure:20671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20672 if test -z "$ac_err"; then
20674 eval "ac_cv_header_$ac_safe=yes"
20677 echo "configure: failed program was:" >&5
20678 cat conftest.$ac_ext >&5
20680 eval "ac_cv_header_$ac_safe=no"
20684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20685 echo "$ac_t""yes" 1>&6
20686 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20687 cat >> confdefs.h <<EOF
20688 #define $ac_tr_hdr 1
20692 echo "$ac_t""no" 1>&6
20697 for ac_hdr in wctype.h
20699 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20701 echo "configure:20702: checking for $ac_hdr" >&5
20702 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20703 echo $ac_n "(cached) $ac_c" 1>&6
20705 cat > conftest.$ac_ext <<EOF
20706 #line 20707 "configure"
20707 #include "confdefs.h"
20710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20711 { (eval echo configure:20712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20713 if test -z "$ac_err"; then
20715 eval "ac_cv_header_$ac_safe=yes"
20718 echo "configure: failed program was:" >&5
20719 cat conftest.$ac_ext >&5
20721 eval "ac_cv_header_$ac_safe=no"
20725 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20726 echo "$ac_t""yes" 1>&6
20727 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20728 cat >> confdefs.h <<EOF
20729 #define $ac_tr_hdr 1
20731 ac_has_wctype_h=yes
20733 echo "$ac_t""no" 1>&6
20739 if test x"$ac_has_wchar_h" = xyes &&
20740 test x"$ac_has_wctype_h" = xyes &&
20741 test x"$enable_c_mbchar" != xno; then
20743 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20744 echo "configure:20745: checking for WCHAR_MIN and WCHAR_MAX" >&5
20745 cat > conftest.$ac_ext <<EOF
20746 #line 20747 "configure"
20747 #include "confdefs.h"
20750 int i = WCHAR_MIN; int j = WCHAR_MAX;
20753 if { (eval echo configure:20754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20755 has_wchar_minmax=yes
20757 echo "configure: failed program was:" >&5
20758 cat conftest.$ac_ext >&5
20760 has_wchar_minmax=no
20763 echo "$ac_t""$has_wchar_minmax" 1>&6
20765 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20766 echo "configure:20767: checking for WEOF" >&5
20767 cat > conftest.$ac_ext <<EOF
20768 #line 20769 "configure"
20769 #include "confdefs.h"
20772 #include <stddef.h>
20777 if { (eval echo configure:20778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20781 echo "configure: failed program was:" >&5
20782 cat conftest.$ac_ext >&5
20787 echo "$ac_t""$has_weof" 1>&6
20790 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20793 echo "configure:20794: checking for $ac_func" >&5
20794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20795 echo $ac_n "(cached) $ac_c" 1>&6
20797 cat > conftest.$ac_ext <<EOF
20798 #line 20799 "configure"
20799 #include "confdefs.h"
20800 /* System header to define __stub macros and hopefully few prototypes,
20801 which can conflict with char $ac_func(); below. */
20802 #include <assert.h>
20803 /* Override any gcc2 internal prototype to avoid an error. */
20804 /* We use char because int might match the return type of a gcc2
20805 builtin and then its argument prototype would still apply. */
20810 /* The GNU C library defines this for functions which it implements
20811 to always fail with ENOSYS. Some functions are actually named
20812 something starting with __ and the normal name is an alias. */
20813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20821 if { (eval echo configure:20822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20823 eval "ac_cv_func_$ac_func=yes"
20825 echo "configure: failed program was:" >&5
20826 cat conftest.$ac_ext >&5
20828 eval "ac_cv_func_$ac_func=no"
20833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20834 echo "$ac_t""yes" 1>&6
20835 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20836 cat >> confdefs.h <<EOF
20837 #define $ac_tr_func 1
20841 echo "$ac_t""no" 1>&6
20848 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20849 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20850 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20851 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20852 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20853 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20856 echo "configure:20857: checking for $ac_func" >&5
20857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20858 echo $ac_n "(cached) $ac_c" 1>&6
20860 cat > conftest.$ac_ext <<EOF
20861 #line 20862 "configure"
20862 #include "confdefs.h"
20863 /* System header to define __stub macros and hopefully few prototypes,
20864 which can conflict with char $ac_func(); below. */
20865 #include <assert.h>
20866 /* Override any gcc2 internal prototype to avoid an error. */
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20873 /* The GNU C library defines this for functions which it implements
20874 to always fail with ENOSYS. Some functions are actually named
20875 something starting with __ and the normal name is an alias. */
20876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20884 if { (eval echo configure:20885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20886 eval "ac_cv_func_$ac_func=yes"
20888 echo "configure: failed program was:" >&5
20889 cat conftest.$ac_ext >&5
20891 eval "ac_cv_func_$ac_func=no"
20896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20897 echo "$ac_t""yes" 1>&6
20898 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20899 cat >> confdefs.h <<EOF
20900 #define $ac_tr_func 1
20904 echo "$ac_t""no" 1>&6
20911 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20912 echo "configure:20913: checking for ISO C99 wchar_t support" >&5
20913 if test x"$has_weof" = xyes &&
20914 test x"$has_wchar_minmax" = xyes &&
20915 test x"$ac_wfuncs" = xyes; then
20916 ac_isoC99_wchar_t=yes
20918 ac_isoC99_wchar_t=no
20920 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20922 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20923 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20924 echo "configure:20925: checking for iconv.h" >&5
20925 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20926 echo $ac_n "(cached) $ac_c" 1>&6
20928 cat > conftest.$ac_ext <<EOF
20929 #line 20930 "configure"
20930 #include "confdefs.h"
20933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20934 { (eval echo configure:20935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20936 if test -z "$ac_err"; then
20938 eval "ac_cv_header_$ac_safe=yes"
20941 echo "configure: failed program was:" >&5
20942 cat conftest.$ac_ext >&5
20944 eval "ac_cv_header_$ac_safe=no"
20948 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20949 echo "$ac_t""yes" 1>&6
20952 echo "$ac_t""no" 1>&6
20956 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20957 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20958 echo "configure:20959: checking for langinfo.h" >&5
20959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20960 echo $ac_n "(cached) $ac_c" 1>&6
20962 cat > conftest.$ac_ext <<EOF
20963 #line 20964 "configure"
20964 #include "confdefs.h"
20965 #include <langinfo.h>
20967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20968 { (eval echo configure:20969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20970 if test -z "$ac_err"; then
20972 eval "ac_cv_header_$ac_safe=yes"
20975 echo "configure: failed program was:" >&5
20976 cat conftest.$ac_ext >&5
20978 eval "ac_cv_header_$ac_safe=no"
20982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20983 echo "$ac_t""yes" 1>&6
20984 ac_has_langinfo_h=yes
20986 echo "$ac_t""no" 1>&6
20987 ac_has_langinfo_h=no
20991 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
20992 echo "configure:20993: checking for iconv in -liconv" >&5
20993 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20994 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20995 echo $ac_n "(cached) $ac_c" 1>&6
20997 ac_save_LIBS="$LIBS"
20998 LIBS="-liconv $LIBS"
20999 cat > conftest.$ac_ext <<EOF
21000 #line 21001 "configure"
21001 #include "confdefs.h"
21002 /* Override any gcc2 internal prototype to avoid an error. */
21003 /* We use char because int might match the return type of a gcc2
21004 builtin and then its argument prototype would still apply. */
21011 if { (eval echo configure:21012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21013 eval "ac_cv_lib_$ac_lib_var=yes"
21015 echo "configure: failed program was:" >&5
21016 cat conftest.$ac_ext >&5
21018 eval "ac_cv_lib_$ac_lib_var=no"
21021 LIBS="$ac_save_LIBS"
21024 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21025 echo "$ac_t""yes" 1>&6
21028 echo "$ac_t""no" 1>&6
21031 ac_save_LIBS="$LIBS"
21032 LIBS="$LIBS $libiconv"
21034 for ac_func in iconv_open iconv_close iconv nl_langinfo
21036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21037 echo "configure:21038: checking for $ac_func" >&5
21038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21039 echo $ac_n "(cached) $ac_c" 1>&6
21041 cat > conftest.$ac_ext <<EOF
21042 #line 21043 "configure"
21043 #include "confdefs.h"
21044 /* System header to define __stub macros and hopefully few prototypes,
21045 which can conflict with char $ac_func(); below. */
21046 #include <assert.h>
21047 /* Override any gcc2 internal prototype to avoid an error. */
21048 /* We use char because int might match the return type of a gcc2
21049 builtin and then its argument prototype would still apply. */
21054 /* The GNU C library defines this for functions which it implements
21055 to always fail with ENOSYS. Some functions are actually named
21056 something starting with __ and the normal name is an alias. */
21057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21065 if { (eval echo configure:21066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21067 eval "ac_cv_func_$ac_func=yes"
21069 echo "configure: failed program was:" >&5
21070 cat conftest.$ac_ext >&5
21072 eval "ac_cv_func_$ac_func=no"
21077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21078 echo "$ac_t""yes" 1>&6
21079 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21080 cat >> confdefs.h <<EOF
21081 #define $ac_tr_func 1
21086 echo "$ac_t""no" 1>&6
21092 LIBS="$ac_save_LIBS"
21094 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21095 echo "configure:21096: checking for XPG2 wchar_t support" >&5
21096 if test x"$ac_has_iconv_h" = xyes &&
21097 test x"$ac_has_langinfo_h" = xyes &&
21098 test x"$ac_XPG2funcs" = xyes; then
21099 ac_XPG2_wchar_t=yes
21103 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21105 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21106 echo "configure:21107: checking for enabled wchar_t specializations" >&5
21107 if test x"$ac_isoC99_wchar_t" = xyes &&
21108 test x"$ac_XPG2_wchar_t" = xyes; then
21109 cat >> confdefs.h <<\EOF
21110 #define _GLIBCPP_USE_WCHAR_T 1
21113 echo "$ac_t"""yes"" 1>&6
21115 echo "$ac_t"""no"" 1>&6
21118 echo "configure: warning: wchar_t support disabled." 1>&2
21122 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21123 ac_save_CXXFLAGS="$CXXFLAGS"
21124 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21127 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21128 echo "configure:21129: checking for strtold declaration" >&5
21129 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21130 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21131 echo $ac_n "(cached) $ac_c" 1>&6
21136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21139 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21140 cross_compiling=$ac_cv_prog_cxx_cross
21142 cat > conftest.$ac_ext <<EOF
21143 #line 21144 "configure"
21144 #include "confdefs.h"
21145 #include <stdlib.h>
21150 if { (eval echo configure:21151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21152 glibcpp_cv_func_strtold_use=yes
21154 echo "configure: failed program was:" >&5
21155 cat conftest.$ac_ext >&5
21157 glibcpp_cv_func_strtold_use=no
21161 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21164 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21165 cross_compiling=$ac_cv_prog_cc_cross
21171 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21172 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21173 for ac_func in strtold
21175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21176 echo "configure:21177: checking for $ac_func" >&5
21177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21178 echo $ac_n "(cached) $ac_c" 1>&6
21180 cat > conftest.$ac_ext <<EOF
21181 #line 21182 "configure"
21182 #include "confdefs.h"
21183 /* System header to define __stub macros and hopefully few prototypes,
21184 which can conflict with char $ac_func(); below. */
21185 #include <assert.h>
21186 /* Override any gcc2 internal prototype to avoid an error. */
21187 /* We use char because int might match the return type of a gcc2
21188 builtin and then its argument prototype would still apply. */
21193 /* The GNU C library defines this for functions which it implements
21194 to always fail with ENOSYS. Some functions are actually named
21195 something starting with __ and the normal name is an alias. */
21196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21204 if { (eval echo configure:21205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21206 eval "ac_cv_func_$ac_func=yes"
21208 echo "configure: failed program was:" >&5
21209 cat conftest.$ac_ext >&5
21211 eval "ac_cv_func_$ac_func=no"
21216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21217 echo "$ac_t""yes" 1>&6
21218 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21219 cat >> confdefs.h <<EOF
21220 #define $ac_tr_func 1
21224 echo "$ac_t""no" 1>&6
21231 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21232 echo "configure:21233: checking for strtof declaration" >&5
21233 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21234 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21235 echo $ac_n "(cached) $ac_c" 1>&6
21240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21241 ac_cpp='$CXXCPP $CPPFLAGS'
21242 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21243 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21244 cross_compiling=$ac_cv_prog_cxx_cross
21246 cat > conftest.$ac_ext <<EOF
21247 #line 21248 "configure"
21248 #include "confdefs.h"
21249 #include <stdlib.h>
21254 if { (eval echo configure:21255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21256 glibcpp_cv_func_strtof_use=yes
21258 echo "configure: failed program was:" >&5
21259 cat conftest.$ac_ext >&5
21261 glibcpp_cv_func_strtof_use=no
21265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21268 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21269 cross_compiling=$ac_cv_prog_cc_cross
21275 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21276 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21277 for ac_func in strtof
21279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21280 echo "configure:21281: checking for $ac_func" >&5
21281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21282 echo $ac_n "(cached) $ac_c" 1>&6
21284 cat > conftest.$ac_ext <<EOF
21285 #line 21286 "configure"
21286 #include "confdefs.h"
21287 /* System header to define __stub macros and hopefully few prototypes,
21288 which can conflict with char $ac_func(); below. */
21289 #include <assert.h>
21290 /* Override any gcc2 internal prototype to avoid an error. */
21291 /* We use char because int might match the return type of a gcc2
21292 builtin and then its argument prototype would still apply. */
21297 /* The GNU C library defines this for functions which it implements
21298 to always fail with ENOSYS. Some functions are actually named
21299 something starting with __ and the normal name is an alias. */
21300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21308 if { (eval echo configure:21309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21310 eval "ac_cv_func_$ac_func=yes"
21312 echo "configure: failed program was:" >&5
21313 cat conftest.$ac_ext >&5
21315 eval "ac_cv_func_$ac_func=no"
21320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21321 echo "$ac_t""yes" 1>&6
21322 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21323 cat >> confdefs.h <<EOF
21324 #define $ac_tr_func 1
21328 echo "$ac_t""no" 1>&6
21334 for ac_func in drand48
21336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21337 echo "configure:21338: checking for $ac_func" >&5
21338 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21339 echo $ac_n "(cached) $ac_c" 1>&6
21341 cat > conftest.$ac_ext <<EOF
21342 #line 21343 "configure"
21343 #include "confdefs.h"
21344 /* System header to define __stub macros and hopefully few prototypes,
21345 which can conflict with char $ac_func(); below. */
21346 #include <assert.h>
21347 /* Override any gcc2 internal prototype to avoid an error. */
21348 /* We use char because int might match the return type of a gcc2
21349 builtin and then its argument prototype would still apply. */
21354 /* The GNU C library defines this for functions which it implements
21355 to always fail with ENOSYS. Some functions are actually named
21356 something starting with __ and the normal name is an alias. */
21357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21365 if { (eval echo configure:21366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21367 eval "ac_cv_func_$ac_func=yes"
21369 echo "configure: failed program was:" >&5
21370 cat conftest.$ac_ext >&5
21372 eval "ac_cv_func_$ac_func=no"
21377 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21378 echo "$ac_t""yes" 1>&6
21379 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21380 cat >> confdefs.h <<EOF
21381 #define $ac_tr_func 1
21385 echo "$ac_t""no" 1>&6
21390 CXXFLAGS="$ac_save_CXXFLAGS"
21393 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21394 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21395 echo "configure:21396: checking for locale.h" >&5
21396 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21397 echo $ac_n "(cached) $ac_c" 1>&6
21399 cat > conftest.$ac_ext <<EOF
21400 #line 21401 "configure"
21401 #include "confdefs.h"
21402 #include <locale.h>
21404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21405 { (eval echo configure:21406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21407 if test -z "$ac_err"; then
21409 eval "ac_cv_header_$ac_safe=yes"
21412 echo "configure: failed program was:" >&5
21413 cat conftest.$ac_ext >&5
21415 eval "ac_cv_header_$ac_safe=no"
21419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21420 echo "$ac_t""yes" 1>&6
21422 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21423 echo "configure:21424: checking for LC_MESSAGES" >&5
21424 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21425 echo $ac_n "(cached) $ac_c" 1>&6
21427 cat > conftest.$ac_ext <<EOF
21428 #line 21429 "configure"
21429 #include "confdefs.h"
21430 #include <locale.h>
21435 if { (eval echo configure:21436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21437 ac_cv_val_LC_MESSAGES=yes
21439 echo "configure: failed program was:" >&5
21440 cat conftest.$ac_ext >&5
21442 ac_cv_val_LC_MESSAGES=no
21447 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21448 if test $ac_cv_val_LC_MESSAGES = yes; then
21449 cat >> confdefs.h <<\EOF
21450 #define HAVE_LC_MESSAGES 1
21456 echo "$ac_t""no" 1>&6
21461 cat > conftest.$ac_ext <<EOF
21462 #line 21463 "configure"
21463 #include "confdefs.h"
21465 #include <setjmp.h>
21468 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21471 if { (eval echo configure:21472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21473 cat >> confdefs.h <<\EOF
21474 #define HAVE_SIGSETJMP 1
21479 echo "configure: failed program was:" >&5
21480 cat conftest.$ac_ext >&5
21484 for ac_hdr in unistd.h
21486 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21488 echo "configure:21489: checking for $ac_hdr" >&5
21489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21490 echo $ac_n "(cached) $ac_c" 1>&6
21492 cat > conftest.$ac_ext <<EOF
21493 #line 21494 "configure"
21494 #include "confdefs.h"
21497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21498 { (eval echo configure:21499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21500 if test -z "$ac_err"; then
21502 eval "ac_cv_header_$ac_safe=yes"
21505 echo "configure: failed program was:" >&5
21506 cat conftest.$ac_ext >&5
21508 eval "ac_cv_header_$ac_safe=no"
21512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21513 echo "$ac_t""yes" 1>&6
21514 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21515 cat >> confdefs.h <<EOF
21516 #define $ac_tr_hdr 1
21520 echo "$ac_t""no" 1>&6
21524 for ac_func in getpagesize
21526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21527 echo "configure:21528: checking for $ac_func" >&5
21528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21529 echo $ac_n "(cached) $ac_c" 1>&6
21531 cat > conftest.$ac_ext <<EOF
21532 #line 21533 "configure"
21533 #include "confdefs.h"
21534 /* System header to define __stub macros and hopefully few prototypes,
21535 which can conflict with char $ac_func(); below. */
21536 #include <assert.h>
21537 /* Override any gcc2 internal prototype to avoid an error. */
21538 /* We use char because int might match the return type of a gcc2
21539 builtin and then its argument prototype would still apply. */
21544 /* The GNU C library defines this for functions which it implements
21545 to always fail with ENOSYS. Some functions are actually named
21546 something starting with __ and the normal name is an alias. */
21547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21555 if { (eval echo configure:21556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21557 eval "ac_cv_func_$ac_func=yes"
21559 echo "configure: failed program was:" >&5
21560 cat conftest.$ac_ext >&5
21562 eval "ac_cv_func_$ac_func=no"
21567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21568 echo "$ac_t""yes" 1>&6
21569 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21570 cat >> confdefs.h <<EOF
21571 #define $ac_tr_func 1
21575 echo "$ac_t""no" 1>&6
21579 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21580 echo "configure:21581: checking for working mmap" >&5
21581 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21582 echo $ac_n "(cached) $ac_c" 1>&6
21584 if test "$cross_compiling" = yes; then
21585 ac_cv_func_mmap_fixed_mapped=no
21587 cat > conftest.$ac_ext <<EOF
21588 #line 21589 "configure"
21589 #include "confdefs.h"
21591 /* Thanks to Mike Haertel and Jim Avera for this test.
21592 Here is a matrix of mmap possibilities:
21593 mmap private not fixed
21594 mmap private fixed at somewhere currently unmapped
21595 mmap private fixed at somewhere already mapped
21596 mmap shared not fixed
21597 mmap shared fixed at somewhere currently unmapped
21598 mmap shared fixed at somewhere already mapped
21599 For private mappings, we should verify that changes cannot be read()
21600 back from the file, nor mmap's back from the file at a different
21601 address. (There have been systems where private was not correctly
21602 implemented like the infamous i386 svr4.0, and systems where the
21603 VM page cache was not coherent with the filesystem buffer cache
21604 like early versions of FreeBSD and possibly contemporary NetBSD.)
21605 For shared mappings, we should conversely verify that changes get
21606 propogated back to all the places they're supposed to be.
21608 Grep wants private fixed already mapped.
21609 The main things grep needs to know about mmap are:
21610 * does it exist and is it safe to write into the mmap'd area
21611 * how to use it (BSD variants) */
21612 #include <sys/types.h>
21614 #include <sys/mman.h>
21616 /* This mess was copied from the GNU getpagesize.h. */
21617 #ifndef HAVE_GETPAGESIZE
21618 # ifdef HAVE_UNISTD_H
21619 # include <unistd.h>
21622 /* Assume that all systems that can run configure have sys/param.h. */
21623 # ifndef HAVE_SYS_PARAM_H
21624 # define HAVE_SYS_PARAM_H 1
21627 # ifdef _SC_PAGESIZE
21628 # define getpagesize() sysconf(_SC_PAGESIZE)
21629 # else /* no _SC_PAGESIZE */
21630 # ifdef HAVE_SYS_PARAM_H
21631 # include <sys/param.h>
21632 # ifdef EXEC_PAGESIZE
21633 # define getpagesize() EXEC_PAGESIZE
21634 # else /* no EXEC_PAGESIZE */
21636 # define getpagesize() NBPG * CLSIZE
21639 # endif /* no CLSIZE */
21640 # else /* no NBPG */
21642 # define getpagesize() NBPC
21643 # else /* no NBPC */
21645 # define getpagesize() PAGESIZE
21646 # endif /* PAGESIZE */
21647 # endif /* no NBPC */
21648 # endif /* no NBPG */
21649 # endif /* no EXEC_PAGESIZE */
21650 # else /* no HAVE_SYS_PARAM_H */
21651 # define getpagesize() 8192 /* punt totally */
21652 # endif /* no HAVE_SYS_PARAM_H */
21653 # endif /* no _SC_PAGESIZE */
21655 #endif /* no HAVE_GETPAGESIZE */
21658 extern "C" { void *malloc(unsigned); }
21666 char *data, *data2, *data3;
21670 pagesize = getpagesize();
21673 * First, make a file with some known garbage in it.
21675 data = malloc(pagesize);
21678 for (i = 0; i < pagesize; ++i)
21679 *(data + i) = rand();
21681 fd = creat("conftestmmap", 0600);
21684 if (write(fd, data, pagesize) != pagesize)
21689 * Next, try to mmap the file at a fixed address which
21690 * already has something else allocated at it. If we can,
21691 * also make sure that we see the same garbage.
21693 fd = open("conftestmmap", O_RDWR);
21696 data2 = malloc(2 * pagesize);
21699 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21700 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21701 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21703 for (i = 0; i < pagesize; ++i)
21704 if (*(data + i) != *(data2 + i))
21708 * Finally, make sure that changes to the mapped area
21709 * do not percolate back to the file as seen by read().
21710 * (This is a bug on some variants of i386 svr4.0.)
21712 for (i = 0; i < pagesize; ++i)
21713 *(data2 + i) = *(data2 + i) + 1;
21714 data3 = malloc(pagesize);
21717 if (read(fd, data3, pagesize) != pagesize)
21719 for (i = 0; i < pagesize; ++i)
21720 if (*(data + i) != *(data3 + i))
21723 unlink("conftestmmap");
21728 if { (eval echo configure:21729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21730 ac_cv_func_mmap_fixed_mapped=yes
21732 echo "configure: failed program was:" >&5
21733 cat conftest.$ac_ext >&5
21735 ac_cv_func_mmap_fixed_mapped=no
21742 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21743 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21744 cat >> confdefs.h <<\EOF
21745 #define HAVE_MMAP 1
21751 # Establish limits on memory usage during 'make check'
21754 setrlimit_have_headers=yes
21755 for ac_hdr in unistd.h sys/time.h sys/resource.h
21757 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21758 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21759 echo "configure:21760: checking for $ac_hdr" >&5
21760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21761 echo $ac_n "(cached) $ac_c" 1>&6
21763 cat > conftest.$ac_ext <<EOF
21764 #line 21765 "configure"
21765 #include "confdefs.h"
21768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21769 { (eval echo configure:21770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21771 if test -z "$ac_err"; then
21773 eval "ac_cv_header_$ac_safe=yes"
21776 echo "configure: failed program was:" >&5
21777 cat conftest.$ac_ext >&5
21779 eval "ac_cv_header_$ac_safe=no"
21783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21784 echo "$ac_t""yes" 1>&6
21785 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21786 cat >> confdefs.h <<EOF
21787 #define $ac_tr_hdr 1
21791 echo "$ac_t""no" 1>&6
21792 setrlimit_have_headers=no
21796 # If don't have the headers, then we can't run the tests now, and we
21797 # won't be seeing any of these during testsuite compilation.
21798 if test $setrlimit_have_headers = yes; then
21799 # Can't do these in a loop, else the resulting syntax is wrong.
21801 cat > conftest.$ac_ext <<EOF
21802 #line 21803 "configure"
21803 #include "confdefs.h"
21804 #include <unistd.h>
21805 #include <sys/time.h>
21806 #include <sys/resource.h>
21809 int f = RLIMIT_DATA ;
21812 if { (eval echo configure:21813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21816 echo "configure: failed program was:" >&5
21817 cat conftest.$ac_ext >&5
21822 cat >> confdefs.h <<EOF
21823 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21828 cat > conftest.$ac_ext <<EOF
21829 #line 21830 "configure"
21830 #include "confdefs.h"
21831 #include <unistd.h>
21832 #include <sys/time.h>
21833 #include <sys/resource.h>
21836 int f = RLIMIT_RSS ;
21839 if { (eval echo configure:21840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21843 echo "configure: failed program was:" >&5
21844 cat conftest.$ac_ext >&5
21849 cat >> confdefs.h <<EOF
21850 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21855 cat > conftest.$ac_ext <<EOF
21856 #line 21857 "configure"
21857 #include "confdefs.h"
21858 #include <unistd.h>
21859 #include <sys/time.h>
21860 #include <sys/resource.h>
21863 int f = RLIMIT_VMEM ;
21866 if { (eval echo configure:21867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21870 echo "configure: failed program was:" >&5
21871 cat conftest.$ac_ext >&5
21876 cat >> confdefs.h <<EOF
21877 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21882 cat > conftest.$ac_ext <<EOF
21883 #line 21884 "configure"
21884 #include "confdefs.h"
21885 #include <unistd.h>
21886 #include <sys/time.h>
21887 #include <sys/resource.h>
21890 int f = RLIMIT_AS ;
21893 if { (eval echo configure:21894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21897 echo "configure: failed program was:" >&5
21898 cat conftest.$ac_ext >&5
21903 cat >> confdefs.h <<EOF
21904 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21909 # Check for rlimit, setrlimit.
21910 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21911 echo $ac_n "(cached) $ac_c" 1>&6
21914 cat > conftest.$ac_ext <<EOF
21915 #line 21916 "configure"
21916 #include "confdefs.h"
21917 #include <unistd.h>
21918 #include <sys/time.h>
21919 #include <sys/resource.h>
21922 struct rlimit r; setrlimit(0, &r);
21925 if { (eval echo configure:21926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21929 echo "configure: failed program was:" >&5
21930 cat conftest.$ac_ext >&5
21940 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21941 echo "configure:21942: checking for testsuite memory limit support" >&5
21942 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21944 cat >> confdefs.h <<\EOF
21945 #define _GLIBCPP_MEM_LIMITS 1
21951 echo "$ac_t""$ac_mem_limits" 1>&6
21954 # Look for setenv, so that extended locale tests can be performed.
21956 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21957 echo "configure:21958: checking for setenv declaration" >&5
21958 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21959 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21960 echo $ac_n "(cached) $ac_c" 1>&6
21965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21969 cross_compiling=$ac_cv_prog_cxx_cross
21971 cat > conftest.$ac_ext <<EOF
21972 #line 21973 "configure"
21973 #include "confdefs.h"
21974 #include <stdlib.h>
21979 if { (eval echo configure:21980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21981 glibcpp_cv_func_setenv_use=yes
21983 echo "configure: failed program was:" >&5
21984 cat conftest.$ac_ext >&5
21986 glibcpp_cv_func_setenv_use=no
21990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21991 ac_cpp='$CPP $CPPFLAGS'
21992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21994 cross_compiling=$ac_cv_prog_cc_cross
22000 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22001 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22002 for ac_func in setenv
22004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22005 echo "configure:22006: checking for $ac_func" >&5
22006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22007 echo $ac_n "(cached) $ac_c" 1>&6
22009 cat > conftest.$ac_ext <<EOF
22010 #line 22011 "configure"
22011 #include "confdefs.h"
22012 /* System header to define __stub macros and hopefully few prototypes,
22013 which can conflict with char $ac_func(); below. */
22014 #include <assert.h>
22015 /* Override any gcc2 internal prototype to avoid an error. */
22016 /* We use char because int might match the return type of a gcc2
22017 builtin and then its argument prototype would still apply. */
22022 /* The GNU C library defines this for functions which it implements
22023 to always fail with ENOSYS. Some functions are actually named
22024 something starting with __ and the normal name is an alias. */
22025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22033 if { (eval echo configure:22034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22035 eval "ac_cv_func_$ac_func=yes"
22037 echo "configure: failed program was:" >&5
22038 cat conftest.$ac_ext >&5
22040 eval "ac_cv_func_$ac_func=no"
22045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22046 echo "$ac_t""yes" 1>&6
22047 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22048 cat >> confdefs.h <<EOF
22049 #define $ac_tr_func 1
22053 echo "$ac_t""no" 1>&6
22062 # This depends on the possibly-skipped linker test above.
22063 # Check whether --enable-symvers or --disable-symvers was given.
22064 if test "${enable_symvers+set}" = set; then
22065 enableval="$enable_symvers"
22066 case "$enableval" in
22067 yes) enable_symvers=yes ;;
22068 no) enable_symvers=no ;;
22069 # other names here, just as sanity checks
22070 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22071 gnu) enable_symvers=$enableval ;;
22072 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22078 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22079 # don't know enough about $LD to do tricks...
22080 if test x$enable_shared = xno ||
22082 test x$glibcpp_gnu_ld_version = x; then
22086 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22087 if test $enable_symvers != no; then
22088 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22089 echo "configure:22090: checking for shared libgcc" >&5
22090 ac_save_CFLAGS="$CFLAGS"
22092 cat > conftest.$ac_ext <<EOF
22093 #line 22094 "configure"
22094 #include "confdefs.h"
22100 if { (eval echo configure:22101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22102 glibcpp_shared_libgcc=yes
22104 echo "configure: failed program was:" >&5
22105 cat conftest.$ac_ext >&5
22107 glibcpp_shared_libgcc=no
22110 CFLAGS="$ac_save_CFLAGS"
22111 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22114 # For GNU ld, we need at least this version. It's 2.12 in the same format
22115 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22116 glibcpp_min_gnu_ld_version=21200
22118 # Check to see if unspecified "yes" value can win, given results
22120 if test $enable_symvers = yes ; then
22121 if test $with_gnu_ld = yes &&
22122 test $glibcpp_shared_libgcc = yes ;
22124 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22127 ac_test_CFLAGS="${CFLAGS+set}"
22128 ac_save_CFLAGS="$CFLAGS"
22129 CFLAGS='-shared -Wl,--version-script,conftest.map'
22132 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22134 cat > conftest.$ac_ext <<EOF
22135 #line 22136 "configure"
22136 #include "confdefs.h"
22142 if { (eval echo configure:22143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22146 echo "configure: failed program was:" >&5
22147 cat conftest.$ac_ext >&5
22150 if test "$ac_test_CFLAGS" = set; then
22151 CFLAGS="$ac_save_CFLAGS"
22153 # this is the suspicious part
22159 # just fail for now
22164 case $enable_symvers in
22166 LINKER_MAP=config/linker-map.dummy
22169 LINKER_MAP=config/linker-map.gnu
22176 if test $enable_symvers != no; then
22177 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22178 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22180 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22181 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22183 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22184 echo "configure:22185: checking versioning on shared library symbols" >&5
22185 echo "$ac_t""$enable_symvers" 1>&6
22188 # Propagate the target-specific source directories through the build chain.
22189 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22190 # CPULIMITSH [might] use it, and they only get used here.)
22191 OS_INC_SRCDIR=config/${os_include_dir}/bits
22192 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}/bits
22193 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}/bits
22198 # Set up cross-compile flags
22201 if test "$CANADIAN" = yes; then
22209 cat > confcache <<\EOF
22210 # This file is a shell script that caches the results of configure
22211 # tests run on this system so they can be shared between configure
22212 # scripts and configure runs. It is not useful on other systems.
22213 # If it contains results you don't want to keep, you may remove or edit it.
22215 # By default, configure uses ./config.cache as the cache file,
22216 # creating it if it does not exist already. You can give configure
22217 # the --cache-file=FILE option to use a different cache file; that is
22218 # what configure does when it calls configure scripts in
22219 # subdirectories, so they share the cache.
22220 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22221 # config.status only pays attention to the cache file if you give it the
22222 # --recheck option to rerun configure.
22225 # The following way of writing the cache mishandles newlines in values,
22226 # but we know of no workaround that is simple, portable, and efficient.
22227 # So, don't put newlines in cache variables' values.
22228 # Ultrix sh set writes to stderr and can't be redirected directly,
22229 # and sets the high bit in the cache file unless we assign to the vars.
22231 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22233 # `set' does not quote correctly, so add quotes (double-quote substitution
22234 # turns \\\\ into \\, and sed turns \\ into \).
22236 -e "s/'/'\\\\''/g" \
22237 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22240 # `set' quotes correctly as required by POSIX, so do not add quotes.
22241 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22244 if cmp -s $cache_file confcache; then
22247 if test -w $cache_file; then
22248 echo "updating cache $cache_file"
22249 cat confcache > $cache_file
22251 echo "not updating unwritable cache $cache_file"
22257 if test "${multilib}" = "yes"; then
22258 multilib_arg="--enable-multilib"
22263 # Needed so that g++ can find the correct include subdir automatically.
22266 # Export all the install information
22268 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22269 # exported correctly in GLIBCPP_CONFIGURE.
22270 glibcpp_toolexecdir=no
22271 glibcpp_toolexeclibdir=no
22272 glibcpp_prefixdir=${prefix}
22274 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22275 echo "configure:22276: checking for interface version number" >&5
22276 libstdcxx_interface=$INTERFACE
22277 echo "$ac_t""$libstdcxx_interface" 1>&6
22279 # Process the option --with-gxx-include-dir=<path to include-files directory>
22280 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22281 echo "configure:22282: checking for --with-gxx-include-dir" >&5
22282 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22283 if test "${with_gxx_include_dir+set}" = set; then
22284 withval="$with_gxx_include_dir"
22285 case "${withval}" in
22287 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22294 gxx_include_dir=${withval}
22301 echo "$ac_t""$gxx_include_dir" 1>&6
22303 # Process the option "--enable-version-specific-runtime-libs"
22304 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22305 echo "configure:22306: checking for --enable-version-specific-runtime-libs" >&5
22306 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22307 if test "${enable_version_specific_runtime_libs+set}" = set; then
22308 enableval="$enable_version_specific_runtime_libs"
22309 case "$enableval" in
22310 yes) version_specific_libs=yes ;;
22311 no) version_specific_libs=no ;;
22312 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22315 version_specific_libs=no
22317 # Option set, now we can test it.
22318 echo "$ac_t""$version_specific_libs" 1>&6
22320 if test $version_specific_libs = yes; then
22321 # Need the gcc compiler version to know where to install libraries
22322 # and header files if --enable-version-specific-runtime-libs option
22324 gcc_version_trigger=${srcdir}/../gcc/version.c
22325 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22326 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22327 if test x"$gxx_include_dir" = x"no"; then
22328 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22330 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22331 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22334 # Default case for install directory for include files.
22335 if test $version_specific_libs = no &&
22336 test $gxx_include_dir = no; then
22337 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22340 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22341 # Install a library built with a cross compiler in tooldir, not libdir.
22342 if test x"$glibcpp_toolexecdir" = x"no"; then
22343 if test -n "$with_cross_host" &&
22344 test x"$with_cross_host" != x"no"; then
22345 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22346 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22348 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22349 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22353 echo $ac_n "checking for install location""... $ac_c" 1>&6
22354 echo "configure:22355: checking for install location" >&5
22355 echo "$ac_t""$gxx_include_dir" 1>&6
22363 # Export all the include and flag information to makefiles.
22365 # Root level of the build directory include sources.
22366 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22368 # Passed down for canadian crosses.
22369 if test x"$CANADIAN" = xyes; then
22370 TOPLEVEL_INCLUDES='-I$(includedir)'
22373 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22375 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22377 if test x"$need_libio" = xyes; then
22378 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22382 # Now, export this to all the little Makefiles....
22389 # Optimization flags that are probably a good idea for thrill-seekers. Just
22390 # uncomment the lines below and make, everything else is ready to go...
22391 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22395 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22399 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22400 grep "enable shared" > /dev/null; then
22401 LIBSUPCXX_PICFLAGS=-prefer-pic
22403 LIBSUPCXX_PICFLAGS=
22407 # Generate the various Makefiles, include files, and scripts.
22408 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22409 # and libsupc++/Makefile.am so that multilib installs will end up
22410 # installed in the correct place. To work around this not being passed
22411 # down from config-ml.in -> top_srcdir/Makefile.am ->
22412 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22414 cat > confcache <<\EOF
22415 # This file is a shell script that caches the results of configure
22416 # tests run on this system so they can be shared between configure
22417 # scripts and configure runs. It is not useful on other systems.
22418 # If it contains results you don't want to keep, you may remove or edit it.
22420 # By default, configure uses ./config.cache as the cache file,
22421 # creating it if it does not exist already. You can give configure
22422 # the --cache-file=FILE option to use a different cache file; that is
22423 # what configure does when it calls configure scripts in
22424 # subdirectories, so they share the cache.
22425 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22426 # config.status only pays attention to the cache file if you give it the
22427 # --recheck option to rerun configure.
22430 # The following way of writing the cache mishandles newlines in values,
22431 # but we know of no workaround that is simple, portable, and efficient.
22432 # So, don't put newlines in cache variables' values.
22433 # Ultrix sh set writes to stderr and can't be redirected directly,
22434 # and sets the high bit in the cache file unless we assign to the vars.
22436 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22438 # `set' does not quote correctly, so add quotes (double-quote substitution
22439 # turns \\\\ into \\, and sed turns \\ into \).
22441 -e "s/'/'\\\\''/g" \
22442 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22445 # `set' quotes correctly as required by POSIX, so do not add quotes.
22446 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22449 if cmp -s $cache_file confcache; then
22452 if test -w $cache_file; then
22453 echo "updating cache $cache_file"
22454 cat confcache > $cache_file
22456 echo "not updating unwritable cache $cache_file"
22461 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22464 # Let make expand exec_prefix.
22465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22467 # Any assignment to VPATH causes Sun make to only execute
22468 # the first set of double-colon rules, so remove it if not needed.
22469 # If there is a colon in the path, we need to keep it.
22470 if test "x$srcdir" = x.; then
22471 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22474 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22476 DEFS=-DHAVE_CONFIG_H
22478 # Without the "./", some shells look in PATH for config.status.
22479 : ${CONFIG_STATUS=./config.status}
22481 echo creating $CONFIG_STATUS
22482 rm -f $CONFIG_STATUS
22483 cat > $CONFIG_STATUS <<EOF
22485 # Generated automatically by configure.
22486 # Run this file to recreate the current configuration.
22487 # This directory was configured as follows,
22488 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22490 # $0 $ac_configure_args
22492 # Compiler output produced by configure, useful for debugging
22493 # configure, is in ./config.log if it exists.
22495 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22498 case "\$ac_option" in
22499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22500 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22501 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22502 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22503 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22505 -help | --help | --hel | --he | --h)
22506 echo "\$ac_cs_usage"; exit 0 ;;
22507 *) echo "\$ac_cs_usage"; exit 1 ;;
22511 ac_given_srcdir=$srcdir
22512 ac_given_INSTALL="$INSTALL"
22514 trap 'rm -fr `echo "Makefile \
22515 include/Makefile src/Makefile \
22516 libmath/Makefile libio/Makefile libsupc++/Makefile \
22517 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22519 cat >> $CONFIG_STATUS <<EOF
22521 # Protect against being on the right side of a sed subst in config.status.
22522 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22523 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22527 s%@CFLAGS@%$CFLAGS%g
22528 s%@CPPFLAGS@%$CPPFLAGS%g
22529 s%@CXXFLAGS@%$CXXFLAGS%g
22530 s%@FFLAGS@%$FFLAGS%g
22532 s%@LDFLAGS@%$LDFLAGS%g
22534 s%@exec_prefix@%$exec_prefix%g
22535 s%@prefix@%$prefix%g
22536 s%@program_transform_name@%$program_transform_name%g
22537 s%@bindir@%$bindir%g
22538 s%@sbindir@%$sbindir%g
22539 s%@libexecdir@%$libexecdir%g
22540 s%@datadir@%$datadir%g
22541 s%@sysconfdir@%$sysconfdir%g
22542 s%@sharedstatedir@%$sharedstatedir%g
22543 s%@localstatedir@%$localstatedir%g
22544 s%@libdir@%$libdir%g
22545 s%@includedir@%$includedir%g
22546 s%@oldincludedir@%$oldincludedir%g
22547 s%@infodir@%$infodir%g
22548 s%@mandir@%$mandir%g
22549 s%@PACKAGE@%$PACKAGE%g
22550 s%@release_VERSION@%$release_VERSION%g
22551 s%@libtool_VERSION@%$libtool_VERSION%g
22553 s%@host_alias@%$host_alias%g
22554 s%@host_cpu@%$host_cpu%g
22555 s%@host_vendor@%$host_vendor%g
22556 s%@host_os@%$host_os%g
22557 s%@target@%$target%g
22558 s%@target_alias@%$target_alias%g
22559 s%@target_cpu@%$target_cpu%g
22560 s%@target_vendor@%$target_vendor%g
22561 s%@target_os@%$target_os%g
22563 s%@build_alias@%$build_alias%g
22564 s%@build_cpu@%$build_cpu%g
22565 s%@build_vendor@%$build_vendor%g
22566 s%@build_os@%$build_os%g
22567 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22568 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22569 s%@INSTALL_DATA@%$INSTALL_DATA%g
22570 s%@VERSION@%$VERSION%g
22571 s%@ACLOCAL@%$ACLOCAL%g
22572 s%@AUTOCONF@%$AUTOCONF%g
22573 s%@AUTOMAKE@%$AUTOMAKE%g
22574 s%@AUTOHEADER@%$AUTOHEADER%g
22575 s%@MAKEINFO@%$MAKEINFO%g
22576 s%@SET_MAKE@%$SET_MAKE%g
22577 s%@toplevel_srcdir@%$toplevel_srcdir%g
22578 s%@glibcpp_builddir@%$glibcpp_builddir%g
22579 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22582 s%@glibcpp_basedir@%$glibcpp_basedir%g
22584 s%@glibcpp_CXX@%$glibcpp_CXX%g
22587 s%@RANLIB@%$RANLIB%g
22588 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22589 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22591 s%@EXEEXT@%$EXEEXT%g
22592 s%@OBJEXT@%$OBJEXT%g
22594 s%@LIBTOOL@%$LIBTOOL%g
22595 s%@CXXCPP@%$CXXCPP%g
22596 s%@enable_shared@%$enable_shared%g
22597 s%@enable_static@%$enable_static%g
22598 s%@ifGNUmake@%$ifGNUmake%g
22599 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22601 s%@CSTDIO_H@%$CSTDIO_H%g
22602 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22603 s%@CCODECVT_C@%$CCODECVT_C%g
22604 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22605 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22606 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22607 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22608 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22609 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22610 s%@libio_la@%$libio_la%g
22611 s%@check_msgfmt@%$check_msgfmt%g
22612 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22613 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22614 s%@glibcpp_localedir@%$glibcpp_localedir%g
22615 s%@USE_NLS@%$USE_NLS%g
22616 s%@CLOCALE_H@%$CLOCALE_H%g
22617 s%@CCODECVT_H@%$CCODECVT_H%g
22618 s%@CMESSAGES_H@%$CMESSAGES_H%g
22619 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
22620 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22621 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22622 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22623 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22624 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22625 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22626 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22627 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22628 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22629 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22630 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22631 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22632 s%@WERROR@%$WERROR%g
22633 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22634 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22635 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22636 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22637 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22638 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22639 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22640 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22641 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22642 s%@gxx_include_dir@%$gxx_include_dir%g
22643 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22644 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22645 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22646 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22647 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22648 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22649 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22650 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22651 s%@WARN_FLAGS@%$WARN_FLAGS%g
22652 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22657 cat >> $CONFIG_STATUS <<\EOF
22659 # Split the substitutions into bite-sized pieces for seds with
22660 # small command number limits, like on Digital OSF/1 and HP-UX.
22661 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22662 ac_file=1 # Number of current file.
22663 ac_beg=1 # First line for current file.
22664 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22667 while $ac_more_lines; do
22668 if test $ac_beg -gt 1; then
22669 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22671 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22673 if test ! -s conftest.s$ac_file; then
22674 ac_more_lines=false
22675 rm -f conftest.s$ac_file
22677 if test -z "$ac_sed_cmds"; then
22678 ac_sed_cmds="sed -f conftest.s$ac_file"
22680 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22682 ac_file=`expr $ac_file + 1`
22684 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22687 if test -z "$ac_sed_cmds"; then
22692 cat >> $CONFIG_STATUS <<EOF
22694 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22695 include/Makefile src/Makefile \
22696 libmath/Makefile libio/Makefile libsupc++/Makefile \
22697 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22699 cat >> $CONFIG_STATUS <<\EOF
22700 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22701 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22703 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22704 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22705 *) ac_file_in="${ac_file}.in" ;;
22708 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22710 # Remove last slash and all that follows it. Not all systems have dirname.
22711 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22712 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22713 # The file is in a subdirectory.
22714 test ! -d "$ac_dir" && mkdir "$ac_dir"
22715 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22716 # A "../" for each directory in $ac_dir_suffix.
22717 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22719 ac_dir_suffix= ac_dots=
22722 case "$ac_given_srcdir" in
22724 if test -z "$ac_dots"; then top_srcdir=.
22725 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22726 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22727 *) # Relative path.
22728 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22729 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22732 case "$ac_given_INSTALL" in
22733 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22734 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22737 echo creating "$ac_file"
22739 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22741 *Makefile*) ac_comsub="1i\\
22742 # $configure_input" ;;
22746 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22748 s%@configure_input@%$configure_input%g
22749 s%@srcdir@%$srcdir%g
22750 s%@top_srcdir@%$top_srcdir%g
22751 s%@INSTALL@%$INSTALL%g
22752 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22756 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22757 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22759 # ac_d sets the value in "#define NAME VALUE" lines.
22760 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22761 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22764 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22765 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22766 ac_uB='\([ ]\)%\1#\2define\3'
22769 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22770 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22771 ac_eB='$%\1#\2define\3'
22775 if test "${CONFIG_HEADERS+set}" != set; then
22777 cat >> $CONFIG_STATUS <<EOF
22778 CONFIG_HEADERS="config.h"
22780 cat >> $CONFIG_STATUS <<\EOF
22782 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22783 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22785 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22786 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22787 *) ac_file_in="${ac_file}.in" ;;
22790 echo creating $ac_file
22792 rm -f conftest.frag conftest.in conftest.out
22793 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22794 cat $ac_file_inputs > conftest.in
22798 # Transform confdefs.h into a sed script conftest.vals that substitutes
22799 # the proper values into config.h.in to produce config.h. And first:
22800 # Protect against being on the right side of a sed subst in config.status.
22801 # Protect against being in an unquoted here document in config.status.
22802 rm -f conftest.vals
22803 cat > conftest.hdr <<\EOF
22806 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22810 sed -n -f conftest.hdr confdefs.h > conftest.vals
22813 # This sed command replaces #undef with comments. This is necessary, for
22814 # example, in the case of _POSIX_SOURCE, which is predefined and required
22815 # on some systems where configure will not decide to define it.
22816 cat >> conftest.vals <<\EOF
22817 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22820 # Break up conftest.vals because some shells have a limit on
22821 # the size of here documents, and old seds have small limits too.
22823 rm -f conftest.tail
22826 ac_lines=`grep -c . conftest.vals`
22827 # grep -c gives empty output for an empty file on some AIX systems.
22828 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22829 # Write a limited-size here document to conftest.frag.
22830 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22831 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22833 sed -f conftest.frag conftest.in > conftest.out
22835 mv conftest.out conftest.in
22836 ' >> $CONFIG_STATUS
22837 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22838 rm -f conftest.vals
22839 mv conftest.tail conftest.vals
22841 rm -f conftest.vals
22843 cat >> $CONFIG_STATUS <<\EOF
22844 rm -f conftest.frag conftest.h
22845 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22846 cat conftest.in >> conftest.h
22848 if cmp -s $ac_file conftest.h 2>/dev/null; then
22849 echo "$ac_file is unchanged"
22852 # Remove last slash and all that follows it. Not all systems have dirname.
22853 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22854 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22855 # The file is in a subdirectory.
22856 test ! -d "$ac_dir" && mkdir "$ac_dir"
22859 mv conftest.h $ac_file
22865 cat >> $CONFIG_STATUS <<EOF
22866 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22867 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"
22870 cat >> $CONFIG_STATUS <<\EOF
22871 srcdir=$ac_given_srcdir
22872 while test -n "$ac_sources"; do
22873 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22874 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22876 echo "linking $srcdir/$ac_source to $ac_dest"
22878 if test ! -r $srcdir/$ac_source; then
22879 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22883 # Make relative symlinks.
22884 # Remove last slash and all that follows it. Not all systems have dirname.
22885 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22886 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22887 # The dest file is in a subdirectory.
22888 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22889 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22890 # A "../" for each directory in $ac_dest_dir_suffix.
22891 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22893 ac_dest_dir_suffix= ac_dots=
22897 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22898 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22901 # Make a symlink if possible; otherwise try a hard link.
22902 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22903 ln $srcdir/$ac_source $ac_dest; then :
22905 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22909 cat >> $CONFIG_STATUS <<EOF
22914 with_multisubdir=${with_multisubdir}
22915 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22916 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22917 glibcpp_basedir=${glibcpp_basedir}
22922 cat >> $CONFIG_STATUS <<\EOF
22923 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22924 if test -n "$CONFIG_FILES"; then
22925 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22926 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22927 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22928 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22931 chmod +x testsuite_flags
22935 chmod +x $CONFIG_STATUS
22936 rm -fr confdefs* $ac_clean_files
22937 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22941 # Sanity checking & User-visible messages.
22942 # Checks down here, otherwise they get scrolled off before
22943 # the user will notice.
22945 # Trying to get more people to read documentation. Possibly remove
22946 # check and warn all the time. There is no "informational" AC_MSG_
22947 # macro, so these are going to be printed even when --quiet/--silent
22949 if test ! -f stamp-sanity-warned; then
22950 touch stamp-sanity-warned
22952 echo "Please make certain that you read the installation information here:"
22953 echo " faster => ${srcdir}/docs/html/install.html"
22954 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22956 echo "and the configuration information here:"
22957 echo " faster => ${srcdir}/docs/html/configopts.html"
22958 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22960 echo "before proceeding with ${_cv_gnu_make_command}."