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,
93 bindir='${exec_prefix}/bin'
94 sbindir='${exec_prefix}/sbin'
95 libexecdir='${exec_prefix}/libexec'
96 datadir='${prefix}/share'
97 sysconfdir='${prefix}/etc'
98 sharedstatedir='${prefix}/com'
99 localstatedir='${prefix}/var'
100 libdir='${exec_prefix}/lib'
101 includedir='${prefix}/include'
102 oldincludedir='/usr/include'
103 infodir='${prefix}/info'
104 mandir='${prefix}/man'
106 # Initialize some other variables.
109 SHELL=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
117 # If the previous option needs an argument, assign it.
118 if test -n "$ac_prev"; then
119 eval "$ac_prev=\$ac_option"
125 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
129 # Accept the important Cygnus configure options, so we can diagnose typos.
133 -bindir | --bindir | --bindi | --bind | --bin | --bi)
135 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
136 bindir="$ac_optarg" ;;
138 -build | --build | --buil | --bui | --bu)
140 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
141 build="$ac_optarg" ;;
143 -cache-file | --cache-file | --cache-fil | --cache-fi \
144 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
145 ac_prev=cache_file ;;
146 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
147 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
148 cache_file="$ac_optarg" ;;
150 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
152 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
154 datadir="$ac_optarg" ;;
156 -disable-* | --disable-*)
157 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
158 # Reject names that are not valid shell variable names.
159 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
160 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
162 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
163 eval "enable_${ac_feature}=no" ;;
165 -enable-* | --enable-*)
166 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
167 # Reject names that are not valid shell variable names.
168 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
169 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
171 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
176 eval "enable_${ac_feature}='$ac_optarg'" ;;
178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
180 | --exec | --exe | --ex)
181 ac_prev=exec_prefix ;;
182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
184 | --exec=* | --exe=* | --ex=*)
185 exec_prefix="$ac_optarg" ;;
187 -gas | --gas | --ga | --g)
188 # Obsolete; use --with-gas.
191 -help | --help | --hel | --he)
192 # Omit some internal or obsolete options to make the list less imposing.
193 # This message is too long to be a string in the A/UX 3.1 sh.
195 Usage: configure [options] [host]
196 Options: [defaults in brackets after descriptions]
198 --cache-file=FILE cache test results in FILE
199 --help print this message
200 --no-create do not create output files
201 --quiet, --silent do not print \`checking...' messages
202 --version print the version of autoconf that created configure
203 Directory and file names:
204 --prefix=PREFIX install architecture-independent files in PREFIX
206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
208 --bindir=DIR user executables in DIR [EPREFIX/bin]
209 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
210 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
211 --datadir=DIR read-only architecture-independent data in DIR
213 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
214 --sharedstatedir=DIR modifiable architecture-independent data in DIR
216 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
217 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
218 --includedir=DIR C header files in DIR [PREFIX/include]
219 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
220 --infodir=DIR info documentation in DIR [PREFIX/info]
221 --mandir=DIR man documentation in DIR [PREFIX/man]
222 --srcdir=DIR find the sources in DIR [configure dir or ..]
223 --program-prefix=PREFIX prepend PREFIX to installed program names
224 --program-suffix=SUFFIX append SUFFIX to installed program names
225 --program-transform-name=PROGRAM
226 run sed PROGRAM on installed program names
230 --build=BUILD configure for building on BUILD [BUILD=HOST]
231 --host=HOST configure for HOST [guessed]
232 --target=TARGET configure for TARGET [TARGET=HOST]
233 Features and packages:
234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
236 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
237 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
238 --x-includes=DIR X include files are in DIR
239 --x-libraries=DIR X library files are in DIR
241 if test -n "$ac_help"; then
242 echo "--enable and --with options recognized:$ac_help"
246 -host | --host | --hos | --ho)
248 -host=* | --host=* | --hos=* | --ho=*)
251 -includedir | --includedir | --includedi | --included | --include \
252 | --includ | --inclu | --incl | --inc)
253 ac_prev=includedir ;;
254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
255 | --includ=* | --inclu=* | --incl=* | --inc=*)
256 includedir="$ac_optarg" ;;
258 -infodir | --infodir | --infodi | --infod | --info | --inf)
260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
261 infodir="$ac_optarg" ;;
263 -libdir | --libdir | --libdi | --libd)
265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
266 libdir="$ac_optarg" ;;
268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
269 | --libexe | --libex | --libe)
270 ac_prev=libexecdir ;;
271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
272 | --libexe=* | --libex=* | --libe=*)
273 libexecdir="$ac_optarg" ;;
275 -localstatedir | --localstatedir | --localstatedi | --localstated \
276 | --localstate | --localstat | --localsta | --localst \
277 | --locals | --local | --loca | --loc | --lo)
278 ac_prev=localstatedir ;;
279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
280 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
281 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
282 localstatedir="$ac_optarg" ;;
284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
287 mandir="$ac_optarg" ;;
290 # Obsolete; use --without-fp.
293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
303 | --oldin | --oldi | --old | --ol | --o)
304 ac_prev=oldincludedir ;;
305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
308 oldincludedir="$ac_optarg" ;;
310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
313 prefix="$ac_optarg" ;;
315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
316 | --program-pre | --program-pr | --program-p)
317 ac_prev=program_prefix ;;
318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
320 program_prefix="$ac_optarg" ;;
322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
323 | --program-suf | --program-su | --program-s)
324 ac_prev=program_suffix ;;
325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
327 program_suffix="$ac_optarg" ;;
329 -program-transform-name | --program-transform-name \
330 | --program-transform-nam | --program-transform-na \
331 | --program-transform-n | --program-transform- \
332 | --program-transform | --program-transfor \
333 | --program-transfo | --program-transf \
334 | --program-trans | --program-tran \
335 | --progr-tra | --program-tr | --program-t)
336 ac_prev=program_transform_name ;;
337 -program-transform-name=* | --program-transform-name=* \
338 | --program-transform-nam=* | --program-transform-na=* \
339 | --program-transform-n=* | --program-transform-=* \
340 | --program-transform=* | --program-transfor=* \
341 | --program-transfo=* | --program-transf=* \
342 | --program-trans=* | --program-tran=* \
343 | --progr-tra=* | --program-tr=* | --program-t=*)
344 program_transform_name="$ac_optarg" ;;
346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
347 | -silent | --silent | --silen | --sile | --sil)
350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
354 sbindir="$ac_optarg" ;;
356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
358 | --sharedst | --shareds | --shared | --share | --shar \
360 ac_prev=sharedstatedir ;;
361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
365 sharedstatedir="$ac_optarg" ;;
367 -site | --site | --sit)
369 -site=* | --site=* | --sit=*)
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
375 srcdir="$ac_optarg" ;;
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir="$ac_optarg" ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target="$ac_optarg" ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers)
393 echo "configure generated by autoconf version 2.13"
397 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
400 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
402 ac_package=`echo $ac_package| sed 's/-/_/g'`
407 eval "with_${ac_package}='$ac_optarg'" ;;
409 -without-* | --without-*)
410 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
411 # Reject names that are not valid shell variable names.
412 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
413 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
415 ac_package=`echo $ac_package| sed 's/-/_/g'`
416 eval "with_${ac_package}=no" ;;
419 # Obsolete; use --with-x.
422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
423 | --x-incl | --x-inc | --x-in | --x-i)
424 ac_prev=x_includes ;;
425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
427 x_includes="$ac_optarg" ;;
429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
431 ac_prev=x_libraries ;;
432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
434 x_libraries="$ac_optarg" ;;
436 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
440 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
441 echo "configure: warning: $ac_option: invalid host type" 1>&2
443 if test "x$nonopt" != xNONE; then
444 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
452 if test -n "$ac_prev"; then
453 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
456 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
458 # File descriptor usage:
461 # 2 errors and warnings
462 # 3 some systems may open it to /dev/tty
463 # 4 used on the Kubota Titan
464 # 6 checking for... messages and results
465 # 5 compiler messages saved in config.log
466 if test "$silent" = yes; then
474 This file contains any messages produced by compilers while
475 running configure, to aid debugging if configure makes a mistake.
478 # Strip out --no-create and --no-recursion so they do not pile up.
479 # Also quote any args containing shell metacharacters.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c) ;;
486 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
487 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
488 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
489 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
490 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
495 # Only set these to C if already set. These must not be set unconditionally
496 # because not all systems understand e.g. LANG=C (notably SCO).
497 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
498 # Non-C LC_CTYPE values break the ctype check.
499 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
500 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
501 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
502 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
505 rm -rf conftest* confdefs.h
506 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
509 # A filename unique to this package, relative to the directory that
510 # configure is in, which we can look for to find out if srcdir is correct.
511 ac_unique_file=src/ios.cc
513 # Find the source files, if location was not specified.
514 if test -z "$srcdir"; then
515 ac_srcdir_defaulted=yes
516 # Try the directory containing this script, then its parent.
518 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
519 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
521 if test ! -r $srcdir/$ac_unique_file; then
525 ac_srcdir_defaulted=no
527 if test ! -r $srcdir/$ac_unique_file; then
528 if test "$ac_srcdir_defaulted" = yes; then
529 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
531 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
534 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
536 # Prefer explicitly selected file to automatically selected ones.
537 if test -z "$CONFIG_SITE"; then
538 if test "x$prefix" != xNONE; then
539 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
541 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
544 for ac_site_file in $CONFIG_SITE; do
545 if test -r "$ac_site_file"; then
546 echo "loading site script $ac_site_file"
551 if test -r "$cache_file"; then
552 echo "loading cache $cache_file"
555 echo "creating cache $cache_file"
560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
561 ac_cpp='$CPP $CPPFLAGS'
562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
564 cross_compiling=$ac_cv_prog_cc_cross
568 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
569 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
570 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
577 ac_n= ac_c='\c' ac_t=
582 # This works around the fact that libtool configuration may change LD
583 # for this particular configuration, but some shells, instead of
584 # keeping the changes in LD private, export them just because LD is
585 # exported. Only used at the end of this file.
586 ORIGINAL_LD_FOR_MULTILIBS=$LD
590 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
591 release_VERSION=3.1.1
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION=4:1:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel="${with_multisrctop}../.."
622 toprel="${with_multisrctop}.."
629 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh; then
632 ac_install_sh="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh; then
636 ac_install_sh="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking host system type""... $ac_c" 1>&6
694 echo "configure:695: checking host system type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system type""... $ac_c" 1>&6
715 echo "configure:716: checking target system type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system type""... $ac_c" 1>&6
733 echo "configure:734: checking build system type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Find a good install program. We prefer a C program (faster),
759 # so one script is as good as another. But avoid the broken or
760 # incompatible versions:
761 # SysV /etc/install, /usr/sbin/install
762 # SunOS /usr/etc/install
765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
768 # ./install, which can be erroneously created by make from ./install.sh.
769 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
770 echo "configure:771: checking for a BSD compatible install" >&5
771 if test -z "$INSTALL"; then
772 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
773 echo $ac_n "(cached) $ac_c" 1>&6
775 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
776 for ac_dir in $PATH; do
777 # Account for people who put trailing slashes in PATH elements.
779 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
781 # OSF1 and SCO ODT 3.0 have their own names for install.
782 # Don't use installbsd from OSF since it installs stuff as root
784 for ac_prog in ginstall scoinst install; do
785 if test -f $ac_dir/$ac_prog; then
786 if test $ac_prog = install &&
787 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
788 # AIX install. It has an incompatible calling convention.
791 ac_cv_path_install="$ac_dir/$ac_prog -c"
802 if test "${ac_cv_path_install+set}" = set; then
803 INSTALL="$ac_cv_path_install"
805 # As a last resort, use the slow shell script. We don't cache a
806 # path for INSTALL within a source directory, because that will
807 # break other packages using the cache if that directory is
808 # removed, or if the path is relative.
809 INSTALL="$ac_install_sh"
812 echo "$ac_t""$INSTALL" 1>&6
814 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
815 # It thinks the first close brace ends the variable substitution.
816 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
818 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
820 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
822 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
823 echo "configure:824: checking whether build environment is sane" >&5
826 echo timestamp > conftestfile
827 # Do `set' in a subshell so we don't clobber the current shell's
828 # arguments. Must try -L first in case configure is actually a
829 # symlink; some systems play weird games with the mod time of symlinks
830 # (eg FreeBSD returns the mod time of the symlink's containing
833 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
834 if test "$*" = "X"; then
836 set X `ls -t $srcdir/configure conftestfile`
838 if test "$*" != "X $srcdir/configure conftestfile" \
839 && test "$*" != "X conftestfile $srcdir/configure"; then
841 # If neither matched, then we have a broken ls. This can happen
842 # if, for instance, CONFIG_SHELL is bash and it inherits a
843 # broken ls alias from the environment. This has actually
844 # happened. Such a system could not be considered "sane".
845 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
846 alias in your environment" 1>&2; exit 1; }
849 test "$2" = conftestfile
855 { echo "configure: error: newly created file is older than distributed files!
856 Check your system clock" 1>&2; exit 1; }
859 echo "$ac_t""yes" 1>&6
860 if test "$program_transform_name" = s,x,x,; then
861 program_transform_name=
863 # Double any \ or $. echo might interpret backslashes.
864 cat <<\EOF_SED > conftestsed
865 s,\\,\\\\,g; s,\$,$$,g
867 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
870 test "$program_prefix" != NONE &&
871 program_transform_name="s,^,${program_prefix},; $program_transform_name"
872 # Use a double $ so make ignores it.
873 test "$program_suffix" != NONE &&
874 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
876 # sed with no file args requires a program.
877 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
879 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
880 echo "configure:881: checking whether ${MAKE-make} sets \${MAKE}" >&5
881 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
882 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
883 echo $ac_n "(cached) $ac_c" 1>&6
885 cat > conftestmake <<\EOF
887 @echo 'ac_maketemp="${MAKE}"'
889 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
890 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
891 if test -n "$ac_maketemp"; then
892 eval ac_cv_prog_make_${ac_make}_set=yes
894 eval ac_cv_prog_make_${ac_make}_set=no
898 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
899 echo "$ac_t""yes" 1>&6
902 echo "$ac_t""no" 1>&6
903 SET_MAKE="MAKE=${MAKE-make}"
909 VERSION=$release_VERSION
911 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
912 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
914 cat >> confdefs.h <<EOF
915 #define PACKAGE "$PACKAGE"
918 cat >> confdefs.h <<EOF
919 #define VERSION "$VERSION"
924 missing_dir=`cd $ac_aux_dir && pwd`
925 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
926 echo "configure:927: checking for working aclocal" >&5
927 # Run test in a subshell; some versions of sh will print an error if
928 # an executable is not found, even if stderr is redirected.
929 # Redirect stdin to placate older versions of autoconf. Sigh.
930 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
932 echo "$ac_t""found" 1>&6
934 ACLOCAL="$missing_dir/missing aclocal"
935 echo "$ac_t""missing" 1>&6
938 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
939 echo "configure:940: checking for working autoconf" >&5
940 # Run test in a subshell; some versions of sh will print an error if
941 # an executable is not found, even if stderr is redirected.
942 # Redirect stdin to placate older versions of autoconf. Sigh.
943 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
945 echo "$ac_t""found" 1>&6
947 AUTOCONF="$missing_dir/missing autoconf"
948 echo "$ac_t""missing" 1>&6
951 echo $ac_n "checking for working automake""... $ac_c" 1>&6
952 echo "configure:953: checking for working automake" >&5
953 # Run test in a subshell; some versions of sh will print an error if
954 # an executable is not found, even if stderr is redirected.
955 # Redirect stdin to placate older versions of autoconf. Sigh.
956 if (automake --version) < /dev/null > /dev/null 2>&1; then
958 echo "$ac_t""found" 1>&6
960 AUTOMAKE="$missing_dir/missing automake"
961 echo "$ac_t""missing" 1>&6
964 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
965 echo "configure:966: checking for working autoheader" >&5
966 # Run test in a subshell; some versions of sh will print an error if
967 # an executable is not found, even if stderr is redirected.
968 # Redirect stdin to placate older versions of autoconf. Sigh.
969 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
970 AUTOHEADER=autoheader
971 echo "$ac_t""found" 1>&6
973 AUTOHEADER="$missing_dir/missing autoheader"
974 echo "$ac_t""missing" 1>&6
977 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
978 echo "configure:979: checking for working makeinfo" >&5
979 # Run test in a subshell; some versions of sh will print an error if
980 # an executable is not found, even if stderr is redirected.
981 # Redirect stdin to placate older versions of autoconf. Sigh.
982 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
984 echo "$ac_t""found" 1>&6
986 MAKEINFO="$missing_dir/missing makeinfo"
987 echo "$ac_t""missing" 1>&6
995 # Runs configure.target, finds CC, CXX and assorted other critical bits.
996 # Must run this before the GLIBCPP_ENABLE_* macros below.
997 if test $host != $build; then
998 ac_tool_prefix=${host_alias}-
1003 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1004 echo "configure:1005: checking for Cygwin environment" >&5
1005 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1006 echo $ac_n "(cached) $ac_c" 1>&6
1008 cat > conftest.$ac_ext <<EOF
1009 #line 1010 "configure"
1010 #include "confdefs.h"
1015 #define __CYGWIN__ __CYGWIN32__
1020 if { (eval echo configure:1021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1024 echo "configure: failed program was:" >&5
1025 cat conftest.$ac_ext >&5
1033 echo "$ac_t""$ac_cv_cygwin" 1>&6
1035 test "$ac_cv_cygwin" = yes && CYGWIN=yes
1036 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1037 echo "configure:1038: checking for mingw32 environment" >&5
1038 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1039 echo $ac_n "(cached) $ac_c" 1>&6
1041 cat > conftest.$ac_ext <<EOF
1042 #line 1043 "configure"
1043 #include "confdefs.h"
1049 if { (eval echo configure:1050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1053 echo "configure: failed program was:" >&5
1054 cat conftest.$ac_ext >&5
1062 echo "$ac_t""$ac_cv_mingw32" 1>&6
1064 test "$ac_cv_mingw32" = yes && MINGW32=yes
1067 #possibly test for the presence of the compiler sources here?
1069 # Export build and source directories.
1070 # These need to be absolute paths, yet at the same time need to
1071 # canonicalize only relative paths, because then amd will not unmount
1072 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1073 glibcpp_builddir=`${PWDCMD-pwd}`
1075 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1076 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1083 for ac_prog in gawk mawk nawk awk
1085 # Extract the first word of "$ac_prog", so it can be a program name with args.
1086 set dummy $ac_prog; ac_word=$2
1087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1088 echo "configure:1089: checking for $ac_word" >&5
1089 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1090 echo $ac_n "(cached) $ac_c" 1>&6
1092 if test -n "$AWK"; then
1093 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1095 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1097 for ac_dir in $ac_dummy; do
1098 test -z "$ac_dir" && ac_dir=.
1099 if test -f $ac_dir/$ac_word; then
1100 ac_cv_prog_AWK="$ac_prog"
1107 AWK="$ac_cv_prog_AWK"
1108 if test -n "$AWK"; then
1109 echo "$ac_t""$AWK" 1>&6
1111 echo "$ac_t""no" 1>&6
1114 test -n "$AWK" && break
1117 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
1118 # be 'cp -p' if linking isn't available. Uncomment the next line to
1119 # force a particular method.
1120 #ac_cv_prog_LN_S='cp -p'
1121 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1122 echo "configure:1123: checking whether ln -s works" >&5
1123 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1124 echo $ac_n "(cached) $ac_c" 1>&6
1127 if ln -s X conftestdata 2>/dev/null
1130 ac_cv_prog_LN_S="ln -s"
1135 LN_S="$ac_cv_prog_LN_S"
1136 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1137 echo "$ac_t""yes" 1>&6
1139 echo "$ac_t""no" 1>&6
1143 # We use these options to decide which functions to include.
1144 # Check whether --with-target-subdir or --without-target-subdir was given.
1145 if test "${with_target_subdir+set}" = set; then
1146 withval="$with_target_subdir"
1150 # Check whether --with-cross-host or --without-cross-host was given.
1151 if test "${with_cross_host+set}" = set; then
1152 withval="$with_cross_host"
1157 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1160 # Never versions of autoconf add an underscore to these functions.
1161 # Prevent future problems ...
1168 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1169 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1170 # are probably using a cross compiler, which will not be able to fully
1171 # link an executable. This is addressed in later versions of autoconf.
1176 # Extract the first word of "gcc", so it can be a program name with args.
1177 set dummy gcc; ac_word=$2
1178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1179 echo "configure:1180: checking for $ac_word" >&5
1180 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1181 echo $ac_n "(cached) $ac_c" 1>&6
1183 if test -n "$CC"; then
1184 ac_cv_prog_CC="$CC" # Let the user override the test.
1186 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1188 for ac_dir in $ac_dummy; do
1189 test -z "$ac_dir" && ac_dir=.
1190 if test -f $ac_dir/$ac_word; then
1199 if test -n "$CC"; then
1200 echo "$ac_t""$CC" 1>&6
1202 echo "$ac_t""no" 1>&6
1205 if test -z "$CC"; then
1206 # Extract the first word of "cc", so it can be a program name with args.
1207 set dummy cc; ac_word=$2
1208 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1209 echo "configure:1210: checking for $ac_word" >&5
1210 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1211 echo $ac_n "(cached) $ac_c" 1>&6
1213 if test -n "$CC"; then
1214 ac_cv_prog_CC="$CC" # Let the user override the test.
1216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1219 for ac_dir in $ac_dummy; do
1220 test -z "$ac_dir" && ac_dir=.
1221 if test -f $ac_dir/$ac_word; then
1222 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1223 ac_prog_rejected=yes
1231 if test $ac_prog_rejected = yes; then
1232 # We found a bogon in the path, so make sure we never use it.
1233 set dummy $ac_cv_prog_CC
1235 if test $# -gt 0; then
1236 # We chose a different compiler from the bogus one.
1237 # However, it has the same basename, so the bogon will be chosen
1238 # first if we set CC to just the basename; use the full file name.
1240 set dummy "$ac_dir/$ac_word" "$@"
1248 if test -n "$CC"; then
1249 echo "$ac_t""$CC" 1>&6
1251 echo "$ac_t""no" 1>&6
1254 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1257 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1258 echo "configure:1259: checking whether we are using GNU C" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 cat > conftest.c <<EOF
1267 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1274 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1276 if test $ac_cv_prog_gcc = yes; then
1278 ac_test_CFLAGS="${CFLAGS+set}"
1279 ac_save_CFLAGS="$CFLAGS"
1281 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1282 echo "configure:1283: checking whether ${CC-cc} accepts -g" >&5
1283 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1284 echo $ac_n "(cached) $ac_c" 1>&6
1286 echo 'void f(){}' > conftest.c
1287 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1296 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1297 if test "$ac_test_CFLAGS" = set; then
1298 CFLAGS="$ac_save_CFLAGS"
1299 elif test $ac_cv_prog_cc_g = yes; then
1306 test "${CFLAGS+set}" = set || CFLAGS="-g"
1310 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1311 # will try to link in libstdc++.
1315 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1316 # flags that come in CXX while configuring libstdc++. They're different
1317 # from those used for all other target libraries. If CXX is set in
1318 # the environment, respect that here.
1320 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1322 # Extract the first word of "$ac_prog", so it can be a program name with args.
1323 set dummy $ac_prog; ac_word=$2
1324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1325 echo "configure:1326: checking for $ac_word" >&5
1326 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1327 echo $ac_n "(cached) $ac_c" 1>&6
1329 if test -n "$glibcpp_CXX"; then
1330 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1334 for ac_dir in $ac_dummy; do
1335 test -z "$ac_dir" && ac_dir=.
1336 if test -f $ac_dir/$ac_word; then
1337 ac_cv_prog_glibcpp_CXX="$ac_prog"
1344 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1345 if test -n "$glibcpp_CXX"; then
1346 echo "$ac_t""$glibcpp_CXX" 1>&6
1348 echo "$ac_t""no" 1>&6
1351 test -n "$glibcpp_CXX" && break
1353 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1357 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1359 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1360 echo "configure:1361: checking whether we are using GNU C++" >&5
1361 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1362 echo $ac_n "(cached) $ac_c" 1>&6
1364 cat > conftest.C <<EOF
1369 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1376 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1378 if test $ac_cv_prog_gxx = yes; then
1380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1381 ac_save_CXXFLAGS="$CXXFLAGS"
1383 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1384 echo "configure:1385: checking whether ${CXX-g++} accepts -g" >&5
1385 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1386 echo $ac_n "(cached) $ac_c" 1>&6
1388 echo 'void f(){}' > conftest.cc
1389 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1390 ac_cv_prog_cxx_g=yes
1398 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1399 if test "$ac_test_CXXFLAGS" = set; then
1400 CXXFLAGS="$ac_save_CXXFLAGS"
1401 elif test $ac_cv_prog_cxx_g = yes; then
1408 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1412 # For some reason, gettext needs this.
1414 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1415 echo "configure:1416: checking for strerror in -lcposix" >&5
1416 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1418 echo $ac_n "(cached) $ac_c" 1>&6
1420 ac_save_LIBS="$LIBS"
1421 LIBS="-lcposix $LIBS"
1422 cat > conftest.$ac_ext <<EOF
1423 #line 1424 "configure"
1424 #include "confdefs.h"
1425 /* Override any gcc2 internal prototype to avoid an error. */
1426 /* We use char because int might match the return type of a gcc2
1427 builtin and then its argument prototype would still apply. */
1434 if { (eval echo configure:1435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1436 eval "ac_cv_lib_$ac_lib_var=yes"
1438 echo "configure: failed program was:" >&5
1439 cat conftest.$ac_ext >&5
1441 eval "ac_cv_lib_$ac_lib_var=no"
1444 LIBS="$ac_save_LIBS"
1447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1448 echo "$ac_t""yes" 1>&6
1449 LIBS="$LIBS -lcposix"
1451 echo "$ac_t""no" 1>&6
1457 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1458 set dummy ${ac_tool_prefix}as; ac_word=$2
1459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1460 echo "configure:1461: checking for $ac_word" >&5
1461 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1462 echo $ac_n "(cached) $ac_c" 1>&6
1464 if test -n "$AS"; then
1465 ac_cv_prog_AS="$AS" # Let the user override the test.
1467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1469 for ac_dir in $ac_dummy; do
1470 test -z "$ac_dir" && ac_dir=.
1471 if test -f $ac_dir/$ac_word; then
1472 ac_cv_prog_AS="${ac_tool_prefix}as"
1477 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1481 if test -n "$AS"; then
1482 echo "$ac_t""$AS" 1>&6
1484 echo "$ac_t""no" 1>&6
1489 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1490 set dummy ${ac_tool_prefix}ar; ac_word=$2
1491 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1492 echo "configure:1493: checking for $ac_word" >&5
1493 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1494 echo $ac_n "(cached) $ac_c" 1>&6
1496 if test -n "$AR"; then
1497 ac_cv_prog_AR="$AR" # Let the user override the test.
1499 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1501 for ac_dir in $ac_dummy; do
1502 test -z "$ac_dir" && ac_dir=.
1503 if test -f $ac_dir/$ac_word; then
1504 ac_cv_prog_AR="${ac_tool_prefix}ar"
1509 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1513 if test -n "$AR"; then
1514 echo "$ac_t""$AR" 1>&6
1516 echo "$ac_t""no" 1>&6
1521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1523 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1524 echo "configure:1525: checking for $ac_word" >&5
1525 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1526 echo $ac_n "(cached) $ac_c" 1>&6
1528 if test -n "$RANLIB"; then
1529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1531 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1533 for ac_dir in $ac_dummy; do
1534 test -z "$ac_dir" && ac_dir=.
1535 if test -f $ac_dir/$ac_word; then
1536 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1543 RANLIB="$ac_cv_prog_RANLIB"
1544 if test -n "$RANLIB"; then
1545 echo "$ac_t""$RANLIB" 1>&6
1547 echo "$ac_t""no" 1>&6
1551 if test -z "$ac_cv_prog_RANLIB"; then
1552 if test -n "$ac_tool_prefix"; then
1553 # Extract the first word of "ranlib", so it can be a program name with args.
1554 set dummy ranlib; ac_word=$2
1555 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1556 echo "configure:1557: checking for $ac_word" >&5
1557 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1558 echo $ac_n "(cached) $ac_c" 1>&6
1560 if test -n "$RANLIB"; then
1561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1563 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1565 for ac_dir in $ac_dummy; do
1566 test -z "$ac_dir" && ac_dir=.
1567 if test -f $ac_dir/$ac_word; then
1568 ac_cv_prog_RANLIB="ranlib"
1573 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1576 RANLIB="$ac_cv_prog_RANLIB"
1577 if test -n "$RANLIB"; then
1578 echo "$ac_t""$RANLIB" 1>&6
1580 echo "$ac_t""no" 1>&6
1584 RANLIB="ranlib-not-found-in-path-error"
1588 # Find a good install program. We prefer a C program (faster),
1589 # so one script is as good as another. But avoid the broken or
1590 # incompatible versions:
1591 # SysV /etc/install, /usr/sbin/install
1592 # SunOS /usr/etc/install
1593 # IRIX /sbin/install
1595 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1596 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1597 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1598 # ./install, which can be erroneously created by make from ./install.sh.
1599 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1600 echo "configure:1601: checking for a BSD compatible install" >&5
1601 if test -z "$INSTALL"; then
1602 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1603 echo $ac_n "(cached) $ac_c" 1>&6
1605 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1606 for ac_dir in $PATH; do
1607 # Account for people who put trailing slashes in PATH elements.
1609 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1611 # OSF1 and SCO ODT 3.0 have their own names for install.
1612 # Don't use installbsd from OSF since it installs stuff as root
1614 for ac_prog in ginstall scoinst install; do
1615 if test -f $ac_dir/$ac_prog; then
1616 if test $ac_prog = install &&
1617 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1621 ac_cv_path_install="$ac_dir/$ac_prog -c"
1632 if test "${ac_cv_path_install+set}" = set; then
1633 INSTALL="$ac_cv_path_install"
1635 # As a last resort, use the slow shell script. We don't cache a
1636 # path for INSTALL within a source directory, because that will
1637 # break other packages using the cache if that directory is
1638 # removed, or if the path is relative.
1639 INSTALL="$ac_install_sh"
1642 echo "$ac_t""$INSTALL" 1>&6
1644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1645 # It thinks the first close brace ends the variable substitution.
1646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1653 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1654 echo "configure:1655: checking whether to enable maintainer-specific portions of Makefiles" >&5
1655 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1656 if test "${enable_maintainer_mode+set}" = set; then
1657 enableval="$enable_maintainer_mode"
1658 USE_MAINTAINER_MODE=$enableval
1660 USE_MAINTAINER_MODE=no
1663 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1666 if test $USE_MAINTAINER_MODE = yes; then
1667 MAINTAINER_MODE_TRUE=
1668 MAINTAINER_MODE_FALSE='#'
1670 MAINTAINER_MODE_TRUE='#'
1671 MAINTAINER_MODE_FALSE=
1673 MAINT=$MAINTAINER_MODE_TRUE
1677 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1678 # at least currently, we never actually build a program, so we never
1679 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1680 # fails, because we are probably configuring with a cross compiler
1681 # which can't create executables. So we include AC_EXEEXT to keep
1682 # automake happy, but we don't execute it, since we don't care about
1685 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1686 # to nothing, so nothing would remain between `then' and `fi' if it
1687 # were not for the `:' below.
1691 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1692 echo "configure:1693: checking for executable suffix" >&5
1693 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1694 echo $ac_n "(cached) $ac_c" 1>&6
1696 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1700 echo 'int main () { return 0; }' > conftest.$ac_ext
1702 if { (eval echo configure:1703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1703 for file in conftest.*; do
1705 *.c | *.o | *.obj) ;;
1706 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1710 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1713 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1718 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1719 echo "$ac_t""${ac_cv_exeext}" 1>&6
1724 case ${glibcpp_basedir} in
1725 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1726 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1729 # Find platform-specific directories containing configuration info. In
1730 # addition to possibly modifying the same flags, it also sets up symlinks.
1732 . ${glibcpp_basedir}/configure.target
1733 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1734 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1740 # Check whether --enable-shared or --disable-shared was given.
1741 if test "${enable_shared+set}" = set; then
1742 enableval="$enable_shared"
1743 p=${PACKAGE-default}
1745 yes) enable_shared=yes ;;
1746 no) enable_shared=no ;;
1749 # Look at the argument we got. We use all the common list separators.
1750 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1751 for pkg in $enableval; do
1752 if test "X$pkg" = "X$p"; then
1763 # Check whether --enable-static or --disable-static was given.
1764 if test "${enable_static+set}" = set; then
1765 enableval="$enable_static"
1766 p=${PACKAGE-default}
1768 yes) enable_static=yes ;;
1769 no) enable_static=no ;;
1772 # Look at the argument we got. We use all the common list separators.
1773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1774 for pkg in $enableval; do
1775 if test "X$pkg" = "X$p"; then
1786 # Check whether --enable-fast-install or --disable-fast-install was given.
1787 if test "${enable_fast_install+set}" = set; then
1788 enableval="$enable_fast_install"
1789 p=${PACKAGE-default}
1791 yes) enable_fast_install=yes ;;
1792 no) enable_fast_install=no ;;
1794 enable_fast_install=no
1795 # Look at the argument we got. We use all the common list separators.
1796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1797 for pkg in $enableval; do
1798 if test "X$pkg" = "X$p"; then
1799 enable_fast_install=yes
1806 enable_fast_install=yes
1809 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1810 if test "${with_gnu_ld+set}" = set; then
1811 withval="$with_gnu_ld"
1812 test "$withval" = no || with_gnu_ld=yes
1818 if test "$GCC" = yes; then
1819 # Check if gcc -print-prog-name=ld gives a path.
1820 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1821 echo "configure:1822: checking for ld used by GCC" >&5
1824 # gcc leaves a trailing carriage return which upsets mingw
1825 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1827 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1830 # Accept absolute paths.
1831 [\\/]* | [A-Za-z]:[\\/]*)
1832 re_direlt='/[^/][^/]*/\.\./'
1833 # Canonicalize the path of ld
1834 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1835 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1836 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1838 test -z "$LD" && LD="$ac_prog"
1841 # If it fails, then pretend we aren't using GCC.
1845 # If it is relative, then search for the first ld in PATH.
1849 elif test "$with_gnu_ld" = yes; then
1850 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1851 echo "configure:1852: checking for GNU ld" >&5
1853 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1854 echo "configure:1855: checking for non-GNU ld" >&5
1856 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1857 echo $ac_n "(cached) $ac_c" 1>&6
1859 if test -z "$LD"; then
1860 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1861 for ac_dir in $PATH; do
1862 test -z "$ac_dir" && ac_dir=.
1863 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1864 lt_cv_path_LD="$ac_dir/$ac_prog"
1865 # Check to see if the program is GNU ld. I'd rather use --version,
1866 # but apparently some GNU ld's only accept -v.
1867 # Break only if it was the GNU/non-GNU ld that we prefer.
1868 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1869 test "$with_gnu_ld" != no && break
1871 test "$with_gnu_ld" != yes && break
1877 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1882 if test -n "$LD"; then
1883 echo "$ac_t""$LD" 1>&6
1885 echo "$ac_t""no" 1>&6
1887 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1888 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1889 echo "configure:1890: checking if the linker ($LD) is GNU ld" >&5
1890 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1891 echo $ac_n "(cached) $ac_c" 1>&6
1893 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1894 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1895 lt_cv_prog_gnu_ld=yes
1897 lt_cv_prog_gnu_ld=no
1901 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1902 with_gnu_ld=$lt_cv_prog_gnu_ld
1905 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1906 echo "configure:1907: checking for $LD option to reload object files" >&5
1907 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1908 echo $ac_n "(cached) $ac_c" 1>&6
1910 lt_cv_ld_reload_flag='-r'
1913 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1914 reload_flag=$lt_cv_ld_reload_flag
1915 test -n "$reload_flag" && reload_flag=" $reload_flag"
1917 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1918 echo "configure:1919: checking for BSD-compatible nm" >&5
1919 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1920 echo $ac_n "(cached) $ac_c" 1>&6
1922 if test -n "$NM"; then
1923 # Let the user override the test.
1926 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1927 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1928 test -z "$ac_dir" && ac_dir=.
1929 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1930 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1931 # Check to see if the nm accepts a BSD-compat flag.
1932 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1933 # nm: unknown option "B" ignored
1934 # Tru64's nm complains that /dev/null is an invalid object file
1935 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1936 lt_cv_path_NM="$tmp_nm -B"
1938 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1939 lt_cv_path_NM="$tmp_nm -p"
1942 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1943 continue # so that we can try to find one that supports BSD flags
1948 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1953 echo "$ac_t""$NM" 1>&6
1955 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1956 echo "configure:1957: checking how to recognise dependant libraries" >&5
1957 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1958 echo $ac_n "(cached) $ac_c" 1>&6
1960 lt_cv_file_magic_cmd='$MAGIC_CMD'
1961 lt_cv_file_magic_test_file=
1962 lt_cv_deplibs_check_method='unknown'
1963 # Need to set the preceding variable on all platforms that support
1964 # interlibrary dependencies.
1965 # 'none' -- dependencies not supported.
1966 # `unknown' -- same as none, but documents that we really don't know.
1967 # 'pass_all' -- all dependencies passed with no checks.
1968 # 'test_compile' -- check by making test program.
1969 # 'file_magic [regex]' -- check by looking for files in library path
1970 # which responds to the $file_magic_cmd with a given egrep regex.
1971 # If you have `file' or equivalent on your system and you're not sure
1972 # whether `pass_all' will *always* work, you probably want this one.
1976 lt_cv_deplibs_check_method=pass_all
1980 lt_cv_deplibs_check_method=pass_all
1984 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1985 lt_cv_file_magic_cmd='/usr/bin/file -L'
1986 lt_cv_file_magic_test_file=/shlib/libc.so
1989 cygwin* | mingw* |pw32*)
1990 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1991 lt_cv_file_magic_cmd='$OBJDUMP -f'
1994 darwin* | rhapsody*)
1995 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1996 lt_cv_file_magic_cmd='/usr/bin/file -L'
1998 rhapsody* | darwin1.012)
1999 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2002 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2008 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2011 # Not sure whether the presence of OpenBSD here was a mistake.
2012 # Let's accept both of them until this is cleared up.
2013 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2014 lt_cv_file_magic_cmd=/usr/bin/file
2015 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2019 lt_cv_deplibs_check_method=pass_all
2024 lt_cv_deplibs_check_method=pass_all
2028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2029 lt_cv_file_magic_cmd=/usr/bin/file
2030 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2036 # this will be overridden with pass_all, but let us keep it just in case
2037 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2041 *-32|*"-32 ") libmagic=32-bit;;
2042 *-n32|*"-n32 ") libmagic=N32;;
2043 *-64|*"-64 ") libmagic=64-bit;;
2044 *) libmagic=never-match;;
2046 # this will be overridden with pass_all, but let us keep it just in case
2047 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2050 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2051 lt_cv_deplibs_check_method=pass_all
2054 # This must be Linux ELF.
2057 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2058 lt_cv_deplibs_check_method=pass_all ;;
2060 # glibc up to 2.1.1 does not perform some relocations on ARM
2061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2063 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2067 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2068 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2070 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2075 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2076 lt_cv_file_magic_cmd=/usr/bin/file
2077 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2080 osf3* | osf4* | osf5*)
2081 # this will be overridden with pass_all, but let us keep it just in case
2082 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2083 lt_cv_file_magic_test_file=/shlib/libc.so
2084 lt_cv_deplibs_check_method=pass_all
2088 lt_cv_deplibs_check_method=pass_all
2092 lt_cv_deplibs_check_method=pass_all
2093 lt_cv_file_magic_test_file=/lib/libc.so
2096 sysv5uw[78]* | sysv4*uw2*)
2097 lt_cv_deplibs_check_method=pass_all
2100 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2101 case $host_vendor in
2103 lt_cv_deplibs_check_method=pass_all
2106 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]'
2107 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2115 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2116 file_magic_cmd=$lt_cv_file_magic_cmd
2117 deplibs_check_method=$lt_cv_deplibs_check_method
2119 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2120 echo "configure:2121: checking for object suffix" >&5
2121 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2122 echo $ac_n "(cached) $ac_c" 1>&6
2125 echo 'int i = 1;' > conftest.$ac_ext
2126 if { (eval echo configure:2127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2127 for ac_file in conftest.*; do
2130 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2134 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2139 echo "$ac_t""$ac_cv_objext" 1>&6
2140 OBJEXT=$ac_cv_objext
2141 ac_objext=$ac_cv_objext
2143 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2145 # Only perform the check for file, if the check method requires it
2146 case $deplibs_check_method in
2148 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2149 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2150 echo "configure:2151: checking for ${ac_tool_prefix}file" >&5
2151 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2152 echo $ac_n "(cached) $ac_c" 1>&6
2156 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2159 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2162 ac_save_MAGIC_CMD="$MAGIC_CMD"
2163 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2164 ac_dummy="/usr/bin:$PATH"
2165 for ac_dir in $ac_dummy; do
2166 test -z "$ac_dir" && ac_dir=.
2167 if test -f $ac_dir/${ac_tool_prefix}file; then
2168 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2169 if test -n "$file_magic_test_file"; then
2170 case $deplibs_check_method in
2172 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2174 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2175 egrep "$file_magic_regex" > /dev/null; then
2180 *** Warning: the command libtool uses to detect shared libraries,
2181 *** $file_magic_cmd, produces output that libtool cannot recognize.
2182 *** The result is that libtool may fail to recognize shared libraries
2183 *** as such. This will affect the creation of libtool libraries that
2184 *** depend on shared libraries, but programs linked with such libtool
2185 *** libraries will work regardless of this problem. Nevertheless, you
2186 *** may want to report the problem to your system manager and/or to
2187 *** bug-libtool@gnu.org
2197 MAGIC_CMD="$ac_save_MAGIC_CMD"
2202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2203 if test -n "$MAGIC_CMD"; then
2204 echo "$ac_t""$MAGIC_CMD" 1>&6
2206 echo "$ac_t""no" 1>&6
2209 if test -z "$lt_cv_path_MAGIC_CMD"; then
2210 if test -n "$ac_tool_prefix"; then
2211 echo $ac_n "checking for file""... $ac_c" 1>&6
2212 echo "configure:2213: checking for file" >&5
2213 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2214 echo $ac_n "(cached) $ac_c" 1>&6
2218 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2221 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2224 ac_save_MAGIC_CMD="$MAGIC_CMD"
2225 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2226 ac_dummy="/usr/bin:$PATH"
2227 for ac_dir in $ac_dummy; do
2228 test -z "$ac_dir" && ac_dir=.
2229 if test -f $ac_dir/file; then
2230 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2231 if test -n "$file_magic_test_file"; then
2232 case $deplibs_check_method in
2234 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2236 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2237 egrep "$file_magic_regex" > /dev/null; then
2242 *** Warning: the command libtool uses to detect shared libraries,
2243 *** $file_magic_cmd, produces output that libtool cannot recognize.
2244 *** The result is that libtool may fail to recognize shared libraries
2245 *** as such. This will affect the creation of libtool libraries that
2246 *** depend on shared libraries, but programs linked with such libtool
2247 *** libraries will work regardless of this problem. Nevertheless, you
2248 *** may want to report the problem to your system manager and/or to
2249 *** bug-libtool@gnu.org
2259 MAGIC_CMD="$ac_save_MAGIC_CMD"
2264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2265 if test -n "$MAGIC_CMD"; then
2266 echo "$ac_t""$MAGIC_CMD" 1>&6
2268 echo "$ac_t""no" 1>&6
2280 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2281 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2283 echo "configure:2284: checking for $ac_word" >&5
2284 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2285 echo $ac_n "(cached) $ac_c" 1>&6
2287 if test -n "$RANLIB"; then
2288 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2290 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2292 for ac_dir in $ac_dummy; do
2293 test -z "$ac_dir" && ac_dir=.
2294 if test -f $ac_dir/$ac_word; then
2295 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2302 RANLIB="$ac_cv_prog_RANLIB"
2303 if test -n "$RANLIB"; then
2304 echo "$ac_t""$RANLIB" 1>&6
2306 echo "$ac_t""no" 1>&6
2310 if test -z "$ac_cv_prog_RANLIB"; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "ranlib", so it can be a program name with args.
2313 set dummy ranlib; ac_word=$2
2314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2315 echo "configure:2316: checking for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 if test -n "$RANLIB"; then
2320 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2324 for ac_dir in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_RANLIB="ranlib"
2332 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2335 RANLIB="$ac_cv_prog_RANLIB"
2336 if test -n "$RANLIB"; then
2337 echo "$ac_t""$RANLIB" 1>&6
2339 echo "$ac_t""no" 1>&6
2347 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2348 set dummy ${ac_tool_prefix}strip; ac_word=$2
2349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2350 echo "configure:2351: checking for $ac_word" >&5
2351 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2352 echo $ac_n "(cached) $ac_c" 1>&6
2354 if test -n "$STRIP"; then
2355 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2359 for ac_dir in $ac_dummy; do
2360 test -z "$ac_dir" && ac_dir=.
2361 if test -f $ac_dir/$ac_word; then
2362 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2369 STRIP="$ac_cv_prog_STRIP"
2370 if test -n "$STRIP"; then
2371 echo "$ac_t""$STRIP" 1>&6
2373 echo "$ac_t""no" 1>&6
2377 if test -z "$ac_cv_prog_STRIP"; then
2378 if test -n "$ac_tool_prefix"; then
2379 # Extract the first word of "strip", so it can be a program name with args.
2380 set dummy strip; ac_word=$2
2381 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2382 echo "configure:2383: checking for $ac_word" >&5
2383 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2384 echo $ac_n "(cached) $ac_c" 1>&6
2386 if test -n "$STRIP"; then
2387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2389 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2391 for ac_dir in $ac_dummy; do
2392 test -z "$ac_dir" && ac_dir=.
2393 if test -f $ac_dir/$ac_word; then
2394 ac_cv_prog_STRIP="strip"
2399 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2402 STRIP="$ac_cv_prog_STRIP"
2403 if test -n "$STRIP"; then
2404 echo "$ac_t""$STRIP" 1>&6
2406 echo "$ac_t""no" 1>&6
2415 # Check for any special flags to pass to ltconfig.
2416 libtool_flags="--cache-file=$cache_file"
2417 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2418 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2419 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2420 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2421 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2422 libtool_flags="$libtool_flags --enable-dlopen"
2424 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2425 if test "${enable_libtool_lock+set}" = set; then
2426 enableval="$enable_libtool_lock"
2430 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2431 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2433 # Check whether --with-pic or --without-pic was given.
2434 if test "${with_pic+set}" = set; then
2441 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2442 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2444 # Some flags need to be propagated to the compiler or linker for good
2448 # Find out which ABI we are using.
2449 echo '#line 2450 "configure"' > conftest.$ac_ext
2450 if { (eval echo configure:2451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2451 case `/usr/bin/file conftest.$ac_objext` in
2467 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2468 SAVE_CFLAGS="$CFLAGS"
2469 CFLAGS="$CFLAGS -belf"
2470 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2471 echo "configure:2472: checking whether the C compiler needs -belf" >&5
2472 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2473 echo $ac_n "(cached) $ac_c" 1>&6
2477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2478 ac_cpp='$CPP $CPPFLAGS'
2479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2481 cross_compiling=$ac_cv_prog_cc_cross
2483 cat > conftest.$ac_ext <<EOF
2484 #line 2485 "configure"
2485 #include "confdefs.h"
2491 if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2493 lt_cv_cc_needs_belf=yes
2495 echo "configure: failed program was:" >&5
2496 cat conftest.$ac_ext >&5
2498 lt_cv_cc_needs_belf=no
2502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2503 ac_cpp='$CPP $CPPFLAGS'
2504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2506 cross_compiling=$ac_cv_prog_cc_cross
2510 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2511 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2512 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2513 CFLAGS="$SAVE_CFLAGS"
2520 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2521 echo "configure:2522: checking how to run the C++ preprocessor" >&5
2522 if test -z "$CXXCPP"; then
2523 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2524 echo $ac_n "(cached) $ac_c" 1>&6
2527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2528 ac_cpp='$CXXCPP $CPPFLAGS'
2529 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2530 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2531 cross_compiling=$ac_cv_prog_cxx_cross
2532 CXXCPP="${CXX-g++} -E"
2533 cat > conftest.$ac_ext <<EOF
2534 #line 2535 "configure"
2535 #include "confdefs.h"
2538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2539 { (eval echo configure:2540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2541 if test -z "$ac_err"; then
2545 echo "configure: failed program was:" >&5
2546 cat conftest.$ac_ext >&5
2551 ac_cv_prog_CXXCPP="$CXXCPP"
2553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2554 ac_cpp='$CPP $CPPFLAGS'
2555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2557 cross_compiling=$ac_cv_prog_cc_cross
2560 CXXCPP="$ac_cv_prog_CXXCPP"
2561 echo "$ac_t""$CXXCPP" 1>&6
2564 # Save cache, so that ltconfig can load it
2565 cat > confcache <<\EOF
2566 # This file is a shell script that caches the results of configure
2567 # tests run on this system so they can be shared between configure
2568 # scripts and configure runs. It is not useful on other systems.
2569 # If it contains results you don't want to keep, you may remove or edit it.
2571 # By default, configure uses ./config.cache as the cache file,
2572 # creating it if it does not exist already. You can give configure
2573 # the --cache-file=FILE option to use a different cache file; that is
2574 # what configure does when it calls configure scripts in
2575 # subdirectories, so they share the cache.
2576 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2577 # config.status only pays attention to the cache file if you give it the
2578 # --recheck option to rerun configure.
2581 # The following way of writing the cache mishandles newlines in values,
2582 # but we know of no workaround that is simple, portable, and efficient.
2583 # So, don't put newlines in cache variables' values.
2584 # Ultrix sh set writes to stderr and can't be redirected directly,
2585 # and sets the high bit in the cache file unless we assign to the vars.
2587 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2589 # `set' does not quote correctly, so add quotes (double-quote substitution
2590 # turns \\\\ into \\, and sed turns \\ into \).
2592 -e "s/'/'\\\\''/g" \
2593 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2596 # `set' quotes correctly as required by POSIX, so do not add quotes.
2597 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2600 if cmp -s $cache_file confcache; then
2603 if test -w $cache_file; then
2604 echo "updating cache $cache_file"
2605 cat confcache > $cache_file
2607 echo "not updating unwritable cache $cache_file"
2613 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2614 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2615 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2616 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2617 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2618 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2619 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2620 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2621 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2622 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2624 # Reload cache, that may have been modified by ltconfig
2625 if test -r "$cache_file"; then
2626 echo "loading cache $cache_file"
2629 echo "creating cache $cache_file"
2634 # This can be used to rebuild libtool when needed
2635 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2637 # Always use our own libtool.
2638 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2640 # Redirect the config.log output again, so that the ltconfig log is not
2641 # clobbered by the next message.
2642 exec 5>>./config.log
2646 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2648 lt_save_CFLAGS="$CFLAGS"
2649 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2650 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2651 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2652 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2653 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2654 deplibs_check_method="$deplibs_check_method" \
2655 file_magic_cmd="$file_magic_cmd" \
2656 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2657 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2658 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2660 CFLAGS="$lt_save_CFLAGS"
2662 # Redirect the config.log output again, so that the ltconfig log is not
2663 # clobbered by the next message.
2664 exec 5>>./config.log
2674 # Check for c++ or library specific bits that don't require linking.
2675 #GLIBCPP_CHECK_COMPILER_VERSION
2676 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2677 echo "configure:2678: checking for GNU make" >&5
2678 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2679 echo $ac_n "(cached) $ac_c" 1>&6
2681 _cv_gnu_make_command='' ;
2682 for a in "${MAKE-make}" make gmake gnumake ; do
2683 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2685 _cv_gnu_make_command=$a ;
2692 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2693 if test "x$_cv_gnu_make_command" != "x" ; then
2701 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2702 # Check whether --enable-debug or --disable-debug was given.
2703 if test "${enable_debug+set}" = set; then
2704 enableval="$enable_debug"
2705 case "${enableval}" in
2706 yes) enable_debug=yes ;;
2707 no) enable_debug=no ;;
2708 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2714 case "${enable_debug}" in
2716 DEBUG_FLAGS='-O0 -ggdb3'
2724 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2725 echo "configure:2726: checking how to run the C preprocessor" >&5
2726 # On Suns, sometimes $CPP names a directory.
2727 if test -n "$CPP" && test -d "$CPP"; then
2730 if test -z "$CPP"; then
2731 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2732 echo $ac_n "(cached) $ac_c" 1>&6
2734 # This must be in double quotes, not single quotes, because CPP may get
2735 # substituted into the Makefile and "${CC-cc}" will confuse make.
2737 # On the NeXT, cc -E runs the code through the compiler's parser,
2738 # not just through cpp.
2739 cat > conftest.$ac_ext <<EOF
2740 #line 2741 "configure"
2741 #include "confdefs.h"
2745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2746 { (eval echo configure:2747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2748 if test -z "$ac_err"; then
2752 echo "configure: failed program was:" >&5
2753 cat conftest.$ac_ext >&5
2755 CPP="${CC-cc} -E -traditional-cpp"
2756 cat > conftest.$ac_ext <<EOF
2757 #line 2758 "configure"
2758 #include "confdefs.h"
2762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2763 { (eval echo configure:2764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2765 if test -z "$ac_err"; then
2769 echo "configure: failed program was:" >&5
2770 cat conftest.$ac_ext >&5
2772 CPP="${CC-cc} -nologo -E"
2773 cat > conftest.$ac_ext <<EOF
2774 #line 2775 "configure"
2775 #include "confdefs.h"
2779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2780 { (eval echo configure:2781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2782 if test -z "$ac_err"; then
2786 echo "configure: failed program was:" >&5
2787 cat conftest.$ac_ext >&5
2796 ac_cv_prog_CPP="$CPP"
2798 CPP="$ac_cv_prog_CPP"
2800 ac_cv_prog_CPP="$CPP"
2802 echo "$ac_t""$CPP" 1>&6
2805 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2806 echo "configure:2807: checking for cstdio to use" >&5
2807 # Check whether --enable-cstdio or --disable-cstdio was given.
2808 if test "${enable_cstdio+set}" = set; then
2809 enableval="$enable_cstdio"
2810 if test x$enable_cstdio = xno; then
2818 enable_cstdio_flag=$enable_cstdio
2820 case x${enable_cstdio_flag} in
2822 CSTDIO_H=config/io/c_io_libio.h
2823 BASIC_FILE_H=config/io/basic_file_libio.h
2824 BASIC_FILE_CC=config/io/basic_file_libio.cc
2825 echo "$ac_t""libio" 1>&6
2827 # see if we are on a system with libio native (ie, linux)
2828 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2829 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2830 echo "configure:2831: checking for libio.h" >&5
2831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2832 echo $ac_n "(cached) $ac_c" 1>&6
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure"
2836 #include "confdefs.h"
2839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2840 { (eval echo configure:2841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2842 if test -z "$ac_err"; then
2844 eval "ac_cv_header_$ac_safe=yes"
2847 echo "configure: failed program was:" >&5
2848 cat conftest.$ac_ext >&5
2850 eval "ac_cv_header_$ac_safe=no"
2854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2855 echo "$ac_t""yes" 1>&6
2858 echo "$ac_t""no" 1>&6
2863 # Need to check and see what version of glibc is being used. If
2864 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2865 # compile most of libio for linux systems.
2866 if test x$has_libio = x"yes"; then
2869 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2870 echo "configure:2871: checking for glibc version >= 2.2" >&5
2871 cat > conftest.$ac_ext <<EOF
2872 #line 2873 "configure"
2873 #include "confdefs.h"
2875 #include <features.h>
2876 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2882 egrep "ok" >/dev/null 2>&1; then
2884 glibc_satisfactory=yes
2887 glibc_satisfactory=no
2891 echo "$ac_t""$glibc_satisfactory" 1>&6
2895 # XXX at the moment, admit defeat and force the recompilation
2896 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2897 glibc_satisfactory=no
2899 if test x$glibc_satisfactory = x"yes"; then
2904 # bkoz XXX need to add checks to enable this
2905 # pme XXX here's a first pass at such a check
2906 if test x$enable_c_mbchar != xno; then
2914 # Using libio, but <libio.h> doesn't exist on the target system. . .
2916 # bkoz XXX need to add checks to enable this
2917 # pme XXX here's a first pass at such a check
2918 if test x$enable_c_mbchar != xno; then
2925 xstdio | x | xno | xnone | xyes)
2927 CSTDIO_H=config/io/c_io_stdio.h
2928 BASIC_FILE_H=config/io/basic_file_stdio.h
2929 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2930 echo "$ac_t""stdio" 1>&6
2932 # We're not using stdio.
2937 echo "$enable_cstdio is an unknown io package" 1>&2
2945 # 2000-08-04 bkoz hack
2946 CCODECVT_C=config/io/c_io_libio_codecvt.c
2948 # 2000-08-04 bkoz hack
2952 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2953 GLIBCPP_BUILD_LIBIO_TRUE=
2954 GLIBCPP_BUILD_LIBIO_FALSE='#'
2956 GLIBCPP_BUILD_LIBIO_TRUE='#'
2957 GLIBCPP_BUILD_LIBIO_FALSE=
2961 if test "$need_libio" = yes; then
2962 GLIBCPP_NEED_LIBIO_TRUE=
2963 GLIBCPP_NEED_LIBIO_FALSE='#'
2965 GLIBCPP_NEED_LIBIO_TRUE='#'
2966 GLIBCPP_NEED_LIBIO_FALSE=
2970 if test "$need_wlibio" = yes; then
2971 GLIBCPP_NEED_WLIBIO_TRUE=
2972 GLIBCPP_NEED_WLIBIO_FALSE='#'
2974 GLIBCPP_NEED_WLIBIO_TRUE='#'
2975 GLIBCPP_NEED_WLIBIO_FALSE=
2977 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2978 libio_la=../libio/libio.la
2985 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2986 echo "configure:2987: checking for clocale to use" >&5
2987 # Check whether --enable-clocale or --disable-clocale was given.
2988 if test "${enable_clocale+set}" = set; then
2989 enableval="$enable_clocale"
2990 if test x$enable_clocale = xno; then
2998 enable_clocale_flag=$enable_clocale
3000 if test x$enable_clocale_flag = xno; then
3001 case x${target_os} in
3003 cat > conftest.$ac_ext <<EOF
3004 #line 3005 "configure"
3005 #include "confdefs.h"
3007 #include <features.h>
3008 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3014 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3016 enable_clocale_flag=gnu
3019 enable_clocale_flag=generic
3024 # Test for bugs early in glibc-2.2.x series
3025 if test x$enable_clocale_flag = xgnu; then
3026 if test "$cross_compiling" = yes; then
3027 enable_clocale_flag=generic
3029 cat > conftest.$ac_ext <<EOF
3030 #line 3031 "configure"
3031 #include "confdefs.h"
3033 #define _GNU_SOURCE 1
3037 const char __one[] = "Äuglein Augmen";
3038 const char __two[] = "Äuglein";
3043 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3044 loc_dup = __duplocale(loc);
3045 i = __strcoll_l(__one, __two, loc);
3046 j = __strcoll_l(__one, __two, loc_dup);
3051 if { (eval echo configure:3052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3053 enable_clocale_flag=gnu
3055 echo "configure: failed program was:" >&5
3056 cat conftest.$ac_ext >&5
3058 enable_clocale_flag=generic
3065 # ... at some point put __strxfrm_l tests in as well.
3068 enable_clocale_flag=generic
3073 # Check whether --enable-nls or --disable-nls was given.
3074 if test "${enable_nls+set}" = set; then
3075 enableval="$enable_nls"
3083 case x${enable_clocale_flag} in
3085 echo "$ac_t""generic" 1>&6
3087 CLOCALE_H=config/locale/generic/c_locale.h
3088 CLOCALE_CC=config/locale/generic/c_locale.cc
3089 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3090 CCOLLATE_CC=config/locale/generic/collate_members.cc
3091 CCTYPE_CC=config/locale/generic/ctype_members.cc
3092 CMESSAGES_H=config/locale/generic/messages_members.h
3093 CMESSAGES_CC=config/locale/generic/messages_members.cc
3094 CMONEY_CC=config/locale/generic/monetary_members.cc
3095 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3096 CTIME_CC=config/locale/generic/time_members.cc
3099 echo "$ac_t""gnu" 1>&6
3101 # Declare intention to use gettext, and add support for specific
3103 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3106 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3107 # Extract the first word of "msgfmt", so it can be a program name with args.
3108 set dummy msgfmt; ac_word=$2
3109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3110 echo "configure:3111: checking for $ac_word" >&5
3111 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3112 echo $ac_n "(cached) $ac_c" 1>&6
3114 if test -n "$check_msgfmt"; then
3115 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3119 for ac_dir in $ac_dummy; do
3120 test -z "$ac_dir" && ac_dir=.
3121 if test -f $ac_dir/$ac_word; then
3122 ac_cv_prog_check_msgfmt="yes"
3127 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3130 check_msgfmt="$ac_cv_prog_check_msgfmt"
3131 if test -n "$check_msgfmt"; then
3132 echo "$ac_t""$check_msgfmt" 1>&6
3134 echo "$ac_t""no" 1>&6
3137 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3140 # Export the build objects.
3141 for ling in $ALL_LINGUAS; do \
3142 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3143 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3148 CLOCALE_H=config/locale/gnu/c_locale.h
3149 CLOCALE_CC=config/locale/gnu/c_locale.cc
3150 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3151 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3152 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3153 CMESSAGES_H=config/locale/gnu/messages_members.h
3154 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3155 CMONEY_CC=config/locale/gnu/monetary_members.cc
3156 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3157 CTIME_CC=config/locale/gnu/time_members.cc
3160 echo "$ac_t""generic" 1>&6
3162 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3163 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3164 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3165 CCOLLATE_CC=config/locale/generic/collate_members.cc
3166 CCTYPE_CC=config/locale/generic/ctype_members.cc
3167 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3168 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3169 CMONEY_CC=config/locale/generic/monetary_members.cc
3170 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3171 CTIME_CC=config/locale/generic/time_members.cc
3174 echo "$enable_clocale is an unknown locale package" 1>&2
3179 # This is where the testsuite looks for locale catalogs, using the
3180 # -DLOCALEDIR define during testsuite compilation.
3181 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3196 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3197 if test "${enable_c_mbchar+set}" = set; then
3198 enableval="$enable_c_mbchar"
3199 case "$enableval" in
3200 yes) enable_c_mbchar=yes ;;
3201 no) enable_c_mbchar=no ;;
3202 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3209 # Check whether --enable-c99 or --disable-c99 was given.
3210 if test "${enable_c99+set}" = set; then
3211 enableval="$enable_c99"
3212 case "$enableval" in
3213 yes) enable_c99=yes ;;
3214 no) enable_c99=no ;;
3215 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3224 ac_cpp='$CXXCPP $CPPFLAGS'
3225 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3226 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3227 cross_compiling=$ac_cv_prog_cxx_cross
3230 # Check for the existence of <math.h> functions used if C99 is enabled.
3232 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3233 echo "configure:3234: checking for ISO C99 support in <math.h>" >&5
3234 cat > conftest.$ac_ext <<EOF
3235 #line 3236 "configure"
3236 #include "confdefs.h"
3242 if { (eval echo configure:3243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3245 echo "configure: failed program was:" >&5
3246 cat conftest.$ac_ext >&5
3251 cat > conftest.$ac_ext <<EOF
3252 #line 3253 "configure"
3253 #include "confdefs.h"
3259 if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3262 echo "configure: failed program was:" >&5
3263 cat conftest.$ac_ext >&5
3268 cat > conftest.$ac_ext <<EOF
3269 #line 3270 "configure"
3270 #include "confdefs.h"
3276 if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3279 echo "configure: failed program was:" >&5
3280 cat conftest.$ac_ext >&5
3285 cat > conftest.$ac_ext <<EOF
3286 #line 3287 "configure"
3287 #include "confdefs.h"
3293 if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3296 echo "configure: failed program was:" >&5
3297 cat conftest.$ac_ext >&5
3302 cat > conftest.$ac_ext <<EOF
3303 #line 3304 "configure"
3304 #include "confdefs.h"
3310 if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3313 echo "configure: failed program was:" >&5
3314 cat conftest.$ac_ext >&5
3319 cat > conftest.$ac_ext <<EOF
3320 #line 3321 "configure"
3321 #include "confdefs.h"
3327 if { (eval echo configure:3328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3330 echo "configure: failed program was:" >&5
3331 cat conftest.$ac_ext >&5
3336 cat > conftest.$ac_ext <<EOF
3337 #line 3338 "configure"
3338 #include "confdefs.h"
3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3347 echo "configure: failed program was:" >&5
3348 cat conftest.$ac_ext >&5
3353 cat > conftest.$ac_ext <<EOF
3354 #line 3355 "configure"
3355 #include "confdefs.h"
3358 isgreaterequal(0.0,0.0);
3361 if { (eval echo configure:3362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3364 echo "configure: failed program was:" >&5
3365 cat conftest.$ac_ext >&5
3370 cat > conftest.$ac_ext <<EOF
3371 #line 3372 "configure"
3372 #include "confdefs.h"
3378 if { (eval echo configure:3379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 echo "configure: failed program was:" >&5
3382 cat conftest.$ac_ext >&5
3387 cat > conftest.$ac_ext <<EOF
3388 #line 3389 "configure"
3389 #include "confdefs.h"
3392 islessequal(0.0,0.0);
3395 if { (eval echo configure:3396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398 echo "configure: failed program was:" >&5
3399 cat conftest.$ac_ext >&5
3404 cat > conftest.$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3409 islessgreater(0.0,0.0);
3412 if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3415 echo "configure: failed program was:" >&5
3416 cat conftest.$ac_ext >&5
3421 cat > conftest.$ac_ext <<EOF
3422 #line 3423 "configure"
3423 #include "confdefs.h"
3426 isunordered(0.0,0.0);
3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3432 echo "configure: failed program was:" >&5
3433 cat conftest.$ac_ext >&5
3438 echo "$ac_t""$ac_c99_math" 1>&6
3440 # Check for the existence in <stdio.h> of vscanf, et. al.
3442 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3443 echo "configure:3444: checking for ISO C99 support in <stdio.h>" >&5
3444 cat > conftest.$ac_ext <<EOF
3445 #line 3446 "configure"
3446 #include "confdefs.h"
3449 snprintf("12", 0, "%i");
3452 if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3455 echo "configure: failed program was:" >&5
3456 cat conftest.$ac_ext >&5
3461 cat > conftest.$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3466 void foo(char* fmt, ...)
3467 {va_list args; va_start(args, fmt);
3468 vfscanf(stderr, "%i", args);}
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure: failed program was:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure"
3484 #include "confdefs.h"
3487 void foo(char* fmt, ...)
3488 {va_list args; va_start(args, fmt);
3489 vscanf("%i", args);}
3494 if { (eval echo configure:3495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3497 echo "configure: failed program was:" >&5
3498 cat conftest.$ac_ext >&5
3503 cat > conftest.$ac_ext <<EOF
3504 #line 3505 "configure"
3505 #include "confdefs.h"
3508 void foo(char* fmt, ...)
3509 {va_list args; va_start(args, fmt);
3510 vsnprintf(fmt, 0, "%i", args);}
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure: failed program was:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure"
3526 #include "confdefs.h"
3529 void foo(char* fmt, ...)
3530 {va_list args; va_start(args, fmt);
3531 vsscanf(fmt, "%i", args);}
3536 if { (eval echo configure:3537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3539 echo "configure: failed program was:" >&5
3540 cat conftest.$ac_ext >&5
3545 echo "$ac_t""$ac_c99_stdio" 1>&6
3547 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3549 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3550 echo "configure:3551: checking for lldiv_t declaration" >&5
3551 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3552 echo $ac_n "(cached) $ac_c" 1>&6
3555 cat > conftest.$ac_ext <<EOF
3556 #line 3557 "configure"
3557 #include "confdefs.h"
3563 if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3567 echo "configure: failed program was:" >&5
3568 cat conftest.$ac_ext >&5
3576 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3578 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3579 echo "configure:3580: checking for ISO C99 support in <stdlib.h>" >&5
3580 cat > conftest.$ac_ext <<EOF
3581 #line 3582 "configure"
3582 #include "confdefs.h"
3585 char* tmp; strtof("gnu", &tmp);
3588 if { (eval echo configure:3589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3591 echo "configure: failed program was:" >&5
3592 cat conftest.$ac_ext >&5
3597 cat > conftest.$ac_ext <<EOF
3598 #line 3599 "configure"
3599 #include "confdefs.h"
3602 char* tmp; strtold("gnu", &tmp);
3605 if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3608 echo "configure: failed program was:" >&5
3609 cat conftest.$ac_ext >&5
3614 cat > conftest.$ac_ext <<EOF
3615 #line 3616 "configure"
3616 #include "confdefs.h"
3622 if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3625 echo "configure: failed program was:" >&5
3626 cat conftest.$ac_ext >&5
3631 cat > conftest.$ac_ext <<EOF
3632 #line 3633 "configure"
3633 #include "confdefs.h"
3639 if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3642 echo "configure: failed program was:" >&5
3643 cat conftest.$ac_ext >&5
3648 cat > conftest.$ac_ext <<EOF
3649 #line 3650 "configure"
3650 #include "confdefs.h"
3656 if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3659 echo "configure: failed program was:" >&5
3660 cat conftest.$ac_ext >&5
3665 cat > conftest.$ac_ext <<EOF
3666 #line 3667 "configure"
3667 #include "confdefs.h"
3673 if { (eval echo configure:3674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3676 echo "configure: failed program was:" >&5
3677 cat conftest.$ac_ext >&5
3682 if test x"$ac_c99_lldiv_t" = x"no"; then
3685 echo "$ac_t""$ac_c99_stdlib" 1>&6
3687 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3688 # XXX the wchar.h checks should be rolled into the general C99 bits.
3690 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3691 echo "configure:3692: checking for additional ISO C99 support in <wchar.h>" >&5
3692 cat > conftest.$ac_ext <<EOF
3693 #line 3694 "configure"
3694 #include "confdefs.h"
3697 wcstold(L"10.0", NULL);
3700 if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3703 echo "configure: failed program was:" >&5
3704 cat conftest.$ac_ext >&5
3709 cat > conftest.$ac_ext <<EOF
3710 #line 3711 "configure"
3711 #include "confdefs.h"
3714 wcstoll(L"10", NULL, 10);
3717 if { (eval echo configure:3718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3720 echo "configure: failed program was:" >&5
3721 cat conftest.$ac_ext >&5
3726 cat > conftest.$ac_ext <<EOF
3727 #line 3728 "configure"
3728 #include "confdefs.h"
3731 wcstoull(L"10", NULL, 10);
3734 if { (eval echo configure:3735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3737 echo "configure: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3743 echo "$ac_t""$ac_c99_wchar" 1>&6
3745 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3746 echo "configure:3747: checking for enabled ISO C99 support" >&5
3747 if test x"$ac_c99_math" = x"no" ||
3748 test x"$ac_c99_stdio" = x"no" ||
3749 test x"$ac_c99_stdlib" = x"no" ||
3750 test x"$ac_c99_wchar" = x"no"; then
3753 echo "$ac_t""$enable_c99" 1>&6
3755 # Option parsed, now set things appropriately
3756 if test x"$enable_c99" = x"yes"; then
3757 cat >> confdefs.h <<\EOF
3758 #define _GLIBCPP_USE_C99 1
3764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CPP $CPPFLAGS'
3766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cc_cross
3772 # Check whether --enable-long-long or --disable-long-long was given.
3773 if test "${enable_long_long+set}" = set; then
3774 enableval="$enable_long_long"
3775 case "$enableval" in
3776 yes) enable_long_long=yes ;;
3777 no) enable_long_long=no ;;
3778 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3781 enable_long_long=yes
3786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3787 ac_cpp='$CXXCPP $CPPFLAGS'
3788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3790 cross_compiling=$ac_cv_prog_cxx_cross
3793 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3794 echo "configure:3795: checking for enabled long long I/O support" >&5
3795 # iostreams require strtoll, strtoull to compile
3796 cat > conftest.$ac_ext <<EOF
3797 #line 3798 "configure"
3798 #include "confdefs.h"
3801 char* tmp; strtoll("gnu", &tmp, 10);
3804 if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3807 echo "configure: failed program was:" >&5
3808 cat conftest.$ac_ext >&5
3813 cat > conftest.$ac_ext <<EOF
3814 #line 3815 "configure"
3815 #include "confdefs.h"
3818 char* tmp; strtoull("gnu", &tmp, 10);
3821 if { (eval echo configure:3822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3824 echo "configure: failed program was:" >&5
3825 cat conftest.$ac_ext >&5
3831 # Option parsed, now set things appropriately
3832 if test x"$enable_long_long" = xyes; then
3833 cat >> confdefs.h <<\EOF
3834 #define _GLIBCPP_USE_LONG_LONG 1
3838 echo "$ac_t""$enable_long_long" 1>&6
3841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3842 ac_cpp='$CPP $CPPFLAGS'
3843 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3844 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3845 cross_compiling=$ac_cv_prog_cc_cross
3848 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3849 echo "configure:3850: checking for c header strategy to use" >&5
3850 # Check whether --enable-cheaders or --disable-cheaders was given.
3851 if test "${enable_cheaders+set}" = set; then
3852 enableval="$enable_cheaders"
3854 case "$enableval" in
3859 enable_cheaders=c_std
3862 enable_cheaders=c_shadow
3864 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3868 enable_cheaders=c_std
3871 echo "$ac_t""$enable_cheaders" 1>&6
3873 case "$enable_cheaders" in
3875 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3878 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3881 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3888 if test "$enable_cheaders" = c; then
3889 GLIBCPP_C_HEADERS_C_TRUE=
3890 GLIBCPP_C_HEADERS_C_FALSE='#'
3892 GLIBCPP_C_HEADERS_C_TRUE='#'
3893 GLIBCPP_C_HEADERS_C_FALSE=
3897 if test "$enable_cheaders" = c_std; then
3898 GLIBCPP_C_HEADERS_C_STD_TRUE=
3899 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3901 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3902 GLIBCPP_C_HEADERS_C_STD_FALSE=
3906 if test "$c_compatibility" = yes; then
3907 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3908 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3910 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3911 GLIBCPP_C_HEADERS_COMPATIBILITY_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_FINITE 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_FINITEF 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_FREXPF 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_HYPOTF 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_ISINF 1
5081 cat >> confdefs.h <<\EOF
5082 #define HAVE_ISINFF 1
5085 cat >> confdefs.h <<\EOF
5086 #define HAVE_ISNAN 1
5089 cat >> confdefs.h <<\EOF
5090 #define HAVE_ISNANF 1
5093 cat >> confdefs.h <<\EOF
5094 #define HAVE_SINCOS 1
5097 cat >> confdefs.h <<\EOF
5098 #define HAVE_SINCOSF 1
5101 if test x"long_double_math_on_this_cpu" = x"yes"; then
5102 cat >> confdefs.h <<\EOF
5103 #define HAVE_FINITEL 1
5106 cat >> confdefs.h <<\EOF
5107 #define HAVE_HYPOTL 1
5110 cat >> confdefs.h <<\EOF
5111 #define HAVE_ISINFL 1
5114 cat >> confdefs.h <<\EOF
5115 #define HAVE_ISNANL 1
5121 # Check for available headers.
5122 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5123 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5124 fp.h locale.h float.h inttypes.h
5126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5128 echo "configure:5129: checking for $ac_hdr" >&5
5129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5130 echo $ac_n "(cached) $ac_c" 1>&6
5132 cat > conftest.$ac_ext <<EOF
5133 #line 5134 "configure"
5134 #include "confdefs.h"
5137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5138 { (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5140 if test -z "$ac_err"; then
5142 eval "ac_cv_header_$ac_safe=yes"
5145 echo "configure: failed program was:" >&5
5146 cat conftest.$ac_ext >&5
5148 eval "ac_cv_header_$ac_safe=no"
5152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5153 echo "$ac_t""yes" 1>&6
5154 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5155 cat >> confdefs.h <<EOF
5156 #define $ac_tr_hdr 1
5160 echo "$ac_t""no" 1>&6
5164 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5167 # If we're not using GNU ld, then there's no point in even trying these
5168 # tests. Check for that first. We should have already tested for gld
5169 # by now (in libtool), but require it now just to be safe...
5170 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5171 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5174 # The name set by libtool depends on the version of libtool. Shame on us
5175 # for depending on an impl detail, but c'est la vie. Older versions used
5176 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5177 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5178 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5179 # set (hence we're using an older libtool), then set it.
5180 if test x${with_gnu_ld+set} != xset; then
5181 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5182 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5185 with_gnu_ld=$ac_cv_prog_gnu_ld
5189 # Start by getting the version number. I think the libtool test already
5190 # does some of this, but throws away the result.
5192 ldver=`$LD --version 2>/dev/null | head -1 | \
5193 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5195 glibcpp_gnu_ld_version=`echo $ldver | \
5196 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5198 # Set --gc-sections.
5199 if test "$with_gnu_ld" = "notbroken"; then
5200 # GNU ld it is! Joy and bunny rabbits!
5202 # All these tests are for C++; save the language and the compiler flags.
5203 # Need to do this so that g++ won't try to link in libstdc++
5204 ac_test_CFLAGS="${CFLAGS+set}"
5205 ac_save_CFLAGS="$CFLAGS"
5206 CFLAGS='-x c++ -Wl,--gc-sections'
5208 # Check for -Wl,--gc-sections
5209 # XXX This test is broken at the moment, as symbols required for
5210 # linking are now in libsupc++ (not built yet.....). In addition,
5211 # this test has cored on solaris in the past. In addition,
5212 # --gc-sections doesn't really work at the moment (keeps on discarding
5213 # used sections, first .eh_frame and now some of the glibc sections for
5214 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5215 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5216 echo "configure:5217: checking for ld that supports -Wl,--gc-sections" >&5
5217 if test "$cross_compiling" = yes; then
5218 ac_sectionLDflags=yes
5220 cat > conftest.$ac_ext <<EOF
5221 #line 5222 "configure"
5222 #include "confdefs.h"
5232 if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5234 ac_sectionLDflags=yes
5236 echo "configure: failed program was:" >&5
5237 cat conftest.$ac_ext >&5
5239 ac_sectionLDflags=no
5244 if test "$ac_test_CFLAGS" = set; then
5245 CFLAGS="$ac_save_CFLAGS"
5247 # this is the suspicious part
5250 if test "$ac_sectionLDflags" = "yes"; then
5251 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5253 echo "$ac_t""$ac_sectionLDflags" 1>&6
5256 # Set linker optimization flags.
5257 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5258 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5265 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5266 echo "configure:5267: checking for main in -lm" >&5
5267 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5269 echo $ac_n "(cached) $ac_c" 1>&6
5271 ac_save_LIBS="$LIBS"
5273 cat > conftest.$ac_ext <<EOF
5274 #line 5275 "configure"
5275 #include "confdefs.h"
5281 if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5283 eval "ac_cv_lib_$ac_lib_var=yes"
5285 echo "configure: failed program was:" >&5
5286 cat conftest.$ac_ext >&5
5288 eval "ac_cv_lib_$ac_lib_var=no"
5291 LIBS="$ac_save_LIBS"
5294 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5295 echo "$ac_t""yes" 1>&6
5296 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5297 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5298 cat >> confdefs.h <<EOF
5299 #define $ac_tr_lib 1
5305 echo "$ac_t""no" 1>&6
5308 for ac_func in nan copysignf
5310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5311 echo "configure:5312: checking for $ac_func" >&5
5312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5313 echo $ac_n "(cached) $ac_c" 1>&6
5315 cat > conftest.$ac_ext <<EOF
5316 #line 5317 "configure"
5317 #include "confdefs.h"
5318 /* System header to define __stub macros and hopefully few prototypes,
5319 which can conflict with char $ac_func(); below. */
5321 /* Override any gcc2 internal prototype to avoid an error. */
5322 /* We use char because int might match the return type of a gcc2
5323 builtin and then its argument prototype would still apply. */
5328 /* The GNU C library defines this for functions which it implements
5329 to always fail with ENOSYS. Some functions are actually named
5330 something starting with __ and the normal name is an alias. */
5331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5339 if { (eval echo configure:5340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5341 eval "ac_cv_func_$ac_func=yes"
5343 echo "configure: failed program was:" >&5
5344 cat conftest.$ac_ext >&5
5346 eval "ac_cv_func_$ac_func=no"
5351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5352 echo "$ac_t""yes" 1>&6
5353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5354 cat >> confdefs.h <<EOF
5355 #define $ac_tr_func 1
5359 echo "$ac_t""no" 1>&6
5360 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5365 for ac_func in __signbit
5367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5368 echo "configure:5369: checking for $ac_func" >&5
5369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5370 echo $ac_n "(cached) $ac_c" 1>&6
5372 cat > conftest.$ac_ext <<EOF
5373 #line 5374 "configure"
5374 #include "confdefs.h"
5375 /* System header to define __stub macros and hopefully few prototypes,
5376 which can conflict with char $ac_func(); below. */
5378 /* Override any gcc2 internal prototype to avoid an error. */
5379 /* We use char because int might match the return type of a gcc2
5380 builtin and then its argument prototype would still apply. */
5385 /* The GNU C library defines this for functions which it implements
5386 to always fail with ENOSYS. Some functions are actually named
5387 something starting with __ and the normal name is an alias. */
5388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5398 eval "ac_cv_func_$ac_func=yes"
5400 echo "configure: failed program was:" >&5
5401 cat conftest.$ac_ext >&5
5403 eval "ac_cv_func_$ac_func=no"
5408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5409 echo "$ac_t""yes" 1>&6
5410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5411 cat >> confdefs.h <<EOF
5412 #define $ac_tr_func 1
5416 echo "$ac_t""no" 1>&6
5417 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5421 for ac_func in __signbitf
5423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5424 echo "configure:5425: checking for $ac_func" >&5
5425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5426 echo $ac_n "(cached) $ac_c" 1>&6
5428 cat > conftest.$ac_ext <<EOF
5429 #line 5430 "configure"
5430 #include "confdefs.h"
5431 /* System header to define __stub macros and hopefully few prototypes,
5432 which can conflict with char $ac_func(); below. */
5434 /* Override any gcc2 internal prototype to avoid an error. */
5435 /* We use char because int might match the return type of a gcc2
5436 builtin and then its argument prototype would still apply. */
5441 /* The GNU C library defines this for functions which it implements
5442 to always fail with ENOSYS. Some functions are actually named
5443 something starting with __ and the normal name is an alias. */
5444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5452 if { (eval echo configure:5453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5454 eval "ac_cv_func_$ac_func=yes"
5456 echo "configure: failed program was:" >&5
5457 cat conftest.$ac_ext >&5
5459 eval "ac_cv_func_$ac_func=no"
5464 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5465 echo "$ac_t""yes" 1>&6
5466 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5467 cat >> confdefs.h <<EOF
5468 #define $ac_tr_func 1
5472 echo "$ac_t""no" 1>&6
5473 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5478 if test x$ac_cv_func_copysignl = x"yes"; then
5479 for ac_func in __signbitl
5481 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5482 echo "configure:5483: checking for $ac_func" >&5
5483 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5484 echo $ac_n "(cached) $ac_c" 1>&6
5486 cat > conftest.$ac_ext <<EOF
5487 #line 5488 "configure"
5488 #include "confdefs.h"
5489 /* System header to define __stub macros and hopefully few prototypes,
5490 which can conflict with char $ac_func(); below. */
5492 /* Override any gcc2 internal prototype to avoid an error. */
5493 /* We use char because int might match the return type of a gcc2
5494 builtin and then its argument prototype would still apply. */
5499 /* The GNU C library defines this for functions which it implements
5500 to always fail with ENOSYS. Some functions are actually named
5501 something starting with __ and the normal name is an alias. */
5502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5510 if { (eval echo configure:5511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5512 eval "ac_cv_func_$ac_func=yes"
5514 echo "configure: failed program was:" >&5
5515 cat conftest.$ac_ext >&5
5517 eval "ac_cv_func_$ac_func=no"
5522 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5523 echo "$ac_t""yes" 1>&6
5524 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5525 cat >> confdefs.h <<EOF
5526 #define $ac_tr_func 1
5530 echo "$ac_t""no" 1>&6
5531 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5541 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5542 echo "configure:5543: checking for mbstate_t" >&5
5543 cat > conftest.$ac_ext <<EOF
5544 #line 5545 "configure"
5545 #include "confdefs.h"
5548 mbstate_t teststate;
5551 if { (eval echo configure:5552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5555 echo "configure: failed program was:" >&5
5556 cat conftest.$ac_ext >&5
5561 echo "$ac_t""$have_mbstate_t" 1>&6
5562 if test x"$have_mbstate_t" = xyes; then
5563 cat >> confdefs.h <<\EOF
5564 #define HAVE_MBSTATE_T 1
5569 for ac_hdr in wchar.h
5571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5573 echo "configure:5574: checking for $ac_hdr" >&5
5574 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5575 echo $ac_n "(cached) $ac_c" 1>&6
5577 cat > conftest.$ac_ext <<EOF
5578 #line 5579 "configure"
5579 #include "confdefs.h"
5582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5583 { (eval echo configure:5584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5585 if test -z "$ac_err"; then
5587 eval "ac_cv_header_$ac_safe=yes"
5590 echo "configure: failed program was:" >&5
5591 cat conftest.$ac_ext >&5
5593 eval "ac_cv_header_$ac_safe=no"
5597 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5598 echo "$ac_t""yes" 1>&6
5599 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5600 cat >> confdefs.h <<EOF
5601 #define $ac_tr_hdr 1
5605 echo "$ac_t""no" 1>&6
5610 for ac_hdr in wctype.h
5612 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5613 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5614 echo "configure:5615: checking for $ac_hdr" >&5
5615 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5616 echo $ac_n "(cached) $ac_c" 1>&6
5618 cat > conftest.$ac_ext <<EOF
5619 #line 5620 "configure"
5620 #include "confdefs.h"
5623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5624 { (eval echo configure:5625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5626 if test -z "$ac_err"; then
5628 eval "ac_cv_header_$ac_safe=yes"
5631 echo "configure: failed program was:" >&5
5632 cat conftest.$ac_ext >&5
5634 eval "ac_cv_header_$ac_safe=no"
5638 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5639 echo "$ac_t""yes" 1>&6
5640 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5641 cat >> confdefs.h <<EOF
5642 #define $ac_tr_hdr 1
5646 echo "$ac_t""no" 1>&6
5652 if test x"$ac_has_wchar_h" = xyes &&
5653 test x"$ac_has_wctype_h" = xyes &&
5654 test x"$enable_c_mbchar" != xno; then
5656 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5657 echo "configure:5658: checking for WCHAR_MIN and WCHAR_MAX" >&5
5658 cat > conftest.$ac_ext <<EOF
5659 #line 5660 "configure"
5660 #include "confdefs.h"
5663 int i = WCHAR_MIN; int j = WCHAR_MAX;
5666 if { (eval echo configure:5667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5668 has_wchar_minmax=yes
5670 echo "configure: failed program was:" >&5
5671 cat conftest.$ac_ext >&5
5676 echo "$ac_t""$has_wchar_minmax" 1>&6
5678 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5679 echo "configure:5680: checking for WEOF" >&5
5680 cat > conftest.$ac_ext <<EOF
5681 #line 5682 "configure"
5682 #include "confdefs.h"
5690 if { (eval echo configure:5691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5694 echo "configure: failed program was:" >&5
5695 cat conftest.$ac_ext >&5
5700 echo "$ac_t""$has_weof" 1>&6
5703 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5706 echo "configure:5707: checking for $ac_func" >&5
5707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5708 echo $ac_n "(cached) $ac_c" 1>&6
5710 cat > conftest.$ac_ext <<EOF
5711 #line 5712 "configure"
5712 #include "confdefs.h"
5713 /* System header to define __stub macros and hopefully few prototypes,
5714 which can conflict with char $ac_func(); below. */
5716 /* Override any gcc2 internal prototype to avoid an error. */
5717 /* We use char because int might match the return type of a gcc2
5718 builtin and then its argument prototype would still apply. */
5723 /* The GNU C library defines this for functions which it implements
5724 to always fail with ENOSYS. Some functions are actually named
5725 something starting with __ and the normal name is an alias. */
5726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5734 if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5736 eval "ac_cv_func_$ac_func=yes"
5738 echo "configure: failed program was:" >&5
5739 cat conftest.$ac_ext >&5
5741 eval "ac_cv_func_$ac_func=no"
5746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5747 echo "$ac_t""yes" 1>&6
5748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5749 cat >> confdefs.h <<EOF
5750 #define $ac_tr_func 1
5754 echo "$ac_t""no" 1>&6
5761 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5762 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5763 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5764 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5765 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5766 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5769 echo "configure:5770: checking for $ac_func" >&5
5770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5771 echo $ac_n "(cached) $ac_c" 1>&6
5773 cat > conftest.$ac_ext <<EOF
5774 #line 5775 "configure"
5775 #include "confdefs.h"
5776 /* System header to define __stub macros and hopefully few prototypes,
5777 which can conflict with char $ac_func(); below. */
5779 /* Override any gcc2 internal prototype to avoid an error. */
5780 /* We use char because int might match the return type of a gcc2
5781 builtin and then its argument prototype would still apply. */
5786 /* The GNU C library defines this for functions which it implements
5787 to always fail with ENOSYS. Some functions are actually named
5788 something starting with __ and the normal name is an alias. */
5789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5797 if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5799 eval "ac_cv_func_$ac_func=yes"
5801 echo "configure: failed program was:" >&5
5802 cat conftest.$ac_ext >&5
5804 eval "ac_cv_func_$ac_func=no"
5809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5810 echo "$ac_t""yes" 1>&6
5811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5812 cat >> confdefs.h <<EOF
5813 #define $ac_tr_func 1
5817 echo "$ac_t""no" 1>&6
5824 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5825 echo "configure:5826: checking for ISO C99 wchar_t support" >&5
5826 if test x"$has_weof" = xyes &&
5827 test x"$has_wchar_minmax" = xyes &&
5828 test x"$ac_wfuncs" = xyes; then
5829 ac_isoC99_wchar_t=yes
5831 ac_isoC99_wchar_t=no
5833 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5835 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5836 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5837 echo "configure:5838: checking for iconv.h" >&5
5838 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5839 echo $ac_n "(cached) $ac_c" 1>&6
5841 cat > conftest.$ac_ext <<EOF
5842 #line 5843 "configure"
5843 #include "confdefs.h"
5846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5847 { (eval echo configure:5848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5849 if test -z "$ac_err"; then
5851 eval "ac_cv_header_$ac_safe=yes"
5854 echo "configure: failed program was:" >&5
5855 cat conftest.$ac_ext >&5
5857 eval "ac_cv_header_$ac_safe=no"
5861 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5862 echo "$ac_t""yes" 1>&6
5865 echo "$ac_t""no" 1>&6
5869 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5870 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5871 echo "configure:5872: checking for langinfo.h" >&5
5872 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5873 echo $ac_n "(cached) $ac_c" 1>&6
5875 cat > conftest.$ac_ext <<EOF
5876 #line 5877 "configure"
5877 #include "confdefs.h"
5878 #include <langinfo.h>
5880 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5881 { (eval echo configure:5882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5882 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5883 if test -z "$ac_err"; then
5885 eval "ac_cv_header_$ac_safe=yes"
5888 echo "configure: failed program was:" >&5
5889 cat conftest.$ac_ext >&5
5891 eval "ac_cv_header_$ac_safe=no"
5895 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5896 echo "$ac_t""yes" 1>&6
5897 ac_has_langinfo_h=yes
5899 echo "$ac_t""no" 1>&6
5900 ac_has_langinfo_h=no
5904 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5905 echo "configure:5906: checking for iconv in -liconv" >&5
5906 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5908 echo $ac_n "(cached) $ac_c" 1>&6
5910 ac_save_LIBS="$LIBS"
5911 LIBS="-liconv $LIBS"
5912 cat > conftest.$ac_ext <<EOF
5913 #line 5914 "configure"
5914 #include "confdefs.h"
5915 /* Override any gcc2 internal prototype to avoid an error. */
5916 /* We use char because int might match the return type of a gcc2
5917 builtin and then its argument prototype would still apply. */
5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5926 eval "ac_cv_lib_$ac_lib_var=yes"
5928 echo "configure: failed program was:" >&5
5929 cat conftest.$ac_ext >&5
5931 eval "ac_cv_lib_$ac_lib_var=no"
5934 LIBS="$ac_save_LIBS"
5937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5938 echo "$ac_t""yes" 1>&6
5941 echo "$ac_t""no" 1>&6
5944 ac_save_LIBS="$LIBS"
5945 LIBS="$LIBS $libiconv"
5947 for ac_func in iconv_open iconv_close iconv nl_langinfo
5949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5950 echo "configure:5951: checking for $ac_func" >&5
5951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5952 echo $ac_n "(cached) $ac_c" 1>&6
5954 cat > conftest.$ac_ext <<EOF
5955 #line 5956 "configure"
5956 #include "confdefs.h"
5957 /* System header to define __stub macros and hopefully few prototypes,
5958 which can conflict with char $ac_func(); below. */
5960 /* Override any gcc2 internal prototype to avoid an error. */
5961 /* We use char because int might match the return type of a gcc2
5962 builtin and then its argument prototype would still apply. */
5967 /* The GNU C library defines this for functions which it implements
5968 to always fail with ENOSYS. Some functions are actually named
5969 something starting with __ and the normal name is an alias. */
5970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5978 if { (eval echo configure:5979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5980 eval "ac_cv_func_$ac_func=yes"
5982 echo "configure: failed program was:" >&5
5983 cat conftest.$ac_ext >&5
5985 eval "ac_cv_func_$ac_func=no"
5990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5991 echo "$ac_t""yes" 1>&6
5992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5993 cat >> confdefs.h <<EOF
5994 #define $ac_tr_func 1
5999 echo "$ac_t""no" 1>&6
6005 LIBS="$ac_save_LIBS"
6007 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6008 echo "configure:6009: checking for XPG2 wchar_t support" >&5
6009 if test x"$ac_has_iconv_h" = xyes &&
6010 test x"$ac_has_langinfo_h" = xyes &&
6011 test x"$ac_XPG2funcs" = xyes; then
6016 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6018 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6019 echo "configure:6020: checking for enabled wchar_t specializations" >&5
6020 if test x"$ac_isoC99_wchar_t" = xyes &&
6021 test x"$ac_XPG2_wchar_t" = xyes; then
6022 cat >> confdefs.h <<\EOF
6023 #define _GLIBCPP_USE_WCHAR_T 1
6026 echo "$ac_t"""yes"" 1>&6
6028 echo "$ac_t"""no"" 1>&6
6031 echo "configure: warning: wchar_t support disabled." 1>&2
6034 os_include_dir="os/hpux"
6035 cat >> confdefs.h <<\EOF
6036 #define HAVE_COPYSIGN 1
6039 cat >> confdefs.h <<\EOF
6040 #define HAVE_COPYSIGNF 1
6043 cat >> confdefs.h <<\EOF
6044 #define HAVE_FREXPF 1
6047 cat >> confdefs.h <<\EOF
6048 #define HAVE_HYPOT 1
6051 case "$target_alias" in
6053 cat >> confdefs.h <<\EOF
6054 #define HAVE_FINITE 1
6057 cat >> confdefs.h <<\EOF
6058 #define HAVE_FINITEF 1
6061 cat >> confdefs.h <<\EOF
6062 #define HAVE_ISINF 1
6065 cat >> confdefs.h <<\EOF
6066 #define HAVE_ISINFF 1
6069 cat >> confdefs.h <<\EOF
6070 #define HAVE_ISNAN 1
6073 cat >> confdefs.h <<\EOF
6074 #define HAVE_ISNANF 1
6082 # Check for available headers.
6083 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6084 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6085 fp.h locale.h float.h inttypes.h
6087 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6089 echo "configure:6090: checking for $ac_hdr" >&5
6090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6091 echo $ac_n "(cached) $ac_c" 1>&6
6093 cat > conftest.$ac_ext <<EOF
6094 #line 6095 "configure"
6095 #include "confdefs.h"
6098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6099 { (eval echo configure:6100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6101 if test -z "$ac_err"; then
6103 eval "ac_cv_header_$ac_safe=yes"
6106 echo "configure: failed program was:" >&5
6107 cat conftest.$ac_ext >&5
6109 eval "ac_cv_header_$ac_safe=no"
6113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6114 echo "$ac_t""yes" 1>&6
6115 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6116 cat >> confdefs.h <<EOF
6117 #define $ac_tr_hdr 1
6121 echo "$ac_t""no" 1>&6
6125 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6128 # If we're not using GNU ld, then there's no point in even trying these
6129 # tests. Check for that first. We should have already tested for gld
6130 # by now (in libtool), but require it now just to be safe...
6131 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6132 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6135 # The name set by libtool depends on the version of libtool. Shame on us
6136 # for depending on an impl detail, but c'est la vie. Older versions used
6137 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6138 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6139 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6140 # set (hence we're using an older libtool), then set it.
6141 if test x${with_gnu_ld+set} != xset; then
6142 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6143 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6146 with_gnu_ld=$ac_cv_prog_gnu_ld
6150 # Start by getting the version number. I think the libtool test already
6151 # does some of this, but throws away the result.
6153 ldver=`$LD --version 2>/dev/null | head -1 | \
6154 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6156 glibcpp_gnu_ld_version=`echo $ldver | \
6157 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6159 # Set --gc-sections.
6160 if test "$with_gnu_ld" = "notbroken"; then
6161 # GNU ld it is! Joy and bunny rabbits!
6163 # All these tests are for C++; save the language and the compiler flags.
6164 # Need to do this so that g++ won't try to link in libstdc++
6165 ac_test_CFLAGS="${CFLAGS+set}"
6166 ac_save_CFLAGS="$CFLAGS"
6167 CFLAGS='-x c++ -Wl,--gc-sections'
6169 # Check for -Wl,--gc-sections
6170 # XXX This test is broken at the moment, as symbols required for
6171 # linking are now in libsupc++ (not built yet.....). In addition,
6172 # this test has cored on solaris in the past. In addition,
6173 # --gc-sections doesn't really work at the moment (keeps on discarding
6174 # used sections, first .eh_frame and now some of the glibc sections for
6175 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6176 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6177 echo "configure:6178: checking for ld that supports -Wl,--gc-sections" >&5
6178 if test "$cross_compiling" = yes; then
6179 ac_sectionLDflags=yes
6181 cat > conftest.$ac_ext <<EOF
6182 #line 6183 "configure"
6183 #include "confdefs.h"
6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6195 ac_sectionLDflags=yes
6197 echo "configure: failed program was:" >&5
6198 cat conftest.$ac_ext >&5
6200 ac_sectionLDflags=no
6205 if test "$ac_test_CFLAGS" = set; then
6206 CFLAGS="$ac_save_CFLAGS"
6208 # this is the suspicious part
6211 if test "$ac_sectionLDflags" = "yes"; then
6212 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6214 echo "$ac_t""$ac_sectionLDflags" 1>&6
6217 # Set linker optimization flags.
6218 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6219 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6226 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6227 echo "configure:6228: checking for main in -lm" >&5
6228 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6229 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6230 echo $ac_n "(cached) $ac_c" 1>&6
6232 ac_save_LIBS="$LIBS"
6234 cat > conftest.$ac_ext <<EOF
6235 #line 6236 "configure"
6236 #include "confdefs.h"
6242 if { (eval echo configure:6243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6244 eval "ac_cv_lib_$ac_lib_var=yes"
6246 echo "configure: failed program was:" >&5
6247 cat conftest.$ac_ext >&5
6249 eval "ac_cv_lib_$ac_lib_var=no"
6252 LIBS="$ac_save_LIBS"
6255 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6256 echo "$ac_t""yes" 1>&6
6257 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6258 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6259 cat >> confdefs.h <<EOF
6260 #define $ac_tr_lib 1
6266 echo "$ac_t""no" 1>&6
6269 for ac_func in nan copysignf
6271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6272 echo "configure:6273: checking for $ac_func" >&5
6273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6274 echo $ac_n "(cached) $ac_c" 1>&6
6276 cat > conftest.$ac_ext <<EOF
6277 #line 6278 "configure"
6278 #include "confdefs.h"
6279 /* System header to define __stub macros and hopefully few prototypes,
6280 which can conflict with char $ac_func(); below. */
6282 /* Override any gcc2 internal prototype to avoid an error. */
6283 /* We use char because int might match the return type of a gcc2
6284 builtin and then its argument prototype would still apply. */
6289 /* The GNU C library defines this for functions which it implements
6290 to always fail with ENOSYS. Some functions are actually named
6291 something starting with __ and the normal name is an alias. */
6292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6300 if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6302 eval "ac_cv_func_$ac_func=yes"
6304 echo "configure: failed program was:" >&5
6305 cat conftest.$ac_ext >&5
6307 eval "ac_cv_func_$ac_func=no"
6312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6313 echo "$ac_t""yes" 1>&6
6314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6315 cat >> confdefs.h <<EOF
6316 #define $ac_tr_func 1
6320 echo "$ac_t""no" 1>&6
6321 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6326 for ac_func in __signbit
6328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6329 echo "configure:6330: checking for $ac_func" >&5
6330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6333 cat > conftest.$ac_ext <<EOF
6334 #line 6335 "configure"
6335 #include "confdefs.h"
6336 /* System header to define __stub macros and hopefully few prototypes,
6337 which can conflict with char $ac_func(); below. */
6339 /* Override any gcc2 internal prototype to avoid an error. */
6340 /* We use char because int might match the return type of a gcc2
6341 builtin and then its argument prototype would still apply. */
6346 /* The GNU C library defines this for functions which it implements
6347 to always fail with ENOSYS. Some functions are actually named
6348 something starting with __ and the normal name is an alias. */
6349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6357 if { (eval echo configure:6358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6359 eval "ac_cv_func_$ac_func=yes"
6361 echo "configure: failed program was:" >&5
6362 cat conftest.$ac_ext >&5
6364 eval "ac_cv_func_$ac_func=no"
6369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6370 echo "$ac_t""yes" 1>&6
6371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6372 cat >> confdefs.h <<EOF
6373 #define $ac_tr_func 1
6377 echo "$ac_t""no" 1>&6
6378 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6382 for ac_func in __signbitf
6384 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6385 echo "configure:6386: checking for $ac_func" >&5
6386 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6387 echo $ac_n "(cached) $ac_c" 1>&6
6389 cat > conftest.$ac_ext <<EOF
6390 #line 6391 "configure"
6391 #include "confdefs.h"
6392 /* System header to define __stub macros and hopefully few prototypes,
6393 which can conflict with char $ac_func(); below. */
6395 /* Override any gcc2 internal prototype to avoid an error. */
6396 /* We use char because int might match the return type of a gcc2
6397 builtin and then its argument prototype would still apply. */
6402 /* The GNU C library defines this for functions which it implements
6403 to always fail with ENOSYS. Some functions are actually named
6404 something starting with __ and the normal name is an alias. */
6405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6413 if { (eval echo configure:6414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6415 eval "ac_cv_func_$ac_func=yes"
6417 echo "configure: failed program was:" >&5
6418 cat conftest.$ac_ext >&5
6420 eval "ac_cv_func_$ac_func=no"
6425 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6426 echo "$ac_t""yes" 1>&6
6427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6428 cat >> confdefs.h <<EOF
6429 #define $ac_tr_func 1
6433 echo "$ac_t""no" 1>&6
6434 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6439 if test x$ac_cv_func_copysignl = x"yes"; then
6440 for ac_func in __signbitl
6442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6443 echo "configure:6444: checking for $ac_func" >&5
6444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6445 echo $ac_n "(cached) $ac_c" 1>&6
6447 cat > conftest.$ac_ext <<EOF
6448 #line 6449 "configure"
6449 #include "confdefs.h"
6450 /* System header to define __stub macros and hopefully few prototypes,
6451 which can conflict with char $ac_func(); below. */
6453 /* Override any gcc2 internal prototype to avoid an error. */
6454 /* We use char because int might match the return type of a gcc2
6455 builtin and then its argument prototype would still apply. */
6460 /* The GNU C library defines this for functions which it implements
6461 to always fail with ENOSYS. Some functions are actually named
6462 something starting with __ and the normal name is an alias. */
6463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6471 if { (eval echo configure:6472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6473 eval "ac_cv_func_$ac_func=yes"
6475 echo "configure: failed program was:" >&5
6476 cat conftest.$ac_ext >&5
6478 eval "ac_cv_func_$ac_func=no"
6483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6484 echo "$ac_t""yes" 1>&6
6485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6486 cat >> confdefs.h <<EOF
6487 #define $ac_tr_func 1
6491 echo "$ac_t""no" 1>&6
6492 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6502 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6503 echo "configure:6504: checking for mbstate_t" >&5
6504 cat > conftest.$ac_ext <<EOF
6505 #line 6506 "configure"
6506 #include "confdefs.h"
6509 mbstate_t teststate;
6512 if { (eval echo configure:6513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6516 echo "configure: failed program was:" >&5
6517 cat conftest.$ac_ext >&5
6522 echo "$ac_t""$have_mbstate_t" 1>&6
6523 if test x"$have_mbstate_t" = xyes; then
6524 cat >> confdefs.h <<\EOF
6525 #define HAVE_MBSTATE_T 1
6530 for ac_hdr in wchar.h
6532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6534 echo "configure:6535: checking for $ac_hdr" >&5
6535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6536 echo $ac_n "(cached) $ac_c" 1>&6
6538 cat > conftest.$ac_ext <<EOF
6539 #line 6540 "configure"
6540 #include "confdefs.h"
6543 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6544 { (eval echo configure:6545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6545 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6546 if test -z "$ac_err"; then
6548 eval "ac_cv_header_$ac_safe=yes"
6551 echo "configure: failed program was:" >&5
6552 cat conftest.$ac_ext >&5
6554 eval "ac_cv_header_$ac_safe=no"
6558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6559 echo "$ac_t""yes" 1>&6
6560 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6561 cat >> confdefs.h <<EOF
6562 #define $ac_tr_hdr 1
6566 echo "$ac_t""no" 1>&6
6571 for ac_hdr in wctype.h
6573 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6574 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6575 echo "configure:6576: checking for $ac_hdr" >&5
6576 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6577 echo $ac_n "(cached) $ac_c" 1>&6
6579 cat > conftest.$ac_ext <<EOF
6580 #line 6581 "configure"
6581 #include "confdefs.h"
6584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6585 { (eval echo configure:6586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6587 if test -z "$ac_err"; then
6589 eval "ac_cv_header_$ac_safe=yes"
6592 echo "configure: failed program was:" >&5
6593 cat conftest.$ac_ext >&5
6595 eval "ac_cv_header_$ac_safe=no"
6599 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6600 echo "$ac_t""yes" 1>&6
6601 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6602 cat >> confdefs.h <<EOF
6603 #define $ac_tr_hdr 1
6607 echo "$ac_t""no" 1>&6
6613 if test x"$ac_has_wchar_h" = xyes &&
6614 test x"$ac_has_wctype_h" = xyes &&
6615 test x"$enable_c_mbchar" != xno; then
6617 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6618 echo "configure:6619: checking for WCHAR_MIN and WCHAR_MAX" >&5
6619 cat > conftest.$ac_ext <<EOF
6620 #line 6621 "configure"
6621 #include "confdefs.h"
6624 int i = WCHAR_MIN; int j = WCHAR_MAX;
6627 if { (eval echo configure:6628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6629 has_wchar_minmax=yes
6631 echo "configure: failed program was:" >&5
6632 cat conftest.$ac_ext >&5
6637 echo "$ac_t""$has_wchar_minmax" 1>&6
6639 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6640 echo "configure:6641: checking for WEOF" >&5
6641 cat > conftest.$ac_ext <<EOF
6642 #line 6643 "configure"
6643 #include "confdefs.h"
6651 if { (eval echo configure:6652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6655 echo "configure: failed program was:" >&5
6656 cat conftest.$ac_ext >&5
6661 echo "$ac_t""$has_weof" 1>&6
6664 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6667 echo "configure:6668: checking for $ac_func" >&5
6668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6669 echo $ac_n "(cached) $ac_c" 1>&6
6671 cat > conftest.$ac_ext <<EOF
6672 #line 6673 "configure"
6673 #include "confdefs.h"
6674 /* System header to define __stub macros and hopefully few prototypes,
6675 which can conflict with char $ac_func(); below. */
6677 /* Override any gcc2 internal prototype to avoid an error. */
6678 /* We use char because int might match the return type of a gcc2
6679 builtin and then its argument prototype would still apply. */
6684 /* The GNU C library defines this for functions which it implements
6685 to always fail with ENOSYS. Some functions are actually named
6686 something starting with __ and the normal name is an alias. */
6687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6695 if { (eval echo configure:6696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6697 eval "ac_cv_func_$ac_func=yes"
6699 echo "configure: failed program was:" >&5
6700 cat conftest.$ac_ext >&5
6702 eval "ac_cv_func_$ac_func=no"
6707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6708 echo "$ac_t""yes" 1>&6
6709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6710 cat >> confdefs.h <<EOF
6711 #define $ac_tr_func 1
6715 echo "$ac_t""no" 1>&6
6722 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6723 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6724 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6725 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6726 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6727 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6730 echo "configure:6731: checking for $ac_func" >&5
6731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6732 echo $ac_n "(cached) $ac_c" 1>&6
6734 cat > conftest.$ac_ext <<EOF
6735 #line 6736 "configure"
6736 #include "confdefs.h"
6737 /* System header to define __stub macros and hopefully few prototypes,
6738 which can conflict with char $ac_func(); below. */
6740 /* Override any gcc2 internal prototype to avoid an error. */
6741 /* We use char because int might match the return type of a gcc2
6742 builtin and then its argument prototype would still apply. */
6747 /* The GNU C library defines this for functions which it implements
6748 to always fail with ENOSYS. Some functions are actually named
6749 something starting with __ and the normal name is an alias. */
6750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6758 if { (eval echo configure:6759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6760 eval "ac_cv_func_$ac_func=yes"
6762 echo "configure: failed program was:" >&5
6763 cat conftest.$ac_ext >&5
6765 eval "ac_cv_func_$ac_func=no"
6770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6771 echo "$ac_t""yes" 1>&6
6772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6773 cat >> confdefs.h <<EOF
6774 #define $ac_tr_func 1
6778 echo "$ac_t""no" 1>&6
6785 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6786 echo "configure:6787: checking for ISO C99 wchar_t support" >&5
6787 if test x"$has_weof" = xyes &&
6788 test x"$has_wchar_minmax" = xyes &&
6789 test x"$ac_wfuncs" = xyes; then
6790 ac_isoC99_wchar_t=yes
6792 ac_isoC99_wchar_t=no
6794 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6796 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6797 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6798 echo "configure:6799: checking for iconv.h" >&5
6799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6800 echo $ac_n "(cached) $ac_c" 1>&6
6802 cat > conftest.$ac_ext <<EOF
6803 #line 6804 "configure"
6804 #include "confdefs.h"
6807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6808 { (eval echo configure:6809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6810 if test -z "$ac_err"; then
6812 eval "ac_cv_header_$ac_safe=yes"
6815 echo "configure: failed program was:" >&5
6816 cat conftest.$ac_ext >&5
6818 eval "ac_cv_header_$ac_safe=no"
6822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6823 echo "$ac_t""yes" 1>&6
6826 echo "$ac_t""no" 1>&6
6830 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6831 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6832 echo "configure:6833: checking for langinfo.h" >&5
6833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6834 echo $ac_n "(cached) $ac_c" 1>&6
6836 cat > conftest.$ac_ext <<EOF
6837 #line 6838 "configure"
6838 #include "confdefs.h"
6839 #include <langinfo.h>
6841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6842 { (eval echo configure:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6844 if test -z "$ac_err"; then
6846 eval "ac_cv_header_$ac_safe=yes"
6849 echo "configure: failed program was:" >&5
6850 cat conftest.$ac_ext >&5
6852 eval "ac_cv_header_$ac_safe=no"
6856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6857 echo "$ac_t""yes" 1>&6
6858 ac_has_langinfo_h=yes
6860 echo "$ac_t""no" 1>&6
6861 ac_has_langinfo_h=no
6865 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6866 echo "configure:6867: checking for iconv in -liconv" >&5
6867 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6869 echo $ac_n "(cached) $ac_c" 1>&6
6871 ac_save_LIBS="$LIBS"
6872 LIBS="-liconv $LIBS"
6873 cat > conftest.$ac_ext <<EOF
6874 #line 6875 "configure"
6875 #include "confdefs.h"
6876 /* Override any gcc2 internal prototype to avoid an error. */
6877 /* We use char because int might match the return type of a gcc2
6878 builtin and then its argument prototype would still apply. */
6885 if { (eval echo configure:6886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6887 eval "ac_cv_lib_$ac_lib_var=yes"
6889 echo "configure: failed program was:" >&5
6890 cat conftest.$ac_ext >&5
6892 eval "ac_cv_lib_$ac_lib_var=no"
6895 LIBS="$ac_save_LIBS"
6898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6899 echo "$ac_t""yes" 1>&6
6902 echo "$ac_t""no" 1>&6
6905 ac_save_LIBS="$LIBS"
6906 LIBS="$LIBS $libiconv"
6908 for ac_func in iconv_open iconv_close iconv nl_langinfo
6910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6911 echo "configure:6912: checking for $ac_func" >&5
6912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6913 echo $ac_n "(cached) $ac_c" 1>&6
6915 cat > conftest.$ac_ext <<EOF
6916 #line 6917 "configure"
6917 #include "confdefs.h"
6918 /* System header to define __stub macros and hopefully few prototypes,
6919 which can conflict with char $ac_func(); below. */
6921 /* Override any gcc2 internal prototype to avoid an error. */
6922 /* We use char because int might match the return type of a gcc2
6923 builtin and then its argument prototype would still apply. */
6928 /* The GNU C library defines this for functions which it implements
6929 to always fail with ENOSYS. Some functions are actually named
6930 something starting with __ and the normal name is an alias. */
6931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6941 eval "ac_cv_func_$ac_func=yes"
6943 echo "configure: failed program was:" >&5
6944 cat conftest.$ac_ext >&5
6946 eval "ac_cv_func_$ac_func=no"
6951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6952 echo "$ac_t""yes" 1>&6
6953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6954 cat >> confdefs.h <<EOF
6955 #define $ac_tr_func 1
6960 echo "$ac_t""no" 1>&6
6966 LIBS="$ac_save_LIBS"
6968 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6969 echo "configure:6970: checking for XPG2 wchar_t support" >&5
6970 if test x"$ac_has_iconv_h" = xyes &&
6971 test x"$ac_has_langinfo_h" = xyes &&
6972 test x"$ac_XPG2funcs" = xyes; then
6977 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6979 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6980 echo "configure:6981: checking for enabled wchar_t specializations" >&5
6981 if test x"$ac_isoC99_wchar_t" = xyes &&
6982 test x"$ac_XPG2_wchar_t" = xyes; then
6983 cat >> confdefs.h <<\EOF
6984 #define _GLIBCPP_USE_WCHAR_T 1
6987 echo "$ac_t"""yes"" 1>&6
6989 echo "$ac_t"""no"" 1>&6
6992 echo "configure: warning: wchar_t support disabled." 1>&2
6995 os_include_dir="os/bsd/netbsd"
6996 cat >> confdefs.h <<\EOF
6997 #define HAVE_COPYSIGN 1
7000 cat >> confdefs.h <<\EOF
7001 #define HAVE_COPYSIGNF 1
7004 cat >> confdefs.h <<\EOF
7005 #define HAVE_FINITEF 1
7008 cat >> confdefs.h <<\EOF
7009 #define HAVE_FINITE 1
7012 cat >> confdefs.h <<\EOF
7013 #define HAVE_FREXPF 1
7016 cat >> confdefs.h <<\EOF
7017 #define HAVE_HYPOTF 1
7020 cat >> confdefs.h <<\EOF
7021 #define HAVE_ISINF 1
7024 cat >> confdefs.h <<\EOF
7025 #define HAVE_ISINFF 1
7028 cat >> confdefs.h <<\EOF
7029 #define HAVE_ISNAN 1
7032 cat >> confdefs.h <<\EOF
7033 #define HAVE_ISNANF 1
7036 if test x"long_double_math_on_this_cpu" = x"yes"; then
7037 cat >> confdefs.h <<\EOF
7038 #define HAVE_FINITEL 1
7041 cat >> confdefs.h <<\EOF
7042 #define HAVE_ISINFL 1
7045 cat >> confdefs.h <<\EOF
7046 #define HAVE_ISNANL 1
7052 for ac_hdr in sys/types.h locale.h float.h
7054 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7056 echo "configure:7057: checking for $ac_hdr" >&5
7057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7058 echo $ac_n "(cached) $ac_c" 1>&6
7060 cat > conftest.$ac_ext <<EOF
7061 #line 7062 "configure"
7062 #include "confdefs.h"
7065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7066 { (eval echo configure:7067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7067 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7068 if test -z "$ac_err"; then
7070 eval "ac_cv_header_$ac_safe=yes"
7073 echo "configure: failed program was:" >&5
7074 cat conftest.$ac_ext >&5
7076 eval "ac_cv_header_$ac_safe=no"
7080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7081 echo "$ac_t""yes" 1>&6
7082 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7083 cat >> confdefs.h <<EOF
7084 #define $ac_tr_hdr 1
7088 echo "$ac_t""no" 1>&6
7093 # If we're not using GNU ld, then there's no point in even trying these
7094 # tests. Check for that first. We should have already tested for gld
7095 # by now (in libtool), but require it now just to be safe...
7096 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7097 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7100 # The name set by libtool depends on the version of libtool. Shame on us
7101 # for depending on an impl detail, but c'est la vie. Older versions used
7102 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7103 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7104 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7105 # set (hence we're using an older libtool), then set it.
7106 if test x${with_gnu_ld+set} != xset; then
7107 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7108 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7111 with_gnu_ld=$ac_cv_prog_gnu_ld
7115 # Start by getting the version number. I think the libtool test already
7116 # does some of this, but throws away the result.
7118 ldver=`$LD --version 2>/dev/null | head -1 | \
7119 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7121 glibcpp_gnu_ld_version=`echo $ldver | \
7122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7124 # Set --gc-sections.
7125 if test "$with_gnu_ld" = "notbroken"; then
7126 # GNU ld it is! Joy and bunny rabbits!
7128 # All these tests are for C++; save the language and the compiler flags.
7129 # Need to do this so that g++ won't try to link in libstdc++
7130 ac_test_CFLAGS="${CFLAGS+set}"
7131 ac_save_CFLAGS="$CFLAGS"
7132 CFLAGS='-x c++ -Wl,--gc-sections'
7134 # Check for -Wl,--gc-sections
7135 # XXX This test is broken at the moment, as symbols required for
7136 # linking are now in libsupc++ (not built yet.....). In addition,
7137 # this test has cored on solaris in the past. In addition,
7138 # --gc-sections doesn't really work at the moment (keeps on discarding
7139 # used sections, first .eh_frame and now some of the glibc sections for
7140 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7141 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7142 echo "configure:7143: checking for ld that supports -Wl,--gc-sections" >&5
7143 if test "$cross_compiling" = yes; then
7144 ac_sectionLDflags=yes
7146 cat > conftest.$ac_ext <<EOF
7147 #line 7148 "configure"
7148 #include "confdefs.h"
7158 if { (eval echo configure:7159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7160 ac_sectionLDflags=yes
7162 echo "configure: failed program was:" >&5
7163 cat conftest.$ac_ext >&5
7165 ac_sectionLDflags=no
7170 if test "$ac_test_CFLAGS" = set; then
7171 CFLAGS="$ac_save_CFLAGS"
7173 # this is the suspicious part
7176 if test "$ac_sectionLDflags" = "yes"; then
7177 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7179 echo "$ac_t""$ac_sectionLDflags" 1>&6
7182 # Set linker optimization flags.
7183 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7184 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7191 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7192 echo "configure:7193: checking for main in -lm" >&5
7193 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7195 echo $ac_n "(cached) $ac_c" 1>&6
7197 ac_save_LIBS="$LIBS"
7199 cat > conftest.$ac_ext <<EOF
7200 #line 7201 "configure"
7201 #include "confdefs.h"
7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7209 eval "ac_cv_lib_$ac_lib_var=yes"
7211 echo "configure: failed program was:" >&5
7212 cat conftest.$ac_ext >&5
7214 eval "ac_cv_lib_$ac_lib_var=no"
7217 LIBS="$ac_save_LIBS"
7220 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7221 echo "$ac_t""yes" 1>&6
7222 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7223 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7224 cat >> confdefs.h <<EOF
7225 #define $ac_tr_lib 1
7231 echo "$ac_t""no" 1>&6
7234 for ac_func in nan copysignf
7236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7237 echo "configure:7238: checking for $ac_func" >&5
7238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7239 echo $ac_n "(cached) $ac_c" 1>&6
7241 cat > conftest.$ac_ext <<EOF
7242 #line 7243 "configure"
7243 #include "confdefs.h"
7244 /* System header to define __stub macros and hopefully few prototypes,
7245 which can conflict with char $ac_func(); below. */
7247 /* Override any gcc2 internal prototype to avoid an error. */
7248 /* We use char because int might match the return type of a gcc2
7249 builtin and then its argument prototype would still apply. */
7254 /* The GNU C library defines this for functions which it implements
7255 to always fail with ENOSYS. Some functions are actually named
7256 something starting with __ and the normal name is an alias. */
7257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7265 if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7267 eval "ac_cv_func_$ac_func=yes"
7269 echo "configure: failed program was:" >&5
7270 cat conftest.$ac_ext >&5
7272 eval "ac_cv_func_$ac_func=no"
7277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7278 echo "$ac_t""yes" 1>&6
7279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7280 cat >> confdefs.h <<EOF
7281 #define $ac_tr_func 1
7285 echo "$ac_t""no" 1>&6
7286 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7291 for ac_func in __signbit
7293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7294 echo "configure:7295: checking for $ac_func" >&5
7295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7296 echo $ac_n "(cached) $ac_c" 1>&6
7298 cat > conftest.$ac_ext <<EOF
7299 #line 7300 "configure"
7300 #include "confdefs.h"
7301 /* System header to define __stub macros and hopefully few prototypes,
7302 which can conflict with char $ac_func(); below. */
7304 /* Override any gcc2 internal prototype to avoid an error. */
7305 /* We use char because int might match the return type of a gcc2
7306 builtin and then its argument prototype would still apply. */
7311 /* The GNU C library defines this for functions which it implements
7312 to always fail with ENOSYS. Some functions are actually named
7313 something starting with __ and the normal name is an alias. */
7314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7322 if { (eval echo configure:7323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7324 eval "ac_cv_func_$ac_func=yes"
7326 echo "configure: failed program was:" >&5
7327 cat conftest.$ac_ext >&5
7329 eval "ac_cv_func_$ac_func=no"
7334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7335 echo "$ac_t""yes" 1>&6
7336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7337 cat >> confdefs.h <<EOF
7338 #define $ac_tr_func 1
7342 echo "$ac_t""no" 1>&6
7343 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7347 for ac_func in __signbitf
7349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7350 echo "configure:7351: checking for $ac_func" >&5
7351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7352 echo $ac_n "(cached) $ac_c" 1>&6
7354 cat > conftest.$ac_ext <<EOF
7355 #line 7356 "configure"
7356 #include "confdefs.h"
7357 /* System header to define __stub macros and hopefully few prototypes,
7358 which can conflict with char $ac_func(); below. */
7360 /* Override any gcc2 internal prototype to avoid an error. */
7361 /* We use char because int might match the return type of a gcc2
7362 builtin and then its argument prototype would still apply. */
7367 /* The GNU C library defines this for functions which it implements
7368 to always fail with ENOSYS. Some functions are actually named
7369 something starting with __ and the normal name is an alias. */
7370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7378 if { (eval echo configure:7379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7380 eval "ac_cv_func_$ac_func=yes"
7382 echo "configure: failed program was:" >&5
7383 cat conftest.$ac_ext >&5
7385 eval "ac_cv_func_$ac_func=no"
7390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7391 echo "$ac_t""yes" 1>&6
7392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7393 cat >> confdefs.h <<EOF
7394 #define $ac_tr_func 1
7398 echo "$ac_t""no" 1>&6
7399 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7404 if test x$ac_cv_func_copysignl = x"yes"; then
7405 for ac_func in __signbitl
7407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7408 echo "configure:7409: checking for $ac_func" >&5
7409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7410 echo $ac_n "(cached) $ac_c" 1>&6
7412 cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure"
7414 #include "confdefs.h"
7415 /* System header to define __stub macros and hopefully few prototypes,
7416 which can conflict with char $ac_func(); below. */
7418 /* Override any gcc2 internal prototype to avoid an error. */
7419 /* We use char because int might match the return type of a gcc2
7420 builtin and then its argument prototype would still apply. */
7425 /* The GNU C library defines this for functions which it implements
7426 to always fail with ENOSYS. Some functions are actually named
7427 something starting with __ and the normal name is an alias. */
7428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7436 if { (eval echo configure:7437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7438 eval "ac_cv_func_$ac_func=yes"
7440 echo "configure: failed program was:" >&5
7441 cat conftest.$ac_ext >&5
7443 eval "ac_cv_func_$ac_func=no"
7448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7449 echo "$ac_t""yes" 1>&6
7450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7451 cat >> confdefs.h <<EOF
7452 #define $ac_tr_func 1
7456 echo "$ac_t""no" 1>&6
7457 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7467 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7468 echo "configure:7469: checking for mbstate_t" >&5
7469 cat > conftest.$ac_ext <<EOF
7470 #line 7471 "configure"
7471 #include "confdefs.h"
7474 mbstate_t teststate;
7477 if { (eval echo configure:7478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7481 echo "configure: failed program was:" >&5
7482 cat conftest.$ac_ext >&5
7487 echo "$ac_t""$have_mbstate_t" 1>&6
7488 if test x"$have_mbstate_t" = xyes; then
7489 cat >> confdefs.h <<\EOF
7490 #define HAVE_MBSTATE_T 1
7495 for ac_hdr in wchar.h
7497 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7499 echo "configure:7500: checking for $ac_hdr" >&5
7500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7501 echo $ac_n "(cached) $ac_c" 1>&6
7503 cat > conftest.$ac_ext <<EOF
7504 #line 7505 "configure"
7505 #include "confdefs.h"
7508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7509 { (eval echo configure:7510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7511 if test -z "$ac_err"; then
7513 eval "ac_cv_header_$ac_safe=yes"
7516 echo "configure: failed program was:" >&5
7517 cat conftest.$ac_ext >&5
7519 eval "ac_cv_header_$ac_safe=no"
7523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7524 echo "$ac_t""yes" 1>&6
7525 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7526 cat >> confdefs.h <<EOF
7527 #define $ac_tr_hdr 1
7531 echo "$ac_t""no" 1>&6
7536 for ac_hdr in wctype.h
7538 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7540 echo "configure:7541: checking for $ac_hdr" >&5
7541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7542 echo $ac_n "(cached) $ac_c" 1>&6
7544 cat > conftest.$ac_ext <<EOF
7545 #line 7546 "configure"
7546 #include "confdefs.h"
7549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7550 { (eval echo configure:7551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7552 if test -z "$ac_err"; then
7554 eval "ac_cv_header_$ac_safe=yes"
7557 echo "configure: failed program was:" >&5
7558 cat conftest.$ac_ext >&5
7560 eval "ac_cv_header_$ac_safe=no"
7564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7565 echo "$ac_t""yes" 1>&6
7566 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7567 cat >> confdefs.h <<EOF
7568 #define $ac_tr_hdr 1
7572 echo "$ac_t""no" 1>&6
7578 if test x"$ac_has_wchar_h" = xyes &&
7579 test x"$ac_has_wctype_h" = xyes &&
7580 test x"$enable_c_mbchar" != xno; then
7582 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7583 echo "configure:7584: checking for WCHAR_MIN and WCHAR_MAX" >&5
7584 cat > conftest.$ac_ext <<EOF
7585 #line 7586 "configure"
7586 #include "confdefs.h"
7589 int i = WCHAR_MIN; int j = WCHAR_MAX;
7592 if { (eval echo configure:7593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7594 has_wchar_minmax=yes
7596 echo "configure: failed program was:" >&5
7597 cat conftest.$ac_ext >&5
7602 echo "$ac_t""$has_wchar_minmax" 1>&6
7604 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7605 echo "configure:7606: checking for WEOF" >&5
7606 cat > conftest.$ac_ext <<EOF
7607 #line 7608 "configure"
7608 #include "confdefs.h"
7616 if { (eval echo configure:7617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7620 echo "configure: failed program was:" >&5
7621 cat conftest.$ac_ext >&5
7626 echo "$ac_t""$has_weof" 1>&6
7629 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7632 echo "configure:7633: checking for $ac_func" >&5
7633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7634 echo $ac_n "(cached) $ac_c" 1>&6
7636 cat > conftest.$ac_ext <<EOF
7637 #line 7638 "configure"
7638 #include "confdefs.h"
7639 /* System header to define __stub macros and hopefully few prototypes,
7640 which can conflict with char $ac_func(); below. */
7642 /* Override any gcc2 internal prototype to avoid an error. */
7643 /* We use char because int might match the return type of a gcc2
7644 builtin and then its argument prototype would still apply. */
7649 /* The GNU C library defines this for functions which it implements
7650 to always fail with ENOSYS. Some functions are actually named
7651 something starting with __ and the normal name is an alias. */
7652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7660 if { (eval echo configure:7661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7662 eval "ac_cv_func_$ac_func=yes"
7664 echo "configure: failed program was:" >&5
7665 cat conftest.$ac_ext >&5
7667 eval "ac_cv_func_$ac_func=no"
7672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7673 echo "$ac_t""yes" 1>&6
7674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7675 cat >> confdefs.h <<EOF
7676 #define $ac_tr_func 1
7680 echo "$ac_t""no" 1>&6
7687 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7688 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7689 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7690 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7691 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7692 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7695 echo "configure:7696: checking for $ac_func" >&5
7696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7697 echo $ac_n "(cached) $ac_c" 1>&6
7699 cat > conftest.$ac_ext <<EOF
7700 #line 7701 "configure"
7701 #include "confdefs.h"
7702 /* System header to define __stub macros and hopefully few prototypes,
7703 which can conflict with char $ac_func(); below. */
7705 /* Override any gcc2 internal prototype to avoid an error. */
7706 /* We use char because int might match the return type of a gcc2
7707 builtin and then its argument prototype would still apply. */
7712 /* The GNU C library defines this for functions which it implements
7713 to always fail with ENOSYS. Some functions are actually named
7714 something starting with __ and the normal name is an alias. */
7715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7723 if { (eval echo configure:7724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7725 eval "ac_cv_func_$ac_func=yes"
7727 echo "configure: failed program was:" >&5
7728 cat conftest.$ac_ext >&5
7730 eval "ac_cv_func_$ac_func=no"
7735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7736 echo "$ac_t""yes" 1>&6
7737 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7738 cat >> confdefs.h <<EOF
7739 #define $ac_tr_func 1
7743 echo "$ac_t""no" 1>&6
7750 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7751 echo "configure:7752: checking for ISO C99 wchar_t support" >&5
7752 if test x"$has_weof" = xyes &&
7753 test x"$has_wchar_minmax" = xyes &&
7754 test x"$ac_wfuncs" = xyes; then
7755 ac_isoC99_wchar_t=yes
7757 ac_isoC99_wchar_t=no
7759 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7761 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7762 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7763 echo "configure:7764: checking for iconv.h" >&5
7764 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7767 cat > conftest.$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7773 { (eval echo configure:7774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7775 if test -z "$ac_err"; then
7777 eval "ac_cv_header_$ac_safe=yes"
7780 echo "configure: failed program was:" >&5
7781 cat conftest.$ac_ext >&5
7783 eval "ac_cv_header_$ac_safe=no"
7787 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7788 echo "$ac_t""yes" 1>&6
7791 echo "$ac_t""no" 1>&6
7795 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7796 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7797 echo "configure:7798: checking for langinfo.h" >&5
7798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7799 echo $ac_n "(cached) $ac_c" 1>&6
7801 cat > conftest.$ac_ext <<EOF
7802 #line 7803 "configure"
7803 #include "confdefs.h"
7804 #include <langinfo.h>
7806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7807 { (eval echo configure:7808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7809 if test -z "$ac_err"; then
7811 eval "ac_cv_header_$ac_safe=yes"
7814 echo "configure: failed program was:" >&5
7815 cat conftest.$ac_ext >&5
7817 eval "ac_cv_header_$ac_safe=no"
7821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7822 echo "$ac_t""yes" 1>&6
7823 ac_has_langinfo_h=yes
7825 echo "$ac_t""no" 1>&6
7826 ac_has_langinfo_h=no
7830 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7831 echo "configure:7832: checking for iconv in -liconv" >&5
7832 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7833 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7834 echo $ac_n "(cached) $ac_c" 1>&6
7836 ac_save_LIBS="$LIBS"
7837 LIBS="-liconv $LIBS"
7838 cat > conftest.$ac_ext <<EOF
7839 #line 7840 "configure"
7840 #include "confdefs.h"
7841 /* Override any gcc2 internal prototype to avoid an error. */
7842 /* We use char because int might match the return type of a gcc2
7843 builtin and then its argument prototype would still apply. */
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7852 eval "ac_cv_lib_$ac_lib_var=yes"
7854 echo "configure: failed program was:" >&5
7855 cat conftest.$ac_ext >&5
7857 eval "ac_cv_lib_$ac_lib_var=no"
7860 LIBS="$ac_save_LIBS"
7863 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7864 echo "$ac_t""yes" 1>&6
7867 echo "$ac_t""no" 1>&6
7870 ac_save_LIBS="$LIBS"
7871 LIBS="$LIBS $libiconv"
7873 for ac_func in iconv_open iconv_close iconv nl_langinfo
7875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7876 echo "configure:7877: checking for $ac_func" >&5
7877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7878 echo $ac_n "(cached) $ac_c" 1>&6
7880 cat > conftest.$ac_ext <<EOF
7881 #line 7882 "configure"
7882 #include "confdefs.h"
7883 /* System header to define __stub macros and hopefully few prototypes,
7884 which can conflict with char $ac_func(); below. */
7886 /* Override any gcc2 internal prototype to avoid an error. */
7887 /* We use char because int might match the return type of a gcc2
7888 builtin and then its argument prototype would still apply. */
7893 /* The GNU C library defines this for functions which it implements
7894 to always fail with ENOSYS. Some functions are actually named
7895 something starting with __ and the normal name is an alias. */
7896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7904 if { (eval echo configure:7905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7906 eval "ac_cv_func_$ac_func=yes"
7908 echo "configure: failed program was:" >&5
7909 cat conftest.$ac_ext >&5
7911 eval "ac_cv_func_$ac_func=no"
7916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7917 echo "$ac_t""yes" 1>&6
7918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7919 cat >> confdefs.h <<EOF
7920 #define $ac_tr_func 1
7925 echo "$ac_t""no" 1>&6
7931 LIBS="$ac_save_LIBS"
7933 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7934 echo "configure:7935: checking for XPG2 wchar_t support" >&5
7935 if test x"$ac_has_iconv_h" = xyes &&
7936 test x"$ac_has_langinfo_h" = xyes &&
7937 test x"$ac_XPG2funcs" = xyes; then
7942 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7944 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7945 echo "configure:7946: checking for enabled wchar_t specializations" >&5
7946 if test x"$ac_isoC99_wchar_t" = xyes &&
7947 test x"$ac_XPG2_wchar_t" = xyes; then
7948 cat >> confdefs.h <<\EOF
7949 #define _GLIBCPP_USE_WCHAR_T 1
7952 echo "$ac_t"""yes"" 1>&6
7954 echo "$ac_t"""no"" 1>&6
7957 echo "configure: warning: wchar_t support disabled." 1>&2
7960 os_include_dir="os/mingw32"
7963 os_include_dir="os/windiss"
7966 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7969 # If we're not using GNU ld, then there's no point in even trying these
7970 # tests. Check for that first. We should have already tested for gld
7971 # by now (in libtool), but require it now just to be safe...
7972 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7973 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7976 # The name set by libtool depends on the version of libtool. Shame on us
7977 # for depending on an impl detail, but c'est la vie. Older versions used
7978 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7979 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7980 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7981 # set (hence we're using an older libtool), then set it.
7982 if test x${with_gnu_ld+set} != xset; then
7983 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7984 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7987 with_gnu_ld=$ac_cv_prog_gnu_ld
7991 # Start by getting the version number. I think the libtool test already
7992 # does some of this, but throws away the result.
7994 ldver=`$LD --version 2>/dev/null | head -1 | \
7995 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7997 glibcpp_gnu_ld_version=`echo $ldver | \
7998 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8000 # Set --gc-sections.
8001 if test "$with_gnu_ld" = "notbroken"; then
8002 # GNU ld it is! Joy and bunny rabbits!
8004 # All these tests are for C++; save the language and the compiler flags.
8005 # Need to do this so that g++ won't try to link in libstdc++
8006 ac_test_CFLAGS="${CFLAGS+set}"
8007 ac_save_CFLAGS="$CFLAGS"
8008 CFLAGS='-x c++ -Wl,--gc-sections'
8010 # Check for -Wl,--gc-sections
8011 # XXX This test is broken at the moment, as symbols required for
8012 # linking are now in libsupc++ (not built yet.....). In addition,
8013 # this test has cored on solaris in the past. In addition,
8014 # --gc-sections doesn't really work at the moment (keeps on discarding
8015 # used sections, first .eh_frame and now some of the glibc sections for
8016 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8017 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8018 echo "configure:8019: checking for ld that supports -Wl,--gc-sections" >&5
8019 if test "$cross_compiling" = yes; then
8020 ac_sectionLDflags=yes
8022 cat > conftest.$ac_ext <<EOF
8023 #line 8024 "configure"
8024 #include "confdefs.h"
8034 if { (eval echo configure:8035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8036 ac_sectionLDflags=yes
8038 echo "configure: failed program was:" >&5
8039 cat conftest.$ac_ext >&5
8041 ac_sectionLDflags=no
8046 if test "$ac_test_CFLAGS" = set; then
8047 CFLAGS="$ac_save_CFLAGS"
8049 # this is the suspicious part
8052 if test "$ac_sectionLDflags" = "yes"; then
8053 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8055 echo "$ac_t""$ac_sectionLDflags" 1>&6
8058 # Set linker optimization flags.
8059 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8060 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8067 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8068 echo "configure:8069: checking for main in -lm" >&5
8069 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8070 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8071 echo $ac_n "(cached) $ac_c" 1>&6
8073 ac_save_LIBS="$LIBS"
8075 cat > conftest.$ac_ext <<EOF
8076 #line 8077 "configure"
8077 #include "confdefs.h"
8083 if { (eval echo configure:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8085 eval "ac_cv_lib_$ac_lib_var=yes"
8087 echo "configure: failed program was:" >&5
8088 cat conftest.$ac_ext >&5
8090 eval "ac_cv_lib_$ac_lib_var=no"
8093 LIBS="$ac_save_LIBS"
8096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8097 echo "$ac_t""yes" 1>&6
8098 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8099 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8100 cat >> confdefs.h <<EOF
8101 #define $ac_tr_lib 1
8107 echo "$ac_t""no" 1>&6
8110 for ac_func in nan copysignf
8112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8113 echo "configure:8114: checking for $ac_func" >&5
8114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8115 echo $ac_n "(cached) $ac_c" 1>&6
8117 cat > conftest.$ac_ext <<EOF
8118 #line 8119 "configure"
8119 #include "confdefs.h"
8120 /* System header to define __stub macros and hopefully few prototypes,
8121 which can conflict with char $ac_func(); below. */
8123 /* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8130 /* The GNU C library defines this for functions which it implements
8131 to always fail with ENOSYS. Some functions are actually named
8132 something starting with __ and the normal name is an alias. */
8133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8143 eval "ac_cv_func_$ac_func=yes"
8145 echo "configure: failed program was:" >&5
8146 cat conftest.$ac_ext >&5
8148 eval "ac_cv_func_$ac_func=no"
8153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8154 echo "$ac_t""yes" 1>&6
8155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8156 cat >> confdefs.h <<EOF
8157 #define $ac_tr_func 1
8161 echo "$ac_t""no" 1>&6
8162 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8167 for ac_func in __signbit
8169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8170 echo "configure:8171: checking for $ac_func" >&5
8171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8172 echo $ac_n "(cached) $ac_c" 1>&6
8174 cat > conftest.$ac_ext <<EOF
8175 #line 8176 "configure"
8176 #include "confdefs.h"
8177 /* System header to define __stub macros and hopefully few prototypes,
8178 which can conflict with char $ac_func(); below. */
8180 /* Override any gcc2 internal prototype to avoid an error. */
8181 /* We use char because int might match the return type of a gcc2
8182 builtin and then its argument prototype would still apply. */
8187 /* The GNU C library defines this for functions which it implements
8188 to always fail with ENOSYS. Some functions are actually named
8189 something starting with __ and the normal name is an alias. */
8190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8198 if { (eval echo configure:8199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8200 eval "ac_cv_func_$ac_func=yes"
8202 echo "configure: failed program was:" >&5
8203 cat conftest.$ac_ext >&5
8205 eval "ac_cv_func_$ac_func=no"
8210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8211 echo "$ac_t""yes" 1>&6
8212 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8213 cat >> confdefs.h <<EOF
8214 #define $ac_tr_func 1
8218 echo "$ac_t""no" 1>&6
8219 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8223 for ac_func in __signbitf
8225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8226 echo "configure:8227: checking for $ac_func" >&5
8227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8228 echo $ac_n "(cached) $ac_c" 1>&6
8230 cat > conftest.$ac_ext <<EOF
8231 #line 8232 "configure"
8232 #include "confdefs.h"
8233 /* System header to define __stub macros and hopefully few prototypes,
8234 which can conflict with char $ac_func(); below. */
8236 /* Override any gcc2 internal prototype to avoid an error. */
8237 /* We use char because int might match the return type of a gcc2
8238 builtin and then its argument prototype would still apply. */
8243 /* The GNU C library defines this for functions which it implements
8244 to always fail with ENOSYS. Some functions are actually named
8245 something starting with __ and the normal name is an alias. */
8246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8254 if { (eval echo configure:8255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8256 eval "ac_cv_func_$ac_func=yes"
8258 echo "configure: failed program was:" >&5
8259 cat conftest.$ac_ext >&5
8261 eval "ac_cv_func_$ac_func=no"
8266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8267 echo "$ac_t""yes" 1>&6
8268 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8269 cat >> confdefs.h <<EOF
8270 #define $ac_tr_func 1
8274 echo "$ac_t""no" 1>&6
8275 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8280 if test x$ac_cv_func_copysignl = x"yes"; then
8281 for ac_func in __signbitl
8283 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8284 echo "configure:8285: checking for $ac_func" >&5
8285 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8286 echo $ac_n "(cached) $ac_c" 1>&6
8288 cat > conftest.$ac_ext <<EOF
8289 #line 8290 "configure"
8290 #include "confdefs.h"
8291 /* System header to define __stub macros and hopefully few prototypes,
8292 which can conflict with char $ac_func(); below. */
8294 /* Override any gcc2 internal prototype to avoid an error. */
8295 /* We use char because int might match the return type of a gcc2
8296 builtin and then its argument prototype would still apply. */
8301 /* The GNU C library defines this for functions which it implements
8302 to always fail with ENOSYS. Some functions are actually named
8303 something starting with __ and the normal name is an alias. */
8304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8314 eval "ac_cv_func_$ac_func=yes"
8316 echo "configure: failed program was:" >&5
8317 cat conftest.$ac_ext >&5
8319 eval "ac_cv_func_$ac_func=no"
8324 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8325 echo "$ac_t""yes" 1>&6
8326 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8327 cat >> confdefs.h <<EOF
8328 #define $ac_tr_func 1
8332 echo "$ac_t""no" 1>&6
8333 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8343 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8344 echo "configure:8345: checking for mbstate_t" >&5
8345 cat > conftest.$ac_ext <<EOF
8346 #line 8347 "configure"
8347 #include "confdefs.h"
8350 mbstate_t teststate;
8353 if { (eval echo configure:8354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8357 echo "configure: failed program was:" >&5
8358 cat conftest.$ac_ext >&5
8363 echo "$ac_t""$have_mbstate_t" 1>&6
8364 if test x"$have_mbstate_t" = xyes; then
8365 cat >> confdefs.h <<\EOF
8366 #define HAVE_MBSTATE_T 1
8371 for ac_hdr in wchar.h
8373 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8374 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8375 echo "configure:8376: checking for $ac_hdr" >&5
8376 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8377 echo $ac_n "(cached) $ac_c" 1>&6
8379 cat > conftest.$ac_ext <<EOF
8380 #line 8381 "configure"
8381 #include "confdefs.h"
8384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8385 { (eval echo configure:8386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8386 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8387 if test -z "$ac_err"; then
8389 eval "ac_cv_header_$ac_safe=yes"
8392 echo "configure: failed program was:" >&5
8393 cat conftest.$ac_ext >&5
8395 eval "ac_cv_header_$ac_safe=no"
8399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8400 echo "$ac_t""yes" 1>&6
8401 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8402 cat >> confdefs.h <<EOF
8403 #define $ac_tr_hdr 1
8407 echo "$ac_t""no" 1>&6
8412 for ac_hdr in wctype.h
8414 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8416 echo "configure:8417: checking for $ac_hdr" >&5
8417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8418 echo $ac_n "(cached) $ac_c" 1>&6
8420 cat > conftest.$ac_ext <<EOF
8421 #line 8422 "configure"
8422 #include "confdefs.h"
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8428 if test -z "$ac_err"; then
8430 eval "ac_cv_header_$ac_safe=yes"
8433 echo "configure: failed program was:" >&5
8434 cat conftest.$ac_ext >&5
8436 eval "ac_cv_header_$ac_safe=no"
8440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8441 echo "$ac_t""yes" 1>&6
8442 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8443 cat >> confdefs.h <<EOF
8444 #define $ac_tr_hdr 1
8448 echo "$ac_t""no" 1>&6
8454 if test x"$ac_has_wchar_h" = xyes &&
8455 test x"$ac_has_wctype_h" = xyes &&
8456 test x"$enable_c_mbchar" != xno; then
8458 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8459 echo "configure:8460: checking for WCHAR_MIN and WCHAR_MAX" >&5
8460 cat > conftest.$ac_ext <<EOF
8461 #line 8462 "configure"
8462 #include "confdefs.h"
8465 int i = WCHAR_MIN; int j = WCHAR_MAX;
8468 if { (eval echo configure:8469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8470 has_wchar_minmax=yes
8472 echo "configure: failed program was:" >&5
8473 cat conftest.$ac_ext >&5
8478 echo "$ac_t""$has_wchar_minmax" 1>&6
8480 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8481 echo "configure:8482: checking for WEOF" >&5
8482 cat > conftest.$ac_ext <<EOF
8483 #line 8484 "configure"
8484 #include "confdefs.h"
8492 if { (eval echo configure:8493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8496 echo "configure: failed program was:" >&5
8497 cat conftest.$ac_ext >&5
8502 echo "$ac_t""$has_weof" 1>&6
8505 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8508 echo "configure:8509: checking for $ac_func" >&5
8509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8510 echo $ac_n "(cached) $ac_c" 1>&6
8512 cat > conftest.$ac_ext <<EOF
8513 #line 8514 "configure"
8514 #include "confdefs.h"
8515 /* System header to define __stub macros and hopefully few prototypes,
8516 which can conflict with char $ac_func(); below. */
8518 /* Override any gcc2 internal prototype to avoid an error. */
8519 /* We use char because int might match the return type of a gcc2
8520 builtin and then its argument prototype would still apply. */
8525 /* The GNU C library defines this for functions which it implements
8526 to always fail with ENOSYS. Some functions are actually named
8527 something starting with __ and the normal name is an alias. */
8528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8536 if { (eval echo configure:8537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8538 eval "ac_cv_func_$ac_func=yes"
8540 echo "configure: failed program was:" >&5
8541 cat conftest.$ac_ext >&5
8543 eval "ac_cv_func_$ac_func=no"
8548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8549 echo "$ac_t""yes" 1>&6
8550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8551 cat >> confdefs.h <<EOF
8552 #define $ac_tr_func 1
8556 echo "$ac_t""no" 1>&6
8563 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8564 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8565 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8566 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8567 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8568 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8571 echo "configure:8572: checking for $ac_func" >&5
8572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8575 cat > conftest.$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8578 /* System header to define __stub macros and hopefully few prototypes,
8579 which can conflict with char $ac_func(); below. */
8581 /* Override any gcc2 internal prototype to avoid an error. */
8582 /* We use char because int might match the return type of a gcc2
8583 builtin and then its argument prototype would still apply. */
8588 /* The GNU C library defines this for functions which it implements
8589 to always fail with ENOSYS. Some functions are actually named
8590 something starting with __ and the normal name is an alias. */
8591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8599 if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8601 eval "ac_cv_func_$ac_func=yes"
8603 echo "configure: failed program was:" >&5
8604 cat conftest.$ac_ext >&5
8606 eval "ac_cv_func_$ac_func=no"
8611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8612 echo "$ac_t""yes" 1>&6
8613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8614 cat >> confdefs.h <<EOF
8615 #define $ac_tr_func 1
8619 echo "$ac_t""no" 1>&6
8626 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8627 echo "configure:8628: checking for ISO C99 wchar_t support" >&5
8628 if test x"$has_weof" = xyes &&
8629 test x"$has_wchar_minmax" = xyes &&
8630 test x"$ac_wfuncs" = xyes; then
8631 ac_isoC99_wchar_t=yes
8633 ac_isoC99_wchar_t=no
8635 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8637 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8638 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8639 echo "configure:8640: checking for iconv.h" >&5
8640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8641 echo $ac_n "(cached) $ac_c" 1>&6
8643 cat > conftest.$ac_ext <<EOF
8644 #line 8645 "configure"
8645 #include "confdefs.h"
8648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8649 { (eval echo configure:8650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8651 if test -z "$ac_err"; then
8653 eval "ac_cv_header_$ac_safe=yes"
8656 echo "configure: failed program was:" >&5
8657 cat conftest.$ac_ext >&5
8659 eval "ac_cv_header_$ac_safe=no"
8663 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8664 echo "$ac_t""yes" 1>&6
8667 echo "$ac_t""no" 1>&6
8671 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8672 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8673 echo "configure:8674: checking for langinfo.h" >&5
8674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8675 echo $ac_n "(cached) $ac_c" 1>&6
8677 cat > conftest.$ac_ext <<EOF
8678 #line 8679 "configure"
8679 #include "confdefs.h"
8680 #include <langinfo.h>
8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8685 if test -z "$ac_err"; then
8687 eval "ac_cv_header_$ac_safe=yes"
8690 echo "configure: failed program was:" >&5
8691 cat conftest.$ac_ext >&5
8693 eval "ac_cv_header_$ac_safe=no"
8697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8698 echo "$ac_t""yes" 1>&6
8699 ac_has_langinfo_h=yes
8701 echo "$ac_t""no" 1>&6
8702 ac_has_langinfo_h=no
8706 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8707 echo "configure:8708: checking for iconv in -liconv" >&5
8708 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8710 echo $ac_n "(cached) $ac_c" 1>&6
8712 ac_save_LIBS="$LIBS"
8713 LIBS="-liconv $LIBS"
8714 cat > conftest.$ac_ext <<EOF
8715 #line 8716 "configure"
8716 #include "confdefs.h"
8717 /* Override any gcc2 internal prototype to avoid an error. */
8718 /* We use char because int might match the return type of a gcc2
8719 builtin and then its argument prototype would still apply. */
8726 if { (eval echo configure:8727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8728 eval "ac_cv_lib_$ac_lib_var=yes"
8730 echo "configure: failed program was:" >&5
8731 cat conftest.$ac_ext >&5
8733 eval "ac_cv_lib_$ac_lib_var=no"
8736 LIBS="$ac_save_LIBS"
8739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8740 echo "$ac_t""yes" 1>&6
8743 echo "$ac_t""no" 1>&6
8746 ac_save_LIBS="$LIBS"
8747 LIBS="$LIBS $libiconv"
8749 for ac_func in iconv_open iconv_close iconv nl_langinfo
8751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8752 echo "configure:8753: checking for $ac_func" >&5
8753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8754 echo $ac_n "(cached) $ac_c" 1>&6
8756 cat > conftest.$ac_ext <<EOF
8757 #line 8758 "configure"
8758 #include "confdefs.h"
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func(); below. */
8762 /* Override any gcc2 internal prototype to avoid an error. */
8763 /* We use char because int might match the return type of a gcc2
8764 builtin and then its argument prototype would still apply. */
8769 /* The GNU C library defines this for functions which it implements
8770 to always fail with ENOSYS. Some functions are actually named
8771 something starting with __ and the normal name is an alias. */
8772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8782 eval "ac_cv_func_$ac_func=yes"
8784 echo "configure: failed program was:" >&5
8785 cat conftest.$ac_ext >&5
8787 eval "ac_cv_func_$ac_func=no"
8792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8793 echo "$ac_t""yes" 1>&6
8794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8795 cat >> confdefs.h <<EOF
8796 #define $ac_tr_func 1
8801 echo "$ac_t""no" 1>&6
8807 LIBS="$ac_save_LIBS"
8809 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8810 echo "configure:8811: checking for XPG2 wchar_t support" >&5
8811 if test x"$ac_has_iconv_h" = xyes &&
8812 test x"$ac_has_langinfo_h" = xyes &&
8813 test x"$ac_XPG2funcs" = xyes; then
8818 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8820 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8821 echo "configure:8822: checking for enabled wchar_t specializations" >&5
8822 if test x"$ac_isoC99_wchar_t" = xyes &&
8823 test x"$ac_XPG2_wchar_t" = xyes; then
8824 cat >> confdefs.h <<\EOF
8825 #define _GLIBCPP_USE_WCHAR_T 1
8828 echo "$ac_t"""yes"" 1>&6
8830 echo "$ac_t"""no"" 1>&6
8833 echo "configure: warning: wchar_t support disabled." 1>&2
8836 os_include_dir="os/qnx/qnx6.1"
8837 cat >> confdefs.h <<\EOF
8841 cat >> confdefs.h <<\EOF
8845 cat >> confdefs.h <<\EOF
8846 #define HAVE_COSHF 1
8849 cat >> confdefs.h <<\EOF
8850 #define HAVE_COSHL 1
8853 cat >> confdefs.h <<\EOF
8857 cat >> confdefs.h <<\EOF
8861 cat >> confdefs.h <<\EOF
8862 #define HAVE_LOG10F 1
8865 cat >> confdefs.h <<\EOF
8866 #define HAVE_LOG10L 1
8869 cat >> confdefs.h <<\EOF
8873 cat >> confdefs.h <<\EOF
8877 cat >> confdefs.h <<\EOF
8878 #define HAVE_SINHF 1
8881 cat >> confdefs.h <<\EOF
8882 #define HAVE_SINHL 1
8887 os_include_dir="os/newlib"
8888 cat >> confdefs.h <<\EOF
8889 #define HAVE_HYPOT 1
8895 case "$target_alias" in
8899 cat >> confdefs.h <<\EOF
8900 #define HAVE_ACOSF 1
8903 cat >> confdefs.h <<\EOF
8904 #define HAVE_ASINF 1
8907 cat >> confdefs.h <<\EOF
8908 #define HAVE_ATAN2F 1
8911 cat >> confdefs.h <<\EOF
8912 #define HAVE_ATANF 1
8915 cat >> confdefs.h <<\EOF
8916 #define HAVE_CEILF 1
8919 cat >> confdefs.h <<\EOF
8920 #define HAVE_COPYSIGN 1
8923 cat >> confdefs.h <<\EOF
8924 #define HAVE_COPYSIGNF 1
8927 cat >> confdefs.h <<\EOF
8931 cat >> confdefs.h <<\EOF
8932 #define HAVE_COSHF 1
8935 cat >> confdefs.h <<\EOF
8939 cat >> confdefs.h <<\EOF
8940 #define HAVE_FABSF 1
8943 cat >> confdefs.h <<\EOF
8944 #define HAVE_FLOORF 1
8947 cat >> confdefs.h <<\EOF
8948 #define HAVE_FMODF 1
8951 cat >> confdefs.h <<\EOF
8952 #define HAVE_FREXPF 1
8955 cat >> confdefs.h <<\EOF
8956 #define HAVE_LDEXPF 1
8959 cat >> confdefs.h <<\EOF
8960 #define HAVE_LOG10F 1
8963 cat >> confdefs.h <<\EOF
8967 cat >> confdefs.h <<\EOF
8968 #define HAVE_MODFF 1
8971 cat >> confdefs.h <<\EOF
8975 cat >> confdefs.h <<\EOF
8979 cat >> confdefs.h <<\EOF
8980 #define HAVE_SINHF 1
8983 cat >> confdefs.h <<\EOF
8984 #define HAVE_SQRTF 1
8987 cat >> confdefs.h <<\EOF
8991 cat >> confdefs.h <<\EOF
8992 #define HAVE_TANHF 1
8997 # GLIBCPP_CHECK_STDLIB_SUPPORT
8998 cat >> confdefs.h <<\EOF
8999 #define HAVE_STRTOF 1
9002 cat >> confdefs.h <<\EOF
9003 #define HAVE_STRTOLD 1
9007 cat >> confdefs.h <<\EOF
9012 cat >> confdefs.h <<\EOF
9013 #define HAVE_ACOSF 1
9016 cat >> confdefs.h <<\EOF
9017 #define HAVE_ASINF 1
9020 cat >> confdefs.h <<\EOF
9021 #define HAVE_ATAN2F 1
9024 cat >> confdefs.h <<\EOF
9025 #define HAVE_ATANF 1
9028 cat >> confdefs.h <<\EOF
9029 #define HAVE_CEILF 1
9032 cat >> confdefs.h <<\EOF
9033 #define HAVE_COPYSIGN 1
9036 cat >> confdefs.h <<\EOF
9037 #define HAVE_COPYSIGNF 1
9040 cat >> confdefs.h <<\EOF
9044 cat >> confdefs.h <<\EOF
9045 #define HAVE_COSHF 1
9048 cat >> confdefs.h <<\EOF
9052 cat >> confdefs.h <<\EOF
9053 #define HAVE_FABSF 1
9056 cat >> confdefs.h <<\EOF
9057 #define HAVE_FLOORF 1
9060 cat >> confdefs.h <<\EOF
9061 #define HAVE_FMODF 1
9064 cat >> confdefs.h <<\EOF
9065 #define HAVE_FREXPF 1
9068 cat >> confdefs.h <<\EOF
9069 #define HAVE_LDEXPF 1
9072 cat >> confdefs.h <<\EOF
9073 #define HAVE_LOG10F 1
9076 cat >> confdefs.h <<\EOF
9080 cat >> confdefs.h <<\EOF
9081 #define HAVE_MODFF 1
9084 cat >> confdefs.h <<\EOF
9088 cat >> confdefs.h <<\EOF
9092 cat >> confdefs.h <<\EOF
9093 #define HAVE_SINHF 1
9096 cat >> confdefs.h <<\EOF
9097 #define HAVE_SQRTF 1
9100 cat >> confdefs.h <<\EOF
9104 cat >> confdefs.h <<\EOF
9105 #define HAVE_TANHF 1
9111 # At some point, we should differentiate between architectures
9112 # like x86, which have long double versions, and alpha/powerpc/etc.,
9113 # which don't. For the time being, punt.
9114 if test x"long_double_math_on_this_cpu" = x"yes"; then
9115 cat >> confdefs.h <<\EOF
9116 #define HAVE_ACOSL 1
9119 cat >> confdefs.h <<\EOF
9120 #define HAVE_ASINL 1
9123 cat >> confdefs.h <<\EOF
9124 #define HAVE_ATAN2L 1
9127 cat >> confdefs.h <<\EOF
9128 #define HAVE_ATANL 1
9131 cat >> confdefs.h <<\EOF
9132 #define HAVE_CEILL 1
9135 cat >> confdefs.h <<\EOF
9136 #define HAVE_COPYSIGNL 1
9139 cat >> confdefs.h <<\EOF
9143 cat >> confdefs.h <<\EOF
9144 #define HAVE_COSHL 1
9147 cat >> confdefs.h <<\EOF
9151 cat >> confdefs.h <<\EOF
9152 #define HAVE_FABSL 1
9155 cat >> confdefs.h <<\EOF
9156 #define HAVE_FLOORL 1
9159 cat >> confdefs.h <<\EOF
9160 #define HAVE_FMODL 1
9163 cat >> confdefs.h <<\EOF
9164 #define HAVE_FREXPL 1
9167 cat >> confdefs.h <<\EOF
9168 #define HAVE_LDEXPL 1
9171 cat >> confdefs.h <<\EOF
9172 #define HAVE_LOG10L 1
9175 cat >> confdefs.h <<\EOF
9179 cat >> confdefs.h <<\EOF
9180 #define HAVE_MODFL 1
9183 cat >> confdefs.h <<\EOF
9187 cat >> confdefs.h <<\EOF
9188 #define HAVE_SINCOSL 1
9191 cat >> confdefs.h <<\EOF
9195 cat >> confdefs.h <<\EOF
9196 #define HAVE_SINHL 1
9199 cat >> confdefs.h <<\EOF
9200 #define HAVE_SQRTL 1
9203 cat >> confdefs.h <<\EOF
9207 cat >> confdefs.h <<\EOF
9208 #define HAVE_TANHL 1
9215 # We are being configured natively. We can do more elaborate tests
9216 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9218 GLIBCPP_IS_CROSS_COMPILING=0
9221 # Check for available headers.
9222 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9223 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9227 echo "configure:9228: checking for $ac_hdr" >&5
9228 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9229 echo $ac_n "(cached) $ac_c" 1>&6
9231 cat > conftest.$ac_ext <<EOF
9232 #line 9233 "configure"
9233 #include "confdefs.h"
9236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9237 { (eval echo configure:9238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9239 if test -z "$ac_err"; then
9241 eval "ac_cv_header_$ac_safe=yes"
9244 echo "configure: failed program was:" >&5
9245 cat conftest.$ac_ext >&5
9247 eval "ac_cv_header_$ac_safe=no"
9251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9252 echo "$ac_t""yes" 1>&6
9253 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9254 cat >> confdefs.h <<EOF
9255 #define $ac_tr_hdr 1
9259 echo "$ac_t""no" 1>&6
9265 # All these tests are for C++; save the language and the compiler flags.
9266 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9267 # found in GLIBCPP_CONFIGURE.
9270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9271 ac_cpp='$CXXCPP $CPPFLAGS'
9272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9274 cross_compiling=$ac_cv_prog_cxx_cross
9276 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9277 ac_save_CXXFLAGS="$CXXFLAGS"
9279 # Check for maintainer-mode bits.
9280 if test x"$USE_MAINTAINER_MODE" = xno; then
9286 # Check for -ffunction-sections -fdata-sections
9287 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9288 echo "configure:9289: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9289 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9290 cat > conftest.$ac_ext <<EOF
9291 #line 9292 "configure"
9292 #include "confdefs.h"
9299 if { (eval echo configure:9300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9303 echo "configure: failed program was:" >&5
9304 cat conftest.$ac_ext >&5
9309 if test "$ac_test_CXXFLAGS" = set; then
9310 CXXFLAGS="$ac_save_CXXFLAGS"
9312 # this is the suspicious part
9315 if test x"$ac_fdsections" = x"yes" &&
9316 test x"$enable_debug" = x"no"; then
9317 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9319 echo "$ac_t""$ac_fdsections" 1>&6
9322 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9323 ac_cpp='$CPP $CPPFLAGS'
9324 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9325 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9326 cross_compiling=$ac_cv_prog_cc_cross
9332 # If we're not using GNU ld, then there's no point in even trying these
9333 # tests. Check for that first. We should have already tested for gld
9334 # by now (in libtool), but require it now just to be safe...
9335 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9336 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9339 # The name set by libtool depends on the version of libtool. Shame on us
9340 # for depending on an impl detail, but c'est la vie. Older versions used
9341 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9342 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9343 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9344 # set (hence we're using an older libtool), then set it.
9345 if test x${with_gnu_ld+set} != xset; then
9346 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9347 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9350 with_gnu_ld=$ac_cv_prog_gnu_ld
9354 # Start by getting the version number. I think the libtool test already
9355 # does some of this, but throws away the result.
9357 ldver=`$LD --version 2>/dev/null | head -1 | \
9358 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9360 glibcpp_gnu_ld_version=`echo $ldver | \
9361 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9363 # Set --gc-sections.
9364 if test "$with_gnu_ld" = "notbroken"; then
9365 # GNU ld it is! Joy and bunny rabbits!
9367 # All these tests are for C++; save the language and the compiler flags.
9368 # Need to do this so that g++ won't try to link in libstdc++
9369 ac_test_CFLAGS="${CFLAGS+set}"
9370 ac_save_CFLAGS="$CFLAGS"
9371 CFLAGS='-x c++ -Wl,--gc-sections'
9373 # Check for -Wl,--gc-sections
9374 # XXX This test is broken at the moment, as symbols required for
9375 # linking are now in libsupc++ (not built yet.....). In addition,
9376 # this test has cored on solaris in the past. In addition,
9377 # --gc-sections doesn't really work at the moment (keeps on discarding
9378 # used sections, first .eh_frame and now some of the glibc sections for
9379 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9380 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9381 echo "configure:9382: checking for ld that supports -Wl,--gc-sections" >&5
9382 if test "$cross_compiling" = yes; then
9383 ac_sectionLDflags=yes
9385 cat > conftest.$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9397 if { (eval echo configure:9398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9399 ac_sectionLDflags=yes
9401 echo "configure: failed program was:" >&5
9402 cat conftest.$ac_ext >&5
9404 ac_sectionLDflags=no
9409 if test "$ac_test_CFLAGS" = set; then
9410 CFLAGS="$ac_save_CFLAGS"
9412 # this is the suspicious part
9415 if test "$ac_sectionLDflags" = "yes"; then
9416 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9418 echo "$ac_t""$ac_sectionLDflags" 1>&6
9421 # Set linker optimization flags.
9422 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9423 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9431 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9432 echo "configure:9433: checking for __builtin_abs declaration" >&5
9433 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9434 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9435 echo $ac_n "(cached) $ac_c" 1>&6
9440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9441 ac_cpp='$CXXCPP $CPPFLAGS'
9442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9444 cross_compiling=$ac_cv_prog_cxx_cross
9446 cat > conftest.$ac_ext <<EOF
9447 #line 9448 "configure"
9448 #include "confdefs.h"
9454 if { (eval echo configure:9455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9456 glibcpp_cv_func___builtin_abs_use=yes
9458 echo "configure: failed program was:" >&5
9459 cat conftest.$ac_ext >&5
9461 glibcpp_cv_func___builtin_abs_use=no
9465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9466 ac_cpp='$CPP $CPPFLAGS'
9467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9469 cross_compiling=$ac_cv_prog_cc_cross
9475 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9476 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9477 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9478 echo "configure:9479: checking for __builtin_abs linkage" >&5
9479 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9480 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9481 echo $ac_n "(cached) $ac_c" 1>&6
9484 cat > conftest.$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9494 glibcpp_cv_func___builtin_abs_link=yes
9496 echo "configure: failed program was:" >&5
9497 cat conftest.$ac_ext >&5
9499 glibcpp_cv_func___builtin_abs_link=no
9506 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9507 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9508 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9509 cat >> confdefs.h <<EOF
9510 #define ${ac_tr_func} 1
9517 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9518 echo "configure:9519: checking for __builtin_fabsf declaration" >&5
9519 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9520 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9521 echo $ac_n "(cached) $ac_c" 1>&6
9526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9527 ac_cpp='$CXXCPP $CPPFLAGS'
9528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9530 cross_compiling=$ac_cv_prog_cxx_cross
9532 cat > conftest.$ac_ext <<EOF
9533 #line 9534 "configure"
9534 #include "confdefs.h"
9540 if { (eval echo configure:9541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9542 glibcpp_cv_func___builtin_fabsf_use=yes
9544 echo "configure: failed program was:" >&5
9545 cat conftest.$ac_ext >&5
9547 glibcpp_cv_func___builtin_fabsf_use=no
9551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9552 ac_cpp='$CPP $CPPFLAGS'
9553 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9554 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9555 cross_compiling=$ac_cv_prog_cc_cross
9561 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9562 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9563 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9564 echo "configure:9565: checking for __builtin_fabsf linkage" >&5
9565 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9566 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9567 echo $ac_n "(cached) $ac_c" 1>&6
9570 cat > conftest.$ac_ext <<EOF
9571 #line 9572 "configure"
9572 #include "confdefs.h"
9578 if { (eval echo configure:9579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9580 glibcpp_cv_func___builtin_fabsf_link=yes
9582 echo "configure: failed program was:" >&5
9583 cat conftest.$ac_ext >&5
9585 glibcpp_cv_func___builtin_fabsf_link=no
9592 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9593 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9594 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9595 cat >> confdefs.h <<EOF
9596 #define ${ac_tr_func} 1
9603 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9604 echo "configure:9605: checking for __builtin_fabs declaration" >&5
9605 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9606 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9607 echo $ac_n "(cached) $ac_c" 1>&6
9612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9613 ac_cpp='$CXXCPP $CPPFLAGS'
9614 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9615 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9616 cross_compiling=$ac_cv_prog_cxx_cross
9618 cat > conftest.$ac_ext <<EOF
9619 #line 9620 "configure"
9620 #include "confdefs.h"
9626 if { (eval echo configure:9627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9628 glibcpp_cv_func___builtin_fabs_use=yes
9630 echo "configure: failed program was:" >&5
9631 cat conftest.$ac_ext >&5
9633 glibcpp_cv_func___builtin_fabs_use=no
9637 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9638 ac_cpp='$CPP $CPPFLAGS'
9639 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9640 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9641 cross_compiling=$ac_cv_prog_cc_cross
9647 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9648 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9649 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9650 echo "configure:9651: checking for __builtin_fabs linkage" >&5
9651 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9652 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9653 echo $ac_n "(cached) $ac_c" 1>&6
9656 cat > conftest.$ac_ext <<EOF
9657 #line 9658 "configure"
9658 #include "confdefs.h"
9664 if { (eval echo configure:9665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9666 glibcpp_cv_func___builtin_fabs_link=yes
9668 echo "configure: failed program was:" >&5
9669 cat conftest.$ac_ext >&5
9671 glibcpp_cv_func___builtin_fabs_link=no
9678 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9679 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9680 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9681 cat >> confdefs.h <<EOF
9682 #define ${ac_tr_func} 1
9689 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9690 echo "configure:9691: checking for __builtin_fabsl declaration" >&5
9691 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9692 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9693 echo $ac_n "(cached) $ac_c" 1>&6
9698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9699 ac_cpp='$CXXCPP $CPPFLAGS'
9700 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9701 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9702 cross_compiling=$ac_cv_prog_cxx_cross
9704 cat > conftest.$ac_ext <<EOF
9705 #line 9706 "configure"
9706 #include "confdefs.h"
9712 if { (eval echo configure:9713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9714 glibcpp_cv_func___builtin_fabsl_use=yes
9716 echo "configure: failed program was:" >&5
9717 cat conftest.$ac_ext >&5
9719 glibcpp_cv_func___builtin_fabsl_use=no
9723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9724 ac_cpp='$CPP $CPPFLAGS'
9725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9727 cross_compiling=$ac_cv_prog_cc_cross
9733 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9734 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9735 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9736 echo "configure:9737: checking for __builtin_fabsl linkage" >&5
9737 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9738 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9739 echo $ac_n "(cached) $ac_c" 1>&6
9742 cat > conftest.$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9750 if { (eval echo configure:9751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9752 glibcpp_cv_func___builtin_fabsl_link=yes
9754 echo "configure: failed program was:" >&5
9755 cat conftest.$ac_ext >&5
9757 glibcpp_cv_func___builtin_fabsl_link=no
9764 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9765 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9766 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9767 cat >> confdefs.h <<EOF
9768 #define ${ac_tr_func} 1
9775 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9776 echo "configure:9777: checking for __builtin_labs declaration" >&5
9777 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9778 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9779 echo $ac_n "(cached) $ac_c" 1>&6
9784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9785 ac_cpp='$CXXCPP $CPPFLAGS'
9786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9788 cross_compiling=$ac_cv_prog_cxx_cross
9790 cat > conftest.$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9798 if { (eval echo configure:9799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9800 glibcpp_cv_func___builtin_labs_use=yes
9802 echo "configure: failed program was:" >&5
9803 cat conftest.$ac_ext >&5
9805 glibcpp_cv_func___builtin_labs_use=no
9809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9810 ac_cpp='$CPP $CPPFLAGS'
9811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9813 cross_compiling=$ac_cv_prog_cc_cross
9819 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9820 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9821 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9822 echo "configure:9823: checking for __builtin_labs linkage" >&5
9823 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9824 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9825 echo $ac_n "(cached) $ac_c" 1>&6
9828 cat > conftest.$ac_ext <<EOF
9829 #line 9830 "configure"
9830 #include "confdefs.h"
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9838 glibcpp_cv_func___builtin_labs_link=yes
9840 echo "configure: failed program was:" >&5
9841 cat conftest.$ac_ext >&5
9843 glibcpp_cv_func___builtin_labs_link=no
9850 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9851 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9852 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9853 cat >> confdefs.h <<EOF
9854 #define ${ac_tr_func} 1
9862 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9863 echo "configure:9864: checking for __builtin_sqrtf declaration" >&5
9864 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9865 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9866 echo $ac_n "(cached) $ac_c" 1>&6
9871 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9872 ac_cpp='$CXXCPP $CPPFLAGS'
9873 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9874 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9875 cross_compiling=$ac_cv_prog_cxx_cross
9877 cat > conftest.$ac_ext <<EOF
9878 #line 9879 "configure"
9879 #include "confdefs.h"
9885 if { (eval echo configure:9886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9887 glibcpp_cv_func___builtin_sqrtf_use=yes
9889 echo "configure: failed program was:" >&5
9890 cat conftest.$ac_ext >&5
9892 glibcpp_cv_func___builtin_sqrtf_use=no
9896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9899 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9900 cross_compiling=$ac_cv_prog_cc_cross
9906 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9907 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9908 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9909 echo "configure:9910: checking for __builtin_sqrtf linkage" >&5
9910 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9911 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9912 echo $ac_n "(cached) $ac_c" 1>&6
9915 cat > conftest.$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9925 glibcpp_cv_func___builtin_sqrtf_link=yes
9927 echo "configure: failed program was:" >&5
9928 cat conftest.$ac_ext >&5
9930 glibcpp_cv_func___builtin_sqrtf_link=no
9937 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9938 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9939 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9940 cat >> confdefs.h <<EOF
9941 #define ${ac_tr_func} 1
9948 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9949 echo "configure:9950: checking for __builtin_sqrt declaration" >&5
9950 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9951 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9952 echo $ac_n "(cached) $ac_c" 1>&6
9957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9958 ac_cpp='$CXXCPP $CPPFLAGS'
9959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9961 cross_compiling=$ac_cv_prog_cxx_cross
9963 cat > conftest.$ac_ext <<EOF
9964 #line 9965 "configure"
9965 #include "confdefs.h"
9971 if { (eval echo configure:9972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9973 glibcpp_cv_func___builtin_sqrt_use=yes
9975 echo "configure: failed program was:" >&5
9976 cat conftest.$ac_ext >&5
9978 glibcpp_cv_func___builtin_sqrt_use=no
9982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9983 ac_cpp='$CPP $CPPFLAGS'
9984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9986 cross_compiling=$ac_cv_prog_cc_cross
9992 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9993 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9994 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9995 echo "configure:9996: checking for __builtin_sqrt linkage" >&5
9996 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9997 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9998 echo $ac_n "(cached) $ac_c" 1>&6
10001 cat > conftest.$ac_ext <<EOF
10002 #line 10003 "configure"
10003 #include "confdefs.h"
10009 if { (eval echo configure:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10011 glibcpp_cv_func___builtin_sqrt_link=yes
10013 echo "configure: failed program was:" >&5
10014 cat conftest.$ac_ext >&5
10016 glibcpp_cv_func___builtin_sqrt_link=no
10023 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
10024 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
10025 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10026 cat >> confdefs.h <<EOF
10027 #define ${ac_tr_func} 1
10034 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
10035 echo "configure:10036: checking for __builtin_sqrtl declaration" >&5
10036 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10037 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10038 echo $ac_n "(cached) $ac_c" 1>&6
10043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10044 ac_cpp='$CXXCPP $CPPFLAGS'
10045 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10046 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10047 cross_compiling=$ac_cv_prog_cxx_cross
10049 cat > conftest.$ac_ext <<EOF
10050 #line 10051 "configure"
10051 #include "confdefs.h"
10054 __builtin_sqrtl(0);
10057 if { (eval echo configure:10058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10059 glibcpp_cv_func___builtin_sqrtl_use=yes
10061 echo "configure: failed program was:" >&5
10062 cat conftest.$ac_ext >&5
10064 glibcpp_cv_func___builtin_sqrtl_use=no
10068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10069 ac_cpp='$CPP $CPPFLAGS'
10070 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10071 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10072 cross_compiling=$ac_cv_prog_cc_cross
10078 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10079 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10080 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10081 echo "configure:10082: checking for __builtin_sqrtl linkage" >&5
10082 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10083 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10084 echo $ac_n "(cached) $ac_c" 1>&6
10087 cat > conftest.$ac_ext <<EOF
10088 #line 10089 "configure"
10089 #include "confdefs.h"
10092 __builtin_sqrtl(0);
10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10097 glibcpp_cv_func___builtin_sqrtl_link=yes
10099 echo "configure: failed program was:" >&5
10100 cat conftest.$ac_ext >&5
10102 glibcpp_cv_func___builtin_sqrtl_link=no
10109 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10110 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10111 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10112 cat >> confdefs.h <<EOF
10113 #define ${ac_tr_func} 1
10121 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10122 echo "configure:10123: checking for __builtin_sinf declaration" >&5
10123 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10124 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10131 ac_cpp='$CXXCPP $CPPFLAGS'
10132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10134 cross_compiling=$ac_cv_prog_cxx_cross
10136 cat > conftest.$ac_ext <<EOF
10137 #line 10138 "configure"
10138 #include "confdefs.h"
10144 if { (eval echo configure:10145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10146 glibcpp_cv_func___builtin_sinf_use=yes
10148 echo "configure: failed program was:" >&5
10149 cat conftest.$ac_ext >&5
10151 glibcpp_cv_func___builtin_sinf_use=no
10155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10156 ac_cpp='$CPP $CPPFLAGS'
10157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10159 cross_compiling=$ac_cv_prog_cc_cross
10165 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10166 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10167 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10168 echo "configure:10169: checking for __builtin_sinf linkage" >&5
10169 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10170 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10171 echo $ac_n "(cached) $ac_c" 1>&6
10174 cat > conftest.$ac_ext <<EOF
10175 #line 10176 "configure"
10176 #include "confdefs.h"
10182 if { (eval echo configure:10183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10184 glibcpp_cv_func___builtin_sinf_link=yes
10186 echo "configure: failed program was:" >&5
10187 cat conftest.$ac_ext >&5
10189 glibcpp_cv_func___builtin_sinf_link=no
10196 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10197 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10198 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10199 cat >> confdefs.h <<EOF
10200 #define ${ac_tr_func} 1
10207 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10208 echo "configure:10209: checking for __builtin_sin declaration" >&5
10209 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10210 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10211 echo $ac_n "(cached) $ac_c" 1>&6
10216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10217 ac_cpp='$CXXCPP $CPPFLAGS'
10218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10220 cross_compiling=$ac_cv_prog_cxx_cross
10222 cat > conftest.$ac_ext <<EOF
10223 #line 10224 "configure"
10224 #include "confdefs.h"
10230 if { (eval echo configure:10231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10232 glibcpp_cv_func___builtin_sin_use=yes
10234 echo "configure: failed program was:" >&5
10235 cat conftest.$ac_ext >&5
10237 glibcpp_cv_func___builtin_sin_use=no
10241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10242 ac_cpp='$CPP $CPPFLAGS'
10243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10245 cross_compiling=$ac_cv_prog_cc_cross
10251 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10252 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10253 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10254 echo "configure:10255: checking for __builtin_sin linkage" >&5
10255 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10256 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10257 echo $ac_n "(cached) $ac_c" 1>&6
10260 cat > conftest.$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10268 if { (eval echo configure:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10270 glibcpp_cv_func___builtin_sin_link=yes
10272 echo "configure: failed program was:" >&5
10273 cat conftest.$ac_ext >&5
10275 glibcpp_cv_func___builtin_sin_link=no
10282 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10283 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10284 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10285 cat >> confdefs.h <<EOF
10286 #define ${ac_tr_func} 1
10293 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10294 echo "configure:10295: checking for __builtin_sinl declaration" >&5
10295 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10296 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10297 echo $ac_n "(cached) $ac_c" 1>&6
10302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10303 ac_cpp='$CXXCPP $CPPFLAGS'
10304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10306 cross_compiling=$ac_cv_prog_cxx_cross
10308 cat > conftest.$ac_ext <<EOF
10309 #line 10310 "configure"
10310 #include "confdefs.h"
10316 if { (eval echo configure:10317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10318 glibcpp_cv_func___builtin_sinl_use=yes
10320 echo "configure: failed program was:" >&5
10321 cat conftest.$ac_ext >&5
10323 glibcpp_cv_func___builtin_sinl_use=no
10327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10328 ac_cpp='$CPP $CPPFLAGS'
10329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10331 cross_compiling=$ac_cv_prog_cc_cross
10337 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10338 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10339 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10340 echo "configure:10341: checking for __builtin_sinl linkage" >&5
10341 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10342 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10343 echo $ac_n "(cached) $ac_c" 1>&6
10346 cat > conftest.$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10354 if { (eval echo configure:10355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10356 glibcpp_cv_func___builtin_sinl_link=yes
10358 echo "configure: failed program was:" >&5
10359 cat conftest.$ac_ext >&5
10361 glibcpp_cv_func___builtin_sinl_link=no
10368 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10369 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10370 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10371 cat >> confdefs.h <<EOF
10372 #define ${ac_tr_func} 1
10380 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10381 echo "configure:10382: checking for __builtin_cosf declaration" >&5
10382 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10383 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10384 echo $ac_n "(cached) $ac_c" 1>&6
10389 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10390 ac_cpp='$CXXCPP $CPPFLAGS'
10391 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10392 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10393 cross_compiling=$ac_cv_prog_cxx_cross
10395 cat > conftest.$ac_ext <<EOF
10396 #line 10397 "configure"
10397 #include "confdefs.h"
10403 if { (eval echo configure:10404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10405 glibcpp_cv_func___builtin_cosf_use=yes
10407 echo "configure: failed program was:" >&5
10408 cat conftest.$ac_ext >&5
10410 glibcpp_cv_func___builtin_cosf_use=no
10414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10415 ac_cpp='$CPP $CPPFLAGS'
10416 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10417 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10418 cross_compiling=$ac_cv_prog_cc_cross
10424 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10425 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10426 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10427 echo "configure:10428: checking for __builtin_cosf linkage" >&5
10428 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10429 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10430 echo $ac_n "(cached) $ac_c" 1>&6
10433 cat > conftest.$ac_ext <<EOF
10434 #line 10435 "configure"
10435 #include "confdefs.h"
10441 if { (eval echo configure:10442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10443 glibcpp_cv_func___builtin_cosf_link=yes
10445 echo "configure: failed program was:" >&5
10446 cat conftest.$ac_ext >&5
10448 glibcpp_cv_func___builtin_cosf_link=no
10455 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10456 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10457 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10458 cat >> confdefs.h <<EOF
10459 #define ${ac_tr_func} 1
10466 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10467 echo "configure:10468: checking for __builtin_cos declaration" >&5
10468 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10469 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10470 echo $ac_n "(cached) $ac_c" 1>&6
10475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10476 ac_cpp='$CXXCPP $CPPFLAGS'
10477 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10478 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10479 cross_compiling=$ac_cv_prog_cxx_cross
10481 cat > conftest.$ac_ext <<EOF
10482 #line 10483 "configure"
10483 #include "confdefs.h"
10489 if { (eval echo configure:10490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10491 glibcpp_cv_func___builtin_cos_use=yes
10493 echo "configure: failed program was:" >&5
10494 cat conftest.$ac_ext >&5
10496 glibcpp_cv_func___builtin_cos_use=no
10500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10501 ac_cpp='$CPP $CPPFLAGS'
10502 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10503 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10504 cross_compiling=$ac_cv_prog_cc_cross
10510 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10511 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10512 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10513 echo "configure:10514: checking for __builtin_cos linkage" >&5
10514 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10515 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10516 echo $ac_n "(cached) $ac_c" 1>&6
10519 cat > conftest.$ac_ext <<EOF
10520 #line 10521 "configure"
10521 #include "confdefs.h"
10527 if { (eval echo configure:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10529 glibcpp_cv_func___builtin_cos_link=yes
10531 echo "configure: failed program was:" >&5
10532 cat conftest.$ac_ext >&5
10534 glibcpp_cv_func___builtin_cos_link=no
10541 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10542 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10543 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10544 cat >> confdefs.h <<EOF
10545 #define ${ac_tr_func} 1
10552 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10553 echo "configure:10554: checking for __builtin_cosl declaration" >&5
10554 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10555 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CXXCPP $CPPFLAGS'
10563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cxx_cross
10567 cat > conftest.$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10575 if { (eval echo configure:10576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10577 glibcpp_cv_func___builtin_cosl_use=yes
10579 echo "configure: failed program was:" >&5
10580 cat conftest.$ac_ext >&5
10582 glibcpp_cv_func___builtin_cosl_use=no
10586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CPP $CPPFLAGS'
10588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cc_cross
10596 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10597 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10598 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10599 echo "configure:10600: checking for __builtin_cosl linkage" >&5
10600 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10601 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10602 echo $ac_n "(cached) $ac_c" 1>&6
10605 cat > conftest.$ac_ext <<EOF
10606 #line 10607 "configure"
10607 #include "confdefs.h"
10613 if { (eval echo configure:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10615 glibcpp_cv_func___builtin_cosl_link=yes
10617 echo "configure: failed program was:" >&5
10618 cat conftest.$ac_ext >&5
10620 glibcpp_cv_func___builtin_cosl_link=no
10627 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10628 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10629 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10630 cat >> confdefs.h <<EOF
10631 #define ${ac_tr_func} 1
10639 if test x$dummyvar = x"yes"; then
10640 cat >> confdefs.h <<\EOF
10641 #define HAVE___BUILTIN_ABS 1
10644 cat >> confdefs.h <<\EOF
10645 #define HAVE___BUILTIN_LABS 1
10648 cat >> confdefs.h <<\EOF
10649 #define HAVE___BUILTIN_COS 1
10652 cat >> confdefs.h <<\EOF
10653 #define HAVE___BUILTIN_COSF 1
10656 cat >> confdefs.h <<\EOF
10657 #define HAVE___BUILTIN_COSL 1
10660 cat >> confdefs.h <<\EOF
10661 #define HAVE___BUILTIN_FABS 1
10664 cat >> confdefs.h <<\EOF
10665 #define HAVE___BUILTIN_FABSF 1
10668 cat >> confdefs.h <<\EOF
10669 #define HAVE___BUILTIN_FABSL 1
10672 cat >> confdefs.h <<\EOF
10673 #define HAVE___BUILTIN_SIN 1
10676 cat >> confdefs.h <<\EOF
10677 #define HAVE___BUILTIN_SINF 1
10680 cat >> confdefs.h <<\EOF
10681 #define HAVE___BUILTIN_SINL 1
10684 cat >> confdefs.h <<\EOF
10685 #define HAVE___BUILTIN_SQRT 1
10688 cat >> confdefs.h <<\EOF
10689 #define HAVE___BUILTIN_SQRTF 1
10692 cat >> confdefs.h <<\EOF
10693 #define HAVE___BUILTIN_SQRTL 1
10699 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10700 ac_save_CXXFLAGS="$CXXFLAGS"
10701 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10703 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10704 echo "configure:10705: checking for sin in -lm" >&5
10705 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10707 echo $ac_n "(cached) $ac_c" 1>&6
10709 ac_save_LIBS="$LIBS"
10711 cat > conftest.$ac_ext <<EOF
10712 #line 10713 "configure"
10713 #include "confdefs.h"
10714 /* Override any gcc2 internal prototype to avoid an error. */
10715 /* We use char because int might match the return type of a gcc2
10716 builtin and then its argument prototype would still apply. */
10723 if { (eval echo configure:10724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10725 eval "ac_cv_lib_$ac_lib_var=yes"
10727 echo "configure: failed program was:" >&5
10728 cat conftest.$ac_ext >&5
10730 eval "ac_cv_lib_$ac_lib_var=no"
10733 LIBS="$ac_save_LIBS"
10736 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10737 echo "$ac_t""yes" 1>&6
10740 echo "$ac_t""no" 1>&6
10743 ac_save_LIBS="$LIBS"
10748 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10749 echo "configure:10750: checking for isinf declaration" >&5
10750 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10751 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10752 echo $ac_n "(cached) $ac_c" 1>&6
10757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10758 ac_cpp='$CXXCPP $CPPFLAGS'
10759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10761 cross_compiling=$ac_cv_prog_cxx_cross
10763 cat > conftest.$ac_ext <<EOF
10764 #line 10765 "configure"
10765 #include "confdefs.h"
10767 #ifdef HAVE_IEEEFP_H
10768 #include <ieeefp.h>
10775 if { (eval echo configure:10776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10777 glibcpp_cv_func_isinf_use=yes
10779 echo "configure: failed program was:" >&5
10780 cat conftest.$ac_ext >&5
10782 glibcpp_cv_func_isinf_use=no
10786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10787 ac_cpp='$CPP $CPPFLAGS'
10788 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10789 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10790 cross_compiling=$ac_cv_prog_cc_cross
10796 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10798 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10799 for ac_func in isinf
10801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10802 echo "configure:10803: checking for $ac_func" >&5
10803 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10804 echo $ac_n "(cached) $ac_c" 1>&6
10806 cat > conftest.$ac_ext <<EOF
10807 #line 10808 "configure"
10808 #include "confdefs.h"
10809 /* System header to define __stub macros and hopefully few prototypes,
10810 which can conflict with char $ac_func(); below. */
10811 #include <assert.h>
10812 /* Override any gcc2 internal prototype to avoid an error. */
10813 /* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10819 /* The GNU C library defines this for functions which it implements
10820 to always fail with ENOSYS. Some functions are actually named
10821 something starting with __ and the normal name is an alias. */
10822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10830 if { (eval echo configure:10831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10832 eval "ac_cv_func_$ac_func=yes"
10834 echo "configure: failed program was:" >&5
10835 cat conftest.$ac_ext >&5
10837 eval "ac_cv_func_$ac_func=no"
10842 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10843 echo "$ac_t""yes" 1>&6
10844 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10845 cat >> confdefs.h <<EOF
10846 #define $ac_tr_func 1
10850 echo "$ac_t""no" 1>&6
10856 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10857 echo "configure:10858: checking for _isinf declaration" >&5
10858 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10859 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10860 echo $ac_n "(cached) $ac_c" 1>&6
10865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10866 ac_cpp='$CXXCPP $CPPFLAGS'
10867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10869 cross_compiling=$ac_cv_prog_cxx_cross
10871 cat > conftest.$ac_ext <<EOF
10872 #line 10873 "configure"
10873 #include "confdefs.h"
10875 #ifdef HAVE_IEEEFP_H
10876 #include <ieeefp.h>
10883 if { (eval echo configure:10884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10885 glibcpp_cv_func__isinf_use=yes
10887 echo "configure: failed program was:" >&5
10888 cat conftest.$ac_ext >&5
10890 glibcpp_cv_func__isinf_use=no
10894 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10895 ac_cpp='$CPP $CPPFLAGS'
10896 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10897 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10898 cross_compiling=$ac_cv_prog_cc_cross
10904 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10906 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10907 for ac_func in _isinf
10909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10910 echo "configure:10911: checking for $ac_func" >&5
10911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10912 echo $ac_n "(cached) $ac_c" 1>&6
10914 cat > conftest.$ac_ext <<EOF
10915 #line 10916 "configure"
10916 #include "confdefs.h"
10917 /* System header to define __stub macros and hopefully few prototypes,
10918 which can conflict with char $ac_func(); below. */
10919 #include <assert.h>
10920 /* Override any gcc2 internal prototype to avoid an error. */
10921 /* We use char because int might match the return type of a gcc2
10922 builtin and then its argument prototype would still apply. */
10927 /* The GNU C library defines this for functions which it implements
10928 to always fail with ENOSYS. Some functions are actually named
10929 something starting with __ and the normal name is an alias. */
10930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10938 if { (eval echo configure:10939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10940 eval "ac_cv_func_$ac_func=yes"
10942 echo "configure: failed program was:" >&5
10943 cat conftest.$ac_ext >&5
10945 eval "ac_cv_func_$ac_func=no"
10950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10951 echo "$ac_t""yes" 1>&6
10952 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10953 cat >> confdefs.h <<EOF
10954 #define $ac_tr_func 1
10958 echo "$ac_t""no" 1>&6
10967 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10968 echo "configure:10969: checking for isnan declaration" >&5
10969 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10970 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10971 echo $ac_n "(cached) $ac_c" 1>&6
10976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10977 ac_cpp='$CXXCPP $CPPFLAGS'
10978 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10979 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10980 cross_compiling=$ac_cv_prog_cxx_cross
10982 cat > conftest.$ac_ext <<EOF
10983 #line 10984 "configure"
10984 #include "confdefs.h"
10986 #ifdef HAVE_IEEEFP_H
10987 #include <ieeefp.h>
10994 if { (eval echo configure:10995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10996 glibcpp_cv_func_isnan_use=yes
10998 echo "configure: failed program was:" >&5
10999 cat conftest.$ac_ext >&5
11001 glibcpp_cv_func_isnan_use=no
11005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11006 ac_cpp='$CPP $CPPFLAGS'
11007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11009 cross_compiling=$ac_cv_prog_cc_cross
11015 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11017 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11018 for ac_func in isnan
11020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11021 echo "configure:11022: checking for $ac_func" >&5
11022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11023 echo $ac_n "(cached) $ac_c" 1>&6
11025 cat > conftest.$ac_ext <<EOF
11026 #line 11027 "configure"
11027 #include "confdefs.h"
11028 /* System header to define __stub macros and hopefully few prototypes,
11029 which can conflict with char $ac_func(); below. */
11030 #include <assert.h>
11031 /* Override any gcc2 internal prototype to avoid an error. */
11032 /* We use char because int might match the return type of a gcc2
11033 builtin and then its argument prototype would still apply. */
11038 /* The GNU C library defines this for functions which it implements
11039 to always fail with ENOSYS. Some functions are actually named
11040 something starting with __ and the normal name is an alias. */
11041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11049 if { (eval echo configure:11050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11051 eval "ac_cv_func_$ac_func=yes"
11053 echo "configure: failed program was:" >&5
11054 cat conftest.$ac_ext >&5
11056 eval "ac_cv_func_$ac_func=no"
11061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11062 echo "$ac_t""yes" 1>&6
11063 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11064 cat >> confdefs.h <<EOF
11065 #define $ac_tr_func 1
11069 echo "$ac_t""no" 1>&6
11075 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11076 echo "configure:11077: checking for _isnan declaration" >&5
11077 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11078 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11079 echo $ac_n "(cached) $ac_c" 1>&6
11084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11085 ac_cpp='$CXXCPP $CPPFLAGS'
11086 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11087 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11088 cross_compiling=$ac_cv_prog_cxx_cross
11090 cat > conftest.$ac_ext <<EOF
11091 #line 11092 "configure"
11092 #include "confdefs.h"
11094 #ifdef HAVE_IEEEFP_H
11095 #include <ieeefp.h>
11102 if { (eval echo configure:11103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11104 glibcpp_cv_func__isnan_use=yes
11106 echo "configure: failed program was:" >&5
11107 cat conftest.$ac_ext >&5
11109 glibcpp_cv_func__isnan_use=no
11113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp='$CPP $CPPFLAGS'
11115 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling=$ac_cv_prog_cc_cross
11123 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11125 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11126 for ac_func in _isnan
11128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11129 echo "configure:11130: checking for $ac_func" >&5
11130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11131 echo $ac_n "(cached) $ac_c" 1>&6
11133 cat > conftest.$ac_ext <<EOF
11134 #line 11135 "configure"
11135 #include "confdefs.h"
11136 /* System header to define __stub macros and hopefully few prototypes,
11137 which can conflict with char $ac_func(); below. */
11138 #include <assert.h>
11139 /* Override any gcc2 internal prototype to avoid an error. */
11140 /* We use char because int might match the return type of a gcc2
11141 builtin and then its argument prototype would still apply. */
11146 /* The GNU C library defines this for functions which it implements
11147 to always fail with ENOSYS. Some functions are actually named
11148 something starting with __ and the normal name is an alias. */
11149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11157 if { (eval echo configure:11158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11159 eval "ac_cv_func_$ac_func=yes"
11161 echo "configure: failed program was:" >&5
11162 cat conftest.$ac_ext >&5
11164 eval "ac_cv_func_$ac_func=no"
11169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11170 echo "$ac_t""yes" 1>&6
11171 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11172 cat >> confdefs.h <<EOF
11173 #define $ac_tr_func 1
11177 echo "$ac_t""no" 1>&6
11186 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11187 echo "configure:11188: checking for finite declaration" >&5
11188 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11189 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11196 ac_cpp='$CXXCPP $CPPFLAGS'
11197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11199 cross_compiling=$ac_cv_prog_cxx_cross
11201 cat > conftest.$ac_ext <<EOF
11202 #line 11203 "configure"
11203 #include "confdefs.h"
11205 #ifdef HAVE_IEEEFP_H
11206 #include <ieeefp.h>
11213 if { (eval echo configure:11214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11215 glibcpp_cv_func_finite_use=yes
11217 echo "configure: failed program was:" >&5
11218 cat conftest.$ac_ext >&5
11220 glibcpp_cv_func_finite_use=no
11224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11225 ac_cpp='$CPP $CPPFLAGS'
11226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11228 cross_compiling=$ac_cv_prog_cc_cross
11234 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11236 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11237 for ac_func in finite
11239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11240 echo "configure:11241: checking for $ac_func" >&5
11241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11242 echo $ac_n "(cached) $ac_c" 1>&6
11244 cat > conftest.$ac_ext <<EOF
11245 #line 11246 "configure"
11246 #include "confdefs.h"
11247 /* System header to define __stub macros and hopefully few prototypes,
11248 which can conflict with char $ac_func(); below. */
11249 #include <assert.h>
11250 /* Override any gcc2 internal prototype to avoid an error. */
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11257 /* The GNU C library defines this for functions which it implements
11258 to always fail with ENOSYS. Some functions are actually named
11259 something starting with __ and the normal name is an alias. */
11260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11268 if { (eval echo configure:11269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11270 eval "ac_cv_func_$ac_func=yes"
11272 echo "configure: failed program was:" >&5
11273 cat conftest.$ac_ext >&5
11275 eval "ac_cv_func_$ac_func=no"
11280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11281 echo "$ac_t""yes" 1>&6
11282 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11283 cat >> confdefs.h <<EOF
11284 #define $ac_tr_func 1
11288 echo "$ac_t""no" 1>&6
11294 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11295 echo "configure:11296: checking for _finite declaration" >&5
11296 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11297 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11298 echo $ac_n "(cached) $ac_c" 1>&6
11303 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11304 ac_cpp='$CXXCPP $CPPFLAGS'
11305 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11306 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11307 cross_compiling=$ac_cv_prog_cxx_cross
11309 cat > conftest.$ac_ext <<EOF
11310 #line 11311 "configure"
11311 #include "confdefs.h"
11313 #ifdef HAVE_IEEEFP_H
11314 #include <ieeefp.h>
11321 if { (eval echo configure:11322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11323 glibcpp_cv_func__finite_use=yes
11325 echo "configure: failed program was:" >&5
11326 cat conftest.$ac_ext >&5
11328 glibcpp_cv_func__finite_use=no
11332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11333 ac_cpp='$CPP $CPPFLAGS'
11334 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11335 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11336 cross_compiling=$ac_cv_prog_cc_cross
11342 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11344 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11345 for ac_func in _finite
11347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11348 echo "configure:11349: checking for $ac_func" >&5
11349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11350 echo $ac_n "(cached) $ac_c" 1>&6
11352 cat > conftest.$ac_ext <<EOF
11353 #line 11354 "configure"
11354 #include "confdefs.h"
11355 /* System header to define __stub macros and hopefully few prototypes,
11356 which can conflict with char $ac_func(); below. */
11357 #include <assert.h>
11358 /* Override any gcc2 internal prototype to avoid an error. */
11359 /* We use char because int might match the return type of a gcc2
11360 builtin and then its argument prototype would still apply. */
11365 /* The GNU C library defines this for functions which it implements
11366 to always fail with ENOSYS. Some functions are actually named
11367 something starting with __ and the normal name is an alias. */
11368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11376 if { (eval echo configure:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11378 eval "ac_cv_func_$ac_func=yes"
11380 echo "configure: failed program was:" >&5
11381 cat conftest.$ac_ext >&5
11383 eval "ac_cv_func_$ac_func=no"
11388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11389 echo "$ac_t""yes" 1>&6
11390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11391 cat >> confdefs.h <<EOF
11392 #define $ac_tr_func 1
11396 echo "$ac_t""no" 1>&6
11405 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11406 echo "configure:11407: checking for copysign declaration" >&5
11407 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11408 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp='$CXXCPP $CPPFLAGS'
11416 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling=$ac_cv_prog_cxx_cross
11420 cat > conftest.$ac_ext <<EOF
11421 #line 11422 "configure"
11422 #include "confdefs.h"
11428 if { (eval echo configure:11429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11430 glibcpp_cv_func_copysign_use=yes
11432 echo "configure: failed program was:" >&5
11433 cat conftest.$ac_ext >&5
11435 glibcpp_cv_func_copysign_use=no
11439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11440 ac_cpp='$CPP $CPPFLAGS'
11441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11443 cross_compiling=$ac_cv_prog_cc_cross
11449 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11451 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11452 for ac_func in copysign
11454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11455 echo "configure:11456: checking for $ac_func" >&5
11456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11457 echo $ac_n "(cached) $ac_c" 1>&6
11459 cat > conftest.$ac_ext <<EOF
11460 #line 11461 "configure"
11461 #include "confdefs.h"
11462 /* System header to define __stub macros and hopefully few prototypes,
11463 which can conflict with char $ac_func(); below. */
11464 #include <assert.h>
11465 /* Override any gcc2 internal prototype to avoid an error. */
11466 /* We use char because int might match the return type of a gcc2
11467 builtin and then its argument prototype would still apply. */
11472 /* The GNU C library defines this for functions which it implements
11473 to always fail with ENOSYS. Some functions are actually named
11474 something starting with __ and the normal name is an alias. */
11475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11483 if { (eval echo configure:11484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11485 eval "ac_cv_func_$ac_func=yes"
11487 echo "configure: failed program was:" >&5
11488 cat conftest.$ac_ext >&5
11490 eval "ac_cv_func_$ac_func=no"
11495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11496 echo "$ac_t""yes" 1>&6
11497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11498 cat >> confdefs.h <<EOF
11499 #define $ac_tr_func 1
11503 echo "$ac_t""no" 1>&6
11509 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11510 echo "configure:11511: checking for _copysign declaration" >&5
11511 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11512 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11513 echo $ac_n "(cached) $ac_c" 1>&6
11518 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11519 ac_cpp='$CXXCPP $CPPFLAGS'
11520 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11521 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11522 cross_compiling=$ac_cv_prog_cxx_cross
11524 cat > conftest.$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11532 if { (eval echo configure:11533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11534 glibcpp_cv_func__copysign_use=yes
11536 echo "configure: failed program was:" >&5
11537 cat conftest.$ac_ext >&5
11539 glibcpp_cv_func__copysign_use=no
11543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11544 ac_cpp='$CPP $CPPFLAGS'
11545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11547 cross_compiling=$ac_cv_prog_cc_cross
11553 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11555 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11556 for ac_func in _copysign
11558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11559 echo "configure:11560: checking for $ac_func" >&5
11560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11561 echo $ac_n "(cached) $ac_c" 1>&6
11563 cat > conftest.$ac_ext <<EOF
11564 #line 11565 "configure"
11565 #include "confdefs.h"
11566 /* System header to define __stub macros and hopefully few prototypes,
11567 which can conflict with char $ac_func(); below. */
11568 #include <assert.h>
11569 /* Override any gcc2 internal prototype to avoid an error. */
11570 /* We use char because int might match the return type of a gcc2
11571 builtin and then its argument prototype would still apply. */
11576 /* The GNU C library defines this for functions which it implements
11577 to always fail with ENOSYS. Some functions are actually named
11578 something starting with __ and the normal name is an alias. */
11579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11587 if { (eval echo configure:11588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11589 eval "ac_cv_func_$ac_func=yes"
11591 echo "configure: failed program was:" >&5
11592 cat conftest.$ac_ext >&5
11594 eval "ac_cv_func_$ac_func=no"
11599 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11600 echo "$ac_t""yes" 1>&6
11601 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11602 cat >> confdefs.h <<EOF
11603 #define $ac_tr_func 1
11607 echo "$ac_t""no" 1>&6
11616 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11617 echo "configure:11618: checking for sincos declaration" >&5
11618 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11619 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11626 ac_cpp='$CXXCPP $CPPFLAGS'
11627 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11628 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11629 cross_compiling=$ac_cv_prog_cxx_cross
11631 cat > conftest.$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11639 if { (eval echo configure:11640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11641 glibcpp_cv_func_sincos_use=yes
11643 echo "configure: failed program was:" >&5
11644 cat conftest.$ac_ext >&5
11646 glibcpp_cv_func_sincos_use=no
11650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11651 ac_cpp='$CPP $CPPFLAGS'
11652 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11653 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11654 cross_compiling=$ac_cv_prog_cc_cross
11660 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11662 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11663 for ac_func in sincos
11665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11666 echo "configure:11667: checking for $ac_func" >&5
11667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11670 cat > conftest.$ac_ext <<EOF
11671 #line 11672 "configure"
11672 #include "confdefs.h"
11673 /* System header to define __stub macros and hopefully few prototypes,
11674 which can conflict with char $ac_func(); below. */
11675 #include <assert.h>
11676 /* Override any gcc2 internal prototype to avoid an error. */
11677 /* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */
11683 /* The GNU C library defines this for functions which it implements
11684 to always fail with ENOSYS. Some functions are actually named
11685 something starting with __ and the normal name is an alias. */
11686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11694 if { (eval echo configure:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11696 eval "ac_cv_func_$ac_func=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.$ac_ext >&5
11701 eval "ac_cv_func_$ac_func=no"
11706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11707 echo "$ac_t""yes" 1>&6
11708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11709 cat >> confdefs.h <<EOF
11710 #define $ac_tr_func 1
11714 echo "$ac_t""no" 1>&6
11720 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11721 echo "configure:11722: checking for _sincos declaration" >&5
11722 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11723 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11724 echo $ac_n "(cached) $ac_c" 1>&6
11729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11730 ac_cpp='$CXXCPP $CPPFLAGS'
11731 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11732 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11733 cross_compiling=$ac_cv_prog_cxx_cross
11735 cat > conftest.$ac_ext <<EOF
11736 #line 11737 "configure"
11737 #include "confdefs.h"
11743 if { (eval echo configure:11744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11745 glibcpp_cv_func__sincos_use=yes
11747 echo "configure: failed program was:" >&5
11748 cat conftest.$ac_ext >&5
11750 glibcpp_cv_func__sincos_use=no
11754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11755 ac_cpp='$CPP $CPPFLAGS'
11756 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11757 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11758 cross_compiling=$ac_cv_prog_cc_cross
11764 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11766 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11767 for ac_func in _sincos
11769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11770 echo "configure:11771: checking for $ac_func" >&5
11771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11772 echo $ac_n "(cached) $ac_c" 1>&6
11774 cat > conftest.$ac_ext <<EOF
11775 #line 11776 "configure"
11776 #include "confdefs.h"
11777 /* System header to define __stub macros and hopefully few prototypes,
11778 which can conflict with char $ac_func(); below. */
11779 #include <assert.h>
11780 /* Override any gcc2 internal prototype to avoid an error. */
11781 /* We use char because int might match the return type of a gcc2
11782 builtin and then its argument prototype would still apply. */
11787 /* The GNU C library defines this for functions which it implements
11788 to always fail with ENOSYS. Some functions are actually named
11789 something starting with __ and the normal name is an alias. */
11790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11798 if { (eval echo configure:11799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11800 eval "ac_cv_func_$ac_func=yes"
11802 echo "configure: failed program was:" >&5
11803 cat conftest.$ac_ext >&5
11805 eval "ac_cv_func_$ac_func=no"
11810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11811 echo "$ac_t""yes" 1>&6
11812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11813 cat >> confdefs.h <<EOF
11814 #define $ac_tr_func 1
11818 echo "$ac_t""no" 1>&6
11827 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11828 echo "configure:11829: checking for fpclass declaration" >&5
11829 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11830 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11831 echo $ac_n "(cached) $ac_c" 1>&6
11836 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11837 ac_cpp='$CXXCPP $CPPFLAGS'
11838 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11839 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11840 cross_compiling=$ac_cv_prog_cxx_cross
11842 cat > conftest.$ac_ext <<EOF
11843 #line 11844 "configure"
11844 #include "confdefs.h"
11846 #ifdef HAVE_IEEEFP_H
11847 #include <ieeefp.h>
11854 if { (eval echo configure:11855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11856 glibcpp_cv_func_fpclass_use=yes
11858 echo "configure: failed program was:" >&5
11859 cat conftest.$ac_ext >&5
11861 glibcpp_cv_func_fpclass_use=no
11865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11866 ac_cpp='$CPP $CPPFLAGS'
11867 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11868 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11869 cross_compiling=$ac_cv_prog_cc_cross
11875 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11877 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11878 for ac_func in fpclass
11880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11881 echo "configure:11882: checking for $ac_func" >&5
11882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11883 echo $ac_n "(cached) $ac_c" 1>&6
11885 cat > conftest.$ac_ext <<EOF
11886 #line 11887 "configure"
11887 #include "confdefs.h"
11888 /* System header to define __stub macros and hopefully few prototypes,
11889 which can conflict with char $ac_func(); below. */
11890 #include <assert.h>
11891 /* Override any gcc2 internal prototype to avoid an error. */
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11898 /* The GNU C library defines this for functions which it implements
11899 to always fail with ENOSYS. Some functions are actually named
11900 something starting with __ and the normal name is an alias. */
11901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11909 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11911 eval "ac_cv_func_$ac_func=yes"
11913 echo "configure: failed program was:" >&5
11914 cat conftest.$ac_ext >&5
11916 eval "ac_cv_func_$ac_func=no"
11921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11922 echo "$ac_t""yes" 1>&6
11923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11924 cat >> confdefs.h <<EOF
11925 #define $ac_tr_func 1
11929 echo "$ac_t""no" 1>&6
11935 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11936 echo "configure:11937: checking for _fpclass declaration" >&5
11937 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11938 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11939 echo $ac_n "(cached) $ac_c" 1>&6
11944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11945 ac_cpp='$CXXCPP $CPPFLAGS'
11946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11948 cross_compiling=$ac_cv_prog_cxx_cross
11950 cat > conftest.$ac_ext <<EOF
11951 #line 11952 "configure"
11952 #include "confdefs.h"
11954 #ifdef HAVE_IEEEFP_H
11955 #include <ieeefp.h>
11962 if { (eval echo configure:11963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11964 glibcpp_cv_func__fpclass_use=yes
11966 echo "configure: failed program was:" >&5
11967 cat conftest.$ac_ext >&5
11969 glibcpp_cv_func__fpclass_use=no
11973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11974 ac_cpp='$CPP $CPPFLAGS'
11975 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11976 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11977 cross_compiling=$ac_cv_prog_cc_cross
11983 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11985 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11986 for ac_func in _fpclass
11988 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11989 echo "configure:11990: checking for $ac_func" >&5
11990 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11991 echo $ac_n "(cached) $ac_c" 1>&6
11993 cat > conftest.$ac_ext <<EOF
11994 #line 11995 "configure"
11995 #include "confdefs.h"
11996 /* System header to define __stub macros and hopefully few prototypes,
11997 which can conflict with char $ac_func(); below. */
11998 #include <assert.h>
11999 /* Override any gcc2 internal prototype to avoid an error. */
12000 /* We use char because int might match the return type of a gcc2
12001 builtin and then its argument prototype would still apply. */
12006 /* The GNU C library defines this for functions which it implements
12007 to always fail with ENOSYS. Some functions are actually named
12008 something starting with __ and the normal name is an alias. */
12009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12017 if { (eval echo configure:12018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12019 eval "ac_cv_func_$ac_func=yes"
12021 echo "configure: failed program was:" >&5
12022 cat conftest.$ac_ext >&5
12024 eval "ac_cv_func_$ac_func=no"
12029 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12030 echo "$ac_t""yes" 1>&6
12031 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12032 cat >> confdefs.h <<EOF
12033 #define $ac_tr_func 1
12037 echo "$ac_t""no" 1>&6
12046 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12047 echo "configure:12048: checking for qfpclass declaration" >&5
12048 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12049 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12050 echo $ac_n "(cached) $ac_c" 1>&6
12055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12056 ac_cpp='$CXXCPP $CPPFLAGS'
12057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12059 cross_compiling=$ac_cv_prog_cxx_cross
12061 cat > conftest.$ac_ext <<EOF
12062 #line 12063 "configure"
12063 #include "confdefs.h"
12065 #ifdef HAVE_IEEEFP_H
12066 #include <ieeefp.h>
12073 if { (eval echo configure:12074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12075 glibcpp_cv_func_qfpclass_use=yes
12077 echo "configure: failed program was:" >&5
12078 cat conftest.$ac_ext >&5
12080 glibcpp_cv_func_qfpclass_use=no
12084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12085 ac_cpp='$CPP $CPPFLAGS'
12086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12088 cross_compiling=$ac_cv_prog_cc_cross
12094 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12096 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12097 for ac_func in qfpclass
12099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12100 echo "configure:12101: checking for $ac_func" >&5
12101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12102 echo $ac_n "(cached) $ac_c" 1>&6
12104 cat > conftest.$ac_ext <<EOF
12105 #line 12106 "configure"
12106 #include "confdefs.h"
12107 /* System header to define __stub macros and hopefully few prototypes,
12108 which can conflict with char $ac_func(); below. */
12109 #include <assert.h>
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12117 /* The GNU C library defines this for functions which it implements
12118 to always fail with ENOSYS. Some functions are actually named
12119 something starting with __ and the normal name is an alias. */
12120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12130 eval "ac_cv_func_$ac_func=yes"
12132 echo "configure: failed program was:" >&5
12133 cat conftest.$ac_ext >&5
12135 eval "ac_cv_func_$ac_func=no"
12140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12141 echo "$ac_t""yes" 1>&6
12142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12143 cat >> confdefs.h <<EOF
12144 #define $ac_tr_func 1
12148 echo "$ac_t""no" 1>&6
12154 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12155 echo "configure:12156: checking for _qfpclass declaration" >&5
12156 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12157 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12158 echo $ac_n "(cached) $ac_c" 1>&6
12163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12164 ac_cpp='$CXXCPP $CPPFLAGS'
12165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12167 cross_compiling=$ac_cv_prog_cxx_cross
12169 cat > conftest.$ac_ext <<EOF
12170 #line 12171 "configure"
12171 #include "confdefs.h"
12173 #ifdef HAVE_IEEEFP_H
12174 #include <ieeefp.h>
12181 if { (eval echo configure:12182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12183 glibcpp_cv_func__qfpclass_use=yes
12185 echo "configure: failed program was:" >&5
12186 cat conftest.$ac_ext >&5
12188 glibcpp_cv_func__qfpclass_use=no
12192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12193 ac_cpp='$CPP $CPPFLAGS'
12194 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12195 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12196 cross_compiling=$ac_cv_prog_cc_cross
12202 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12204 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12205 for ac_func in _qfpclass
12207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12208 echo "configure:12209: checking for $ac_func" >&5
12209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12210 echo $ac_n "(cached) $ac_c" 1>&6
12212 cat > conftest.$ac_ext <<EOF
12213 #line 12214 "configure"
12214 #include "confdefs.h"
12215 /* System header to define __stub macros and hopefully few prototypes,
12216 which can conflict with char $ac_func(); below. */
12217 #include <assert.h>
12218 /* Override any gcc2 internal prototype to avoid an error. */
12219 /* We use char because int might match the return type of a gcc2
12220 builtin and then its argument prototype would still apply. */
12225 /* The GNU C library defines this for functions which it implements
12226 to always fail with ENOSYS. Some functions are actually named
12227 something starting with __ and the normal name is an alias. */
12228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12236 if { (eval echo configure:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12238 eval "ac_cv_func_$ac_func=yes"
12240 echo "configure: failed program was:" >&5
12241 cat conftest.$ac_ext >&5
12243 eval "ac_cv_func_$ac_func=no"
12248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12249 echo "$ac_t""yes" 1>&6
12250 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12251 cat >> confdefs.h <<EOF
12252 #define $ac_tr_func 1
12256 echo "$ac_t""no" 1>&6
12265 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12266 echo "configure:12267: checking for hypot declaration" >&5
12267 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12268 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12269 echo $ac_n "(cached) $ac_c" 1>&6
12274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp='$CXXCPP $CPPFLAGS'
12276 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling=$ac_cv_prog_cxx_cross
12280 cat > conftest.$ac_ext <<EOF
12281 #line 12282 "configure"
12282 #include "confdefs.h"
12288 if { (eval echo configure:12289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12290 glibcpp_cv_func_hypot_use=yes
12292 echo "configure: failed program was:" >&5
12293 cat conftest.$ac_ext >&5
12295 glibcpp_cv_func_hypot_use=no
12299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12300 ac_cpp='$CPP $CPPFLAGS'
12301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12303 cross_compiling=$ac_cv_prog_cc_cross
12309 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12311 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12312 for ac_func in hypot
12314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12315 echo "configure:12316: checking for $ac_func" >&5
12316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12317 echo $ac_n "(cached) $ac_c" 1>&6
12319 cat > conftest.$ac_ext <<EOF
12320 #line 12321 "configure"
12321 #include "confdefs.h"
12322 /* System header to define __stub macros and hopefully few prototypes,
12323 which can conflict with char $ac_func(); below. */
12324 #include <assert.h>
12325 /* Override any gcc2 internal prototype to avoid an error. */
12326 /* We use char because int might match the return type of a gcc2
12327 builtin and then its argument prototype would still apply. */
12332 /* The GNU C library defines this for functions which it implements
12333 to always fail with ENOSYS. Some functions are actually named
12334 something starting with __ and the normal name is an alias. */
12335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12343 if { (eval echo configure:12344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12345 eval "ac_cv_func_$ac_func=yes"
12347 echo "configure: failed program was:" >&5
12348 cat conftest.$ac_ext >&5
12350 eval "ac_cv_func_$ac_func=no"
12355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12356 echo "$ac_t""yes" 1>&6
12357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12358 cat >> confdefs.h <<EOF
12359 #define $ac_tr_func 1
12363 echo "$ac_t""no" 1>&6
12369 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12370 echo "configure:12371: checking for _hypot declaration" >&5
12371 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12372 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12373 echo $ac_n "(cached) $ac_c" 1>&6
12378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12379 ac_cpp='$CXXCPP $CPPFLAGS'
12380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12382 cross_compiling=$ac_cv_prog_cxx_cross
12384 cat > conftest.$ac_ext <<EOF
12385 #line 12386 "configure"
12386 #include "confdefs.h"
12392 if { (eval echo configure:12393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12394 glibcpp_cv_func__hypot_use=yes
12396 echo "configure: failed program was:" >&5
12397 cat conftest.$ac_ext >&5
12399 glibcpp_cv_func__hypot_use=no
12403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12404 ac_cpp='$CPP $CPPFLAGS'
12405 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12406 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12407 cross_compiling=$ac_cv_prog_cc_cross
12413 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12415 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12416 for ac_func in _hypot
12418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12419 echo "configure:12420: checking for $ac_func" >&5
12420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12421 echo $ac_n "(cached) $ac_c" 1>&6
12423 cat > conftest.$ac_ext <<EOF
12424 #line 12425 "configure"
12425 #include "confdefs.h"
12426 /* System header to define __stub macros and hopefully few prototypes,
12427 which can conflict with char $ac_func(); below. */
12428 #include <assert.h>
12429 /* Override any gcc2 internal prototype to avoid an error. */
12430 /* We use char because int might match the return type of a gcc2
12431 builtin and then its argument prototype would still apply. */
12436 /* The GNU C library defines this for functions which it implements
12437 to always fail with ENOSYS. Some functions are actually named
12438 something starting with __ and the normal name is an alias. */
12439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12447 if { (eval echo configure:12448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12449 eval "ac_cv_func_$ac_func=yes"
12451 echo "configure: failed program was:" >&5
12452 cat conftest.$ac_ext >&5
12454 eval "ac_cv_func_$ac_func=no"
12459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12460 echo "$ac_t""yes" 1>&6
12461 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12462 cat >> confdefs.h <<EOF
12463 #define $ac_tr_func 1
12467 echo "$ac_t""no" 1>&6
12476 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12477 echo "configure:12478: checking for float trig functions" >&5
12478 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12479 echo $ac_n "(cached) $ac_c" 1>&6
12484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12488 cross_compiling=$ac_cv_prog_cxx_cross
12490 cat > conftest.$ac_ext <<EOF
12491 #line 12492 "configure"
12492 #include "confdefs.h"
12495 `for x in acosf asinf atanf \
12497 coshf sinhf tanhf; do echo "$x (0);"; done`
12500 if { (eval echo configure:12501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12502 glibcpp_cv_func_float_trig_use=yes
12504 echo "configure: failed program was:" >&5
12505 cat conftest.$ac_ext >&5
12507 glibcpp_cv_func_float_trig_use=no
12511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12512 ac_cpp='$CPP $CPPFLAGS'
12513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12515 cross_compiling=$ac_cv_prog_cc_cross
12519 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12520 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12521 for ac_func in acosf asinf atanf \
12525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12526 echo "configure:12527: checking for $ac_func" >&5
12527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12528 echo $ac_n "(cached) $ac_c" 1>&6
12530 cat > conftest.$ac_ext <<EOF
12531 #line 12532 "configure"
12532 #include "confdefs.h"
12533 /* System header to define __stub macros and hopefully few prototypes,
12534 which can conflict with char $ac_func(); below. */
12535 #include <assert.h>
12536 /* Override any gcc2 internal prototype to avoid an error. */
12537 /* We use char because int might match the return type of a gcc2
12538 builtin and then its argument prototype would still apply. */
12543 /* The GNU C library defines this for functions which it implements
12544 to always fail with ENOSYS. Some functions are actually named
12545 something starting with __ and the normal name is an alias. */
12546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12554 if { (eval echo configure:12555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12556 eval "ac_cv_func_$ac_func=yes"
12558 echo "configure: failed program was:" >&5
12559 cat conftest.$ac_ext >&5
12561 eval "ac_cv_func_$ac_func=no"
12566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12567 echo "$ac_t""yes" 1>&6
12568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12569 cat >> confdefs.h <<EOF
12570 #define $ac_tr_func 1
12574 echo "$ac_t""no" 1>&6
12581 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12582 echo "configure:12583: checking for float round functions" >&5
12583 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12584 echo $ac_n "(cached) $ac_c" 1>&6
12589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12590 ac_cpp='$CXXCPP $CPPFLAGS'
12591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12593 cross_compiling=$ac_cv_prog_cxx_cross
12595 cat > conftest.$ac_ext <<EOF
12596 #line 12597 "configure"
12597 #include "confdefs.h"
12600 `for x in ceilf floorf; do echo "$x (0);"; done`
12603 if { (eval echo configure:12604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12605 glibcpp_cv_func_float_round_use=yes
12607 echo "configure: failed program was:" >&5
12608 cat conftest.$ac_ext >&5
12610 glibcpp_cv_func_float_round_use=no
12614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12615 ac_cpp='$CPP $CPPFLAGS'
12616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12618 cross_compiling=$ac_cv_prog_cc_cross
12622 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12623 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12624 for ac_func in ceilf floorf
12626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12627 echo "configure:12628: checking for $ac_func" >&5
12628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12629 echo $ac_n "(cached) $ac_c" 1>&6
12631 cat > conftest.$ac_ext <<EOF
12632 #line 12633 "configure"
12633 #include "confdefs.h"
12634 /* System header to define __stub macros and hopefully few prototypes,
12635 which can conflict with char $ac_func(); below. */
12636 #include <assert.h>
12637 /* Override any gcc2 internal prototype to avoid an error. */
12638 /* We use char because int might match the return type of a gcc2
12639 builtin and then its argument prototype would still apply. */
12644 /* The GNU C library defines this for functions which it implements
12645 to always fail with ENOSYS. Some functions are actually named
12646 something starting with __ and the normal name is an alias. */
12647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12655 if { (eval echo configure:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12657 eval "ac_cv_func_$ac_func=yes"
12659 echo "configure: failed program was:" >&5
12660 cat conftest.$ac_ext >&5
12662 eval "ac_cv_func_$ac_func=no"
12667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12668 echo "$ac_t""yes" 1>&6
12669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12670 cat >> confdefs.h <<EOF
12671 #define $ac_tr_func 1
12675 echo "$ac_t""no" 1>&6
12683 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12684 echo "configure:12685: checking for expf declaration" >&5
12685 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12686 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12687 echo $ac_n "(cached) $ac_c" 1>&6
12692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12693 ac_cpp='$CXXCPP $CPPFLAGS'
12694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12696 cross_compiling=$ac_cv_prog_cxx_cross
12698 cat > conftest.$ac_ext <<EOF
12699 #line 12700 "configure"
12700 #include "confdefs.h"
12702 #ifdef HAVE_IEEEFP_H
12703 #include <ieeefp.h>
12710 if { (eval echo configure:12711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12712 glibcpp_cv_func_expf_use=yes
12714 echo "configure: failed program was:" >&5
12715 cat conftest.$ac_ext >&5
12717 glibcpp_cv_func_expf_use=no
12721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12722 ac_cpp='$CPP $CPPFLAGS'
12723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12725 cross_compiling=$ac_cv_prog_cc_cross
12731 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12733 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12734 for ac_func in expf
12736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12737 echo "configure:12738: checking for $ac_func" >&5
12738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12739 echo $ac_n "(cached) $ac_c" 1>&6
12741 cat > conftest.$ac_ext <<EOF
12742 #line 12743 "configure"
12743 #include "confdefs.h"
12744 /* System header to define __stub macros and hopefully few prototypes,
12745 which can conflict with char $ac_func(); below. */
12746 #include <assert.h>
12747 /* Override any gcc2 internal prototype to avoid an error. */
12748 /* We use char because int might match the return type of a gcc2
12749 builtin and then its argument prototype would still apply. */
12754 /* The GNU C library defines this for functions which it implements
12755 to always fail with ENOSYS. Some functions are actually named
12756 something starting with __ and the normal name is an alias. */
12757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12767 eval "ac_cv_func_$ac_func=yes"
12769 echo "configure: failed program was:" >&5
12770 cat conftest.$ac_ext >&5
12772 eval "ac_cv_func_$ac_func=no"
12777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12778 echo "$ac_t""yes" 1>&6
12779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12780 cat >> confdefs.h <<EOF
12781 #define $ac_tr_func 1
12785 echo "$ac_t""no" 1>&6
12791 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12792 echo "configure:12793: checking for _expf declaration" >&5
12793 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12794 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12795 echo $ac_n "(cached) $ac_c" 1>&6
12800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp='$CXXCPP $CPPFLAGS'
12802 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling=$ac_cv_prog_cxx_cross
12806 cat > conftest.$ac_ext <<EOF
12807 #line 12808 "configure"
12808 #include "confdefs.h"
12810 #ifdef HAVE_IEEEFP_H
12811 #include <ieeefp.h>
12818 if { (eval echo configure:12819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12820 glibcpp_cv_func__expf_use=yes
12822 echo "configure: failed program was:" >&5
12823 cat conftest.$ac_ext >&5
12825 glibcpp_cv_func__expf_use=no
12829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12830 ac_cpp='$CPP $CPPFLAGS'
12831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12833 cross_compiling=$ac_cv_prog_cc_cross
12839 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12841 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12842 for ac_func in _expf
12844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12845 echo "configure:12846: checking for $ac_func" >&5
12846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12849 cat > conftest.$ac_ext <<EOF
12850 #line 12851 "configure"
12851 #include "confdefs.h"
12852 /* System header to define __stub macros and hopefully few prototypes,
12853 which can conflict with char $ac_func(); below. */
12854 #include <assert.h>
12855 /* Override any gcc2 internal prototype to avoid an error. */
12856 /* We use char because int might match the return type of a gcc2
12857 builtin and then its argument prototype would still apply. */
12862 /* The GNU C library defines this for functions which it implements
12863 to always fail with ENOSYS. Some functions are actually named
12864 something starting with __ and the normal name is an alias. */
12865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12873 if { (eval echo configure:12874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12875 eval "ac_cv_func_$ac_func=yes"
12877 echo "configure: failed program was:" >&5
12878 cat conftest.$ac_ext >&5
12880 eval "ac_cv_func_$ac_func=no"
12885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12886 echo "$ac_t""yes" 1>&6
12887 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12888 cat >> confdefs.h <<EOF
12889 #define $ac_tr_func 1
12893 echo "$ac_t""no" 1>&6
12902 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12903 echo "configure:12904: checking for isnanf declaration" >&5
12904 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12905 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12906 echo $ac_n "(cached) $ac_c" 1>&6
12911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12912 ac_cpp='$CXXCPP $CPPFLAGS'
12913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12915 cross_compiling=$ac_cv_prog_cxx_cross
12917 cat > conftest.$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12921 #ifdef HAVE_IEEEFP_H
12922 #include <ieeefp.h>
12929 if { (eval echo configure:12930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12931 glibcpp_cv_func_isnanf_use=yes
12933 echo "configure: failed program was:" >&5
12934 cat conftest.$ac_ext >&5
12936 glibcpp_cv_func_isnanf_use=no
12940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12941 ac_cpp='$CPP $CPPFLAGS'
12942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12944 cross_compiling=$ac_cv_prog_cc_cross
12950 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12952 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12953 for ac_func in isnanf
12955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12956 echo "configure:12957: checking for $ac_func" >&5
12957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12958 echo $ac_n "(cached) $ac_c" 1>&6
12960 cat > conftest.$ac_ext <<EOF
12961 #line 12962 "configure"
12962 #include "confdefs.h"
12963 /* System header to define __stub macros and hopefully few prototypes,
12964 which can conflict with char $ac_func(); below. */
12965 #include <assert.h>
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 /* We use char because int might match the return type of a gcc2
12968 builtin and then its argument prototype would still apply. */
12973 /* The GNU C library defines this for functions which it implements
12974 to always fail with ENOSYS. Some functions are actually named
12975 something starting with __ and the normal name is an alias. */
12976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12984 if { (eval echo configure:12985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12986 eval "ac_cv_func_$ac_func=yes"
12988 echo "configure: failed program was:" >&5
12989 cat conftest.$ac_ext >&5
12991 eval "ac_cv_func_$ac_func=no"
12996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12997 echo "$ac_t""yes" 1>&6
12998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12999 cat >> confdefs.h <<EOF
13000 #define $ac_tr_func 1
13004 echo "$ac_t""no" 1>&6
13010 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
13011 echo "configure:13012: checking for _isnanf declaration" >&5
13012 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13013 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13014 echo $ac_n "(cached) $ac_c" 1>&6
13019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13020 ac_cpp='$CXXCPP $CPPFLAGS'
13021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13023 cross_compiling=$ac_cv_prog_cxx_cross
13025 cat > conftest.$ac_ext <<EOF
13026 #line 13027 "configure"
13027 #include "confdefs.h"
13029 #ifdef HAVE_IEEEFP_H
13030 #include <ieeefp.h>
13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13039 glibcpp_cv_func__isnanf_use=yes
13041 echo "configure: failed program was:" >&5
13042 cat conftest.$ac_ext >&5
13044 glibcpp_cv_func__isnanf_use=no
13048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13049 ac_cpp='$CPP $CPPFLAGS'
13050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13052 cross_compiling=$ac_cv_prog_cc_cross
13058 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13060 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13061 for ac_func in _isnanf
13063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13064 echo "configure:13065: checking for $ac_func" >&5
13065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13066 echo $ac_n "(cached) $ac_c" 1>&6
13068 cat > conftest.$ac_ext <<EOF
13069 #line 13070 "configure"
13070 #include "confdefs.h"
13071 /* System header to define __stub macros and hopefully few prototypes,
13072 which can conflict with char $ac_func(); below. */
13073 #include <assert.h>
13074 /* Override any gcc2 internal prototype to avoid an error. */
13075 /* We use char because int might match the return type of a gcc2
13076 builtin and then its argument prototype would still apply. */
13081 /* The GNU C library defines this for functions which it implements
13082 to always fail with ENOSYS. Some functions are actually named
13083 something starting with __ and the normal name is an alias. */
13084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13092 if { (eval echo configure:13093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13094 eval "ac_cv_func_$ac_func=yes"
13096 echo "configure: failed program was:" >&5
13097 cat conftest.$ac_ext >&5
13099 eval "ac_cv_func_$ac_func=no"
13104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13105 echo "$ac_t""yes" 1>&6
13106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13107 cat >> confdefs.h <<EOF
13108 #define $ac_tr_func 1
13112 echo "$ac_t""no" 1>&6
13121 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13122 echo "configure:13123: checking for isinff declaration" >&5
13123 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13124 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13125 echo $ac_n "(cached) $ac_c" 1>&6
13130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13131 ac_cpp='$CXXCPP $CPPFLAGS'
13132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13134 cross_compiling=$ac_cv_prog_cxx_cross
13136 cat > conftest.$ac_ext <<EOF
13137 #line 13138 "configure"
13138 #include "confdefs.h"
13140 #ifdef HAVE_IEEEFP_H
13141 #include <ieeefp.h>
13148 if { (eval echo configure:13149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13150 glibcpp_cv_func_isinff_use=yes
13152 echo "configure: failed program was:" >&5
13153 cat conftest.$ac_ext >&5
13155 glibcpp_cv_func_isinff_use=no
13159 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13160 ac_cpp='$CPP $CPPFLAGS'
13161 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13162 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13163 cross_compiling=$ac_cv_prog_cc_cross
13169 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13171 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13172 for ac_func in isinff
13174 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13175 echo "configure:13176: checking for $ac_func" >&5
13176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13177 echo $ac_n "(cached) $ac_c" 1>&6
13179 cat > conftest.$ac_ext <<EOF
13180 #line 13181 "configure"
13181 #include "confdefs.h"
13182 /* System header to define __stub macros and hopefully few prototypes,
13183 which can conflict with char $ac_func(); below. */
13184 #include <assert.h>
13185 /* Override any gcc2 internal prototype to avoid an error. */
13186 /* We use char because int might match the return type of a gcc2
13187 builtin and then its argument prototype would still apply. */
13192 /* The GNU C library defines this for functions which it implements
13193 to always fail with ENOSYS. Some functions are actually named
13194 something starting with __ and the normal name is an alias. */
13195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13203 if { (eval echo configure:13204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13205 eval "ac_cv_func_$ac_func=yes"
13207 echo "configure: failed program was:" >&5
13208 cat conftest.$ac_ext >&5
13210 eval "ac_cv_func_$ac_func=no"
13215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13216 echo "$ac_t""yes" 1>&6
13217 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13218 cat >> confdefs.h <<EOF
13219 #define $ac_tr_func 1
13223 echo "$ac_t""no" 1>&6
13229 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13230 echo "configure:13231: checking for _isinff declaration" >&5
13231 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13232 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13233 echo $ac_n "(cached) $ac_c" 1>&6
13238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13239 ac_cpp='$CXXCPP $CPPFLAGS'
13240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13242 cross_compiling=$ac_cv_prog_cxx_cross
13244 cat > conftest.$ac_ext <<EOF
13245 #line 13246 "configure"
13246 #include "confdefs.h"
13248 #ifdef HAVE_IEEEFP_H
13249 #include <ieeefp.h>
13256 if { (eval echo configure:13257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13258 glibcpp_cv_func__isinff_use=yes
13260 echo "configure: failed program was:" >&5
13261 cat conftest.$ac_ext >&5
13263 glibcpp_cv_func__isinff_use=no
13267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13268 ac_cpp='$CPP $CPPFLAGS'
13269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13271 cross_compiling=$ac_cv_prog_cc_cross
13277 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13279 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13280 for ac_func in _isinff
13282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13283 echo "configure:13284: checking for $ac_func" >&5
13284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13290 /* System header to define __stub macros and hopefully few prototypes,
13291 which can conflict with char $ac_func(); below. */
13292 #include <assert.h>
13293 /* Override any gcc2 internal prototype to avoid an error. */
13294 /* We use char because int might match the return type of a gcc2
13295 builtin and then its argument prototype would still apply. */
13300 /* The GNU C library defines this for functions which it implements
13301 to always fail with ENOSYS. Some functions are actually named
13302 something starting with __ and the normal name is an alias. */
13303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13311 if { (eval echo configure:13312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13313 eval "ac_cv_func_$ac_func=yes"
13315 echo "configure: failed program was:" >&5
13316 cat conftest.$ac_ext >&5
13318 eval "ac_cv_func_$ac_func=no"
13323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13324 echo "$ac_t""yes" 1>&6
13325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13326 cat >> confdefs.h <<EOF
13327 #define $ac_tr_func 1
13331 echo "$ac_t""no" 1>&6
13340 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13341 echo "configure:13342: checking for atan2f declaration" >&5
13342 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13343 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13344 echo $ac_n "(cached) $ac_c" 1>&6
13349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13350 ac_cpp='$CXXCPP $CPPFLAGS'
13351 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13352 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13353 cross_compiling=$ac_cv_prog_cxx_cross
13355 cat > conftest.$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13363 if { (eval echo configure:13364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13365 glibcpp_cv_func_atan2f_use=yes
13367 echo "configure: failed program was:" >&5
13368 cat conftest.$ac_ext >&5
13370 glibcpp_cv_func_atan2f_use=no
13374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13375 ac_cpp='$CPP $CPPFLAGS'
13376 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13377 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13378 cross_compiling=$ac_cv_prog_cc_cross
13384 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13386 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13387 for ac_func in atan2f
13389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13390 echo "configure:13391: checking for $ac_func" >&5
13391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13394 cat > conftest.$ac_ext <<EOF
13395 #line 13396 "configure"
13396 #include "confdefs.h"
13397 /* System header to define __stub macros and hopefully few prototypes,
13398 which can conflict with char $ac_func(); below. */
13399 #include <assert.h>
13400 /* Override any gcc2 internal prototype to avoid an error. */
13401 /* We use char because int might match the return type of a gcc2
13402 builtin and then its argument prototype would still apply. */
13407 /* The GNU C library defines this for functions which it implements
13408 to always fail with ENOSYS. Some functions are actually named
13409 something starting with __ and the normal name is an alias. */
13410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13418 if { (eval echo configure:13419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13420 eval "ac_cv_func_$ac_func=yes"
13422 echo "configure: failed program was:" >&5
13423 cat conftest.$ac_ext >&5
13425 eval "ac_cv_func_$ac_func=no"
13430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13431 echo "$ac_t""yes" 1>&6
13432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13433 cat >> confdefs.h <<EOF
13434 #define $ac_tr_func 1
13438 echo "$ac_t""no" 1>&6
13444 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13445 echo "configure:13446: checking for _atan2f declaration" >&5
13446 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13447 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13448 echo $ac_n "(cached) $ac_c" 1>&6
13453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13454 ac_cpp='$CXXCPP $CPPFLAGS'
13455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13457 cross_compiling=$ac_cv_prog_cxx_cross
13459 cat > conftest.$ac_ext <<EOF
13460 #line 13461 "configure"
13461 #include "confdefs.h"
13467 if { (eval echo configure:13468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13469 glibcpp_cv_func__atan2f_use=yes
13471 echo "configure: failed program was:" >&5
13472 cat conftest.$ac_ext >&5
13474 glibcpp_cv_func__atan2f_use=no
13478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13479 ac_cpp='$CPP $CPPFLAGS'
13480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13482 cross_compiling=$ac_cv_prog_cc_cross
13488 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13490 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13491 for ac_func in _atan2f
13493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13494 echo "configure:13495: checking for $ac_func" >&5
13495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13496 echo $ac_n "(cached) $ac_c" 1>&6
13498 cat > conftest.$ac_ext <<EOF
13499 #line 13500 "configure"
13500 #include "confdefs.h"
13501 /* System header to define __stub macros and hopefully few prototypes,
13502 which can conflict with char $ac_func(); below. */
13503 #include <assert.h>
13504 /* Override any gcc2 internal prototype to avoid an error. */
13505 /* We use char because int might match the return type of a gcc2
13506 builtin and then its argument prototype would still apply. */
13511 /* The GNU C library defines this for functions which it implements
13512 to always fail with ENOSYS. Some functions are actually named
13513 something starting with __ and the normal name is an alias. */
13514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13522 if { (eval echo configure:13523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13524 eval "ac_cv_func_$ac_func=yes"
13526 echo "configure: failed program was:" >&5
13527 cat conftest.$ac_ext >&5
13529 eval "ac_cv_func_$ac_func=no"
13534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13535 echo "$ac_t""yes" 1>&6
13536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13537 cat >> confdefs.h <<EOF
13538 #define $ac_tr_func 1
13542 echo "$ac_t""no" 1>&6
13551 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13552 echo "configure:13553: checking for fabsf declaration" >&5
13553 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13554 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13555 echo $ac_n "(cached) $ac_c" 1>&6
13560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13561 ac_cpp='$CXXCPP $CPPFLAGS'
13562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13564 cross_compiling=$ac_cv_prog_cxx_cross
13566 cat > conftest.$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13570 #ifdef HAVE_IEEEFP_H
13571 #include <ieeefp.h>
13578 if { (eval echo configure:13579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13580 glibcpp_cv_func_fabsf_use=yes
13582 echo "configure: failed program was:" >&5
13583 cat conftest.$ac_ext >&5
13585 glibcpp_cv_func_fabsf_use=no
13589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13590 ac_cpp='$CPP $CPPFLAGS'
13591 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13592 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13593 cross_compiling=$ac_cv_prog_cc_cross
13599 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13601 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13602 for ac_func in fabsf
13604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13605 echo "configure:13606: checking for $ac_func" >&5
13606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13607 echo $ac_n "(cached) $ac_c" 1>&6
13609 cat > conftest.$ac_ext <<EOF
13610 #line 13611 "configure"
13611 #include "confdefs.h"
13612 /* System header to define __stub macros and hopefully few prototypes,
13613 which can conflict with char $ac_func(); below. */
13614 #include <assert.h>
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 /* We use char because int might match the return type of a gcc2
13617 builtin and then its argument prototype would still apply. */
13622 /* The GNU C library defines this for functions which it implements
13623 to always fail with ENOSYS. Some functions are actually named
13624 something starting with __ and the normal name is an alias. */
13625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13633 if { (eval echo configure:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13635 eval "ac_cv_func_$ac_func=yes"
13637 echo "configure: failed program was:" >&5
13638 cat conftest.$ac_ext >&5
13640 eval "ac_cv_func_$ac_func=no"
13645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13646 echo "$ac_t""yes" 1>&6
13647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13648 cat >> confdefs.h <<EOF
13649 #define $ac_tr_func 1
13653 echo "$ac_t""no" 1>&6
13659 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13660 echo "configure:13661: checking for _fabsf declaration" >&5
13661 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13662 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13663 echo $ac_n "(cached) $ac_c" 1>&6
13668 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13669 ac_cpp='$CXXCPP $CPPFLAGS'
13670 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13671 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13672 cross_compiling=$ac_cv_prog_cxx_cross
13674 cat > conftest.$ac_ext <<EOF
13675 #line 13676 "configure"
13676 #include "confdefs.h"
13678 #ifdef HAVE_IEEEFP_H
13679 #include <ieeefp.h>
13686 if { (eval echo configure:13687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13688 glibcpp_cv_func__fabsf_use=yes
13690 echo "configure: failed program was:" >&5
13691 cat conftest.$ac_ext >&5
13693 glibcpp_cv_func__fabsf_use=no
13697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13698 ac_cpp='$CPP $CPPFLAGS'
13699 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13700 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13701 cross_compiling=$ac_cv_prog_cc_cross
13707 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13709 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13710 for ac_func in _fabsf
13712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13713 echo "configure:13714: checking for $ac_func" >&5
13714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13715 echo $ac_n "(cached) $ac_c" 1>&6
13717 cat > conftest.$ac_ext <<EOF
13718 #line 13719 "configure"
13719 #include "confdefs.h"
13720 /* System header to define __stub macros and hopefully few prototypes,
13721 which can conflict with char $ac_func(); below. */
13722 #include <assert.h>
13723 /* Override any gcc2 internal prototype to avoid an error. */
13724 /* We use char because int might match the return type of a gcc2
13725 builtin and then its argument prototype would still apply. */
13730 /* The GNU C library defines this for functions which it implements
13731 to always fail with ENOSYS. Some functions are actually named
13732 something starting with __ and the normal name is an alias. */
13733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13741 if { (eval echo configure:13742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13743 eval "ac_cv_func_$ac_func=yes"
13745 echo "configure: failed program was:" >&5
13746 cat conftest.$ac_ext >&5
13748 eval "ac_cv_func_$ac_func=no"
13753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13754 echo "$ac_t""yes" 1>&6
13755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13756 cat >> confdefs.h <<EOF
13757 #define $ac_tr_func 1
13761 echo "$ac_t""no" 1>&6
13770 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13771 echo "configure:13772: checking for fmodf declaration" >&5
13772 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13773 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13780 ac_cpp='$CXXCPP $CPPFLAGS'
13781 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13782 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13783 cross_compiling=$ac_cv_prog_cxx_cross
13785 cat > conftest.$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13793 if { (eval echo configure:13794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13795 glibcpp_cv_func_fmodf_use=yes
13797 echo "configure: failed program was:" >&5
13798 cat conftest.$ac_ext >&5
13800 glibcpp_cv_func_fmodf_use=no
13804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13805 ac_cpp='$CPP $CPPFLAGS'
13806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13808 cross_compiling=$ac_cv_prog_cc_cross
13814 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13816 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13817 for ac_func in fmodf
13819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13820 echo "configure:13821: checking for $ac_func" >&5
13821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13822 echo $ac_n "(cached) $ac_c" 1>&6
13824 cat > conftest.$ac_ext <<EOF
13825 #line 13826 "configure"
13826 #include "confdefs.h"
13827 /* System header to define __stub macros and hopefully few prototypes,
13828 which can conflict with char $ac_func(); below. */
13829 #include <assert.h>
13830 /* Override any gcc2 internal prototype to avoid an error. */
13831 /* We use char because int might match the return type of a gcc2
13832 builtin and then its argument prototype would still apply. */
13837 /* The GNU C library defines this for functions which it implements
13838 to always fail with ENOSYS. Some functions are actually named
13839 something starting with __ and the normal name is an alias. */
13840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13848 if { (eval echo configure:13849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13850 eval "ac_cv_func_$ac_func=yes"
13852 echo "configure: failed program was:" >&5
13853 cat conftest.$ac_ext >&5
13855 eval "ac_cv_func_$ac_func=no"
13860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13861 echo "$ac_t""yes" 1>&6
13862 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13863 cat >> confdefs.h <<EOF
13864 #define $ac_tr_func 1
13868 echo "$ac_t""no" 1>&6
13874 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13875 echo "configure:13876: checking for _fmodf declaration" >&5
13876 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13877 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13878 echo $ac_n "(cached) $ac_c" 1>&6
13883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13884 ac_cpp='$CXXCPP $CPPFLAGS'
13885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13887 cross_compiling=$ac_cv_prog_cxx_cross
13889 cat > conftest.$ac_ext <<EOF
13890 #line 13891 "configure"
13891 #include "confdefs.h"
13897 if { (eval echo configure:13898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13899 glibcpp_cv_func__fmodf_use=yes
13901 echo "configure: failed program was:" >&5
13902 cat conftest.$ac_ext >&5
13904 glibcpp_cv_func__fmodf_use=no
13908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13909 ac_cpp='$CPP $CPPFLAGS'
13910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13912 cross_compiling=$ac_cv_prog_cc_cross
13918 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13920 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13921 for ac_func in _fmodf
13923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13924 echo "configure:13925: checking for $ac_func" >&5
13925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13926 echo $ac_n "(cached) $ac_c" 1>&6
13928 cat > conftest.$ac_ext <<EOF
13929 #line 13930 "configure"
13930 #include "confdefs.h"
13931 /* System header to define __stub macros and hopefully few prototypes,
13932 which can conflict with char $ac_func(); below. */
13933 #include <assert.h>
13934 /* Override any gcc2 internal prototype to avoid an error. */
13935 /* We use char because int might match the return type of a gcc2
13936 builtin and then its argument prototype would still apply. */
13941 /* The GNU C library defines this for functions which it implements
13942 to always fail with ENOSYS. Some functions are actually named
13943 something starting with __ and the normal name is an alias. */
13944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13952 if { (eval echo configure:13953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13954 eval "ac_cv_func_$ac_func=yes"
13956 echo "configure: failed program was:" >&5
13957 cat conftest.$ac_ext >&5
13959 eval "ac_cv_func_$ac_func=no"
13964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13965 echo "$ac_t""yes" 1>&6
13966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13967 cat >> confdefs.h <<EOF
13968 #define $ac_tr_func 1
13972 echo "$ac_t""no" 1>&6
13981 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13982 echo "configure:13983: checking for frexpf declaration" >&5
13983 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13984 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13985 echo $ac_n "(cached) $ac_c" 1>&6
13990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13991 ac_cpp='$CXXCPP $CPPFLAGS'
13992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13994 cross_compiling=$ac_cv_prog_cxx_cross
13996 cat > conftest.$ac_ext <<EOF
13997 #line 13998 "configure"
13998 #include "confdefs.h"
14004 if { (eval echo configure:14005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14006 glibcpp_cv_func_frexpf_use=yes
14008 echo "configure: failed program was:" >&5
14009 cat conftest.$ac_ext >&5
14011 glibcpp_cv_func_frexpf_use=no
14015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14016 ac_cpp='$CPP $CPPFLAGS'
14017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14019 cross_compiling=$ac_cv_prog_cc_cross
14025 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14027 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14028 for ac_func in frexpf
14030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14031 echo "configure:14032: checking for $ac_func" >&5
14032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14033 echo $ac_n "(cached) $ac_c" 1>&6
14035 cat > conftest.$ac_ext <<EOF
14036 #line 14037 "configure"
14037 #include "confdefs.h"
14038 /* System header to define __stub macros and hopefully few prototypes,
14039 which can conflict with char $ac_func(); below. */
14040 #include <assert.h>
14041 /* Override any gcc2 internal prototype to avoid an error. */
14042 /* We use char because int might match the return type of a gcc2
14043 builtin and then its argument prototype would still apply. */
14048 /* The GNU C library defines this for functions which it implements
14049 to always fail with ENOSYS. Some functions are actually named
14050 something starting with __ and the normal name is an alias. */
14051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14059 if { (eval echo configure:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14061 eval "ac_cv_func_$ac_func=yes"
14063 echo "configure: failed program was:" >&5
14064 cat conftest.$ac_ext >&5
14066 eval "ac_cv_func_$ac_func=no"
14071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14072 echo "$ac_t""yes" 1>&6
14073 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14074 cat >> confdefs.h <<EOF
14075 #define $ac_tr_func 1
14079 echo "$ac_t""no" 1>&6
14085 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14086 echo "configure:14087: checking for _frexpf declaration" >&5
14087 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14088 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14089 echo $ac_n "(cached) $ac_c" 1>&6
14094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14095 ac_cpp='$CXXCPP $CPPFLAGS'
14096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14098 cross_compiling=$ac_cv_prog_cxx_cross
14100 cat > conftest.$ac_ext <<EOF
14101 #line 14102 "configure"
14102 #include "confdefs.h"
14108 if { (eval echo configure:14109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14110 glibcpp_cv_func__frexpf_use=yes
14112 echo "configure: failed program was:" >&5
14113 cat conftest.$ac_ext >&5
14115 glibcpp_cv_func__frexpf_use=no
14119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14120 ac_cpp='$CPP $CPPFLAGS'
14121 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14122 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14123 cross_compiling=$ac_cv_prog_cc_cross
14129 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14131 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14132 for ac_func in _frexpf
14134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14135 echo "configure:14136: checking for $ac_func" >&5
14136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14137 echo $ac_n "(cached) $ac_c" 1>&6
14139 cat > conftest.$ac_ext <<EOF
14140 #line 14141 "configure"
14141 #include "confdefs.h"
14142 /* System header to define __stub macros and hopefully few prototypes,
14143 which can conflict with char $ac_func(); below. */
14144 #include <assert.h>
14145 /* Override any gcc2 internal prototype to avoid an error. */
14146 /* We use char because int might match the return type of a gcc2
14147 builtin and then its argument prototype would still apply. */
14152 /* The GNU C library defines this for functions which it implements
14153 to always fail with ENOSYS. Some functions are actually named
14154 something starting with __ and the normal name is an alias. */
14155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14163 if { (eval echo configure:14164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14165 eval "ac_cv_func_$ac_func=yes"
14167 echo "configure: failed program was:" >&5
14168 cat conftest.$ac_ext >&5
14170 eval "ac_cv_func_$ac_func=no"
14175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14176 echo "$ac_t""yes" 1>&6
14177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14178 cat >> confdefs.h <<EOF
14179 #define $ac_tr_func 1
14183 echo "$ac_t""no" 1>&6
14192 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14193 echo "configure:14194: checking for hypotf declaration" >&5
14194 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14195 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14202 ac_cpp='$CXXCPP $CPPFLAGS'
14203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14205 cross_compiling=$ac_cv_prog_cxx_cross
14207 cat > conftest.$ac_ext <<EOF
14208 #line 14209 "configure"
14209 #include "confdefs.h"
14215 if { (eval echo configure:14216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14217 glibcpp_cv_func_hypotf_use=yes
14219 echo "configure: failed program was:" >&5
14220 cat conftest.$ac_ext >&5
14222 glibcpp_cv_func_hypotf_use=no
14226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14227 ac_cpp='$CPP $CPPFLAGS'
14228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14230 cross_compiling=$ac_cv_prog_cc_cross
14236 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14238 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14239 for ac_func in hypotf
14241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14242 echo "configure:14243: checking for $ac_func" >&5
14243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14246 cat > conftest.$ac_ext <<EOF
14247 #line 14248 "configure"
14248 #include "confdefs.h"
14249 /* System header to define __stub macros and hopefully few prototypes,
14250 which can conflict with char $ac_func(); below. */
14251 #include <assert.h>
14252 /* Override any gcc2 internal prototype to avoid an error. */
14253 /* We use char because int might match the return type of a gcc2
14254 builtin and then its argument prototype would still apply. */
14259 /* The GNU C library defines this for functions which it implements
14260 to always fail with ENOSYS. Some functions are actually named
14261 something starting with __ and the normal name is an alias. */
14262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14270 if { (eval echo configure:14271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14272 eval "ac_cv_func_$ac_func=yes"
14274 echo "configure: failed program was:" >&5
14275 cat conftest.$ac_ext >&5
14277 eval "ac_cv_func_$ac_func=no"
14282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14283 echo "$ac_t""yes" 1>&6
14284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14285 cat >> confdefs.h <<EOF
14286 #define $ac_tr_func 1
14290 echo "$ac_t""no" 1>&6
14296 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14297 echo "configure:14298: checking for _hypotf declaration" >&5
14298 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14299 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14300 echo $ac_n "(cached) $ac_c" 1>&6
14305 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14306 ac_cpp='$CXXCPP $CPPFLAGS'
14307 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14308 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14309 cross_compiling=$ac_cv_prog_cxx_cross
14311 cat > conftest.$ac_ext <<EOF
14312 #line 14313 "configure"
14313 #include "confdefs.h"
14319 if { (eval echo configure:14320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14321 glibcpp_cv_func__hypotf_use=yes
14323 echo "configure: failed program was:" >&5
14324 cat conftest.$ac_ext >&5
14326 glibcpp_cv_func__hypotf_use=no
14330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14331 ac_cpp='$CPP $CPPFLAGS'
14332 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14333 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14334 cross_compiling=$ac_cv_prog_cc_cross
14340 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14342 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14343 for ac_func in _hypotf
14345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14346 echo "configure:14347: checking for $ac_func" >&5
14347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14348 echo $ac_n "(cached) $ac_c" 1>&6
14350 cat > conftest.$ac_ext <<EOF
14351 #line 14352 "configure"
14352 #include "confdefs.h"
14353 /* System header to define __stub macros and hopefully few prototypes,
14354 which can conflict with char $ac_func(); below. */
14355 #include <assert.h>
14356 /* Override any gcc2 internal prototype to avoid an error. */
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14363 /* The GNU C library defines this for functions which it implements
14364 to always fail with ENOSYS. Some functions are actually named
14365 something starting with __ and the normal name is an alias. */
14366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14374 if { (eval echo configure:14375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14376 eval "ac_cv_func_$ac_func=yes"
14378 echo "configure: failed program was:" >&5
14379 cat conftest.$ac_ext >&5
14381 eval "ac_cv_func_$ac_func=no"
14386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14387 echo "$ac_t""yes" 1>&6
14388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14389 cat >> confdefs.h <<EOF
14390 #define $ac_tr_func 1
14394 echo "$ac_t""no" 1>&6
14403 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14404 echo "configure:14405: checking for ldexpf declaration" >&5
14405 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14406 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14407 echo $ac_n "(cached) $ac_c" 1>&6
14412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14413 ac_cpp='$CXXCPP $CPPFLAGS'
14414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14416 cross_compiling=$ac_cv_prog_cxx_cross
14418 cat > conftest.$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14426 if { (eval echo configure:14427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14428 glibcpp_cv_func_ldexpf_use=yes
14430 echo "configure: failed program was:" >&5
14431 cat conftest.$ac_ext >&5
14433 glibcpp_cv_func_ldexpf_use=no
14437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14441 cross_compiling=$ac_cv_prog_cc_cross
14447 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14449 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14450 for ac_func in ldexpf
14452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14453 echo "configure:14454: checking for $ac_func" >&5
14454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14455 echo $ac_n "(cached) $ac_c" 1>&6
14457 cat > conftest.$ac_ext <<EOF
14458 #line 14459 "configure"
14459 #include "confdefs.h"
14460 /* System header to define __stub macros and hopefully few prototypes,
14461 which can conflict with char $ac_func(); below. */
14462 #include <assert.h>
14463 /* Override any gcc2 internal prototype to avoid an error. */
14464 /* We use char because int might match the return type of a gcc2
14465 builtin and then its argument prototype would still apply. */
14470 /* The GNU C library defines this for functions which it implements
14471 to always fail with ENOSYS. Some functions are actually named
14472 something starting with __ and the normal name is an alias. */
14473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14481 if { (eval echo configure:14482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14483 eval "ac_cv_func_$ac_func=yes"
14485 echo "configure: failed program was:" >&5
14486 cat conftest.$ac_ext >&5
14488 eval "ac_cv_func_$ac_func=no"
14493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14494 echo "$ac_t""yes" 1>&6
14495 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14496 cat >> confdefs.h <<EOF
14497 #define $ac_tr_func 1
14501 echo "$ac_t""no" 1>&6
14507 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14508 echo "configure:14509: checking for _ldexpf declaration" >&5
14509 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14510 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14516 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14517 ac_cpp='$CXXCPP $CPPFLAGS'
14518 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14519 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14520 cross_compiling=$ac_cv_prog_cxx_cross
14522 cat > conftest.$ac_ext <<EOF
14523 #line 14524 "configure"
14524 #include "confdefs.h"
14530 if { (eval echo configure:14531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14532 glibcpp_cv_func__ldexpf_use=yes
14534 echo "configure: failed program was:" >&5
14535 cat conftest.$ac_ext >&5
14537 glibcpp_cv_func__ldexpf_use=no
14541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14542 ac_cpp='$CPP $CPPFLAGS'
14543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14545 cross_compiling=$ac_cv_prog_cc_cross
14551 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14553 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14554 for ac_func in _ldexpf
14556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14557 echo "configure:14558: checking for $ac_func" >&5
14558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14561 cat > conftest.$ac_ext <<EOF
14562 #line 14563 "configure"
14563 #include "confdefs.h"
14564 /* System header to define __stub macros and hopefully few prototypes,
14565 which can conflict with char $ac_func(); below. */
14566 #include <assert.h>
14567 /* Override any gcc2 internal prototype to avoid an error. */
14568 /* We use char because int might match the return type of a gcc2
14569 builtin and then its argument prototype would still apply. */
14574 /* The GNU C library defines this for functions which it implements
14575 to always fail with ENOSYS. Some functions are actually named
14576 something starting with __ and the normal name is an alias. */
14577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14587 eval "ac_cv_func_$ac_func=yes"
14589 echo "configure: failed program was:" >&5
14590 cat conftest.$ac_ext >&5
14592 eval "ac_cv_func_$ac_func=no"
14597 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14598 echo "$ac_t""yes" 1>&6
14599 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14600 cat >> confdefs.h <<EOF
14601 #define $ac_tr_func 1
14605 echo "$ac_t""no" 1>&6
14614 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14615 echo "configure:14616: checking for logf declaration" >&5
14616 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14617 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14618 echo $ac_n "(cached) $ac_c" 1>&6
14623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14624 ac_cpp='$CXXCPP $CPPFLAGS'
14625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14627 cross_compiling=$ac_cv_prog_cxx_cross
14629 cat > conftest.$ac_ext <<EOF
14630 #line 14631 "configure"
14631 #include "confdefs.h"
14633 #ifdef HAVE_IEEEFP_H
14634 #include <ieeefp.h>
14641 if { (eval echo configure:14642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14643 glibcpp_cv_func_logf_use=yes
14645 echo "configure: failed program was:" >&5
14646 cat conftest.$ac_ext >&5
14648 glibcpp_cv_func_logf_use=no
14652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14653 ac_cpp='$CPP $CPPFLAGS'
14654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14656 cross_compiling=$ac_cv_prog_cc_cross
14662 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14664 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14665 for ac_func in logf
14667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14668 echo "configure:14669: checking for $ac_func" >&5
14669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14670 echo $ac_n "(cached) $ac_c" 1>&6
14672 cat > conftest.$ac_ext <<EOF
14673 #line 14674 "configure"
14674 #include "confdefs.h"
14675 /* System header to define __stub macros and hopefully few prototypes,
14676 which can conflict with char $ac_func(); below. */
14677 #include <assert.h>
14678 /* Override any gcc2 internal prototype to avoid an error. */
14679 /* We use char because int might match the return type of a gcc2
14680 builtin and then its argument prototype would still apply. */
14685 /* The GNU C library defines this for functions which it implements
14686 to always fail with ENOSYS. Some functions are actually named
14687 something starting with __ and the normal name is an alias. */
14688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14696 if { (eval echo configure:14697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14698 eval "ac_cv_func_$ac_func=yes"
14700 echo "configure: failed program was:" >&5
14701 cat conftest.$ac_ext >&5
14703 eval "ac_cv_func_$ac_func=no"
14708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14709 echo "$ac_t""yes" 1>&6
14710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14711 cat >> confdefs.h <<EOF
14712 #define $ac_tr_func 1
14716 echo "$ac_t""no" 1>&6
14722 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14723 echo "configure:14724: checking for _logf declaration" >&5
14724 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14725 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14731 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14734 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14735 cross_compiling=$ac_cv_prog_cxx_cross
14737 cat > conftest.$ac_ext <<EOF
14738 #line 14739 "configure"
14739 #include "confdefs.h"
14741 #ifdef HAVE_IEEEFP_H
14742 #include <ieeefp.h>
14749 if { (eval echo configure:14750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14751 glibcpp_cv_func__logf_use=yes
14753 echo "configure: failed program was:" >&5
14754 cat conftest.$ac_ext >&5
14756 glibcpp_cv_func__logf_use=no
14760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14761 ac_cpp='$CPP $CPPFLAGS'
14762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14764 cross_compiling=$ac_cv_prog_cc_cross
14770 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14772 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14773 for ac_func in _logf
14775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14776 echo "configure:14777: checking for $ac_func" >&5
14777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14778 echo $ac_n "(cached) $ac_c" 1>&6
14780 cat > conftest.$ac_ext <<EOF
14781 #line 14782 "configure"
14782 #include "confdefs.h"
14783 /* System header to define __stub macros and hopefully few prototypes,
14784 which can conflict with char $ac_func(); below. */
14785 #include <assert.h>
14786 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14793 /* The GNU C library defines this for functions which it implements
14794 to always fail with ENOSYS. Some functions are actually named
14795 something starting with __ and the normal name is an alias. */
14796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14804 if { (eval echo configure:14805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14806 eval "ac_cv_func_$ac_func=yes"
14808 echo "configure: failed program was:" >&5
14809 cat conftest.$ac_ext >&5
14811 eval "ac_cv_func_$ac_func=no"
14816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14817 echo "$ac_t""yes" 1>&6
14818 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14819 cat >> confdefs.h <<EOF
14820 #define $ac_tr_func 1
14824 echo "$ac_t""no" 1>&6
14833 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14834 echo "configure:14835: checking for log10f declaration" >&5
14835 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14836 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14837 echo $ac_n "(cached) $ac_c" 1>&6
14842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14843 ac_cpp='$CXXCPP $CPPFLAGS'
14844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14846 cross_compiling=$ac_cv_prog_cxx_cross
14848 cat > conftest.$ac_ext <<EOF
14849 #line 14850 "configure"
14850 #include "confdefs.h"
14852 #ifdef HAVE_IEEEFP_H
14853 #include <ieeefp.h>
14860 if { (eval echo configure:14861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14862 glibcpp_cv_func_log10f_use=yes
14864 echo "configure: failed program was:" >&5
14865 cat conftest.$ac_ext >&5
14867 glibcpp_cv_func_log10f_use=no
14871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14875 cross_compiling=$ac_cv_prog_cc_cross
14881 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14883 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14884 for ac_func in log10f
14886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14887 echo "configure:14888: checking for $ac_func" >&5
14888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14889 echo $ac_n "(cached) $ac_c" 1>&6
14891 cat > conftest.$ac_ext <<EOF
14892 #line 14893 "configure"
14893 #include "confdefs.h"
14894 /* System header to define __stub macros and hopefully few prototypes,
14895 which can conflict with char $ac_func(); below. */
14896 #include <assert.h>
14897 /* Override any gcc2 internal prototype to avoid an error. */
14898 /* We use char because int might match the return type of a gcc2
14899 builtin and then its argument prototype would still apply. */
14904 /* The GNU C library defines this for functions which it implements
14905 to always fail with ENOSYS. Some functions are actually named
14906 something starting with __ and the normal name is an alias. */
14907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14915 if { (eval echo configure:14916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14917 eval "ac_cv_func_$ac_func=yes"
14919 echo "configure: failed program was:" >&5
14920 cat conftest.$ac_ext >&5
14922 eval "ac_cv_func_$ac_func=no"
14927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14928 echo "$ac_t""yes" 1>&6
14929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14930 cat >> confdefs.h <<EOF
14931 #define $ac_tr_func 1
14935 echo "$ac_t""no" 1>&6
14941 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14942 echo "configure:14943: checking for _log10f declaration" >&5
14943 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14944 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14945 echo $ac_n "(cached) $ac_c" 1>&6
14950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14951 ac_cpp='$CXXCPP $CPPFLAGS'
14952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14954 cross_compiling=$ac_cv_prog_cxx_cross
14956 cat > conftest.$ac_ext <<EOF
14957 #line 14958 "configure"
14958 #include "confdefs.h"
14960 #ifdef HAVE_IEEEFP_H
14961 #include <ieeefp.h>
14968 if { (eval echo configure:14969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14970 glibcpp_cv_func__log10f_use=yes
14972 echo "configure: failed program was:" >&5
14973 cat conftest.$ac_ext >&5
14975 glibcpp_cv_func__log10f_use=no
14979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14980 ac_cpp='$CPP $CPPFLAGS'
14981 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14982 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14983 cross_compiling=$ac_cv_prog_cc_cross
14989 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14991 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14992 for ac_func in _log10f
14994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14995 echo "configure:14996: checking for $ac_func" >&5
14996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14997 echo $ac_n "(cached) $ac_c" 1>&6
14999 cat > conftest.$ac_ext <<EOF
15000 #line 15001 "configure"
15001 #include "confdefs.h"
15002 /* System header to define __stub macros and hopefully few prototypes,
15003 which can conflict with char $ac_func(); below. */
15004 #include <assert.h>
15005 /* Override any gcc2 internal prototype to avoid an error. */
15006 /* We use char because int might match the return type of a gcc2
15007 builtin and then its argument prototype would still apply. */
15012 /* The GNU C library defines this for functions which it implements
15013 to always fail with ENOSYS. Some functions are actually named
15014 something starting with __ and the normal name is an alias. */
15015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15023 if { (eval echo configure:15024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15025 eval "ac_cv_func_$ac_func=yes"
15027 echo "configure: failed program was:" >&5
15028 cat conftest.$ac_ext >&5
15030 eval "ac_cv_func_$ac_func=no"
15035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15036 echo "$ac_t""yes" 1>&6
15037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15038 cat >> confdefs.h <<EOF
15039 #define $ac_tr_func 1
15043 echo "$ac_t""no" 1>&6
15052 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15053 echo "configure:15054: checking for modff declaration" >&5
15054 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15055 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15062 ac_cpp='$CXXCPP $CPPFLAGS'
15063 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15064 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15065 cross_compiling=$ac_cv_prog_cxx_cross
15067 cat > conftest.$ac_ext <<EOF
15068 #line 15069 "configure"
15069 #include "confdefs.h"
15075 if { (eval echo configure:15076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15077 glibcpp_cv_func_modff_use=yes
15079 echo "configure: failed program was:" >&5
15080 cat conftest.$ac_ext >&5
15082 glibcpp_cv_func_modff_use=no
15086 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15089 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15090 cross_compiling=$ac_cv_prog_cc_cross
15096 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15098 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15099 for ac_func in modff
15101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15102 echo "configure:15103: checking for $ac_func" >&5
15103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15104 echo $ac_n "(cached) $ac_c" 1>&6
15106 cat > conftest.$ac_ext <<EOF
15107 #line 15108 "configure"
15108 #include "confdefs.h"
15109 /* System header to define __stub macros and hopefully few prototypes,
15110 which can conflict with char $ac_func(); below. */
15111 #include <assert.h>
15112 /* Override any gcc2 internal prototype to avoid an error. */
15113 /* We use char because int might match the return type of a gcc2
15114 builtin and then its argument prototype would still apply. */
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15130 if { (eval echo configure:15131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15132 eval "ac_cv_func_$ac_func=yes"
15134 echo "configure: failed program was:" >&5
15135 cat conftest.$ac_ext >&5
15137 eval "ac_cv_func_$ac_func=no"
15142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15143 echo "$ac_t""yes" 1>&6
15144 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15145 cat >> confdefs.h <<EOF
15146 #define $ac_tr_func 1
15150 echo "$ac_t""no" 1>&6
15156 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15157 echo "configure:15158: checking for _modff declaration" >&5
15158 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15159 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15160 echo $ac_n "(cached) $ac_c" 1>&6
15165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15166 ac_cpp='$CXXCPP $CPPFLAGS'
15167 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15168 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15169 cross_compiling=$ac_cv_prog_cxx_cross
15171 cat > conftest.$ac_ext <<EOF
15172 #line 15173 "configure"
15173 #include "confdefs.h"
15179 if { (eval echo configure:15180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15181 glibcpp_cv_func__modff_use=yes
15183 echo "configure: failed program was:" >&5
15184 cat conftest.$ac_ext >&5
15186 glibcpp_cv_func__modff_use=no
15190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15193 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15194 cross_compiling=$ac_cv_prog_cc_cross
15200 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15202 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15203 for ac_func in _modff
15205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15206 echo "configure:15207: checking for $ac_func" >&5
15207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15208 echo $ac_n "(cached) $ac_c" 1>&6
15210 cat > conftest.$ac_ext <<EOF
15211 #line 15212 "configure"
15212 #include "confdefs.h"
15213 /* System header to define __stub macros and hopefully few prototypes,
15214 which can conflict with char $ac_func(); below. */
15215 #include <assert.h>
15216 /* Override any gcc2 internal prototype to avoid an error. */
15217 /* We use char because int might match the return type of a gcc2
15218 builtin and then its argument prototype would still apply. */
15223 /* The GNU C library defines this for functions which it implements
15224 to always fail with ENOSYS. Some functions are actually named
15225 something starting with __ and the normal name is an alias. */
15226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15234 if { (eval echo configure:15235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15236 eval "ac_cv_func_$ac_func=yes"
15238 echo "configure: failed program was:" >&5
15239 cat conftest.$ac_ext >&5
15241 eval "ac_cv_func_$ac_func=no"
15246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15247 echo "$ac_t""yes" 1>&6
15248 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15249 cat >> confdefs.h <<EOF
15250 #define $ac_tr_func 1
15254 echo "$ac_t""no" 1>&6
15263 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15264 echo "configure:15265: checking for powf declaration" >&5
15265 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15266 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15267 echo $ac_n "(cached) $ac_c" 1>&6
15272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15273 ac_cpp='$CXXCPP $CPPFLAGS'
15274 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15275 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15276 cross_compiling=$ac_cv_prog_cxx_cross
15278 cat > conftest.$ac_ext <<EOF
15279 #line 15280 "configure"
15280 #include "confdefs.h"
15286 if { (eval echo configure:15287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15288 glibcpp_cv_func_powf_use=yes
15290 echo "configure: failed program was:" >&5
15291 cat conftest.$ac_ext >&5
15293 glibcpp_cv_func_powf_use=no
15297 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15298 ac_cpp='$CPP $CPPFLAGS'
15299 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15300 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15301 cross_compiling=$ac_cv_prog_cc_cross
15307 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15309 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15310 for ac_func in powf
15312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15313 echo "configure:15314: checking for $ac_func" >&5
15314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15315 echo $ac_n "(cached) $ac_c" 1>&6
15317 cat > conftest.$ac_ext <<EOF
15318 #line 15319 "configure"
15319 #include "confdefs.h"
15320 /* System header to define __stub macros and hopefully few prototypes,
15321 which can conflict with char $ac_func(); below. */
15322 #include <assert.h>
15323 /* Override any gcc2 internal prototype to avoid an error. */
15324 /* We use char because int might match the return type of a gcc2
15325 builtin and then its argument prototype would still apply. */
15330 /* The GNU C library defines this for functions which it implements
15331 to always fail with ENOSYS. Some functions are actually named
15332 something starting with __ and the normal name is an alias. */
15333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15341 if { (eval echo configure:15342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15343 eval "ac_cv_func_$ac_func=yes"
15345 echo "configure: failed program was:" >&5
15346 cat conftest.$ac_ext >&5
15348 eval "ac_cv_func_$ac_func=no"
15353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15354 echo "$ac_t""yes" 1>&6
15355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15356 cat >> confdefs.h <<EOF
15357 #define $ac_tr_func 1
15361 echo "$ac_t""no" 1>&6
15367 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15368 echo "configure:15369: checking for _powf declaration" >&5
15369 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15370 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15371 echo $ac_n "(cached) $ac_c" 1>&6
15376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15377 ac_cpp='$CXXCPP $CPPFLAGS'
15378 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15379 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15380 cross_compiling=$ac_cv_prog_cxx_cross
15382 cat > conftest.$ac_ext <<EOF
15383 #line 15384 "configure"
15384 #include "confdefs.h"
15390 if { (eval echo configure:15391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15392 glibcpp_cv_func__powf_use=yes
15394 echo "configure: failed program was:" >&5
15395 cat conftest.$ac_ext >&5
15397 glibcpp_cv_func__powf_use=no
15401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15402 ac_cpp='$CPP $CPPFLAGS'
15403 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15404 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15405 cross_compiling=$ac_cv_prog_cc_cross
15411 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15413 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15414 for ac_func in _powf
15416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15417 echo "configure:15418: checking for $ac_func" >&5
15418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15419 echo $ac_n "(cached) $ac_c" 1>&6
15421 cat > conftest.$ac_ext <<EOF
15422 #line 15423 "configure"
15423 #include "confdefs.h"
15424 /* System header to define __stub macros and hopefully few prototypes,
15425 which can conflict with char $ac_func(); below. */
15426 #include <assert.h>
15427 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15434 /* The GNU C library defines this for functions which it implements
15435 to always fail with ENOSYS. Some functions are actually named
15436 something starting with __ and the normal name is an alias. */
15437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15445 if { (eval echo configure:15446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15447 eval "ac_cv_func_$ac_func=yes"
15449 echo "configure: failed program was:" >&5
15450 cat conftest.$ac_ext >&5
15452 eval "ac_cv_func_$ac_func=no"
15457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15458 echo "$ac_t""yes" 1>&6
15459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15460 cat >> confdefs.h <<EOF
15461 #define $ac_tr_func 1
15465 echo "$ac_t""no" 1>&6
15474 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15475 echo "configure:15476: checking for sqrtf declaration" >&5
15476 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15477 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15483 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15484 ac_cpp='$CXXCPP $CPPFLAGS'
15485 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15486 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15487 cross_compiling=$ac_cv_prog_cxx_cross
15489 cat > conftest.$ac_ext <<EOF
15490 #line 15491 "configure"
15491 #include "confdefs.h"
15493 #ifdef HAVE_IEEEFP_H
15494 #include <ieeefp.h>
15501 if { (eval echo configure:15502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15503 glibcpp_cv_func_sqrtf_use=yes
15505 echo "configure: failed program was:" >&5
15506 cat conftest.$ac_ext >&5
15508 glibcpp_cv_func_sqrtf_use=no
15512 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15515 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15516 cross_compiling=$ac_cv_prog_cc_cross
15522 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15524 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15525 for ac_func in sqrtf
15527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15528 echo "configure:15529: checking for $ac_func" >&5
15529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15530 echo $ac_n "(cached) $ac_c" 1>&6
15532 cat > conftest.$ac_ext <<EOF
15533 #line 15534 "configure"
15534 #include "confdefs.h"
15535 /* System header to define __stub macros and hopefully few prototypes,
15536 which can conflict with char $ac_func(); below. */
15537 #include <assert.h>
15538 /* Override any gcc2 internal prototype to avoid an error. */
15539 /* We use char because int might match the return type of a gcc2
15540 builtin and then its argument prototype would still apply. */
15545 /* The GNU C library defines this for functions which it implements
15546 to always fail with ENOSYS. Some functions are actually named
15547 something starting with __ and the normal name is an alias. */
15548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15556 if { (eval echo configure:15557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15558 eval "ac_cv_func_$ac_func=yes"
15560 echo "configure: failed program was:" >&5
15561 cat conftest.$ac_ext >&5
15563 eval "ac_cv_func_$ac_func=no"
15568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15569 echo "$ac_t""yes" 1>&6
15570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15571 cat >> confdefs.h <<EOF
15572 #define $ac_tr_func 1
15576 echo "$ac_t""no" 1>&6
15582 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15583 echo "configure:15584: checking for _sqrtf declaration" >&5
15584 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15585 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15586 echo $ac_n "(cached) $ac_c" 1>&6
15591 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15592 ac_cpp='$CXXCPP $CPPFLAGS'
15593 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15594 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15595 cross_compiling=$ac_cv_prog_cxx_cross
15597 cat > conftest.$ac_ext <<EOF
15598 #line 15599 "configure"
15599 #include "confdefs.h"
15601 #ifdef HAVE_IEEEFP_H
15602 #include <ieeefp.h>
15609 if { (eval echo configure:15610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15611 glibcpp_cv_func__sqrtf_use=yes
15613 echo "configure: failed program was:" >&5
15614 cat conftest.$ac_ext >&5
15616 glibcpp_cv_func__sqrtf_use=no
15620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15621 ac_cpp='$CPP $CPPFLAGS'
15622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15624 cross_compiling=$ac_cv_prog_cc_cross
15630 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15632 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15633 for ac_func in _sqrtf
15635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15636 echo "configure:15637: checking for $ac_func" >&5
15637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15638 echo $ac_n "(cached) $ac_c" 1>&6
15640 cat > conftest.$ac_ext <<EOF
15641 #line 15642 "configure"
15642 #include "confdefs.h"
15643 /* System header to define __stub macros and hopefully few prototypes,
15644 which can conflict with char $ac_func(); below. */
15645 #include <assert.h>
15646 /* Override any gcc2 internal prototype to avoid an error. */
15647 /* We use char because int might match the return type of a gcc2
15648 builtin and then its argument prototype would still apply. */
15653 /* The GNU C library defines this for functions which it implements
15654 to always fail with ENOSYS. Some functions are actually named
15655 something starting with __ and the normal name is an alias. */
15656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15664 if { (eval echo configure:15665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15666 eval "ac_cv_func_$ac_func=yes"
15668 echo "configure: failed program was:" >&5
15669 cat conftest.$ac_ext >&5
15671 eval "ac_cv_func_$ac_func=no"
15676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15677 echo "$ac_t""yes" 1>&6
15678 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15679 cat >> confdefs.h <<EOF
15680 #define $ac_tr_func 1
15684 echo "$ac_t""no" 1>&6
15693 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15694 echo "configure:15695: checking for sincosf declaration" >&5
15695 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15696 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15702 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15705 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15706 cross_compiling=$ac_cv_prog_cxx_cross
15708 cat > conftest.$ac_ext <<EOF
15709 #line 15710 "configure"
15710 #include "confdefs.h"
15716 if { (eval echo configure:15717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15718 glibcpp_cv_func_sincosf_use=yes
15720 echo "configure: failed program was:" >&5
15721 cat conftest.$ac_ext >&5
15723 glibcpp_cv_func_sincosf_use=no
15727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15728 ac_cpp='$CPP $CPPFLAGS'
15729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15731 cross_compiling=$ac_cv_prog_cc_cross
15737 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15739 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15740 for ac_func in sincosf
15742 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15743 echo "configure:15744: checking for $ac_func" >&5
15744 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15745 echo $ac_n "(cached) $ac_c" 1>&6
15747 cat > conftest.$ac_ext <<EOF
15748 #line 15749 "configure"
15749 #include "confdefs.h"
15750 /* System header to define __stub macros and hopefully few prototypes,
15751 which can conflict with char $ac_func(); below. */
15752 #include <assert.h>
15753 /* Override any gcc2 internal prototype to avoid an error. */
15754 /* We use char because int might match the return type of a gcc2
15755 builtin and then its argument prototype would still apply. */
15760 /* The GNU C library defines this for functions which it implements
15761 to always fail with ENOSYS. Some functions are actually named
15762 something starting with __ and the normal name is an alias. */
15763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15771 if { (eval echo configure:15772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15773 eval "ac_cv_func_$ac_func=yes"
15775 echo "configure: failed program was:" >&5
15776 cat conftest.$ac_ext >&5
15778 eval "ac_cv_func_$ac_func=no"
15783 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15784 echo "$ac_t""yes" 1>&6
15785 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15786 cat >> confdefs.h <<EOF
15787 #define $ac_tr_func 1
15791 echo "$ac_t""no" 1>&6
15797 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15798 echo "configure:15799: checking for _sincosf declaration" >&5
15799 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15800 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15801 echo $ac_n "(cached) $ac_c" 1>&6
15806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15807 ac_cpp='$CXXCPP $CPPFLAGS'
15808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15810 cross_compiling=$ac_cv_prog_cxx_cross
15812 cat > conftest.$ac_ext <<EOF
15813 #line 15814 "configure"
15814 #include "confdefs.h"
15820 if { (eval echo configure:15821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15822 glibcpp_cv_func__sincosf_use=yes
15824 echo "configure: failed program was:" >&5
15825 cat conftest.$ac_ext >&5
15827 glibcpp_cv_func__sincosf_use=no
15831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15834 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15835 cross_compiling=$ac_cv_prog_cc_cross
15841 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15843 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15844 for ac_func in _sincosf
15846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15847 echo "configure:15848: checking for $ac_func" >&5
15848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15849 echo $ac_n "(cached) $ac_c" 1>&6
15851 cat > conftest.$ac_ext <<EOF
15852 #line 15853 "configure"
15853 #include "confdefs.h"
15854 /* System header to define __stub macros and hopefully few prototypes,
15855 which can conflict with char $ac_func(); below. */
15856 #include <assert.h>
15857 /* Override any gcc2 internal prototype to avoid an error. */
15858 /* We use char because int might match the return type of a gcc2
15859 builtin and then its argument prototype would still apply. */
15864 /* The GNU C library defines this for functions which it implements
15865 to always fail with ENOSYS. Some functions are actually named
15866 something starting with __ and the normal name is an alias. */
15867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15875 if { (eval echo configure:15876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15877 eval "ac_cv_func_$ac_func=yes"
15879 echo "configure: failed program was:" >&5
15880 cat conftest.$ac_ext >&5
15882 eval "ac_cv_func_$ac_func=no"
15887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15888 echo "$ac_t""yes" 1>&6
15889 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15890 cat >> confdefs.h <<EOF
15891 #define $ac_tr_func 1
15895 echo "$ac_t""no" 1>&6
15904 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15905 echo "configure:15906: checking for finitef declaration" >&5
15906 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15907 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15908 echo $ac_n "(cached) $ac_c" 1>&6
15913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp='$CXXCPP $CPPFLAGS'
15915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling=$ac_cv_prog_cxx_cross
15919 cat > conftest.$ac_ext <<EOF
15920 #line 15921 "configure"
15921 #include "confdefs.h"
15923 #ifdef HAVE_IEEEFP_H
15924 #include <ieeefp.h>
15931 if { (eval echo configure:15932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15933 glibcpp_cv_func_finitef_use=yes
15935 echo "configure: failed program was:" >&5
15936 cat conftest.$ac_ext >&5
15938 glibcpp_cv_func_finitef_use=no
15942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15943 ac_cpp='$CPP $CPPFLAGS'
15944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15946 cross_compiling=$ac_cv_prog_cc_cross
15952 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15954 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15955 for ac_func in finitef
15957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15958 echo "configure:15959: checking for $ac_func" >&5
15959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15960 echo $ac_n "(cached) $ac_c" 1>&6
15962 cat > conftest.$ac_ext <<EOF
15963 #line 15964 "configure"
15964 #include "confdefs.h"
15965 /* System header to define __stub macros and hopefully few prototypes,
15966 which can conflict with char $ac_func(); below. */
15967 #include <assert.h>
15968 /* Override any gcc2 internal prototype to avoid an error. */
15969 /* We use char because int might match the return type of a gcc2
15970 builtin and then its argument prototype would still apply. */
15975 /* The GNU C library defines this for functions which it implements
15976 to always fail with ENOSYS. Some functions are actually named
15977 something starting with __ and the normal name is an alias. */
15978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15986 if { (eval echo configure:15987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15988 eval "ac_cv_func_$ac_func=yes"
15990 echo "configure: failed program was:" >&5
15991 cat conftest.$ac_ext >&5
15993 eval "ac_cv_func_$ac_func=no"
15998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15999 echo "$ac_t""yes" 1>&6
16000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16001 cat >> confdefs.h <<EOF
16002 #define $ac_tr_func 1
16006 echo "$ac_t""no" 1>&6
16012 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
16013 echo "configure:16014: checking for _finitef declaration" >&5
16014 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16015 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16016 echo $ac_n "(cached) $ac_c" 1>&6
16021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16022 ac_cpp='$CXXCPP $CPPFLAGS'
16023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16025 cross_compiling=$ac_cv_prog_cxx_cross
16027 cat > conftest.$ac_ext <<EOF
16028 #line 16029 "configure"
16029 #include "confdefs.h"
16031 #ifdef HAVE_IEEEFP_H
16032 #include <ieeefp.h>
16039 if { (eval echo configure:16040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16041 glibcpp_cv_func__finitef_use=yes
16043 echo "configure: failed program was:" >&5
16044 cat conftest.$ac_ext >&5
16046 glibcpp_cv_func__finitef_use=no
16050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16051 ac_cpp='$CPP $CPPFLAGS'
16052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16054 cross_compiling=$ac_cv_prog_cc_cross
16060 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16062 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16063 for ac_func in _finitef
16065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16066 echo "configure:16067: checking for $ac_func" >&5
16067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16068 echo $ac_n "(cached) $ac_c" 1>&6
16070 cat > conftest.$ac_ext <<EOF
16071 #line 16072 "configure"
16072 #include "confdefs.h"
16073 /* System header to define __stub macros and hopefully few prototypes,
16074 which can conflict with char $ac_func(); below. */
16075 #include <assert.h>
16076 /* Override any gcc2 internal prototype to avoid an error. */
16077 /* We use char because int might match the return type of a gcc2
16078 builtin and then its argument prototype would still apply. */
16083 /* The GNU C library defines this for functions which it implements
16084 to always fail with ENOSYS. Some functions are actually named
16085 something starting with __ and the normal name is an alias. */
16086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16094 if { (eval echo configure:16095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16096 eval "ac_cv_func_$ac_func=yes"
16098 echo "configure: failed program was:" >&5
16099 cat conftest.$ac_ext >&5
16101 eval "ac_cv_func_$ac_func=no"
16106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16107 echo "$ac_t""yes" 1>&6
16108 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16109 cat >> confdefs.h <<EOF
16110 #define $ac_tr_func 1
16114 echo "$ac_t""no" 1>&6
16123 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16124 echo "configure:16125: checking for long double trig functions" >&5
16125 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16126 echo $ac_n "(cached) $ac_c" 1>&6
16131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16132 ac_cpp='$CXXCPP $CPPFLAGS'
16133 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16134 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16135 cross_compiling=$ac_cv_prog_cxx_cross
16137 cat > conftest.$ac_ext <<EOF
16138 #line 16139 "configure"
16139 #include "confdefs.h"
16142 `for x in acosl asinl atanl \
16144 coshl sinhl tanhl; do echo "$x (0);"; done`
16147 if { (eval echo configure:16148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16149 glibcpp_cv_func_long_double_trig_use=yes
16151 echo "configure: failed program was:" >&5
16152 cat conftest.$ac_ext >&5
16154 glibcpp_cv_func_long_double_trig_use=no
16158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16159 ac_cpp='$CPP $CPPFLAGS'
16160 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16161 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16162 cross_compiling=$ac_cv_prog_cc_cross
16166 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16167 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16168 for ac_func in acosl asinl atanl \
16172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16173 echo "configure:16174: checking for $ac_func" >&5
16174 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16175 echo $ac_n "(cached) $ac_c" 1>&6
16177 cat > conftest.$ac_ext <<EOF
16178 #line 16179 "configure"
16179 #include "confdefs.h"
16180 /* System header to define __stub macros and hopefully few prototypes,
16181 which can conflict with char $ac_func(); below. */
16182 #include <assert.h>
16183 /* Override any gcc2 internal prototype to avoid an error. */
16184 /* We use char because int might match the return type of a gcc2
16185 builtin and then its argument prototype would still apply. */
16190 /* The GNU C library defines this for functions which it implements
16191 to always fail with ENOSYS. Some functions are actually named
16192 something starting with __ and the normal name is an alias. */
16193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16201 if { (eval echo configure:16202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16203 eval "ac_cv_func_$ac_func=yes"
16205 echo "configure: failed program was:" >&5
16206 cat conftest.$ac_ext >&5
16208 eval "ac_cv_func_$ac_func=no"
16213 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16214 echo "$ac_t""yes" 1>&6
16215 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16216 cat >> confdefs.h <<EOF
16217 #define $ac_tr_func 1
16221 echo "$ac_t""no" 1>&6
16228 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16229 echo "configure:16230: checking for long double round functions" >&5
16230 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16231 echo $ac_n "(cached) $ac_c" 1>&6
16236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16237 ac_cpp='$CXXCPP $CPPFLAGS'
16238 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16239 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16240 cross_compiling=$ac_cv_prog_cxx_cross
16242 cat > conftest.$ac_ext <<EOF
16243 #line 16244 "configure"
16244 #include "confdefs.h"
16247 `for x in ceill floorl; do echo "$x (0);"; done`
16250 if { (eval echo configure:16251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16252 glibcpp_cv_func_long_double_round_use=yes
16254 echo "configure: failed program was:" >&5
16255 cat conftest.$ac_ext >&5
16257 glibcpp_cv_func_long_double_round_use=no
16261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16262 ac_cpp='$CPP $CPPFLAGS'
16263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16265 cross_compiling=$ac_cv_prog_cc_cross
16269 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16270 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16271 for ac_func in ceill floorl
16273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16274 echo "configure:16275: checking for $ac_func" >&5
16275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16276 echo $ac_n "(cached) $ac_c" 1>&6
16278 cat > conftest.$ac_ext <<EOF
16279 #line 16280 "configure"
16280 #include "confdefs.h"
16281 /* System header to define __stub macros and hopefully few prototypes,
16282 which can conflict with char $ac_func(); below. */
16283 #include <assert.h>
16284 /* Override any gcc2 internal prototype to avoid an error. */
16285 /* We use char because int might match the return type of a gcc2
16286 builtin and then its argument prototype would still apply. */
16291 /* The GNU C library defines this for functions which it implements
16292 to always fail with ENOSYS. Some functions are actually named
16293 something starting with __ and the normal name is an alias. */
16294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16302 if { (eval echo configure:16303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16304 eval "ac_cv_func_$ac_func=yes"
16306 echo "configure: failed program was:" >&5
16307 cat conftest.$ac_ext >&5
16309 eval "ac_cv_func_$ac_func=no"
16314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16315 echo "$ac_t""yes" 1>&6
16316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16317 cat >> confdefs.h <<EOF
16318 #define $ac_tr_func 1
16322 echo "$ac_t""no" 1>&6
16330 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16331 echo "configure:16332: checking for isnanl declaration" >&5
16332 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16333 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16334 echo $ac_n "(cached) $ac_c" 1>&6
16339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16340 ac_cpp='$CXXCPP $CPPFLAGS'
16341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16343 cross_compiling=$ac_cv_prog_cxx_cross
16345 cat > conftest.$ac_ext <<EOF
16346 #line 16347 "configure"
16347 #include "confdefs.h"
16349 #ifdef HAVE_IEEEFP_H
16350 #include <ieeefp.h>
16357 if { (eval echo configure:16358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16359 glibcpp_cv_func_isnanl_use=yes
16361 echo "configure: failed program was:" >&5
16362 cat conftest.$ac_ext >&5
16364 glibcpp_cv_func_isnanl_use=no
16368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16369 ac_cpp='$CPP $CPPFLAGS'
16370 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16371 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16372 cross_compiling=$ac_cv_prog_cc_cross
16378 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16380 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16381 for ac_func in isnanl
16383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16384 echo "configure:16385: checking for $ac_func" >&5
16385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16386 echo $ac_n "(cached) $ac_c" 1>&6
16388 cat > conftest.$ac_ext <<EOF
16389 #line 16390 "configure"
16390 #include "confdefs.h"
16391 /* System header to define __stub macros and hopefully few prototypes,
16392 which can conflict with char $ac_func(); below. */
16393 #include <assert.h>
16394 /* Override any gcc2 internal prototype to avoid an error. */
16395 /* We use char because int might match the return type of a gcc2
16396 builtin and then its argument prototype would still apply. */
16401 /* The GNU C library defines this for functions which it implements
16402 to always fail with ENOSYS. Some functions are actually named
16403 something starting with __ and the normal name is an alias. */
16404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16412 if { (eval echo configure:16413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16414 eval "ac_cv_func_$ac_func=yes"
16416 echo "configure: failed program was:" >&5
16417 cat conftest.$ac_ext >&5
16419 eval "ac_cv_func_$ac_func=no"
16424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16425 echo "$ac_t""yes" 1>&6
16426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16427 cat >> confdefs.h <<EOF
16428 #define $ac_tr_func 1
16432 echo "$ac_t""no" 1>&6
16438 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16439 echo "configure:16440: checking for _isnanl declaration" >&5
16440 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16441 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16442 echo $ac_n "(cached) $ac_c" 1>&6
16447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16448 ac_cpp='$CXXCPP $CPPFLAGS'
16449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16451 cross_compiling=$ac_cv_prog_cxx_cross
16453 cat > conftest.$ac_ext <<EOF
16454 #line 16455 "configure"
16455 #include "confdefs.h"
16457 #ifdef HAVE_IEEEFP_H
16458 #include <ieeefp.h>
16465 if { (eval echo configure:16466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16467 glibcpp_cv_func__isnanl_use=yes
16469 echo "configure: failed program was:" >&5
16470 cat conftest.$ac_ext >&5
16472 glibcpp_cv_func__isnanl_use=no
16476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16477 ac_cpp='$CPP $CPPFLAGS'
16478 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16479 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16480 cross_compiling=$ac_cv_prog_cc_cross
16486 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16488 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16489 for ac_func in _isnanl
16491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16492 echo "configure:16493: checking for $ac_func" >&5
16493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16494 echo $ac_n "(cached) $ac_c" 1>&6
16496 cat > conftest.$ac_ext <<EOF
16497 #line 16498 "configure"
16498 #include "confdefs.h"
16499 /* System header to define __stub macros and hopefully few prototypes,
16500 which can conflict with char $ac_func(); below. */
16501 #include <assert.h>
16502 /* Override any gcc2 internal prototype to avoid an error. */
16503 /* We use char because int might match the return type of a gcc2
16504 builtin and then its argument prototype would still apply. */
16509 /* The GNU C library defines this for functions which it implements
16510 to always fail with ENOSYS. Some functions are actually named
16511 something starting with __ and the normal name is an alias. */
16512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16520 if { (eval echo configure:16521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16522 eval "ac_cv_func_$ac_func=yes"
16524 echo "configure: failed program was:" >&5
16525 cat conftest.$ac_ext >&5
16527 eval "ac_cv_func_$ac_func=no"
16532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16533 echo "$ac_t""yes" 1>&6
16534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16535 cat >> confdefs.h <<EOF
16536 #define $ac_tr_func 1
16540 echo "$ac_t""no" 1>&6
16549 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16550 echo "configure:16551: checking for isinfl declaration" >&5
16551 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16552 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16553 echo $ac_n "(cached) $ac_c" 1>&6
16558 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16559 ac_cpp='$CXXCPP $CPPFLAGS'
16560 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16561 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16562 cross_compiling=$ac_cv_prog_cxx_cross
16564 cat > conftest.$ac_ext <<EOF
16565 #line 16566 "configure"
16566 #include "confdefs.h"
16568 #ifdef HAVE_IEEEFP_H
16569 #include <ieeefp.h>
16576 if { (eval echo configure:16577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16578 glibcpp_cv_func_isinfl_use=yes
16580 echo "configure: failed program was:" >&5
16581 cat conftest.$ac_ext >&5
16583 glibcpp_cv_func_isinfl_use=no
16587 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16588 ac_cpp='$CPP $CPPFLAGS'
16589 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16590 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16591 cross_compiling=$ac_cv_prog_cc_cross
16597 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16599 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16600 for ac_func in isinfl
16602 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16603 echo "configure:16604: checking for $ac_func" >&5
16604 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16605 echo $ac_n "(cached) $ac_c" 1>&6
16607 cat > conftest.$ac_ext <<EOF
16608 #line 16609 "configure"
16609 #include "confdefs.h"
16610 /* System header to define __stub macros and hopefully few prototypes,
16611 which can conflict with char $ac_func(); below. */
16612 #include <assert.h>
16613 /* Override any gcc2 internal prototype to avoid an error. */
16614 /* We use char because int might match the return type of a gcc2
16615 builtin and then its argument prototype would still apply. */
16620 /* The GNU C library defines this for functions which it implements
16621 to always fail with ENOSYS. Some functions are actually named
16622 something starting with __ and the normal name is an alias. */
16623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16631 if { (eval echo configure:16632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16633 eval "ac_cv_func_$ac_func=yes"
16635 echo "configure: failed program was:" >&5
16636 cat conftest.$ac_ext >&5
16638 eval "ac_cv_func_$ac_func=no"
16643 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16644 echo "$ac_t""yes" 1>&6
16645 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16646 cat >> confdefs.h <<EOF
16647 #define $ac_tr_func 1
16651 echo "$ac_t""no" 1>&6
16657 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16658 echo "configure:16659: checking for _isinfl declaration" >&5
16659 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16660 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16661 echo $ac_n "(cached) $ac_c" 1>&6
16666 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16667 ac_cpp='$CXXCPP $CPPFLAGS'
16668 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16669 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16670 cross_compiling=$ac_cv_prog_cxx_cross
16672 cat > conftest.$ac_ext <<EOF
16673 #line 16674 "configure"
16674 #include "confdefs.h"
16676 #ifdef HAVE_IEEEFP_H
16677 #include <ieeefp.h>
16684 if { (eval echo configure:16685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16686 glibcpp_cv_func__isinfl_use=yes
16688 echo "configure: failed program was:" >&5
16689 cat conftest.$ac_ext >&5
16691 glibcpp_cv_func__isinfl_use=no
16695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16698 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16699 cross_compiling=$ac_cv_prog_cc_cross
16705 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16707 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16708 for ac_func in _isinfl
16710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16711 echo "configure:16712: checking for $ac_func" >&5
16712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16713 echo $ac_n "(cached) $ac_c" 1>&6
16715 cat > conftest.$ac_ext <<EOF
16716 #line 16717 "configure"
16717 #include "confdefs.h"
16718 /* System header to define __stub macros and hopefully few prototypes,
16719 which can conflict with char $ac_func(); below. */
16720 #include <assert.h>
16721 /* Override any gcc2 internal prototype to avoid an error. */
16722 /* We use char because int might match the return type of a gcc2
16723 builtin and then its argument prototype would still apply. */
16728 /* The GNU C library defines this for functions which it implements
16729 to always fail with ENOSYS. Some functions are actually named
16730 something starting with __ and the normal name is an alias. */
16731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16739 if { (eval echo configure:16740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16741 eval "ac_cv_func_$ac_func=yes"
16743 echo "configure: failed program was:" >&5
16744 cat conftest.$ac_ext >&5
16746 eval "ac_cv_func_$ac_func=no"
16751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16752 echo "$ac_t""yes" 1>&6
16753 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16754 cat >> confdefs.h <<EOF
16755 #define $ac_tr_func 1
16759 echo "$ac_t""no" 1>&6
16768 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16769 echo "configure:16770: checking for copysignl declaration" >&5
16770 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16771 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16772 echo $ac_n "(cached) $ac_c" 1>&6
16777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16778 ac_cpp='$CXXCPP $CPPFLAGS'
16779 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16780 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16781 cross_compiling=$ac_cv_prog_cxx_cross
16783 cat > conftest.$ac_ext <<EOF
16784 #line 16785 "configure"
16785 #include "confdefs.h"
16791 if { (eval echo configure:16792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16793 glibcpp_cv_func_copysignl_use=yes
16795 echo "configure: failed program was:" >&5
16796 cat conftest.$ac_ext >&5
16798 glibcpp_cv_func_copysignl_use=no
16802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16803 ac_cpp='$CPP $CPPFLAGS'
16804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16806 cross_compiling=$ac_cv_prog_cc_cross
16812 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16814 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16815 for ac_func in copysignl
16817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16818 echo "configure:16819: checking for $ac_func" >&5
16819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16820 echo $ac_n "(cached) $ac_c" 1>&6
16822 cat > conftest.$ac_ext <<EOF
16823 #line 16824 "configure"
16824 #include "confdefs.h"
16825 /* System header to define __stub macros and hopefully few prototypes,
16826 which can conflict with char $ac_func(); below. */
16827 #include <assert.h>
16828 /* Override any gcc2 internal prototype to avoid an error. */
16829 /* We use char because int might match the return type of a gcc2
16830 builtin and then its argument prototype would still apply. */
16835 /* The GNU C library defines this for functions which it implements
16836 to always fail with ENOSYS. Some functions are actually named
16837 something starting with __ and the normal name is an alias. */
16838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16846 if { (eval echo configure:16847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16848 eval "ac_cv_func_$ac_func=yes"
16850 echo "configure: failed program was:" >&5
16851 cat conftest.$ac_ext >&5
16853 eval "ac_cv_func_$ac_func=no"
16858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16859 echo "$ac_t""yes" 1>&6
16860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16861 cat >> confdefs.h <<EOF
16862 #define $ac_tr_func 1
16866 echo "$ac_t""no" 1>&6
16872 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16873 echo "configure:16874: checking for _copysignl declaration" >&5
16874 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16875 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16882 ac_cpp='$CXXCPP $CPPFLAGS'
16883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16885 cross_compiling=$ac_cv_prog_cxx_cross
16887 cat > conftest.$ac_ext <<EOF
16888 #line 16889 "configure"
16889 #include "confdefs.h"
16895 if { (eval echo configure:16896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16897 glibcpp_cv_func__copysignl_use=yes
16899 echo "configure: failed program was:" >&5
16900 cat conftest.$ac_ext >&5
16902 glibcpp_cv_func__copysignl_use=no
16906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16910 cross_compiling=$ac_cv_prog_cc_cross
16916 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16918 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16919 for ac_func in _copysignl
16921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16922 echo "configure:16923: checking for $ac_func" >&5
16923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16924 echo $ac_n "(cached) $ac_c" 1>&6
16926 cat > conftest.$ac_ext <<EOF
16927 #line 16928 "configure"
16928 #include "confdefs.h"
16929 /* System header to define __stub macros and hopefully few prototypes,
16930 which can conflict with char $ac_func(); below. */
16931 #include <assert.h>
16932 /* Override any gcc2 internal prototype to avoid an error. */
16933 /* We use char because int might match the return type of a gcc2
16934 builtin and then its argument prototype would still apply. */
16939 /* The GNU C library defines this for functions which it implements
16940 to always fail with ENOSYS. Some functions are actually named
16941 something starting with __ and the normal name is an alias. */
16942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16950 if { (eval echo configure:16951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16952 eval "ac_cv_func_$ac_func=yes"
16954 echo "configure: failed program was:" >&5
16955 cat conftest.$ac_ext >&5
16957 eval "ac_cv_func_$ac_func=no"
16962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16963 echo "$ac_t""yes" 1>&6
16964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16965 cat >> confdefs.h <<EOF
16966 #define $ac_tr_func 1
16970 echo "$ac_t""no" 1>&6
16979 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16980 echo "configure:16981: checking for atan2l declaration" >&5
16981 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16982 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16983 echo $ac_n "(cached) $ac_c" 1>&6
16988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16989 ac_cpp='$CXXCPP $CPPFLAGS'
16990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16992 cross_compiling=$ac_cv_prog_cxx_cross
16994 cat > conftest.$ac_ext <<EOF
16995 #line 16996 "configure"
16996 #include "confdefs.h"
17002 if { (eval echo configure:17003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17004 glibcpp_cv_func_atan2l_use=yes
17006 echo "configure: failed program was:" >&5
17007 cat conftest.$ac_ext >&5
17009 glibcpp_cv_func_atan2l_use=no
17013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17014 ac_cpp='$CPP $CPPFLAGS'
17015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17017 cross_compiling=$ac_cv_prog_cc_cross
17023 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17025 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17026 for ac_func in atan2l
17028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17029 echo "configure:17030: checking for $ac_func" >&5
17030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17031 echo $ac_n "(cached) $ac_c" 1>&6
17033 cat > conftest.$ac_ext <<EOF
17034 #line 17035 "configure"
17035 #include "confdefs.h"
17036 /* System header to define __stub macros and hopefully few prototypes,
17037 which can conflict with char $ac_func(); below. */
17038 #include <assert.h>
17039 /* Override any gcc2 internal prototype to avoid an error. */
17040 /* We use char because int might match the return type of a gcc2
17041 builtin and then its argument prototype would still apply. */
17046 /* The GNU C library defines this for functions which it implements
17047 to always fail with ENOSYS. Some functions are actually named
17048 something starting with __ and the normal name is an alias. */
17049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17057 if { (eval echo configure:17058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17059 eval "ac_cv_func_$ac_func=yes"
17061 echo "configure: failed program was:" >&5
17062 cat conftest.$ac_ext >&5
17064 eval "ac_cv_func_$ac_func=no"
17069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17070 echo "$ac_t""yes" 1>&6
17071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17072 cat >> confdefs.h <<EOF
17073 #define $ac_tr_func 1
17077 echo "$ac_t""no" 1>&6
17083 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17084 echo "configure:17085: checking for _atan2l declaration" >&5
17085 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17086 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17087 echo $ac_n "(cached) $ac_c" 1>&6
17092 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17093 ac_cpp='$CXXCPP $CPPFLAGS'
17094 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17095 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17096 cross_compiling=$ac_cv_prog_cxx_cross
17098 cat > conftest.$ac_ext <<EOF
17099 #line 17100 "configure"
17100 #include "confdefs.h"
17106 if { (eval echo configure:17107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17108 glibcpp_cv_func__atan2l_use=yes
17110 echo "configure: failed program was:" >&5
17111 cat conftest.$ac_ext >&5
17113 glibcpp_cv_func__atan2l_use=no
17117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17118 ac_cpp='$CPP $CPPFLAGS'
17119 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17120 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17121 cross_compiling=$ac_cv_prog_cc_cross
17127 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17129 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17130 for ac_func in _atan2l
17132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17133 echo "configure:17134: checking for $ac_func" >&5
17134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17135 echo $ac_n "(cached) $ac_c" 1>&6
17137 cat > conftest.$ac_ext <<EOF
17138 #line 17139 "configure"
17139 #include "confdefs.h"
17140 /* System header to define __stub macros and hopefully few prototypes,
17141 which can conflict with char $ac_func(); below. */
17142 #include <assert.h>
17143 /* Override any gcc2 internal prototype to avoid an error. */
17144 /* We use char because int might match the return type of a gcc2
17145 builtin and then its argument prototype would still apply. */
17150 /* The GNU C library defines this for functions which it implements
17151 to always fail with ENOSYS. Some functions are actually named
17152 something starting with __ and the normal name is an alias. */
17153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17161 if { (eval echo configure:17162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17163 eval "ac_cv_func_$ac_func=yes"
17165 echo "configure: failed program was:" >&5
17166 cat conftest.$ac_ext >&5
17168 eval "ac_cv_func_$ac_func=no"
17173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17174 echo "$ac_t""yes" 1>&6
17175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17176 cat >> confdefs.h <<EOF
17177 #define $ac_tr_func 1
17181 echo "$ac_t""no" 1>&6
17190 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17191 echo "configure:17192: checking for expl declaration" >&5
17192 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17193 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17194 echo $ac_n "(cached) $ac_c" 1>&6
17199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17200 ac_cpp='$CXXCPP $CPPFLAGS'
17201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17203 cross_compiling=$ac_cv_prog_cxx_cross
17205 cat > conftest.$ac_ext <<EOF
17206 #line 17207 "configure"
17207 #include "confdefs.h"
17209 #ifdef HAVE_IEEEFP_H
17210 #include <ieeefp.h>
17217 if { (eval echo configure:17218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17219 glibcpp_cv_func_expl_use=yes
17221 echo "configure: failed program was:" >&5
17222 cat conftest.$ac_ext >&5
17224 glibcpp_cv_func_expl_use=no
17228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17229 ac_cpp='$CPP $CPPFLAGS'
17230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17232 cross_compiling=$ac_cv_prog_cc_cross
17238 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17240 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17241 for ac_func in expl
17243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17244 echo "configure:17245: checking for $ac_func" >&5
17245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17246 echo $ac_n "(cached) $ac_c" 1>&6
17248 cat > conftest.$ac_ext <<EOF
17249 #line 17250 "configure"
17250 #include "confdefs.h"
17251 /* System header to define __stub macros and hopefully few prototypes,
17252 which can conflict with char $ac_func(); below. */
17253 #include <assert.h>
17254 /* Override any gcc2 internal prototype to avoid an error. */
17255 /* We use char because int might match the return type of a gcc2
17256 builtin and then its argument prototype would still apply. */
17261 /* The GNU C library defines this for functions which it implements
17262 to always fail with ENOSYS. Some functions are actually named
17263 something starting with __ and the normal name is an alias. */
17264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17272 if { (eval echo configure:17273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17274 eval "ac_cv_func_$ac_func=yes"
17276 echo "configure: failed program was:" >&5
17277 cat conftest.$ac_ext >&5
17279 eval "ac_cv_func_$ac_func=no"
17284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17285 echo "$ac_t""yes" 1>&6
17286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17287 cat >> confdefs.h <<EOF
17288 #define $ac_tr_func 1
17292 echo "$ac_t""no" 1>&6
17298 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17299 echo "configure:17300: checking for _expl declaration" >&5
17300 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17301 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17302 echo $ac_n "(cached) $ac_c" 1>&6
17307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17308 ac_cpp='$CXXCPP $CPPFLAGS'
17309 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17310 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17311 cross_compiling=$ac_cv_prog_cxx_cross
17313 cat > conftest.$ac_ext <<EOF
17314 #line 17315 "configure"
17315 #include "confdefs.h"
17317 #ifdef HAVE_IEEEFP_H
17318 #include <ieeefp.h>
17325 if { (eval echo configure:17326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17327 glibcpp_cv_func__expl_use=yes
17329 echo "configure: failed program was:" >&5
17330 cat conftest.$ac_ext >&5
17332 glibcpp_cv_func__expl_use=no
17336 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17337 ac_cpp='$CPP $CPPFLAGS'
17338 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17339 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17340 cross_compiling=$ac_cv_prog_cc_cross
17346 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17348 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17349 for ac_func in _expl
17351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17352 echo "configure:17353: checking for $ac_func" >&5
17353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17354 echo $ac_n "(cached) $ac_c" 1>&6
17356 cat > conftest.$ac_ext <<EOF
17357 #line 17358 "configure"
17358 #include "confdefs.h"
17359 /* System header to define __stub macros and hopefully few prototypes,
17360 which can conflict with char $ac_func(); below. */
17361 #include <assert.h>
17362 /* Override any gcc2 internal prototype to avoid an error. */
17363 /* We use char because int might match the return type of a gcc2
17364 builtin and then its argument prototype would still apply. */
17369 /* The GNU C library defines this for functions which it implements
17370 to always fail with ENOSYS. Some functions are actually named
17371 something starting with __ and the normal name is an alias. */
17372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17380 if { (eval echo configure:17381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17382 eval "ac_cv_func_$ac_func=yes"
17384 echo "configure: failed program was:" >&5
17385 cat conftest.$ac_ext >&5
17387 eval "ac_cv_func_$ac_func=no"
17392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17393 echo "$ac_t""yes" 1>&6
17394 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17395 cat >> confdefs.h <<EOF
17396 #define $ac_tr_func 1
17400 echo "$ac_t""no" 1>&6
17409 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17410 echo "configure:17411: checking for fabsl declaration" >&5
17411 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17412 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17413 echo $ac_n "(cached) $ac_c" 1>&6
17418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17419 ac_cpp='$CXXCPP $CPPFLAGS'
17420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17422 cross_compiling=$ac_cv_prog_cxx_cross
17424 cat > conftest.$ac_ext <<EOF
17425 #line 17426 "configure"
17426 #include "confdefs.h"
17428 #ifdef HAVE_IEEEFP_H
17429 #include <ieeefp.h>
17436 if { (eval echo configure:17437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17438 glibcpp_cv_func_fabsl_use=yes
17440 echo "configure: failed program was:" >&5
17441 cat conftest.$ac_ext >&5
17443 glibcpp_cv_func_fabsl_use=no
17447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17448 ac_cpp='$CPP $CPPFLAGS'
17449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17451 cross_compiling=$ac_cv_prog_cc_cross
17457 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17459 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17460 for ac_func in fabsl
17462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17463 echo "configure:17464: checking for $ac_func" >&5
17464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17465 echo $ac_n "(cached) $ac_c" 1>&6
17467 cat > conftest.$ac_ext <<EOF
17468 #line 17469 "configure"
17469 #include "confdefs.h"
17470 /* System header to define __stub macros and hopefully few prototypes,
17471 which can conflict with char $ac_func(); below. */
17472 #include <assert.h>
17473 /* Override any gcc2 internal prototype to avoid an error. */
17474 /* We use char because int might match the return type of a gcc2
17475 builtin and then its argument prototype would still apply. */
17480 /* The GNU C library defines this for functions which it implements
17481 to always fail with ENOSYS. Some functions are actually named
17482 something starting with __ and the normal name is an alias. */
17483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17491 if { (eval echo configure:17492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17493 eval "ac_cv_func_$ac_func=yes"
17495 echo "configure: failed program was:" >&5
17496 cat conftest.$ac_ext >&5
17498 eval "ac_cv_func_$ac_func=no"
17503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17504 echo "$ac_t""yes" 1>&6
17505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17506 cat >> confdefs.h <<EOF
17507 #define $ac_tr_func 1
17511 echo "$ac_t""no" 1>&6
17517 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17518 echo "configure:17519: checking for _fabsl declaration" >&5
17519 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17520 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17521 echo $ac_n "(cached) $ac_c" 1>&6
17526 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17527 ac_cpp='$CXXCPP $CPPFLAGS'
17528 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17529 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17530 cross_compiling=$ac_cv_prog_cxx_cross
17532 cat > conftest.$ac_ext <<EOF
17533 #line 17534 "configure"
17534 #include "confdefs.h"
17536 #ifdef HAVE_IEEEFP_H
17537 #include <ieeefp.h>
17544 if { (eval echo configure:17545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17546 glibcpp_cv_func__fabsl_use=yes
17548 echo "configure: failed program was:" >&5
17549 cat conftest.$ac_ext >&5
17551 glibcpp_cv_func__fabsl_use=no
17555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17559 cross_compiling=$ac_cv_prog_cc_cross
17565 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17567 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17568 for ac_func in _fabsl
17570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17571 echo "configure:17572: checking for $ac_func" >&5
17572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17573 echo $ac_n "(cached) $ac_c" 1>&6
17575 cat > conftest.$ac_ext <<EOF
17576 #line 17577 "configure"
17577 #include "confdefs.h"
17578 /* System header to define __stub macros and hopefully few prototypes,
17579 which can conflict with char $ac_func(); below. */
17580 #include <assert.h>
17581 /* Override any gcc2 internal prototype to avoid an error. */
17582 /* We use char because int might match the return type of a gcc2
17583 builtin and then its argument prototype would still apply. */
17588 /* The GNU C library defines this for functions which it implements
17589 to always fail with ENOSYS. Some functions are actually named
17590 something starting with __ and the normal name is an alias. */
17591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17599 if { (eval echo configure:17600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17601 eval "ac_cv_func_$ac_func=yes"
17603 echo "configure: failed program was:" >&5
17604 cat conftest.$ac_ext >&5
17606 eval "ac_cv_func_$ac_func=no"
17611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17612 echo "$ac_t""yes" 1>&6
17613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17614 cat >> confdefs.h <<EOF
17615 #define $ac_tr_func 1
17619 echo "$ac_t""no" 1>&6
17628 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17629 echo "configure:17630: checking for fmodl declaration" >&5
17630 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17631 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17632 echo $ac_n "(cached) $ac_c" 1>&6
17637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17641 cross_compiling=$ac_cv_prog_cxx_cross
17643 cat > conftest.$ac_ext <<EOF
17644 #line 17645 "configure"
17645 #include "confdefs.h"
17651 if { (eval echo configure:17652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17653 glibcpp_cv_func_fmodl_use=yes
17655 echo "configure: failed program was:" >&5
17656 cat conftest.$ac_ext >&5
17658 glibcpp_cv_func_fmodl_use=no
17662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17663 ac_cpp='$CPP $CPPFLAGS'
17664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17666 cross_compiling=$ac_cv_prog_cc_cross
17672 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17674 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17675 for ac_func in fmodl
17677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17678 echo "configure:17679: checking for $ac_func" >&5
17679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17680 echo $ac_n "(cached) $ac_c" 1>&6
17682 cat > conftest.$ac_ext <<EOF
17683 #line 17684 "configure"
17684 #include "confdefs.h"
17685 /* System header to define __stub macros and hopefully few prototypes,
17686 which can conflict with char $ac_func(); below. */
17687 #include <assert.h>
17688 /* Override any gcc2 internal prototype to avoid an error. */
17689 /* We use char because int might match the return type of a gcc2
17690 builtin and then its argument prototype would still apply. */
17695 /* The GNU C library defines this for functions which it implements
17696 to always fail with ENOSYS. Some functions are actually named
17697 something starting with __ and the normal name is an alias. */
17698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17706 if { (eval echo configure:17707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17708 eval "ac_cv_func_$ac_func=yes"
17710 echo "configure: failed program was:" >&5
17711 cat conftest.$ac_ext >&5
17713 eval "ac_cv_func_$ac_func=no"
17718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17719 echo "$ac_t""yes" 1>&6
17720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17721 cat >> confdefs.h <<EOF
17722 #define $ac_tr_func 1
17726 echo "$ac_t""no" 1>&6
17732 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17733 echo "configure:17734: checking for _fmodl declaration" >&5
17734 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17735 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17736 echo $ac_n "(cached) $ac_c" 1>&6
17741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17742 ac_cpp='$CXXCPP $CPPFLAGS'
17743 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17744 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17745 cross_compiling=$ac_cv_prog_cxx_cross
17747 cat > conftest.$ac_ext <<EOF
17748 #line 17749 "configure"
17749 #include "confdefs.h"
17755 if { (eval echo configure:17756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17757 glibcpp_cv_func__fmodl_use=yes
17759 echo "configure: failed program was:" >&5
17760 cat conftest.$ac_ext >&5
17762 glibcpp_cv_func__fmodl_use=no
17766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17769 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17770 cross_compiling=$ac_cv_prog_cc_cross
17776 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17778 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17779 for ac_func in _fmodl
17781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17782 echo "configure:17783: checking for $ac_func" >&5
17783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17784 echo $ac_n "(cached) $ac_c" 1>&6
17786 cat > conftest.$ac_ext <<EOF
17787 #line 17788 "configure"
17788 #include "confdefs.h"
17789 /* System header to define __stub macros and hopefully few prototypes,
17790 which can conflict with char $ac_func(); below. */
17791 #include <assert.h>
17792 /* Override any gcc2 internal prototype to avoid an error. */
17793 /* We use char because int might match the return type of a gcc2
17794 builtin and then its argument prototype would still apply. */
17799 /* The GNU C library defines this for functions which it implements
17800 to always fail with ENOSYS. Some functions are actually named
17801 something starting with __ and the normal name is an alias. */
17802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17810 if { (eval echo configure:17811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17812 eval "ac_cv_func_$ac_func=yes"
17814 echo "configure: failed program was:" >&5
17815 cat conftest.$ac_ext >&5
17817 eval "ac_cv_func_$ac_func=no"
17822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17823 echo "$ac_t""yes" 1>&6
17824 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17825 cat >> confdefs.h <<EOF
17826 #define $ac_tr_func 1
17830 echo "$ac_t""no" 1>&6
17839 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17840 echo "configure:17841: checking for frexpl declaration" >&5
17841 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17842 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17843 echo $ac_n "(cached) $ac_c" 1>&6
17848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17849 ac_cpp='$CXXCPP $CPPFLAGS'
17850 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17851 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17852 cross_compiling=$ac_cv_prog_cxx_cross
17854 cat > conftest.$ac_ext <<EOF
17855 #line 17856 "configure"
17856 #include "confdefs.h"
17862 if { (eval echo configure:17863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17864 glibcpp_cv_func_frexpl_use=yes
17866 echo "configure: failed program was:" >&5
17867 cat conftest.$ac_ext >&5
17869 glibcpp_cv_func_frexpl_use=no
17873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17877 cross_compiling=$ac_cv_prog_cc_cross
17883 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17885 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17886 for ac_func in frexpl
17888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17889 echo "configure:17890: checking for $ac_func" >&5
17890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17891 echo $ac_n "(cached) $ac_c" 1>&6
17893 cat > conftest.$ac_ext <<EOF
17894 #line 17895 "configure"
17895 #include "confdefs.h"
17896 /* System header to define __stub macros and hopefully few prototypes,
17897 which can conflict with char $ac_func(); below. */
17898 #include <assert.h>
17899 /* Override any gcc2 internal prototype to avoid an error. */
17900 /* We use char because int might match the return type of a gcc2
17901 builtin and then its argument prototype would still apply. */
17906 /* The GNU C library defines this for functions which it implements
17907 to always fail with ENOSYS. Some functions are actually named
17908 something starting with __ and the normal name is an alias. */
17909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17917 if { (eval echo configure:17918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17919 eval "ac_cv_func_$ac_func=yes"
17921 echo "configure: failed program was:" >&5
17922 cat conftest.$ac_ext >&5
17924 eval "ac_cv_func_$ac_func=no"
17929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17930 echo "$ac_t""yes" 1>&6
17931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17932 cat >> confdefs.h <<EOF
17933 #define $ac_tr_func 1
17937 echo "$ac_t""no" 1>&6
17943 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17944 echo "configure:17945: checking for _frexpl declaration" >&5
17945 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17946 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17947 echo $ac_n "(cached) $ac_c" 1>&6
17952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17953 ac_cpp='$CXXCPP $CPPFLAGS'
17954 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17955 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17956 cross_compiling=$ac_cv_prog_cxx_cross
17958 cat > conftest.$ac_ext <<EOF
17959 #line 17960 "configure"
17960 #include "confdefs.h"
17966 if { (eval echo configure:17967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17968 glibcpp_cv_func__frexpl_use=yes
17970 echo "configure: failed program was:" >&5
17971 cat conftest.$ac_ext >&5
17973 glibcpp_cv_func__frexpl_use=no
17977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17978 ac_cpp='$CPP $CPPFLAGS'
17979 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17980 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17981 cross_compiling=$ac_cv_prog_cc_cross
17987 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17989 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17990 for ac_func in _frexpl
17992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17993 echo "configure:17994: checking for $ac_func" >&5
17994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17995 echo $ac_n "(cached) $ac_c" 1>&6
17997 cat > conftest.$ac_ext <<EOF
17998 #line 17999 "configure"
17999 #include "confdefs.h"
18000 /* System header to define __stub macros and hopefully few prototypes,
18001 which can conflict with char $ac_func(); below. */
18002 #include <assert.h>
18003 /* Override any gcc2 internal prototype to avoid an error. */
18004 /* We use char because int might match the return type of a gcc2
18005 builtin and then its argument prototype would still apply. */
18010 /* The GNU C library defines this for functions which it implements
18011 to always fail with ENOSYS. Some functions are actually named
18012 something starting with __ and the normal name is an alias. */
18013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18021 if { (eval echo configure:18022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18023 eval "ac_cv_func_$ac_func=yes"
18025 echo "configure: failed program was:" >&5
18026 cat conftest.$ac_ext >&5
18028 eval "ac_cv_func_$ac_func=no"
18033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18034 echo "$ac_t""yes" 1>&6
18035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18036 cat >> confdefs.h <<EOF
18037 #define $ac_tr_func 1
18041 echo "$ac_t""no" 1>&6
18050 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18051 echo "configure:18052: checking for hypotl declaration" >&5
18052 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18053 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18054 echo $ac_n "(cached) $ac_c" 1>&6
18059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18060 ac_cpp='$CXXCPP $CPPFLAGS'
18061 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18062 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18063 cross_compiling=$ac_cv_prog_cxx_cross
18065 cat > conftest.$ac_ext <<EOF
18066 #line 18067 "configure"
18067 #include "confdefs.h"
18073 if { (eval echo configure:18074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18075 glibcpp_cv_func_hypotl_use=yes
18077 echo "configure: failed program was:" >&5
18078 cat conftest.$ac_ext >&5
18080 glibcpp_cv_func_hypotl_use=no
18084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18085 ac_cpp='$CPP $CPPFLAGS'
18086 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18087 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18088 cross_compiling=$ac_cv_prog_cc_cross
18094 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18096 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18097 for ac_func in hypotl
18099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18100 echo "configure:18101: checking for $ac_func" >&5
18101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18102 echo $ac_n "(cached) $ac_c" 1>&6
18104 cat > conftest.$ac_ext <<EOF
18105 #line 18106 "configure"
18106 #include "confdefs.h"
18107 /* System header to define __stub macros and hopefully few prototypes,
18108 which can conflict with char $ac_func(); below. */
18109 #include <assert.h>
18110 /* Override any gcc2 internal prototype to avoid an error. */
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18117 /* The GNU C library defines this for functions which it implements
18118 to always fail with ENOSYS. Some functions are actually named
18119 something starting with __ and the normal name is an alias. */
18120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18128 if { (eval echo configure:18129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18130 eval "ac_cv_func_$ac_func=yes"
18132 echo "configure: failed program was:" >&5
18133 cat conftest.$ac_ext >&5
18135 eval "ac_cv_func_$ac_func=no"
18140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18141 echo "$ac_t""yes" 1>&6
18142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18143 cat >> confdefs.h <<EOF
18144 #define $ac_tr_func 1
18148 echo "$ac_t""no" 1>&6
18154 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18155 echo "configure:18156: checking for _hypotl declaration" >&5
18156 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18157 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18158 echo $ac_n "(cached) $ac_c" 1>&6
18163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18166 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18167 cross_compiling=$ac_cv_prog_cxx_cross
18169 cat > conftest.$ac_ext <<EOF
18170 #line 18171 "configure"
18171 #include "confdefs.h"
18177 if { (eval echo configure:18178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18179 glibcpp_cv_func__hypotl_use=yes
18181 echo "configure: failed program was:" >&5
18182 cat conftest.$ac_ext >&5
18184 glibcpp_cv_func__hypotl_use=no
18188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18189 ac_cpp='$CPP $CPPFLAGS'
18190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18192 cross_compiling=$ac_cv_prog_cc_cross
18198 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18200 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18201 for ac_func in _hypotl
18203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18204 echo "configure:18205: checking for $ac_func" >&5
18205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18206 echo $ac_n "(cached) $ac_c" 1>&6
18208 cat > conftest.$ac_ext <<EOF
18209 #line 18210 "configure"
18210 #include "confdefs.h"
18211 /* System header to define __stub macros and hopefully few prototypes,
18212 which can conflict with char $ac_func(); below. */
18213 #include <assert.h>
18214 /* Override any gcc2 internal prototype to avoid an error. */
18215 /* We use char because int might match the return type of a gcc2
18216 builtin and then its argument prototype would still apply. */
18221 /* The GNU C library defines this for functions which it implements
18222 to always fail with ENOSYS. Some functions are actually named
18223 something starting with __ and the normal name is an alias. */
18224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18232 if { (eval echo configure:18233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18234 eval "ac_cv_func_$ac_func=yes"
18236 echo "configure: failed program was:" >&5
18237 cat conftest.$ac_ext >&5
18239 eval "ac_cv_func_$ac_func=no"
18244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18245 echo "$ac_t""yes" 1>&6
18246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18247 cat >> confdefs.h <<EOF
18248 #define $ac_tr_func 1
18252 echo "$ac_t""no" 1>&6
18261 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18262 echo "configure:18263: checking for ldexpl declaration" >&5
18263 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18264 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18265 echo $ac_n "(cached) $ac_c" 1>&6
18270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18271 ac_cpp='$CXXCPP $CPPFLAGS'
18272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18274 cross_compiling=$ac_cv_prog_cxx_cross
18276 cat > conftest.$ac_ext <<EOF
18277 #line 18278 "configure"
18278 #include "confdefs.h"
18284 if { (eval echo configure:18285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18286 glibcpp_cv_func_ldexpl_use=yes
18288 echo "configure: failed program was:" >&5
18289 cat conftest.$ac_ext >&5
18291 glibcpp_cv_func_ldexpl_use=no
18295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18296 ac_cpp='$CPP $CPPFLAGS'
18297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18299 cross_compiling=$ac_cv_prog_cc_cross
18305 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18307 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18308 for ac_func in ldexpl
18310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18311 echo "configure:18312: checking for $ac_func" >&5
18312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18313 echo $ac_n "(cached) $ac_c" 1>&6
18315 cat > conftest.$ac_ext <<EOF
18316 #line 18317 "configure"
18317 #include "confdefs.h"
18318 /* System header to define __stub macros and hopefully few prototypes,
18319 which can conflict with char $ac_func(); below. */
18320 #include <assert.h>
18321 /* Override any gcc2 internal prototype to avoid an error. */
18322 /* We use char because int might match the return type of a gcc2
18323 builtin and then its argument prototype would still apply. */
18328 /* The GNU C library defines this for functions which it implements
18329 to always fail with ENOSYS. Some functions are actually named
18330 something starting with __ and the normal name is an alias. */
18331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18339 if { (eval echo configure:18340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18341 eval "ac_cv_func_$ac_func=yes"
18343 echo "configure: failed program was:" >&5
18344 cat conftest.$ac_ext >&5
18346 eval "ac_cv_func_$ac_func=no"
18351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18352 echo "$ac_t""yes" 1>&6
18353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18354 cat >> confdefs.h <<EOF
18355 #define $ac_tr_func 1
18359 echo "$ac_t""no" 1>&6
18365 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18366 echo "configure:18367: checking for _ldexpl declaration" >&5
18367 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18368 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18369 echo $ac_n "(cached) $ac_c" 1>&6
18374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18375 ac_cpp='$CXXCPP $CPPFLAGS'
18376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18378 cross_compiling=$ac_cv_prog_cxx_cross
18380 cat > conftest.$ac_ext <<EOF
18381 #line 18382 "configure"
18382 #include "confdefs.h"
18388 if { (eval echo configure:18389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18390 glibcpp_cv_func__ldexpl_use=yes
18392 echo "configure: failed program was:" >&5
18393 cat conftest.$ac_ext >&5
18395 glibcpp_cv_func__ldexpl_use=no
18399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18403 cross_compiling=$ac_cv_prog_cc_cross
18409 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18411 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18412 for ac_func in _ldexpl
18414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18415 echo "configure:18416: checking for $ac_func" >&5
18416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18417 echo $ac_n "(cached) $ac_c" 1>&6
18419 cat > conftest.$ac_ext <<EOF
18420 #line 18421 "configure"
18421 #include "confdefs.h"
18422 /* System header to define __stub macros and hopefully few prototypes,
18423 which can conflict with char $ac_func(); below. */
18424 #include <assert.h>
18425 /* Override any gcc2 internal prototype to avoid an error. */
18426 /* We use char because int might match the return type of a gcc2
18427 builtin and then its argument prototype would still apply. */
18432 /* The GNU C library defines this for functions which it implements
18433 to always fail with ENOSYS. Some functions are actually named
18434 something starting with __ and the normal name is an alias. */
18435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18443 if { (eval echo configure:18444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18445 eval "ac_cv_func_$ac_func=yes"
18447 echo "configure: failed program was:" >&5
18448 cat conftest.$ac_ext >&5
18450 eval "ac_cv_func_$ac_func=no"
18455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18456 echo "$ac_t""yes" 1>&6
18457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18458 cat >> confdefs.h <<EOF
18459 #define $ac_tr_func 1
18463 echo "$ac_t""no" 1>&6
18472 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18473 echo "configure:18474: checking for logl declaration" >&5
18474 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18475 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18476 echo $ac_n "(cached) $ac_c" 1>&6
18481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18482 ac_cpp='$CXXCPP $CPPFLAGS'
18483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18485 cross_compiling=$ac_cv_prog_cxx_cross
18487 cat > conftest.$ac_ext <<EOF
18488 #line 18489 "configure"
18489 #include "confdefs.h"
18491 #ifdef HAVE_IEEEFP_H
18492 #include <ieeefp.h>
18499 if { (eval echo configure:18500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18501 glibcpp_cv_func_logl_use=yes
18503 echo "configure: failed program was:" >&5
18504 cat conftest.$ac_ext >&5
18506 glibcpp_cv_func_logl_use=no
18510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18511 ac_cpp='$CPP $CPPFLAGS'
18512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18514 cross_compiling=$ac_cv_prog_cc_cross
18520 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18522 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18523 for ac_func in logl
18525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18526 echo "configure:18527: checking for $ac_func" >&5
18527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18528 echo $ac_n "(cached) $ac_c" 1>&6
18530 cat > conftest.$ac_ext <<EOF
18531 #line 18532 "configure"
18532 #include "confdefs.h"
18533 /* System header to define __stub macros and hopefully few prototypes,
18534 which can conflict with char $ac_func(); below. */
18535 #include <assert.h>
18536 /* Override any gcc2 internal prototype to avoid an error. */
18537 /* We use char because int might match the return type of a gcc2
18538 builtin and then its argument prototype would still apply. */
18543 /* The GNU C library defines this for functions which it implements
18544 to always fail with ENOSYS. Some functions are actually named
18545 something starting with __ and the normal name is an alias. */
18546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18554 if { (eval echo configure:18555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18556 eval "ac_cv_func_$ac_func=yes"
18558 echo "configure: failed program was:" >&5
18559 cat conftest.$ac_ext >&5
18561 eval "ac_cv_func_$ac_func=no"
18566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18567 echo "$ac_t""yes" 1>&6
18568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18569 cat >> confdefs.h <<EOF
18570 #define $ac_tr_func 1
18574 echo "$ac_t""no" 1>&6
18580 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18581 echo "configure:18582: checking for _logl declaration" >&5
18582 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18583 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18584 echo $ac_n "(cached) $ac_c" 1>&6
18589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18590 ac_cpp='$CXXCPP $CPPFLAGS'
18591 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18592 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18593 cross_compiling=$ac_cv_prog_cxx_cross
18595 cat > conftest.$ac_ext <<EOF
18596 #line 18597 "configure"
18597 #include "confdefs.h"
18599 #ifdef HAVE_IEEEFP_H
18600 #include <ieeefp.h>
18607 if { (eval echo configure:18608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18609 glibcpp_cv_func__logl_use=yes
18611 echo "configure: failed program was:" >&5
18612 cat conftest.$ac_ext >&5
18614 glibcpp_cv_func__logl_use=no
18618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18619 ac_cpp='$CPP $CPPFLAGS'
18620 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18621 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18622 cross_compiling=$ac_cv_prog_cc_cross
18628 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18630 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18631 for ac_func in _logl
18633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18634 echo "configure:18635: checking for $ac_func" >&5
18635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18636 echo $ac_n "(cached) $ac_c" 1>&6
18638 cat > conftest.$ac_ext <<EOF
18639 #line 18640 "configure"
18640 #include "confdefs.h"
18641 /* System header to define __stub macros and hopefully few prototypes,
18642 which can conflict with char $ac_func(); below. */
18643 #include <assert.h>
18644 /* Override any gcc2 internal prototype to avoid an error. */
18645 /* We use char because int might match the return type of a gcc2
18646 builtin and then its argument prototype would still apply. */
18651 /* The GNU C library defines this for functions which it implements
18652 to always fail with ENOSYS. Some functions are actually named
18653 something starting with __ and the normal name is an alias. */
18654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18662 if { (eval echo configure:18663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18664 eval "ac_cv_func_$ac_func=yes"
18666 echo "configure: failed program was:" >&5
18667 cat conftest.$ac_ext >&5
18669 eval "ac_cv_func_$ac_func=no"
18674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18675 echo "$ac_t""yes" 1>&6
18676 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18677 cat >> confdefs.h <<EOF
18678 #define $ac_tr_func 1
18682 echo "$ac_t""no" 1>&6
18691 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18692 echo "configure:18693: checking for log10l declaration" >&5
18693 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18694 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18695 echo $ac_n "(cached) $ac_c" 1>&6
18700 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18701 ac_cpp='$CXXCPP $CPPFLAGS'
18702 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18703 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18704 cross_compiling=$ac_cv_prog_cxx_cross
18706 cat > conftest.$ac_ext <<EOF
18707 #line 18708 "configure"
18708 #include "confdefs.h"
18710 #ifdef HAVE_IEEEFP_H
18711 #include <ieeefp.h>
18718 if { (eval echo configure:18719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18720 glibcpp_cv_func_log10l_use=yes
18722 echo "configure: failed program was:" >&5
18723 cat conftest.$ac_ext >&5
18725 glibcpp_cv_func_log10l_use=no
18729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18730 ac_cpp='$CPP $CPPFLAGS'
18731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18733 cross_compiling=$ac_cv_prog_cc_cross
18739 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18741 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18742 for ac_func in log10l
18744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18745 echo "configure:18746: checking for $ac_func" >&5
18746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18747 echo $ac_n "(cached) $ac_c" 1>&6
18749 cat > conftest.$ac_ext <<EOF
18750 #line 18751 "configure"
18751 #include "confdefs.h"
18752 /* System header to define __stub macros and hopefully few prototypes,
18753 which can conflict with char $ac_func(); below. */
18754 #include <assert.h>
18755 /* Override any gcc2 internal prototype to avoid an error. */
18756 /* We use char because int might match the return type of a gcc2
18757 builtin and then its argument prototype would still apply. */
18762 /* The GNU C library defines this for functions which it implements
18763 to always fail with ENOSYS. Some functions are actually named
18764 something starting with __ and the normal name is an alias. */
18765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18773 if { (eval echo configure:18774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18775 eval "ac_cv_func_$ac_func=yes"
18777 echo "configure: failed program was:" >&5
18778 cat conftest.$ac_ext >&5
18780 eval "ac_cv_func_$ac_func=no"
18785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18786 echo "$ac_t""yes" 1>&6
18787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18788 cat >> confdefs.h <<EOF
18789 #define $ac_tr_func 1
18793 echo "$ac_t""no" 1>&6
18799 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18800 echo "configure:18801: checking for _log10l declaration" >&5
18801 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18802 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18803 echo $ac_n "(cached) $ac_c" 1>&6
18808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18809 ac_cpp='$CXXCPP $CPPFLAGS'
18810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18812 cross_compiling=$ac_cv_prog_cxx_cross
18814 cat > conftest.$ac_ext <<EOF
18815 #line 18816 "configure"
18816 #include "confdefs.h"
18818 #ifdef HAVE_IEEEFP_H
18819 #include <ieeefp.h>
18826 if { (eval echo configure:18827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18828 glibcpp_cv_func__log10l_use=yes
18830 echo "configure: failed program was:" >&5
18831 cat conftest.$ac_ext >&5
18833 glibcpp_cv_func__log10l_use=no
18837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18838 ac_cpp='$CPP $CPPFLAGS'
18839 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18840 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18841 cross_compiling=$ac_cv_prog_cc_cross
18847 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18849 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18850 for ac_func in _log10l
18852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18853 echo "configure:18854: checking for $ac_func" >&5
18854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18855 echo $ac_n "(cached) $ac_c" 1>&6
18857 cat > conftest.$ac_ext <<EOF
18858 #line 18859 "configure"
18859 #include "confdefs.h"
18860 /* System header to define __stub macros and hopefully few prototypes,
18861 which can conflict with char $ac_func(); below. */
18862 #include <assert.h>
18863 /* Override any gcc2 internal prototype to avoid an error. */
18864 /* We use char because int might match the return type of a gcc2
18865 builtin and then its argument prototype would still apply. */
18870 /* The GNU C library defines this for functions which it implements
18871 to always fail with ENOSYS. Some functions are actually named
18872 something starting with __ and the normal name is an alias. */
18873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18881 if { (eval echo configure:18882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18883 eval "ac_cv_func_$ac_func=yes"
18885 echo "configure: failed program was:" >&5
18886 cat conftest.$ac_ext >&5
18888 eval "ac_cv_func_$ac_func=no"
18893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18894 echo "$ac_t""yes" 1>&6
18895 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18896 cat >> confdefs.h <<EOF
18897 #define $ac_tr_func 1
18901 echo "$ac_t""no" 1>&6
18910 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18911 echo "configure:18912: checking for modfl declaration" >&5
18912 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18913 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18914 echo $ac_n "(cached) $ac_c" 1>&6
18919 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18922 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18923 cross_compiling=$ac_cv_prog_cxx_cross
18925 cat > conftest.$ac_ext <<EOF
18926 #line 18927 "configure"
18927 #include "confdefs.h"
18933 if { (eval echo configure:18934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18935 glibcpp_cv_func_modfl_use=yes
18937 echo "configure: failed program was:" >&5
18938 cat conftest.$ac_ext >&5
18940 glibcpp_cv_func_modfl_use=no
18944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18945 ac_cpp='$CPP $CPPFLAGS'
18946 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18947 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18948 cross_compiling=$ac_cv_prog_cc_cross
18954 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18956 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18957 for ac_func in modfl
18959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18960 echo "configure:18961: checking for $ac_func" >&5
18961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18962 echo $ac_n "(cached) $ac_c" 1>&6
18964 cat > conftest.$ac_ext <<EOF
18965 #line 18966 "configure"
18966 #include "confdefs.h"
18967 /* System header to define __stub macros and hopefully few prototypes,
18968 which can conflict with char $ac_func(); below. */
18969 #include <assert.h>
18970 /* Override any gcc2 internal prototype to avoid an error. */
18971 /* We use char because int might match the return type of a gcc2
18972 builtin and then its argument prototype would still apply. */
18977 /* The GNU C library defines this for functions which it implements
18978 to always fail with ENOSYS. Some functions are actually named
18979 something starting with __ and the normal name is an alias. */
18980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18988 if { (eval echo configure:18989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18990 eval "ac_cv_func_$ac_func=yes"
18992 echo "configure: failed program was:" >&5
18993 cat conftest.$ac_ext >&5
18995 eval "ac_cv_func_$ac_func=no"
19000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19001 echo "$ac_t""yes" 1>&6
19002 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19003 cat >> confdefs.h <<EOF
19004 #define $ac_tr_func 1
19008 echo "$ac_t""no" 1>&6
19014 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
19015 echo "configure:19016: checking for _modfl declaration" >&5
19016 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19017 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19018 echo $ac_n "(cached) $ac_c" 1>&6
19023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19024 ac_cpp='$CXXCPP $CPPFLAGS'
19025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19027 cross_compiling=$ac_cv_prog_cxx_cross
19029 cat > conftest.$ac_ext <<EOF
19030 #line 19031 "configure"
19031 #include "confdefs.h"
19037 if { (eval echo configure:19038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19039 glibcpp_cv_func__modfl_use=yes
19041 echo "configure: failed program was:" >&5
19042 cat conftest.$ac_ext >&5
19044 glibcpp_cv_func__modfl_use=no
19048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19049 ac_cpp='$CPP $CPPFLAGS'
19050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19052 cross_compiling=$ac_cv_prog_cc_cross
19058 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19060 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19061 for ac_func in _modfl
19063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19064 echo "configure:19065: checking for $ac_func" >&5
19065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19066 echo $ac_n "(cached) $ac_c" 1>&6
19068 cat > conftest.$ac_ext <<EOF
19069 #line 19070 "configure"
19070 #include "confdefs.h"
19071 /* System header to define __stub macros and hopefully few prototypes,
19072 which can conflict with char $ac_func(); below. */
19073 #include <assert.h>
19074 /* Override any gcc2 internal prototype to avoid an error. */
19075 /* We use char because int might match the return type of a gcc2
19076 builtin and then its argument prototype would still apply. */
19081 /* The GNU C library defines this for functions which it implements
19082 to always fail with ENOSYS. Some functions are actually named
19083 something starting with __ and the normal name is an alias. */
19084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19092 if { (eval echo configure:19093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19094 eval "ac_cv_func_$ac_func=yes"
19096 echo "configure: failed program was:" >&5
19097 cat conftest.$ac_ext >&5
19099 eval "ac_cv_func_$ac_func=no"
19104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19105 echo "$ac_t""yes" 1>&6
19106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19107 cat >> confdefs.h <<EOF
19108 #define $ac_tr_func 1
19112 echo "$ac_t""no" 1>&6
19121 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19122 echo "configure:19123: checking for powl declaration" >&5
19123 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19124 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19125 echo $ac_n "(cached) $ac_c" 1>&6
19130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19131 ac_cpp='$CXXCPP $CPPFLAGS'
19132 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19133 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19134 cross_compiling=$ac_cv_prog_cxx_cross
19136 cat > conftest.$ac_ext <<EOF
19137 #line 19138 "configure"
19138 #include "confdefs.h"
19144 if { (eval echo configure:19145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19146 glibcpp_cv_func_powl_use=yes
19148 echo "configure: failed program was:" >&5
19149 cat conftest.$ac_ext >&5
19151 glibcpp_cv_func_powl_use=no
19155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19156 ac_cpp='$CPP $CPPFLAGS'
19157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19159 cross_compiling=$ac_cv_prog_cc_cross
19165 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19167 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19168 for ac_func in powl
19170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19171 echo "configure:19172: checking for $ac_func" >&5
19172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19173 echo $ac_n "(cached) $ac_c" 1>&6
19175 cat > conftest.$ac_ext <<EOF
19176 #line 19177 "configure"
19177 #include "confdefs.h"
19178 /* System header to define __stub macros and hopefully few prototypes,
19179 which can conflict with char $ac_func(); below. */
19180 #include <assert.h>
19181 /* Override any gcc2 internal prototype to avoid an error. */
19182 /* We use char because int might match the return type of a gcc2
19183 builtin and then its argument prototype would still apply. */
19188 /* The GNU C library defines this for functions which it implements
19189 to always fail with ENOSYS. Some functions are actually named
19190 something starting with __ and the normal name is an alias. */
19191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19199 if { (eval echo configure:19200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19201 eval "ac_cv_func_$ac_func=yes"
19203 echo "configure: failed program was:" >&5
19204 cat conftest.$ac_ext >&5
19206 eval "ac_cv_func_$ac_func=no"
19211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19212 echo "$ac_t""yes" 1>&6
19213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19214 cat >> confdefs.h <<EOF
19215 #define $ac_tr_func 1
19219 echo "$ac_t""no" 1>&6
19225 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19226 echo "configure:19227: checking for _powl declaration" >&5
19227 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19228 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19229 echo $ac_n "(cached) $ac_c" 1>&6
19234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19235 ac_cpp='$CXXCPP $CPPFLAGS'
19236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19238 cross_compiling=$ac_cv_prog_cxx_cross
19240 cat > conftest.$ac_ext <<EOF
19241 #line 19242 "configure"
19242 #include "confdefs.h"
19248 if { (eval echo configure:19249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19250 glibcpp_cv_func__powl_use=yes
19252 echo "configure: failed program was:" >&5
19253 cat conftest.$ac_ext >&5
19255 glibcpp_cv_func__powl_use=no
19259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19260 ac_cpp='$CPP $CPPFLAGS'
19261 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19262 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19263 cross_compiling=$ac_cv_prog_cc_cross
19269 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19271 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19272 for ac_func in _powl
19274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19275 echo "configure:19276: checking for $ac_func" >&5
19276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19277 echo $ac_n "(cached) $ac_c" 1>&6
19279 cat > conftest.$ac_ext <<EOF
19280 #line 19281 "configure"
19281 #include "confdefs.h"
19282 /* System header to define __stub macros and hopefully few prototypes,
19283 which can conflict with char $ac_func(); below. */
19284 #include <assert.h>
19285 /* Override any gcc2 internal prototype to avoid an error. */
19286 /* We use char because int might match the return type of a gcc2
19287 builtin and then its argument prototype would still apply. */
19292 /* The GNU C library defines this for functions which it implements
19293 to always fail with ENOSYS. Some functions are actually named
19294 something starting with __ and the normal name is an alias. */
19295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19303 if { (eval echo configure:19304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19305 eval "ac_cv_func_$ac_func=yes"
19307 echo "configure: failed program was:" >&5
19308 cat conftest.$ac_ext >&5
19310 eval "ac_cv_func_$ac_func=no"
19315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19316 echo "$ac_t""yes" 1>&6
19317 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19318 cat >> confdefs.h <<EOF
19319 #define $ac_tr_func 1
19323 echo "$ac_t""no" 1>&6
19332 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19333 echo "configure:19334: checking for sqrtl declaration" >&5
19334 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19335 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19336 echo $ac_n "(cached) $ac_c" 1>&6
19341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19342 ac_cpp='$CXXCPP $CPPFLAGS'
19343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19345 cross_compiling=$ac_cv_prog_cxx_cross
19347 cat > conftest.$ac_ext <<EOF
19348 #line 19349 "configure"
19349 #include "confdefs.h"
19351 #ifdef HAVE_IEEEFP_H
19352 #include <ieeefp.h>
19359 if { (eval echo configure:19360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19361 glibcpp_cv_func_sqrtl_use=yes
19363 echo "configure: failed program was:" >&5
19364 cat conftest.$ac_ext >&5
19366 glibcpp_cv_func_sqrtl_use=no
19370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19371 ac_cpp='$CPP $CPPFLAGS'
19372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19374 cross_compiling=$ac_cv_prog_cc_cross
19380 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19382 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19383 for ac_func in sqrtl
19385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19386 echo "configure:19387: checking for $ac_func" >&5
19387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19388 echo $ac_n "(cached) $ac_c" 1>&6
19390 cat > conftest.$ac_ext <<EOF
19391 #line 19392 "configure"
19392 #include "confdefs.h"
19393 /* System header to define __stub macros and hopefully few prototypes,
19394 which can conflict with char $ac_func(); below. */
19395 #include <assert.h>
19396 /* Override any gcc2 internal prototype to avoid an error. */
19397 /* We use char because int might match the return type of a gcc2
19398 builtin and then its argument prototype would still apply. */
19403 /* The GNU C library defines this for functions which it implements
19404 to always fail with ENOSYS. Some functions are actually named
19405 something starting with __ and the normal name is an alias. */
19406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19414 if { (eval echo configure:19415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19416 eval "ac_cv_func_$ac_func=yes"
19418 echo "configure: failed program was:" >&5
19419 cat conftest.$ac_ext >&5
19421 eval "ac_cv_func_$ac_func=no"
19426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19427 echo "$ac_t""yes" 1>&6
19428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19429 cat >> confdefs.h <<EOF
19430 #define $ac_tr_func 1
19434 echo "$ac_t""no" 1>&6
19440 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19441 echo "configure:19442: checking for _sqrtl declaration" >&5
19442 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19443 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19444 echo $ac_n "(cached) $ac_c" 1>&6
19449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19450 ac_cpp='$CXXCPP $CPPFLAGS'
19451 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19452 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19453 cross_compiling=$ac_cv_prog_cxx_cross
19455 cat > conftest.$ac_ext <<EOF
19456 #line 19457 "configure"
19457 #include "confdefs.h"
19459 #ifdef HAVE_IEEEFP_H
19460 #include <ieeefp.h>
19467 if { (eval echo configure:19468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19469 glibcpp_cv_func__sqrtl_use=yes
19471 echo "configure: failed program was:" >&5
19472 cat conftest.$ac_ext >&5
19474 glibcpp_cv_func__sqrtl_use=no
19478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19479 ac_cpp='$CPP $CPPFLAGS'
19480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19482 cross_compiling=$ac_cv_prog_cc_cross
19488 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19490 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19491 for ac_func in _sqrtl
19493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19494 echo "configure:19495: checking for $ac_func" >&5
19495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19496 echo $ac_n "(cached) $ac_c" 1>&6
19498 cat > conftest.$ac_ext <<EOF
19499 #line 19500 "configure"
19500 #include "confdefs.h"
19501 /* System header to define __stub macros and hopefully few prototypes,
19502 which can conflict with char $ac_func(); below. */
19503 #include <assert.h>
19504 /* Override any gcc2 internal prototype to avoid an error. */
19505 /* We use char because int might match the return type of a gcc2
19506 builtin and then its argument prototype would still apply. */
19511 /* The GNU C library defines this for functions which it implements
19512 to always fail with ENOSYS. Some functions are actually named
19513 something starting with __ and the normal name is an alias. */
19514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19522 if { (eval echo configure:19523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19524 eval "ac_cv_func_$ac_func=yes"
19526 echo "configure: failed program was:" >&5
19527 cat conftest.$ac_ext >&5
19529 eval "ac_cv_func_$ac_func=no"
19534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19535 echo "$ac_t""yes" 1>&6
19536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19537 cat >> confdefs.h <<EOF
19538 #define $ac_tr_func 1
19542 echo "$ac_t""no" 1>&6
19551 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19552 echo "configure:19553: checking for sincosl declaration" >&5
19553 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19554 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19555 echo $ac_n "(cached) $ac_c" 1>&6
19560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19561 ac_cpp='$CXXCPP $CPPFLAGS'
19562 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19563 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19564 cross_compiling=$ac_cv_prog_cxx_cross
19566 cat > conftest.$ac_ext <<EOF
19567 #line 19568 "configure"
19568 #include "confdefs.h"
19574 if { (eval echo configure:19575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19576 glibcpp_cv_func_sincosl_use=yes
19578 echo "configure: failed program was:" >&5
19579 cat conftest.$ac_ext >&5
19581 glibcpp_cv_func_sincosl_use=no
19585 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19586 ac_cpp='$CPP $CPPFLAGS'
19587 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19588 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19589 cross_compiling=$ac_cv_prog_cc_cross
19595 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19597 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19598 for ac_func in sincosl
19600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19601 echo "configure:19602: checking for $ac_func" >&5
19602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19603 echo $ac_n "(cached) $ac_c" 1>&6
19605 cat > conftest.$ac_ext <<EOF
19606 #line 19607 "configure"
19607 #include "confdefs.h"
19608 /* System header to define __stub macros and hopefully few prototypes,
19609 which can conflict with char $ac_func(); below. */
19610 #include <assert.h>
19611 /* Override any gcc2 internal prototype to avoid an error. */
19612 /* We use char because int might match the return type of a gcc2
19613 builtin and then its argument prototype would still apply. */
19618 /* The GNU C library defines this for functions which it implements
19619 to always fail with ENOSYS. Some functions are actually named
19620 something starting with __ and the normal name is an alias. */
19621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19629 if { (eval echo configure:19630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19631 eval "ac_cv_func_$ac_func=yes"
19633 echo "configure: failed program was:" >&5
19634 cat conftest.$ac_ext >&5
19636 eval "ac_cv_func_$ac_func=no"
19641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19642 echo "$ac_t""yes" 1>&6
19643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19644 cat >> confdefs.h <<EOF
19645 #define $ac_tr_func 1
19649 echo "$ac_t""no" 1>&6
19655 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19656 echo "configure:19657: checking for _sincosl declaration" >&5
19657 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19658 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19659 echo $ac_n "(cached) $ac_c" 1>&6
19664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19665 ac_cpp='$CXXCPP $CPPFLAGS'
19666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19668 cross_compiling=$ac_cv_prog_cxx_cross
19670 cat > conftest.$ac_ext <<EOF
19671 #line 19672 "configure"
19672 #include "confdefs.h"
19678 if { (eval echo configure:19679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19680 glibcpp_cv_func__sincosl_use=yes
19682 echo "configure: failed program was:" >&5
19683 cat conftest.$ac_ext >&5
19685 glibcpp_cv_func__sincosl_use=no
19689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19690 ac_cpp='$CPP $CPPFLAGS'
19691 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19692 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19693 cross_compiling=$ac_cv_prog_cc_cross
19699 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19701 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19702 for ac_func in _sincosl
19704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19705 echo "configure:19706: checking for $ac_func" >&5
19706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19707 echo $ac_n "(cached) $ac_c" 1>&6
19709 cat > conftest.$ac_ext <<EOF
19710 #line 19711 "configure"
19711 #include "confdefs.h"
19712 /* System header to define __stub macros and hopefully few prototypes,
19713 which can conflict with char $ac_func(); below. */
19714 #include <assert.h>
19715 /* Override any gcc2 internal prototype to avoid an error. */
19716 /* We use char because int might match the return type of a gcc2
19717 builtin and then its argument prototype would still apply. */
19722 /* The GNU C library defines this for functions which it implements
19723 to always fail with ENOSYS. Some functions are actually named
19724 something starting with __ and the normal name is an alias. */
19725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19733 if { (eval echo configure:19734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19735 eval "ac_cv_func_$ac_func=yes"
19737 echo "configure: failed program was:" >&5
19738 cat conftest.$ac_ext >&5
19740 eval "ac_cv_func_$ac_func=no"
19745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19746 echo "$ac_t""yes" 1>&6
19747 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19748 cat >> confdefs.h <<EOF
19749 #define $ac_tr_func 1
19753 echo "$ac_t""no" 1>&6
19762 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19763 echo "configure:19764: checking for finitel declaration" >&5
19764 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19765 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19766 echo $ac_n "(cached) $ac_c" 1>&6
19771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19772 ac_cpp='$CXXCPP $CPPFLAGS'
19773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19775 cross_compiling=$ac_cv_prog_cxx_cross
19777 cat > conftest.$ac_ext <<EOF
19778 #line 19779 "configure"
19779 #include "confdefs.h"
19781 #ifdef HAVE_IEEEFP_H
19782 #include <ieeefp.h>
19789 if { (eval echo configure:19790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19791 glibcpp_cv_func_finitel_use=yes
19793 echo "configure: failed program was:" >&5
19794 cat conftest.$ac_ext >&5
19796 glibcpp_cv_func_finitel_use=no
19800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19801 ac_cpp='$CPP $CPPFLAGS'
19802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19804 cross_compiling=$ac_cv_prog_cc_cross
19810 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19812 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19813 for ac_func in finitel
19815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19816 echo "configure:19817: checking for $ac_func" >&5
19817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19818 echo $ac_n "(cached) $ac_c" 1>&6
19820 cat > conftest.$ac_ext <<EOF
19821 #line 19822 "configure"
19822 #include "confdefs.h"
19823 /* System header to define __stub macros and hopefully few prototypes,
19824 which can conflict with char $ac_func(); below. */
19825 #include <assert.h>
19826 /* Override any gcc2 internal prototype to avoid an error. */
19827 /* We use char because int might match the return type of a gcc2
19828 builtin and then its argument prototype would still apply. */
19833 /* The GNU C library defines this for functions which it implements
19834 to always fail with ENOSYS. Some functions are actually named
19835 something starting with __ and the normal name is an alias. */
19836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19844 if { (eval echo configure:19845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19846 eval "ac_cv_func_$ac_func=yes"
19848 echo "configure: failed program was:" >&5
19849 cat conftest.$ac_ext >&5
19851 eval "ac_cv_func_$ac_func=no"
19856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19857 echo "$ac_t""yes" 1>&6
19858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19859 cat >> confdefs.h <<EOF
19860 #define $ac_tr_func 1
19864 echo "$ac_t""no" 1>&6
19870 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19871 echo "configure:19872: checking for _finitel declaration" >&5
19872 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19873 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19874 echo $ac_n "(cached) $ac_c" 1>&6
19879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19880 ac_cpp='$CXXCPP $CPPFLAGS'
19881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19883 cross_compiling=$ac_cv_prog_cxx_cross
19885 cat > conftest.$ac_ext <<EOF
19886 #line 19887 "configure"
19887 #include "confdefs.h"
19889 #ifdef HAVE_IEEEFP_H
19890 #include <ieeefp.h>
19897 if { (eval echo configure:19898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19899 glibcpp_cv_func__finitel_use=yes
19901 echo "configure: failed program was:" >&5
19902 cat conftest.$ac_ext >&5
19904 glibcpp_cv_func__finitel_use=no
19908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19909 ac_cpp='$CPP $CPPFLAGS'
19910 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19911 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19912 cross_compiling=$ac_cv_prog_cc_cross
19918 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19920 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19921 for ac_func in _finitel
19923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19924 echo "configure:19925: checking for $ac_func" >&5
19925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19926 echo $ac_n "(cached) $ac_c" 1>&6
19928 cat > conftest.$ac_ext <<EOF
19929 #line 19930 "configure"
19930 #include "confdefs.h"
19931 /* System header to define __stub macros and hopefully few prototypes,
19932 which can conflict with char $ac_func(); below. */
19933 #include <assert.h>
19934 /* Override any gcc2 internal prototype to avoid an error. */
19935 /* We use char because int might match the return type of a gcc2
19936 builtin and then its argument prototype would still apply. */
19941 /* The GNU C library defines this for functions which it implements
19942 to always fail with ENOSYS. Some functions are actually named
19943 something starting with __ and the normal name is an alias. */
19944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19952 if { (eval echo configure:19953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19954 eval "ac_cv_func_$ac_func=yes"
19956 echo "configure: failed program was:" >&5
19957 cat conftest.$ac_ext >&5
19959 eval "ac_cv_func_$ac_func=no"
19964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19965 echo "$ac_t""yes" 1>&6
19966 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19967 cat >> confdefs.h <<EOF
19968 #define $ac_tr_func 1
19972 echo "$ac_t""no" 1>&6
19982 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19983 echo "configure:19984: checking for _float trig functions" >&5
19984 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19985 echo $ac_n "(cached) $ac_c" 1>&6
19990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19991 ac_cpp='$CXXCPP $CPPFLAGS'
19992 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19993 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19994 cross_compiling=$ac_cv_prog_cxx_cross
19996 cat > conftest.$ac_ext <<EOF
19997 #line 19998 "configure"
19998 #include "confdefs.h"
20001 `for x in _acosf _asinf _atanf \
20002 _cosf _sinf _tanf \
20003 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20006 if { (eval echo configure:20007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20008 glibcpp_cv_func__float_trig_use=yes
20010 echo "configure: failed program was:" >&5
20011 cat conftest.$ac_ext >&5
20013 glibcpp_cv_func__float_trig_use=no
20017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20018 ac_cpp='$CPP $CPPFLAGS'
20019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20021 cross_compiling=$ac_cv_prog_cc_cross
20025 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20026 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20027 for ac_func in _acosf _asinf _atanf \
20028 _cosf _sinf _tanf \
20029 _coshf _sinhf _tanhf
20031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20032 echo "configure:20033: checking for $ac_func" >&5
20033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20034 echo $ac_n "(cached) $ac_c" 1>&6
20036 cat > conftest.$ac_ext <<EOF
20037 #line 20038 "configure"
20038 #include "confdefs.h"
20039 /* System header to define __stub macros and hopefully few prototypes,
20040 which can conflict with char $ac_func(); below. */
20041 #include <assert.h>
20042 /* Override any gcc2 internal prototype to avoid an error. */
20043 /* We use char because int might match the return type of a gcc2
20044 builtin and then its argument prototype would still apply. */
20049 /* The GNU C library defines this for functions which it implements
20050 to always fail with ENOSYS. Some functions are actually named
20051 something starting with __ and the normal name is an alias. */
20052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20060 if { (eval echo configure:20061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20062 eval "ac_cv_func_$ac_func=yes"
20064 echo "configure: failed program was:" >&5
20065 cat conftest.$ac_ext >&5
20067 eval "ac_cv_func_$ac_func=no"
20072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20073 echo "$ac_t""yes" 1>&6
20074 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20075 cat >> confdefs.h <<EOF
20076 #define $ac_tr_func 1
20080 echo "$ac_t""no" 1>&6
20087 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20088 echo "configure:20089: checking for _float round functions" >&5
20089 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20090 echo $ac_n "(cached) $ac_c" 1>&6
20095 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20096 ac_cpp='$CXXCPP $CPPFLAGS'
20097 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20098 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20099 cross_compiling=$ac_cv_prog_cxx_cross
20101 cat > conftest.$ac_ext <<EOF
20102 #line 20103 "configure"
20103 #include "confdefs.h"
20106 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20109 if { (eval echo configure:20110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20111 glibcpp_cv_func__float_round_use=yes
20113 echo "configure: failed program was:" >&5
20114 cat conftest.$ac_ext >&5
20116 glibcpp_cv_func__float_round_use=no
20120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20124 cross_compiling=$ac_cv_prog_cc_cross
20128 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20129 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20130 for ac_func in _ceilf _floorf
20132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20133 echo "configure:20134: checking for $ac_func" >&5
20134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20135 echo $ac_n "(cached) $ac_c" 1>&6
20137 cat > conftest.$ac_ext <<EOF
20138 #line 20139 "configure"
20139 #include "confdefs.h"
20140 /* System header to define __stub macros and hopefully few prototypes,
20141 which can conflict with char $ac_func(); below. */
20142 #include <assert.h>
20143 /* Override any gcc2 internal prototype to avoid an error. */
20144 /* We use char because int might match the return type of a gcc2
20145 builtin and then its argument prototype would still apply. */
20150 /* The GNU C library defines this for functions which it implements
20151 to always fail with ENOSYS. Some functions are actually named
20152 something starting with __ and the normal name is an alias. */
20153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20161 if { (eval echo configure:20162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20163 eval "ac_cv_func_$ac_func=yes"
20165 echo "configure: failed program was:" >&5
20166 cat conftest.$ac_ext >&5
20168 eval "ac_cv_func_$ac_func=no"
20173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20174 echo "$ac_t""yes" 1>&6
20175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20176 cat >> confdefs.h <<EOF
20177 #define $ac_tr_func 1
20181 echo "$ac_t""no" 1>&6
20189 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20190 echo "configure:20191: checking for _long double trig functions" >&5
20191 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20192 echo $ac_n "(cached) $ac_c" 1>&6
20197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20198 ac_cpp='$CXXCPP $CPPFLAGS'
20199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20201 cross_compiling=$ac_cv_prog_cxx_cross
20203 cat > conftest.$ac_ext <<EOF
20204 #line 20205 "configure"
20205 #include "confdefs.h"
20208 `for x in _acosl _asinl _atanl \
20209 _cosl _sinl _tanl \
20210 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20213 if { (eval echo configure:20214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20215 glibcpp_cv_func__long_double_trig_use=yes
20217 echo "configure: failed program was:" >&5
20218 cat conftest.$ac_ext >&5
20220 glibcpp_cv_func__long_double_trig_use=no
20224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20225 ac_cpp='$CPP $CPPFLAGS'
20226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20228 cross_compiling=$ac_cv_prog_cc_cross
20232 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20233 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20234 for ac_func in _acosl _asinl _atanl \
20235 _cosl _sinl _tanl \
20236 _coshl _sinhl _tanhl
20238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20239 echo "configure:20240: checking for $ac_func" >&5
20240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20241 echo $ac_n "(cached) $ac_c" 1>&6
20243 cat > conftest.$ac_ext <<EOF
20244 #line 20245 "configure"
20245 #include "confdefs.h"
20246 /* System header to define __stub macros and hopefully few prototypes,
20247 which can conflict with char $ac_func(); below. */
20248 #include <assert.h>
20249 /* Override any gcc2 internal prototype to avoid an error. */
20250 /* We use char because int might match the return type of a gcc2
20251 builtin and then its argument prototype would still apply. */
20256 /* The GNU C library defines this for functions which it implements
20257 to always fail with ENOSYS. Some functions are actually named
20258 something starting with __ and the normal name is an alias. */
20259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20267 if { (eval echo configure:20268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20269 eval "ac_cv_func_$ac_func=yes"
20271 echo "configure: failed program was:" >&5
20272 cat conftest.$ac_ext >&5
20274 eval "ac_cv_func_$ac_func=no"
20279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20280 echo "$ac_t""yes" 1>&6
20281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20282 cat >> confdefs.h <<EOF
20283 #define $ac_tr_func 1
20287 echo "$ac_t""no" 1>&6
20294 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20295 echo "configure:20296: checking for _long double round functions" >&5
20296 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20297 echo $ac_n "(cached) $ac_c" 1>&6
20302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20303 ac_cpp='$CXXCPP $CPPFLAGS'
20304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20306 cross_compiling=$ac_cv_prog_cxx_cross
20308 cat > conftest.$ac_ext <<EOF
20309 #line 20310 "configure"
20310 #include "confdefs.h"
20313 `for x in _ceill _floorl; do echo "$x (0);"; done`
20316 if { (eval echo configure:20317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20318 glibcpp_cv_func__long_double_round_use=yes
20320 echo "configure: failed program was:" >&5
20321 cat conftest.$ac_ext >&5
20323 glibcpp_cv_func__long_double_round_use=no
20327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20328 ac_cpp='$CPP $CPPFLAGS'
20329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20331 cross_compiling=$ac_cv_prog_cc_cross
20335 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20336 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20337 for ac_func in _ceill _floorl
20339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20340 echo "configure:20341: checking for $ac_func" >&5
20341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20342 echo $ac_n "(cached) $ac_c" 1>&6
20344 cat > conftest.$ac_ext <<EOF
20345 #line 20346 "configure"
20346 #include "confdefs.h"
20347 /* System header to define __stub macros and hopefully few prototypes,
20348 which can conflict with char $ac_func(); below. */
20349 #include <assert.h>
20350 /* Override any gcc2 internal prototype to avoid an error. */
20351 /* We use char because int might match the return type of a gcc2
20352 builtin and then its argument prototype would still apply. */
20357 /* The GNU C library defines this for functions which it implements
20358 to always fail with ENOSYS. Some functions are actually named
20359 something starting with __ and the normal name is an alias. */
20360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
20372 echo "configure: failed program was:" >&5
20373 cat conftest.$ac_ext >&5
20375 eval "ac_cv_func_$ac_func=no"
20380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20381 echo "$ac_t""yes" 1>&6
20382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20383 cat >> confdefs.h <<EOF
20384 #define $ac_tr_func 1
20388 echo "$ac_t""no" 1>&6
20395 LIBS="$ac_save_LIBS"
20396 CXXFLAGS="$ac_save_CXXFLAGS"
20399 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20400 echo "configure:20401: checking for main in -lm" >&5
20401 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20403 echo $ac_n "(cached) $ac_c" 1>&6
20405 ac_save_LIBS="$LIBS"
20407 cat > conftest.$ac_ext <<EOF
20408 #line 20409 "configure"
20409 #include "confdefs.h"
20415 if { (eval echo configure:20416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20417 eval "ac_cv_lib_$ac_lib_var=yes"
20419 echo "configure: failed program was:" >&5
20420 cat conftest.$ac_ext >&5
20422 eval "ac_cv_lib_$ac_lib_var=no"
20425 LIBS="$ac_save_LIBS"
20428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20429 echo "$ac_t""yes" 1>&6
20430 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20431 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20432 cat >> confdefs.h <<EOF
20433 #define $ac_tr_lib 1
20439 echo "$ac_t""no" 1>&6
20442 for ac_func in nan copysignf
20444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20445 echo "configure:20446: checking for $ac_func" >&5
20446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20447 echo $ac_n "(cached) $ac_c" 1>&6
20449 cat > conftest.$ac_ext <<EOF
20450 #line 20451 "configure"
20451 #include "confdefs.h"
20452 /* System header to define __stub macros and hopefully few prototypes,
20453 which can conflict with char $ac_func(); below. */
20454 #include <assert.h>
20455 /* Override any gcc2 internal prototype to avoid an error. */
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20462 /* The GNU C library defines this for functions which it implements
20463 to always fail with ENOSYS. Some functions are actually named
20464 something starting with __ and the normal name is an alias. */
20465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20473 if { (eval echo configure:20474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20475 eval "ac_cv_func_$ac_func=yes"
20477 echo "configure: failed program was:" >&5
20478 cat conftest.$ac_ext >&5
20480 eval "ac_cv_func_$ac_func=no"
20485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20486 echo "$ac_t""yes" 1>&6
20487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20488 cat >> confdefs.h <<EOF
20489 #define $ac_tr_func 1
20493 echo "$ac_t""no" 1>&6
20494 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20499 for ac_func in __signbit
20501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20502 echo "configure:20503: checking for $ac_func" >&5
20503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20504 echo $ac_n "(cached) $ac_c" 1>&6
20506 cat > conftest.$ac_ext <<EOF
20507 #line 20508 "configure"
20508 #include "confdefs.h"
20509 /* System header to define __stub macros and hopefully few prototypes,
20510 which can conflict with char $ac_func(); below. */
20511 #include <assert.h>
20512 /* Override any gcc2 internal prototype to avoid an error. */
20513 /* We use char because int might match the return type of a gcc2
20514 builtin and then its argument prototype would still apply. */
20519 /* The GNU C library defines this for functions which it implements
20520 to always fail with ENOSYS. Some functions are actually named
20521 something starting with __ and the normal name is an alias. */
20522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20530 if { (eval echo configure:20531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20532 eval "ac_cv_func_$ac_func=yes"
20534 echo "configure: failed program was:" >&5
20535 cat conftest.$ac_ext >&5
20537 eval "ac_cv_func_$ac_func=no"
20542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20543 echo "$ac_t""yes" 1>&6
20544 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20545 cat >> confdefs.h <<EOF
20546 #define $ac_tr_func 1
20550 echo "$ac_t""no" 1>&6
20551 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20555 for ac_func in __signbitf
20557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20558 echo "configure:20559: checking for $ac_func" >&5
20559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20560 echo $ac_n "(cached) $ac_c" 1>&6
20562 cat > conftest.$ac_ext <<EOF
20563 #line 20564 "configure"
20564 #include "confdefs.h"
20565 /* System header to define __stub macros and hopefully few prototypes,
20566 which can conflict with char $ac_func(); below. */
20567 #include <assert.h>
20568 /* Override any gcc2 internal prototype to avoid an error. */
20569 /* We use char because int might match the return type of a gcc2
20570 builtin and then its argument prototype would still apply. */
20575 /* The GNU C library defines this for functions which it implements
20576 to always fail with ENOSYS. Some functions are actually named
20577 something starting with __ and the normal name is an alias. */
20578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20586 if { (eval echo configure:20587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20588 eval "ac_cv_func_$ac_func=yes"
20590 echo "configure: failed program was:" >&5
20591 cat conftest.$ac_ext >&5
20593 eval "ac_cv_func_$ac_func=no"
20598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20599 echo "$ac_t""yes" 1>&6
20600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20601 cat >> confdefs.h <<EOF
20602 #define $ac_tr_func 1
20606 echo "$ac_t""no" 1>&6
20607 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20612 if test x$ac_cv_func_copysignl = x"yes"; then
20613 for ac_func in __signbitl
20615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20616 echo "configure:20617: checking for $ac_func" >&5
20617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20618 echo $ac_n "(cached) $ac_c" 1>&6
20620 cat > conftest.$ac_ext <<EOF
20621 #line 20622 "configure"
20622 #include "confdefs.h"
20623 /* System header to define __stub macros and hopefully few prototypes,
20624 which can conflict with char $ac_func(); below. */
20625 #include <assert.h>
20626 /* Override any gcc2 internal prototype to avoid an error. */
20627 /* We use char because int might match the return type of a gcc2
20628 builtin and then its argument prototype would still apply. */
20633 /* The GNU C library defines this for functions which it implements
20634 to always fail with ENOSYS. Some functions are actually named
20635 something starting with __ and the normal name is an alias. */
20636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20644 if { (eval echo configure:20645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20646 eval "ac_cv_func_$ac_func=yes"
20648 echo "configure: failed program was:" >&5
20649 cat conftest.$ac_ext >&5
20651 eval "ac_cv_func_$ac_func=no"
20656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20657 echo "$ac_t""yes" 1>&6
20658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20659 cat >> confdefs.h <<EOF
20660 #define $ac_tr_func 1
20664 echo "$ac_t""no" 1>&6
20665 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20675 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20676 echo "configure:20677: checking for mbstate_t" >&5
20677 cat > conftest.$ac_ext <<EOF
20678 #line 20679 "configure"
20679 #include "confdefs.h"
20682 mbstate_t teststate;
20685 if { (eval echo configure:20686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20689 echo "configure: failed program was:" >&5
20690 cat conftest.$ac_ext >&5
20695 echo "$ac_t""$have_mbstate_t" 1>&6
20696 if test x"$have_mbstate_t" = xyes; then
20697 cat >> confdefs.h <<\EOF
20698 #define HAVE_MBSTATE_T 1
20703 for ac_hdr in wchar.h
20705 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20707 echo "configure:20708: checking for $ac_hdr" >&5
20708 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20709 echo $ac_n "(cached) $ac_c" 1>&6
20711 cat > conftest.$ac_ext <<EOF
20712 #line 20713 "configure"
20713 #include "confdefs.h"
20716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20717 { (eval echo configure:20718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20719 if test -z "$ac_err"; then
20721 eval "ac_cv_header_$ac_safe=yes"
20724 echo "configure: failed program was:" >&5
20725 cat conftest.$ac_ext >&5
20727 eval "ac_cv_header_$ac_safe=no"
20731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20732 echo "$ac_t""yes" 1>&6
20733 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20734 cat >> confdefs.h <<EOF
20735 #define $ac_tr_hdr 1
20739 echo "$ac_t""no" 1>&6
20744 for ac_hdr in wctype.h
20746 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20747 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20748 echo "configure:20749: checking for $ac_hdr" >&5
20749 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20750 echo $ac_n "(cached) $ac_c" 1>&6
20752 cat > conftest.$ac_ext <<EOF
20753 #line 20754 "configure"
20754 #include "confdefs.h"
20757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20758 { (eval echo configure:20759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20760 if test -z "$ac_err"; then
20762 eval "ac_cv_header_$ac_safe=yes"
20765 echo "configure: failed program was:" >&5
20766 cat conftest.$ac_ext >&5
20768 eval "ac_cv_header_$ac_safe=no"
20772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20773 echo "$ac_t""yes" 1>&6
20774 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20775 cat >> confdefs.h <<EOF
20776 #define $ac_tr_hdr 1
20778 ac_has_wctype_h=yes
20780 echo "$ac_t""no" 1>&6
20786 if test x"$ac_has_wchar_h" = xyes &&
20787 test x"$ac_has_wctype_h" = xyes &&
20788 test x"$enable_c_mbchar" != xno; then
20790 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20791 echo "configure:20792: checking for WCHAR_MIN and WCHAR_MAX" >&5
20792 cat > conftest.$ac_ext <<EOF
20793 #line 20794 "configure"
20794 #include "confdefs.h"
20797 int i = WCHAR_MIN; int j = WCHAR_MAX;
20800 if { (eval echo configure:20801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20802 has_wchar_minmax=yes
20804 echo "configure: failed program was:" >&5
20805 cat conftest.$ac_ext >&5
20807 has_wchar_minmax=no
20810 echo "$ac_t""$has_wchar_minmax" 1>&6
20812 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20813 echo "configure:20814: checking for WEOF" >&5
20814 cat > conftest.$ac_ext <<EOF
20815 #line 20816 "configure"
20816 #include "confdefs.h"
20819 #include <stddef.h>
20824 if { (eval echo configure:20825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20828 echo "configure: failed program was:" >&5
20829 cat conftest.$ac_ext >&5
20834 echo "$ac_t""$has_weof" 1>&6
20837 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20840 echo "configure:20841: checking for $ac_func" >&5
20841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20842 echo $ac_n "(cached) $ac_c" 1>&6
20844 cat > conftest.$ac_ext <<EOF
20845 #line 20846 "configure"
20846 #include "confdefs.h"
20847 /* System header to define __stub macros and hopefully few prototypes,
20848 which can conflict with char $ac_func(); below. */
20849 #include <assert.h>
20850 /* Override any gcc2 internal prototype to avoid an error. */
20851 /* We use char because int might match the return type of a gcc2
20852 builtin and then its argument prototype would still apply. */
20857 /* The GNU C library defines this for functions which it implements
20858 to always fail with ENOSYS. Some functions are actually named
20859 something starting with __ and the normal name is an alias. */
20860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20868 if { (eval echo configure:20869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20870 eval "ac_cv_func_$ac_func=yes"
20872 echo "configure: failed program was:" >&5
20873 cat conftest.$ac_ext >&5
20875 eval "ac_cv_func_$ac_func=no"
20880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20881 echo "$ac_t""yes" 1>&6
20882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20883 cat >> confdefs.h <<EOF
20884 #define $ac_tr_func 1
20888 echo "$ac_t""no" 1>&6
20895 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20896 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20897 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20898 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20899 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20900 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20903 echo "configure:20904: checking for $ac_func" >&5
20904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20905 echo $ac_n "(cached) $ac_c" 1>&6
20907 cat > conftest.$ac_ext <<EOF
20908 #line 20909 "configure"
20909 #include "confdefs.h"
20910 /* System header to define __stub macros and hopefully few prototypes,
20911 which can conflict with char $ac_func(); below. */
20912 #include <assert.h>
20913 /* Override any gcc2 internal prototype to avoid an error. */
20914 /* We use char because int might match the return type of a gcc2
20915 builtin and then its argument prototype would still apply. */
20920 /* The GNU C library defines this for functions which it implements
20921 to always fail with ENOSYS. Some functions are actually named
20922 something starting with __ and the normal name is an alias. */
20923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20931 if { (eval echo configure:20932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20933 eval "ac_cv_func_$ac_func=yes"
20935 echo "configure: failed program was:" >&5
20936 cat conftest.$ac_ext >&5
20938 eval "ac_cv_func_$ac_func=no"
20943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20944 echo "$ac_t""yes" 1>&6
20945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20946 cat >> confdefs.h <<EOF
20947 #define $ac_tr_func 1
20951 echo "$ac_t""no" 1>&6
20958 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20959 echo "configure:20960: checking for ISO C99 wchar_t support" >&5
20960 if test x"$has_weof" = xyes &&
20961 test x"$has_wchar_minmax" = xyes &&
20962 test x"$ac_wfuncs" = xyes; then
20963 ac_isoC99_wchar_t=yes
20965 ac_isoC99_wchar_t=no
20967 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20969 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20970 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20971 echo "configure:20972: checking for iconv.h" >&5
20972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20973 echo $ac_n "(cached) $ac_c" 1>&6
20975 cat > conftest.$ac_ext <<EOF
20976 #line 20977 "configure"
20977 #include "confdefs.h"
20980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20981 { (eval echo configure:20982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20983 if test -z "$ac_err"; then
20985 eval "ac_cv_header_$ac_safe=yes"
20988 echo "configure: failed program was:" >&5
20989 cat conftest.$ac_ext >&5
20991 eval "ac_cv_header_$ac_safe=no"
20995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20996 echo "$ac_t""yes" 1>&6
20999 echo "$ac_t""no" 1>&6
21003 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
21004 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
21005 echo "configure:21006: checking for langinfo.h" >&5
21006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21007 echo $ac_n "(cached) $ac_c" 1>&6
21009 cat > conftest.$ac_ext <<EOF
21010 #line 21011 "configure"
21011 #include "confdefs.h"
21012 #include <langinfo.h>
21014 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21015 { (eval echo configure:21016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21016 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21017 if test -z "$ac_err"; then
21019 eval "ac_cv_header_$ac_safe=yes"
21022 echo "configure: failed program was:" >&5
21023 cat conftest.$ac_ext >&5
21025 eval "ac_cv_header_$ac_safe=no"
21029 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21030 echo "$ac_t""yes" 1>&6
21031 ac_has_langinfo_h=yes
21033 echo "$ac_t""no" 1>&6
21034 ac_has_langinfo_h=no
21038 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21039 echo "configure:21040: checking for iconv in -liconv" >&5
21040 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21042 echo $ac_n "(cached) $ac_c" 1>&6
21044 ac_save_LIBS="$LIBS"
21045 LIBS="-liconv $LIBS"
21046 cat > conftest.$ac_ext <<EOF
21047 #line 21048 "configure"
21048 #include "confdefs.h"
21049 /* Override any gcc2 internal prototype to avoid an error. */
21050 /* We use char because int might match the return type of a gcc2
21051 builtin and then its argument prototype would still apply. */
21058 if { (eval echo configure:21059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21060 eval "ac_cv_lib_$ac_lib_var=yes"
21062 echo "configure: failed program was:" >&5
21063 cat conftest.$ac_ext >&5
21065 eval "ac_cv_lib_$ac_lib_var=no"
21068 LIBS="$ac_save_LIBS"
21071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21072 echo "$ac_t""yes" 1>&6
21075 echo "$ac_t""no" 1>&6
21078 ac_save_LIBS="$LIBS"
21079 LIBS="$LIBS $libiconv"
21081 for ac_func in iconv_open iconv_close iconv nl_langinfo
21083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21084 echo "configure:21085: checking for $ac_func" >&5
21085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21086 echo $ac_n "(cached) $ac_c" 1>&6
21088 cat > conftest.$ac_ext <<EOF
21089 #line 21090 "configure"
21090 #include "confdefs.h"
21091 /* System header to define __stub macros and hopefully few prototypes,
21092 which can conflict with char $ac_func(); below. */
21093 #include <assert.h>
21094 /* Override any gcc2 internal prototype to avoid an error. */
21095 /* We use char because int might match the return type of a gcc2
21096 builtin and then its argument prototype would still apply. */
21101 /* The GNU C library defines this for functions which it implements
21102 to always fail with ENOSYS. Some functions are actually named
21103 something starting with __ and the normal name is an alias. */
21104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21112 if { (eval echo configure:21113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21114 eval "ac_cv_func_$ac_func=yes"
21116 echo "configure: failed program was:" >&5
21117 cat conftest.$ac_ext >&5
21119 eval "ac_cv_func_$ac_func=no"
21124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21125 echo "$ac_t""yes" 1>&6
21126 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21127 cat >> confdefs.h <<EOF
21128 #define $ac_tr_func 1
21133 echo "$ac_t""no" 1>&6
21139 LIBS="$ac_save_LIBS"
21141 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21142 echo "configure:21143: checking for XPG2 wchar_t support" >&5
21143 if test x"$ac_has_iconv_h" = xyes &&
21144 test x"$ac_has_langinfo_h" = xyes &&
21145 test x"$ac_XPG2funcs" = xyes; then
21146 ac_XPG2_wchar_t=yes
21150 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21152 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21153 echo "configure:21154: checking for enabled wchar_t specializations" >&5
21154 if test x"$ac_isoC99_wchar_t" = xyes &&
21155 test x"$ac_XPG2_wchar_t" = xyes; then
21156 cat >> confdefs.h <<\EOF
21157 #define _GLIBCPP_USE_WCHAR_T 1
21160 echo "$ac_t"""yes"" 1>&6
21162 echo "$ac_t"""no"" 1>&6
21165 echo "configure: warning: wchar_t support disabled." 1>&2
21169 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21170 ac_save_CXXFLAGS="$CXXFLAGS"
21171 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21174 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21175 echo "configure:21176: checking for strtold declaration" >&5
21176 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21177 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21178 echo $ac_n "(cached) $ac_c" 1>&6
21183 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21184 ac_cpp='$CXXCPP $CPPFLAGS'
21185 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21186 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21187 cross_compiling=$ac_cv_prog_cxx_cross
21189 cat > conftest.$ac_ext <<EOF
21190 #line 21191 "configure"
21191 #include "confdefs.h"
21192 #include <stdlib.h>
21197 if { (eval echo configure:21198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21199 glibcpp_cv_func_strtold_use=yes
21201 echo "configure: failed program was:" >&5
21202 cat conftest.$ac_ext >&5
21204 glibcpp_cv_func_strtold_use=no
21208 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21209 ac_cpp='$CPP $CPPFLAGS'
21210 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21211 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21212 cross_compiling=$ac_cv_prog_cc_cross
21218 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21219 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21220 for ac_func in strtold
21222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21223 echo "configure:21224: checking for $ac_func" >&5
21224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21225 echo $ac_n "(cached) $ac_c" 1>&6
21227 cat > conftest.$ac_ext <<EOF
21228 #line 21229 "configure"
21229 #include "confdefs.h"
21230 /* System header to define __stub macros and hopefully few prototypes,
21231 which can conflict with char $ac_func(); below. */
21232 #include <assert.h>
21233 /* Override any gcc2 internal prototype to avoid an error. */
21234 /* We use char because int might match the return type of a gcc2
21235 builtin and then its argument prototype would still apply. */
21240 /* The GNU C library defines this for functions which it implements
21241 to always fail with ENOSYS. Some functions are actually named
21242 something starting with __ and the normal name is an alias. */
21243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21251 if { (eval echo configure:21252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21253 eval "ac_cv_func_$ac_func=yes"
21255 echo "configure: failed program was:" >&5
21256 cat conftest.$ac_ext >&5
21258 eval "ac_cv_func_$ac_func=no"
21263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21264 echo "$ac_t""yes" 1>&6
21265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21266 cat >> confdefs.h <<EOF
21267 #define $ac_tr_func 1
21271 echo "$ac_t""no" 1>&6
21278 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21279 echo "configure:21280: checking for strtof declaration" >&5
21280 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21281 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21282 echo $ac_n "(cached) $ac_c" 1>&6
21287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21288 ac_cpp='$CXXCPP $CPPFLAGS'
21289 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21290 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21291 cross_compiling=$ac_cv_prog_cxx_cross
21293 cat > conftest.$ac_ext <<EOF
21294 #line 21295 "configure"
21295 #include "confdefs.h"
21296 #include <stdlib.h>
21301 if { (eval echo configure:21302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21303 glibcpp_cv_func_strtof_use=yes
21305 echo "configure: failed program was:" >&5
21306 cat conftest.$ac_ext >&5
21308 glibcpp_cv_func_strtof_use=no
21312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21313 ac_cpp='$CPP $CPPFLAGS'
21314 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21315 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21316 cross_compiling=$ac_cv_prog_cc_cross
21322 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21323 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21324 for ac_func in strtof
21326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21327 echo "configure:21328: checking for $ac_func" >&5
21328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21329 echo $ac_n "(cached) $ac_c" 1>&6
21331 cat > conftest.$ac_ext <<EOF
21332 #line 21333 "configure"
21333 #include "confdefs.h"
21334 /* System header to define __stub macros and hopefully few prototypes,
21335 which can conflict with char $ac_func(); below. */
21336 #include <assert.h>
21337 /* Override any gcc2 internal prototype to avoid an error. */
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21344 /* The GNU C library defines this for functions which it implements
21345 to always fail with ENOSYS. Some functions are actually named
21346 something starting with __ and the normal name is an alias. */
21347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21355 if { (eval echo configure:21356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21357 eval "ac_cv_func_$ac_func=yes"
21359 echo "configure: failed program was:" >&5
21360 cat conftest.$ac_ext >&5
21362 eval "ac_cv_func_$ac_func=no"
21367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21368 echo "$ac_t""yes" 1>&6
21369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21370 cat >> confdefs.h <<EOF
21371 #define $ac_tr_func 1
21375 echo "$ac_t""no" 1>&6
21381 for ac_func in drand48
21383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21384 echo "configure:21385: checking for $ac_func" >&5
21385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21386 echo $ac_n "(cached) $ac_c" 1>&6
21388 cat > conftest.$ac_ext <<EOF
21389 #line 21390 "configure"
21390 #include "confdefs.h"
21391 /* System header to define __stub macros and hopefully few prototypes,
21392 which can conflict with char $ac_func(); below. */
21393 #include <assert.h>
21394 /* Override any gcc2 internal prototype to avoid an error. */
21395 /* We use char because int might match the return type of a gcc2
21396 builtin and then its argument prototype would still apply. */
21401 /* The GNU C library defines this for functions which it implements
21402 to always fail with ENOSYS. Some functions are actually named
21403 something starting with __ and the normal name is an alias. */
21404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21412 if { (eval echo configure:21413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21414 eval "ac_cv_func_$ac_func=yes"
21416 echo "configure: failed program was:" >&5
21417 cat conftest.$ac_ext >&5
21419 eval "ac_cv_func_$ac_func=no"
21424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21425 echo "$ac_t""yes" 1>&6
21426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21427 cat >> confdefs.h <<EOF
21428 #define $ac_tr_func 1
21432 echo "$ac_t""no" 1>&6
21437 CXXFLAGS="$ac_save_CXXFLAGS"
21440 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21441 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21442 echo "configure:21443: checking for locale.h" >&5
21443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21444 echo $ac_n "(cached) $ac_c" 1>&6
21446 cat > conftest.$ac_ext <<EOF
21447 #line 21448 "configure"
21448 #include "confdefs.h"
21449 #include <locale.h>
21451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21452 { (eval echo configure:21453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21454 if test -z "$ac_err"; then
21456 eval "ac_cv_header_$ac_safe=yes"
21459 echo "configure: failed program was:" >&5
21460 cat conftest.$ac_ext >&5
21462 eval "ac_cv_header_$ac_safe=no"
21466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21467 echo "$ac_t""yes" 1>&6
21469 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21470 echo "configure:21471: checking for LC_MESSAGES" >&5
21471 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21472 echo $ac_n "(cached) $ac_c" 1>&6
21474 cat > conftest.$ac_ext <<EOF
21475 #line 21476 "configure"
21476 #include "confdefs.h"
21477 #include <locale.h>
21482 if { (eval echo configure:21483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21484 ac_cv_val_LC_MESSAGES=yes
21486 echo "configure: failed program was:" >&5
21487 cat conftest.$ac_ext >&5
21489 ac_cv_val_LC_MESSAGES=no
21494 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21495 if test $ac_cv_val_LC_MESSAGES = yes; then
21496 cat >> confdefs.h <<\EOF
21497 #define HAVE_LC_MESSAGES 1
21503 echo "$ac_t""no" 1>&6
21508 cat > conftest.$ac_ext <<EOF
21509 #line 21510 "configure"
21510 #include "confdefs.h"
21512 #include <setjmp.h>
21515 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21518 if { (eval echo configure:21519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21520 cat >> confdefs.h <<\EOF
21521 #define HAVE_SIGSETJMP 1
21526 echo "configure: failed program was:" >&5
21527 cat conftest.$ac_ext >&5
21531 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21533 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21534 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21535 echo "configure:21536: checking for $ac_hdr" >&5
21536 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21537 echo $ac_n "(cached) $ac_c" 1>&6
21539 cat > conftest.$ac_ext <<EOF
21540 #line 21541 "configure"
21541 #include "confdefs.h"
21544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21545 { (eval echo configure:21546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21547 if test -z "$ac_err"; then
21549 eval "ac_cv_header_$ac_safe=yes"
21552 echo "configure: failed program was:" >&5
21553 cat conftest.$ac_ext >&5
21555 eval "ac_cv_header_$ac_safe=no"
21559 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21560 echo "$ac_t""yes" 1>&6
21561 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21562 cat >> confdefs.h <<EOF
21563 #define $ac_tr_hdr 1
21567 echo "$ac_t""no" 1>&6
21571 for ac_func in getpagesize
21573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21574 echo "configure:21575: checking for $ac_func" >&5
21575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21576 echo $ac_n "(cached) $ac_c" 1>&6
21578 cat > conftest.$ac_ext <<EOF
21579 #line 21580 "configure"
21580 #include "confdefs.h"
21581 /* System header to define __stub macros and hopefully few prototypes,
21582 which can conflict with char $ac_func(); below. */
21583 #include <assert.h>
21584 /* Override any gcc2 internal prototype to avoid an error. */
21585 /* We use char because int might match the return type of a gcc2
21586 builtin and then its argument prototype would still apply. */
21591 /* The GNU C library defines this for functions which it implements
21592 to always fail with ENOSYS. Some functions are actually named
21593 something starting with __ and the normal name is an alias. */
21594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21602 if { (eval echo configure:21603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21604 eval "ac_cv_func_$ac_func=yes"
21606 echo "configure: failed program was:" >&5
21607 cat conftest.$ac_ext >&5
21609 eval "ac_cv_func_$ac_func=no"
21614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21615 echo "$ac_t""yes" 1>&6
21616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21617 cat >> confdefs.h <<EOF
21618 #define $ac_tr_func 1
21622 echo "$ac_t""no" 1>&6
21626 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21627 echo "configure:21628: checking for working mmap" >&5
21628 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21629 echo $ac_n "(cached) $ac_c" 1>&6
21631 if test "$cross_compiling" = yes; then
21632 ac_cv_func_mmap_fixed_mapped=no
21634 cat > conftest.$ac_ext <<EOF
21635 #line 21636 "configure"
21636 #include "confdefs.h"
21638 /* Thanks to Mike Haertel and Jim Avera for this test.
21639 Here is a matrix of mmap possibilities:
21640 mmap private not fixed
21641 mmap private fixed at somewhere currently unmapped
21642 mmap private fixed at somewhere already mapped
21643 mmap shared not fixed
21644 mmap shared fixed at somewhere currently unmapped
21645 mmap shared fixed at somewhere already mapped
21646 For private mappings, we should verify that changes cannot be read()
21647 back from the file, nor mmap's back from the file at a different
21648 address. (There have been systems where private was not correctly
21649 implemented like the infamous i386 svr4.0, and systems where the
21650 VM page cache was not coherent with the filesystem buffer cache
21651 like early versions of FreeBSD and possibly contemporary NetBSD.)
21652 For shared mappings, we should conversely verify that changes get
21653 propogated back to all the places they're supposed to be.
21655 Grep wants private fixed already mapped.
21656 The main things grep needs to know about mmap are:
21657 * does it exist and is it safe to write into the mmap'd area
21658 * how to use it (BSD variants) */
21659 #include <sys/types.h>
21661 #include <sys/mman.h>
21663 #if HAVE_SYS_TYPES_H
21664 # include <sys/types.h>
21668 # include <stdlib.h>
21671 #if HAVE_SYS_STAT_H
21672 # include <sys/stat.h>
21676 # include <unistd.h>
21679 /* This mess was copied from the GNU getpagesize.h. */
21680 #ifndef HAVE_GETPAGESIZE
21682 /* Assume that all systems that can run configure have sys/param.h. */
21683 # ifndef HAVE_SYS_PARAM_H
21684 # define HAVE_SYS_PARAM_H 1
21687 # ifdef _SC_PAGESIZE
21688 # define getpagesize() sysconf(_SC_PAGESIZE)
21689 # else /* no _SC_PAGESIZE */
21690 # ifdef HAVE_SYS_PARAM_H
21691 # include <sys/param.h>
21692 # ifdef EXEC_PAGESIZE
21693 # define getpagesize() EXEC_PAGESIZE
21694 # else /* no EXEC_PAGESIZE */
21696 # define getpagesize() NBPG * CLSIZE
21699 # endif /* no CLSIZE */
21700 # else /* no NBPG */
21702 # define getpagesize() NBPC
21703 # else /* no NBPC */
21705 # define getpagesize() PAGESIZE
21706 # endif /* PAGESIZE */
21707 # endif /* no NBPC */
21708 # endif /* no NBPG */
21709 # endif /* no EXEC_PAGESIZE */
21710 # else /* no HAVE_SYS_PARAM_H */
21711 # define getpagesize() 8192 /* punt totally */
21712 # endif /* no HAVE_SYS_PARAM_H */
21713 # endif /* no _SC_PAGESIZE */
21715 #endif /* no HAVE_GETPAGESIZE */
21718 extern "C" { void *malloc(unsigned); }
21726 char *data, *data2, *data3;
21730 pagesize = getpagesize();
21733 * First, make a file with some known garbage in it.
21735 data = malloc(pagesize);
21738 for (i = 0; i < pagesize; ++i)
21739 *(data + i) = rand();
21741 fd = creat("conftestmmap", 0600);
21744 if (write(fd, data, pagesize) != pagesize)
21749 * Next, try to mmap the file at a fixed address which
21750 * already has something else allocated at it. If we can,
21751 * also make sure that we see the same garbage.
21753 fd = open("conftestmmap", O_RDWR);
21756 data2 = malloc(2 * pagesize);
21759 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21760 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21761 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21763 for (i = 0; i < pagesize; ++i)
21764 if (*(data + i) != *(data2 + i))
21768 * Finally, make sure that changes to the mapped area
21769 * do not percolate back to the file as seen by read().
21770 * (This is a bug on some variants of i386 svr4.0.)
21772 for (i = 0; i < pagesize; ++i)
21773 *(data2 + i) = *(data2 + i) + 1;
21774 data3 = malloc(pagesize);
21777 if (read(fd, data3, pagesize) != pagesize)
21779 for (i = 0; i < pagesize; ++i)
21780 if (*(data + i) != *(data3 + i))
21783 unlink("conftestmmap");
21788 if { (eval echo configure:21789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21790 ac_cv_func_mmap_fixed_mapped=yes
21792 echo "configure: failed program was:" >&5
21793 cat conftest.$ac_ext >&5
21795 ac_cv_func_mmap_fixed_mapped=no
21802 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21803 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21804 cat >> confdefs.h <<\EOF
21805 #define HAVE_MMAP 1
21811 # Establish limits on memory usage during 'make check'
21814 setrlimit_have_headers=yes
21815 for ac_hdr in unistd.h sys/time.h sys/resource.h
21817 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21818 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21819 echo "configure:21820: checking for $ac_hdr" >&5
21820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21821 echo $ac_n "(cached) $ac_c" 1>&6
21823 cat > conftest.$ac_ext <<EOF
21824 #line 21825 "configure"
21825 #include "confdefs.h"
21828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21829 { (eval echo configure:21830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21831 if test -z "$ac_err"; then
21833 eval "ac_cv_header_$ac_safe=yes"
21836 echo "configure: failed program was:" >&5
21837 cat conftest.$ac_ext >&5
21839 eval "ac_cv_header_$ac_safe=no"
21843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21844 echo "$ac_t""yes" 1>&6
21845 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21846 cat >> confdefs.h <<EOF
21847 #define $ac_tr_hdr 1
21851 echo "$ac_t""no" 1>&6
21852 setrlimit_have_headers=no
21856 # If don't have the headers, then we can't run the tests now, and we
21857 # won't be seeing any of these during testsuite compilation.
21858 if test $setrlimit_have_headers = yes; then
21859 # Can't do these in a loop, else the resulting syntax is wrong.
21861 cat > conftest.$ac_ext <<EOF
21862 #line 21863 "configure"
21863 #include "confdefs.h"
21864 #include <unistd.h>
21865 #include <sys/time.h>
21866 #include <sys/resource.h>
21869 int f = RLIMIT_DATA ;
21872 if { (eval echo configure:21873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21876 echo "configure: failed program was:" >&5
21877 cat conftest.$ac_ext >&5
21882 cat >> confdefs.h <<EOF
21883 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21888 cat > conftest.$ac_ext <<EOF
21889 #line 21890 "configure"
21890 #include "confdefs.h"
21891 #include <unistd.h>
21892 #include <sys/time.h>
21893 #include <sys/resource.h>
21896 int f = RLIMIT_RSS ;
21899 if { (eval echo configure:21900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21903 echo "configure: failed program was:" >&5
21904 cat conftest.$ac_ext >&5
21909 cat >> confdefs.h <<EOF
21910 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21915 cat > conftest.$ac_ext <<EOF
21916 #line 21917 "configure"
21917 #include "confdefs.h"
21918 #include <unistd.h>
21919 #include <sys/time.h>
21920 #include <sys/resource.h>
21923 int f = RLIMIT_VMEM ;
21926 if { (eval echo configure:21927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21930 echo "configure: failed program was:" >&5
21931 cat conftest.$ac_ext >&5
21936 cat >> confdefs.h <<EOF
21937 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21942 cat > conftest.$ac_ext <<EOF
21943 #line 21944 "configure"
21944 #include "confdefs.h"
21945 #include <unistd.h>
21946 #include <sys/time.h>
21947 #include <sys/resource.h>
21950 int f = RLIMIT_AS ;
21953 if { (eval echo configure:21954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21957 echo "configure: failed program was:" >&5
21958 cat conftest.$ac_ext >&5
21963 cat >> confdefs.h <<EOF
21964 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21969 # Check for rlimit, setrlimit.
21970 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21971 echo $ac_n "(cached) $ac_c" 1>&6
21974 cat > conftest.$ac_ext <<EOF
21975 #line 21976 "configure"
21976 #include "confdefs.h"
21977 #include <unistd.h>
21978 #include <sys/time.h>
21979 #include <sys/resource.h>
21982 struct rlimit r; setrlimit(0, &r);
21985 if { (eval echo configure:21986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21989 echo "configure: failed program was:" >&5
21990 cat conftest.$ac_ext >&5
22000 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
22001 echo "configure:22002: checking for testsuite memory limit support" >&5
22002 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
22004 cat >> confdefs.h <<\EOF
22005 #define _GLIBCPP_MEM_LIMITS 1
22011 echo "$ac_t""$ac_mem_limits" 1>&6
22014 # Look for setenv, so that extended locale tests can be performed.
22016 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
22017 echo "configure:22018: checking for setenv declaration" >&5
22018 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
22019 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
22020 echo $ac_n "(cached) $ac_c" 1>&6
22025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22026 ac_cpp='$CXXCPP $CPPFLAGS'
22027 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22028 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22029 cross_compiling=$ac_cv_prog_cxx_cross
22031 cat > conftest.$ac_ext <<EOF
22032 #line 22033 "configure"
22033 #include "confdefs.h"
22034 #include <stdlib.h>
22039 if { (eval echo configure:22040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22041 glibcpp_cv_func_setenv_use=yes
22043 echo "configure: failed program was:" >&5
22044 cat conftest.$ac_ext >&5
22046 glibcpp_cv_func_setenv_use=no
22050 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22051 ac_cpp='$CPP $CPPFLAGS'
22052 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22053 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22054 cross_compiling=$ac_cv_prog_cc_cross
22060 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22061 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22062 for ac_func in setenv
22064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22065 echo "configure:22066: checking for $ac_func" >&5
22066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22067 echo $ac_n "(cached) $ac_c" 1>&6
22069 cat > conftest.$ac_ext <<EOF
22070 #line 22071 "configure"
22071 #include "confdefs.h"
22072 /* System header to define __stub macros and hopefully few prototypes,
22073 which can conflict with char $ac_func(); below. */
22074 #include <assert.h>
22075 /* Override any gcc2 internal prototype to avoid an error. */
22076 /* We use char because int might match the return type of a gcc2
22077 builtin and then its argument prototype would still apply. */
22082 /* The GNU C library defines this for functions which it implements
22083 to always fail with ENOSYS. Some functions are actually named
22084 something starting with __ and the normal name is an alias. */
22085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22093 if { (eval echo configure:22094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22095 eval "ac_cv_func_$ac_func=yes"
22097 echo "configure: failed program was:" >&5
22098 cat conftest.$ac_ext >&5
22100 eval "ac_cv_func_$ac_func=no"
22105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22106 echo "$ac_t""yes" 1>&6
22107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22108 cat >> confdefs.h <<EOF
22109 #define $ac_tr_func 1
22113 echo "$ac_t""no" 1>&6
22122 # This depends on the possibly-skipped linker test above.
22123 # Check whether --enable-symvers or --disable-symvers was given.
22124 if test "${enable_symvers+set}" = set; then
22125 enableval="$enable_symvers"
22126 case "$enableval" in
22127 yes) enable_symvers=yes ;;
22128 no) enable_symvers=no ;;
22129 # other names here, just as sanity checks
22130 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22131 gnu) enable_symvers=$enableval ;;
22132 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22138 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22139 # don't know enough about $LD to do tricks...
22140 if test x$enable_shared = xno ||
22142 test x$glibcpp_gnu_ld_version = x; then
22146 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22147 if test $enable_symvers != no; then
22148 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22149 echo "configure:22150: checking for shared libgcc" >&5
22150 ac_save_CFLAGS="$CFLAGS"
22152 cat > conftest.$ac_ext <<EOF
22153 #line 22154 "configure"
22154 #include "confdefs.h"
22160 if { (eval echo configure:22161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22162 glibcpp_shared_libgcc=yes
22164 echo "configure: failed program was:" >&5
22165 cat conftest.$ac_ext >&5
22167 glibcpp_shared_libgcc=no
22170 CFLAGS="$ac_save_CFLAGS"
22171 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22174 # For GNU ld, we need at least this version. It's 2.12 in the same format
22175 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22176 glibcpp_min_gnu_ld_version=21200
22178 # Check to see if unspecified "yes" value can win, given results
22180 if test $enable_symvers = yes ; then
22181 if test $with_gnu_ld = yes &&
22182 test $glibcpp_shared_libgcc = yes ;
22184 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22187 ac_test_CFLAGS="${CFLAGS+set}"
22188 ac_save_CFLAGS="$CFLAGS"
22189 CFLAGS='-shared -Wl,--version-script,conftest.map'
22192 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22194 cat > conftest.$ac_ext <<EOF
22195 #line 22196 "configure"
22196 #include "confdefs.h"
22202 if { (eval echo configure:22203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22206 echo "configure: failed program was:" >&5
22207 cat conftest.$ac_ext >&5
22210 if test "$ac_test_CFLAGS" = set; then
22211 CFLAGS="$ac_save_CFLAGS"
22213 # this is the suspicious part
22219 # just fail for now
22224 case $enable_symvers in
22226 LINKER_MAP=config/linker-map.dummy
22229 LINKER_MAP=config/linker-map.gnu
22236 if test $enable_symvers != no; then
22237 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22238 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22240 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22241 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22243 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22244 echo "configure:22245: checking versioning on shared library symbols" >&5
22245 echo "$ac_t""$enable_symvers" 1>&6
22248 # Propagate the target-specific source directories through the build chain.
22249 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22250 # CPULIMITSH [might] use it, and they only get used here.)
22251 OS_INC_SRCDIR=config/${os_include_dir}
22252 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22253 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22258 # Set up cross-compile flags
22261 if test "$CANADIAN" = yes; then
22269 cat > confcache <<\EOF
22270 # This file is a shell script that caches the results of configure
22271 # tests run on this system so they can be shared between configure
22272 # scripts and configure runs. It is not useful on other systems.
22273 # If it contains results you don't want to keep, you may remove or edit it.
22275 # By default, configure uses ./config.cache as the cache file,
22276 # creating it if it does not exist already. You can give configure
22277 # the --cache-file=FILE option to use a different cache file; that is
22278 # what configure does when it calls configure scripts in
22279 # subdirectories, so they share the cache.
22280 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22281 # config.status only pays attention to the cache file if you give it the
22282 # --recheck option to rerun configure.
22285 # The following way of writing the cache mishandles newlines in values,
22286 # but we know of no workaround that is simple, portable, and efficient.
22287 # So, don't put newlines in cache variables' values.
22288 # Ultrix sh set writes to stderr and can't be redirected directly,
22289 # and sets the high bit in the cache file unless we assign to the vars.
22291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22293 # `set' does not quote correctly, so add quotes (double-quote substitution
22294 # turns \\\\ into \\, and sed turns \\ into \).
22296 -e "s/'/'\\\\''/g" \
22297 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22300 # `set' quotes correctly as required by POSIX, so do not add quotes.
22301 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22304 if cmp -s $cache_file confcache; then
22307 if test -w $cache_file; then
22308 echo "updating cache $cache_file"
22309 cat confcache > $cache_file
22311 echo "not updating unwritable cache $cache_file"
22317 if test "${multilib}" = "yes"; then
22318 multilib_arg="--enable-multilib"
22323 # Needed so that g++ can find the correct include subdir automatically.
22326 # Export all the install information
22328 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22329 # exported correctly in GLIBCPP_CONFIGURE.
22330 glibcpp_toolexecdir=no
22331 glibcpp_toolexeclibdir=no
22332 glibcpp_prefixdir=${prefix}
22334 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
22335 echo "configure:22336: checking for interface version number" >&5
22336 libstdcxx_interface=$INTERFACE
22337 echo "$ac_t""$libstdcxx_interface" 1>&6
22339 # Process the option --with-gxx-include-dir=<path to include-files directory>
22340 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22341 echo "configure:22342: checking for --with-gxx-include-dir" >&5
22342 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22343 if test "${with_gxx_include_dir+set}" = set; then
22344 withval="$with_gxx_include_dir"
22345 case "${withval}" in
22347 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22354 gxx_include_dir=${withval}
22361 echo "$ac_t""$gxx_include_dir" 1>&6
22363 # Process the option "--enable-version-specific-runtime-libs"
22364 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22365 echo "configure:22366: checking for --enable-version-specific-runtime-libs" >&5
22366 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22367 if test "${enable_version_specific_runtime_libs+set}" = set; then
22368 enableval="$enable_version_specific_runtime_libs"
22369 case "$enableval" in
22370 yes) version_specific_libs=yes ;;
22371 no) version_specific_libs=no ;;
22372 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22375 version_specific_libs=no
22377 # Option set, now we can test it.
22378 echo "$ac_t""$version_specific_libs" 1>&6
22380 if test $version_specific_libs = yes; then
22381 # Need the gcc compiler version to know where to install libraries
22382 # and header files if --enable-version-specific-runtime-libs option
22384 gcc_version_trigger=${srcdir}/../gcc/version.c
22385 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
22386 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
22387 if test x"$gxx_include_dir" = x"no"; then
22388 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
22390 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22391 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22394 # Default case for install directory for include files.
22395 if test $version_specific_libs = no &&
22396 test $gxx_include_dir = no; then
22397 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
22400 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22401 # Install a library built with a cross compiler in tooldir, not libdir.
22402 if test x"$glibcpp_toolexecdir" = x"no"; then
22403 if test -n "$with_cross_host" &&
22404 test x"$with_cross_host" != x"no"; then
22405 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22406 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22408 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22409 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22413 echo $ac_n "checking for install location""... $ac_c" 1>&6
22414 echo "configure:22415: checking for install location" >&5
22415 echo "$ac_t""$gxx_include_dir" 1>&6
22423 # Export all the include and flag information to makefiles.
22425 # Root level of the build directory include sources.
22426 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22428 # Passed down for canadian crosses.
22429 if test x"$CANADIAN" = xyes; then
22430 TOPLEVEL_INCLUDES='-I$(includedir)'
22433 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22435 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22437 if test x"$need_libio" = xyes; then
22438 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22442 # Now, export this to all the little Makefiles....
22449 # Optimization flags that are probably a good idea for thrill-seekers. Just
22450 # uncomment the lines below and make, everything else is ready to go...
22451 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22455 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22459 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22460 grep "enable shared" > /dev/null; then
22461 LIBSUPCXX_PICFLAGS=-prefer-pic
22463 LIBSUPCXX_PICFLAGS=
22467 # Generate the various Makefiles, include files, and scripts.
22468 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22469 # and libsupc++/Makefile.am so that multilib installs will end up
22470 # installed in the correct place. To work around this not being passed
22471 # down from config-ml.in -> top_srcdir/Makefile.am ->
22472 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22474 cat > confcache <<\EOF
22475 # This file is a shell script that caches the results of configure
22476 # tests run on this system so they can be shared between configure
22477 # scripts and configure runs. It is not useful on other systems.
22478 # If it contains results you don't want to keep, you may remove or edit it.
22480 # By default, configure uses ./config.cache as the cache file,
22481 # creating it if it does not exist already. You can give configure
22482 # the --cache-file=FILE option to use a different cache file; that is
22483 # what configure does when it calls configure scripts in
22484 # subdirectories, so they share the cache.
22485 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22486 # config.status only pays attention to the cache file if you give it the
22487 # --recheck option to rerun configure.
22490 # The following way of writing the cache mishandles newlines in values,
22491 # but we know of no workaround that is simple, portable, and efficient.
22492 # So, don't put newlines in cache variables' values.
22493 # Ultrix sh set writes to stderr and can't be redirected directly,
22494 # and sets the high bit in the cache file unless we assign to the vars.
22496 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22498 # `set' does not quote correctly, so add quotes (double-quote substitution
22499 # turns \\\\ into \\, and sed turns \\ into \).
22501 -e "s/'/'\\\\''/g" \
22502 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22505 # `set' quotes correctly as required by POSIX, so do not add quotes.
22506 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22509 if cmp -s $cache_file confcache; then
22512 if test -w $cache_file; then
22513 echo "updating cache $cache_file"
22514 cat confcache > $cache_file
22516 echo "not updating unwritable cache $cache_file"
22521 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22523 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22524 # Let make expand exec_prefix.
22525 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22527 # Any assignment to VPATH causes Sun make to only execute
22528 # the first set of double-colon rules, so remove it if not needed.
22529 # If there is a colon in the path, we need to keep it.
22530 if test "x$srcdir" = x.; then
22531 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22534 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22536 DEFS=-DHAVE_CONFIG_H
22538 # Without the "./", some shells look in PATH for config.status.
22539 : ${CONFIG_STATUS=./config.status}
22541 echo creating $CONFIG_STATUS
22542 rm -f $CONFIG_STATUS
22543 cat > $CONFIG_STATUS <<EOF
22545 # Generated automatically by configure.
22546 # Run this file to recreate the current configuration.
22547 # This directory was configured as follows,
22548 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22550 # $0 $ac_configure_args
22552 # Compiler output produced by configure, useful for debugging
22553 # configure, is in ./config.log if it exists.
22555 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22558 case "\$ac_option" in
22559 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22560 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22561 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22562 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22563 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22565 -help | --help | --hel | --he | --h)
22566 echo "\$ac_cs_usage"; exit 0 ;;
22567 *) echo "\$ac_cs_usage"; exit 1 ;;
22571 ac_given_srcdir=$srcdir
22572 ac_given_INSTALL="$INSTALL"
22574 trap 'rm -fr `echo "Makefile \
22575 include/Makefile src/Makefile \
22576 libmath/Makefile libio/Makefile libsupc++/Makefile \
22577 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22579 cat >> $CONFIG_STATUS <<EOF
22581 # Protect against being on the right side of a sed subst in config.status.
22582 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22583 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22587 s%@CFLAGS@%$CFLAGS%g
22588 s%@CPPFLAGS@%$CPPFLAGS%g
22589 s%@CXXFLAGS@%$CXXFLAGS%g
22590 s%@FFLAGS@%$FFLAGS%g
22592 s%@LDFLAGS@%$LDFLAGS%g
22594 s%@exec_prefix@%$exec_prefix%g
22595 s%@prefix@%$prefix%g
22596 s%@program_transform_name@%$program_transform_name%g
22597 s%@bindir@%$bindir%g
22598 s%@sbindir@%$sbindir%g
22599 s%@libexecdir@%$libexecdir%g
22600 s%@datadir@%$datadir%g
22601 s%@sysconfdir@%$sysconfdir%g
22602 s%@sharedstatedir@%$sharedstatedir%g
22603 s%@localstatedir@%$localstatedir%g
22604 s%@libdir@%$libdir%g
22605 s%@includedir@%$includedir%g
22606 s%@oldincludedir@%$oldincludedir%g
22607 s%@infodir@%$infodir%g
22608 s%@mandir@%$mandir%g
22609 s%@PACKAGE@%$PACKAGE%g
22610 s%@release_VERSION@%$release_VERSION%g
22611 s%@libtool_VERSION@%$libtool_VERSION%g
22612 s%@toplevel_srcdir@%$toplevel_srcdir%g
22614 s%@host_alias@%$host_alias%g
22615 s%@host_cpu@%$host_cpu%g
22616 s%@host_vendor@%$host_vendor%g
22617 s%@host_os@%$host_os%g
22618 s%@target@%$target%g
22619 s%@target_alias@%$target_alias%g
22620 s%@target_cpu@%$target_cpu%g
22621 s%@target_vendor@%$target_vendor%g
22622 s%@target_os@%$target_os%g
22624 s%@build_alias@%$build_alias%g
22625 s%@build_cpu@%$build_cpu%g
22626 s%@build_vendor@%$build_vendor%g
22627 s%@build_os@%$build_os%g
22628 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22629 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22630 s%@INSTALL_DATA@%$INSTALL_DATA%g
22631 s%@VERSION@%$VERSION%g
22632 s%@ACLOCAL@%$ACLOCAL%g
22633 s%@AUTOCONF@%$AUTOCONF%g
22634 s%@AUTOMAKE@%$AUTOMAKE%g
22635 s%@AUTOHEADER@%$AUTOHEADER%g
22636 s%@MAKEINFO@%$MAKEINFO%g
22637 s%@SET_MAKE@%$SET_MAKE%g
22638 s%@glibcpp_builddir@%$glibcpp_builddir%g
22639 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22642 s%@glibcpp_basedir@%$glibcpp_basedir%g
22644 s%@glibcpp_CXX@%$glibcpp_CXX%g
22647 s%@RANLIB@%$RANLIB%g
22648 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22649 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22651 s%@EXEEXT@%$EXEEXT%g
22652 s%@OBJEXT@%$OBJEXT%g
22654 s%@LIBTOOL@%$LIBTOOL%g
22655 s%@CXXCPP@%$CXXCPP%g
22656 s%@enable_shared@%$enable_shared%g
22657 s%@enable_static@%$enable_static%g
22658 s%@ifGNUmake@%$ifGNUmake%g
22659 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22661 s%@CSTDIO_H@%$CSTDIO_H%g
22662 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22663 s%@CCODECVT_C@%$CCODECVT_C%g
22664 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22665 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22666 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22667 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22668 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22669 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22670 s%@libio_la@%$libio_la%g
22671 s%@check_msgfmt@%$check_msgfmt%g
22672 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22673 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22674 s%@glibcpp_localedir@%$glibcpp_localedir%g
22675 s%@USE_NLS@%$USE_NLS%g
22676 s%@CLOCALE_H@%$CLOCALE_H%g
22677 s%@CCODECVT_H@%$CCODECVT_H%g
22678 s%@CMESSAGES_H@%$CMESSAGES_H%g
22679 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22680 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22681 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22682 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22683 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22684 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22685 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22686 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22687 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22688 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22689 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22690 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22691 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22692 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22693 s%@WERROR@%$WERROR%g
22694 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22695 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22696 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22697 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22698 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22699 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22700 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22701 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22702 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22703 s%@gxx_include_dir@%$gxx_include_dir%g
22704 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22705 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22706 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22707 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22708 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22709 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22710 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22711 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22712 s%@WARN_FLAGS@%$WARN_FLAGS%g
22713 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22718 cat >> $CONFIG_STATUS <<\EOF
22720 # Split the substitutions into bite-sized pieces for seds with
22721 # small command number limits, like on Digital OSF/1 and HP-UX.
22722 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22723 ac_file=1 # Number of current file.
22724 ac_beg=1 # First line for current file.
22725 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22728 while $ac_more_lines; do
22729 if test $ac_beg -gt 1; then
22730 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22732 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22734 if test ! -s conftest.s$ac_file; then
22735 ac_more_lines=false
22736 rm -f conftest.s$ac_file
22738 if test -z "$ac_sed_cmds"; then
22739 ac_sed_cmds="sed -f conftest.s$ac_file"
22741 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22743 ac_file=`expr $ac_file + 1`
22745 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22748 if test -z "$ac_sed_cmds"; then
22753 cat >> $CONFIG_STATUS <<EOF
22755 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22756 include/Makefile src/Makefile \
22757 libmath/Makefile libio/Makefile libsupc++/Makefile \
22758 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22760 cat >> $CONFIG_STATUS <<\EOF
22761 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22762 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22764 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22765 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22766 *) ac_file_in="${ac_file}.in" ;;
22769 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22771 # Remove last slash and all that follows it. Not all systems have dirname.
22772 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22773 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22774 # The file is in a subdirectory.
22775 test ! -d "$ac_dir" && mkdir "$ac_dir"
22776 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22777 # A "../" for each directory in $ac_dir_suffix.
22778 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22780 ac_dir_suffix= ac_dots=
22783 case "$ac_given_srcdir" in
22785 if test -z "$ac_dots"; then top_srcdir=.
22786 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22787 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22788 *) # Relative path.
22789 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22790 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22793 case "$ac_given_INSTALL" in
22794 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22795 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22798 echo creating "$ac_file"
22800 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22802 *Makefile*) ac_comsub="1i\\
22803 # $configure_input" ;;
22807 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22809 s%@configure_input@%$configure_input%g
22810 s%@srcdir@%$srcdir%g
22811 s%@top_srcdir@%$top_srcdir%g
22812 s%@INSTALL@%$INSTALL%g
22813 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22817 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22818 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22820 # ac_d sets the value in "#define NAME VALUE" lines.
22821 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22822 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22825 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22826 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22827 ac_uB='\([ ]\)%\1#\2define\3'
22830 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22831 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22832 ac_eB='$%\1#\2define\3'
22836 if test "${CONFIG_HEADERS+set}" != set; then
22838 cat >> $CONFIG_STATUS <<EOF
22839 CONFIG_HEADERS="config.h"
22841 cat >> $CONFIG_STATUS <<\EOF
22843 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22844 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22846 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22847 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22848 *) ac_file_in="${ac_file}.in" ;;
22851 echo creating $ac_file
22853 rm -f conftest.frag conftest.in conftest.out
22854 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22855 cat $ac_file_inputs > conftest.in
22859 # Transform confdefs.h into a sed script conftest.vals that substitutes
22860 # the proper values into config.h.in to produce config.h. And first:
22861 # Protect against being on the right side of a sed subst in config.status.
22862 # Protect against being in an unquoted here document in config.status.
22863 rm -f conftest.vals
22864 cat > conftest.hdr <<\EOF
22867 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22871 sed -n -f conftest.hdr confdefs.h > conftest.vals
22874 # This sed command replaces #undef with comments. This is necessary, for
22875 # example, in the case of _POSIX_SOURCE, which is predefined and required
22876 # on some systems where configure will not decide to define it.
22877 cat >> conftest.vals <<\EOF
22878 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22881 # Break up conftest.vals because some shells have a limit on
22882 # the size of here documents, and old seds have small limits too.
22884 rm -f conftest.tail
22887 ac_lines=`grep -c . conftest.vals`
22888 # grep -c gives empty output for an empty file on some AIX systems.
22889 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22890 # Write a limited-size here document to conftest.frag.
22891 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22892 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22894 sed -f conftest.frag conftest.in > conftest.out
22896 mv conftest.out conftest.in
22897 ' >> $CONFIG_STATUS
22898 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22899 rm -f conftest.vals
22900 mv conftest.tail conftest.vals
22902 rm -f conftest.vals
22904 cat >> $CONFIG_STATUS <<\EOF
22905 rm -f conftest.frag conftest.h
22906 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22907 cat conftest.in >> conftest.h
22909 if cmp -s $ac_file conftest.h 2>/dev/null; then
22910 echo "$ac_file is unchanged"
22913 # Remove last slash and all that follows it. Not all systems have dirname.
22914 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22915 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22916 # The file is in a subdirectory.
22917 test ! -d "$ac_dir" && mkdir "$ac_dir"
22920 mv conftest.h $ac_file
22926 cat >> $CONFIG_STATUS <<EOF
22927 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22928 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"
22931 cat >> $CONFIG_STATUS <<\EOF
22932 srcdir=$ac_given_srcdir
22933 while test -n "$ac_sources"; do
22934 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22935 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22937 echo "linking $srcdir/$ac_source to $ac_dest"
22939 if test ! -r $srcdir/$ac_source; then
22940 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22944 # Make relative symlinks.
22945 # Remove last slash and all that follows it. Not all systems have dirname.
22946 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22947 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22948 # The dest file is in a subdirectory.
22949 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22950 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22951 # A "../" for each directory in $ac_dest_dir_suffix.
22952 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22954 ac_dest_dir_suffix= ac_dots=
22958 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22959 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22962 # Make a symlink if possible; otherwise try a hard link.
22963 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22964 ln $srcdir/$ac_source $ac_dest; then :
22966 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22970 cat >> $CONFIG_STATUS <<EOF
22975 with_multisubdir=${with_multisubdir}
22976 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22977 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22978 glibcpp_basedir=${glibcpp_basedir}
22983 cat >> $CONFIG_STATUS <<\EOF
22984 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22985 if test -n "$CONFIG_FILES"; then
22986 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22987 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22988 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22989 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22992 chmod +x testsuite_flags
22996 chmod +x $CONFIG_STATUS
22997 rm -fr confdefs* $ac_clean_files
22998 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23002 # Sanity checking & User-visible messages.
23003 # Checks down here, otherwise they get scrolled off before
23004 # the user will notice.
23006 # Trying to get more people to read documentation. Possibly remove
23007 # check and warn all the time. There is no "informational" AC_MSG_
23008 # macro, so these are going to be printed even when --quiet/--silent
23010 if test ! -f stamp-sanity-warned; then
23011 touch stamp-sanity-warned
23013 echo "Please make certain that you read the installation information here:"
23014 echo " faster => ${srcdir}/docs/html/install.html"
23015 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
23017 echo "and the configuration information here:"
23018 echo " faster => ${srcdir}/docs/html/configopts.html"
23019 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
23021 echo "before proceeding with ${_cv_gnu_make_command}."