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 libtool versioning info, format is CURRENT:REVISION:AGE
591 libtool_VERSION=5:1:0
595 # Check whether --enable-multilib or --disable-multilib was given.
596 if test "${enable_multilib+set}" = set; then
597 enableval="$enable_multilib"
598 case "${enableval}" in
601 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
607 # When building with srcdir == objdir, links to the source files will
608 # be created in directories within the target_subdir. We have to
609 # adjust toplevel_srcdir accordingly, so that configure finds
610 # install-sh and other auxiliary files that live in the top-level
612 if test "${srcdir}" = "."; then
613 if test -z "${with_target_subdir}"; then
616 if test "${with_target_subdir}" != "."; then
617 toprel="${with_multisrctop}../.."
619 toprel="${with_multisrctop}.."
626 for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
627 if test -f $ac_dir/install-sh; then
629 ac_install_sh="$ac_aux_dir/install-sh -c"
631 elif test -f $ac_dir/install.sh; then
633 ac_install_sh="$ac_aux_dir/install.sh -c"
637 if test -z "$ac_aux_dir"; then
638 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
640 ac_config_guess=$ac_aux_dir/config.guess
641 ac_config_sub=$ac_aux_dir/config.sub
642 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
644 toplevel_srcdir=\${top_srcdir}/$toprel
648 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
650 # You will slowly go insane if you do not grok the following fact: when
651 # building v3 as part of the compiler, the top-level /target/ becomes the
652 # library's /host/. `configure' then causes --target to default to --host,
653 # exactly like any other package using autoconf. Therefore, 'target' and
654 # 'host' will always be the same. This makes sense both for native and
655 # cross compilers, just think about it for a little while. :-)
657 # Also, if v3 is being configured as part of a cross compiler, the top-level
658 # configure script will pass the "real" host as $with_cross_host.
660 # AC 2.5x sets target_alias iff the user specified --target, but we use it
661 # everywhere, so we set it here just to be sure. In AC 2.13
662 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
664 # Do some error checking and defaulting for the host and target type.
666 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
669 # 1. You are not allowed to specify --host, --target, and nonopt at the
671 # 2. Host defaults to nonopt.
672 # 3. If nonopt is not specified, then host defaults to the current host,
673 # as determined by config.guess.
674 # 4. Target and build default to nonopt.
675 # 5. If nonopt is not specified, then target and build default to host.
677 # The aliases save the names the user supplied, while $host etc.
678 # will get canonicalized.
679 case $host---$target---$nonopt in
680 NONE---*---* | *---NONE---* | *---*---NONE) ;;
681 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
685 # Make sure we can run config.sub.
686 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
687 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
690 echo $ac_n "checking host system type""... $ac_c" 1>&6
691 echo "configure:692: checking host system type" >&5
694 case "$host_alias" in
698 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
699 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
701 *) host_alias=$nonopt ;;
705 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
706 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
707 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
708 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
709 echo "$ac_t""$host" 1>&6
711 echo $ac_n "checking target system type""... $ac_c" 1>&6
712 echo "configure:713: checking target system type" >&5
715 case "$target_alias" in
718 NONE) target_alias=$host_alias ;;
719 *) target_alias=$nonopt ;;
723 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
724 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
725 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
726 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
727 echo "$ac_t""$target" 1>&6
729 echo $ac_n "checking build system type""... $ac_c" 1>&6
730 echo "configure:731: checking build system type" >&5
733 case "$build_alias" in
736 NONE) build_alias=$host_alias ;;
737 *) build_alias=$nonopt ;;
741 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
742 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
743 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
744 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
745 echo "$ac_t""$build" 1>&6
747 test "$host_alias" != "$target_alias" &&
748 test "$program_prefix$program_suffix$program_transform_name" = \
750 program_prefix=${target_alias}-
752 target_alias=${target_alias-$target}
755 # Runs configure.target, finds CC, CXX and assorted other critical bits.
756 # Must run this before the GLIBCPP_ENABLE_* macros below.
757 if test $host != $build; then
758 ac_tool_prefix=${host_alias}-
763 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
764 echo "configure:765: checking for Cygwin environment" >&5
765 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
766 echo $ac_n "(cached) $ac_c" 1>&6
768 cat > conftest.$ac_ext <<EOF
769 #line 770 "configure"
770 #include "confdefs.h"
775 #define __CYGWIN__ __CYGWIN32__
780 if { (eval echo configure:781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
784 echo "configure: failed program was:" >&5
785 cat conftest.$ac_ext >&5
793 echo "$ac_t""$ac_cv_cygwin" 1>&6
795 test "$ac_cv_cygwin" = yes && CYGWIN=yes
796 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
797 echo "configure:798: checking for mingw32 environment" >&5
798 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
799 echo $ac_n "(cached) $ac_c" 1>&6
801 cat > conftest.$ac_ext <<EOF
802 #line 803 "configure"
803 #include "confdefs.h"
809 if { (eval echo configure:810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
813 echo "configure: failed program was:" >&5
814 cat conftest.$ac_ext >&5
822 echo "$ac_t""$ac_cv_mingw32" 1>&6
824 test "$ac_cv_mingw32" = yes && MINGW32=yes
827 #possibly test for the presence of the compiler sources here?
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in gawk mawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
848 echo "configure:849: checking for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
882 echo "configure:883: checking whether ln -s works" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
969 echo "configure:970: checking for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether ${CC-cc} accepts -g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1085 echo "configure:1086: checking for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1117 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1120 echo "configure:1121: checking whether we are using GNU C++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1144 echo "configure:1145: checking whether ${CXX-g++} accepts -g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1174 echo "configure:1175: checking for GCC version number" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1181 echo "configure:1182: checking for strerror in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure"
1190 #include "confdefs.h"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_$ac_lib_var=yes"
1204 echo "configure: failed program was:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_$ac_lib_var=no"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1226 echo "configure:1227: checking for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1258 echo "configure:1259: checking for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1290 echo "configure:1291: checking for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1322 echo "configure:1323: checking for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1366 echo "configure:1367: checking for a BSD compatible install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1420 echo "configure:1421: checking whether to enable maintainer-specific portions of Makefiles" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1458 echo "configure:1459: checking for executable suffix" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1504 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1505 echo "configure:1506: checking whether build environment is sane" >&5
1508 echo timestamp > conftestfile
1509 # Do `set' in a subshell so we don't clobber the current shell's
1510 # arguments. Must try -L first in case configure is actually a
1511 # symlink; some systems play weird games with the mod time of symlinks
1512 # (eg FreeBSD returns the mod time of the symlink's containing
1515 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1516 if test "$*" = "X"; then
1518 set X `ls -t $srcdir/configure conftestfile`
1520 if test "$*" != "X $srcdir/configure conftestfile" \
1521 && test "$*" != "X conftestfile $srcdir/configure"; then
1523 # If neither matched, then we have a broken ls. This can happen
1524 # if, for instance, CONFIG_SHELL is bash and it inherits a
1525 # broken ls alias from the environment. This has actually
1526 # happened. Such a system could not be considered "sane".
1527 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment" 1>&2; exit 1; }
1531 test "$2" = conftestfile
1537 { echo "configure: error: newly created file is older than distributed files!
1538 Check your system clock" 1>&2; exit 1; }
1541 echo "$ac_t""yes" 1>&6
1542 if test "$program_transform_name" = s,x,x,; then
1543 program_transform_name=
1545 # Double any \ or $. echo might interpret backslashes.
1546 cat <<\EOF_SED > conftestsed
1547 s,\\,\\\\,g; s,\$,$$,g
1549 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1552 test "$program_prefix" != NONE &&
1553 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1554 # Use a double $ so make ignores it.
1555 test "$program_suffix" != NONE &&
1556 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1558 # sed with no file args requires a program.
1559 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1561 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether ${MAKE-make} sets \${MAKE}" >&5
1563 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1564 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1565 echo $ac_n "(cached) $ac_c" 1>&6
1567 cat > conftestmake <<\EOF
1569 @echo 'ac_maketemp="${MAKE}"'
1571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1572 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1573 if test -n "$ac_maketemp"; then
1574 eval ac_cv_prog_make_${ac_make}_set=yes
1576 eval ac_cv_prog_make_${ac_make}_set=no
1580 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1581 echo "$ac_t""yes" 1>&6
1584 echo "$ac_t""no" 1>&6
1585 SET_MAKE="MAKE=${MAKE-make}"
1591 VERSION=$gcc_version
1593 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1594 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1596 cat >> confdefs.h <<EOF
1597 #define PACKAGE "$PACKAGE"
1600 cat >> confdefs.h <<EOF
1601 #define VERSION "$VERSION"
1606 missing_dir=`cd $ac_aux_dir && pwd`
1607 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1608 echo "configure:1609: checking for working aclocal" >&5
1609 # Run test in a subshell; some versions of sh will print an error if
1610 # an executable is not found, even if stderr is redirected.
1611 # Redirect stdin to placate older versions of autoconf. Sigh.
1612 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1614 echo "$ac_t""found" 1>&6
1616 ACLOCAL="$missing_dir/missing aclocal"
1617 echo "$ac_t""missing" 1>&6
1620 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1621 echo "configure:1622: checking for working autoconf" >&5
1622 # Run test in a subshell; some versions of sh will print an error if
1623 # an executable is not found, even if stderr is redirected.
1624 # Redirect stdin to placate older versions of autoconf. Sigh.
1625 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1627 echo "$ac_t""found" 1>&6
1629 AUTOCONF="$missing_dir/missing autoconf"
1630 echo "$ac_t""missing" 1>&6
1633 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1634 echo "configure:1635: checking for working automake" >&5
1635 # Run test in a subshell; some versions of sh will print an error if
1636 # an executable is not found, even if stderr is redirected.
1637 # Redirect stdin to placate older versions of autoconf. Sigh.
1638 if (automake --version) < /dev/null > /dev/null 2>&1; then
1640 echo "$ac_t""found" 1>&6
1642 AUTOMAKE="$missing_dir/missing automake"
1643 echo "$ac_t""missing" 1>&6
1646 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1647 echo "configure:1648: checking for working autoheader" >&5
1648 # Run test in a subshell; some versions of sh will print an error if
1649 # an executable is not found, even if stderr is redirected.
1650 # Redirect stdin to placate older versions of autoconf. Sigh.
1651 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1652 AUTOHEADER=autoheader
1653 echo "$ac_t""found" 1>&6
1655 AUTOHEADER="$missing_dir/missing autoheader"
1656 echo "$ac_t""missing" 1>&6
1659 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1660 echo "configure:1661: checking for working makeinfo" >&5
1661 # Run test in a subshell; some versions of sh will print an error if
1662 # an executable is not found, even if stderr is redirected.
1663 # Redirect stdin to placate older versions of autoconf. Sigh.
1664 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1666 echo "$ac_t""found" 1>&6
1668 MAKEINFO="$missing_dir/missing makeinfo"
1669 echo "$ac_t""missing" 1>&6
1678 # Check whether --enable-shared or --disable-shared was given.
1679 if test "${enable_shared+set}" = set; then
1680 enableval="$enable_shared"
1681 p=${PACKAGE-default}
1683 yes) enable_shared=yes ;;
1684 no) enable_shared=no ;;
1687 # Look at the argument we got. We use all the common list separators.
1688 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1689 for pkg in $enableval; do
1690 if test "X$pkg" = "X$p"; then
1701 # Check whether --enable-static or --disable-static was given.
1702 if test "${enable_static+set}" = set; then
1703 enableval="$enable_static"
1704 p=${PACKAGE-default}
1706 yes) enable_static=yes ;;
1707 no) enable_static=no ;;
1710 # Look at the argument we got. We use all the common list separators.
1711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1712 for pkg in $enableval; do
1713 if test "X$pkg" = "X$p"; then
1724 # Check whether --enable-fast-install or --disable-fast-install was given.
1725 if test "${enable_fast_install+set}" = set; then
1726 enableval="$enable_fast_install"
1727 p=${PACKAGE-default}
1729 yes) enable_fast_install=yes ;;
1730 no) enable_fast_install=no ;;
1732 enable_fast_install=no
1733 # Look at the argument we got. We use all the common list separators.
1734 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1735 for pkg in $enableval; do
1736 if test "X$pkg" = "X$p"; then
1737 enable_fast_install=yes
1744 enable_fast_install=yes
1747 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1748 if test "${with_gnu_ld+set}" = set; then
1749 withval="$with_gnu_ld"
1750 test "$withval" = no || with_gnu_ld=yes
1756 if test "$GCC" = yes; then
1757 # Check if gcc -print-prog-name=ld gives a path.
1758 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1759 echo "configure:1760: checking for ld used by GCC" >&5
1762 # gcc leaves a trailing carriage return which upsets mingw
1763 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1765 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1768 # Accept absolute paths.
1769 [\\/]* | [A-Za-z]:[\\/]*)
1770 re_direlt='/[^/][^/]*/\.\./'
1771 # Canonicalize the path of ld
1772 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1773 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1774 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1776 test -z "$LD" && LD="$ac_prog"
1779 # If it fails, then pretend we aren't using GCC.
1783 # If it is relative, then search for the first ld in PATH.
1787 elif test "$with_gnu_ld" = yes; then
1788 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1789 echo "configure:1790: checking for GNU ld" >&5
1791 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1792 echo "configure:1793: checking for non-GNU ld" >&5
1794 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1795 echo $ac_n "(cached) $ac_c" 1>&6
1797 if test -z "$LD"; then
1798 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1799 for ac_dir in $PATH; do
1800 test -z "$ac_dir" && ac_dir=.
1801 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1802 lt_cv_path_LD="$ac_dir/$ac_prog"
1803 # Check to see if the program is GNU ld. I'd rather use --version,
1804 # but apparently some GNU ld's only accept -v.
1805 # Break only if it was the GNU/non-GNU ld that we prefer.
1806 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1807 test "$with_gnu_ld" != no && break
1809 test "$with_gnu_ld" != yes && break
1815 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1820 if test -n "$LD"; then
1821 echo "$ac_t""$LD" 1>&6
1823 echo "$ac_t""no" 1>&6
1825 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1826 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1827 echo "configure:1828: checking if the linker ($LD) is GNU ld" >&5
1828 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1829 echo $ac_n "(cached) $ac_c" 1>&6
1831 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1832 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1833 lt_cv_prog_gnu_ld=yes
1835 lt_cv_prog_gnu_ld=no
1839 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1840 with_gnu_ld=$lt_cv_prog_gnu_ld
1843 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1844 echo "configure:1845: checking for $LD option to reload object files" >&5
1845 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 lt_cv_ld_reload_flag='-r'
1851 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1852 reload_flag=$lt_cv_ld_reload_flag
1853 test -n "$reload_flag" && reload_flag=" $reload_flag"
1855 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1856 echo "configure:1857: checking for BSD-compatible nm" >&5
1857 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 if test -n "$NM"; then
1861 # Let the user override the test.
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1865 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1866 test -z "$ac_dir" && ac_dir=.
1867 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1868 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1869 # Check to see if the nm accepts a BSD-compat flag.
1870 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1871 # nm: unknown option "B" ignored
1872 # Tru64's nm complains that /dev/null is an invalid object file
1873 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -B"
1876 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1877 lt_cv_path_NM="$tmp_nm -p"
1880 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1881 continue # so that we can try to find one that supports BSD flags
1886 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1891 echo "$ac_t""$NM" 1>&6
1893 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1894 echo "configure:1895: checking how to recognise dependant libraries" >&5
1895 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 lt_cv_file_magic_cmd='$MAGIC_CMD'
1899 lt_cv_file_magic_test_file=
1900 lt_cv_deplibs_check_method='unknown'
1901 # Need to set the preceding variable on all platforms that support
1902 # interlibrary dependencies.
1903 # 'none' -- dependencies not supported.
1904 # `unknown' -- same as none, but documents that we really don't know.
1905 # 'pass_all' -- all dependencies passed with no checks.
1906 # 'test_compile' -- check by making test program.
1907 # 'file_magic [regex]' -- check by looking for files in library path
1908 # which responds to the $file_magic_cmd with a given egrep regex.
1909 # If you have `file' or equivalent on your system and you're not sure
1910 # whether `pass_all' will *always* work, you probably want this one.
1914 lt_cv_deplibs_check_method=pass_all
1918 lt_cv_deplibs_check_method=pass_all
1922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1923 lt_cv_file_magic_cmd='/usr/bin/file -L'
1924 lt_cv_file_magic_test_file=/shlib/libc.so
1927 cygwin* | mingw* |pw32*)
1928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1929 lt_cv_file_magic_cmd='$OBJDUMP -f'
1932 darwin* | rhapsody*)
1933 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1934 lt_cv_file_magic_cmd='/usr/bin/file -L'
1936 rhapsody* | darwin1.012)
1937 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1940 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1949 # Not sure whether the presence of OpenBSD here was a mistake.
1950 # Let's accept both of them until this is cleared up.
1951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1952 lt_cv_file_magic_cmd=/usr/bin/file
1953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1957 lt_cv_deplibs_check_method=pass_all
1962 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1969 lt_cv_file_magic_cmd=/usr/bin/file
1970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1974 lt_cv_file_magic_cmd=/usr/bin/file
1975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1983 # this will be overridden with pass_all, but let us keep it just in case
1984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1988 *-32|*"-32 ") libmagic=32-bit;;
1989 *-n32|*"-n32 ") libmagic=N32;;
1990 *-64|*"-64 ") libmagic=64-bit;;
1991 *) libmagic=never-match;;
1993 # this will be overridden with pass_all, but let us keep it just in case
1994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1998 lt_cv_deplibs_check_method=pass_all
2001 # This must be Linux ELF.
2004 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2005 lt_cv_deplibs_check_method=pass_all ;;
2007 # glibc up to 2.1.1 does not perform some relocations on ARM
2008 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2010 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2014 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2015 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2017 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2023 lt_cv_file_magic_cmd=/usr/bin/file
2024 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2027 osf3* | osf4* | osf5*)
2028 # this will be overridden with pass_all, but let us keep it just in case
2029 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2030 lt_cv_file_magic_test_file=/shlib/libc.so
2031 lt_cv_deplibs_check_method=pass_all
2035 lt_cv_deplibs_check_method=pass_all
2039 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_file_magic_test_file=/lib/libc.so
2043 sysv5uw[78]* | sysv4*uw2*)
2044 lt_cv_deplibs_check_method=pass_all
2047 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2048 case $host_vendor in
2050 lt_cv_deplibs_check_method=pass_all
2053 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]'
2054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2062 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2063 file_magic_cmd=$lt_cv_file_magic_cmd
2064 deplibs_check_method=$lt_cv_deplibs_check_method
2066 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2067 echo "configure:2068: checking for object suffix" >&5
2068 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2069 echo $ac_n "(cached) $ac_c" 1>&6
2072 echo 'int i = 1;' > conftest.$ac_ext
2073 if { (eval echo configure:2074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2074 for ac_file in conftest.*; do
2077 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2081 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2086 echo "$ac_t""$ac_cv_objext" 1>&6
2087 OBJEXT=$ac_cv_objext
2088 ac_objext=$ac_cv_objext
2090 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2092 # Only perform the check for file, if the check method requires it
2093 case $deplibs_check_method in
2095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2096 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2097 echo "configure:2098: checking for ${ac_tool_prefix}file" >&5
2098 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2099 echo $ac_n "(cached) $ac_c" 1>&6
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2109 ac_save_MAGIC_CMD="$MAGIC_CMD"
2110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2111 ac_dummy="/usr/bin:$PATH"
2112 for ac_dir in $ac_dummy; do
2113 test -z "$ac_dir" && ac_dir=.
2114 if test -f $ac_dir/${ac_tool_prefix}file; then
2115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2116 if test -n "$file_magic_test_file"; then
2117 case $deplibs_check_method in
2119 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2122 egrep "$file_magic_regex" > /dev/null; then
2127 *** Warning: the command libtool uses to detect shared libraries,
2128 *** $file_magic_cmd, produces output that libtool cannot recognize.
2129 *** The result is that libtool may fail to recognize shared libraries
2130 *** as such. This will affect the creation of libtool libraries that
2131 *** depend on shared libraries, but programs linked with such libtool
2132 *** libraries will work regardless of this problem. Nevertheless, you
2133 *** may want to report the problem to your system manager and/or to
2134 *** bug-libtool@gnu.org
2144 MAGIC_CMD="$ac_save_MAGIC_CMD"
2149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2150 if test -n "$MAGIC_CMD"; then
2151 echo "$ac_t""$MAGIC_CMD" 1>&6
2153 echo "$ac_t""no" 1>&6
2156 if test -z "$lt_cv_path_MAGIC_CMD"; then
2157 if test -n "$ac_tool_prefix"; then
2158 echo $ac_n "checking for file""... $ac_c" 1>&6
2159 echo "configure:2160: checking for file" >&5
2160 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2171 ac_save_MAGIC_CMD="$MAGIC_CMD"
2172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2173 ac_dummy="/usr/bin:$PATH"
2174 for ac_dir in $ac_dummy; do
2175 test -z "$ac_dir" && ac_dir=.
2176 if test -f $ac_dir/file; then
2177 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2178 if test -n "$file_magic_test_file"; then
2179 case $deplibs_check_method in
2181 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2182 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2183 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2184 egrep "$file_magic_regex" > /dev/null; then
2189 *** Warning: the command libtool uses to detect shared libraries,
2190 *** $file_magic_cmd, produces output that libtool cannot recognize.
2191 *** The result is that libtool may fail to recognize shared libraries
2192 *** as such. This will affect the creation of libtool libraries that
2193 *** depend on shared libraries, but programs linked with such libtool
2194 *** libraries will work regardless of this problem. Nevertheless, you
2195 *** may want to report the problem to your system manager and/or to
2196 *** bug-libtool@gnu.org
2206 MAGIC_CMD="$ac_save_MAGIC_CMD"
2211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2212 if test -n "$MAGIC_CMD"; then
2213 echo "$ac_t""$MAGIC_CMD" 1>&6
2215 echo "$ac_t""no" 1>&6
2227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 echo "configure:2231: checking for $ac_word" >&5
2231 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2232 echo $ac_n "(cached) $ac_c" 1>&6
2234 if test -n "$RANLIB"; then
2235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2239 for ac_dir in $ac_dummy; do
2240 test -z "$ac_dir" && ac_dir=.
2241 if test -f $ac_dir/$ac_word; then
2242 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2249 RANLIB="$ac_cv_prog_RANLIB"
2250 if test -n "$RANLIB"; then
2251 echo "$ac_t""$RANLIB" 1>&6
2253 echo "$ac_t""no" 1>&6
2257 if test -z "$ac_cv_prog_RANLIB"; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "ranlib", so it can be a program name with args.
2260 set dummy ranlib; ac_word=$2
2261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2262 echo "configure:2263: checking for $ac_word" >&5
2263 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2264 echo $ac_n "(cached) $ac_c" 1>&6
2266 if test -n "$RANLIB"; then
2267 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2269 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2271 for ac_dir in $ac_dummy; do
2272 test -z "$ac_dir" && ac_dir=.
2273 if test -f $ac_dir/$ac_word; then
2274 ac_cv_prog_RANLIB="ranlib"
2279 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2282 RANLIB="$ac_cv_prog_RANLIB"
2283 if test -n "$RANLIB"; then
2284 echo "$ac_t""$RANLIB" 1>&6
2286 echo "$ac_t""no" 1>&6
2294 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2295 set dummy ${ac_tool_prefix}strip; ac_word=$2
2296 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2297 echo "configure:2298: checking for $ac_word" >&5
2298 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2299 echo $ac_n "(cached) $ac_c" 1>&6
2301 if test -n "$STRIP"; then
2302 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2306 for ac_dir in $ac_dummy; do
2307 test -z "$ac_dir" && ac_dir=.
2308 if test -f $ac_dir/$ac_word; then
2309 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2316 STRIP="$ac_cv_prog_STRIP"
2317 if test -n "$STRIP"; then
2318 echo "$ac_t""$STRIP" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 if test -z "$ac_cv_prog_STRIP"; then
2325 if test -n "$ac_tool_prefix"; then
2326 # Extract the first word of "strip", so it can be a program name with args.
2327 set dummy strip; ac_word=$2
2328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2329 echo "configure:2330: checking for $ac_word" >&5
2330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 if test -n "$STRIP"; then
2334 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2336 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2338 for ac_dir in $ac_dummy; do
2339 test -z "$ac_dir" && ac_dir=.
2340 if test -f $ac_dir/$ac_word; then
2341 ac_cv_prog_STRIP="strip"
2346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2349 STRIP="$ac_cv_prog_STRIP"
2350 if test -n "$STRIP"; then
2351 echo "$ac_t""$STRIP" 1>&6
2353 echo "$ac_t""no" 1>&6
2362 # Check for any special flags to pass to ltconfig.
2363 libtool_flags="--cache-file=$cache_file"
2364 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2365 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2366 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2367 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2368 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2369 libtool_flags="$libtool_flags --enable-dlopen"
2371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2372 if test "${enable_libtool_lock+set}" = set; then
2373 enableval="$enable_libtool_lock"
2377 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2378 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2380 # Check whether --with-pic or --without-pic was given.
2381 if test "${with_pic+set}" = set; then
2388 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2389 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2391 # Some flags need to be propagated to the compiler or linker for good
2395 # Find out which ABI we are using.
2396 echo '#line 2397 "configure"' > conftest.$ac_ext
2397 if { (eval echo configure:2398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 case `/usr/bin/file conftest.$ac_objext` in
2414 # Find out which ABI we are using.
2415 echo 'int i;' > conftest.$ac_ext
2416 if { (eval echo configure:2417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2417 case "`/usr/bin/file conftest.o`" in
2430 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2431 SAVE_CFLAGS="$CFLAGS"
2432 CFLAGS="$CFLAGS -belf"
2433 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2434 echo "configure:2435: checking whether the C compiler needs -belf" >&5
2435 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2436 echo $ac_n "(cached) $ac_c" 1>&6
2440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2444 cross_compiling=$ac_cv_prog_cc_cross
2446 cat > conftest.$ac_ext <<EOF
2447 #line 2448 "configure"
2448 #include "confdefs.h"
2454 if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2456 lt_cv_cc_needs_belf=yes
2458 echo "configure: failed program was:" >&5
2459 cat conftest.$ac_ext >&5
2461 lt_cv_cc_needs_belf=no
2465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2466 ac_cpp='$CPP $CPPFLAGS'
2467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2469 cross_compiling=$ac_cv_prog_cc_cross
2473 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2474 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2475 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2476 CFLAGS="$SAVE_CFLAGS"
2483 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2484 echo "configure:2485: checking how to run the C++ preprocessor" >&5
2485 if test -z "$CXXCPP"; then
2486 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2487 echo $ac_n "(cached) $ac_c" 1>&6
2490 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2491 ac_cpp='$CXXCPP $CPPFLAGS'
2492 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2493 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2494 cross_compiling=$ac_cv_prog_cxx_cross
2495 CXXCPP="${CXX-g++} -E"
2496 cat > conftest.$ac_ext <<EOF
2497 #line 2498 "configure"
2498 #include "confdefs.h"
2501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2502 { (eval echo configure:2503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2504 if test -z "$ac_err"; then
2508 echo "configure: failed program was:" >&5
2509 cat conftest.$ac_ext >&5
2514 ac_cv_prog_CXXCPP="$CXXCPP"
2516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2519 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2520 cross_compiling=$ac_cv_prog_cc_cross
2523 CXXCPP="$ac_cv_prog_CXXCPP"
2524 echo "$ac_t""$CXXCPP" 1>&6
2527 # Save cache, so that ltconfig can load it
2528 cat > confcache <<\EOF
2529 # This file is a shell script that caches the results of configure
2530 # tests run on this system so they can be shared between configure
2531 # scripts and configure runs. It is not useful on other systems.
2532 # If it contains results you don't want to keep, you may remove or edit it.
2534 # By default, configure uses ./config.cache as the cache file,
2535 # creating it if it does not exist already. You can give configure
2536 # the --cache-file=FILE option to use a different cache file; that is
2537 # what configure does when it calls configure scripts in
2538 # subdirectories, so they share the cache.
2539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2540 # config.status only pays attention to the cache file if you give it the
2541 # --recheck option to rerun configure.
2544 # The following way of writing the cache mishandles newlines in values,
2545 # but we know of no workaround that is simple, portable, and efficient.
2546 # So, don't put newlines in cache variables' values.
2547 # Ultrix sh set writes to stderr and can't be redirected directly,
2548 # and sets the high bit in the cache file unless we assign to the vars.
2550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2552 # `set' does not quote correctly, so add quotes (double-quote substitution
2553 # turns \\\\ into \\, and sed turns \\ into \).
2555 -e "s/'/'\\\\''/g" \
2556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2559 # `set' quotes correctly as required by POSIX, so do not add quotes.
2560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2563 if cmp -s $cache_file confcache; then
2566 if test -w $cache_file; then
2567 echo "updating cache $cache_file"
2568 cat confcache > $cache_file
2570 echo "not updating unwritable cache $cache_file"
2576 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2577 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2578 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2579 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2580 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2581 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2582 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2583 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2584 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2585 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2587 # Reload cache, that may have been modified by ltconfig
2588 if test -r "$cache_file"; then
2589 echo "loading cache $cache_file"
2592 echo "creating cache $cache_file"
2597 # This can be used to rebuild libtool when needed
2598 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2600 # Always use our own libtool.
2601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2603 # Redirect the config.log output again, so that the ltconfig log is not
2604 # clobbered by the next message.
2605 exec 5>>./config.log
2609 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2611 lt_save_CFLAGS="$CFLAGS"
2612 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2613 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2614 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2615 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2616 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2617 deplibs_check_method="$deplibs_check_method" \
2618 file_magic_cmd="$file_magic_cmd" \
2619 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2620 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2621 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2623 CFLAGS="$lt_save_CFLAGS"
2625 # Redirect the config.log output again, so that the ltconfig log is not
2626 # clobbered by the next message.
2627 exec 5>>./config.log
2637 # Check for c++ or library specific bits that don't require linking.
2638 #GLIBCPP_CHECK_COMPILER_VERSION
2639 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2640 echo "configure:2641: checking for GNU make" >&5
2641 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2642 echo $ac_n "(cached) $ac_c" 1>&6
2644 _cv_gnu_make_command='' ;
2645 for a in "${MAKE-make}" make gmake gnumake ; do
2646 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2648 _cv_gnu_make_command=$a ;
2655 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2656 if test "x$_cv_gnu_make_command" != "x" ; then
2664 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2665 # Check whether --enable-debug or --disable-debug was given.
2666 if test "${enable_debug+set}" = set; then
2667 enableval="$enable_debug"
2668 case "${enableval}" in
2669 yes) enable_debug=yes ;;
2670 no) enable_debug=no ;;
2671 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2677 case "${enable_debug}" in
2679 DEBUG_FLAGS='-O0 -ggdb3'
2687 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2688 echo "configure:2689: checking how to run the C preprocessor" >&5
2689 # On Suns, sometimes $CPP names a directory.
2690 if test -n "$CPP" && test -d "$CPP"; then
2693 if test -z "$CPP"; then
2694 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
2697 # This must be in double quotes, not single quotes, because CPP may get
2698 # substituted into the Makefile and "${CC-cc}" will confuse make.
2700 # On the NeXT, cc -E runs the code through the compiler's parser,
2701 # not just through cpp.
2702 cat > conftest.$ac_ext <<EOF
2703 #line 2704 "configure"
2704 #include "confdefs.h"
2708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2711 if test -z "$ac_err"; then
2715 echo "configure: failed program was:" >&5
2716 cat conftest.$ac_ext >&5
2718 CPP="${CC-cc} -E -traditional-cpp"
2719 cat > conftest.$ac_ext <<EOF
2720 #line 2721 "configure"
2721 #include "confdefs.h"
2725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2726 { (eval echo configure:2727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2728 if test -z "$ac_err"; then
2732 echo "configure: failed program was:" >&5
2733 cat conftest.$ac_ext >&5
2735 CPP="${CC-cc} -nologo -E"
2736 cat > conftest.$ac_ext <<EOF
2737 #line 2738 "configure"
2738 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2749 echo "configure: failed program was:" >&5
2750 cat conftest.$ac_ext >&5
2759 ac_cv_prog_CPP="$CPP"
2761 CPP="$ac_cv_prog_CPP"
2763 ac_cv_prog_CPP="$CPP"
2765 echo "$ac_t""$CPP" 1>&6
2768 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2769 echo "configure:2770: checking for cstdio to use" >&5
2770 # Check whether --enable-cstdio or --disable-cstdio was given.
2771 if test "${enable_cstdio+set}" = set; then
2772 enableval="$enable_cstdio"
2773 if test x$enable_cstdio = xno; then
2781 enable_cstdio_flag=$enable_cstdio
2783 case x${enable_cstdio_flag} in
2785 CSTDIO_H=config/io/c_io_libio.h
2786 BASIC_FILE_H=config/io/basic_file_libio.h
2787 BASIC_FILE_CC=config/io/basic_file_libio.cc
2788 echo "$ac_t""libio" 1>&6
2790 # see if we are on a system with libio native (ie, linux)
2791 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2792 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2793 echo "configure:2794: checking for libio.h" >&5
2794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2795 echo $ac_n "(cached) $ac_c" 1>&6
2797 cat > conftest.$ac_ext <<EOF
2798 #line 2799 "configure"
2799 #include "confdefs.h"
2802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2803 { (eval echo configure:2804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2805 if test -z "$ac_err"; then
2807 eval "ac_cv_header_$ac_safe=yes"
2810 echo "configure: failed program was:" >&5
2811 cat conftest.$ac_ext >&5
2813 eval "ac_cv_header_$ac_safe=no"
2817 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2818 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2826 # Need to check and see what version of glibc is being used. If
2827 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2828 # compile most of libio for linux systems.
2829 if test x$has_libio = x"yes"; then
2832 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2833 echo "configure:2834: checking for glibc version >= 2.2" >&5
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure"
2836 #include "confdefs.h"
2838 #include <features.h>
2839 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2845 egrep "ok" >/dev/null 2>&1; then
2847 glibc_satisfactory=yes
2850 glibc_satisfactory=no
2854 echo "$ac_t""$glibc_satisfactory" 1>&6
2858 # XXX at the moment, admit defeat and force the recompilation
2859 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2860 glibc_satisfactory=no
2862 if test x$glibc_satisfactory = x"yes"; then
2867 # bkoz XXX need to add checks to enable this
2868 # pme XXX here's a first pass at such a check
2869 if test x$enable_c_mbchar != xno; then
2877 # Using libio, but <libio.h> doesn't exist on the target system. . .
2879 # bkoz XXX need to add checks to enable this
2880 # pme XXX here's a first pass at such a check
2881 if test x$enable_c_mbchar != xno; then
2888 xstdio | x | xno | xnone | xyes)
2890 CSTDIO_H=config/io/c_io_stdio.h
2891 BASIC_FILE_H=config/io/basic_file_stdio.h
2892 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2893 echo "$ac_t""stdio" 1>&6
2895 # We're not using stdio.
2900 echo "$enable_cstdio is an unknown io package" 1>&2
2908 # 2000-08-04 bkoz hack
2909 CCODECVT_C=config/io/c_io_libio_codecvt.c
2911 # 2000-08-04 bkoz hack
2915 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2916 GLIBCPP_BUILD_LIBIO_TRUE=
2917 GLIBCPP_BUILD_LIBIO_FALSE='#'
2919 GLIBCPP_BUILD_LIBIO_TRUE='#'
2920 GLIBCPP_BUILD_LIBIO_FALSE=
2924 if test "$need_libio" = yes; then
2925 GLIBCPP_NEED_LIBIO_TRUE=
2926 GLIBCPP_NEED_LIBIO_FALSE='#'
2928 GLIBCPP_NEED_LIBIO_TRUE='#'
2929 GLIBCPP_NEED_LIBIO_FALSE=
2933 if test "$need_wlibio" = yes; then
2934 GLIBCPP_NEED_WLIBIO_TRUE=
2935 GLIBCPP_NEED_WLIBIO_FALSE='#'
2937 GLIBCPP_NEED_WLIBIO_TRUE='#'
2938 GLIBCPP_NEED_WLIBIO_FALSE=
2940 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2941 libio_la=../libio/libio.la
2948 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2949 echo "configure:2950: checking for clocale to use" >&5
2950 # Check whether --enable-clocale or --disable-clocale was given.
2951 if test "${enable_clocale+set}" = set; then
2952 enableval="$enable_clocale"
2953 if test x$enable_clocale = xno; then
2961 enable_clocale_flag=$enable_clocale
2963 if test x$enable_clocale_flag = xno; then
2964 case x${target_os} in
2966 cat > conftest.$ac_ext <<EOF
2967 #line 2968 "configure"
2968 #include "confdefs.h"
2970 #include <features.h>
2971 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2977 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2979 enable_clocale_flag=gnu
2982 enable_clocale_flag=generic
2987 # Test for bugs early in glibc-2.2.x series
2988 if test x$enable_clocale_flag = xgnu; then
2989 if test "$cross_compiling" = yes; then
2990 enable_clocale_flag=generic
2992 cat > conftest.$ac_ext <<EOF
2993 #line 2994 "configure"
2994 #include "confdefs.h"
2996 #define _GNU_SOURCE 1
3000 const char __one[] = "Äuglein Augmen";
3001 const char __two[] = "Äuglein";
3006 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3007 loc_dup = __duplocale(loc);
3008 i = __strcoll_l(__one, __two, loc);
3009 j = __strcoll_l(__one, __two, loc_dup);
3014 if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3016 enable_clocale_flag=gnu
3018 echo "configure: failed program was:" >&5
3019 cat conftest.$ac_ext >&5
3021 enable_clocale_flag=generic
3028 # ... at some point put __strxfrm_l tests in as well.
3031 enable_clocale_flag=generic
3036 # Check whether --enable-nls or --disable-nls was given.
3037 if test "${enable_nls+set}" = set; then
3038 enableval="$enable_nls"
3046 case x${enable_clocale_flag} in
3048 echo "$ac_t""generic" 1>&6
3050 CLOCALE_H=config/locale/generic/c_locale.h
3051 CLOCALE_CC=config/locale/generic/c_locale.cc
3052 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3053 CCOLLATE_CC=config/locale/generic/collate_members.cc
3054 CCTYPE_CC=config/locale/generic/ctype_members.cc
3055 CMESSAGES_H=config/locale/generic/messages_members.h
3056 CMESSAGES_CC=config/locale/generic/messages_members.cc
3057 CMONEY_CC=config/locale/generic/monetary_members.cc
3058 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3059 CTIME_CC=config/locale/generic/time_members.cc
3062 echo "$ac_t""gnu" 1>&6
3064 # Declare intention to use gettext, and add support for specific
3066 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3069 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3070 # Extract the first word of "msgfmt", so it can be a program name with args.
3071 set dummy msgfmt; ac_word=$2
3072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3073 echo "configure:3074: checking for $ac_word" >&5
3074 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3075 echo $ac_n "(cached) $ac_c" 1>&6
3077 if test -n "$check_msgfmt"; then
3078 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3082 for ac_dir in $ac_dummy; do
3083 test -z "$ac_dir" && ac_dir=.
3084 if test -f $ac_dir/$ac_word; then
3085 ac_cv_prog_check_msgfmt="yes"
3090 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3093 check_msgfmt="$ac_cv_prog_check_msgfmt"
3094 if test -n "$check_msgfmt"; then
3095 echo "$ac_t""$check_msgfmt" 1>&6
3097 echo "$ac_t""no" 1>&6
3100 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3103 # Export the build objects.
3104 for ling in $ALL_LINGUAS; do \
3105 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3106 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3111 CLOCALE_H=config/locale/gnu/c_locale.h
3112 CLOCALE_CC=config/locale/gnu/c_locale.cc
3113 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3114 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3115 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3116 CMESSAGES_H=config/locale/gnu/messages_members.h
3117 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3118 CMONEY_CC=config/locale/gnu/monetary_members.cc
3119 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3120 CTIME_CC=config/locale/gnu/time_members.cc
3123 echo "$ac_t""generic" 1>&6
3125 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3126 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3127 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3128 CCOLLATE_CC=config/locale/generic/collate_members.cc
3129 CCTYPE_CC=config/locale/generic/ctype_members.cc
3130 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3131 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3132 CMONEY_CC=config/locale/generic/monetary_members.cc
3133 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3134 CTIME_CC=config/locale/generic/time_members.cc
3137 echo "$enable_clocale is an unknown locale package" 1>&2
3142 # This is where the testsuite looks for locale catalogs, using the
3143 # -DLOCALEDIR define during testsuite compilation.
3144 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3159 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3160 if test "${enable_c_mbchar+set}" = set; then
3161 enableval="$enable_c_mbchar"
3162 case "$enableval" in
3163 yes) enable_c_mbchar=yes ;;
3164 no) enable_c_mbchar=no ;;
3165 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3172 # Check whether --enable-c99 or --disable-c99 was given.
3173 if test "${enable_c99+set}" = set; then
3174 enableval="$enable_c99"
3175 case "$enableval" in
3176 yes) enable_c99=yes ;;
3177 no) enable_c99=no ;;
3178 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3187 ac_cpp='$CXXCPP $CPPFLAGS'
3188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3190 cross_compiling=$ac_cv_prog_cxx_cross
3193 # Check for the existence of <math.h> functions used if C99 is enabled.
3195 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3196 echo "configure:3197: checking for ISO C99 support in <math.h>" >&5
3197 cat > conftest.$ac_ext <<EOF
3198 #line 3199 "configure"
3199 #include "confdefs.h"
3205 if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3208 echo "configure: failed program was:" >&5
3209 cat conftest.$ac_ext >&5
3214 cat > conftest.$ac_ext <<EOF
3215 #line 3216 "configure"
3216 #include "confdefs.h"
3222 if { (eval echo configure:3223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3225 echo "configure: failed program was:" >&5
3226 cat conftest.$ac_ext >&5
3231 cat > conftest.$ac_ext <<EOF
3232 #line 3233 "configure"
3233 #include "confdefs.h"
3239 if { (eval echo configure:3240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3242 echo "configure: failed program was:" >&5
3243 cat conftest.$ac_ext >&5
3248 cat > conftest.$ac_ext <<EOF
3249 #line 3250 "configure"
3250 #include "confdefs.h"
3256 if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3259 echo "configure: failed program was:" >&5
3260 cat conftest.$ac_ext >&5
3265 cat > conftest.$ac_ext <<EOF
3266 #line 3267 "configure"
3267 #include "confdefs.h"
3273 if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3276 echo "configure: failed program was:" >&5
3277 cat conftest.$ac_ext >&5
3282 cat > conftest.$ac_ext <<EOF
3283 #line 3284 "configure"
3284 #include "confdefs.h"
3290 if { (eval echo configure:3291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3293 echo "configure: failed program was:" >&5
3294 cat conftest.$ac_ext >&5
3299 cat > conftest.$ac_ext <<EOF
3300 #line 3301 "configure"
3301 #include "confdefs.h"
3307 if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3310 echo "configure: failed program was:" >&5
3311 cat conftest.$ac_ext >&5
3316 cat > conftest.$ac_ext <<EOF
3317 #line 3318 "configure"
3318 #include "confdefs.h"
3321 isgreaterequal(0.0,0.0);
3324 if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3327 echo "configure: failed program was:" >&5
3328 cat conftest.$ac_ext >&5
3333 cat > conftest.$ac_ext <<EOF
3334 #line 3335 "configure"
3335 #include "confdefs.h"
3341 if { (eval echo configure:3342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3344 echo "configure: failed program was:" >&5
3345 cat conftest.$ac_ext >&5
3350 cat > conftest.$ac_ext <<EOF
3351 #line 3352 "configure"
3352 #include "confdefs.h"
3355 islessequal(0.0,0.0);
3358 if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3361 echo "configure: failed program was:" >&5
3362 cat conftest.$ac_ext >&5
3367 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure"
3369 #include "confdefs.h"
3372 islessgreater(0.0,0.0);
3375 if { (eval echo configure:3376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3378 echo "configure: failed program was:" >&5
3379 cat conftest.$ac_ext >&5
3384 cat > conftest.$ac_ext <<EOF
3385 #line 3386 "configure"
3386 #include "confdefs.h"
3389 isunordered(0.0,0.0);
3392 if { (eval echo configure:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3395 echo "configure: failed program was:" >&5
3396 cat conftest.$ac_ext >&5
3401 echo "$ac_t""$ac_c99_math" 1>&6
3403 # Check for the existence in <stdio.h> of vscanf, et. al.
3405 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3406 echo "configure:3407: checking for ISO C99 support in <stdio.h>" >&5
3407 cat > conftest.$ac_ext <<EOF
3408 #line 3409 "configure"
3409 #include "confdefs.h"
3412 snprintf("12", 0, "%i");
3415 if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3418 echo "configure: failed program was:" >&5
3419 cat conftest.$ac_ext >&5
3424 cat > conftest.$ac_ext <<EOF
3425 #line 3426 "configure"
3426 #include "confdefs.h"
3429 void foo(char* fmt, ...)
3430 {va_list args; va_start(args, fmt);
3431 vfscanf(stderr, "%i", args);}
3436 if { (eval echo configure:3437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3439 echo "configure: failed program was:" >&5
3440 cat conftest.$ac_ext >&5
3445 cat > conftest.$ac_ext <<EOF
3446 #line 3447 "configure"
3447 #include "confdefs.h"
3450 void foo(char* fmt, ...)
3451 {va_list args; va_start(args, fmt);
3452 vscanf("%i", args);}
3457 if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3460 echo "configure: failed program was:" >&5
3461 cat conftest.$ac_ext >&5
3466 cat > conftest.$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 void foo(char* fmt, ...)
3472 {va_list args; va_start(args, fmt);
3473 vsnprintf(fmt, 0, "%i", args);}
3478 if { (eval echo configure:3479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3481 echo "configure: failed program was:" >&5
3482 cat conftest.$ac_ext >&5
3487 cat > conftest.$ac_ext <<EOF
3488 #line 3489 "configure"
3489 #include "confdefs.h"
3492 void foo(char* fmt, ...)
3493 {va_list args; va_start(args, fmt);
3494 vsscanf(fmt, "%i", args);}
3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3502 echo "configure: failed program was:" >&5
3503 cat conftest.$ac_ext >&5
3508 echo "$ac_t""$ac_c99_stdio" 1>&6
3510 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3512 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3513 echo "configure:3514: checking for lldiv_t declaration" >&5
3514 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3515 echo $ac_n "(cached) $ac_c" 1>&6
3518 cat > conftest.$ac_ext <<EOF
3519 #line 3520 "configure"
3520 #include "confdefs.h"
3526 if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3530 echo "configure: failed program was:" >&5
3531 cat conftest.$ac_ext >&5
3539 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3541 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3542 echo "configure:3543: checking for ISO C99 support in <stdlib.h>" >&5
3543 cat > conftest.$ac_ext <<EOF
3544 #line 3545 "configure"
3545 #include "confdefs.h"
3548 char* tmp; strtof("gnu", &tmp);
3551 if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3554 echo "configure: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3560 cat > conftest.$ac_ext <<EOF
3561 #line 3562 "configure"
3562 #include "confdefs.h"
3565 char* tmp; strtold("gnu", &tmp);
3568 if { (eval echo configure:3569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3571 echo "configure: failed program was:" >&5
3572 cat conftest.$ac_ext >&5
3577 cat > conftest.$ac_ext <<EOF
3578 #line 3579 "configure"
3579 #include "confdefs.h"
3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 echo "configure: failed program was:" >&5
3589 cat conftest.$ac_ext >&5
3594 cat > conftest.$ac_ext <<EOF
3595 #line 3596 "configure"
3596 #include "confdefs.h"
3602 if { (eval echo configure:3603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3605 echo "configure: failed program was:" >&5
3606 cat conftest.$ac_ext >&5
3611 cat > conftest.$ac_ext <<EOF
3612 #line 3613 "configure"
3613 #include "confdefs.h"
3619 if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3622 echo "configure: failed program was:" >&5
3623 cat conftest.$ac_ext >&5
3628 cat > conftest.$ac_ext <<EOF
3629 #line 3630 "configure"
3630 #include "confdefs.h"
3636 if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3639 echo "configure: failed program was:" >&5
3640 cat conftest.$ac_ext >&5
3645 if test x"$ac_c99_lldiv_t" = x"no"; then
3648 echo "$ac_t""$ac_c99_stdlib" 1>&6
3650 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3651 # XXX the wchar.h checks should be rolled into the general C99 bits.
3653 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3654 echo "configure:3655: checking for additional ISO C99 support in <wchar.h>" >&5
3655 cat > conftest.$ac_ext <<EOF
3656 #line 3657 "configure"
3657 #include "confdefs.h"
3660 wcstold(L"10.0", NULL);
3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3666 echo "configure: failed program was:" >&5
3667 cat conftest.$ac_ext >&5
3672 cat > conftest.$ac_ext <<EOF
3673 #line 3674 "configure"
3674 #include "confdefs.h"
3677 wcstoll(L"10", NULL, 10);
3680 if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3683 echo "configure: failed program was:" >&5
3684 cat conftest.$ac_ext >&5
3689 cat > conftest.$ac_ext <<EOF
3690 #line 3691 "configure"
3691 #include "confdefs.h"
3694 wcstoull(L"10", NULL, 10);
3697 if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3700 echo "configure: failed program was:" >&5
3701 cat conftest.$ac_ext >&5
3706 echo "$ac_t""$ac_c99_wchar" 1>&6
3708 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3709 echo "configure:3710: checking for enabled ISO C99 support" >&5
3710 if test x"$ac_c99_math" = x"no" ||
3711 test x"$ac_c99_stdio" = x"no" ||
3712 test x"$ac_c99_stdlib" = x"no" ||
3713 test x"$ac_c99_wchar" = x"no"; then
3716 echo "$ac_t""$enable_c99" 1>&6
3718 # Option parsed, now set things appropriately
3719 if test x"$enable_c99" = x"yes"; then
3720 cat >> confdefs.h <<\EOF
3721 #define _GLIBCPP_USE_C99 1
3727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3730 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3731 cross_compiling=$ac_cv_prog_cc_cross
3735 # Check whether --enable-long-long or --disable-long-long was given.
3736 if test "${enable_long_long+set}" = set; then
3737 enableval="$enable_long_long"
3738 case "$enableval" in
3739 yes) enable_long_long=yes ;;
3740 no) enable_long_long=no ;;
3741 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3744 enable_long_long=yes
3749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3750 ac_cpp='$CXXCPP $CPPFLAGS'
3751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3753 cross_compiling=$ac_cv_prog_cxx_cross
3756 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3757 echo "configure:3758: checking for enabled long long I/O support" >&5
3758 # iostreams require strtoll, strtoull to compile
3759 cat > conftest.$ac_ext <<EOF
3760 #line 3761 "configure"
3761 #include "confdefs.h"
3764 char* tmp; strtoll("gnu", &tmp, 10);
3767 if { (eval echo configure:3768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3770 echo "configure: failed program was:" >&5
3771 cat conftest.$ac_ext >&5
3776 cat > conftest.$ac_ext <<EOF
3777 #line 3778 "configure"
3778 #include "confdefs.h"
3781 char* tmp; strtoull("gnu", &tmp, 10);
3784 if { (eval echo configure:3785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3787 echo "configure: failed program was:" >&5
3788 cat conftest.$ac_ext >&5
3794 # Option parsed, now set things appropriately
3795 if test x"$enable_long_long" = xyes; then
3796 cat >> confdefs.h <<\EOF
3797 #define _GLIBCPP_USE_LONG_LONG 1
3801 echo "$ac_t""$enable_long_long" 1>&6
3804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3807 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3808 cross_compiling=$ac_cv_prog_cc_cross
3811 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3812 echo "configure:3813: checking for c header strategy to use" >&5
3813 # Check whether --enable-cheaders or --disable-cheaders was given.
3814 if test "${enable_cheaders+set}" = set; then
3815 enableval="$enable_cheaders"
3817 case "$enableval" in
3822 enable_cheaders=c_std
3825 enable_cheaders=c_shadow
3827 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3831 enable_cheaders=c_std
3834 echo "$ac_t""$enable_cheaders" 1>&6
3836 case "$enable_cheaders" in
3838 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3841 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3844 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3851 if test "$enable_cheaders" = c; then
3852 GLIBCPP_C_HEADERS_C_TRUE=
3853 GLIBCPP_C_HEADERS_C_FALSE='#'
3855 GLIBCPP_C_HEADERS_C_TRUE='#'
3856 GLIBCPP_C_HEADERS_C_FALSE=
3860 if test "$enable_cheaders" = c_std; then
3861 GLIBCPP_C_HEADERS_C_STD_TRUE=
3862 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3864 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3865 GLIBCPP_C_HEADERS_C_STD_FALSE=
3869 if test "$c_compatibility" = yes; then
3870 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3871 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3873 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3874 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3878 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3879 echo "configure:3880: checking for thread model used by GCC" >&5
3880 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3881 echo "$ac_t""$target_thread_file" 1>&6
3883 if test $target_thread_file != single; then
3884 cat >> confdefs.h <<\EOF
3885 #define HAVE_GTHR_DEFAULT 1
3888 cat >> confdefs.h <<\EOF
3889 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3894 glibcpp_thread_h=gthr-$target_thread_file.h
3897 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3898 if test "${enable_cxx_flags+set}" = set; then
3899 enableval="$enable_cxx_flags"
3900 case "x$enableval" in
3902 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3904 enable_cxx_flags='' ;;
3906 enable_cxx_flags="$enableval" ;;
3909 enable_cxx_flags='none'
3913 if test "$enable_cxx_flags" = "none"; then
3914 enable_cxx_flags='';
3917 if test -n "$enable_cxx_flags"; then
3918 for f in $enable_cxx_flags; do
3922 *) # and we're trying to pass /what/ exactly?
3923 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3927 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3931 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3932 echo "configure:3933: checking for exception model to use" >&5
3935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3936 ac_cpp='$CXXCPP $CPPFLAGS'
3937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3939 cross_compiling=$ac_cv_prog_cxx_cross
3941 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3942 if test "${enable_sjlj_exceptions+set}" = set; then
3943 enableval="$enable_sjlj_exceptions"
3946 cat > conftest.$ac_ext << EOF
3947 #line 3948 "configure"
3956 old_CXXFLAGS="$CXXFLAGS"
3958 if { (eval echo configure:3959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3959 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3960 enable_sjlj_exceptions=yes
3961 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3962 enable_sjlj_exceptions=no
3965 CXXFLAGS="$old_CXXFLAGS"
3969 if test x$enable_sjlj_exceptions = xyes; then
3970 cat >> confdefs.h <<\EOF
3971 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3974 ac_exception_model_name=sjlj
3975 elif test x$enable_sjlj_exceptions = xno; then
3976 ac_exception_model_name="call frame"
3978 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3984 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3985 cross_compiling=$ac_cv_prog_cc_cross
3987 echo "$ac_t""$ac_exception_model_name" 1>&6
3990 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
3991 echo "configure:3992: checking for use of libunwind" >&5
3992 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3993 if test "${enable_libunwind_exceptions+set}" = set; then
3994 enableval="$enable_libunwind_exceptions"
3995 use_libunwind_exceptions=$enableval
3997 use_libunwind_exceptions=no
4000 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4001 if test x"$use_libunwind_exceptions" = xyes; then
4002 LIBUNWIND_FLAG="-lunwind"
4008 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4009 if test "${enable_concept_checks+set}" = set; then
4010 enableval="$enable_concept_checks"
4011 case "$enableval" in
4012 yes) enable_concept_checks=yes ;;
4013 no) enable_concept_checks=no ;;
4014 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4017 enable_concept_checks=no
4019 if test x"$enable_concept_checks" = xyes; then
4020 cat >> confdefs.h <<\EOF
4021 #define _GLIBCPP_CONCEPT_CHECKS 1
4027 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4028 for ac_hdr in string.h stdlib.h
4030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4032 echo "configure:4033: checking for $ac_hdr" >&5
4033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4034 echo $ac_n "(cached) $ac_c" 1>&6
4036 cat > conftest.$ac_ext <<EOF
4037 #line 4038 "configure"
4038 #include "confdefs.h"
4041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4042 { (eval echo configure:4043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4044 if test -z "$ac_err"; then
4046 eval "ac_cv_header_$ac_safe=yes"
4049 echo "configure: failed program was:" >&5
4050 cat conftest.$ac_ext >&5
4052 eval "ac_cv_header_$ac_safe=no"
4056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4057 echo "$ac_t""yes" 1>&6
4058 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4059 cat >> confdefs.h <<EOF
4060 #define $ac_tr_hdr 1
4064 echo "$ac_t""no" 1>&6
4069 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4071 # We are being configured with some form of cross compiler.
4072 GLIBCPP_IS_CROSS_COMPILING=1
4074 # This lets us hard-code the functionality we know we'll have in the cross
4075 # target environment. "Let" is a sugar-coated word placed on an especially
4076 # dull and tedious hack, actually.
4078 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4079 # that involve linking, can't be used:
4080 # "cannot open sim-crt0.o"
4081 # "cannot open crt0.o"
4082 # etc. All this is because there currently exists no unified, consistent
4083 # way for top level CC information to be passed down to target directories:
4084 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4085 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4086 # crosses can be removed.
4088 # If Canadian cross, then don't pick up tools from the build directory.
4089 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4090 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4096 # Construct crosses by hand, eliminating bits that need ld...
4097 # GLIBCPP_CHECK_COMPILER_FEATURES
4098 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4099 # GLIBCPP_CHECK_MATH_SUPPORT
4101 case "$target_alias" in
4103 os_include_dir="os/gnu-linux"
4104 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4105 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4106 fp.h locale.h float.h inttypes.h
4108 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4109 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4110 echo "configure:4111: checking for $ac_hdr" >&5
4111 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4112 echo $ac_n "(cached) $ac_c" 1>&6
4114 cat > conftest.$ac_ext <<EOF
4115 #line 4116 "configure"
4116 #include "confdefs.h"
4119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4120 { (eval echo configure:4121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4122 if test -z "$ac_err"; then
4124 eval "ac_cv_header_$ac_safe=yes"
4127 echo "configure: failed program was:" >&5
4128 cat conftest.$ac_ext >&5
4130 eval "ac_cv_header_$ac_safe=no"
4134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4135 echo "$ac_t""yes" 1>&6
4136 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4137 cat >> confdefs.h <<EOF
4138 #define $ac_tr_hdr 1
4142 echo "$ac_t""no" 1>&6
4146 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4149 # If we're not using GNU ld, then there's no point in even trying these
4150 # tests. Check for that first. We should have already tested for gld
4151 # by now (in libtool), but require it now just to be safe...
4152 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4153 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4156 # The name set by libtool depends on the version of libtool. Shame on us
4157 # for depending on an impl detail, but c'est la vie. Older versions used
4158 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4159 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4160 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4161 # set (hence we're using an older libtool), then set it.
4162 if test x${with_gnu_ld+set} != xset; then
4163 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4164 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4167 with_gnu_ld=$ac_cv_prog_gnu_ld
4171 # Start by getting the version number. I think the libtool test already
4172 # does some of this, but throws away the result.
4174 ldver=`$LD --version 2>/dev/null | head -1 | \
4175 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4177 glibcpp_gnu_ld_version=`echo $ldver | \
4178 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4180 # Set --gc-sections.
4181 if test "$with_gnu_ld" = "notbroken"; then
4182 # GNU ld it is! Joy and bunny rabbits!
4184 # All these tests are for C++; save the language and the compiler flags.
4185 # Need to do this so that g++ won't try to link in libstdc++
4186 ac_test_CFLAGS="${CFLAGS+set}"
4187 ac_save_CFLAGS="$CFLAGS"
4188 CFLAGS='-x c++ -Wl,--gc-sections'
4190 # Check for -Wl,--gc-sections
4191 # XXX This test is broken at the moment, as symbols required for
4192 # linking are now in libsupc++ (not built yet.....). In addition,
4193 # this test has cored on solaris in the past. In addition,
4194 # --gc-sections doesn't really work at the moment (keeps on discarding
4195 # used sections, first .eh_frame and now some of the glibc sections for
4196 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4197 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4198 echo "configure:4199: checking for ld that supports -Wl,--gc-sections" >&5
4199 if test "$cross_compiling" = yes; then
4200 ac_sectionLDflags=yes
4202 cat > conftest.$ac_ext <<EOF
4203 #line 4204 "configure"
4204 #include "confdefs.h"
4214 if { (eval echo configure:4215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4216 ac_sectionLDflags=yes
4218 echo "configure: failed program was:" >&5
4219 cat conftest.$ac_ext >&5
4221 ac_sectionLDflags=no
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS="$ac_save_CFLAGS"
4229 # this is the suspicious part
4232 if test "$ac_sectionLDflags" = "yes"; then
4233 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4235 echo "$ac_t""$ac_sectionLDflags" 1>&6
4238 # Set linker optimization flags.
4239 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4240 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4247 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4248 echo "configure:4249: checking for main in -lm" >&5
4249 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4251 echo $ac_n "(cached) $ac_c" 1>&6
4253 ac_save_LIBS="$LIBS"
4255 cat > conftest.$ac_ext <<EOF
4256 #line 4257 "configure"
4257 #include "confdefs.h"
4263 if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4265 eval "ac_cv_lib_$ac_lib_var=yes"
4267 echo "configure: failed program was:" >&5
4268 cat conftest.$ac_ext >&5
4270 eval "ac_cv_lib_$ac_lib_var=no"
4273 LIBS="$ac_save_LIBS"
4276 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4277 echo "$ac_t""yes" 1>&6
4278 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4279 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4280 cat >> confdefs.h <<EOF
4281 #define $ac_tr_lib 1
4287 echo "$ac_t""no" 1>&6
4290 for ac_func in nan copysignf
4292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4293 echo "configure:4294: checking for $ac_func" >&5
4294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4295 echo $ac_n "(cached) $ac_c" 1>&6
4297 cat > conftest.$ac_ext <<EOF
4298 #line 4299 "configure"
4299 #include "confdefs.h"
4300 /* System header to define __stub macros and hopefully few prototypes,
4301 which can conflict with char $ac_func(); below. */
4303 /* Override any gcc2 internal prototype to avoid an error. */
4304 /* We use char because int might match the return type of a gcc2
4305 builtin and then its argument prototype would still apply. */
4310 /* The GNU C library defines this for functions which it implements
4311 to always fail with ENOSYS. Some functions are actually named
4312 something starting with __ and the normal name is an alias. */
4313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4321 if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4323 eval "ac_cv_func_$ac_func=yes"
4325 echo "configure: failed program was:" >&5
4326 cat conftest.$ac_ext >&5
4328 eval "ac_cv_func_$ac_func=no"
4333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4334 echo "$ac_t""yes" 1>&6
4335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4336 cat >> confdefs.h <<EOF
4337 #define $ac_tr_func 1
4341 echo "$ac_t""no" 1>&6
4342 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4347 for ac_func in __signbit
4349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4350 echo "configure:4351: checking for $ac_func" >&5
4351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4352 echo $ac_n "(cached) $ac_c" 1>&6
4354 cat > conftest.$ac_ext <<EOF
4355 #line 4356 "configure"
4356 #include "confdefs.h"
4357 /* System header to define __stub macros and hopefully few prototypes,
4358 which can conflict with char $ac_func(); below. */
4360 /* Override any gcc2 internal prototype to avoid an error. */
4361 /* We use char because int might match the return type of a gcc2
4362 builtin and then its argument prototype would still apply. */
4367 /* The GNU C library defines this for functions which it implements
4368 to always fail with ENOSYS. Some functions are actually named
4369 something starting with __ and the normal name is an alias. */
4370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4378 if { (eval echo configure:4379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4380 eval "ac_cv_func_$ac_func=yes"
4382 echo "configure: failed program was:" >&5
4383 cat conftest.$ac_ext >&5
4385 eval "ac_cv_func_$ac_func=no"
4390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4391 echo "$ac_t""yes" 1>&6
4392 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4393 cat >> confdefs.h <<EOF
4394 #define $ac_tr_func 1
4398 echo "$ac_t""no" 1>&6
4399 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4403 for ac_func in __signbitf
4405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4406 echo "configure:4407: checking for $ac_func" >&5
4407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4408 echo $ac_n "(cached) $ac_c" 1>&6
4410 cat > conftest.$ac_ext <<EOF
4411 #line 4412 "configure"
4412 #include "confdefs.h"
4413 /* System header to define __stub macros and hopefully few prototypes,
4414 which can conflict with char $ac_func(); below. */
4416 /* Override any gcc2 internal prototype to avoid an error. */
4417 /* We use char because int might match the return type of a gcc2
4418 builtin and then its argument prototype would still apply. */
4423 /* The GNU C library defines this for functions which it implements
4424 to always fail with ENOSYS. Some functions are actually named
4425 something starting with __ and the normal name is an alias. */
4426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4434 if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4436 eval "ac_cv_func_$ac_func=yes"
4438 echo "configure: failed program was:" >&5
4439 cat conftest.$ac_ext >&5
4441 eval "ac_cv_func_$ac_func=no"
4446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4447 echo "$ac_t""yes" 1>&6
4448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4449 cat >> confdefs.h <<EOF
4450 #define $ac_tr_func 1
4454 echo "$ac_t""no" 1>&6
4455 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4460 if test x$ac_cv_func_copysignl = x"yes"; then
4461 for ac_func in __signbitl
4463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4464 echo "configure:4465: checking for $ac_func" >&5
4465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4466 echo $ac_n "(cached) $ac_c" 1>&6
4468 cat > conftest.$ac_ext <<EOF
4469 #line 4470 "configure"
4470 #include "confdefs.h"
4471 /* System header to define __stub macros and hopefully few prototypes,
4472 which can conflict with char $ac_func(); below. */
4474 /* Override any gcc2 internal prototype to avoid an error. */
4475 /* We use char because int might match the return type of a gcc2
4476 builtin and then its argument prototype would still apply. */
4481 /* The GNU C library defines this for functions which it implements
4482 to always fail with ENOSYS. Some functions are actually named
4483 something starting with __ and the normal name is an alias. */
4484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4492 if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4494 eval "ac_cv_func_$ac_func=yes"
4496 echo "configure: failed program was:" >&5
4497 cat conftest.$ac_ext >&5
4499 eval "ac_cv_func_$ac_func=no"
4504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4505 echo "$ac_t""yes" 1>&6
4506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4507 cat >> confdefs.h <<EOF
4508 #define $ac_tr_func 1
4512 echo "$ac_t""no" 1>&6
4513 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4523 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4524 echo "configure:4525: checking for mbstate_t" >&5
4525 cat > conftest.$ac_ext <<EOF
4526 #line 4527 "configure"
4527 #include "confdefs.h"
4530 mbstate_t teststate;
4533 if { (eval echo configure:4534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4537 echo "configure: failed program was:" >&5
4538 cat conftest.$ac_ext >&5
4543 echo "$ac_t""$have_mbstate_t" 1>&6
4544 if test x"$have_mbstate_t" = xyes; then
4545 cat >> confdefs.h <<\EOF
4546 #define HAVE_MBSTATE_T 1
4551 for ac_hdr in wchar.h
4553 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4554 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4555 echo "configure:4556: checking for $ac_hdr" >&5
4556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4557 echo $ac_n "(cached) $ac_c" 1>&6
4559 cat > conftest.$ac_ext <<EOF
4560 #line 4561 "configure"
4561 #include "confdefs.h"
4564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4565 { (eval echo configure:4566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4567 if test -z "$ac_err"; then
4569 eval "ac_cv_header_$ac_safe=yes"
4572 echo "configure: failed program was:" >&5
4573 cat conftest.$ac_ext >&5
4575 eval "ac_cv_header_$ac_safe=no"
4579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4580 echo "$ac_t""yes" 1>&6
4581 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4582 cat >> confdefs.h <<EOF
4583 #define $ac_tr_hdr 1
4587 echo "$ac_t""no" 1>&6
4592 for ac_hdr in wctype.h
4594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4596 echo "configure:4597: checking for $ac_hdr" >&5
4597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4598 echo $ac_n "(cached) $ac_c" 1>&6
4600 cat > conftest.$ac_ext <<EOF
4601 #line 4602 "configure"
4602 #include "confdefs.h"
4605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4606 { (eval echo configure:4607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4608 if test -z "$ac_err"; then
4610 eval "ac_cv_header_$ac_safe=yes"
4613 echo "configure: failed program was:" >&5
4614 cat conftest.$ac_ext >&5
4616 eval "ac_cv_header_$ac_safe=no"
4620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4621 echo "$ac_t""yes" 1>&6
4622 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4623 cat >> confdefs.h <<EOF
4624 #define $ac_tr_hdr 1
4628 echo "$ac_t""no" 1>&6
4634 if test x"$ac_has_wchar_h" = xyes &&
4635 test x"$ac_has_wctype_h" = xyes &&
4636 test x"$enable_c_mbchar" != xno; then
4638 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4639 echo "configure:4640: checking for WCHAR_MIN and WCHAR_MAX" >&5
4640 cat > conftest.$ac_ext <<EOF
4641 #line 4642 "configure"
4642 #include "confdefs.h"
4645 int i = WCHAR_MIN; int j = WCHAR_MAX;
4648 if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4650 has_wchar_minmax=yes
4652 echo "configure: failed program was:" >&5
4653 cat conftest.$ac_ext >&5
4658 echo "$ac_t""$has_wchar_minmax" 1>&6
4660 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4661 echo "configure:4662: checking for WEOF" >&5
4662 cat > conftest.$ac_ext <<EOF
4663 #line 4664 "configure"
4664 #include "confdefs.h"
4672 if { (eval echo configure:4673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4676 echo "configure: failed program was:" >&5
4677 cat conftest.$ac_ext >&5
4682 echo "$ac_t""$has_weof" 1>&6
4685 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4688 echo "configure:4689: checking for $ac_func" >&5
4689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4690 echo $ac_n "(cached) $ac_c" 1>&6
4692 cat > conftest.$ac_ext <<EOF
4693 #line 4694 "configure"
4694 #include "confdefs.h"
4695 /* System header to define __stub macros and hopefully few prototypes,
4696 which can conflict with char $ac_func(); below. */
4698 /* Override any gcc2 internal prototype to avoid an error. */
4699 /* We use char because int might match the return type of a gcc2
4700 builtin and then its argument prototype would still apply. */
4705 /* The GNU C library defines this for functions which it implements
4706 to always fail with ENOSYS. Some functions are actually named
4707 something starting with __ and the normal name is an alias. */
4708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4716 if { (eval echo configure:4717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4718 eval "ac_cv_func_$ac_func=yes"
4720 echo "configure: failed program was:" >&5
4721 cat conftest.$ac_ext >&5
4723 eval "ac_cv_func_$ac_func=no"
4728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4729 echo "$ac_t""yes" 1>&6
4730 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4731 cat >> confdefs.h <<EOF
4732 #define $ac_tr_func 1
4736 echo "$ac_t""no" 1>&6
4743 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4744 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4745 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4746 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4747 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4748 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4751 echo "configure:4752: checking for $ac_func" >&5
4752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4753 echo $ac_n "(cached) $ac_c" 1>&6
4755 cat > conftest.$ac_ext <<EOF
4756 #line 4757 "configure"
4757 #include "confdefs.h"
4758 /* System header to define __stub macros and hopefully few prototypes,
4759 which can conflict with char $ac_func(); below. */
4761 /* Override any gcc2 internal prototype to avoid an error. */
4762 /* We use char because int might match the return type of a gcc2
4763 builtin and then its argument prototype would still apply. */
4768 /* The GNU C library defines this for functions which it implements
4769 to always fail with ENOSYS. Some functions are actually named
4770 something starting with __ and the normal name is an alias. */
4771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4779 if { (eval echo configure:4780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4781 eval "ac_cv_func_$ac_func=yes"
4783 echo "configure: failed program was:" >&5
4784 cat conftest.$ac_ext >&5
4786 eval "ac_cv_func_$ac_func=no"
4791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4792 echo "$ac_t""yes" 1>&6
4793 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4794 cat >> confdefs.h <<EOF
4795 #define $ac_tr_func 1
4799 echo "$ac_t""no" 1>&6
4806 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4807 echo "configure:4808: checking for ISO C99 wchar_t support" >&5
4808 if test x"$has_weof" = xyes &&
4809 test x"$has_wchar_minmax" = xyes &&
4810 test x"$ac_wfuncs" = xyes; then
4811 ac_isoC99_wchar_t=yes
4813 ac_isoC99_wchar_t=no
4815 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4817 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4818 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4819 echo "configure:4820: checking for iconv.h" >&5
4820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4821 echo $ac_n "(cached) $ac_c" 1>&6
4823 cat > conftest.$ac_ext <<EOF
4824 #line 4825 "configure"
4825 #include "confdefs.h"
4828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4829 { (eval echo configure:4830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4831 if test -z "$ac_err"; then
4833 eval "ac_cv_header_$ac_safe=yes"
4836 echo "configure: failed program was:" >&5
4837 cat conftest.$ac_ext >&5
4839 eval "ac_cv_header_$ac_safe=no"
4843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4844 echo "$ac_t""yes" 1>&6
4847 echo "$ac_t""no" 1>&6
4851 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4852 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4853 echo "configure:4854: checking for langinfo.h" >&5
4854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4855 echo $ac_n "(cached) $ac_c" 1>&6
4857 cat > conftest.$ac_ext <<EOF
4858 #line 4859 "configure"
4859 #include "confdefs.h"
4860 #include <langinfo.h>
4862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4863 { (eval echo configure:4864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4865 if test -z "$ac_err"; then
4867 eval "ac_cv_header_$ac_safe=yes"
4870 echo "configure: failed program was:" >&5
4871 cat conftest.$ac_ext >&5
4873 eval "ac_cv_header_$ac_safe=no"
4877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4878 echo "$ac_t""yes" 1>&6
4879 ac_has_langinfo_h=yes
4881 echo "$ac_t""no" 1>&6
4882 ac_has_langinfo_h=no
4886 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4887 echo "configure:4888: checking for iconv in -liconv" >&5
4888 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4890 echo $ac_n "(cached) $ac_c" 1>&6
4892 ac_save_LIBS="$LIBS"
4893 LIBS="-liconv $LIBS"
4894 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure"
4896 #include "confdefs.h"
4897 /* Override any gcc2 internal prototype to avoid an error. */
4898 /* We use char because int might match the return type of a gcc2
4899 builtin and then its argument prototype would still apply. */
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4908 eval "ac_cv_lib_$ac_lib_var=yes"
4910 echo "configure: failed program was:" >&5
4911 cat conftest.$ac_ext >&5
4913 eval "ac_cv_lib_$ac_lib_var=no"
4916 LIBS="$ac_save_LIBS"
4919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4920 echo "$ac_t""yes" 1>&6
4923 echo "$ac_t""no" 1>&6
4926 ac_save_LIBS="$LIBS"
4927 LIBS="$LIBS $libiconv"
4929 for ac_func in iconv_open iconv_close iconv nl_langinfo
4931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4932 echo "configure:4933: checking for $ac_func" >&5
4933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4934 echo $ac_n "(cached) $ac_c" 1>&6
4936 cat > conftest.$ac_ext <<EOF
4937 #line 4938 "configure"
4938 #include "confdefs.h"
4939 /* System header to define __stub macros and hopefully few prototypes,
4940 which can conflict with char $ac_func(); below. */
4942 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4949 /* The GNU C library defines this for functions which it implements
4950 to always fail with ENOSYS. Some functions are actually named
4951 something starting with __ and the normal name is an alias. */
4952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4960 if { (eval echo configure:4961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4962 eval "ac_cv_func_$ac_func=yes"
4964 echo "configure: failed program was:" >&5
4965 cat conftest.$ac_ext >&5
4967 eval "ac_cv_func_$ac_func=no"
4972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4973 echo "$ac_t""yes" 1>&6
4974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4975 cat >> confdefs.h <<EOF
4976 #define $ac_tr_func 1
4981 echo "$ac_t""no" 1>&6
4987 LIBS="$ac_save_LIBS"
4989 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4990 echo "configure:4991: checking for XPG2 wchar_t support" >&5
4991 if test x"$ac_has_iconv_h" = xyes &&
4992 test x"$ac_has_langinfo_h" = xyes &&
4993 test x"$ac_XPG2funcs" = xyes; then
4998 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5000 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5001 echo "configure:5002: checking for enabled wchar_t specializations" >&5
5002 if test x"$ac_isoC99_wchar_t" = xyes &&
5003 test x"$ac_XPG2_wchar_t" = xyes; then
5004 cat >> confdefs.h <<\EOF
5005 #define _GLIBCPP_USE_WCHAR_T 1
5008 echo "$ac_t"""yes"" 1>&6
5010 echo "$ac_t"""no"" 1>&6
5013 echo "configure: warning: wchar_t support disabled." 1>&2
5016 cat >> confdefs.h <<\EOF
5017 #define HAVE_COPYSIGN 1
5020 cat >> confdefs.h <<\EOF
5021 #define HAVE_COPYSIGNF 1
5024 cat >> confdefs.h <<\EOF
5025 #define HAVE_FINITE 1
5028 cat >> confdefs.h <<\EOF
5029 #define HAVE_FINITEF 1
5032 cat >> confdefs.h <<\EOF
5033 #define HAVE_FREXPF 1
5036 cat >> confdefs.h <<\EOF
5037 #define HAVE_HYPOTF 1
5040 cat >> confdefs.h <<\EOF
5041 #define HAVE_ISINF 1
5044 cat >> confdefs.h <<\EOF
5045 #define HAVE_ISINFF 1
5048 cat >> confdefs.h <<\EOF
5049 #define HAVE_ISNAN 1
5052 cat >> confdefs.h <<\EOF
5053 #define HAVE_ISNANF 1
5056 cat >> confdefs.h <<\EOF
5057 #define HAVE_SINCOS 1
5060 cat >> confdefs.h <<\EOF
5061 #define HAVE_SINCOSF 1
5064 if test x"long_double_math_on_this_cpu" = x"yes"; then
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_FINITEL 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_HYPOTL 1
5073 cat >> confdefs.h <<\EOF
5074 #define HAVE_ISINFL 1
5077 cat >> confdefs.h <<\EOF
5078 #define HAVE_ISNANL 1
5084 # Check for available headers.
5085 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5086 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5087 fp.h locale.h float.h inttypes.h
5089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5091 echo "configure:5092: checking for $ac_hdr" >&5
5092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5093 echo $ac_n "(cached) $ac_c" 1>&6
5095 cat > conftest.$ac_ext <<EOF
5096 #line 5097 "configure"
5097 #include "confdefs.h"
5100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5101 { (eval echo configure:5102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5103 if test -z "$ac_err"; then
5105 eval "ac_cv_header_$ac_safe=yes"
5108 echo "configure: failed program was:" >&5
5109 cat conftest.$ac_ext >&5
5111 eval "ac_cv_header_$ac_safe=no"
5115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5116 echo "$ac_t""yes" 1>&6
5117 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5118 cat >> confdefs.h <<EOF
5119 #define $ac_tr_hdr 1
5123 echo "$ac_t""no" 1>&6
5127 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5130 # If we're not using GNU ld, then there's no point in even trying these
5131 # tests. Check for that first. We should have already tested for gld
5132 # by now (in libtool), but require it now just to be safe...
5133 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5134 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5137 # The name set by libtool depends on the version of libtool. Shame on us
5138 # for depending on an impl detail, but c'est la vie. Older versions used
5139 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5140 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5141 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5142 # set (hence we're using an older libtool), then set it.
5143 if test x${with_gnu_ld+set} != xset; then
5144 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5145 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5148 with_gnu_ld=$ac_cv_prog_gnu_ld
5152 # Start by getting the version number. I think the libtool test already
5153 # does some of this, but throws away the result.
5155 ldver=`$LD --version 2>/dev/null | head -1 | \
5156 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5158 glibcpp_gnu_ld_version=`echo $ldver | \
5159 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5161 # Set --gc-sections.
5162 if test "$with_gnu_ld" = "notbroken"; then
5163 # GNU ld it is! Joy and bunny rabbits!
5165 # All these tests are for C++; save the language and the compiler flags.
5166 # Need to do this so that g++ won't try to link in libstdc++
5167 ac_test_CFLAGS="${CFLAGS+set}"
5168 ac_save_CFLAGS="$CFLAGS"
5169 CFLAGS='-x c++ -Wl,--gc-sections'
5171 # Check for -Wl,--gc-sections
5172 # XXX This test is broken at the moment, as symbols required for
5173 # linking are now in libsupc++ (not built yet.....). In addition,
5174 # this test has cored on solaris in the past. In addition,
5175 # --gc-sections doesn't really work at the moment (keeps on discarding
5176 # used sections, first .eh_frame and now some of the glibc sections for
5177 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5178 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5179 echo "configure:5180: checking for ld that supports -Wl,--gc-sections" >&5
5180 if test "$cross_compiling" = yes; then
5181 ac_sectionLDflags=yes
5183 cat > conftest.$ac_ext <<EOF
5184 #line 5185 "configure"
5185 #include "confdefs.h"
5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5197 ac_sectionLDflags=yes
5199 echo "configure: failed program was:" >&5
5200 cat conftest.$ac_ext >&5
5202 ac_sectionLDflags=no
5207 if test "$ac_test_CFLAGS" = set; then
5208 CFLAGS="$ac_save_CFLAGS"
5210 # this is the suspicious part
5213 if test "$ac_sectionLDflags" = "yes"; then
5214 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5216 echo "$ac_t""$ac_sectionLDflags" 1>&6
5219 # Set linker optimization flags.
5220 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5221 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5228 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5229 echo "configure:5230: checking for main in -lm" >&5
5230 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5232 echo $ac_n "(cached) $ac_c" 1>&6
5234 ac_save_LIBS="$LIBS"
5236 cat > conftest.$ac_ext <<EOF
5237 #line 5238 "configure"
5238 #include "confdefs.h"
5244 if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5246 eval "ac_cv_lib_$ac_lib_var=yes"
5248 echo "configure: failed program was:" >&5
5249 cat conftest.$ac_ext >&5
5251 eval "ac_cv_lib_$ac_lib_var=no"
5254 LIBS="$ac_save_LIBS"
5257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5258 echo "$ac_t""yes" 1>&6
5259 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5260 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5261 cat >> confdefs.h <<EOF
5262 #define $ac_tr_lib 1
5268 echo "$ac_t""no" 1>&6
5271 for ac_func in nan copysignf
5273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5274 echo "configure:5275: checking for $ac_func" >&5
5275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5276 echo $ac_n "(cached) $ac_c" 1>&6
5278 cat > conftest.$ac_ext <<EOF
5279 #line 5280 "configure"
5280 #include "confdefs.h"
5281 /* System header to define __stub macros and hopefully few prototypes,
5282 which can conflict with char $ac_func(); below. */
5284 /* Override any gcc2 internal prototype to avoid an error. */
5285 /* We use char because int might match the return type of a gcc2
5286 builtin and then its argument prototype would still apply. */
5291 /* The GNU C library defines this for functions which it implements
5292 to always fail with ENOSYS. Some functions are actually named
5293 something starting with __ and the normal name is an alias. */
5294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5304 eval "ac_cv_func_$ac_func=yes"
5306 echo "configure: failed program was:" >&5
5307 cat conftest.$ac_ext >&5
5309 eval "ac_cv_func_$ac_func=no"
5314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5315 echo "$ac_t""yes" 1>&6
5316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5317 cat >> confdefs.h <<EOF
5318 #define $ac_tr_func 1
5322 echo "$ac_t""no" 1>&6
5323 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5328 for ac_func in __signbit
5330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5331 echo "configure:5332: checking for $ac_func" >&5
5332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5333 echo $ac_n "(cached) $ac_c" 1>&6
5335 cat > conftest.$ac_ext <<EOF
5336 #line 5337 "configure"
5337 #include "confdefs.h"
5338 /* System header to define __stub macros and hopefully few prototypes,
5339 which can conflict with char $ac_func(); below. */
5341 /* Override any gcc2 internal prototype to avoid an error. */
5342 /* We use char because int might match the return type of a gcc2
5343 builtin and then its argument prototype would still apply. */
5348 /* The GNU C library defines this for functions which it implements
5349 to always fail with ENOSYS. Some functions are actually named
5350 something starting with __ and the normal name is an alias. */
5351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5359 if { (eval echo configure:5360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5361 eval "ac_cv_func_$ac_func=yes"
5363 echo "configure: failed program was:" >&5
5364 cat conftest.$ac_ext >&5
5366 eval "ac_cv_func_$ac_func=no"
5371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5372 echo "$ac_t""yes" 1>&6
5373 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5374 cat >> confdefs.h <<EOF
5375 #define $ac_tr_func 1
5379 echo "$ac_t""no" 1>&6
5380 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5384 for ac_func in __signbitf
5386 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5387 echo "configure:5388: checking for $ac_func" >&5
5388 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5389 echo $ac_n "(cached) $ac_c" 1>&6
5391 cat > conftest.$ac_ext <<EOF
5392 #line 5393 "configure"
5393 #include "confdefs.h"
5394 /* System header to define __stub macros and hopefully few prototypes,
5395 which can conflict with char $ac_func(); below. */
5397 /* Override any gcc2 internal prototype to avoid an error. */
5398 /* We use char because int might match the return type of a gcc2
5399 builtin and then its argument prototype would still apply. */
5404 /* The GNU C library defines this for functions which it implements
5405 to always fail with ENOSYS. Some functions are actually named
5406 something starting with __ and the normal name is an alias. */
5407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5417 eval "ac_cv_func_$ac_func=yes"
5419 echo "configure: failed program was:" >&5
5420 cat conftest.$ac_ext >&5
5422 eval "ac_cv_func_$ac_func=no"
5427 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5428 echo "$ac_t""yes" 1>&6
5429 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5430 cat >> confdefs.h <<EOF
5431 #define $ac_tr_func 1
5435 echo "$ac_t""no" 1>&6
5436 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5441 if test x$ac_cv_func_copysignl = x"yes"; then
5442 for ac_func in __signbitl
5444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5445 echo "configure:5446: checking for $ac_func" >&5
5446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5447 echo $ac_n "(cached) $ac_c" 1>&6
5449 cat > conftest.$ac_ext <<EOF
5450 #line 5451 "configure"
5451 #include "confdefs.h"
5452 /* System header to define __stub macros and hopefully few prototypes,
5453 which can conflict with char $ac_func(); below. */
5455 /* Override any gcc2 internal prototype to avoid an error. */
5456 /* We use char because int might match the return type of a gcc2
5457 builtin and then its argument prototype would still apply. */
5462 /* The GNU C library defines this for functions which it implements
5463 to always fail with ENOSYS. Some functions are actually named
5464 something starting with __ and the normal name is an alias. */
5465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5473 if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5475 eval "ac_cv_func_$ac_func=yes"
5477 echo "configure: failed program was:" >&5
5478 cat conftest.$ac_ext >&5
5480 eval "ac_cv_func_$ac_func=no"
5485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5486 echo "$ac_t""yes" 1>&6
5487 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5488 cat >> confdefs.h <<EOF
5489 #define $ac_tr_func 1
5493 echo "$ac_t""no" 1>&6
5494 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5504 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5505 echo "configure:5506: checking for mbstate_t" >&5
5506 cat > conftest.$ac_ext <<EOF
5507 #line 5508 "configure"
5508 #include "confdefs.h"
5511 mbstate_t teststate;
5514 if { (eval echo configure:5515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5518 echo "configure: failed program was:" >&5
5519 cat conftest.$ac_ext >&5
5524 echo "$ac_t""$have_mbstate_t" 1>&6
5525 if test x"$have_mbstate_t" = xyes; then
5526 cat >> confdefs.h <<\EOF
5527 #define HAVE_MBSTATE_T 1
5532 for ac_hdr in wchar.h
5534 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5536 echo "configure:5537: checking for $ac_hdr" >&5
5537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5538 echo $ac_n "(cached) $ac_c" 1>&6
5540 cat > conftest.$ac_ext <<EOF
5541 #line 5542 "configure"
5542 #include "confdefs.h"
5545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5546 { (eval echo configure:5547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5548 if test -z "$ac_err"; then
5550 eval "ac_cv_header_$ac_safe=yes"
5553 echo "configure: failed program was:" >&5
5554 cat conftest.$ac_ext >&5
5556 eval "ac_cv_header_$ac_safe=no"
5560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5561 echo "$ac_t""yes" 1>&6
5562 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5563 cat >> confdefs.h <<EOF
5564 #define $ac_tr_hdr 1
5568 echo "$ac_t""no" 1>&6
5573 for ac_hdr in wctype.h
5575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5577 echo "configure:5578: checking for $ac_hdr" >&5
5578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5579 echo $ac_n "(cached) $ac_c" 1>&6
5581 cat > conftest.$ac_ext <<EOF
5582 #line 5583 "configure"
5583 #include "confdefs.h"
5586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5587 { (eval echo configure:5588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5589 if test -z "$ac_err"; then
5591 eval "ac_cv_header_$ac_safe=yes"
5594 echo "configure: failed program was:" >&5
5595 cat conftest.$ac_ext >&5
5597 eval "ac_cv_header_$ac_safe=no"
5601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5602 echo "$ac_t""yes" 1>&6
5603 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5604 cat >> confdefs.h <<EOF
5605 #define $ac_tr_hdr 1
5609 echo "$ac_t""no" 1>&6
5615 if test x"$ac_has_wchar_h" = xyes &&
5616 test x"$ac_has_wctype_h" = xyes &&
5617 test x"$enable_c_mbchar" != xno; then
5619 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5620 echo "configure:5621: checking for WCHAR_MIN and WCHAR_MAX" >&5
5621 cat > conftest.$ac_ext <<EOF
5622 #line 5623 "configure"
5623 #include "confdefs.h"
5626 int i = WCHAR_MIN; int j = WCHAR_MAX;
5629 if { (eval echo configure:5630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5631 has_wchar_minmax=yes
5633 echo "configure: failed program was:" >&5
5634 cat conftest.$ac_ext >&5
5639 echo "$ac_t""$has_wchar_minmax" 1>&6
5641 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5642 echo "configure:5643: checking for WEOF" >&5
5643 cat > conftest.$ac_ext <<EOF
5644 #line 5645 "configure"
5645 #include "confdefs.h"
5653 if { (eval echo configure:5654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5657 echo "configure: failed program was:" >&5
5658 cat conftest.$ac_ext >&5
5663 echo "$ac_t""$has_weof" 1>&6
5666 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5669 echo "configure:5670: checking for $ac_func" >&5
5670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5671 echo $ac_n "(cached) $ac_c" 1>&6
5673 cat > conftest.$ac_ext <<EOF
5674 #line 5675 "configure"
5675 #include "confdefs.h"
5676 /* System header to define __stub macros and hopefully few prototypes,
5677 which can conflict with char $ac_func(); below. */
5679 /* Override any gcc2 internal prototype to avoid an error. */
5680 /* We use char because int might match the return type of a gcc2
5681 builtin and then its argument prototype would still apply. */
5686 /* The GNU C library defines this for functions which it implements
5687 to always fail with ENOSYS. Some functions are actually named
5688 something starting with __ and the normal name is an alias. */
5689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5697 if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5699 eval "ac_cv_func_$ac_func=yes"
5701 echo "configure: failed program was:" >&5
5702 cat conftest.$ac_ext >&5
5704 eval "ac_cv_func_$ac_func=no"
5709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5710 echo "$ac_t""yes" 1>&6
5711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5712 cat >> confdefs.h <<EOF
5713 #define $ac_tr_func 1
5717 echo "$ac_t""no" 1>&6
5724 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5725 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5726 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5727 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5728 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5729 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5732 echo "configure:5733: checking for $ac_func" >&5
5733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5734 echo $ac_n "(cached) $ac_c" 1>&6
5736 cat > conftest.$ac_ext <<EOF
5737 #line 5738 "configure"
5738 #include "confdefs.h"
5739 /* System header to define __stub macros and hopefully few prototypes,
5740 which can conflict with char $ac_func(); below. */
5742 /* Override any gcc2 internal prototype to avoid an error. */
5743 /* We use char because int might match the return type of a gcc2
5744 builtin and then its argument prototype would still apply. */
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5760 if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5762 eval "ac_cv_func_$ac_func=yes"
5764 echo "configure: failed program was:" >&5
5765 cat conftest.$ac_ext >&5
5767 eval "ac_cv_func_$ac_func=no"
5772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5773 echo "$ac_t""yes" 1>&6
5774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5775 cat >> confdefs.h <<EOF
5776 #define $ac_tr_func 1
5780 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5788 echo "configure:5789: checking for ISO C99 wchar_t support" >&5
5789 if test x"$has_weof" = xyes &&
5790 test x"$has_wchar_minmax" = xyes &&
5791 test x"$ac_wfuncs" = xyes; then
5792 ac_isoC99_wchar_t=yes
5794 ac_isoC99_wchar_t=no
5796 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5798 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5799 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5800 echo "configure:5801: checking for iconv.h" >&5
5801 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5802 echo $ac_n "(cached) $ac_c" 1>&6
5804 cat > conftest.$ac_ext <<EOF
5805 #line 5806 "configure"
5806 #include "confdefs.h"
5809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5810 { (eval echo configure:5811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5812 if test -z "$ac_err"; then
5814 eval "ac_cv_header_$ac_safe=yes"
5817 echo "configure: failed program was:" >&5
5818 cat conftest.$ac_ext >&5
5820 eval "ac_cv_header_$ac_safe=no"
5824 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5825 echo "$ac_t""yes" 1>&6
5828 echo "$ac_t""no" 1>&6
5832 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5833 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5834 echo "configure:5835: checking for langinfo.h" >&5
5835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5836 echo $ac_n "(cached) $ac_c" 1>&6
5838 cat > conftest.$ac_ext <<EOF
5839 #line 5840 "configure"
5840 #include "confdefs.h"
5841 #include <langinfo.h>
5843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5844 { (eval echo configure:5845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5846 if test -z "$ac_err"; then
5848 eval "ac_cv_header_$ac_safe=yes"
5851 echo "configure: failed program was:" >&5
5852 cat conftest.$ac_ext >&5
5854 eval "ac_cv_header_$ac_safe=no"
5858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5859 echo "$ac_t""yes" 1>&6
5860 ac_has_langinfo_h=yes
5862 echo "$ac_t""no" 1>&6
5863 ac_has_langinfo_h=no
5867 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5868 echo "configure:5869: checking for iconv in -liconv" >&5
5869 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5871 echo $ac_n "(cached) $ac_c" 1>&6
5873 ac_save_LIBS="$LIBS"
5874 LIBS="-liconv $LIBS"
5875 cat > conftest.$ac_ext <<EOF
5876 #line 5877 "configure"
5877 #include "confdefs.h"
5878 /* Override any gcc2 internal prototype to avoid an error. */
5879 /* We use char because int might match the return type of a gcc2
5880 builtin and then its argument prototype would still apply. */
5887 if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5889 eval "ac_cv_lib_$ac_lib_var=yes"
5891 echo "configure: failed program was:" >&5
5892 cat conftest.$ac_ext >&5
5894 eval "ac_cv_lib_$ac_lib_var=no"
5897 LIBS="$ac_save_LIBS"
5900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5901 echo "$ac_t""yes" 1>&6
5904 echo "$ac_t""no" 1>&6
5907 ac_save_LIBS="$LIBS"
5908 LIBS="$LIBS $libiconv"
5910 for ac_func in iconv_open iconv_close iconv nl_langinfo
5912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5913 echo "configure:5914: checking for $ac_func" >&5
5914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5915 echo $ac_n "(cached) $ac_c" 1>&6
5917 cat > conftest.$ac_ext <<EOF
5918 #line 5919 "configure"
5919 #include "confdefs.h"
5920 /* System header to define __stub macros and hopefully few prototypes,
5921 which can conflict with char $ac_func(); below. */
5923 /* Override any gcc2 internal prototype to avoid an error. */
5924 /* We use char because int might match the return type of a gcc2
5925 builtin and then its argument prototype would still apply. */
5930 /* The GNU C library defines this for functions which it implements
5931 to always fail with ENOSYS. Some functions are actually named
5932 something starting with __ and the normal name is an alias. */
5933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5941 if { (eval echo configure:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5943 eval "ac_cv_func_$ac_func=yes"
5945 echo "configure: failed program was:" >&5
5946 cat conftest.$ac_ext >&5
5948 eval "ac_cv_func_$ac_func=no"
5953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5954 echo "$ac_t""yes" 1>&6
5955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5956 cat >> confdefs.h <<EOF
5957 #define $ac_tr_func 1
5962 echo "$ac_t""no" 1>&6
5968 LIBS="$ac_save_LIBS"
5970 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5971 echo "configure:5972: checking for XPG2 wchar_t support" >&5
5972 if test x"$ac_has_iconv_h" = xyes &&
5973 test x"$ac_has_langinfo_h" = xyes &&
5974 test x"$ac_XPG2funcs" = xyes; then
5979 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5981 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5982 echo "configure:5983: checking for enabled wchar_t specializations" >&5
5983 if test x"$ac_isoC99_wchar_t" = xyes &&
5984 test x"$ac_XPG2_wchar_t" = xyes; then
5985 cat >> confdefs.h <<\EOF
5986 #define _GLIBCPP_USE_WCHAR_T 1
5989 echo "$ac_t"""yes"" 1>&6
5991 echo "$ac_t"""no"" 1>&6
5994 echo "configure: warning: wchar_t support disabled." 1>&2
5997 os_include_dir="os/hpux"
5998 cat >> confdefs.h <<\EOF
5999 #define HAVE_COPYSIGN 1
6002 cat >> confdefs.h <<\EOF
6003 #define HAVE_COPYSIGNF 1
6006 cat >> confdefs.h <<\EOF
6007 #define HAVE_FREXPF 1
6010 cat >> confdefs.h <<\EOF
6011 #define HAVE_HYPOT 1
6014 case "$target_alias" in
6016 cat >> confdefs.h <<\EOF
6017 #define HAVE_FINITE 1
6020 cat >> confdefs.h <<\EOF
6021 #define HAVE_FINITEF 1
6024 cat >> confdefs.h <<\EOF
6025 #define HAVE_ISINF 1
6028 cat >> confdefs.h <<\EOF
6029 #define HAVE_ISINFF 1
6032 cat >> confdefs.h <<\EOF
6033 #define HAVE_ISNAN 1
6036 cat >> confdefs.h <<\EOF
6037 #define HAVE_ISNANF 1
6045 # Check for available headers.
6046 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6047 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6048 fp.h locale.h float.h inttypes.h
6050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6052 echo "configure:6053: checking for $ac_hdr" >&5
6053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6054 echo $ac_n "(cached) $ac_c" 1>&6
6056 cat > conftest.$ac_ext <<EOF
6057 #line 6058 "configure"
6058 #include "confdefs.h"
6061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6062 { (eval echo configure:6063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6064 if test -z "$ac_err"; then
6066 eval "ac_cv_header_$ac_safe=yes"
6069 echo "configure: failed program was:" >&5
6070 cat conftest.$ac_ext >&5
6072 eval "ac_cv_header_$ac_safe=no"
6076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6077 echo "$ac_t""yes" 1>&6
6078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6079 cat >> confdefs.h <<EOF
6080 #define $ac_tr_hdr 1
6084 echo "$ac_t""no" 1>&6
6088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6091 # If we're not using GNU ld, then there's no point in even trying these
6092 # tests. Check for that first. We should have already tested for gld
6093 # by now (in libtool), but require it now just to be safe...
6094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6098 # The name set by libtool depends on the version of libtool. Shame on us
6099 # for depending on an impl detail, but c'est la vie. Older versions used
6100 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6101 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6102 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6103 # set (hence we're using an older libtool), then set it.
6104 if test x${with_gnu_ld+set} != xset; then
6105 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6106 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6109 with_gnu_ld=$ac_cv_prog_gnu_ld
6113 # Start by getting the version number. I think the libtool test already
6114 # does some of this, but throws away the result.
6116 ldver=`$LD --version 2>/dev/null | head -1 | \
6117 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6119 glibcpp_gnu_ld_version=`echo $ldver | \
6120 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6122 # Set --gc-sections.
6123 if test "$with_gnu_ld" = "notbroken"; then
6124 # GNU ld it is! Joy and bunny rabbits!
6126 # All these tests are for C++; save the language and the compiler flags.
6127 # Need to do this so that g++ won't try to link in libstdc++
6128 ac_test_CFLAGS="${CFLAGS+set}"
6129 ac_save_CFLAGS="$CFLAGS"
6130 CFLAGS='-x c++ -Wl,--gc-sections'
6132 # Check for -Wl,--gc-sections
6133 # XXX This test is broken at the moment, as symbols required for
6134 # linking are now in libsupc++ (not built yet.....). In addition,
6135 # this test has cored on solaris in the past. In addition,
6136 # --gc-sections doesn't really work at the moment (keeps on discarding
6137 # used sections, first .eh_frame and now some of the glibc sections for
6138 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6139 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6140 echo "configure:6141: checking for ld that supports -Wl,--gc-sections" >&5
6141 if test "$cross_compiling" = yes; then
6142 ac_sectionLDflags=yes
6144 cat > conftest.$ac_ext <<EOF
6145 #line 6146 "configure"
6146 #include "confdefs.h"
6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6158 ac_sectionLDflags=yes
6160 echo "configure: failed program was:" >&5
6161 cat conftest.$ac_ext >&5
6163 ac_sectionLDflags=no
6168 if test "$ac_test_CFLAGS" = set; then
6169 CFLAGS="$ac_save_CFLAGS"
6171 # this is the suspicious part
6174 if test "$ac_sectionLDflags" = "yes"; then
6175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6177 echo "$ac_t""$ac_sectionLDflags" 1>&6
6180 # Set linker optimization flags.
6181 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6182 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6189 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6190 echo "configure:6191: checking for main in -lm" >&5
6191 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6193 echo $ac_n "(cached) $ac_c" 1>&6
6195 ac_save_LIBS="$LIBS"
6197 cat > conftest.$ac_ext <<EOF
6198 #line 6199 "configure"
6199 #include "confdefs.h"
6205 if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6207 eval "ac_cv_lib_$ac_lib_var=yes"
6209 echo "configure: failed program was:" >&5
6210 cat conftest.$ac_ext >&5
6212 eval "ac_cv_lib_$ac_lib_var=no"
6215 LIBS="$ac_save_LIBS"
6218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6219 echo "$ac_t""yes" 1>&6
6220 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6221 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6222 cat >> confdefs.h <<EOF
6223 #define $ac_tr_lib 1
6229 echo "$ac_t""no" 1>&6
6232 for ac_func in nan copysignf
6234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6235 echo "configure:6236: checking for $ac_func" >&5
6236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6237 echo $ac_n "(cached) $ac_c" 1>&6
6239 cat > conftest.$ac_ext <<EOF
6240 #line 6241 "configure"
6241 #include "confdefs.h"
6242 /* System header to define __stub macros and hopefully few prototypes,
6243 which can conflict with char $ac_func(); below. */
6245 /* Override any gcc2 internal prototype to avoid an error. */
6246 /* We use char because int might match the return type of a gcc2
6247 builtin and then its argument prototype would still apply. */
6252 /* The GNU C library defines this for functions which it implements
6253 to always fail with ENOSYS. Some functions are actually named
6254 something starting with __ and the normal name is an alias. */
6255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6263 if { (eval echo configure:6264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6265 eval "ac_cv_func_$ac_func=yes"
6267 echo "configure: failed program was:" >&5
6268 cat conftest.$ac_ext >&5
6270 eval "ac_cv_func_$ac_func=no"
6275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6276 echo "$ac_t""yes" 1>&6
6277 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6278 cat >> confdefs.h <<EOF
6279 #define $ac_tr_func 1
6283 echo "$ac_t""no" 1>&6
6284 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6289 for ac_func in __signbit
6291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6292 echo "configure:6293: checking for $ac_func" >&5
6293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6294 echo $ac_n "(cached) $ac_c" 1>&6
6296 cat > conftest.$ac_ext <<EOF
6297 #line 6298 "configure"
6298 #include "confdefs.h"
6299 /* System header to define __stub macros and hopefully few prototypes,
6300 which can conflict with char $ac_func(); below. */
6302 /* Override any gcc2 internal prototype to avoid an error. */
6303 /* We use char because int might match the return type of a gcc2
6304 builtin and then its argument prototype would still apply. */
6309 /* The GNU C library defines this for functions which it implements
6310 to always fail with ENOSYS. Some functions are actually named
6311 something starting with __ and the normal name is an alias. */
6312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6320 if { (eval echo configure:6321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6322 eval "ac_cv_func_$ac_func=yes"
6324 echo "configure: failed program was:" >&5
6325 cat conftest.$ac_ext >&5
6327 eval "ac_cv_func_$ac_func=no"
6332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6333 echo "$ac_t""yes" 1>&6
6334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6335 cat >> confdefs.h <<EOF
6336 #define $ac_tr_func 1
6340 echo "$ac_t""no" 1>&6
6341 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6345 for ac_func in __signbitf
6347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6348 echo "configure:6349: checking for $ac_func" >&5
6349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6350 echo $ac_n "(cached) $ac_c" 1>&6
6352 cat > conftest.$ac_ext <<EOF
6353 #line 6354 "configure"
6354 #include "confdefs.h"
6355 /* System header to define __stub macros and hopefully few prototypes,
6356 which can conflict with char $ac_func(); below. */
6358 /* Override any gcc2 internal prototype to avoid an error. */
6359 /* We use char because int might match the return type of a gcc2
6360 builtin and then its argument prototype would still apply. */
6365 /* The GNU C library defines this for functions which it implements
6366 to always fail with ENOSYS. Some functions are actually named
6367 something starting with __ and the normal name is an alias. */
6368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6376 if { (eval echo configure:6377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6378 eval "ac_cv_func_$ac_func=yes"
6380 echo "configure: failed program was:" >&5
6381 cat conftest.$ac_ext >&5
6383 eval "ac_cv_func_$ac_func=no"
6388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6389 echo "$ac_t""yes" 1>&6
6390 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6391 cat >> confdefs.h <<EOF
6392 #define $ac_tr_func 1
6396 echo "$ac_t""no" 1>&6
6397 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6402 if test x$ac_cv_func_copysignl = x"yes"; then
6403 for ac_func in __signbitl
6405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6406 echo "configure:6407: checking for $ac_func" >&5
6407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6408 echo $ac_n "(cached) $ac_c" 1>&6
6410 cat > conftest.$ac_ext <<EOF
6411 #line 6412 "configure"
6412 #include "confdefs.h"
6413 /* System header to define __stub macros and hopefully few prototypes,
6414 which can conflict with char $ac_func(); below. */
6416 /* Override any gcc2 internal prototype to avoid an error. */
6417 /* We use char because int might match the return type of a gcc2
6418 builtin and then its argument prototype would still apply. */
6423 /* The GNU C library defines this for functions which it implements
6424 to always fail with ENOSYS. Some functions are actually named
6425 something starting with __ and the normal name is an alias. */
6426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6436 eval "ac_cv_func_$ac_func=yes"
6438 echo "configure: failed program was:" >&5
6439 cat conftest.$ac_ext >&5
6441 eval "ac_cv_func_$ac_func=no"
6446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6447 echo "$ac_t""yes" 1>&6
6448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6449 cat >> confdefs.h <<EOF
6450 #define $ac_tr_func 1
6454 echo "$ac_t""no" 1>&6
6455 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6465 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6466 echo "configure:6467: checking for mbstate_t" >&5
6467 cat > conftest.$ac_ext <<EOF
6468 #line 6469 "configure"
6469 #include "confdefs.h"
6472 mbstate_t teststate;
6475 if { (eval echo configure:6476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6479 echo "configure: failed program was:" >&5
6480 cat conftest.$ac_ext >&5
6485 echo "$ac_t""$have_mbstate_t" 1>&6
6486 if test x"$have_mbstate_t" = xyes; then
6487 cat >> confdefs.h <<\EOF
6488 #define HAVE_MBSTATE_T 1
6493 for ac_hdr in wchar.h
6495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6497 echo "configure:6498: checking for $ac_hdr" >&5
6498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6499 echo $ac_n "(cached) $ac_c" 1>&6
6501 cat > conftest.$ac_ext <<EOF
6502 #line 6503 "configure"
6503 #include "confdefs.h"
6506 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6507 { (eval echo configure:6508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6508 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6509 if test -z "$ac_err"; then
6511 eval "ac_cv_header_$ac_safe=yes"
6514 echo "configure: failed program was:" >&5
6515 cat conftest.$ac_ext >&5
6517 eval "ac_cv_header_$ac_safe=no"
6521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6522 echo "$ac_t""yes" 1>&6
6523 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6524 cat >> confdefs.h <<EOF
6525 #define $ac_tr_hdr 1
6529 echo "$ac_t""no" 1>&6
6534 for ac_hdr in wctype.h
6536 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6538 echo "configure:6539: checking for $ac_hdr" >&5
6539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6
6542 cat > conftest.$ac_ext <<EOF
6543 #line 6544 "configure"
6544 #include "confdefs.h"
6547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6548 { (eval echo configure:6549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6550 if test -z "$ac_err"; then
6552 eval "ac_cv_header_$ac_safe=yes"
6555 echo "configure: failed program was:" >&5
6556 cat conftest.$ac_ext >&5
6558 eval "ac_cv_header_$ac_safe=no"
6562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6563 echo "$ac_t""yes" 1>&6
6564 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6565 cat >> confdefs.h <<EOF
6566 #define $ac_tr_hdr 1
6570 echo "$ac_t""no" 1>&6
6576 if test x"$ac_has_wchar_h" = xyes &&
6577 test x"$ac_has_wctype_h" = xyes &&
6578 test x"$enable_c_mbchar" != xno; then
6580 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6581 echo "configure:6582: checking for WCHAR_MIN and WCHAR_MAX" >&5
6582 cat > conftest.$ac_ext <<EOF
6583 #line 6584 "configure"
6584 #include "confdefs.h"
6587 int i = WCHAR_MIN; int j = WCHAR_MAX;
6590 if { (eval echo configure:6591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6592 has_wchar_minmax=yes
6594 echo "configure: failed program was:" >&5
6595 cat conftest.$ac_ext >&5
6600 echo "$ac_t""$has_wchar_minmax" 1>&6
6602 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6603 echo "configure:6604: checking for WEOF" >&5
6604 cat > conftest.$ac_ext <<EOF
6605 #line 6606 "configure"
6606 #include "confdefs.h"
6614 if { (eval echo configure:6615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6618 echo "configure: failed program was:" >&5
6619 cat conftest.$ac_ext >&5
6624 echo "$ac_t""$has_weof" 1>&6
6627 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6630 echo "configure:6631: checking for $ac_func" >&5
6631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6
6634 cat > conftest.$ac_ext <<EOF
6635 #line 6636 "configure"
6636 #include "confdefs.h"
6637 /* System header to define __stub macros and hopefully few prototypes,
6638 which can conflict with char $ac_func(); below. */
6640 /* Override any gcc2 internal prototype to avoid an error. */
6641 /* We use char because int might match the return type of a gcc2
6642 builtin and then its argument prototype would still apply. */
6647 /* The GNU C library defines this for functions which it implements
6648 to always fail with ENOSYS. Some functions are actually named
6649 something starting with __ and the normal name is an alias. */
6650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6658 if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6660 eval "ac_cv_func_$ac_func=yes"
6662 echo "configure: failed program was:" >&5
6663 cat conftest.$ac_ext >&5
6665 eval "ac_cv_func_$ac_func=no"
6670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6671 echo "$ac_t""yes" 1>&6
6672 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6673 cat >> confdefs.h <<EOF
6674 #define $ac_tr_func 1
6678 echo "$ac_t""no" 1>&6
6685 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6686 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6687 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6688 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6689 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6690 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6693 echo "configure:6694: checking for $ac_func" >&5
6694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6695 echo $ac_n "(cached) $ac_c" 1>&6
6697 cat > conftest.$ac_ext <<EOF
6698 #line 6699 "configure"
6699 #include "confdefs.h"
6700 /* System header to define __stub macros and hopefully few prototypes,
6701 which can conflict with char $ac_func(); below. */
6703 /* Override any gcc2 internal prototype to avoid an error. */
6704 /* We use char because int might match the return type of a gcc2
6705 builtin and then its argument prototype would still apply. */
6710 /* The GNU C library defines this for functions which it implements
6711 to always fail with ENOSYS. Some functions are actually named
6712 something starting with __ and the normal name is an alias. */
6713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6721 if { (eval echo configure:6722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6723 eval "ac_cv_func_$ac_func=yes"
6725 echo "configure: failed program was:" >&5
6726 cat conftest.$ac_ext >&5
6728 eval "ac_cv_func_$ac_func=no"
6733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6734 echo "$ac_t""yes" 1>&6
6735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6736 cat >> confdefs.h <<EOF
6737 #define $ac_tr_func 1
6741 echo "$ac_t""no" 1>&6
6748 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6749 echo "configure:6750: checking for ISO C99 wchar_t support" >&5
6750 if test x"$has_weof" = xyes &&
6751 test x"$has_wchar_minmax" = xyes &&
6752 test x"$ac_wfuncs" = xyes; then
6753 ac_isoC99_wchar_t=yes
6755 ac_isoC99_wchar_t=no
6757 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6759 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6760 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6761 echo "configure:6762: checking for iconv.h" >&5
6762 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6763 echo $ac_n "(cached) $ac_c" 1>&6
6765 cat > conftest.$ac_ext <<EOF
6766 #line 6767 "configure"
6767 #include "confdefs.h"
6770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6771 { (eval echo configure:6772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6773 if test -z "$ac_err"; then
6775 eval "ac_cv_header_$ac_safe=yes"
6778 echo "configure: failed program was:" >&5
6779 cat conftest.$ac_ext >&5
6781 eval "ac_cv_header_$ac_safe=no"
6785 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6786 echo "$ac_t""yes" 1>&6
6789 echo "$ac_t""no" 1>&6
6793 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6794 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6795 echo "configure:6796: checking for langinfo.h" >&5
6796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6797 echo $ac_n "(cached) $ac_c" 1>&6
6799 cat > conftest.$ac_ext <<EOF
6800 #line 6801 "configure"
6801 #include "confdefs.h"
6802 #include <langinfo.h>
6804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6805 { (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6807 if test -z "$ac_err"; then
6809 eval "ac_cv_header_$ac_safe=yes"
6812 echo "configure: failed program was:" >&5
6813 cat conftest.$ac_ext >&5
6815 eval "ac_cv_header_$ac_safe=no"
6819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6820 echo "$ac_t""yes" 1>&6
6821 ac_has_langinfo_h=yes
6823 echo "$ac_t""no" 1>&6
6824 ac_has_langinfo_h=no
6828 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6829 echo "configure:6830: checking for iconv in -liconv" >&5
6830 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6832 echo $ac_n "(cached) $ac_c" 1>&6
6834 ac_save_LIBS="$LIBS"
6835 LIBS="-liconv $LIBS"
6836 cat > conftest.$ac_ext <<EOF
6837 #line 6838 "configure"
6838 #include "confdefs.h"
6839 /* Override any gcc2 internal prototype to avoid an error. */
6840 /* We use char because int might match the return type of a gcc2
6841 builtin and then its argument prototype would still apply. */
6848 if { (eval echo configure:6849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6850 eval "ac_cv_lib_$ac_lib_var=yes"
6852 echo "configure: failed program was:" >&5
6853 cat conftest.$ac_ext >&5
6855 eval "ac_cv_lib_$ac_lib_var=no"
6858 LIBS="$ac_save_LIBS"
6861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6862 echo "$ac_t""yes" 1>&6
6865 echo "$ac_t""no" 1>&6
6868 ac_save_LIBS="$LIBS"
6869 LIBS="$LIBS $libiconv"
6871 for ac_func in iconv_open iconv_close iconv nl_langinfo
6873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6874 echo "configure:6875: checking for $ac_func" >&5
6875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6876 echo $ac_n "(cached) $ac_c" 1>&6
6878 cat > conftest.$ac_ext <<EOF
6879 #line 6880 "configure"
6880 #include "confdefs.h"
6881 /* System header to define __stub macros and hopefully few prototypes,
6882 which can conflict with char $ac_func(); below. */
6884 /* Override any gcc2 internal prototype to avoid an error. */
6885 /* We use char because int might match the return type of a gcc2
6886 builtin and then its argument prototype would still apply. */
6891 /* The GNU C library defines this for functions which it implements
6892 to always fail with ENOSYS. Some functions are actually named
6893 something starting with __ and the normal name is an alias. */
6894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6902 if { (eval echo configure:6903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6904 eval "ac_cv_func_$ac_func=yes"
6906 echo "configure: failed program was:" >&5
6907 cat conftest.$ac_ext >&5
6909 eval "ac_cv_func_$ac_func=no"
6914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6915 echo "$ac_t""yes" 1>&6
6916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6917 cat >> confdefs.h <<EOF
6918 #define $ac_tr_func 1
6923 echo "$ac_t""no" 1>&6
6929 LIBS="$ac_save_LIBS"
6931 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6932 echo "configure:6933: checking for XPG2 wchar_t support" >&5
6933 if test x"$ac_has_iconv_h" = xyes &&
6934 test x"$ac_has_langinfo_h" = xyes &&
6935 test x"$ac_XPG2funcs" = xyes; then
6940 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6942 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6943 echo "configure:6944: checking for enabled wchar_t specializations" >&5
6944 if test x"$ac_isoC99_wchar_t" = xyes &&
6945 test x"$ac_XPG2_wchar_t" = xyes; then
6946 cat >> confdefs.h <<\EOF
6947 #define _GLIBCPP_USE_WCHAR_T 1
6950 echo "$ac_t"""yes"" 1>&6
6952 echo "$ac_t"""no"" 1>&6
6955 echo "configure: warning: wchar_t support disabled." 1>&2
6958 os_include_dir="os/bsd/netbsd"
6959 cat >> confdefs.h <<\EOF
6960 #define HAVE_COPYSIGN 1
6963 cat >> confdefs.h <<\EOF
6964 #define HAVE_COPYSIGNF 1
6967 cat >> confdefs.h <<\EOF
6968 #define HAVE_FINITEF 1
6971 cat >> confdefs.h <<\EOF
6972 #define HAVE_FINITE 1
6975 cat >> confdefs.h <<\EOF
6976 #define HAVE_FREXPF 1
6979 cat >> confdefs.h <<\EOF
6980 #define HAVE_HYPOTF 1
6983 cat >> confdefs.h <<\EOF
6984 #define HAVE_ISINF 1
6987 cat >> confdefs.h <<\EOF
6988 #define HAVE_ISINFF 1
6991 cat >> confdefs.h <<\EOF
6992 #define HAVE_ISNAN 1
6995 cat >> confdefs.h <<\EOF
6996 #define HAVE_ISNANF 1
6999 if test x"long_double_math_on_this_cpu" = x"yes"; then
7000 cat >> confdefs.h <<\EOF
7001 #define HAVE_FINITEL 1
7004 cat >> confdefs.h <<\EOF
7005 #define HAVE_ISINFL 1
7008 cat >> confdefs.h <<\EOF
7009 #define HAVE_ISNANL 1
7015 for ac_hdr in sys/types.h locale.h float.h
7017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7019 echo "configure:7020: checking for $ac_hdr" >&5
7020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7021 echo $ac_n "(cached) $ac_c" 1>&6
7023 cat > conftest.$ac_ext <<EOF
7024 #line 7025 "configure"
7025 #include "confdefs.h"
7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7031 if test -z "$ac_err"; then
7033 eval "ac_cv_header_$ac_safe=yes"
7036 echo "configure: failed program was:" >&5
7037 cat conftest.$ac_ext >&5
7039 eval "ac_cv_header_$ac_safe=no"
7043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7044 echo "$ac_t""yes" 1>&6
7045 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7046 cat >> confdefs.h <<EOF
7047 #define $ac_tr_hdr 1
7051 echo "$ac_t""no" 1>&6
7056 # If we're not using GNU ld, then there's no point in even trying these
7057 # tests. Check for that first. We should have already tested for gld
7058 # by now (in libtool), but require it now just to be safe...
7059 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7060 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7063 # The name set by libtool depends on the version of libtool. Shame on us
7064 # for depending on an impl detail, but c'est la vie. Older versions used
7065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7068 # set (hence we're using an older libtool), then set it.
7069 if test x${with_gnu_ld+set} != xset; then
7070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7074 with_gnu_ld=$ac_cv_prog_gnu_ld
7078 # Start by getting the version number. I think the libtool test already
7079 # does some of this, but throws away the result.
7081 ldver=`$LD --version 2>/dev/null | head -1 | \
7082 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7084 glibcpp_gnu_ld_version=`echo $ldver | \
7085 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7087 # Set --gc-sections.
7088 if test "$with_gnu_ld" = "notbroken"; then
7089 # GNU ld it is! Joy and bunny rabbits!
7091 # All these tests are for C++; save the language and the compiler flags.
7092 # Need to do this so that g++ won't try to link in libstdc++
7093 ac_test_CFLAGS="${CFLAGS+set}"
7094 ac_save_CFLAGS="$CFLAGS"
7095 CFLAGS='-x c++ -Wl,--gc-sections'
7097 # Check for -Wl,--gc-sections
7098 # XXX This test is broken at the moment, as symbols required for
7099 # linking are now in libsupc++ (not built yet.....). In addition,
7100 # this test has cored on solaris in the past. In addition,
7101 # --gc-sections doesn't really work at the moment (keeps on discarding
7102 # used sections, first .eh_frame and now some of the glibc sections for
7103 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7104 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7105 echo "configure:7106: checking for ld that supports -Wl,--gc-sections" >&5
7106 if test "$cross_compiling" = yes; then
7107 ac_sectionLDflags=yes
7109 cat > conftest.$ac_ext <<EOF
7110 #line 7111 "configure"
7111 #include "confdefs.h"
7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7123 ac_sectionLDflags=yes
7125 echo "configure: failed program was:" >&5
7126 cat conftest.$ac_ext >&5
7128 ac_sectionLDflags=no
7133 if test "$ac_test_CFLAGS" = set; then
7134 CFLAGS="$ac_save_CFLAGS"
7136 # this is the suspicious part
7139 if test "$ac_sectionLDflags" = "yes"; then
7140 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7142 echo "$ac_t""$ac_sectionLDflags" 1>&6
7145 # Set linker optimization flags.
7146 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7154 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7155 echo "configure:7156: checking for main in -lm" >&5
7156 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7158 echo $ac_n "(cached) $ac_c" 1>&6
7160 ac_save_LIBS="$LIBS"
7162 cat > conftest.$ac_ext <<EOF
7163 #line 7164 "configure"
7164 #include "confdefs.h"
7170 if { (eval echo configure:7171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7172 eval "ac_cv_lib_$ac_lib_var=yes"
7174 echo "configure: failed program was:" >&5
7175 cat conftest.$ac_ext >&5
7177 eval "ac_cv_lib_$ac_lib_var=no"
7180 LIBS="$ac_save_LIBS"
7183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7184 echo "$ac_t""yes" 1>&6
7185 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7186 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7187 cat >> confdefs.h <<EOF
7188 #define $ac_tr_lib 1
7194 echo "$ac_t""no" 1>&6
7197 for ac_func in nan copysignf
7199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7200 echo "configure:7201: checking for $ac_func" >&5
7201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7202 echo $ac_n "(cached) $ac_c" 1>&6
7204 cat > conftest.$ac_ext <<EOF
7205 #line 7206 "configure"
7206 #include "confdefs.h"
7207 /* System header to define __stub macros and hopefully few prototypes,
7208 which can conflict with char $ac_func(); below. */
7210 /* Override any gcc2 internal prototype to avoid an error. */
7211 /* We use char because int might match the return type of a gcc2
7212 builtin and then its argument prototype would still apply. */
7217 /* The GNU C library defines this for functions which it implements
7218 to always fail with ENOSYS. Some functions are actually named
7219 something starting with __ and the normal name is an alias. */
7220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7228 if { (eval echo configure:7229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7230 eval "ac_cv_func_$ac_func=yes"
7232 echo "configure: failed program was:" >&5
7233 cat conftest.$ac_ext >&5
7235 eval "ac_cv_func_$ac_func=no"
7240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7241 echo "$ac_t""yes" 1>&6
7242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7243 cat >> confdefs.h <<EOF
7244 #define $ac_tr_func 1
7248 echo "$ac_t""no" 1>&6
7249 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7254 for ac_func in __signbit
7256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7257 echo "configure:7258: checking for $ac_func" >&5
7258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7259 echo $ac_n "(cached) $ac_c" 1>&6
7261 cat > conftest.$ac_ext <<EOF
7262 #line 7263 "configure"
7263 #include "confdefs.h"
7264 /* System header to define __stub macros and hopefully few prototypes,
7265 which can conflict with char $ac_func(); below. */
7267 /* Override any gcc2 internal prototype to avoid an error. */
7268 /* We use char because int might match the return type of a gcc2
7269 builtin and then its argument prototype would still apply. */
7274 /* The GNU C library defines this for functions which it implements
7275 to always fail with ENOSYS. Some functions are actually named
7276 something starting with __ and the normal name is an alias. */
7277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7287 eval "ac_cv_func_$ac_func=yes"
7289 echo "configure: failed program was:" >&5
7290 cat conftest.$ac_ext >&5
7292 eval "ac_cv_func_$ac_func=no"
7297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7298 echo "$ac_t""yes" 1>&6
7299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7300 cat >> confdefs.h <<EOF
7301 #define $ac_tr_func 1
7305 echo "$ac_t""no" 1>&6
7306 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7310 for ac_func in __signbitf
7312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7313 echo "configure:7314: checking for $ac_func" >&5
7314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7315 echo $ac_n "(cached) $ac_c" 1>&6
7317 cat > conftest.$ac_ext <<EOF
7318 #line 7319 "configure"
7319 #include "confdefs.h"
7320 /* System header to define __stub macros and hopefully few prototypes,
7321 which can conflict with char $ac_func(); below. */
7323 /* Override any gcc2 internal prototype to avoid an error. */
7324 /* We use char because int might match the return type of a gcc2
7325 builtin and then its argument prototype would still apply. */
7330 /* The GNU C library defines this for functions which it implements
7331 to always fail with ENOSYS. Some functions are actually named
7332 something starting with __ and the normal name is an alias. */
7333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7341 if { (eval echo configure:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7343 eval "ac_cv_func_$ac_func=yes"
7345 echo "configure: failed program was:" >&5
7346 cat conftest.$ac_ext >&5
7348 eval "ac_cv_func_$ac_func=no"
7353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7354 echo "$ac_t""yes" 1>&6
7355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7356 cat >> confdefs.h <<EOF
7357 #define $ac_tr_func 1
7361 echo "$ac_t""no" 1>&6
7362 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7367 if test x$ac_cv_func_copysignl = x"yes"; then
7368 for ac_func in __signbitl
7370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7371 echo "configure:7372: checking for $ac_func" >&5
7372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7373 echo $ac_n "(cached) $ac_c" 1>&6
7375 cat > conftest.$ac_ext <<EOF
7376 #line 7377 "configure"
7377 #include "confdefs.h"
7378 /* System header to define __stub macros and hopefully few prototypes,
7379 which can conflict with char $ac_func(); below. */
7381 /* Override any gcc2 internal prototype to avoid an error. */
7382 /* We use char because int might match the return type of a gcc2
7383 builtin and then its argument prototype would still apply. */
7388 /* The GNU C library defines this for functions which it implements
7389 to always fail with ENOSYS. Some functions are actually named
7390 something starting with __ and the normal name is an alias. */
7391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7399 if { (eval echo configure:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7401 eval "ac_cv_func_$ac_func=yes"
7403 echo "configure: failed program was:" >&5
7404 cat conftest.$ac_ext >&5
7406 eval "ac_cv_func_$ac_func=no"
7411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7412 echo "$ac_t""yes" 1>&6
7413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7414 cat >> confdefs.h <<EOF
7415 #define $ac_tr_func 1
7419 echo "$ac_t""no" 1>&6
7420 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7430 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7431 echo "configure:7432: checking for mbstate_t" >&5
7432 cat > conftest.$ac_ext <<EOF
7433 #line 7434 "configure"
7434 #include "confdefs.h"
7437 mbstate_t teststate;
7440 if { (eval echo configure:7441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7444 echo "configure: failed program was:" >&5
7445 cat conftest.$ac_ext >&5
7450 echo "$ac_t""$have_mbstate_t" 1>&6
7451 if test x"$have_mbstate_t" = xyes; then
7452 cat >> confdefs.h <<\EOF
7453 #define HAVE_MBSTATE_T 1
7458 for ac_hdr in wchar.h
7460 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7462 echo "configure:7463: checking for $ac_hdr" >&5
7463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7464 echo $ac_n "(cached) $ac_c" 1>&6
7466 cat > conftest.$ac_ext <<EOF
7467 #line 7468 "configure"
7468 #include "confdefs.h"
7471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7472 { (eval echo configure:7473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7474 if test -z "$ac_err"; then
7476 eval "ac_cv_header_$ac_safe=yes"
7479 echo "configure: failed program was:" >&5
7480 cat conftest.$ac_ext >&5
7482 eval "ac_cv_header_$ac_safe=no"
7486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7487 echo "$ac_t""yes" 1>&6
7488 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7489 cat >> confdefs.h <<EOF
7490 #define $ac_tr_hdr 1
7494 echo "$ac_t""no" 1>&6
7499 for ac_hdr in wctype.h
7501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7503 echo "configure:7504: checking for $ac_hdr" >&5
7504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7505 echo $ac_n "(cached) $ac_c" 1>&6
7507 cat > conftest.$ac_ext <<EOF
7508 #line 7509 "configure"
7509 #include "confdefs.h"
7512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7513 { (eval echo configure:7514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7515 if test -z "$ac_err"; then
7517 eval "ac_cv_header_$ac_safe=yes"
7520 echo "configure: failed program was:" >&5
7521 cat conftest.$ac_ext >&5
7523 eval "ac_cv_header_$ac_safe=no"
7527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7528 echo "$ac_t""yes" 1>&6
7529 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7530 cat >> confdefs.h <<EOF
7531 #define $ac_tr_hdr 1
7535 echo "$ac_t""no" 1>&6
7541 if test x"$ac_has_wchar_h" = xyes &&
7542 test x"$ac_has_wctype_h" = xyes &&
7543 test x"$enable_c_mbchar" != xno; then
7545 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7546 echo "configure:7547: checking for WCHAR_MIN and WCHAR_MAX" >&5
7547 cat > conftest.$ac_ext <<EOF
7548 #line 7549 "configure"
7549 #include "confdefs.h"
7552 int i = WCHAR_MIN; int j = WCHAR_MAX;
7555 if { (eval echo configure:7556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7557 has_wchar_minmax=yes
7559 echo "configure: failed program was:" >&5
7560 cat conftest.$ac_ext >&5
7565 echo "$ac_t""$has_wchar_minmax" 1>&6
7567 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7568 echo "configure:7569: checking for WEOF" >&5
7569 cat > conftest.$ac_ext <<EOF
7570 #line 7571 "configure"
7571 #include "confdefs.h"
7579 if { (eval echo configure:7580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7583 echo "configure: failed program was:" >&5
7584 cat conftest.$ac_ext >&5
7589 echo "$ac_t""$has_weof" 1>&6
7592 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7595 echo "configure:7596: checking for $ac_func" >&5
7596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7597 echo $ac_n "(cached) $ac_c" 1>&6
7599 cat > conftest.$ac_ext <<EOF
7600 #line 7601 "configure"
7601 #include "confdefs.h"
7602 /* System header to define __stub macros and hopefully few prototypes,
7603 which can conflict with char $ac_func(); below. */
7605 /* Override any gcc2 internal prototype to avoid an error. */
7606 /* We use char because int might match the return type of a gcc2
7607 builtin and then its argument prototype would still apply. */
7612 /* The GNU C library defines this for functions which it implements
7613 to always fail with ENOSYS. Some functions are actually named
7614 something starting with __ and the normal name is an alias. */
7615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7623 if { (eval echo configure:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7625 eval "ac_cv_func_$ac_func=yes"
7627 echo "configure: failed program was:" >&5
7628 cat conftest.$ac_ext >&5
7630 eval "ac_cv_func_$ac_func=no"
7635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7636 echo "$ac_t""yes" 1>&6
7637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7638 cat >> confdefs.h <<EOF
7639 #define $ac_tr_func 1
7643 echo "$ac_t""no" 1>&6
7650 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7651 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7652 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7653 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7654 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7655 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7658 echo "configure:7659: checking for $ac_func" >&5
7659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7660 echo $ac_n "(cached) $ac_c" 1>&6
7662 cat > conftest.$ac_ext <<EOF
7663 #line 7664 "configure"
7664 #include "confdefs.h"
7665 /* System header to define __stub macros and hopefully few prototypes,
7666 which can conflict with char $ac_func(); below. */
7668 /* Override any gcc2 internal prototype to avoid an error. */
7669 /* We use char because int might match the return type of a gcc2
7670 builtin and then its argument prototype would still apply. */
7675 /* The GNU C library defines this for functions which it implements
7676 to always fail with ENOSYS. Some functions are actually named
7677 something starting with __ and the normal name is an alias. */
7678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7686 if { (eval echo configure:7687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7688 eval "ac_cv_func_$ac_func=yes"
7690 echo "configure: failed program was:" >&5
7691 cat conftest.$ac_ext >&5
7693 eval "ac_cv_func_$ac_func=no"
7698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7699 echo "$ac_t""yes" 1>&6
7700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7701 cat >> confdefs.h <<EOF
7702 #define $ac_tr_func 1
7706 echo "$ac_t""no" 1>&6
7713 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7714 echo "configure:7715: checking for ISO C99 wchar_t support" >&5
7715 if test x"$has_weof" = xyes &&
7716 test x"$has_wchar_minmax" = xyes &&
7717 test x"$ac_wfuncs" = xyes; then
7718 ac_isoC99_wchar_t=yes
7720 ac_isoC99_wchar_t=no
7722 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7724 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7725 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7726 echo "configure:7727: checking for iconv.h" >&5
7727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7728 echo $ac_n "(cached) $ac_c" 1>&6
7730 cat > conftest.$ac_ext <<EOF
7731 #line 7732 "configure"
7732 #include "confdefs.h"
7735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7736 { (eval echo configure:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7738 if test -z "$ac_err"; then
7740 eval "ac_cv_header_$ac_safe=yes"
7743 echo "configure: failed program was:" >&5
7744 cat conftest.$ac_ext >&5
7746 eval "ac_cv_header_$ac_safe=no"
7750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7751 echo "$ac_t""yes" 1>&6
7754 echo "$ac_t""no" 1>&6
7758 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7759 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7760 echo "configure:7761: checking for langinfo.h" >&5
7761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7762 echo $ac_n "(cached) $ac_c" 1>&6
7764 cat > conftest.$ac_ext <<EOF
7765 #line 7766 "configure"
7766 #include "confdefs.h"
7767 #include <langinfo.h>
7769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7770 { (eval echo configure:7771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7772 if test -z "$ac_err"; then
7774 eval "ac_cv_header_$ac_safe=yes"
7777 echo "configure: failed program was:" >&5
7778 cat conftest.$ac_ext >&5
7780 eval "ac_cv_header_$ac_safe=no"
7784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7785 echo "$ac_t""yes" 1>&6
7786 ac_has_langinfo_h=yes
7788 echo "$ac_t""no" 1>&6
7789 ac_has_langinfo_h=no
7793 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7794 echo "configure:7795: checking for iconv in -liconv" >&5
7795 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7797 echo $ac_n "(cached) $ac_c" 1>&6
7799 ac_save_LIBS="$LIBS"
7800 LIBS="-liconv $LIBS"
7801 cat > conftest.$ac_ext <<EOF
7802 #line 7803 "configure"
7803 #include "confdefs.h"
7804 /* Override any gcc2 internal prototype to avoid an error. */
7805 /* We use char because int might match the return type of a gcc2
7806 builtin and then its argument prototype would still apply. */
7813 if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7815 eval "ac_cv_lib_$ac_lib_var=yes"
7817 echo "configure: failed program was:" >&5
7818 cat conftest.$ac_ext >&5
7820 eval "ac_cv_lib_$ac_lib_var=no"
7823 LIBS="$ac_save_LIBS"
7826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7827 echo "$ac_t""yes" 1>&6
7830 echo "$ac_t""no" 1>&6
7833 ac_save_LIBS="$LIBS"
7834 LIBS="$LIBS $libiconv"
7836 for ac_func in iconv_open iconv_close iconv nl_langinfo
7838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7839 echo "configure:7840: checking for $ac_func" >&5
7840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7841 echo $ac_n "(cached) $ac_c" 1>&6
7843 cat > conftest.$ac_ext <<EOF
7844 #line 7845 "configure"
7845 #include "confdefs.h"
7846 /* System header to define __stub macros and hopefully few prototypes,
7847 which can conflict with char $ac_func(); below. */
7849 /* Override any gcc2 internal prototype to avoid an error. */
7850 /* We use char because int might match the return type of a gcc2
7851 builtin and then its argument prototype would still apply. */
7856 /* The GNU C library defines this for functions which it implements
7857 to always fail with ENOSYS. Some functions are actually named
7858 something starting with __ and the normal name is an alias. */
7859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7869 eval "ac_cv_func_$ac_func=yes"
7871 echo "configure: failed program was:" >&5
7872 cat conftest.$ac_ext >&5
7874 eval "ac_cv_func_$ac_func=no"
7879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7880 echo "$ac_t""yes" 1>&6
7881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7882 cat >> confdefs.h <<EOF
7883 #define $ac_tr_func 1
7888 echo "$ac_t""no" 1>&6
7894 LIBS="$ac_save_LIBS"
7896 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7897 echo "configure:7898: checking for XPG2 wchar_t support" >&5
7898 if test x"$ac_has_iconv_h" = xyes &&
7899 test x"$ac_has_langinfo_h" = xyes &&
7900 test x"$ac_XPG2funcs" = xyes; then
7905 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7907 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7908 echo "configure:7909: checking for enabled wchar_t specializations" >&5
7909 if test x"$ac_isoC99_wchar_t" = xyes &&
7910 test x"$ac_XPG2_wchar_t" = xyes; then
7911 cat >> confdefs.h <<\EOF
7912 #define _GLIBCPP_USE_WCHAR_T 1
7915 echo "$ac_t"""yes"" 1>&6
7917 echo "$ac_t"""no"" 1>&6
7920 echo "configure: warning: wchar_t support disabled." 1>&2
7923 os_include_dir="os/mingw32"
7926 os_include_dir="os/windiss"
7929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7932 # If we're not using GNU ld, then there's no point in even trying these
7933 # tests. Check for that first. We should have already tested for gld
7934 # by now (in libtool), but require it now just to be safe...
7935 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7936 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7939 # The name set by libtool depends on the version of libtool. Shame on us
7940 # for depending on an impl detail, but c'est la vie. Older versions used
7941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7944 # set (hence we're using an older libtool), then set it.
7945 if test x${with_gnu_ld+set} != xset; then
7946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7950 with_gnu_ld=$ac_cv_prog_gnu_ld
7954 # Start by getting the version number. I think the libtool test already
7955 # does some of this, but throws away the result.
7957 ldver=`$LD --version 2>/dev/null | head -1 | \
7958 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7960 glibcpp_gnu_ld_version=`echo $ldver | \
7961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7963 # Set --gc-sections.
7964 if test "$with_gnu_ld" = "notbroken"; then
7965 # GNU ld it is! Joy and bunny rabbits!
7967 # All these tests are for C++; save the language and the compiler flags.
7968 # Need to do this so that g++ won't try to link in libstdc++
7969 ac_test_CFLAGS="${CFLAGS+set}"
7970 ac_save_CFLAGS="$CFLAGS"
7971 CFLAGS='-x c++ -Wl,--gc-sections'
7973 # Check for -Wl,--gc-sections
7974 # XXX This test is broken at the moment, as symbols required for
7975 # linking are now in libsupc++ (not built yet.....). In addition,
7976 # this test has cored on solaris in the past. In addition,
7977 # --gc-sections doesn't really work at the moment (keeps on discarding
7978 # used sections, first .eh_frame and now some of the glibc sections for
7979 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7980 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7981 echo "configure:7982: checking for ld that supports -Wl,--gc-sections" >&5
7982 if test "$cross_compiling" = yes; then
7983 ac_sectionLDflags=yes
7985 cat > conftest.$ac_ext <<EOF
7986 #line 7987 "configure"
7987 #include "confdefs.h"
7997 if { (eval echo configure:7998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7999 ac_sectionLDflags=yes
8001 echo "configure: failed program was:" >&5
8002 cat conftest.$ac_ext >&5
8004 ac_sectionLDflags=no
8009 if test "$ac_test_CFLAGS" = set; then
8010 CFLAGS="$ac_save_CFLAGS"
8012 # this is the suspicious part
8015 if test "$ac_sectionLDflags" = "yes"; then
8016 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8018 echo "$ac_t""$ac_sectionLDflags" 1>&6
8021 # Set linker optimization flags.
8022 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8030 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8031 echo "configure:8032: checking for main in -lm" >&5
8032 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8034 echo $ac_n "(cached) $ac_c" 1>&6
8036 ac_save_LIBS="$LIBS"
8038 cat > conftest.$ac_ext <<EOF
8039 #line 8040 "configure"
8040 #include "confdefs.h"
8046 if { (eval echo configure:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8048 eval "ac_cv_lib_$ac_lib_var=yes"
8050 echo "configure: failed program was:" >&5
8051 cat conftest.$ac_ext >&5
8053 eval "ac_cv_lib_$ac_lib_var=no"
8056 LIBS="$ac_save_LIBS"
8059 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8060 echo "$ac_t""yes" 1>&6
8061 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8062 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8063 cat >> confdefs.h <<EOF
8064 #define $ac_tr_lib 1
8070 echo "$ac_t""no" 1>&6
8073 for ac_func in nan copysignf
8075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8076 echo "configure:8077: checking for $ac_func" >&5
8077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8078 echo $ac_n "(cached) $ac_c" 1>&6
8080 cat > conftest.$ac_ext <<EOF
8081 #line 8082 "configure"
8082 #include "confdefs.h"
8083 /* System header to define __stub macros and hopefully few prototypes,
8084 which can conflict with char $ac_func(); below. */
8086 /* Override any gcc2 internal prototype to avoid an error. */
8087 /* We use char because int might match the return type of a gcc2
8088 builtin and then its argument prototype would still apply. */
8093 /* The GNU C library defines this for functions which it implements
8094 to always fail with ENOSYS. Some functions are actually named
8095 something starting with __ and the normal name is an alias. */
8096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8104 if { (eval echo configure:8105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8106 eval "ac_cv_func_$ac_func=yes"
8108 echo "configure: failed program was:" >&5
8109 cat conftest.$ac_ext >&5
8111 eval "ac_cv_func_$ac_func=no"
8116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8117 echo "$ac_t""yes" 1>&6
8118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8119 cat >> confdefs.h <<EOF
8120 #define $ac_tr_func 1
8124 echo "$ac_t""no" 1>&6
8125 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8130 for ac_func in __signbit
8132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8133 echo "configure:8134: checking for $ac_func" >&5
8134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8135 echo $ac_n "(cached) $ac_c" 1>&6
8137 cat > conftest.$ac_ext <<EOF
8138 #line 8139 "configure"
8139 #include "confdefs.h"
8140 /* System header to define __stub macros and hopefully few prototypes,
8141 which can conflict with char $ac_func(); below. */
8143 /* Override any gcc2 internal prototype to avoid an error. */
8144 /* We use char because int might match the return type of a gcc2
8145 builtin and then its argument prototype would still apply. */
8150 /* The GNU C library defines this for functions which it implements
8151 to always fail with ENOSYS. Some functions are actually named
8152 something starting with __ and the normal name is an alias. */
8153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8161 if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8163 eval "ac_cv_func_$ac_func=yes"
8165 echo "configure: failed program was:" >&5
8166 cat conftest.$ac_ext >&5
8168 eval "ac_cv_func_$ac_func=no"
8173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8174 echo "$ac_t""yes" 1>&6
8175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8176 cat >> confdefs.h <<EOF
8177 #define $ac_tr_func 1
8181 echo "$ac_t""no" 1>&6
8182 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8186 for ac_func in __signbitf
8188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8189 echo "configure:8190: checking for $ac_func" >&5
8190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8191 echo $ac_n "(cached) $ac_c" 1>&6
8193 cat > conftest.$ac_ext <<EOF
8194 #line 8195 "configure"
8195 #include "confdefs.h"
8196 /* System header to define __stub macros and hopefully few prototypes,
8197 which can conflict with char $ac_func(); below. */
8199 /* Override any gcc2 internal prototype to avoid an error. */
8200 /* We use char because int might match the return type of a gcc2
8201 builtin and then its argument prototype would still apply. */
8206 /* The GNU C library defines this for functions which it implements
8207 to always fail with ENOSYS. Some functions are actually named
8208 something starting with __ and the normal name is an alias. */
8209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8217 if { (eval echo configure:8218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8219 eval "ac_cv_func_$ac_func=yes"
8221 echo "configure: failed program was:" >&5
8222 cat conftest.$ac_ext >&5
8224 eval "ac_cv_func_$ac_func=no"
8229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8230 echo "$ac_t""yes" 1>&6
8231 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8232 cat >> confdefs.h <<EOF
8233 #define $ac_tr_func 1
8237 echo "$ac_t""no" 1>&6
8238 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8243 if test x$ac_cv_func_copysignl = x"yes"; then
8244 for ac_func in __signbitl
8246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8247 echo "configure:8248: checking for $ac_func" >&5
8248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8249 echo $ac_n "(cached) $ac_c" 1>&6
8251 cat > conftest.$ac_ext <<EOF
8252 #line 8253 "configure"
8253 #include "confdefs.h"
8254 /* System header to define __stub macros and hopefully few prototypes,
8255 which can conflict with char $ac_func(); below. */
8257 /* Override any gcc2 internal prototype to avoid an error. */
8258 /* We use char because int might match the return type of a gcc2
8259 builtin and then its argument prototype would still apply. */
8264 /* The GNU C library defines this for functions which it implements
8265 to always fail with ENOSYS. Some functions are actually named
8266 something starting with __ and the normal name is an alias. */
8267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8275 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8277 eval "ac_cv_func_$ac_func=yes"
8279 echo "configure: failed program was:" >&5
8280 cat conftest.$ac_ext >&5
8282 eval "ac_cv_func_$ac_func=no"
8287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8288 echo "$ac_t""yes" 1>&6
8289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8290 cat >> confdefs.h <<EOF
8291 #define $ac_tr_func 1
8295 echo "$ac_t""no" 1>&6
8296 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8306 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8307 echo "configure:8308: checking for mbstate_t" >&5
8308 cat > conftest.$ac_ext <<EOF
8309 #line 8310 "configure"
8310 #include "confdefs.h"
8313 mbstate_t teststate;
8316 if { (eval echo configure:8317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8320 echo "configure: failed program was:" >&5
8321 cat conftest.$ac_ext >&5
8326 echo "$ac_t""$have_mbstate_t" 1>&6
8327 if test x"$have_mbstate_t" = xyes; then
8328 cat >> confdefs.h <<\EOF
8329 #define HAVE_MBSTATE_T 1
8334 for ac_hdr in wchar.h
8336 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8337 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8338 echo "configure:8339: checking for $ac_hdr" >&5
8339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8340 echo $ac_n "(cached) $ac_c" 1>&6
8342 cat > conftest.$ac_ext <<EOF
8343 #line 8344 "configure"
8344 #include "confdefs.h"
8347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8348 { (eval echo configure:8349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8350 if test -z "$ac_err"; then
8352 eval "ac_cv_header_$ac_safe=yes"
8355 echo "configure: failed program was:" >&5
8356 cat conftest.$ac_ext >&5
8358 eval "ac_cv_header_$ac_safe=no"
8362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8363 echo "$ac_t""yes" 1>&6
8364 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8365 cat >> confdefs.h <<EOF
8366 #define $ac_tr_hdr 1
8370 echo "$ac_t""no" 1>&6
8375 for ac_hdr in wctype.h
8377 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8378 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8379 echo "configure:8380: checking for $ac_hdr" >&5
8380 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8381 echo $ac_n "(cached) $ac_c" 1>&6
8383 cat > conftest.$ac_ext <<EOF
8384 #line 8385 "configure"
8385 #include "confdefs.h"
8388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8389 { (eval echo configure:8390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8391 if test -z "$ac_err"; then
8393 eval "ac_cv_header_$ac_safe=yes"
8396 echo "configure: failed program was:" >&5
8397 cat conftest.$ac_ext >&5
8399 eval "ac_cv_header_$ac_safe=no"
8403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8404 echo "$ac_t""yes" 1>&6
8405 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8406 cat >> confdefs.h <<EOF
8407 #define $ac_tr_hdr 1
8411 echo "$ac_t""no" 1>&6
8417 if test x"$ac_has_wchar_h" = xyes &&
8418 test x"$ac_has_wctype_h" = xyes &&
8419 test x"$enable_c_mbchar" != xno; then
8421 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8422 echo "configure:8423: checking for WCHAR_MIN and WCHAR_MAX" >&5
8423 cat > conftest.$ac_ext <<EOF
8424 #line 8425 "configure"
8425 #include "confdefs.h"
8428 int i = WCHAR_MIN; int j = WCHAR_MAX;
8431 if { (eval echo configure:8432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8433 has_wchar_minmax=yes
8435 echo "configure: failed program was:" >&5
8436 cat conftest.$ac_ext >&5
8441 echo "$ac_t""$has_wchar_minmax" 1>&6
8443 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8444 echo "configure:8445: checking for WEOF" >&5
8445 cat > conftest.$ac_ext <<EOF
8446 #line 8447 "configure"
8447 #include "confdefs.h"
8455 if { (eval echo configure:8456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8459 echo "configure: failed program was:" >&5
8460 cat conftest.$ac_ext >&5
8465 echo "$ac_t""$has_weof" 1>&6
8468 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8471 echo "configure:8472: checking for $ac_func" >&5
8472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8473 echo $ac_n "(cached) $ac_c" 1>&6
8475 cat > conftest.$ac_ext <<EOF
8476 #line 8477 "configure"
8477 #include "confdefs.h"
8478 /* System header to define __stub macros and hopefully few prototypes,
8479 which can conflict with char $ac_func(); below. */
8481 /* Override any gcc2 internal prototype to avoid an error. */
8482 /* We use char because int might match the return type of a gcc2
8483 builtin and then its argument prototype would still apply. */
8488 /* The GNU C library defines this for functions which it implements
8489 to always fail with ENOSYS. Some functions are actually named
8490 something starting with __ and the normal name is an alias. */
8491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8499 if { (eval echo configure:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8501 eval "ac_cv_func_$ac_func=yes"
8503 echo "configure: failed program was:" >&5
8504 cat conftest.$ac_ext >&5
8506 eval "ac_cv_func_$ac_func=no"
8511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8512 echo "$ac_t""yes" 1>&6
8513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8514 cat >> confdefs.h <<EOF
8515 #define $ac_tr_func 1
8519 echo "$ac_t""no" 1>&6
8526 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8527 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8528 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8529 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8530 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8531 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8534 echo "configure:8535: checking for $ac_func" >&5
8535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8538 cat > conftest.$ac_ext <<EOF
8539 #line 8540 "configure"
8540 #include "confdefs.h"
8541 /* System header to define __stub macros and hopefully few prototypes,
8542 which can conflict with char $ac_func(); below. */
8544 /* Override any gcc2 internal prototype to avoid an error. */
8545 /* We use char because int might match the return type of a gcc2
8546 builtin and then its argument prototype would still apply. */
8551 /* The GNU C library defines this for functions which it implements
8552 to always fail with ENOSYS. Some functions are actually named
8553 something starting with __ and the normal name is an alias. */
8554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8562 if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8564 eval "ac_cv_func_$ac_func=yes"
8566 echo "configure: failed program was:" >&5
8567 cat conftest.$ac_ext >&5
8569 eval "ac_cv_func_$ac_func=no"
8574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8575 echo "$ac_t""yes" 1>&6
8576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8577 cat >> confdefs.h <<EOF
8578 #define $ac_tr_func 1
8582 echo "$ac_t""no" 1>&6
8589 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8590 echo "configure:8591: checking for ISO C99 wchar_t support" >&5
8591 if test x"$has_weof" = xyes &&
8592 test x"$has_wchar_minmax" = xyes &&
8593 test x"$ac_wfuncs" = xyes; then
8594 ac_isoC99_wchar_t=yes
8596 ac_isoC99_wchar_t=no
8598 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8600 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8601 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8602 echo "configure:8603: checking for iconv.h" >&5
8603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8604 echo $ac_n "(cached) $ac_c" 1>&6
8606 cat > conftest.$ac_ext <<EOF
8607 #line 8608 "configure"
8608 #include "confdefs.h"
8611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8612 { (eval echo configure:8613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8614 if test -z "$ac_err"; then
8616 eval "ac_cv_header_$ac_safe=yes"
8619 echo "configure: failed program was:" >&5
8620 cat conftest.$ac_ext >&5
8622 eval "ac_cv_header_$ac_safe=no"
8626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8627 echo "$ac_t""yes" 1>&6
8630 echo "$ac_t""no" 1>&6
8634 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8635 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8636 echo "configure:8637: checking for langinfo.h" >&5
8637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8638 echo $ac_n "(cached) $ac_c" 1>&6
8640 cat > conftest.$ac_ext <<EOF
8641 #line 8642 "configure"
8642 #include "confdefs.h"
8643 #include <langinfo.h>
8645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8646 { (eval echo configure:8647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8648 if test -z "$ac_err"; then
8650 eval "ac_cv_header_$ac_safe=yes"
8653 echo "configure: failed program was:" >&5
8654 cat conftest.$ac_ext >&5
8656 eval "ac_cv_header_$ac_safe=no"
8660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8661 echo "$ac_t""yes" 1>&6
8662 ac_has_langinfo_h=yes
8664 echo "$ac_t""no" 1>&6
8665 ac_has_langinfo_h=no
8669 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8670 echo "configure:8671: checking for iconv in -liconv" >&5
8671 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8673 echo $ac_n "(cached) $ac_c" 1>&6
8675 ac_save_LIBS="$LIBS"
8676 LIBS="-liconv $LIBS"
8677 cat > conftest.$ac_ext <<EOF
8678 #line 8679 "configure"
8679 #include "confdefs.h"
8680 /* Override any gcc2 internal prototype to avoid an error. */
8681 /* We use char because int might match the return type of a gcc2
8682 builtin and then its argument prototype would still apply. */
8689 if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8691 eval "ac_cv_lib_$ac_lib_var=yes"
8693 echo "configure: failed program was:" >&5
8694 cat conftest.$ac_ext >&5
8696 eval "ac_cv_lib_$ac_lib_var=no"
8699 LIBS="$ac_save_LIBS"
8702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8703 echo "$ac_t""yes" 1>&6
8706 echo "$ac_t""no" 1>&6
8709 ac_save_LIBS="$LIBS"
8710 LIBS="$LIBS $libiconv"
8712 for ac_func in iconv_open iconv_close iconv nl_langinfo
8714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8715 echo "configure:8716: checking for $ac_func" >&5
8716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8717 echo $ac_n "(cached) $ac_c" 1>&6
8719 cat > conftest.$ac_ext <<EOF
8720 #line 8721 "configure"
8721 #include "confdefs.h"
8722 /* System header to define __stub macros and hopefully few prototypes,
8723 which can conflict with char $ac_func(); below. */
8725 /* Override any gcc2 internal prototype to avoid an error. */
8726 /* We use char because int might match the return type of a gcc2
8727 builtin and then its argument prototype would still apply. */
8732 /* The GNU C library defines this for functions which it implements
8733 to always fail with ENOSYS. Some functions are actually named
8734 something starting with __ and the normal name is an alias. */
8735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8745 eval "ac_cv_func_$ac_func=yes"
8747 echo "configure: failed program was:" >&5
8748 cat conftest.$ac_ext >&5
8750 eval "ac_cv_func_$ac_func=no"
8755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8756 echo "$ac_t""yes" 1>&6
8757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8758 cat >> confdefs.h <<EOF
8759 #define $ac_tr_func 1
8764 echo "$ac_t""no" 1>&6
8770 LIBS="$ac_save_LIBS"
8772 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8773 echo "configure:8774: checking for XPG2 wchar_t support" >&5
8774 if test x"$ac_has_iconv_h" = xyes &&
8775 test x"$ac_has_langinfo_h" = xyes &&
8776 test x"$ac_XPG2funcs" = xyes; then
8781 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8783 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8784 echo "configure:8785: checking for enabled wchar_t specializations" >&5
8785 if test x"$ac_isoC99_wchar_t" = xyes &&
8786 test x"$ac_XPG2_wchar_t" = xyes; then
8787 cat >> confdefs.h <<\EOF
8788 #define _GLIBCPP_USE_WCHAR_T 1
8791 echo "$ac_t"""yes"" 1>&6
8793 echo "$ac_t"""no"" 1>&6
8796 echo "configure: warning: wchar_t support disabled." 1>&2
8799 os_include_dir="os/qnx/qnx6.1"
8800 cat >> confdefs.h <<\EOF
8804 cat >> confdefs.h <<\EOF
8808 cat >> confdefs.h <<\EOF
8809 #define HAVE_COSHF 1
8812 cat >> confdefs.h <<\EOF
8813 #define HAVE_COSHL 1
8816 cat >> confdefs.h <<\EOF
8820 cat >> confdefs.h <<\EOF
8824 cat >> confdefs.h <<\EOF
8825 #define HAVE_LOG10F 1
8828 cat >> confdefs.h <<\EOF
8829 #define HAVE_LOG10L 1
8832 cat >> confdefs.h <<\EOF
8836 cat >> confdefs.h <<\EOF
8840 cat >> confdefs.h <<\EOF
8841 #define HAVE_SINHF 1
8844 cat >> confdefs.h <<\EOF
8845 #define HAVE_SINHL 1
8850 os_include_dir="os/newlib"
8851 cat >> confdefs.h <<\EOF
8852 #define HAVE_HYPOT 1
8858 case "$target_alias" in
8862 cat >> confdefs.h <<\EOF
8863 #define HAVE_ACOSF 1
8866 cat >> confdefs.h <<\EOF
8867 #define HAVE_ASINF 1
8870 cat >> confdefs.h <<\EOF
8871 #define HAVE_ATAN2F 1
8874 cat >> confdefs.h <<\EOF
8875 #define HAVE_ATANF 1
8878 cat >> confdefs.h <<\EOF
8879 #define HAVE_CEILF 1
8882 cat >> confdefs.h <<\EOF
8883 #define HAVE_COPYSIGN 1
8886 cat >> confdefs.h <<\EOF
8887 #define HAVE_COPYSIGNF 1
8890 cat >> confdefs.h <<\EOF
8894 cat >> confdefs.h <<\EOF
8895 #define HAVE_COSHF 1
8898 cat >> confdefs.h <<\EOF
8902 cat >> confdefs.h <<\EOF
8903 #define HAVE_FABSF 1
8906 cat >> confdefs.h <<\EOF
8907 #define HAVE_FLOORF 1
8910 cat >> confdefs.h <<\EOF
8911 #define HAVE_FMODF 1
8914 cat >> confdefs.h <<\EOF
8915 #define HAVE_FREXPF 1
8918 cat >> confdefs.h <<\EOF
8919 #define HAVE_LDEXPF 1
8922 cat >> confdefs.h <<\EOF
8923 #define HAVE_LOG10F 1
8926 cat >> confdefs.h <<\EOF
8930 cat >> confdefs.h <<\EOF
8931 #define HAVE_MODFF 1
8934 cat >> confdefs.h <<\EOF
8938 cat >> confdefs.h <<\EOF
8942 cat >> confdefs.h <<\EOF
8943 #define HAVE_SINHF 1
8946 cat >> confdefs.h <<\EOF
8947 #define HAVE_SQRTF 1
8950 cat >> confdefs.h <<\EOF
8954 cat >> confdefs.h <<\EOF
8955 #define HAVE_TANHF 1
8960 # GLIBCPP_CHECK_STDLIB_SUPPORT
8961 cat >> confdefs.h <<\EOF
8962 #define HAVE_STRTOF 1
8965 cat >> confdefs.h <<\EOF
8966 #define HAVE_STRTOLD 1
8970 cat >> confdefs.h <<\EOF
8975 cat >> confdefs.h <<\EOF
8976 #define HAVE_ACOSF 1
8979 cat >> confdefs.h <<\EOF
8980 #define HAVE_ASINF 1
8983 cat >> confdefs.h <<\EOF
8984 #define HAVE_ATAN2F 1
8987 cat >> confdefs.h <<\EOF
8988 #define HAVE_ATANF 1
8991 cat >> confdefs.h <<\EOF
8992 #define HAVE_CEILF 1
8995 cat >> confdefs.h <<\EOF
8996 #define HAVE_COPYSIGN 1
8999 cat >> confdefs.h <<\EOF
9000 #define HAVE_COPYSIGNF 1
9003 cat >> confdefs.h <<\EOF
9007 cat >> confdefs.h <<\EOF
9008 #define HAVE_COSHF 1
9011 cat >> confdefs.h <<\EOF
9015 cat >> confdefs.h <<\EOF
9016 #define HAVE_FABSF 1
9019 cat >> confdefs.h <<\EOF
9020 #define HAVE_FLOORF 1
9023 cat >> confdefs.h <<\EOF
9024 #define HAVE_FMODF 1
9027 cat >> confdefs.h <<\EOF
9028 #define HAVE_FREXPF 1
9031 cat >> confdefs.h <<\EOF
9032 #define HAVE_LDEXPF 1
9035 cat >> confdefs.h <<\EOF
9036 #define HAVE_LOG10F 1
9039 cat >> confdefs.h <<\EOF
9043 cat >> confdefs.h <<\EOF
9044 #define HAVE_MODFF 1
9047 cat >> confdefs.h <<\EOF
9051 cat >> confdefs.h <<\EOF
9055 cat >> confdefs.h <<\EOF
9056 #define HAVE_SINHF 1
9059 cat >> confdefs.h <<\EOF
9060 #define HAVE_SQRTF 1
9063 cat >> confdefs.h <<\EOF
9067 cat >> confdefs.h <<\EOF
9068 #define HAVE_TANHF 1
9074 # At some point, we should differentiate between architectures
9075 # like x86, which have long double versions, and alpha/powerpc/etc.,
9076 # which don't. For the time being, punt.
9077 if test x"long_double_math_on_this_cpu" = x"yes"; then
9078 cat >> confdefs.h <<\EOF
9079 #define HAVE_ACOSL 1
9082 cat >> confdefs.h <<\EOF
9083 #define HAVE_ASINL 1
9086 cat >> confdefs.h <<\EOF
9087 #define HAVE_ATAN2L 1
9090 cat >> confdefs.h <<\EOF
9091 #define HAVE_ATANL 1
9094 cat >> confdefs.h <<\EOF
9095 #define HAVE_CEILL 1
9098 cat >> confdefs.h <<\EOF
9099 #define HAVE_COPYSIGNL 1
9102 cat >> confdefs.h <<\EOF
9106 cat >> confdefs.h <<\EOF
9107 #define HAVE_COSHL 1
9110 cat >> confdefs.h <<\EOF
9114 cat >> confdefs.h <<\EOF
9115 #define HAVE_FABSL 1
9118 cat >> confdefs.h <<\EOF
9119 #define HAVE_FLOORL 1
9122 cat >> confdefs.h <<\EOF
9123 #define HAVE_FMODL 1
9126 cat >> confdefs.h <<\EOF
9127 #define HAVE_FREXPL 1
9130 cat >> confdefs.h <<\EOF
9131 #define HAVE_LDEXPL 1
9134 cat >> confdefs.h <<\EOF
9135 #define HAVE_LOG10L 1
9138 cat >> confdefs.h <<\EOF
9142 cat >> confdefs.h <<\EOF
9143 #define HAVE_MODFL 1
9146 cat >> confdefs.h <<\EOF
9150 cat >> confdefs.h <<\EOF
9151 #define HAVE_SINCOSL 1
9154 cat >> confdefs.h <<\EOF
9158 cat >> confdefs.h <<\EOF
9159 #define HAVE_SINHL 1
9162 cat >> confdefs.h <<\EOF
9163 #define HAVE_SQRTL 1
9166 cat >> confdefs.h <<\EOF
9170 cat >> confdefs.h <<\EOF
9171 #define HAVE_TANHL 1
9178 # We are being configured natively. We can do more elaborate tests
9179 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9181 GLIBCPP_IS_CROSS_COMPILING=0
9184 # Check for available headers.
9185 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9186 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9188 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9189 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9190 echo "configure:9191: checking for $ac_hdr" >&5
9191 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9192 echo $ac_n "(cached) $ac_c" 1>&6
9194 cat > conftest.$ac_ext <<EOF
9195 #line 9196 "configure"
9196 #include "confdefs.h"
9199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9200 { (eval echo configure:9201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9202 if test -z "$ac_err"; then
9204 eval "ac_cv_header_$ac_safe=yes"
9207 echo "configure: failed program was:" >&5
9208 cat conftest.$ac_ext >&5
9210 eval "ac_cv_header_$ac_safe=no"
9214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9215 echo "$ac_t""yes" 1>&6
9216 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9217 cat >> confdefs.h <<EOF
9218 #define $ac_tr_hdr 1
9222 echo "$ac_t""no" 1>&6
9228 # All these tests are for C++; save the language and the compiler flags.
9229 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9230 # found in GLIBCPP_CONFIGURE.
9233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9234 ac_cpp='$CXXCPP $CPPFLAGS'
9235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9237 cross_compiling=$ac_cv_prog_cxx_cross
9239 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9240 ac_save_CXXFLAGS="$CXXFLAGS"
9242 # Check for maintainer-mode bits.
9243 if test x"$USE_MAINTAINER_MODE" = xno; then
9249 # Check for -ffunction-sections -fdata-sections
9250 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9251 echo "configure:9252: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9252 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9253 cat > conftest.$ac_ext <<EOF
9254 #line 9255 "configure"
9255 #include "confdefs.h"
9262 if { (eval echo configure:9263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9266 echo "configure: failed program was:" >&5
9267 cat conftest.$ac_ext >&5
9272 if test "$ac_test_CXXFLAGS" = set; then
9273 CXXFLAGS="$ac_save_CXXFLAGS"
9275 # this is the suspicious part
9278 if test x"$ac_fdsections" = x"yes" &&
9279 test x"$enable_debug" = x"no"; then
9280 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9282 echo "$ac_t""$ac_fdsections" 1>&6
9285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9286 ac_cpp='$CPP $CPPFLAGS'
9287 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9288 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9289 cross_compiling=$ac_cv_prog_cc_cross
9295 # If we're not using GNU ld, then there's no point in even trying these
9296 # tests. Check for that first. We should have already tested for gld
9297 # by now (in libtool), but require it now just to be safe...
9298 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9299 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9302 # The name set by libtool depends on the version of libtool. Shame on us
9303 # for depending on an impl detail, but c'est la vie. Older versions used
9304 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9305 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9306 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9307 # set (hence we're using an older libtool), then set it.
9308 if test x${with_gnu_ld+set} != xset; then
9309 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9310 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9313 with_gnu_ld=$ac_cv_prog_gnu_ld
9317 # Start by getting the version number. I think the libtool test already
9318 # does some of this, but throws away the result.
9320 ldver=`$LD --version 2>/dev/null | head -1 | \
9321 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9323 glibcpp_gnu_ld_version=`echo $ldver | \
9324 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9326 # Set --gc-sections.
9327 if test "$with_gnu_ld" = "notbroken"; then
9328 # GNU ld it is! Joy and bunny rabbits!
9330 # All these tests are for C++; save the language and the compiler flags.
9331 # Need to do this so that g++ won't try to link in libstdc++
9332 ac_test_CFLAGS="${CFLAGS+set}"
9333 ac_save_CFLAGS="$CFLAGS"
9334 CFLAGS='-x c++ -Wl,--gc-sections'
9336 # Check for -Wl,--gc-sections
9337 # XXX This test is broken at the moment, as symbols required for
9338 # linking are now in libsupc++ (not built yet.....). In addition,
9339 # this test has cored on solaris in the past. In addition,
9340 # --gc-sections doesn't really work at the moment (keeps on discarding
9341 # used sections, first .eh_frame and now some of the glibc sections for
9342 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9343 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9344 echo "configure:9345: checking for ld that supports -Wl,--gc-sections" >&5
9345 if test "$cross_compiling" = yes; then
9346 ac_sectionLDflags=yes
9348 cat > conftest.$ac_ext <<EOF
9349 #line 9350 "configure"
9350 #include "confdefs.h"
9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9362 ac_sectionLDflags=yes
9364 echo "configure: failed program was:" >&5
9365 cat conftest.$ac_ext >&5
9367 ac_sectionLDflags=no
9372 if test "$ac_test_CFLAGS" = set; then
9373 CFLAGS="$ac_save_CFLAGS"
9375 # this is the suspicious part
9378 if test "$ac_sectionLDflags" = "yes"; then
9379 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9381 echo "$ac_t""$ac_sectionLDflags" 1>&6
9384 # Set linker optimization flags.
9385 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9386 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9394 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9395 echo "configure:9396: checking for __builtin_abs declaration" >&5
9396 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9397 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9398 echo $ac_n "(cached) $ac_c" 1>&6
9403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9404 ac_cpp='$CXXCPP $CPPFLAGS'
9405 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9406 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9407 cross_compiling=$ac_cv_prog_cxx_cross
9409 cat > conftest.$ac_ext <<EOF
9410 #line 9411 "configure"
9411 #include "confdefs.h"
9417 if { (eval echo configure:9418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9419 glibcpp_cv_func___builtin_abs_use=yes
9421 echo "configure: failed program was:" >&5
9422 cat conftest.$ac_ext >&5
9424 glibcpp_cv_func___builtin_abs_use=no
9428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9429 ac_cpp='$CPP $CPPFLAGS'
9430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9432 cross_compiling=$ac_cv_prog_cc_cross
9438 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9439 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9440 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9441 echo "configure:9442: checking for __builtin_abs linkage" >&5
9442 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9443 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9444 echo $ac_n "(cached) $ac_c" 1>&6
9447 cat > conftest.$ac_ext <<EOF
9448 #line 9449 "configure"
9449 #include "confdefs.h"
9455 if { (eval echo configure:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9457 glibcpp_cv_func___builtin_abs_link=yes
9459 echo "configure: failed program was:" >&5
9460 cat conftest.$ac_ext >&5
9462 glibcpp_cv_func___builtin_abs_link=no
9469 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9470 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9471 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9472 cat >> confdefs.h <<EOF
9473 #define ${ac_tr_func} 1
9480 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9481 echo "configure:9482: checking for __builtin_fabsf declaration" >&5
9482 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9483 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9484 echo $ac_n "(cached) $ac_c" 1>&6
9489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9490 ac_cpp='$CXXCPP $CPPFLAGS'
9491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9493 cross_compiling=$ac_cv_prog_cxx_cross
9495 cat > conftest.$ac_ext <<EOF
9496 #line 9497 "configure"
9497 #include "confdefs.h"
9503 if { (eval echo configure:9504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9505 glibcpp_cv_func___builtin_fabsf_use=yes
9507 echo "configure: failed program was:" >&5
9508 cat conftest.$ac_ext >&5
9510 glibcpp_cv_func___builtin_fabsf_use=no
9514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9515 ac_cpp='$CPP $CPPFLAGS'
9516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9517 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9518 cross_compiling=$ac_cv_prog_cc_cross
9524 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9525 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9526 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9527 echo "configure:9528: checking for __builtin_fabsf linkage" >&5
9528 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9529 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9530 echo $ac_n "(cached) $ac_c" 1>&6
9533 cat > conftest.$ac_ext <<EOF
9534 #line 9535 "configure"
9535 #include "confdefs.h"
9541 if { (eval echo configure:9542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9543 glibcpp_cv_func___builtin_fabsf_link=yes
9545 echo "configure: failed program was:" >&5
9546 cat conftest.$ac_ext >&5
9548 glibcpp_cv_func___builtin_fabsf_link=no
9555 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9556 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9557 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9558 cat >> confdefs.h <<EOF
9559 #define ${ac_tr_func} 1
9566 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9567 echo "configure:9568: checking for __builtin_fabs declaration" >&5
9568 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9569 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9576 ac_cpp='$CXXCPP $CPPFLAGS'
9577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9579 cross_compiling=$ac_cv_prog_cxx_cross
9581 cat > conftest.$ac_ext <<EOF
9582 #line 9583 "configure"
9583 #include "confdefs.h"
9589 if { (eval echo configure:9590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9591 glibcpp_cv_func___builtin_fabs_use=yes
9593 echo "configure: failed program was:" >&5
9594 cat conftest.$ac_ext >&5
9596 glibcpp_cv_func___builtin_fabs_use=no
9600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9601 ac_cpp='$CPP $CPPFLAGS'
9602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9604 cross_compiling=$ac_cv_prog_cc_cross
9610 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9611 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9612 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9613 echo "configure:9614: checking for __builtin_fabs linkage" >&5
9614 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9615 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9616 echo $ac_n "(cached) $ac_c" 1>&6
9619 cat > conftest.$ac_ext <<EOF
9620 #line 9621 "configure"
9621 #include "confdefs.h"
9627 if { (eval echo configure:9628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9629 glibcpp_cv_func___builtin_fabs_link=yes
9631 echo "configure: failed program was:" >&5
9632 cat conftest.$ac_ext >&5
9634 glibcpp_cv_func___builtin_fabs_link=no
9641 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9642 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9643 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9644 cat >> confdefs.h <<EOF
9645 #define ${ac_tr_func} 1
9652 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9653 echo "configure:9654: checking for __builtin_fabsl declaration" >&5
9654 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9655 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9656 echo $ac_n "(cached) $ac_c" 1>&6
9661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9662 ac_cpp='$CXXCPP $CPPFLAGS'
9663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9665 cross_compiling=$ac_cv_prog_cxx_cross
9667 cat > conftest.$ac_ext <<EOF
9668 #line 9669 "configure"
9669 #include "confdefs.h"
9675 if { (eval echo configure:9676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9677 glibcpp_cv_func___builtin_fabsl_use=yes
9679 echo "configure: failed program was:" >&5
9680 cat conftest.$ac_ext >&5
9682 glibcpp_cv_func___builtin_fabsl_use=no
9686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9687 ac_cpp='$CPP $CPPFLAGS'
9688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9690 cross_compiling=$ac_cv_prog_cc_cross
9696 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9697 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9698 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9699 echo "configure:9700: checking for __builtin_fabsl linkage" >&5
9700 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9701 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9702 echo $ac_n "(cached) $ac_c" 1>&6
9705 cat > conftest.$ac_ext <<EOF
9706 #line 9707 "configure"
9707 #include "confdefs.h"
9713 if { (eval echo configure:9714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9715 glibcpp_cv_func___builtin_fabsl_link=yes
9717 echo "configure: failed program was:" >&5
9718 cat conftest.$ac_ext >&5
9720 glibcpp_cv_func___builtin_fabsl_link=no
9727 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9728 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9729 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9730 cat >> confdefs.h <<EOF
9731 #define ${ac_tr_func} 1
9738 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9739 echo "configure:9740: checking for __builtin_labs declaration" >&5
9740 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9741 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9742 echo $ac_n "(cached) $ac_c" 1>&6
9747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9748 ac_cpp='$CXXCPP $CPPFLAGS'
9749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9751 cross_compiling=$ac_cv_prog_cxx_cross
9753 cat > conftest.$ac_ext <<EOF
9754 #line 9755 "configure"
9755 #include "confdefs.h"
9761 if { (eval echo configure:9762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9763 glibcpp_cv_func___builtin_labs_use=yes
9765 echo "configure: failed program was:" >&5
9766 cat conftest.$ac_ext >&5
9768 glibcpp_cv_func___builtin_labs_use=no
9772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9773 ac_cpp='$CPP $CPPFLAGS'
9774 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9775 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9776 cross_compiling=$ac_cv_prog_cc_cross
9782 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9783 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9784 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9785 echo "configure:9786: checking for __builtin_labs linkage" >&5
9786 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9787 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9791 cat > conftest.$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9801 glibcpp_cv_func___builtin_labs_link=yes
9803 echo "configure: failed program was:" >&5
9804 cat conftest.$ac_ext >&5
9806 glibcpp_cv_func___builtin_labs_link=no
9813 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9814 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9815 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9816 cat >> confdefs.h <<EOF
9817 #define ${ac_tr_func} 1
9825 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9826 echo "configure:9827: checking for __builtin_sqrtf declaration" >&5
9827 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9828 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9835 ac_cpp='$CXXCPP $CPPFLAGS'
9836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9838 cross_compiling=$ac_cv_prog_cxx_cross
9840 cat > conftest.$ac_ext <<EOF
9841 #line 9842 "configure"
9842 #include "confdefs.h"
9848 if { (eval echo configure:9849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9850 glibcpp_cv_func___builtin_sqrtf_use=yes
9852 echo "configure: failed program was:" >&5
9853 cat conftest.$ac_ext >&5
9855 glibcpp_cv_func___builtin_sqrtf_use=no
9859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9860 ac_cpp='$CPP $CPPFLAGS'
9861 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9862 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9863 cross_compiling=$ac_cv_prog_cc_cross
9869 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9870 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9871 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9872 echo "configure:9873: checking for __builtin_sqrtf linkage" >&5
9873 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9874 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9875 echo $ac_n "(cached) $ac_c" 1>&6
9878 cat > conftest.$ac_ext <<EOF
9879 #line 9880 "configure"
9880 #include "confdefs.h"
9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9888 glibcpp_cv_func___builtin_sqrtf_link=yes
9890 echo "configure: failed program was:" >&5
9891 cat conftest.$ac_ext >&5
9893 glibcpp_cv_func___builtin_sqrtf_link=no
9900 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9901 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9902 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9903 cat >> confdefs.h <<EOF
9904 #define ${ac_tr_func} 1
9911 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9912 echo "configure:9913: checking for __builtin_sqrt declaration" >&5
9913 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9914 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9920 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9921 ac_cpp='$CXXCPP $CPPFLAGS'
9922 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9923 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9924 cross_compiling=$ac_cv_prog_cxx_cross
9926 cat > conftest.$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9934 if { (eval echo configure:9935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9936 glibcpp_cv_func___builtin_sqrt_use=yes
9938 echo "configure: failed program was:" >&5
9939 cat conftest.$ac_ext >&5
9941 glibcpp_cv_func___builtin_sqrt_use=no
9945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9946 ac_cpp='$CPP $CPPFLAGS'
9947 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9948 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9949 cross_compiling=$ac_cv_prog_cc_cross
9955 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9956 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9957 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9958 echo "configure:9959: checking for __builtin_sqrt linkage" >&5
9959 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9960 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9961 echo $ac_n "(cached) $ac_c" 1>&6
9964 cat > conftest.$ac_ext <<EOF
9965 #line 9966 "configure"
9966 #include "confdefs.h"
9972 if { (eval echo configure:9973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9974 glibcpp_cv_func___builtin_sqrt_link=yes
9976 echo "configure: failed program was:" >&5
9977 cat conftest.$ac_ext >&5
9979 glibcpp_cv_func___builtin_sqrt_link=no
9986 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9987 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9988 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9989 cat >> confdefs.h <<EOF
9990 #define ${ac_tr_func} 1
9997 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
9998 echo "configure:9999: checking for __builtin_sqrtl declaration" >&5
9999 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10000 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10001 echo $ac_n "(cached) $ac_c" 1>&6
10006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10007 ac_cpp='$CXXCPP $CPPFLAGS'
10008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10010 cross_compiling=$ac_cv_prog_cxx_cross
10012 cat > conftest.$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10017 __builtin_sqrtl(0);
10020 if { (eval echo configure:10021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10022 glibcpp_cv_func___builtin_sqrtl_use=yes
10024 echo "configure: failed program was:" >&5
10025 cat conftest.$ac_ext >&5
10027 glibcpp_cv_func___builtin_sqrtl_use=no
10031 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10032 ac_cpp='$CPP $CPPFLAGS'
10033 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10034 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10035 cross_compiling=$ac_cv_prog_cc_cross
10041 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10042 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10043 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10044 echo "configure:10045: checking for __builtin_sqrtl linkage" >&5
10045 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10046 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10047 echo $ac_n "(cached) $ac_c" 1>&6
10050 cat > conftest.$ac_ext <<EOF
10051 #line 10052 "configure"
10052 #include "confdefs.h"
10055 __builtin_sqrtl(0);
10058 if { (eval echo configure:10059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10060 glibcpp_cv_func___builtin_sqrtl_link=yes
10062 echo "configure: failed program was:" >&5
10063 cat conftest.$ac_ext >&5
10065 glibcpp_cv_func___builtin_sqrtl_link=no
10072 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10073 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10074 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10075 cat >> confdefs.h <<EOF
10076 #define ${ac_tr_func} 1
10084 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10085 echo "configure:10086: checking for __builtin_sinf declaration" >&5
10086 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10087 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10088 echo $ac_n "(cached) $ac_c" 1>&6
10093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10094 ac_cpp='$CXXCPP $CPPFLAGS'
10095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10097 cross_compiling=$ac_cv_prog_cxx_cross
10099 cat > conftest.$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10107 if { (eval echo configure:10108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10109 glibcpp_cv_func___builtin_sinf_use=yes
10111 echo "configure: failed program was:" >&5
10112 cat conftest.$ac_ext >&5
10114 glibcpp_cv_func___builtin_sinf_use=no
10118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10119 ac_cpp='$CPP $CPPFLAGS'
10120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10122 cross_compiling=$ac_cv_prog_cc_cross
10128 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10129 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10130 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10131 echo "configure:10132: checking for __builtin_sinf linkage" >&5
10132 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10133 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10134 echo $ac_n "(cached) $ac_c" 1>&6
10137 cat > conftest.$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10145 if { (eval echo configure:10146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10147 glibcpp_cv_func___builtin_sinf_link=yes
10149 echo "configure: failed program was:" >&5
10150 cat conftest.$ac_ext >&5
10152 glibcpp_cv_func___builtin_sinf_link=no
10159 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10160 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10161 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10162 cat >> confdefs.h <<EOF
10163 #define ${ac_tr_func} 1
10170 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10171 echo "configure:10172: checking for __builtin_sin declaration" >&5
10172 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10173 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10174 echo $ac_n "(cached) $ac_c" 1>&6
10179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10180 ac_cpp='$CXXCPP $CPPFLAGS'
10181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10183 cross_compiling=$ac_cv_prog_cxx_cross
10185 cat > conftest.$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10193 if { (eval echo configure:10194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10195 glibcpp_cv_func___builtin_sin_use=yes
10197 echo "configure: failed program was:" >&5
10198 cat conftest.$ac_ext >&5
10200 glibcpp_cv_func___builtin_sin_use=no
10204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10205 ac_cpp='$CPP $CPPFLAGS'
10206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10208 cross_compiling=$ac_cv_prog_cc_cross
10214 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10215 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10216 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10217 echo "configure:10218: checking for __builtin_sin linkage" >&5
10218 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10219 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10220 echo $ac_n "(cached) $ac_c" 1>&6
10223 cat > conftest.$ac_ext <<EOF
10224 #line 10225 "configure"
10225 #include "confdefs.h"
10231 if { (eval echo configure:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10233 glibcpp_cv_func___builtin_sin_link=yes
10235 echo "configure: failed program was:" >&5
10236 cat conftest.$ac_ext >&5
10238 glibcpp_cv_func___builtin_sin_link=no
10245 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10246 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10247 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10248 cat >> confdefs.h <<EOF
10249 #define ${ac_tr_func} 1
10256 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10257 echo "configure:10258: checking for __builtin_sinl declaration" >&5
10258 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10259 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10260 echo $ac_n "(cached) $ac_c" 1>&6
10265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10266 ac_cpp='$CXXCPP $CPPFLAGS'
10267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10269 cross_compiling=$ac_cv_prog_cxx_cross
10271 cat > conftest.$ac_ext <<EOF
10272 #line 10273 "configure"
10273 #include "confdefs.h"
10279 if { (eval echo configure:10280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10281 glibcpp_cv_func___builtin_sinl_use=yes
10283 echo "configure: failed program was:" >&5
10284 cat conftest.$ac_ext >&5
10286 glibcpp_cv_func___builtin_sinl_use=no
10290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10291 ac_cpp='$CPP $CPPFLAGS'
10292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10294 cross_compiling=$ac_cv_prog_cc_cross
10300 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10301 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10302 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10303 echo "configure:10304: checking for __builtin_sinl linkage" >&5
10304 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10305 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10306 echo $ac_n "(cached) $ac_c" 1>&6
10309 cat > conftest.$ac_ext <<EOF
10310 #line 10311 "configure"
10311 #include "confdefs.h"
10317 if { (eval echo configure:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10319 glibcpp_cv_func___builtin_sinl_link=yes
10321 echo "configure: failed program was:" >&5
10322 cat conftest.$ac_ext >&5
10324 glibcpp_cv_func___builtin_sinl_link=no
10331 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10332 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10333 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10334 cat >> confdefs.h <<EOF
10335 #define ${ac_tr_func} 1
10343 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10344 echo "configure:10345: checking for __builtin_cosf declaration" >&5
10345 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10346 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10347 echo $ac_n "(cached) $ac_c" 1>&6
10352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10353 ac_cpp='$CXXCPP $CPPFLAGS'
10354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10356 cross_compiling=$ac_cv_prog_cxx_cross
10358 cat > conftest.$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10366 if { (eval echo configure:10367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10368 glibcpp_cv_func___builtin_cosf_use=yes
10370 echo "configure: failed program was:" >&5
10371 cat conftest.$ac_ext >&5
10373 glibcpp_cv_func___builtin_cosf_use=no
10377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10378 ac_cpp='$CPP $CPPFLAGS'
10379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10381 cross_compiling=$ac_cv_prog_cc_cross
10387 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10388 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10389 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10390 echo "configure:10391: checking for __builtin_cosf linkage" >&5
10391 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10392 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10393 echo $ac_n "(cached) $ac_c" 1>&6
10396 cat > conftest.$ac_ext <<EOF
10397 #line 10398 "configure"
10398 #include "confdefs.h"
10404 if { (eval echo configure:10405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10406 glibcpp_cv_func___builtin_cosf_link=yes
10408 echo "configure: failed program was:" >&5
10409 cat conftest.$ac_ext >&5
10411 glibcpp_cv_func___builtin_cosf_link=no
10418 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10419 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10420 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10421 cat >> confdefs.h <<EOF
10422 #define ${ac_tr_func} 1
10429 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10430 echo "configure:10431: checking for __builtin_cos declaration" >&5
10431 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10432 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10439 ac_cpp='$CXXCPP $CPPFLAGS'
10440 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10441 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10442 cross_compiling=$ac_cv_prog_cxx_cross
10444 cat > conftest.$ac_ext <<EOF
10445 #line 10446 "configure"
10446 #include "confdefs.h"
10452 if { (eval echo configure:10453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10454 glibcpp_cv_func___builtin_cos_use=yes
10456 echo "configure: failed program was:" >&5
10457 cat conftest.$ac_ext >&5
10459 glibcpp_cv_func___builtin_cos_use=no
10463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10464 ac_cpp='$CPP $CPPFLAGS'
10465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10467 cross_compiling=$ac_cv_prog_cc_cross
10473 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10474 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10475 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10476 echo "configure:10477: checking for __builtin_cos linkage" >&5
10477 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10478 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10479 echo $ac_n "(cached) $ac_c" 1>&6
10482 cat > conftest.$ac_ext <<EOF
10483 #line 10484 "configure"
10484 #include "confdefs.h"
10490 if { (eval echo configure:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10492 glibcpp_cv_func___builtin_cos_link=yes
10494 echo "configure: failed program was:" >&5
10495 cat conftest.$ac_ext >&5
10497 glibcpp_cv_func___builtin_cos_link=no
10504 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10505 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10506 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10507 cat >> confdefs.h <<EOF
10508 #define ${ac_tr_func} 1
10515 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10516 echo "configure:10517: checking for __builtin_cosl declaration" >&5
10517 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10518 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10519 echo $ac_n "(cached) $ac_c" 1>&6
10524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10525 ac_cpp='$CXXCPP $CPPFLAGS'
10526 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10527 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10528 cross_compiling=$ac_cv_prog_cxx_cross
10530 cat > conftest.$ac_ext <<EOF
10531 #line 10532 "configure"
10532 #include "confdefs.h"
10538 if { (eval echo configure:10539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10540 glibcpp_cv_func___builtin_cosl_use=yes
10542 echo "configure: failed program was:" >&5
10543 cat conftest.$ac_ext >&5
10545 glibcpp_cv_func___builtin_cosl_use=no
10549 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10550 ac_cpp='$CPP $CPPFLAGS'
10551 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10552 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10553 cross_compiling=$ac_cv_prog_cc_cross
10559 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10560 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10561 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10562 echo "configure:10563: checking for __builtin_cosl linkage" >&5
10563 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10564 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10565 echo $ac_n "(cached) $ac_c" 1>&6
10568 cat > conftest.$ac_ext <<EOF
10569 #line 10570 "configure"
10570 #include "confdefs.h"
10576 if { (eval echo configure:10577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10578 glibcpp_cv_func___builtin_cosl_link=yes
10580 echo "configure: failed program was:" >&5
10581 cat conftest.$ac_ext >&5
10583 glibcpp_cv_func___builtin_cosl_link=no
10590 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10591 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10592 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10593 cat >> confdefs.h <<EOF
10594 #define ${ac_tr_func} 1
10602 if test x$dummyvar = x"yes"; then
10603 cat >> confdefs.h <<\EOF
10604 #define HAVE___BUILTIN_ABS 1
10607 cat >> confdefs.h <<\EOF
10608 #define HAVE___BUILTIN_LABS 1
10611 cat >> confdefs.h <<\EOF
10612 #define HAVE___BUILTIN_COS 1
10615 cat >> confdefs.h <<\EOF
10616 #define HAVE___BUILTIN_COSF 1
10619 cat >> confdefs.h <<\EOF
10620 #define HAVE___BUILTIN_COSL 1
10623 cat >> confdefs.h <<\EOF
10624 #define HAVE___BUILTIN_FABS 1
10627 cat >> confdefs.h <<\EOF
10628 #define HAVE___BUILTIN_FABSF 1
10631 cat >> confdefs.h <<\EOF
10632 #define HAVE___BUILTIN_FABSL 1
10635 cat >> confdefs.h <<\EOF
10636 #define HAVE___BUILTIN_SIN 1
10639 cat >> confdefs.h <<\EOF
10640 #define HAVE___BUILTIN_SINF 1
10643 cat >> confdefs.h <<\EOF
10644 #define HAVE___BUILTIN_SINL 1
10647 cat >> confdefs.h <<\EOF
10648 #define HAVE___BUILTIN_SQRT 1
10651 cat >> confdefs.h <<\EOF
10652 #define HAVE___BUILTIN_SQRTF 1
10655 cat >> confdefs.h <<\EOF
10656 #define HAVE___BUILTIN_SQRTL 1
10662 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10663 ac_save_CXXFLAGS="$CXXFLAGS"
10664 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10666 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10667 echo "configure:10668: checking for sin in -lm" >&5
10668 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10669 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10670 echo $ac_n "(cached) $ac_c" 1>&6
10672 ac_save_LIBS="$LIBS"
10674 cat > conftest.$ac_ext <<EOF
10675 #line 10676 "configure"
10676 #include "confdefs.h"
10677 /* Override any gcc2 internal prototype to avoid an error. */
10678 /* We use char because int might match the return type of a gcc2
10679 builtin and then its argument prototype would still apply. */
10686 if { (eval echo configure:10687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10688 eval "ac_cv_lib_$ac_lib_var=yes"
10690 echo "configure: failed program was:" >&5
10691 cat conftest.$ac_ext >&5
10693 eval "ac_cv_lib_$ac_lib_var=no"
10696 LIBS="$ac_save_LIBS"
10699 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10700 echo "$ac_t""yes" 1>&6
10703 echo "$ac_t""no" 1>&6
10706 ac_save_LIBS="$LIBS"
10711 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10712 echo "configure:10713: checking for isinf declaration" >&5
10713 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10714 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10721 ac_cpp='$CXXCPP $CPPFLAGS'
10722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10724 cross_compiling=$ac_cv_prog_cxx_cross
10726 cat > conftest.$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10730 #ifdef HAVE_IEEEFP_H
10731 #include <ieeefp.h>
10738 if { (eval echo configure:10739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10740 glibcpp_cv_func_isinf_use=yes
10742 echo "configure: failed program was:" >&5
10743 cat conftest.$ac_ext >&5
10745 glibcpp_cv_func_isinf_use=no
10749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10750 ac_cpp='$CPP $CPPFLAGS'
10751 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10752 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10753 cross_compiling=$ac_cv_prog_cc_cross
10759 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10761 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10762 for ac_func in isinf
10764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10765 echo "configure:10766: checking for $ac_func" >&5
10766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10767 echo $ac_n "(cached) $ac_c" 1>&6
10769 cat > conftest.$ac_ext <<EOF
10770 #line 10771 "configure"
10771 #include "confdefs.h"
10772 /* System header to define __stub macros and hopefully few prototypes,
10773 which can conflict with char $ac_func(); below. */
10774 #include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10776 /* We use char because int might match the return type of a gcc2
10777 builtin and then its argument prototype would still apply. */
10782 /* The GNU C library defines this for functions which it implements
10783 to always fail with ENOSYS. Some functions are actually named
10784 something starting with __ and the normal name is an alias. */
10785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10793 if { (eval echo configure:10794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10795 eval "ac_cv_func_$ac_func=yes"
10797 echo "configure: failed program was:" >&5
10798 cat conftest.$ac_ext >&5
10800 eval "ac_cv_func_$ac_func=no"
10805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10806 echo "$ac_t""yes" 1>&6
10807 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10808 cat >> confdefs.h <<EOF
10809 #define $ac_tr_func 1
10813 echo "$ac_t""no" 1>&6
10819 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10820 echo "configure:10821: checking for _isinf declaration" >&5
10821 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10822 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10823 echo $ac_n "(cached) $ac_c" 1>&6
10828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10829 ac_cpp='$CXXCPP $CPPFLAGS'
10830 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10831 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10832 cross_compiling=$ac_cv_prog_cxx_cross
10834 cat > conftest.$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10838 #ifdef HAVE_IEEEFP_H
10839 #include <ieeefp.h>
10846 if { (eval echo configure:10847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10848 glibcpp_cv_func__isinf_use=yes
10850 echo "configure: failed program was:" >&5
10851 cat conftest.$ac_ext >&5
10853 glibcpp_cv_func__isinf_use=no
10857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10858 ac_cpp='$CPP $CPPFLAGS'
10859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10861 cross_compiling=$ac_cv_prog_cc_cross
10867 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10869 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10870 for ac_func in _isinf
10872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10873 echo "configure:10874: checking for $ac_func" >&5
10874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10875 echo $ac_n "(cached) $ac_c" 1>&6
10877 cat > conftest.$ac_ext <<EOF
10878 #line 10879 "configure"
10879 #include "confdefs.h"
10880 /* System header to define __stub macros and hopefully few prototypes,
10881 which can conflict with char $ac_func(); below. */
10882 #include <assert.h>
10883 /* Override any gcc2 internal prototype to avoid an error. */
10884 /* We use char because int might match the return type of a gcc2
10885 builtin and then its argument prototype would still apply. */
10890 /* The GNU C library defines this for functions which it implements
10891 to always fail with ENOSYS. Some functions are actually named
10892 something starting with __ and the normal name is an alias. */
10893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10901 if { (eval echo configure:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10903 eval "ac_cv_func_$ac_func=yes"
10905 echo "configure: failed program was:" >&5
10906 cat conftest.$ac_ext >&5
10908 eval "ac_cv_func_$ac_func=no"
10913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10914 echo "$ac_t""yes" 1>&6
10915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10916 cat >> confdefs.h <<EOF
10917 #define $ac_tr_func 1
10921 echo "$ac_t""no" 1>&6
10930 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10931 echo "configure:10932: checking for isnan declaration" >&5
10932 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10933 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10940 ac_cpp='$CXXCPP $CPPFLAGS'
10941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10943 cross_compiling=$ac_cv_prog_cxx_cross
10945 cat > conftest.$ac_ext <<EOF
10946 #line 10947 "configure"
10947 #include "confdefs.h"
10949 #ifdef HAVE_IEEEFP_H
10950 #include <ieeefp.h>
10957 if { (eval echo configure:10958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10959 glibcpp_cv_func_isnan_use=yes
10961 echo "configure: failed program was:" >&5
10962 cat conftest.$ac_ext >&5
10964 glibcpp_cv_func_isnan_use=no
10968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp='$CPP $CPPFLAGS'
10970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling=$ac_cv_prog_cc_cross
10978 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10980 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10981 for ac_func in isnan
10983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10984 echo "configure:10985: checking for $ac_func" >&5
10985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10986 echo $ac_n "(cached) $ac_c" 1>&6
10988 cat > conftest.$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* System header to define __stub macros and hopefully few prototypes,
10992 which can conflict with char $ac_func(); below. */
10993 #include <assert.h>
10994 /* Override any gcc2 internal prototype to avoid an error. */
10995 /* We use char because int might match the return type of a gcc2
10996 builtin and then its argument prototype would still apply. */
11001 /* The GNU C library defines this for functions which it implements
11002 to always fail with ENOSYS. Some functions are actually named
11003 something starting with __ and the normal name is an alias. */
11004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11012 if { (eval echo configure:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11014 eval "ac_cv_func_$ac_func=yes"
11016 echo "configure: failed program was:" >&5
11017 cat conftest.$ac_ext >&5
11019 eval "ac_cv_func_$ac_func=no"
11024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11025 echo "$ac_t""yes" 1>&6
11026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11027 cat >> confdefs.h <<EOF
11028 #define $ac_tr_func 1
11032 echo "$ac_t""no" 1>&6
11038 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11039 echo "configure:11040: checking for _isnan declaration" >&5
11040 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11041 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11042 echo $ac_n "(cached) $ac_c" 1>&6
11047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11048 ac_cpp='$CXXCPP $CPPFLAGS'
11049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11051 cross_compiling=$ac_cv_prog_cxx_cross
11053 cat > conftest.$ac_ext <<EOF
11054 #line 11055 "configure"
11055 #include "confdefs.h"
11057 #ifdef HAVE_IEEEFP_H
11058 #include <ieeefp.h>
11065 if { (eval echo configure:11066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11067 glibcpp_cv_func__isnan_use=yes
11069 echo "configure: failed program was:" >&5
11070 cat conftest.$ac_ext >&5
11072 glibcpp_cv_func__isnan_use=no
11076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11077 ac_cpp='$CPP $CPPFLAGS'
11078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11080 cross_compiling=$ac_cv_prog_cc_cross
11086 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11088 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11089 for ac_func in _isnan
11091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11092 echo "configure:11093: checking for $ac_func" >&5
11093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11094 echo $ac_n "(cached) $ac_c" 1>&6
11096 cat > conftest.$ac_ext <<EOF
11097 #line 11098 "configure"
11098 #include "confdefs.h"
11099 /* System header to define __stub macros and hopefully few prototypes,
11100 which can conflict with char $ac_func(); below. */
11101 #include <assert.h>
11102 /* Override any gcc2 internal prototype to avoid an error. */
11103 /* We use char because int might match the return type of a gcc2
11104 builtin and then its argument prototype would still apply. */
11109 /* The GNU C library defines this for functions which it implements
11110 to always fail with ENOSYS. Some functions are actually named
11111 something starting with __ and the normal name is an alias. */
11112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11120 if { (eval echo configure:11121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11122 eval "ac_cv_func_$ac_func=yes"
11124 echo "configure: failed program was:" >&5
11125 cat conftest.$ac_ext >&5
11127 eval "ac_cv_func_$ac_func=no"
11132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11135 cat >> confdefs.h <<EOF
11136 #define $ac_tr_func 1
11140 echo "$ac_t""no" 1>&6
11149 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11150 echo "configure:11151: checking for finite declaration" >&5
11151 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11152 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11153 echo $ac_n "(cached) $ac_c" 1>&6
11158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11159 ac_cpp='$CXXCPP $CPPFLAGS'
11160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11162 cross_compiling=$ac_cv_prog_cxx_cross
11164 cat > conftest.$ac_ext <<EOF
11165 #line 11166 "configure"
11166 #include "confdefs.h"
11168 #ifdef HAVE_IEEEFP_H
11169 #include <ieeefp.h>
11176 if { (eval echo configure:11177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11178 glibcpp_cv_func_finite_use=yes
11180 echo "configure: failed program was:" >&5
11181 cat conftest.$ac_ext >&5
11183 glibcpp_cv_func_finite_use=no
11187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11188 ac_cpp='$CPP $CPPFLAGS'
11189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11191 cross_compiling=$ac_cv_prog_cc_cross
11197 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11199 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11200 for ac_func in finite
11202 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11203 echo "configure:11204: checking for $ac_func" >&5
11204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11205 echo $ac_n "(cached) $ac_c" 1>&6
11207 cat > conftest.$ac_ext <<EOF
11208 #line 11209 "configure"
11209 #include "confdefs.h"
11210 /* System header to define __stub macros and hopefully few prototypes,
11211 which can conflict with char $ac_func(); below. */
11212 #include <assert.h>
11213 /* Override any gcc2 internal prototype to avoid an error. */
11214 /* We use char because int might match the return type of a gcc2
11215 builtin and then its argument prototype would still apply. */
11220 /* The GNU C library defines this for functions which it implements
11221 to always fail with ENOSYS. Some functions are actually named
11222 something starting with __ and the normal name is an alias. */
11223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11231 if { (eval echo configure:11232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11233 eval "ac_cv_func_$ac_func=yes"
11235 echo "configure: failed program was:" >&5
11236 cat conftest.$ac_ext >&5
11238 eval "ac_cv_func_$ac_func=no"
11243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11244 echo "$ac_t""yes" 1>&6
11245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11246 cat >> confdefs.h <<EOF
11247 #define $ac_tr_func 1
11251 echo "$ac_t""no" 1>&6
11257 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11258 echo "configure:11259: checking for _finite declaration" >&5
11259 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11260 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11261 echo $ac_n "(cached) $ac_c" 1>&6
11266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11267 ac_cpp='$CXXCPP $CPPFLAGS'
11268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11270 cross_compiling=$ac_cv_prog_cxx_cross
11272 cat > conftest.$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11276 #ifdef HAVE_IEEEFP_H
11277 #include <ieeefp.h>
11284 if { (eval echo configure:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11286 glibcpp_cv_func__finite_use=yes
11288 echo "configure: failed program was:" >&5
11289 cat conftest.$ac_ext >&5
11291 glibcpp_cv_func__finite_use=no
11295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11296 ac_cpp='$CPP $CPPFLAGS'
11297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11299 cross_compiling=$ac_cv_prog_cc_cross
11305 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11307 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11308 for ac_func in _finite
11310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11311 echo "configure:11312: checking for $ac_func" >&5
11312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11313 echo $ac_n "(cached) $ac_c" 1>&6
11315 cat > conftest.$ac_ext <<EOF
11316 #line 11317 "configure"
11317 #include "confdefs.h"
11318 /* System header to define __stub macros and hopefully few prototypes,
11319 which can conflict with char $ac_func(); below. */
11320 #include <assert.h>
11321 /* Override any gcc2 internal prototype to avoid an error. */
11322 /* We use char because int might match the return type of a gcc2
11323 builtin and then its argument prototype would still apply. */
11328 /* The GNU C library defines this for functions which it implements
11329 to always fail with ENOSYS. Some functions are actually named
11330 something starting with __ and the normal name is an alias. */
11331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11339 if { (eval echo configure:11340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11341 eval "ac_cv_func_$ac_func=yes"
11343 echo "configure: failed program was:" >&5
11344 cat conftest.$ac_ext >&5
11346 eval "ac_cv_func_$ac_func=no"
11351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11352 echo "$ac_t""yes" 1>&6
11353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11354 cat >> confdefs.h <<EOF
11355 #define $ac_tr_func 1
11359 echo "$ac_t""no" 1>&6
11368 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11369 echo "configure:11370: checking for copysign declaration" >&5
11370 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11371 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11378 ac_cpp='$CXXCPP $CPPFLAGS'
11379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11381 cross_compiling=$ac_cv_prog_cxx_cross
11383 cat > conftest.$ac_ext <<EOF
11384 #line 11385 "configure"
11385 #include "confdefs.h"
11391 if { (eval echo configure:11392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11393 glibcpp_cv_func_copysign_use=yes
11395 echo "configure: failed program was:" >&5
11396 cat conftest.$ac_ext >&5
11398 glibcpp_cv_func_copysign_use=no
11402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11403 ac_cpp='$CPP $CPPFLAGS'
11404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11406 cross_compiling=$ac_cv_prog_cc_cross
11412 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11414 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11415 for ac_func in copysign
11417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11418 echo "configure:11419: checking for $ac_func" >&5
11419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11422 cat > conftest.$ac_ext <<EOF
11423 #line 11424 "configure"
11424 #include "confdefs.h"
11425 /* System header to define __stub macros and hopefully few prototypes,
11426 which can conflict with char $ac_func(); below. */
11427 #include <assert.h>
11428 /* Override any gcc2 internal prototype to avoid an error. */
11429 /* We use char because int might match the return type of a gcc2
11430 builtin and then its argument prototype would still apply. */
11435 /* The GNU C library defines this for functions which it implements
11436 to always fail with ENOSYS. Some functions are actually named
11437 something starting with __ and the normal name is an alias. */
11438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11446 if { (eval echo configure:11447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11448 eval "ac_cv_func_$ac_func=yes"
11450 echo "configure: failed program was:" >&5
11451 cat conftest.$ac_ext >&5
11453 eval "ac_cv_func_$ac_func=no"
11458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11459 echo "$ac_t""yes" 1>&6
11460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11461 cat >> confdefs.h <<EOF
11462 #define $ac_tr_func 1
11466 echo "$ac_t""no" 1>&6
11472 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11473 echo "configure:11474: checking for _copysign declaration" >&5
11474 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11475 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11476 echo $ac_n "(cached) $ac_c" 1>&6
11481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11482 ac_cpp='$CXXCPP $CPPFLAGS'
11483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11485 cross_compiling=$ac_cv_prog_cxx_cross
11487 cat > conftest.$ac_ext <<EOF
11488 #line 11489 "configure"
11489 #include "confdefs.h"
11495 if { (eval echo configure:11496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11497 glibcpp_cv_func__copysign_use=yes
11499 echo "configure: failed program was:" >&5
11500 cat conftest.$ac_ext >&5
11502 glibcpp_cv_func__copysign_use=no
11506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11507 ac_cpp='$CPP $CPPFLAGS'
11508 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11509 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11510 cross_compiling=$ac_cv_prog_cc_cross
11516 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11518 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11519 for ac_func in _copysign
11521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11522 echo "configure:11523: checking for $ac_func" >&5
11523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11524 echo $ac_n "(cached) $ac_c" 1>&6
11526 cat > conftest.$ac_ext <<EOF
11527 #line 11528 "configure"
11528 #include "confdefs.h"
11529 /* System header to define __stub macros and hopefully few prototypes,
11530 which can conflict with char $ac_func(); below. */
11531 #include <assert.h>
11532 /* Override any gcc2 internal prototype to avoid an error. */
11533 /* We use char because int might match the return type of a gcc2
11534 builtin and then its argument prototype would still apply. */
11539 /* The GNU C library defines this for functions which it implements
11540 to always fail with ENOSYS. Some functions are actually named
11541 something starting with __ and the normal name is an alias. */
11542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11550 if { (eval echo configure:11551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11552 eval "ac_cv_func_$ac_func=yes"
11554 echo "configure: failed program was:" >&5
11555 cat conftest.$ac_ext >&5
11557 eval "ac_cv_func_$ac_func=no"
11562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11563 echo "$ac_t""yes" 1>&6
11564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11565 cat >> confdefs.h <<EOF
11566 #define $ac_tr_func 1
11570 echo "$ac_t""no" 1>&6
11579 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11580 echo "configure:11581: checking for sincos declaration" >&5
11581 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11582 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11583 echo $ac_n "(cached) $ac_c" 1>&6
11588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11589 ac_cpp='$CXXCPP $CPPFLAGS'
11590 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11591 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11592 cross_compiling=$ac_cv_prog_cxx_cross
11594 cat > conftest.$ac_ext <<EOF
11595 #line 11596 "configure"
11596 #include "confdefs.h"
11602 if { (eval echo configure:11603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11604 glibcpp_cv_func_sincos_use=yes
11606 echo "configure: failed program was:" >&5
11607 cat conftest.$ac_ext >&5
11609 glibcpp_cv_func_sincos_use=no
11613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11614 ac_cpp='$CPP $CPPFLAGS'
11615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11617 cross_compiling=$ac_cv_prog_cc_cross
11623 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11625 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11626 for ac_func in sincos
11628 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11629 echo "configure:11630: checking for $ac_func" >&5
11630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11631 echo $ac_n "(cached) $ac_c" 1>&6
11633 cat > conftest.$ac_ext <<EOF
11634 #line 11635 "configure"
11635 #include "confdefs.h"
11636 /* System header to define __stub macros and hopefully few prototypes,
11637 which can conflict with char $ac_func(); below. */
11638 #include <assert.h>
11639 /* Override any gcc2 internal prototype to avoid an error. */
11640 /* We use char because int might match the return type of a gcc2
11641 builtin and then its argument prototype would still apply. */
11646 /* The GNU C library defines this for functions which it implements
11647 to always fail with ENOSYS. Some functions are actually named
11648 something starting with __ and the normal name is an alias. */
11649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11657 if { (eval echo configure:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11659 eval "ac_cv_func_$ac_func=yes"
11661 echo "configure: failed program was:" >&5
11662 cat conftest.$ac_ext >&5
11664 eval "ac_cv_func_$ac_func=no"
11669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11670 echo "$ac_t""yes" 1>&6
11671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11672 cat >> confdefs.h <<EOF
11673 #define $ac_tr_func 1
11677 echo "$ac_t""no" 1>&6
11683 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11684 echo "configure:11685: checking for _sincos declaration" >&5
11685 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11686 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11687 echo $ac_n "(cached) $ac_c" 1>&6
11692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11693 ac_cpp='$CXXCPP $CPPFLAGS'
11694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11696 cross_compiling=$ac_cv_prog_cxx_cross
11698 cat > conftest.$ac_ext <<EOF
11699 #line 11700 "configure"
11700 #include "confdefs.h"
11706 if { (eval echo configure:11707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11708 glibcpp_cv_func__sincos_use=yes
11710 echo "configure: failed program was:" >&5
11711 cat conftest.$ac_ext >&5
11713 glibcpp_cv_func__sincos_use=no
11717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11718 ac_cpp='$CPP $CPPFLAGS'
11719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11721 cross_compiling=$ac_cv_prog_cc_cross
11727 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11729 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11730 for ac_func in _sincos
11732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11733 echo "configure:11734: checking for $ac_func" >&5
11734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11735 echo $ac_n "(cached) $ac_c" 1>&6
11737 cat > conftest.$ac_ext <<EOF
11738 #line 11739 "configure"
11739 #include "confdefs.h"
11740 /* System header to define __stub macros and hopefully few prototypes,
11741 which can conflict with char $ac_func(); below. */
11742 #include <assert.h>
11743 /* Override any gcc2 internal prototype to avoid an error. */
11744 /* We use char because int might match the return type of a gcc2
11745 builtin and then its argument prototype would still apply. */
11750 /* The GNU C library defines this for functions which it implements
11751 to always fail with ENOSYS. Some functions are actually named
11752 something starting with __ and the normal name is an alias. */
11753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11761 if { (eval echo configure:11762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11763 eval "ac_cv_func_$ac_func=yes"
11765 echo "configure: failed program was:" >&5
11766 cat conftest.$ac_ext >&5
11768 eval "ac_cv_func_$ac_func=no"
11773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11774 echo "$ac_t""yes" 1>&6
11775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11776 cat >> confdefs.h <<EOF
11777 #define $ac_tr_func 1
11781 echo "$ac_t""no" 1>&6
11790 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11791 echo "configure:11792: checking for fpclass declaration" >&5
11792 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11793 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11799 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11802 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11803 cross_compiling=$ac_cv_prog_cxx_cross
11805 cat > conftest.$ac_ext <<EOF
11806 #line 11807 "configure"
11807 #include "confdefs.h"
11809 #ifdef HAVE_IEEEFP_H
11810 #include <ieeefp.h>
11817 if { (eval echo configure:11818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11819 glibcpp_cv_func_fpclass_use=yes
11821 echo "configure: failed program was:" >&5
11822 cat conftest.$ac_ext >&5
11824 glibcpp_cv_func_fpclass_use=no
11828 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11829 ac_cpp='$CPP $CPPFLAGS'
11830 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11831 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11832 cross_compiling=$ac_cv_prog_cc_cross
11838 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11840 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11841 for ac_func in fpclass
11843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11844 echo "configure:11845: checking for $ac_func" >&5
11845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11846 echo $ac_n "(cached) $ac_c" 1>&6
11848 cat > conftest.$ac_ext <<EOF
11849 #line 11850 "configure"
11850 #include "confdefs.h"
11851 /* System header to define __stub macros and hopefully few prototypes,
11852 which can conflict with char $ac_func(); below. */
11853 #include <assert.h>
11854 /* Override any gcc2 internal prototype to avoid an error. */
11855 /* We use char because int might match the return type of a gcc2
11856 builtin and then its argument prototype would still apply. */
11861 /* The GNU C library defines this for functions which it implements
11862 to always fail with ENOSYS. Some functions are actually named
11863 something starting with __ and the normal name is an alias. */
11864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11872 if { (eval echo configure:11873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11874 eval "ac_cv_func_$ac_func=yes"
11876 echo "configure: failed program was:" >&5
11877 cat conftest.$ac_ext >&5
11879 eval "ac_cv_func_$ac_func=no"
11884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11885 echo "$ac_t""yes" 1>&6
11886 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11887 cat >> confdefs.h <<EOF
11888 #define $ac_tr_func 1
11892 echo "$ac_t""no" 1>&6
11898 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11899 echo "configure:11900: checking for _fpclass declaration" >&5
11900 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11901 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11902 echo $ac_n "(cached) $ac_c" 1>&6
11907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11908 ac_cpp='$CXXCPP $CPPFLAGS'
11909 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11910 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11911 cross_compiling=$ac_cv_prog_cxx_cross
11913 cat > conftest.$ac_ext <<EOF
11914 #line 11915 "configure"
11915 #include "confdefs.h"
11917 #ifdef HAVE_IEEEFP_H
11918 #include <ieeefp.h>
11925 if { (eval echo configure:11926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11927 glibcpp_cv_func__fpclass_use=yes
11929 echo "configure: failed program was:" >&5
11930 cat conftest.$ac_ext >&5
11932 glibcpp_cv_func__fpclass_use=no
11936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11937 ac_cpp='$CPP $CPPFLAGS'
11938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11940 cross_compiling=$ac_cv_prog_cc_cross
11946 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11948 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11949 for ac_func in _fpclass
11951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11952 echo "configure:11953: checking for $ac_func" >&5
11953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11954 echo $ac_n "(cached) $ac_c" 1>&6
11956 cat > conftest.$ac_ext <<EOF
11957 #line 11958 "configure"
11958 #include "confdefs.h"
11959 /* System header to define __stub macros and hopefully few prototypes,
11960 which can conflict with char $ac_func(); below. */
11961 #include <assert.h>
11962 /* Override any gcc2 internal prototype to avoid an error. */
11963 /* We use char because int might match the return type of a gcc2
11964 builtin and then its argument prototype would still apply. */
11969 /* The GNU C library defines this for functions which it implements
11970 to always fail with ENOSYS. Some functions are actually named
11971 something starting with __ and the normal name is an alias. */
11972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11980 if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11982 eval "ac_cv_func_$ac_func=yes"
11984 echo "configure: failed program was:" >&5
11985 cat conftest.$ac_ext >&5
11987 eval "ac_cv_func_$ac_func=no"
11992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11993 echo "$ac_t""yes" 1>&6
11994 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11995 cat >> confdefs.h <<EOF
11996 #define $ac_tr_func 1
12000 echo "$ac_t""no" 1>&6
12009 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12010 echo "configure:12011: checking for qfpclass declaration" >&5
12011 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12012 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12013 echo $ac_n "(cached) $ac_c" 1>&6
12018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12019 ac_cpp='$CXXCPP $CPPFLAGS'
12020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12022 cross_compiling=$ac_cv_prog_cxx_cross
12024 cat > conftest.$ac_ext <<EOF
12025 #line 12026 "configure"
12026 #include "confdefs.h"
12028 #ifdef HAVE_IEEEFP_H
12029 #include <ieeefp.h>
12036 if { (eval echo configure:12037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12038 glibcpp_cv_func_qfpclass_use=yes
12040 echo "configure: failed program was:" >&5
12041 cat conftest.$ac_ext >&5
12043 glibcpp_cv_func_qfpclass_use=no
12047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12048 ac_cpp='$CPP $CPPFLAGS'
12049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12051 cross_compiling=$ac_cv_prog_cc_cross
12057 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12059 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12060 for ac_func in qfpclass
12062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12063 echo "configure:12064: checking for $ac_func" >&5
12064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12065 echo $ac_n "(cached) $ac_c" 1>&6
12067 cat > conftest.$ac_ext <<EOF
12068 #line 12069 "configure"
12069 #include "confdefs.h"
12070 /* System header to define __stub macros and hopefully few prototypes,
12071 which can conflict with char $ac_func(); below. */
12072 #include <assert.h>
12073 /* Override any gcc2 internal prototype to avoid an error. */
12074 /* We use char because int might match the return type of a gcc2
12075 builtin and then its argument prototype would still apply. */
12080 /* The GNU C library defines this for functions which it implements
12081 to always fail with ENOSYS. Some functions are actually named
12082 something starting with __ and the normal name is an alias. */
12083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12091 if { (eval echo configure:12092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12093 eval "ac_cv_func_$ac_func=yes"
12095 echo "configure: failed program was:" >&5
12096 cat conftest.$ac_ext >&5
12098 eval "ac_cv_func_$ac_func=no"
12103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12104 echo "$ac_t""yes" 1>&6
12105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12106 cat >> confdefs.h <<EOF
12107 #define $ac_tr_func 1
12111 echo "$ac_t""no" 1>&6
12117 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12118 echo "configure:12119: checking for _qfpclass declaration" >&5
12119 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12120 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12121 echo $ac_n "(cached) $ac_c" 1>&6
12126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12127 ac_cpp='$CXXCPP $CPPFLAGS'
12128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12130 cross_compiling=$ac_cv_prog_cxx_cross
12132 cat > conftest.$ac_ext <<EOF
12133 #line 12134 "configure"
12134 #include "confdefs.h"
12136 #ifdef HAVE_IEEEFP_H
12137 #include <ieeefp.h>
12144 if { (eval echo configure:12145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12146 glibcpp_cv_func__qfpclass_use=yes
12148 echo "configure: failed program was:" >&5
12149 cat conftest.$ac_ext >&5
12151 glibcpp_cv_func__qfpclass_use=no
12155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12156 ac_cpp='$CPP $CPPFLAGS'
12157 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12158 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12159 cross_compiling=$ac_cv_prog_cc_cross
12165 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12167 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12168 for ac_func in _qfpclass
12170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12171 echo "configure:12172: checking for $ac_func" >&5
12172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12173 echo $ac_n "(cached) $ac_c" 1>&6
12175 cat > conftest.$ac_ext <<EOF
12176 #line 12177 "configure"
12177 #include "confdefs.h"
12178 /* System header to define __stub macros and hopefully few prototypes,
12179 which can conflict with char $ac_func(); below. */
12180 #include <assert.h>
12181 /* Override any gcc2 internal prototype to avoid an error. */
12182 /* We use char because int might match the return type of a gcc2
12183 builtin and then its argument prototype would still apply. */
12188 /* The GNU C library defines this for functions which it implements
12189 to always fail with ENOSYS. Some functions are actually named
12190 something starting with __ and the normal name is an alias. */
12191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12199 if { (eval echo configure:12200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12201 eval "ac_cv_func_$ac_func=yes"
12203 echo "configure: failed program was:" >&5
12204 cat conftest.$ac_ext >&5
12206 eval "ac_cv_func_$ac_func=no"
12211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12212 echo "$ac_t""yes" 1>&6
12213 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12214 cat >> confdefs.h <<EOF
12215 #define $ac_tr_func 1
12219 echo "$ac_t""no" 1>&6
12228 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12229 echo "configure:12230: checking for hypot declaration" >&5
12230 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12231 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12232 echo $ac_n "(cached) $ac_c" 1>&6
12237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12238 ac_cpp='$CXXCPP $CPPFLAGS'
12239 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12240 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12241 cross_compiling=$ac_cv_prog_cxx_cross
12243 cat > conftest.$ac_ext <<EOF
12244 #line 12245 "configure"
12245 #include "confdefs.h"
12251 if { (eval echo configure:12252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12253 glibcpp_cv_func_hypot_use=yes
12255 echo "configure: failed program was:" >&5
12256 cat conftest.$ac_ext >&5
12258 glibcpp_cv_func_hypot_use=no
12262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12266 cross_compiling=$ac_cv_prog_cc_cross
12272 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12274 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12275 for ac_func in hypot
12277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12278 echo "configure:12279: checking for $ac_func" >&5
12279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12280 echo $ac_n "(cached) $ac_c" 1>&6
12282 cat > conftest.$ac_ext <<EOF
12283 #line 12284 "configure"
12284 #include "confdefs.h"
12285 /* System header to define __stub macros and hopefully few prototypes,
12286 which can conflict with char $ac_func(); below. */
12287 #include <assert.h>
12288 /* Override any gcc2 internal prototype to avoid an error. */
12289 /* We use char because int might match the return type of a gcc2
12290 builtin and then its argument prototype would still apply. */
12295 /* The GNU C library defines this for functions which it implements
12296 to always fail with ENOSYS. Some functions are actually named
12297 something starting with __ and the normal name is an alias. */
12298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12306 if { (eval echo configure:12307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12308 eval "ac_cv_func_$ac_func=yes"
12310 echo "configure: failed program was:" >&5
12311 cat conftest.$ac_ext >&5
12313 eval "ac_cv_func_$ac_func=no"
12318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12319 echo "$ac_t""yes" 1>&6
12320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12321 cat >> confdefs.h <<EOF
12322 #define $ac_tr_func 1
12326 echo "$ac_t""no" 1>&6
12332 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12333 echo "configure:12334: checking for _hypot declaration" >&5
12334 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12335 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12336 echo $ac_n "(cached) $ac_c" 1>&6
12341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12342 ac_cpp='$CXXCPP $CPPFLAGS'
12343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12345 cross_compiling=$ac_cv_prog_cxx_cross
12347 cat > conftest.$ac_ext <<EOF
12348 #line 12349 "configure"
12349 #include "confdefs.h"
12355 if { (eval echo configure:12356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12357 glibcpp_cv_func__hypot_use=yes
12359 echo "configure: failed program was:" >&5
12360 cat conftest.$ac_ext >&5
12362 glibcpp_cv_func__hypot_use=no
12366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12367 ac_cpp='$CPP $CPPFLAGS'
12368 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12369 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12370 cross_compiling=$ac_cv_prog_cc_cross
12376 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12378 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12379 for ac_func in _hypot
12381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12382 echo "configure:12383: checking for $ac_func" >&5
12383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12384 echo $ac_n "(cached) $ac_c" 1>&6
12386 cat > conftest.$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12389 /* System header to define __stub macros and hopefully few prototypes,
12390 which can conflict with char $ac_func(); below. */
12391 #include <assert.h>
12392 /* Override any gcc2 internal prototype to avoid an error. */
12393 /* We use char because int might match the return type of a gcc2
12394 builtin and then its argument prototype would still apply. */
12399 /* The GNU C library defines this for functions which it implements
12400 to always fail with ENOSYS. Some functions are actually named
12401 something starting with __ and the normal name is an alias. */
12402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12410 if { (eval echo configure:12411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12412 eval "ac_cv_func_$ac_func=yes"
12414 echo "configure: failed program was:" >&5
12415 cat conftest.$ac_ext >&5
12417 eval "ac_cv_func_$ac_func=no"
12422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12423 echo "$ac_t""yes" 1>&6
12424 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12425 cat >> confdefs.h <<EOF
12426 #define $ac_tr_func 1
12430 echo "$ac_t""no" 1>&6
12439 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12440 echo "configure:12441: checking for float trig functions" >&5
12441 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12448 ac_cpp='$CXXCPP $CPPFLAGS'
12449 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12450 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12451 cross_compiling=$ac_cv_prog_cxx_cross
12453 cat > conftest.$ac_ext <<EOF
12454 #line 12455 "configure"
12455 #include "confdefs.h"
12458 `for x in acosf asinf atanf \
12460 coshf sinhf tanhf; do echo "$x (0);"; done`
12463 if { (eval echo configure:12464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12465 glibcpp_cv_func_float_trig_use=yes
12467 echo "configure: failed program was:" >&5
12468 cat conftest.$ac_ext >&5
12470 glibcpp_cv_func_float_trig_use=no
12474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12475 ac_cpp='$CPP $CPPFLAGS'
12476 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12477 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12478 cross_compiling=$ac_cv_prog_cc_cross
12482 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12483 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12484 for ac_func in acosf asinf atanf \
12488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12489 echo "configure:12490: checking for $ac_func" >&5
12490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12493 cat > conftest.$ac_ext <<EOF
12494 #line 12495 "configure"
12495 #include "confdefs.h"
12496 /* System header to define __stub macros and hopefully few prototypes,
12497 which can conflict with char $ac_func(); below. */
12498 #include <assert.h>
12499 /* Override any gcc2 internal prototype to avoid an error. */
12500 /* We use char because int might match the return type of a gcc2
12501 builtin and then its argument prototype would still apply. */
12506 /* The GNU C library defines this for functions which it implements
12507 to always fail with ENOSYS. Some functions are actually named
12508 something starting with __ and the normal name is an alias. */
12509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12517 if { (eval echo configure:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12519 eval "ac_cv_func_$ac_func=yes"
12521 echo "configure: failed program was:" >&5
12522 cat conftest.$ac_ext >&5
12524 eval "ac_cv_func_$ac_func=no"
12529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12530 echo "$ac_t""yes" 1>&6
12531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12532 cat >> confdefs.h <<EOF
12533 #define $ac_tr_func 1
12537 echo "$ac_t""no" 1>&6
12544 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12545 echo "configure:12546: checking for float round functions" >&5
12546 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12547 echo $ac_n "(cached) $ac_c" 1>&6
12552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12553 ac_cpp='$CXXCPP $CPPFLAGS'
12554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12556 cross_compiling=$ac_cv_prog_cxx_cross
12558 cat > conftest.$ac_ext <<EOF
12559 #line 12560 "configure"
12560 #include "confdefs.h"
12563 `for x in ceilf floorf; do echo "$x (0);"; done`
12566 if { (eval echo configure:12567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12568 glibcpp_cv_func_float_round_use=yes
12570 echo "configure: failed program was:" >&5
12571 cat conftest.$ac_ext >&5
12573 glibcpp_cv_func_float_round_use=no
12577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12578 ac_cpp='$CPP $CPPFLAGS'
12579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12581 cross_compiling=$ac_cv_prog_cc_cross
12585 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12586 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12587 for ac_func in ceilf floorf
12589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12590 echo "configure:12591: checking for $ac_func" >&5
12591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12592 echo $ac_n "(cached) $ac_c" 1>&6
12594 cat > conftest.$ac_ext <<EOF
12595 #line 12596 "configure"
12596 #include "confdefs.h"
12597 /* System header to define __stub macros and hopefully few prototypes,
12598 which can conflict with char $ac_func(); below. */
12599 #include <assert.h>
12600 /* Override any gcc2 internal prototype to avoid an error. */
12601 /* We use char because int might match the return type of a gcc2
12602 builtin and then its argument prototype would still apply. */
12607 /* The GNU C library defines this for functions which it implements
12608 to always fail with ENOSYS. Some functions are actually named
12609 something starting with __ and the normal name is an alias. */
12610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12618 if { (eval echo configure:12619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12620 eval "ac_cv_func_$ac_func=yes"
12622 echo "configure: failed program was:" >&5
12623 cat conftest.$ac_ext >&5
12625 eval "ac_cv_func_$ac_func=no"
12630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12631 echo "$ac_t""yes" 1>&6
12632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12633 cat >> confdefs.h <<EOF
12634 #define $ac_tr_func 1
12638 echo "$ac_t""no" 1>&6
12646 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12647 echo "configure:12648: checking for expf declaration" >&5
12648 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12649 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12650 echo $ac_n "(cached) $ac_c" 1>&6
12655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12656 ac_cpp='$CXXCPP $CPPFLAGS'
12657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12659 cross_compiling=$ac_cv_prog_cxx_cross
12661 cat > conftest.$ac_ext <<EOF
12662 #line 12663 "configure"
12663 #include "confdefs.h"
12665 #ifdef HAVE_IEEEFP_H
12666 #include <ieeefp.h>
12673 if { (eval echo configure:12674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12675 glibcpp_cv_func_expf_use=yes
12677 echo "configure: failed program was:" >&5
12678 cat conftest.$ac_ext >&5
12680 glibcpp_cv_func_expf_use=no
12684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12688 cross_compiling=$ac_cv_prog_cc_cross
12694 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12696 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12697 for ac_func in expf
12699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12700 echo "configure:12701: checking for $ac_func" >&5
12701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12702 echo $ac_n "(cached) $ac_c" 1>&6
12704 cat > conftest.$ac_ext <<EOF
12705 #line 12706 "configure"
12706 #include "confdefs.h"
12707 /* System header to define __stub macros and hopefully few prototypes,
12708 which can conflict with char $ac_func(); below. */
12709 #include <assert.h>
12710 /* Override any gcc2 internal prototype to avoid an error. */
12711 /* We use char because int might match the return type of a gcc2
12712 builtin and then its argument prototype would still apply. */
12717 /* The GNU C library defines this for functions which it implements
12718 to always fail with ENOSYS. Some functions are actually named
12719 something starting with __ and the normal name is an alias. */
12720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12728 if { (eval echo configure:12729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12730 eval "ac_cv_func_$ac_func=yes"
12732 echo "configure: failed program was:" >&5
12733 cat conftest.$ac_ext >&5
12735 eval "ac_cv_func_$ac_func=no"
12740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12741 echo "$ac_t""yes" 1>&6
12742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12743 cat >> confdefs.h <<EOF
12744 #define $ac_tr_func 1
12748 echo "$ac_t""no" 1>&6
12754 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12755 echo "configure:12756: checking for _expf declaration" >&5
12756 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12757 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12758 echo $ac_n "(cached) $ac_c" 1>&6
12763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12764 ac_cpp='$CXXCPP $CPPFLAGS'
12765 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12766 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12767 cross_compiling=$ac_cv_prog_cxx_cross
12769 cat > conftest.$ac_ext <<EOF
12770 #line 12771 "configure"
12771 #include "confdefs.h"
12773 #ifdef HAVE_IEEEFP_H
12774 #include <ieeefp.h>
12781 if { (eval echo configure:12782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12783 glibcpp_cv_func__expf_use=yes
12785 echo "configure: failed program was:" >&5
12786 cat conftest.$ac_ext >&5
12788 glibcpp_cv_func__expf_use=no
12792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12793 ac_cpp='$CPP $CPPFLAGS'
12794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12796 cross_compiling=$ac_cv_prog_cc_cross
12802 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12804 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12805 for ac_func in _expf
12807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12808 echo "configure:12809: checking for $ac_func" >&5
12809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12810 echo $ac_n "(cached) $ac_c" 1>&6
12812 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure"
12814 #include "confdefs.h"
12815 /* System header to define __stub macros and hopefully few prototypes,
12816 which can conflict with char $ac_func(); below. */
12817 #include <assert.h>
12818 /* Override any gcc2 internal prototype to avoid an error. */
12819 /* We use char because int might match the return type of a gcc2
12820 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12836 if { (eval echo configure:12837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12838 eval "ac_cv_func_$ac_func=yes"
12840 echo "configure: failed program was:" >&5
12841 cat conftest.$ac_ext >&5
12843 eval "ac_cv_func_$ac_func=no"
12848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12849 echo "$ac_t""yes" 1>&6
12850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12851 cat >> confdefs.h <<EOF
12852 #define $ac_tr_func 1
12856 echo "$ac_t""no" 1>&6
12865 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12866 echo "configure:12867: checking for isnanf declaration" >&5
12867 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12868 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12869 echo $ac_n "(cached) $ac_c" 1>&6
12874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12875 ac_cpp='$CXXCPP $CPPFLAGS'
12876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12878 cross_compiling=$ac_cv_prog_cxx_cross
12880 cat > conftest.$ac_ext <<EOF
12881 #line 12882 "configure"
12882 #include "confdefs.h"
12884 #ifdef HAVE_IEEEFP_H
12885 #include <ieeefp.h>
12892 if { (eval echo configure:12893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12894 glibcpp_cv_func_isnanf_use=yes
12896 echo "configure: failed program was:" >&5
12897 cat conftest.$ac_ext >&5
12899 glibcpp_cv_func_isnanf_use=no
12903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12904 ac_cpp='$CPP $CPPFLAGS'
12905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12907 cross_compiling=$ac_cv_prog_cc_cross
12913 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12915 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12916 for ac_func in isnanf
12918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12919 echo "configure:12920: checking for $ac_func" >&5
12920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12921 echo $ac_n "(cached) $ac_c" 1>&6
12923 cat > conftest.$ac_ext <<EOF
12924 #line 12925 "configure"
12925 #include "confdefs.h"
12926 /* System header to define __stub macros and hopefully few prototypes,
12927 which can conflict with char $ac_func(); below. */
12928 #include <assert.h>
12929 /* Override any gcc2 internal prototype to avoid an error. */
12930 /* We use char because int might match the return type of a gcc2
12931 builtin and then its argument prototype would still apply. */
12936 /* The GNU C library defines this for functions which it implements
12937 to always fail with ENOSYS. Some functions are actually named
12938 something starting with __ and the normal name is an alias. */
12939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12947 if { (eval echo configure:12948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12949 eval "ac_cv_func_$ac_func=yes"
12951 echo "configure: failed program was:" >&5
12952 cat conftest.$ac_ext >&5
12954 eval "ac_cv_func_$ac_func=no"
12959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12960 echo "$ac_t""yes" 1>&6
12961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12962 cat >> confdefs.h <<EOF
12963 #define $ac_tr_func 1
12967 echo "$ac_t""no" 1>&6
12973 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12974 echo "configure:12975: checking for _isnanf declaration" >&5
12975 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12976 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12977 echo $ac_n "(cached) $ac_c" 1>&6
12982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12983 ac_cpp='$CXXCPP $CPPFLAGS'
12984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12986 cross_compiling=$ac_cv_prog_cxx_cross
12988 cat > conftest.$ac_ext <<EOF
12989 #line 12990 "configure"
12990 #include "confdefs.h"
12992 #ifdef HAVE_IEEEFP_H
12993 #include <ieeefp.h>
13000 if { (eval echo configure:13001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13002 glibcpp_cv_func__isnanf_use=yes
13004 echo "configure: failed program was:" >&5
13005 cat conftest.$ac_ext >&5
13007 glibcpp_cv_func__isnanf_use=no
13011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13012 ac_cpp='$CPP $CPPFLAGS'
13013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13015 cross_compiling=$ac_cv_prog_cc_cross
13021 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13023 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13024 for ac_func in _isnanf
13026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13027 echo "configure:13028: checking for $ac_func" >&5
13028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13029 echo $ac_n "(cached) $ac_c" 1>&6
13031 cat > conftest.$ac_ext <<EOF
13032 #line 13033 "configure"
13033 #include "confdefs.h"
13034 /* System header to define __stub macros and hopefully few prototypes,
13035 which can conflict with char $ac_func(); below. */
13036 #include <assert.h>
13037 /* Override any gcc2 internal prototype to avoid an error. */
13038 /* We use char because int might match the return type of a gcc2
13039 builtin and then its argument prototype would still apply. */
13044 /* The GNU C library defines this for functions which it implements
13045 to always fail with ENOSYS. Some functions are actually named
13046 something starting with __ and the normal name is an alias. */
13047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13055 if { (eval echo configure:13056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13057 eval "ac_cv_func_$ac_func=yes"
13059 echo "configure: failed program was:" >&5
13060 cat conftest.$ac_ext >&5
13062 eval "ac_cv_func_$ac_func=no"
13067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13068 echo "$ac_t""yes" 1>&6
13069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13070 cat >> confdefs.h <<EOF
13071 #define $ac_tr_func 1
13075 echo "$ac_t""no" 1>&6
13084 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13085 echo "configure:13086: checking for isinff declaration" >&5
13086 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13087 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13088 echo $ac_n "(cached) $ac_c" 1>&6
13093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13094 ac_cpp='$CXXCPP $CPPFLAGS'
13095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13097 cross_compiling=$ac_cv_prog_cxx_cross
13099 cat > conftest.$ac_ext <<EOF
13100 #line 13101 "configure"
13101 #include "confdefs.h"
13103 #ifdef HAVE_IEEEFP_H
13104 #include <ieeefp.h>
13111 if { (eval echo configure:13112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13113 glibcpp_cv_func_isinff_use=yes
13115 echo "configure: failed program was:" >&5
13116 cat conftest.$ac_ext >&5
13118 glibcpp_cv_func_isinff_use=no
13122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13123 ac_cpp='$CPP $CPPFLAGS'
13124 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13125 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13126 cross_compiling=$ac_cv_prog_cc_cross
13132 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13134 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13135 for ac_func in isinff
13137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13138 echo "configure:13139: checking for $ac_func" >&5
13139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13140 echo $ac_n "(cached) $ac_c" 1>&6
13142 cat > conftest.$ac_ext <<EOF
13143 #line 13144 "configure"
13144 #include "confdefs.h"
13145 /* System header to define __stub macros and hopefully few prototypes,
13146 which can conflict with char $ac_func(); below. */
13147 #include <assert.h>
13148 /* Override any gcc2 internal prototype to avoid an error. */
13149 /* We use char because int might match the return type of a gcc2
13150 builtin and then its argument prototype would still apply. */
13155 /* The GNU C library defines this for functions which it implements
13156 to always fail with ENOSYS. Some functions are actually named
13157 something starting with __ and the normal name is an alias. */
13158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13166 if { (eval echo configure:13167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13168 eval "ac_cv_func_$ac_func=yes"
13170 echo "configure: failed program was:" >&5
13171 cat conftest.$ac_ext >&5
13173 eval "ac_cv_func_$ac_func=no"
13178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13179 echo "$ac_t""yes" 1>&6
13180 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13181 cat >> confdefs.h <<EOF
13182 #define $ac_tr_func 1
13186 echo "$ac_t""no" 1>&6
13192 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13193 echo "configure:13194: checking for _isinff declaration" >&5
13194 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13195 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13196 echo $ac_n "(cached) $ac_c" 1>&6
13201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13202 ac_cpp='$CXXCPP $CPPFLAGS'
13203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13205 cross_compiling=$ac_cv_prog_cxx_cross
13207 cat > conftest.$ac_ext <<EOF
13208 #line 13209 "configure"
13209 #include "confdefs.h"
13211 #ifdef HAVE_IEEEFP_H
13212 #include <ieeefp.h>
13219 if { (eval echo configure:13220: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13221 glibcpp_cv_func__isinff_use=yes
13223 echo "configure: failed program was:" >&5
13224 cat conftest.$ac_ext >&5
13226 glibcpp_cv_func__isinff_use=no
13230 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13231 ac_cpp='$CPP $CPPFLAGS'
13232 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13233 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13234 cross_compiling=$ac_cv_prog_cc_cross
13240 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13242 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13243 for ac_func in _isinff
13245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13246 echo "configure:13247: checking for $ac_func" >&5
13247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13248 echo $ac_n "(cached) $ac_c" 1>&6
13250 cat > conftest.$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13253 /* System header to define __stub macros and hopefully few prototypes,
13254 which can conflict with char $ac_func(); below. */
13255 #include <assert.h>
13256 /* Override any gcc2 internal prototype to avoid an error. */
13257 /* We use char because int might match the return type of a gcc2
13258 builtin and then its argument prototype would still apply. */
13263 /* The GNU C library defines this for functions which it implements
13264 to always fail with ENOSYS. Some functions are actually named
13265 something starting with __ and the normal name is an alias. */
13266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13274 if { (eval echo configure:13275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13276 eval "ac_cv_func_$ac_func=yes"
13278 echo "configure: failed program was:" >&5
13279 cat conftest.$ac_ext >&5
13281 eval "ac_cv_func_$ac_func=no"
13286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13287 echo "$ac_t""yes" 1>&6
13288 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13289 cat >> confdefs.h <<EOF
13290 #define $ac_tr_func 1
13294 echo "$ac_t""no" 1>&6
13303 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13304 echo "configure:13305: checking for atan2f declaration" >&5
13305 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13306 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13307 echo $ac_n "(cached) $ac_c" 1>&6
13312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13313 ac_cpp='$CXXCPP $CPPFLAGS'
13314 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13315 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13316 cross_compiling=$ac_cv_prog_cxx_cross
13318 cat > conftest.$ac_ext <<EOF
13319 #line 13320 "configure"
13320 #include "confdefs.h"
13326 if { (eval echo configure:13327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13328 glibcpp_cv_func_atan2f_use=yes
13330 echo "configure: failed program was:" >&5
13331 cat conftest.$ac_ext >&5
13333 glibcpp_cv_func_atan2f_use=no
13337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13338 ac_cpp='$CPP $CPPFLAGS'
13339 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13340 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13341 cross_compiling=$ac_cv_prog_cc_cross
13347 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13349 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13350 for ac_func in atan2f
13352 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13353 echo "configure:13354: checking for $ac_func" >&5
13354 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13355 echo $ac_n "(cached) $ac_c" 1>&6
13357 cat > conftest.$ac_ext <<EOF
13358 #line 13359 "configure"
13359 #include "confdefs.h"
13360 /* System header to define __stub macros and hopefully few prototypes,
13361 which can conflict with char $ac_func(); below. */
13362 #include <assert.h>
13363 /* Override any gcc2 internal prototype to avoid an error. */
13364 /* We use char because int might match the return type of a gcc2
13365 builtin and then its argument prototype would still apply. */
13370 /* The GNU C library defines this for functions which it implements
13371 to always fail with ENOSYS. Some functions are actually named
13372 something starting with __ and the normal name is an alias. */
13373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13381 if { (eval echo configure:13382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13383 eval "ac_cv_func_$ac_func=yes"
13385 echo "configure: failed program was:" >&5
13386 cat conftest.$ac_ext >&5
13388 eval "ac_cv_func_$ac_func=no"
13393 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13394 echo "$ac_t""yes" 1>&6
13395 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13396 cat >> confdefs.h <<EOF
13397 #define $ac_tr_func 1
13401 echo "$ac_t""no" 1>&6
13407 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13408 echo "configure:13409: checking for _atan2f declaration" >&5
13409 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13410 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13411 echo $ac_n "(cached) $ac_c" 1>&6
13416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13417 ac_cpp='$CXXCPP $CPPFLAGS'
13418 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13419 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13420 cross_compiling=$ac_cv_prog_cxx_cross
13422 cat > conftest.$ac_ext <<EOF
13423 #line 13424 "configure"
13424 #include "confdefs.h"
13430 if { (eval echo configure:13431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13432 glibcpp_cv_func__atan2f_use=yes
13434 echo "configure: failed program was:" >&5
13435 cat conftest.$ac_ext >&5
13437 glibcpp_cv_func__atan2f_use=no
13441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13442 ac_cpp='$CPP $CPPFLAGS'
13443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13445 cross_compiling=$ac_cv_prog_cc_cross
13451 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13453 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13454 for ac_func in _atan2f
13456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13457 echo "configure:13458: checking for $ac_func" >&5
13458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13459 echo $ac_n "(cached) $ac_c" 1>&6
13461 cat > conftest.$ac_ext <<EOF
13462 #line 13463 "configure"
13463 #include "confdefs.h"
13464 /* System header to define __stub macros and hopefully few prototypes,
13465 which can conflict with char $ac_func(); below. */
13466 #include <assert.h>
13467 /* Override any gcc2 internal prototype to avoid an error. */
13468 /* We use char because int might match the return type of a gcc2
13469 builtin and then its argument prototype would still apply. */
13474 /* The GNU C library defines this for functions which it implements
13475 to always fail with ENOSYS. Some functions are actually named
13476 something starting with __ and the normal name is an alias. */
13477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13485 if { (eval echo configure:13486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13487 eval "ac_cv_func_$ac_func=yes"
13489 echo "configure: failed program was:" >&5
13490 cat conftest.$ac_ext >&5
13492 eval "ac_cv_func_$ac_func=no"
13497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13498 echo "$ac_t""yes" 1>&6
13499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13500 cat >> confdefs.h <<EOF
13501 #define $ac_tr_func 1
13505 echo "$ac_t""no" 1>&6
13514 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13515 echo "configure:13516: checking for fabsf declaration" >&5
13516 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13517 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13518 echo $ac_n "(cached) $ac_c" 1>&6
13523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13524 ac_cpp='$CXXCPP $CPPFLAGS'
13525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13527 cross_compiling=$ac_cv_prog_cxx_cross
13529 cat > conftest.$ac_ext <<EOF
13530 #line 13531 "configure"
13531 #include "confdefs.h"
13533 #ifdef HAVE_IEEEFP_H
13534 #include <ieeefp.h>
13541 if { (eval echo configure:13542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13543 glibcpp_cv_func_fabsf_use=yes
13545 echo "configure: failed program was:" >&5
13546 cat conftest.$ac_ext >&5
13548 glibcpp_cv_func_fabsf_use=no
13552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13553 ac_cpp='$CPP $CPPFLAGS'
13554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13555 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13556 cross_compiling=$ac_cv_prog_cc_cross
13562 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13564 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13565 for ac_func in fabsf
13567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13568 echo "configure:13569: checking for $ac_func" >&5
13569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13570 echo $ac_n "(cached) $ac_c" 1>&6
13572 cat > conftest.$ac_ext <<EOF
13573 #line 13574 "configure"
13574 #include "confdefs.h"
13575 /* System header to define __stub macros and hopefully few prototypes,
13576 which can conflict with char $ac_func(); below. */
13577 #include <assert.h>
13578 /* Override any gcc2 internal prototype to avoid an error. */
13579 /* We use char because int might match the return type of a gcc2
13580 builtin and then its argument prototype would still apply. */
13585 /* The GNU C library defines this for functions which it implements
13586 to always fail with ENOSYS. Some functions are actually named
13587 something starting with __ and the normal name is an alias. */
13588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13596 if { (eval echo configure:13597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13598 eval "ac_cv_func_$ac_func=yes"
13600 echo "configure: failed program was:" >&5
13601 cat conftest.$ac_ext >&5
13603 eval "ac_cv_func_$ac_func=no"
13608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13609 echo "$ac_t""yes" 1>&6
13610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13611 cat >> confdefs.h <<EOF
13612 #define $ac_tr_func 1
13616 echo "$ac_t""no" 1>&6
13622 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13623 echo "configure:13624: checking for _fabsf declaration" >&5
13624 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13625 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13626 echo $ac_n "(cached) $ac_c" 1>&6
13631 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13632 ac_cpp='$CXXCPP $CPPFLAGS'
13633 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13634 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13635 cross_compiling=$ac_cv_prog_cxx_cross
13637 cat > conftest.$ac_ext <<EOF
13638 #line 13639 "configure"
13639 #include "confdefs.h"
13641 #ifdef HAVE_IEEEFP_H
13642 #include <ieeefp.h>
13649 if { (eval echo configure:13650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13651 glibcpp_cv_func__fabsf_use=yes
13653 echo "configure: failed program was:" >&5
13654 cat conftest.$ac_ext >&5
13656 glibcpp_cv_func__fabsf_use=no
13660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13661 ac_cpp='$CPP $CPPFLAGS'
13662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13664 cross_compiling=$ac_cv_prog_cc_cross
13670 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13672 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13673 for ac_func in _fabsf
13675 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13676 echo "configure:13677: checking for $ac_func" >&5
13677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13678 echo $ac_n "(cached) $ac_c" 1>&6
13680 cat > conftest.$ac_ext <<EOF
13681 #line 13682 "configure"
13682 #include "confdefs.h"
13683 /* System header to define __stub macros and hopefully few prototypes,
13684 which can conflict with char $ac_func(); below. */
13685 #include <assert.h>
13686 /* Override any gcc2 internal prototype to avoid an error. */
13687 /* We use char because int might match the return type of a gcc2
13688 builtin and then its argument prototype would still apply. */
13693 /* The GNU C library defines this for functions which it implements
13694 to always fail with ENOSYS. Some functions are actually named
13695 something starting with __ and the normal name is an alias. */
13696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13704 if { (eval echo configure:13705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13706 eval "ac_cv_func_$ac_func=yes"
13708 echo "configure: failed program was:" >&5
13709 cat conftest.$ac_ext >&5
13711 eval "ac_cv_func_$ac_func=no"
13716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13717 echo "$ac_t""yes" 1>&6
13718 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13719 cat >> confdefs.h <<EOF
13720 #define $ac_tr_func 1
13724 echo "$ac_t""no" 1>&6
13733 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13734 echo "configure:13735: checking for fmodf declaration" >&5
13735 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13736 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13737 echo $ac_n "(cached) $ac_c" 1>&6
13742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13743 ac_cpp='$CXXCPP $CPPFLAGS'
13744 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13745 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13746 cross_compiling=$ac_cv_prog_cxx_cross
13748 cat > conftest.$ac_ext <<EOF
13749 #line 13750 "configure"
13750 #include "confdefs.h"
13756 if { (eval echo configure:13757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13758 glibcpp_cv_func_fmodf_use=yes
13760 echo "configure: failed program was:" >&5
13761 cat conftest.$ac_ext >&5
13763 glibcpp_cv_func_fmodf_use=no
13767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13768 ac_cpp='$CPP $CPPFLAGS'
13769 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13770 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13771 cross_compiling=$ac_cv_prog_cc_cross
13777 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13779 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13780 for ac_func in fmodf
13782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13783 echo "configure:13784: checking for $ac_func" >&5
13784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13785 echo $ac_n "(cached) $ac_c" 1>&6
13787 cat > conftest.$ac_ext <<EOF
13788 #line 13789 "configure"
13789 #include "confdefs.h"
13790 /* System header to define __stub macros and hopefully few prototypes,
13791 which can conflict with char $ac_func(); below. */
13792 #include <assert.h>
13793 /* Override any gcc2 internal prototype to avoid an error. */
13794 /* We use char because int might match the return type of a gcc2
13795 builtin and then its argument prototype would still apply. */
13800 /* The GNU C library defines this for functions which it implements
13801 to always fail with ENOSYS. Some functions are actually named
13802 something starting with __ and the normal name is an alias. */
13803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13811 if { (eval echo configure:13812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13813 eval "ac_cv_func_$ac_func=yes"
13815 echo "configure: failed program was:" >&5
13816 cat conftest.$ac_ext >&5
13818 eval "ac_cv_func_$ac_func=no"
13823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13824 echo "$ac_t""yes" 1>&6
13825 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13826 cat >> confdefs.h <<EOF
13827 #define $ac_tr_func 1
13831 echo "$ac_t""no" 1>&6
13837 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13838 echo "configure:13839: checking for _fmodf declaration" >&5
13839 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13840 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13841 echo $ac_n "(cached) $ac_c" 1>&6
13846 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13847 ac_cpp='$CXXCPP $CPPFLAGS'
13848 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13849 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13850 cross_compiling=$ac_cv_prog_cxx_cross
13852 cat > conftest.$ac_ext <<EOF
13853 #line 13854 "configure"
13854 #include "confdefs.h"
13860 if { (eval echo configure:13861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13862 glibcpp_cv_func__fmodf_use=yes
13864 echo "configure: failed program was:" >&5
13865 cat conftest.$ac_ext >&5
13867 glibcpp_cv_func__fmodf_use=no
13871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13872 ac_cpp='$CPP $CPPFLAGS'
13873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13875 cross_compiling=$ac_cv_prog_cc_cross
13881 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13883 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13884 for ac_func in _fmodf
13886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13887 echo "configure:13888: checking for $ac_func" >&5
13888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13889 echo $ac_n "(cached) $ac_c" 1>&6
13891 cat > conftest.$ac_ext <<EOF
13892 #line 13893 "configure"
13893 #include "confdefs.h"
13894 /* System header to define __stub macros and hopefully few prototypes,
13895 which can conflict with char $ac_func(); below. */
13896 #include <assert.h>
13897 /* Override any gcc2 internal prototype to avoid an error. */
13898 /* We use char because int might match the return type of a gcc2
13899 builtin and then its argument prototype would still apply. */
13904 /* The GNU C library defines this for functions which it implements
13905 to always fail with ENOSYS. Some functions are actually named
13906 something starting with __ and the normal name is an alias. */
13907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13915 if { (eval echo configure:13916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13917 eval "ac_cv_func_$ac_func=yes"
13919 echo "configure: failed program was:" >&5
13920 cat conftest.$ac_ext >&5
13922 eval "ac_cv_func_$ac_func=no"
13927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13928 echo "$ac_t""yes" 1>&6
13929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13930 cat >> confdefs.h <<EOF
13931 #define $ac_tr_func 1
13935 echo "$ac_t""no" 1>&6
13944 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13945 echo "configure:13946: checking for frexpf declaration" >&5
13946 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13947 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13948 echo $ac_n "(cached) $ac_c" 1>&6
13953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13954 ac_cpp='$CXXCPP $CPPFLAGS'
13955 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13956 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13957 cross_compiling=$ac_cv_prog_cxx_cross
13959 cat > conftest.$ac_ext <<EOF
13960 #line 13961 "configure"
13961 #include "confdefs.h"
13967 if { (eval echo configure:13968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13969 glibcpp_cv_func_frexpf_use=yes
13971 echo "configure: failed program was:" >&5
13972 cat conftest.$ac_ext >&5
13974 glibcpp_cv_func_frexpf_use=no
13978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13979 ac_cpp='$CPP $CPPFLAGS'
13980 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13981 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13982 cross_compiling=$ac_cv_prog_cc_cross
13988 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13990 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13991 for ac_func in frexpf
13993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13994 echo "configure:13995: checking for $ac_func" >&5
13995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13996 echo $ac_n "(cached) $ac_c" 1>&6
13998 cat > conftest.$ac_ext <<EOF
13999 #line 14000 "configure"
14000 #include "confdefs.h"
14001 /* System header to define __stub macros and hopefully few prototypes,
14002 which can conflict with char $ac_func(); below. */
14003 #include <assert.h>
14004 /* Override any gcc2 internal prototype to avoid an error. */
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14011 /* The GNU C library defines this for functions which it implements
14012 to always fail with ENOSYS. Some functions are actually named
14013 something starting with __ and the normal name is an alias. */
14014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14022 if { (eval echo configure:14023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14024 eval "ac_cv_func_$ac_func=yes"
14026 echo "configure: failed program was:" >&5
14027 cat conftest.$ac_ext >&5
14029 eval "ac_cv_func_$ac_func=no"
14034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14035 echo "$ac_t""yes" 1>&6
14036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14037 cat >> confdefs.h <<EOF
14038 #define $ac_tr_func 1
14042 echo "$ac_t""no" 1>&6
14048 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14049 echo "configure:14050: checking for _frexpf declaration" >&5
14050 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14051 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14052 echo $ac_n "(cached) $ac_c" 1>&6
14057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14058 ac_cpp='$CXXCPP $CPPFLAGS'
14059 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14060 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14061 cross_compiling=$ac_cv_prog_cxx_cross
14063 cat > conftest.$ac_ext <<EOF
14064 #line 14065 "configure"
14065 #include "confdefs.h"
14071 if { (eval echo configure:14072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14073 glibcpp_cv_func__frexpf_use=yes
14075 echo "configure: failed program was:" >&5
14076 cat conftest.$ac_ext >&5
14078 glibcpp_cv_func__frexpf_use=no
14082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14083 ac_cpp='$CPP $CPPFLAGS'
14084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14086 cross_compiling=$ac_cv_prog_cc_cross
14092 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14094 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14095 for ac_func in _frexpf
14097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14098 echo "configure:14099: checking for $ac_func" >&5
14099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14100 echo $ac_n "(cached) $ac_c" 1>&6
14102 cat > conftest.$ac_ext <<EOF
14103 #line 14104 "configure"
14104 #include "confdefs.h"
14105 /* System header to define __stub macros and hopefully few prototypes,
14106 which can conflict with char $ac_func(); below. */
14107 #include <assert.h>
14108 /* Override any gcc2 internal prototype to avoid an error. */
14109 /* We use char because int might match the return type of a gcc2
14110 builtin and then its argument prototype would still apply. */
14115 /* The GNU C library defines this for functions which it implements
14116 to always fail with ENOSYS. Some functions are actually named
14117 something starting with __ and the normal name is an alias. */
14118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14126 if { (eval echo configure:14127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14128 eval "ac_cv_func_$ac_func=yes"
14130 echo "configure: failed program was:" >&5
14131 cat conftest.$ac_ext >&5
14133 eval "ac_cv_func_$ac_func=no"
14138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14139 echo "$ac_t""yes" 1>&6
14140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14141 cat >> confdefs.h <<EOF
14142 #define $ac_tr_func 1
14146 echo "$ac_t""no" 1>&6
14155 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14156 echo "configure:14157: checking for hypotf declaration" >&5
14157 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14158 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14159 echo $ac_n "(cached) $ac_c" 1>&6
14164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14165 ac_cpp='$CXXCPP $CPPFLAGS'
14166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14168 cross_compiling=$ac_cv_prog_cxx_cross
14170 cat > conftest.$ac_ext <<EOF
14171 #line 14172 "configure"
14172 #include "confdefs.h"
14178 if { (eval echo configure:14179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14180 glibcpp_cv_func_hypotf_use=yes
14182 echo "configure: failed program was:" >&5
14183 cat conftest.$ac_ext >&5
14185 glibcpp_cv_func_hypotf_use=no
14189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14190 ac_cpp='$CPP $CPPFLAGS'
14191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14193 cross_compiling=$ac_cv_prog_cc_cross
14199 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14201 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14202 for ac_func in hypotf
14204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14205 echo "configure:14206: checking for $ac_func" >&5
14206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14207 echo $ac_n "(cached) $ac_c" 1>&6
14209 cat > conftest.$ac_ext <<EOF
14210 #line 14211 "configure"
14211 #include "confdefs.h"
14212 /* System header to define __stub macros and hopefully few prototypes,
14213 which can conflict with char $ac_func(); below. */
14214 #include <assert.h>
14215 /* Override any gcc2 internal prototype to avoid an error. */
14216 /* We use char because int might match the return type of a gcc2
14217 builtin and then its argument prototype would still apply. */
14222 /* The GNU C library defines this for functions which it implements
14223 to always fail with ENOSYS. Some functions are actually named
14224 something starting with __ and the normal name is an alias. */
14225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14233 if { (eval echo configure:14234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14235 eval "ac_cv_func_$ac_func=yes"
14237 echo "configure: failed program was:" >&5
14238 cat conftest.$ac_ext >&5
14240 eval "ac_cv_func_$ac_func=no"
14245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14246 echo "$ac_t""yes" 1>&6
14247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14248 cat >> confdefs.h <<EOF
14249 #define $ac_tr_func 1
14253 echo "$ac_t""no" 1>&6
14259 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14260 echo "configure:14261: checking for _hypotf declaration" >&5
14261 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14262 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14263 echo $ac_n "(cached) $ac_c" 1>&6
14268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14269 ac_cpp='$CXXCPP $CPPFLAGS'
14270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14272 cross_compiling=$ac_cv_prog_cxx_cross
14274 cat > conftest.$ac_ext <<EOF
14275 #line 14276 "configure"
14276 #include "confdefs.h"
14282 if { (eval echo configure:14283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14284 glibcpp_cv_func__hypotf_use=yes
14286 echo "configure: failed program was:" >&5
14287 cat conftest.$ac_ext >&5
14289 glibcpp_cv_func__hypotf_use=no
14293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14294 ac_cpp='$CPP $CPPFLAGS'
14295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14297 cross_compiling=$ac_cv_prog_cc_cross
14303 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14305 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14306 for ac_func in _hypotf
14308 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14309 echo "configure:14310: checking for $ac_func" >&5
14310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14311 echo $ac_n "(cached) $ac_c" 1>&6
14313 cat > conftest.$ac_ext <<EOF
14314 #line 14315 "configure"
14315 #include "confdefs.h"
14316 /* System header to define __stub macros and hopefully few prototypes,
14317 which can conflict with char $ac_func(); below. */
14318 #include <assert.h>
14319 /* Override any gcc2 internal prototype to avoid an error. */
14320 /* We use char because int might match the return type of a gcc2
14321 builtin and then its argument prototype would still apply. */
14326 /* The GNU C library defines this for functions which it implements
14327 to always fail with ENOSYS. Some functions are actually named
14328 something starting with __ and the normal name is an alias. */
14329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14337 if { (eval echo configure:14338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14339 eval "ac_cv_func_$ac_func=yes"
14341 echo "configure: failed program was:" >&5
14342 cat conftest.$ac_ext >&5
14344 eval "ac_cv_func_$ac_func=no"
14349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14350 echo "$ac_t""yes" 1>&6
14351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14352 cat >> confdefs.h <<EOF
14353 #define $ac_tr_func 1
14357 echo "$ac_t""no" 1>&6
14366 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14367 echo "configure:14368: checking for ldexpf declaration" >&5
14368 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14369 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14370 echo $ac_n "(cached) $ac_c" 1>&6
14375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14376 ac_cpp='$CXXCPP $CPPFLAGS'
14377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14379 cross_compiling=$ac_cv_prog_cxx_cross
14381 cat > conftest.$ac_ext <<EOF
14382 #line 14383 "configure"
14383 #include "confdefs.h"
14389 if { (eval echo configure:14390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14391 glibcpp_cv_func_ldexpf_use=yes
14393 echo "configure: failed program was:" >&5
14394 cat conftest.$ac_ext >&5
14396 glibcpp_cv_func_ldexpf_use=no
14400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14401 ac_cpp='$CPP $CPPFLAGS'
14402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14404 cross_compiling=$ac_cv_prog_cc_cross
14410 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14412 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14413 for ac_func in ldexpf
14415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14416 echo "configure:14417: checking for $ac_func" >&5
14417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14418 echo $ac_n "(cached) $ac_c" 1>&6
14420 cat > conftest.$ac_ext <<EOF
14421 #line 14422 "configure"
14422 #include "confdefs.h"
14423 /* System header to define __stub macros and hopefully few prototypes,
14424 which can conflict with char $ac_func(); below. */
14425 #include <assert.h>
14426 /* Override any gcc2 internal prototype to avoid an error. */
14427 /* We use char because int might match the return type of a gcc2
14428 builtin and then its argument prototype would still apply. */
14433 /* The GNU C library defines this for functions which it implements
14434 to always fail with ENOSYS. Some functions are actually named
14435 something starting with __ and the normal name is an alias. */
14436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14444 if { (eval echo configure:14445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14446 eval "ac_cv_func_$ac_func=yes"
14448 echo "configure: failed program was:" >&5
14449 cat conftest.$ac_ext >&5
14451 eval "ac_cv_func_$ac_func=no"
14456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14457 echo "$ac_t""yes" 1>&6
14458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14459 cat >> confdefs.h <<EOF
14460 #define $ac_tr_func 1
14464 echo "$ac_t""no" 1>&6
14470 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14471 echo "configure:14472: checking for _ldexpf declaration" >&5
14472 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14473 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14474 echo $ac_n "(cached) $ac_c" 1>&6
14479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14480 ac_cpp='$CXXCPP $CPPFLAGS'
14481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14483 cross_compiling=$ac_cv_prog_cxx_cross
14485 cat > conftest.$ac_ext <<EOF
14486 #line 14487 "configure"
14487 #include "confdefs.h"
14493 if { (eval echo configure:14494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14495 glibcpp_cv_func__ldexpf_use=yes
14497 echo "configure: failed program was:" >&5
14498 cat conftest.$ac_ext >&5
14500 glibcpp_cv_func__ldexpf_use=no
14504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14505 ac_cpp='$CPP $CPPFLAGS'
14506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14508 cross_compiling=$ac_cv_prog_cc_cross
14514 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14516 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14517 for ac_func in _ldexpf
14519 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14520 echo "configure:14521: checking for $ac_func" >&5
14521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14522 echo $ac_n "(cached) $ac_c" 1>&6
14524 cat > conftest.$ac_ext <<EOF
14525 #line 14526 "configure"
14526 #include "confdefs.h"
14527 /* System header to define __stub macros and hopefully few prototypes,
14528 which can conflict with char $ac_func(); below. */
14529 #include <assert.h>
14530 /* Override any gcc2 internal prototype to avoid an error. */
14531 /* We use char because int might match the return type of a gcc2
14532 builtin and then its argument prototype would still apply. */
14537 /* The GNU C library defines this for functions which it implements
14538 to always fail with ENOSYS. Some functions are actually named
14539 something starting with __ and the normal name is an alias. */
14540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14548 if { (eval echo configure:14549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14550 eval "ac_cv_func_$ac_func=yes"
14552 echo "configure: failed program was:" >&5
14553 cat conftest.$ac_ext >&5
14555 eval "ac_cv_func_$ac_func=no"
14560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14561 echo "$ac_t""yes" 1>&6
14562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14563 cat >> confdefs.h <<EOF
14564 #define $ac_tr_func 1
14568 echo "$ac_t""no" 1>&6
14577 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14578 echo "configure:14579: checking for logf declaration" >&5
14579 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14580 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14587 ac_cpp='$CXXCPP $CPPFLAGS'
14588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14590 cross_compiling=$ac_cv_prog_cxx_cross
14592 cat > conftest.$ac_ext <<EOF
14593 #line 14594 "configure"
14594 #include "confdefs.h"
14596 #ifdef HAVE_IEEEFP_H
14597 #include <ieeefp.h>
14604 if { (eval echo configure:14605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14606 glibcpp_cv_func_logf_use=yes
14608 echo "configure: failed program was:" >&5
14609 cat conftest.$ac_ext >&5
14611 glibcpp_cv_func_logf_use=no
14615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14616 ac_cpp='$CPP $CPPFLAGS'
14617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14619 cross_compiling=$ac_cv_prog_cc_cross
14625 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14627 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14628 for ac_func in logf
14630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14631 echo "configure:14632: checking for $ac_func" >&5
14632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14633 echo $ac_n "(cached) $ac_c" 1>&6
14635 cat > conftest.$ac_ext <<EOF
14636 #line 14637 "configure"
14637 #include "confdefs.h"
14638 /* System header to define __stub macros and hopefully few prototypes,
14639 which can conflict with char $ac_func(); below. */
14640 #include <assert.h>
14641 /* Override any gcc2 internal prototype to avoid an error. */
14642 /* We use char because int might match the return type of a gcc2
14643 builtin and then its argument prototype would still apply. */
14648 /* The GNU C library defines this for functions which it implements
14649 to always fail with ENOSYS. Some functions are actually named
14650 something starting with __ and the normal name is an alias. */
14651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14659 if { (eval echo configure:14660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14661 eval "ac_cv_func_$ac_func=yes"
14663 echo "configure: failed program was:" >&5
14664 cat conftest.$ac_ext >&5
14666 eval "ac_cv_func_$ac_func=no"
14671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14672 echo "$ac_t""yes" 1>&6
14673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14674 cat >> confdefs.h <<EOF
14675 #define $ac_tr_func 1
14679 echo "$ac_t""no" 1>&6
14685 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14686 echo "configure:14687: checking for _logf declaration" >&5
14687 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14688 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14689 echo $ac_n "(cached) $ac_c" 1>&6
14694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14695 ac_cpp='$CXXCPP $CPPFLAGS'
14696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14698 cross_compiling=$ac_cv_prog_cxx_cross
14700 cat > conftest.$ac_ext <<EOF
14701 #line 14702 "configure"
14702 #include "confdefs.h"
14704 #ifdef HAVE_IEEEFP_H
14705 #include <ieeefp.h>
14712 if { (eval echo configure:14713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14714 glibcpp_cv_func__logf_use=yes
14716 echo "configure: failed program was:" >&5
14717 cat conftest.$ac_ext >&5
14719 glibcpp_cv_func__logf_use=no
14723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14724 ac_cpp='$CPP $CPPFLAGS'
14725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14727 cross_compiling=$ac_cv_prog_cc_cross
14733 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14735 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14736 for ac_func in _logf
14738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14739 echo "configure:14740: checking for $ac_func" >&5
14740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14741 echo $ac_n "(cached) $ac_c" 1>&6
14743 cat > conftest.$ac_ext <<EOF
14744 #line 14745 "configure"
14745 #include "confdefs.h"
14746 /* System header to define __stub macros and hopefully few prototypes,
14747 which can conflict with char $ac_func(); below. */
14748 #include <assert.h>
14749 /* Override any gcc2 internal prototype to avoid an error. */
14750 /* We use char because int might match the return type of a gcc2
14751 builtin and then its argument prototype would still apply. */
14756 /* The GNU C library defines this for functions which it implements
14757 to always fail with ENOSYS. Some functions are actually named
14758 something starting with __ and the normal name is an alias. */
14759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14767 if { (eval echo configure:14768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14769 eval "ac_cv_func_$ac_func=yes"
14771 echo "configure: failed program was:" >&5
14772 cat conftest.$ac_ext >&5
14774 eval "ac_cv_func_$ac_func=no"
14779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14780 echo "$ac_t""yes" 1>&6
14781 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14782 cat >> confdefs.h <<EOF
14783 #define $ac_tr_func 1
14787 echo "$ac_t""no" 1>&6
14796 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14797 echo "configure:14798: checking for log10f declaration" >&5
14798 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14799 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14800 echo $ac_n "(cached) $ac_c" 1>&6
14805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14806 ac_cpp='$CXXCPP $CPPFLAGS'
14807 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14808 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14809 cross_compiling=$ac_cv_prog_cxx_cross
14811 cat > conftest.$ac_ext <<EOF
14812 #line 14813 "configure"
14813 #include "confdefs.h"
14815 #ifdef HAVE_IEEEFP_H
14816 #include <ieeefp.h>
14823 if { (eval echo configure:14824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14825 glibcpp_cv_func_log10f_use=yes
14827 echo "configure: failed program was:" >&5
14828 cat conftest.$ac_ext >&5
14830 glibcpp_cv_func_log10f_use=no
14834 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14835 ac_cpp='$CPP $CPPFLAGS'
14836 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14837 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14838 cross_compiling=$ac_cv_prog_cc_cross
14844 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14846 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14847 for ac_func in log10f
14849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14850 echo "configure:14851: checking for $ac_func" >&5
14851 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14852 echo $ac_n "(cached) $ac_c" 1>&6
14854 cat > conftest.$ac_ext <<EOF
14855 #line 14856 "configure"
14856 #include "confdefs.h"
14857 /* System header to define __stub macros and hopefully few prototypes,
14858 which can conflict with char $ac_func(); below. */
14859 #include <assert.h>
14860 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14867 /* The GNU C library defines this for functions which it implements
14868 to always fail with ENOSYS. Some functions are actually named
14869 something starting with __ and the normal name is an alias. */
14870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14878 if { (eval echo configure:14879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14880 eval "ac_cv_func_$ac_func=yes"
14882 echo "configure: failed program was:" >&5
14883 cat conftest.$ac_ext >&5
14885 eval "ac_cv_func_$ac_func=no"
14890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14891 echo "$ac_t""yes" 1>&6
14892 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14893 cat >> confdefs.h <<EOF
14894 #define $ac_tr_func 1
14898 echo "$ac_t""no" 1>&6
14904 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14905 echo "configure:14906: checking for _log10f declaration" >&5
14906 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14907 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14914 ac_cpp='$CXXCPP $CPPFLAGS'
14915 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14916 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14917 cross_compiling=$ac_cv_prog_cxx_cross
14919 cat > conftest.$ac_ext <<EOF
14920 #line 14921 "configure"
14921 #include "confdefs.h"
14923 #ifdef HAVE_IEEEFP_H
14924 #include <ieeefp.h>
14931 if { (eval echo configure:14932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14933 glibcpp_cv_func__log10f_use=yes
14935 echo "configure: failed program was:" >&5
14936 cat conftest.$ac_ext >&5
14938 glibcpp_cv_func__log10f_use=no
14942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14945 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14946 cross_compiling=$ac_cv_prog_cc_cross
14952 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14954 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14955 for ac_func in _log10f
14957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14958 echo "configure:14959: checking for $ac_func" >&5
14959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14960 echo $ac_n "(cached) $ac_c" 1>&6
14962 cat > conftest.$ac_ext <<EOF
14963 #line 14964 "configure"
14964 #include "confdefs.h"
14965 /* System header to define __stub macros and hopefully few prototypes,
14966 which can conflict with char $ac_func(); below. */
14967 #include <assert.h>
14968 /* Override any gcc2 internal prototype to avoid an error. */
14969 /* We use char because int might match the return type of a gcc2
14970 builtin and then its argument prototype would still apply. */
14975 /* The GNU C library defines this for functions which it implements
14976 to always fail with ENOSYS. Some functions are actually named
14977 something starting with __ and the normal name is an alias. */
14978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14986 if { (eval echo configure:14987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14988 eval "ac_cv_func_$ac_func=yes"
14990 echo "configure: failed program was:" >&5
14991 cat conftest.$ac_ext >&5
14993 eval "ac_cv_func_$ac_func=no"
14998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14999 echo "$ac_t""yes" 1>&6
15000 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15001 cat >> confdefs.h <<EOF
15002 #define $ac_tr_func 1
15006 echo "$ac_t""no" 1>&6
15015 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15016 echo "configure:15017: checking for modff declaration" >&5
15017 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15018 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15019 echo $ac_n "(cached) $ac_c" 1>&6
15024 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15025 ac_cpp='$CXXCPP $CPPFLAGS'
15026 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15027 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15028 cross_compiling=$ac_cv_prog_cxx_cross
15030 cat > conftest.$ac_ext <<EOF
15031 #line 15032 "configure"
15032 #include "confdefs.h"
15038 if { (eval echo configure:15039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15040 glibcpp_cv_func_modff_use=yes
15042 echo "configure: failed program was:" >&5
15043 cat conftest.$ac_ext >&5
15045 glibcpp_cv_func_modff_use=no
15049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15050 ac_cpp='$CPP $CPPFLAGS'
15051 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15052 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15053 cross_compiling=$ac_cv_prog_cc_cross
15059 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15061 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15062 for ac_func in modff
15064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15065 echo "configure:15066: checking for $ac_func" >&5
15066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15067 echo $ac_n "(cached) $ac_c" 1>&6
15069 cat > conftest.$ac_ext <<EOF
15070 #line 15071 "configure"
15071 #include "confdefs.h"
15072 /* System header to define __stub macros and hopefully few prototypes,
15073 which can conflict with char $ac_func(); below. */
15074 #include <assert.h>
15075 /* Override any gcc2 internal prototype to avoid an error. */
15076 /* We use char because int might match the return type of a gcc2
15077 builtin and then its argument prototype would still apply. */
15082 /* The GNU C library defines this for functions which it implements
15083 to always fail with ENOSYS. Some functions are actually named
15084 something starting with __ and the normal name is an alias. */
15085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15093 if { (eval echo configure:15094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15095 eval "ac_cv_func_$ac_func=yes"
15097 echo "configure: failed program was:" >&5
15098 cat conftest.$ac_ext >&5
15100 eval "ac_cv_func_$ac_func=no"
15105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15106 echo "$ac_t""yes" 1>&6
15107 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15108 cat >> confdefs.h <<EOF
15109 #define $ac_tr_func 1
15113 echo "$ac_t""no" 1>&6
15119 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15120 echo "configure:15121: checking for _modff declaration" >&5
15121 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15122 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15123 echo $ac_n "(cached) $ac_c" 1>&6
15128 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15131 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15132 cross_compiling=$ac_cv_prog_cxx_cross
15134 cat > conftest.$ac_ext <<EOF
15135 #line 15136 "configure"
15136 #include "confdefs.h"
15142 if { (eval echo configure:15143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15144 glibcpp_cv_func__modff_use=yes
15146 echo "configure: failed program was:" >&5
15147 cat conftest.$ac_ext >&5
15149 glibcpp_cv_func__modff_use=no
15153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15154 ac_cpp='$CPP $CPPFLAGS'
15155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15157 cross_compiling=$ac_cv_prog_cc_cross
15163 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15165 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15166 for ac_func in _modff
15168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15169 echo "configure:15170: checking for $ac_func" >&5
15170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15171 echo $ac_n "(cached) $ac_c" 1>&6
15173 cat > conftest.$ac_ext <<EOF
15174 #line 15175 "configure"
15175 #include "confdefs.h"
15176 /* System header to define __stub macros and hopefully few prototypes,
15177 which can conflict with char $ac_func(); below. */
15178 #include <assert.h>
15179 /* Override any gcc2 internal prototype to avoid an error. */
15180 /* We use char because int might match the return type of a gcc2
15181 builtin and then its argument prototype would still apply. */
15186 /* The GNU C library defines this for functions which it implements
15187 to always fail with ENOSYS. Some functions are actually named
15188 something starting with __ and the normal name is an alias. */
15189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15197 if { (eval echo configure:15198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15199 eval "ac_cv_func_$ac_func=yes"
15201 echo "configure: failed program was:" >&5
15202 cat conftest.$ac_ext >&5
15204 eval "ac_cv_func_$ac_func=no"
15209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15210 echo "$ac_t""yes" 1>&6
15211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15212 cat >> confdefs.h <<EOF
15213 #define $ac_tr_func 1
15217 echo "$ac_t""no" 1>&6
15226 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15227 echo "configure:15228: checking for powf declaration" >&5
15228 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15229 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15230 echo $ac_n "(cached) $ac_c" 1>&6
15235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15236 ac_cpp='$CXXCPP $CPPFLAGS'
15237 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15238 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15239 cross_compiling=$ac_cv_prog_cxx_cross
15241 cat > conftest.$ac_ext <<EOF
15242 #line 15243 "configure"
15243 #include "confdefs.h"
15249 if { (eval echo configure:15250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15251 glibcpp_cv_func_powf_use=yes
15253 echo "configure: failed program was:" >&5
15254 cat conftest.$ac_ext >&5
15256 glibcpp_cv_func_powf_use=no
15260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15261 ac_cpp='$CPP $CPPFLAGS'
15262 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15263 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15264 cross_compiling=$ac_cv_prog_cc_cross
15270 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15272 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15273 for ac_func in powf
15275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15276 echo "configure:15277: checking for $ac_func" >&5
15277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15278 echo $ac_n "(cached) $ac_c" 1>&6
15280 cat > conftest.$ac_ext <<EOF
15281 #line 15282 "configure"
15282 #include "confdefs.h"
15283 /* System header to define __stub macros and hopefully few prototypes,
15284 which can conflict with char $ac_func(); below. */
15285 #include <assert.h>
15286 /* Override any gcc2 internal prototype to avoid an error. */
15287 /* We use char because int might match the return type of a gcc2
15288 builtin and then its argument prototype would still apply. */
15293 /* The GNU C library defines this for functions which it implements
15294 to always fail with ENOSYS. Some functions are actually named
15295 something starting with __ and the normal name is an alias. */
15296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15304 if { (eval echo configure:15305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15306 eval "ac_cv_func_$ac_func=yes"
15308 echo "configure: failed program was:" >&5
15309 cat conftest.$ac_ext >&5
15311 eval "ac_cv_func_$ac_func=no"
15316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15317 echo "$ac_t""yes" 1>&6
15318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15319 cat >> confdefs.h <<EOF
15320 #define $ac_tr_func 1
15324 echo "$ac_t""no" 1>&6
15330 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15331 echo "configure:15332: checking for _powf declaration" >&5
15332 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15333 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15334 echo $ac_n "(cached) $ac_c" 1>&6
15339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15340 ac_cpp='$CXXCPP $CPPFLAGS'
15341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15343 cross_compiling=$ac_cv_prog_cxx_cross
15345 cat > conftest.$ac_ext <<EOF
15346 #line 15347 "configure"
15347 #include "confdefs.h"
15353 if { (eval echo configure:15354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15355 glibcpp_cv_func__powf_use=yes
15357 echo "configure: failed program was:" >&5
15358 cat conftest.$ac_ext >&5
15360 glibcpp_cv_func__powf_use=no
15364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15368 cross_compiling=$ac_cv_prog_cc_cross
15374 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15376 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15377 for ac_func in _powf
15379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15380 echo "configure:15381: checking for $ac_func" >&5
15381 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15382 echo $ac_n "(cached) $ac_c" 1>&6
15384 cat > conftest.$ac_ext <<EOF
15385 #line 15386 "configure"
15386 #include "confdefs.h"
15387 /* System header to define __stub macros and hopefully few prototypes,
15388 which can conflict with char $ac_func(); below. */
15389 #include <assert.h>
15390 /* Override any gcc2 internal prototype to avoid an error. */
15391 /* We use char because int might match the return type of a gcc2
15392 builtin and then its argument prototype would still apply. */
15397 /* The GNU C library defines this for functions which it implements
15398 to always fail with ENOSYS. Some functions are actually named
15399 something starting with __ and the normal name is an alias. */
15400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15408 if { (eval echo configure:15409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15410 eval "ac_cv_func_$ac_func=yes"
15412 echo "configure: failed program was:" >&5
15413 cat conftest.$ac_ext >&5
15415 eval "ac_cv_func_$ac_func=no"
15420 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15421 echo "$ac_t""yes" 1>&6
15422 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15423 cat >> confdefs.h <<EOF
15424 #define $ac_tr_func 1
15428 echo "$ac_t""no" 1>&6
15437 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15438 echo "configure:15439: checking for sqrtf declaration" >&5
15439 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15440 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15441 echo $ac_n "(cached) $ac_c" 1>&6
15446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15447 ac_cpp='$CXXCPP $CPPFLAGS'
15448 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15449 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15450 cross_compiling=$ac_cv_prog_cxx_cross
15452 cat > conftest.$ac_ext <<EOF
15453 #line 15454 "configure"
15454 #include "confdefs.h"
15456 #ifdef HAVE_IEEEFP_H
15457 #include <ieeefp.h>
15464 if { (eval echo configure:15465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15466 glibcpp_cv_func_sqrtf_use=yes
15468 echo "configure: failed program was:" >&5
15469 cat conftest.$ac_ext >&5
15471 glibcpp_cv_func_sqrtf_use=no
15475 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15478 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15479 cross_compiling=$ac_cv_prog_cc_cross
15485 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15487 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15488 for ac_func in sqrtf
15490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15491 echo "configure:15492: checking for $ac_func" >&5
15492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15493 echo $ac_n "(cached) $ac_c" 1>&6
15495 cat > conftest.$ac_ext <<EOF
15496 #line 15497 "configure"
15497 #include "confdefs.h"
15498 /* System header to define __stub macros and hopefully few prototypes,
15499 which can conflict with char $ac_func(); below. */
15500 #include <assert.h>
15501 /* Override any gcc2 internal prototype to avoid an error. */
15502 /* We use char because int might match the return type of a gcc2
15503 builtin and then its argument prototype would still apply. */
15508 /* The GNU C library defines this for functions which it implements
15509 to always fail with ENOSYS. Some functions are actually named
15510 something starting with __ and the normal name is an alias. */
15511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15519 if { (eval echo configure:15520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15521 eval "ac_cv_func_$ac_func=yes"
15523 echo "configure: failed program was:" >&5
15524 cat conftest.$ac_ext >&5
15526 eval "ac_cv_func_$ac_func=no"
15531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15532 echo "$ac_t""yes" 1>&6
15533 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15534 cat >> confdefs.h <<EOF
15535 #define $ac_tr_func 1
15539 echo "$ac_t""no" 1>&6
15545 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15546 echo "configure:15547: checking for _sqrtf declaration" >&5
15547 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15548 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15549 echo $ac_n "(cached) $ac_c" 1>&6
15554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15555 ac_cpp='$CXXCPP $CPPFLAGS'
15556 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15557 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15558 cross_compiling=$ac_cv_prog_cxx_cross
15560 cat > conftest.$ac_ext <<EOF
15561 #line 15562 "configure"
15562 #include "confdefs.h"
15564 #ifdef HAVE_IEEEFP_H
15565 #include <ieeefp.h>
15572 if { (eval echo configure:15573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15574 glibcpp_cv_func__sqrtf_use=yes
15576 echo "configure: failed program was:" >&5
15577 cat conftest.$ac_ext >&5
15579 glibcpp_cv_func__sqrtf_use=no
15583 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15584 ac_cpp='$CPP $CPPFLAGS'
15585 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15586 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15587 cross_compiling=$ac_cv_prog_cc_cross
15593 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15595 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15596 for ac_func in _sqrtf
15598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15599 echo "configure:15600: checking for $ac_func" >&5
15600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15601 echo $ac_n "(cached) $ac_c" 1>&6
15603 cat > conftest.$ac_ext <<EOF
15604 #line 15605 "configure"
15605 #include "confdefs.h"
15606 /* System header to define __stub macros and hopefully few prototypes,
15607 which can conflict with char $ac_func(); below. */
15608 #include <assert.h>
15609 /* Override any gcc2 internal prototype to avoid an error. */
15610 /* We use char because int might match the return type of a gcc2
15611 builtin and then its argument prototype would still apply. */
15616 /* The GNU C library defines this for functions which it implements
15617 to always fail with ENOSYS. Some functions are actually named
15618 something starting with __ and the normal name is an alias. */
15619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15627 if { (eval echo configure:15628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15629 eval "ac_cv_func_$ac_func=yes"
15631 echo "configure: failed program was:" >&5
15632 cat conftest.$ac_ext >&5
15634 eval "ac_cv_func_$ac_func=no"
15639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15640 echo "$ac_t""yes" 1>&6
15641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15642 cat >> confdefs.h <<EOF
15643 #define $ac_tr_func 1
15647 echo "$ac_t""no" 1>&6
15656 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15657 echo "configure:15658: checking for sincosf declaration" >&5
15658 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15659 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15660 echo $ac_n "(cached) $ac_c" 1>&6
15665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15666 ac_cpp='$CXXCPP $CPPFLAGS'
15667 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15668 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15669 cross_compiling=$ac_cv_prog_cxx_cross
15671 cat > conftest.$ac_ext <<EOF
15672 #line 15673 "configure"
15673 #include "confdefs.h"
15679 if { (eval echo configure:15680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15681 glibcpp_cv_func_sincosf_use=yes
15683 echo "configure: failed program was:" >&5
15684 cat conftest.$ac_ext >&5
15686 glibcpp_cv_func_sincosf_use=no
15690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15691 ac_cpp='$CPP $CPPFLAGS'
15692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15694 cross_compiling=$ac_cv_prog_cc_cross
15700 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15702 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15703 for ac_func in sincosf
15705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15706 echo "configure:15707: checking for $ac_func" >&5
15707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15708 echo $ac_n "(cached) $ac_c" 1>&6
15710 cat > conftest.$ac_ext <<EOF
15711 #line 15712 "configure"
15712 #include "confdefs.h"
15713 /* System header to define __stub macros and hopefully few prototypes,
15714 which can conflict with char $ac_func(); below. */
15715 #include <assert.h>
15716 /* Override any gcc2 internal prototype to avoid an error. */
15717 /* We use char because int might match the return type of a gcc2
15718 builtin and then its argument prototype would still apply. */
15723 /* The GNU C library defines this for functions which it implements
15724 to always fail with ENOSYS. Some functions are actually named
15725 something starting with __ and the normal name is an alias. */
15726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15734 if { (eval echo configure:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15736 eval "ac_cv_func_$ac_func=yes"
15738 echo "configure: failed program was:" >&5
15739 cat conftest.$ac_ext >&5
15741 eval "ac_cv_func_$ac_func=no"
15746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15747 echo "$ac_t""yes" 1>&6
15748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15749 cat >> confdefs.h <<EOF
15750 #define $ac_tr_func 1
15754 echo "$ac_t""no" 1>&6
15760 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15761 echo "configure:15762: checking for _sincosf declaration" >&5
15762 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15763 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15764 echo $ac_n "(cached) $ac_c" 1>&6
15769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15770 ac_cpp='$CXXCPP $CPPFLAGS'
15771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15773 cross_compiling=$ac_cv_prog_cxx_cross
15775 cat > conftest.$ac_ext <<EOF
15776 #line 15777 "configure"
15777 #include "confdefs.h"
15783 if { (eval echo configure:15784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15785 glibcpp_cv_func__sincosf_use=yes
15787 echo "configure: failed program was:" >&5
15788 cat conftest.$ac_ext >&5
15790 glibcpp_cv_func__sincosf_use=no
15794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15795 ac_cpp='$CPP $CPPFLAGS'
15796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15798 cross_compiling=$ac_cv_prog_cc_cross
15804 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15806 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15807 for ac_func in _sincosf
15809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15810 echo "configure:15811: checking for $ac_func" >&5
15811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15812 echo $ac_n "(cached) $ac_c" 1>&6
15814 cat > conftest.$ac_ext <<EOF
15815 #line 15816 "configure"
15816 #include "confdefs.h"
15817 /* System header to define __stub macros and hopefully few prototypes,
15818 which can conflict with char $ac_func(); below. */
15819 #include <assert.h>
15820 /* Override any gcc2 internal prototype to avoid an error. */
15821 /* We use char because int might match the return type of a gcc2
15822 builtin and then its argument prototype would still apply. */
15827 /* The GNU C library defines this for functions which it implements
15828 to always fail with ENOSYS. Some functions are actually named
15829 something starting with __ and the normal name is an alias. */
15830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15838 if { (eval echo configure:15839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15840 eval "ac_cv_func_$ac_func=yes"
15842 echo "configure: failed program was:" >&5
15843 cat conftest.$ac_ext >&5
15845 eval "ac_cv_func_$ac_func=no"
15850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15851 echo "$ac_t""yes" 1>&6
15852 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15853 cat >> confdefs.h <<EOF
15854 #define $ac_tr_func 1
15858 echo "$ac_t""no" 1>&6
15867 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15868 echo "configure:15869: checking for finitef declaration" >&5
15869 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15870 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15871 echo $ac_n "(cached) $ac_c" 1>&6
15876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15877 ac_cpp='$CXXCPP $CPPFLAGS'
15878 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15879 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15880 cross_compiling=$ac_cv_prog_cxx_cross
15882 cat > conftest.$ac_ext <<EOF
15883 #line 15884 "configure"
15884 #include "confdefs.h"
15886 #ifdef HAVE_IEEEFP_H
15887 #include <ieeefp.h>
15894 if { (eval echo configure:15895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15896 glibcpp_cv_func_finitef_use=yes
15898 echo "configure: failed program was:" >&5
15899 cat conftest.$ac_ext >&5
15901 glibcpp_cv_func_finitef_use=no
15905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15906 ac_cpp='$CPP $CPPFLAGS'
15907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15909 cross_compiling=$ac_cv_prog_cc_cross
15915 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15917 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15918 for ac_func in finitef
15920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15921 echo "configure:15922: checking for $ac_func" >&5
15922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15923 echo $ac_n "(cached) $ac_c" 1>&6
15925 cat > conftest.$ac_ext <<EOF
15926 #line 15927 "configure"
15927 #include "confdefs.h"
15928 /* System header to define __stub macros and hopefully few prototypes,
15929 which can conflict with char $ac_func(); below. */
15930 #include <assert.h>
15931 /* Override any gcc2 internal prototype to avoid an error. */
15932 /* We use char because int might match the return type of a gcc2
15933 builtin and then its argument prototype would still apply. */
15938 /* The GNU C library defines this for functions which it implements
15939 to always fail with ENOSYS. Some functions are actually named
15940 something starting with __ and the normal name is an alias. */
15941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15949 if { (eval echo configure:15950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15951 eval "ac_cv_func_$ac_func=yes"
15953 echo "configure: failed program was:" >&5
15954 cat conftest.$ac_ext >&5
15956 eval "ac_cv_func_$ac_func=no"
15961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15962 echo "$ac_t""yes" 1>&6
15963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15964 cat >> confdefs.h <<EOF
15965 #define $ac_tr_func 1
15969 echo "$ac_t""no" 1>&6
15975 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15976 echo "configure:15977: checking for _finitef declaration" >&5
15977 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15978 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15979 echo $ac_n "(cached) $ac_c" 1>&6
15984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15985 ac_cpp='$CXXCPP $CPPFLAGS'
15986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15988 cross_compiling=$ac_cv_prog_cxx_cross
15990 cat > conftest.$ac_ext <<EOF
15991 #line 15992 "configure"
15992 #include "confdefs.h"
15994 #ifdef HAVE_IEEEFP_H
15995 #include <ieeefp.h>
16002 if { (eval echo configure:16003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16004 glibcpp_cv_func__finitef_use=yes
16006 echo "configure: failed program was:" >&5
16007 cat conftest.$ac_ext >&5
16009 glibcpp_cv_func__finitef_use=no
16013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16017 cross_compiling=$ac_cv_prog_cc_cross
16023 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16025 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16026 for ac_func in _finitef
16028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16029 echo "configure:16030: checking for $ac_func" >&5
16030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16031 echo $ac_n "(cached) $ac_c" 1>&6
16033 cat > conftest.$ac_ext <<EOF
16034 #line 16035 "configure"
16035 #include "confdefs.h"
16036 /* System header to define __stub macros and hopefully few prototypes,
16037 which can conflict with char $ac_func(); below. */
16038 #include <assert.h>
16039 /* Override any gcc2 internal prototype to avoid an error. */
16040 /* We use char because int might match the return type of a gcc2
16041 builtin and then its argument prototype would still apply. */
16046 /* The GNU C library defines this for functions which it implements
16047 to always fail with ENOSYS. Some functions are actually named
16048 something starting with __ and the normal name is an alias. */
16049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16057 if { (eval echo configure:16058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16059 eval "ac_cv_func_$ac_func=yes"
16061 echo "configure: failed program was:" >&5
16062 cat conftest.$ac_ext >&5
16064 eval "ac_cv_func_$ac_func=no"
16069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16070 echo "$ac_t""yes" 1>&6
16071 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16072 cat >> confdefs.h <<EOF
16073 #define $ac_tr_func 1
16077 echo "$ac_t""no" 1>&6
16086 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16087 echo "configure:16088: checking for long double trig functions" >&5
16088 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16089 echo $ac_n "(cached) $ac_c" 1>&6
16094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16095 ac_cpp='$CXXCPP $CPPFLAGS'
16096 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16097 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16098 cross_compiling=$ac_cv_prog_cxx_cross
16100 cat > conftest.$ac_ext <<EOF
16101 #line 16102 "configure"
16102 #include "confdefs.h"
16105 `for x in acosl asinl atanl \
16107 coshl sinhl tanhl; do echo "$x (0);"; done`
16110 if { (eval echo configure:16111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16112 glibcpp_cv_func_long_double_trig_use=yes
16114 echo "configure: failed program was:" >&5
16115 cat conftest.$ac_ext >&5
16117 glibcpp_cv_func_long_double_trig_use=no
16121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16122 ac_cpp='$CPP $CPPFLAGS'
16123 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16124 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16125 cross_compiling=$ac_cv_prog_cc_cross
16129 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16130 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16131 for ac_func in acosl asinl atanl \
16135 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16136 echo "configure:16137: checking for $ac_func" >&5
16137 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16138 echo $ac_n "(cached) $ac_c" 1>&6
16140 cat > conftest.$ac_ext <<EOF
16141 #line 16142 "configure"
16142 #include "confdefs.h"
16143 /* System header to define __stub macros and hopefully few prototypes,
16144 which can conflict with char $ac_func(); below. */
16145 #include <assert.h>
16146 /* Override any gcc2 internal prototype to avoid an error. */
16147 /* We use char because int might match the return type of a gcc2
16148 builtin and then its argument prototype would still apply. */
16153 /* The GNU C library defines this for functions which it implements
16154 to always fail with ENOSYS. Some functions are actually named
16155 something starting with __ and the normal name is an alias. */
16156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16164 if { (eval echo configure:16165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16166 eval "ac_cv_func_$ac_func=yes"
16168 echo "configure: failed program was:" >&5
16169 cat conftest.$ac_ext >&5
16171 eval "ac_cv_func_$ac_func=no"
16176 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16177 echo "$ac_t""yes" 1>&6
16178 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16179 cat >> confdefs.h <<EOF
16180 #define $ac_tr_func 1
16184 echo "$ac_t""no" 1>&6
16191 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16192 echo "configure:16193: checking for long double round functions" >&5
16193 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16200 ac_cpp='$CXXCPP $CPPFLAGS'
16201 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16202 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16203 cross_compiling=$ac_cv_prog_cxx_cross
16205 cat > conftest.$ac_ext <<EOF
16206 #line 16207 "configure"
16207 #include "confdefs.h"
16210 `for x in ceill floorl; do echo "$x (0);"; done`
16213 if { (eval echo configure:16214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16215 glibcpp_cv_func_long_double_round_use=yes
16217 echo "configure: failed program was:" >&5
16218 cat conftest.$ac_ext >&5
16220 glibcpp_cv_func_long_double_round_use=no
16224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16225 ac_cpp='$CPP $CPPFLAGS'
16226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16228 cross_compiling=$ac_cv_prog_cc_cross
16232 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16233 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16234 for ac_func in ceill floorl
16236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16237 echo "configure:16238: checking for $ac_func" >&5
16238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16239 echo $ac_n "(cached) $ac_c" 1>&6
16241 cat > conftest.$ac_ext <<EOF
16242 #line 16243 "configure"
16243 #include "confdefs.h"
16244 /* System header to define __stub macros and hopefully few prototypes,
16245 which can conflict with char $ac_func(); below. */
16246 #include <assert.h>
16247 /* Override any gcc2 internal prototype to avoid an error. */
16248 /* We use char because int might match the return type of a gcc2
16249 builtin and then its argument prototype would still apply. */
16254 /* The GNU C library defines this for functions which it implements
16255 to always fail with ENOSYS. Some functions are actually named
16256 something starting with __ and the normal name is an alias. */
16257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16265 if { (eval echo configure:16266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16267 eval "ac_cv_func_$ac_func=yes"
16269 echo "configure: failed program was:" >&5
16270 cat conftest.$ac_ext >&5
16272 eval "ac_cv_func_$ac_func=no"
16277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16278 echo "$ac_t""yes" 1>&6
16279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16280 cat >> confdefs.h <<EOF
16281 #define $ac_tr_func 1
16285 echo "$ac_t""no" 1>&6
16293 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16294 echo "configure:16295: checking for isnanl declaration" >&5
16295 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16296 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16297 echo $ac_n "(cached) $ac_c" 1>&6
16302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16303 ac_cpp='$CXXCPP $CPPFLAGS'
16304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16306 cross_compiling=$ac_cv_prog_cxx_cross
16308 cat > conftest.$ac_ext <<EOF
16309 #line 16310 "configure"
16310 #include "confdefs.h"
16312 #ifdef HAVE_IEEEFP_H
16313 #include <ieeefp.h>
16320 if { (eval echo configure:16321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16322 glibcpp_cv_func_isnanl_use=yes
16324 echo "configure: failed program was:" >&5
16325 cat conftest.$ac_ext >&5
16327 glibcpp_cv_func_isnanl_use=no
16331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16335 cross_compiling=$ac_cv_prog_cc_cross
16341 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16343 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16344 for ac_func in isnanl
16346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16347 echo "configure:16348: checking for $ac_func" >&5
16348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16349 echo $ac_n "(cached) $ac_c" 1>&6
16351 cat > conftest.$ac_ext <<EOF
16352 #line 16353 "configure"
16353 #include "confdefs.h"
16354 /* System header to define __stub macros and hopefully few prototypes,
16355 which can conflict with char $ac_func(); below. */
16356 #include <assert.h>
16357 /* Override any gcc2 internal prototype to avoid an error. */
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16364 /* The GNU C library defines this for functions which it implements
16365 to always fail with ENOSYS. Some functions are actually named
16366 something starting with __ and the normal name is an alias. */
16367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16375 if { (eval echo configure:16376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16377 eval "ac_cv_func_$ac_func=yes"
16379 echo "configure: failed program was:" >&5
16380 cat conftest.$ac_ext >&5
16382 eval "ac_cv_func_$ac_func=no"
16387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16388 echo "$ac_t""yes" 1>&6
16389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16390 cat >> confdefs.h <<EOF
16391 #define $ac_tr_func 1
16395 echo "$ac_t""no" 1>&6
16401 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16402 echo "configure:16403: checking for _isnanl declaration" >&5
16403 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16404 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16405 echo $ac_n "(cached) $ac_c" 1>&6
16410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16414 cross_compiling=$ac_cv_prog_cxx_cross
16416 cat > conftest.$ac_ext <<EOF
16417 #line 16418 "configure"
16418 #include "confdefs.h"
16420 #ifdef HAVE_IEEEFP_H
16421 #include <ieeefp.h>
16428 if { (eval echo configure:16429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16430 glibcpp_cv_func__isnanl_use=yes
16432 echo "configure: failed program was:" >&5
16433 cat conftest.$ac_ext >&5
16435 glibcpp_cv_func__isnanl_use=no
16439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16440 ac_cpp='$CPP $CPPFLAGS'
16441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16443 cross_compiling=$ac_cv_prog_cc_cross
16449 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16451 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16452 for ac_func in _isnanl
16454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16455 echo "configure:16456: checking for $ac_func" >&5
16456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16457 echo $ac_n "(cached) $ac_c" 1>&6
16459 cat > conftest.$ac_ext <<EOF
16460 #line 16461 "configure"
16461 #include "confdefs.h"
16462 /* System header to define __stub macros and hopefully few prototypes,
16463 which can conflict with char $ac_func(); below. */
16464 #include <assert.h>
16465 /* Override any gcc2 internal prototype to avoid an error. */
16466 /* We use char because int might match the return type of a gcc2
16467 builtin and then its argument prototype would still apply. */
16472 /* The GNU C library defines this for functions which it implements
16473 to always fail with ENOSYS. Some functions are actually named
16474 something starting with __ and the normal name is an alias. */
16475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 if { (eval echo configure:16484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16485 eval "ac_cv_func_$ac_func=yes"
16487 echo "configure: failed program was:" >&5
16488 cat conftest.$ac_ext >&5
16490 eval "ac_cv_func_$ac_func=no"
16495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16496 echo "$ac_t""yes" 1>&6
16497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16498 cat >> confdefs.h <<EOF
16499 #define $ac_tr_func 1
16503 echo "$ac_t""no" 1>&6
16512 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16513 echo "configure:16514: checking for isinfl declaration" >&5
16514 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16515 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16516 echo $ac_n "(cached) $ac_c" 1>&6
16521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16522 ac_cpp='$CXXCPP $CPPFLAGS'
16523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16525 cross_compiling=$ac_cv_prog_cxx_cross
16527 cat > conftest.$ac_ext <<EOF
16528 #line 16529 "configure"
16529 #include "confdefs.h"
16531 #ifdef HAVE_IEEEFP_H
16532 #include <ieeefp.h>
16539 if { (eval echo configure:16540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16541 glibcpp_cv_func_isinfl_use=yes
16543 echo "configure: failed program was:" >&5
16544 cat conftest.$ac_ext >&5
16546 glibcpp_cv_func_isinfl_use=no
16550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16551 ac_cpp='$CPP $CPPFLAGS'
16552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16554 cross_compiling=$ac_cv_prog_cc_cross
16560 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16562 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16563 for ac_func in isinfl
16565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16566 echo "configure:16567: checking for $ac_func" >&5
16567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16568 echo $ac_n "(cached) $ac_c" 1>&6
16570 cat > conftest.$ac_ext <<EOF
16571 #line 16572 "configure"
16572 #include "confdefs.h"
16573 /* System header to define __stub macros and hopefully few prototypes,
16574 which can conflict with char $ac_func(); below. */
16575 #include <assert.h>
16576 /* Override any gcc2 internal prototype to avoid an error. */
16577 /* We use char because int might match the return type of a gcc2
16578 builtin and then its argument prototype would still apply. */
16583 /* The GNU C library defines this for functions which it implements
16584 to always fail with ENOSYS. Some functions are actually named
16585 something starting with __ and the normal name is an alias. */
16586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16594 if { (eval echo configure:16595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16596 eval "ac_cv_func_$ac_func=yes"
16598 echo "configure: failed program was:" >&5
16599 cat conftest.$ac_ext >&5
16601 eval "ac_cv_func_$ac_func=no"
16606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16607 echo "$ac_t""yes" 1>&6
16608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16609 cat >> confdefs.h <<EOF
16610 #define $ac_tr_func 1
16614 echo "$ac_t""no" 1>&6
16620 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16621 echo "configure:16622: checking for _isinfl declaration" >&5
16622 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16623 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16624 echo $ac_n "(cached) $ac_c" 1>&6
16629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16630 ac_cpp='$CXXCPP $CPPFLAGS'
16631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16633 cross_compiling=$ac_cv_prog_cxx_cross
16635 cat > conftest.$ac_ext <<EOF
16636 #line 16637 "configure"
16637 #include "confdefs.h"
16639 #ifdef HAVE_IEEEFP_H
16640 #include <ieeefp.h>
16647 if { (eval echo configure:16648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16649 glibcpp_cv_func__isinfl_use=yes
16651 echo "configure: failed program was:" >&5
16652 cat conftest.$ac_ext >&5
16654 glibcpp_cv_func__isinfl_use=no
16658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16659 ac_cpp='$CPP $CPPFLAGS'
16660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16662 cross_compiling=$ac_cv_prog_cc_cross
16668 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16670 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16671 for ac_func in _isinfl
16673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16674 echo "configure:16675: checking for $ac_func" >&5
16675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16676 echo $ac_n "(cached) $ac_c" 1>&6
16678 cat > conftest.$ac_ext <<EOF
16679 #line 16680 "configure"
16680 #include "confdefs.h"
16681 /* System header to define __stub macros and hopefully few prototypes,
16682 which can conflict with char $ac_func(); below. */
16683 #include <assert.h>
16684 /* Override any gcc2 internal prototype to avoid an error. */
16685 /* We use char because int might match the return type of a gcc2
16686 builtin and then its argument prototype would still apply. */
16691 /* The GNU C library defines this for functions which it implements
16692 to always fail with ENOSYS. Some functions are actually named
16693 something starting with __ and the normal name is an alias. */
16694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16702 if { (eval echo configure:16703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16704 eval "ac_cv_func_$ac_func=yes"
16706 echo "configure: failed program was:" >&5
16707 cat conftest.$ac_ext >&5
16709 eval "ac_cv_func_$ac_func=no"
16714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16715 echo "$ac_t""yes" 1>&6
16716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16717 cat >> confdefs.h <<EOF
16718 #define $ac_tr_func 1
16722 echo "$ac_t""no" 1>&6
16731 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16732 echo "configure:16733: checking for copysignl declaration" >&5
16733 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16734 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16735 echo $ac_n "(cached) $ac_c" 1>&6
16740 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16741 ac_cpp='$CXXCPP $CPPFLAGS'
16742 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16743 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16744 cross_compiling=$ac_cv_prog_cxx_cross
16746 cat > conftest.$ac_ext <<EOF
16747 #line 16748 "configure"
16748 #include "confdefs.h"
16754 if { (eval echo configure:16755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16756 glibcpp_cv_func_copysignl_use=yes
16758 echo "configure: failed program was:" >&5
16759 cat conftest.$ac_ext >&5
16761 glibcpp_cv_func_copysignl_use=no
16765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16766 ac_cpp='$CPP $CPPFLAGS'
16767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16769 cross_compiling=$ac_cv_prog_cc_cross
16775 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16777 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16778 for ac_func in copysignl
16780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16781 echo "configure:16782: checking for $ac_func" >&5
16782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16783 echo $ac_n "(cached) $ac_c" 1>&6
16785 cat > conftest.$ac_ext <<EOF
16786 #line 16787 "configure"
16787 #include "confdefs.h"
16788 /* System header to define __stub macros and hopefully few prototypes,
16789 which can conflict with char $ac_func(); below. */
16790 #include <assert.h>
16791 /* Override any gcc2 internal prototype to avoid an error. */
16792 /* We use char because int might match the return type of a gcc2
16793 builtin and then its argument prototype would still apply. */
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16809 if { (eval echo configure:16810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16811 eval "ac_cv_func_$ac_func=yes"
16813 echo "configure: failed program was:" >&5
16814 cat conftest.$ac_ext >&5
16816 eval "ac_cv_func_$ac_func=no"
16821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16822 echo "$ac_t""yes" 1>&6
16823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16824 cat >> confdefs.h <<EOF
16825 #define $ac_tr_func 1
16829 echo "$ac_t""no" 1>&6
16835 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16836 echo "configure:16837: checking for _copysignl declaration" >&5
16837 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16838 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16839 echo $ac_n "(cached) $ac_c" 1>&6
16844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16845 ac_cpp='$CXXCPP $CPPFLAGS'
16846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16848 cross_compiling=$ac_cv_prog_cxx_cross
16850 cat > conftest.$ac_ext <<EOF
16851 #line 16852 "configure"
16852 #include "confdefs.h"
16858 if { (eval echo configure:16859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16860 glibcpp_cv_func__copysignl_use=yes
16862 echo "configure: failed program was:" >&5
16863 cat conftest.$ac_ext >&5
16865 glibcpp_cv_func__copysignl_use=no
16869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16870 ac_cpp='$CPP $CPPFLAGS'
16871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16873 cross_compiling=$ac_cv_prog_cc_cross
16879 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16881 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16882 for ac_func in _copysignl
16884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16885 echo "configure:16886: checking for $ac_func" >&5
16886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16887 echo $ac_n "(cached) $ac_c" 1>&6
16889 cat > conftest.$ac_ext <<EOF
16890 #line 16891 "configure"
16891 #include "confdefs.h"
16892 /* System header to define __stub macros and hopefully few prototypes,
16893 which can conflict with char $ac_func(); below. */
16894 #include <assert.h>
16895 /* Override any gcc2 internal prototype to avoid an error. */
16896 /* We use char because int might match the return type of a gcc2
16897 builtin and then its argument prototype would still apply. */
16902 /* The GNU C library defines this for functions which it implements
16903 to always fail with ENOSYS. Some functions are actually named
16904 something starting with __ and the normal name is an alias. */
16905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16913 if { (eval echo configure:16914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16915 eval "ac_cv_func_$ac_func=yes"
16917 echo "configure: failed program was:" >&5
16918 cat conftest.$ac_ext >&5
16920 eval "ac_cv_func_$ac_func=no"
16925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16926 echo "$ac_t""yes" 1>&6
16927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16928 cat >> confdefs.h <<EOF
16929 #define $ac_tr_func 1
16933 echo "$ac_t""no" 1>&6
16942 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16943 echo "configure:16944: checking for atan2l declaration" >&5
16944 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16945 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16946 echo $ac_n "(cached) $ac_c" 1>&6
16951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16952 ac_cpp='$CXXCPP $CPPFLAGS'
16953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16955 cross_compiling=$ac_cv_prog_cxx_cross
16957 cat > conftest.$ac_ext <<EOF
16958 #line 16959 "configure"
16959 #include "confdefs.h"
16965 if { (eval echo configure:16966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16967 glibcpp_cv_func_atan2l_use=yes
16969 echo "configure: failed program was:" >&5
16970 cat conftest.$ac_ext >&5
16972 glibcpp_cv_func_atan2l_use=no
16976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16977 ac_cpp='$CPP $CPPFLAGS'
16978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16980 cross_compiling=$ac_cv_prog_cc_cross
16986 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16988 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16989 for ac_func in atan2l
16991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16992 echo "configure:16993: checking for $ac_func" >&5
16993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16994 echo $ac_n "(cached) $ac_c" 1>&6
16996 cat > conftest.$ac_ext <<EOF
16997 #line 16998 "configure"
16998 #include "confdefs.h"
16999 /* System header to define __stub macros and hopefully few prototypes,
17000 which can conflict with char $ac_func(); below. */
17001 #include <assert.h>
17002 /* Override any gcc2 internal prototype to avoid an error. */
17003 /* We use char because int might match the return type of a gcc2
17004 builtin and then its argument prototype would still apply. */
17009 /* The GNU C library defines this for functions which it implements
17010 to always fail with ENOSYS. Some functions are actually named
17011 something starting with __ and the normal name is an alias. */
17012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17020 if { (eval echo configure:17021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17022 eval "ac_cv_func_$ac_func=yes"
17024 echo "configure: failed program was:" >&5
17025 cat conftest.$ac_ext >&5
17027 eval "ac_cv_func_$ac_func=no"
17032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17033 echo "$ac_t""yes" 1>&6
17034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17035 cat >> confdefs.h <<EOF
17036 #define $ac_tr_func 1
17040 echo "$ac_t""no" 1>&6
17046 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17047 echo "configure:17048: checking for _atan2l declaration" >&5
17048 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17049 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17050 echo $ac_n "(cached) $ac_c" 1>&6
17055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17056 ac_cpp='$CXXCPP $CPPFLAGS'
17057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17059 cross_compiling=$ac_cv_prog_cxx_cross
17061 cat > conftest.$ac_ext <<EOF
17062 #line 17063 "configure"
17063 #include "confdefs.h"
17069 if { (eval echo configure:17070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17071 glibcpp_cv_func__atan2l_use=yes
17073 echo "configure: failed program was:" >&5
17074 cat conftest.$ac_ext >&5
17076 glibcpp_cv_func__atan2l_use=no
17080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17081 ac_cpp='$CPP $CPPFLAGS'
17082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17084 cross_compiling=$ac_cv_prog_cc_cross
17090 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17092 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17093 for ac_func in _atan2l
17095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17096 echo "configure:17097: checking for $ac_func" >&5
17097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17098 echo $ac_n "(cached) $ac_c" 1>&6
17100 cat > conftest.$ac_ext <<EOF
17101 #line 17102 "configure"
17102 #include "confdefs.h"
17103 /* System header to define __stub macros and hopefully few prototypes,
17104 which can conflict with char $ac_func(); below. */
17105 #include <assert.h>
17106 /* Override any gcc2 internal prototype to avoid an error. */
17107 /* We use char because int might match the return type of a gcc2
17108 builtin and then its argument prototype would still apply. */
17113 /* The GNU C library defines this for functions which it implements
17114 to always fail with ENOSYS. Some functions are actually named
17115 something starting with __ and the normal name is an alias. */
17116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17124 if { (eval echo configure:17125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17126 eval "ac_cv_func_$ac_func=yes"
17128 echo "configure: failed program was:" >&5
17129 cat conftest.$ac_ext >&5
17131 eval "ac_cv_func_$ac_func=no"
17136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17137 echo "$ac_t""yes" 1>&6
17138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17139 cat >> confdefs.h <<EOF
17140 #define $ac_tr_func 1
17144 echo "$ac_t""no" 1>&6
17153 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17154 echo "configure:17155: checking for expl declaration" >&5
17155 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17156 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17157 echo $ac_n "(cached) $ac_c" 1>&6
17162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17163 ac_cpp='$CXXCPP $CPPFLAGS'
17164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17166 cross_compiling=$ac_cv_prog_cxx_cross
17168 cat > conftest.$ac_ext <<EOF
17169 #line 17170 "configure"
17170 #include "confdefs.h"
17172 #ifdef HAVE_IEEEFP_H
17173 #include <ieeefp.h>
17180 if { (eval echo configure:17181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17182 glibcpp_cv_func_expl_use=yes
17184 echo "configure: failed program was:" >&5
17185 cat conftest.$ac_ext >&5
17187 glibcpp_cv_func_expl_use=no
17191 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17192 ac_cpp='$CPP $CPPFLAGS'
17193 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17194 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17195 cross_compiling=$ac_cv_prog_cc_cross
17201 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17203 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17204 for ac_func in expl
17206 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17207 echo "configure:17208: checking for $ac_func" >&5
17208 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17209 echo $ac_n "(cached) $ac_c" 1>&6
17211 cat > conftest.$ac_ext <<EOF
17212 #line 17213 "configure"
17213 #include "confdefs.h"
17214 /* System header to define __stub macros and hopefully few prototypes,
17215 which can conflict with char $ac_func(); below. */
17216 #include <assert.h>
17217 /* Override any gcc2 internal prototype to avoid an error. */
17218 /* We use char because int might match the return type of a gcc2
17219 builtin and then its argument prototype would still apply. */
17224 /* The GNU C library defines this for functions which it implements
17225 to always fail with ENOSYS. Some functions are actually named
17226 something starting with __ and the normal name is an alias. */
17227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17235 if { (eval echo configure:17236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17237 eval "ac_cv_func_$ac_func=yes"
17239 echo "configure: failed program was:" >&5
17240 cat conftest.$ac_ext >&5
17242 eval "ac_cv_func_$ac_func=no"
17247 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17248 echo "$ac_t""yes" 1>&6
17249 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17250 cat >> confdefs.h <<EOF
17251 #define $ac_tr_func 1
17255 echo "$ac_t""no" 1>&6
17261 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17262 echo "configure:17263: checking for _expl declaration" >&5
17263 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17264 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17265 echo $ac_n "(cached) $ac_c" 1>&6
17270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17271 ac_cpp='$CXXCPP $CPPFLAGS'
17272 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17273 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17274 cross_compiling=$ac_cv_prog_cxx_cross
17276 cat > conftest.$ac_ext <<EOF
17277 #line 17278 "configure"
17278 #include "confdefs.h"
17280 #ifdef HAVE_IEEEFP_H
17281 #include <ieeefp.h>
17288 if { (eval echo configure:17289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17290 glibcpp_cv_func__expl_use=yes
17292 echo "configure: failed program was:" >&5
17293 cat conftest.$ac_ext >&5
17295 glibcpp_cv_func__expl_use=no
17299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17302 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17303 cross_compiling=$ac_cv_prog_cc_cross
17309 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17311 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17312 for ac_func in _expl
17314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17315 echo "configure:17316: checking for $ac_func" >&5
17316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17317 echo $ac_n "(cached) $ac_c" 1>&6
17319 cat > conftest.$ac_ext <<EOF
17320 #line 17321 "configure"
17321 #include "confdefs.h"
17322 /* System header to define __stub macros and hopefully few prototypes,
17323 which can conflict with char $ac_func(); below. */
17324 #include <assert.h>
17325 /* Override any gcc2 internal prototype to avoid an error. */
17326 /* We use char because int might match the return type of a gcc2
17327 builtin and then its argument prototype would still apply. */
17332 /* The GNU C library defines this for functions which it implements
17333 to always fail with ENOSYS. Some functions are actually named
17334 something starting with __ and the normal name is an alias. */
17335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17343 if { (eval echo configure:17344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17345 eval "ac_cv_func_$ac_func=yes"
17347 echo "configure: failed program was:" >&5
17348 cat conftest.$ac_ext >&5
17350 eval "ac_cv_func_$ac_func=no"
17355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17356 echo "$ac_t""yes" 1>&6
17357 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17358 cat >> confdefs.h <<EOF
17359 #define $ac_tr_func 1
17363 echo "$ac_t""no" 1>&6
17372 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17373 echo "configure:17374: checking for fabsl declaration" >&5
17374 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17375 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17376 echo $ac_n "(cached) $ac_c" 1>&6
17381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17382 ac_cpp='$CXXCPP $CPPFLAGS'
17383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17385 cross_compiling=$ac_cv_prog_cxx_cross
17387 cat > conftest.$ac_ext <<EOF
17388 #line 17389 "configure"
17389 #include "confdefs.h"
17391 #ifdef HAVE_IEEEFP_H
17392 #include <ieeefp.h>
17399 if { (eval echo configure:17400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17401 glibcpp_cv_func_fabsl_use=yes
17403 echo "configure: failed program was:" >&5
17404 cat conftest.$ac_ext >&5
17406 glibcpp_cv_func_fabsl_use=no
17410 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17411 ac_cpp='$CPP $CPPFLAGS'
17412 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17413 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17414 cross_compiling=$ac_cv_prog_cc_cross
17420 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17422 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17423 for ac_func in fabsl
17425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17426 echo "configure:17427: checking for $ac_func" >&5
17427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17428 echo $ac_n "(cached) $ac_c" 1>&6
17430 cat > conftest.$ac_ext <<EOF
17431 #line 17432 "configure"
17432 #include "confdefs.h"
17433 /* System header to define __stub macros and hopefully few prototypes,
17434 which can conflict with char $ac_func(); below. */
17435 #include <assert.h>
17436 /* Override any gcc2 internal prototype to avoid an error. */
17437 /* We use char because int might match the return type of a gcc2
17438 builtin and then its argument prototype would still apply. */
17443 /* The GNU C library defines this for functions which it implements
17444 to always fail with ENOSYS. Some functions are actually named
17445 something starting with __ and the normal name is an alias. */
17446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17454 if { (eval echo configure:17455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17456 eval "ac_cv_func_$ac_func=yes"
17458 echo "configure: failed program was:" >&5
17459 cat conftest.$ac_ext >&5
17461 eval "ac_cv_func_$ac_func=no"
17466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17467 echo "$ac_t""yes" 1>&6
17468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17469 cat >> confdefs.h <<EOF
17470 #define $ac_tr_func 1
17474 echo "$ac_t""no" 1>&6
17480 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17481 echo "configure:17482: checking for _fabsl declaration" >&5
17482 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17483 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17484 echo $ac_n "(cached) $ac_c" 1>&6
17489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17490 ac_cpp='$CXXCPP $CPPFLAGS'
17491 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17492 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17493 cross_compiling=$ac_cv_prog_cxx_cross
17495 cat > conftest.$ac_ext <<EOF
17496 #line 17497 "configure"
17497 #include "confdefs.h"
17499 #ifdef HAVE_IEEEFP_H
17500 #include <ieeefp.h>
17507 if { (eval echo configure:17508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17509 glibcpp_cv_func__fabsl_use=yes
17511 echo "configure: failed program was:" >&5
17512 cat conftest.$ac_ext >&5
17514 glibcpp_cv_func__fabsl_use=no
17518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17519 ac_cpp='$CPP $CPPFLAGS'
17520 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17521 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17522 cross_compiling=$ac_cv_prog_cc_cross
17528 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17530 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17531 for ac_func in _fabsl
17533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17534 echo "configure:17535: checking for $ac_func" >&5
17535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17536 echo $ac_n "(cached) $ac_c" 1>&6
17538 cat > conftest.$ac_ext <<EOF
17539 #line 17540 "configure"
17540 #include "confdefs.h"
17541 /* System header to define __stub macros and hopefully few prototypes,
17542 which can conflict with char $ac_func(); below. */
17543 #include <assert.h>
17544 /* Override any gcc2 internal prototype to avoid an error. */
17545 /* We use char because int might match the return type of a gcc2
17546 builtin and then its argument prototype would still apply. */
17551 /* The GNU C library defines this for functions which it implements
17552 to always fail with ENOSYS. Some functions are actually named
17553 something starting with __ and the normal name is an alias. */
17554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17562 if { (eval echo configure:17563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17564 eval "ac_cv_func_$ac_func=yes"
17566 echo "configure: failed program was:" >&5
17567 cat conftest.$ac_ext >&5
17569 eval "ac_cv_func_$ac_func=no"
17574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17575 echo "$ac_t""yes" 1>&6
17576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17577 cat >> confdefs.h <<EOF
17578 #define $ac_tr_func 1
17582 echo "$ac_t""no" 1>&6
17591 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17592 echo "configure:17593: checking for fmodl declaration" >&5
17593 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17594 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17595 echo $ac_n "(cached) $ac_c" 1>&6
17600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17601 ac_cpp='$CXXCPP $CPPFLAGS'
17602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17603 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17604 cross_compiling=$ac_cv_prog_cxx_cross
17606 cat > conftest.$ac_ext <<EOF
17607 #line 17608 "configure"
17608 #include "confdefs.h"
17614 if { (eval echo configure:17615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17616 glibcpp_cv_func_fmodl_use=yes
17618 echo "configure: failed program was:" >&5
17619 cat conftest.$ac_ext >&5
17621 glibcpp_cv_func_fmodl_use=no
17625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17626 ac_cpp='$CPP $CPPFLAGS'
17627 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17628 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17629 cross_compiling=$ac_cv_prog_cc_cross
17635 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17637 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17638 for ac_func in fmodl
17640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17641 echo "configure:17642: checking for $ac_func" >&5
17642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17643 echo $ac_n "(cached) $ac_c" 1>&6
17645 cat > conftest.$ac_ext <<EOF
17646 #line 17647 "configure"
17647 #include "confdefs.h"
17648 /* System header to define __stub macros and hopefully few prototypes,
17649 which can conflict with char $ac_func(); below. */
17650 #include <assert.h>
17651 /* Override any gcc2 internal prototype to avoid an error. */
17652 /* We use char because int might match the return type of a gcc2
17653 builtin and then its argument prototype would still apply. */
17658 /* The GNU C library defines this for functions which it implements
17659 to always fail with ENOSYS. Some functions are actually named
17660 something starting with __ and the normal name is an alias. */
17661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17669 if { (eval echo configure:17670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17671 eval "ac_cv_func_$ac_func=yes"
17673 echo "configure: failed program was:" >&5
17674 cat conftest.$ac_ext >&5
17676 eval "ac_cv_func_$ac_func=no"
17681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17682 echo "$ac_t""yes" 1>&6
17683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17684 cat >> confdefs.h <<EOF
17685 #define $ac_tr_func 1
17689 echo "$ac_t""no" 1>&6
17695 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17696 echo "configure:17697: checking for _fmodl declaration" >&5
17697 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17698 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17699 echo $ac_n "(cached) $ac_c" 1>&6
17704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17705 ac_cpp='$CXXCPP $CPPFLAGS'
17706 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17707 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17708 cross_compiling=$ac_cv_prog_cxx_cross
17710 cat > conftest.$ac_ext <<EOF
17711 #line 17712 "configure"
17712 #include "confdefs.h"
17718 if { (eval echo configure:17719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17720 glibcpp_cv_func__fmodl_use=yes
17722 echo "configure: failed program was:" >&5
17723 cat conftest.$ac_ext >&5
17725 glibcpp_cv_func__fmodl_use=no
17729 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17730 ac_cpp='$CPP $CPPFLAGS'
17731 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17732 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17733 cross_compiling=$ac_cv_prog_cc_cross
17739 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17741 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17742 for ac_func in _fmodl
17744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17745 echo "configure:17746: checking for $ac_func" >&5
17746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17747 echo $ac_n "(cached) $ac_c" 1>&6
17749 cat > conftest.$ac_ext <<EOF
17750 #line 17751 "configure"
17751 #include "confdefs.h"
17752 /* System header to define __stub macros and hopefully few prototypes,
17753 which can conflict with char $ac_func(); below. */
17754 #include <assert.h>
17755 /* Override any gcc2 internal prototype to avoid an error. */
17756 /* We use char because int might match the return type of a gcc2
17757 builtin and then its argument prototype would still apply. */
17762 /* The GNU C library defines this for functions which it implements
17763 to always fail with ENOSYS. Some functions are actually named
17764 something starting with __ and the normal name is an alias. */
17765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17773 if { (eval echo configure:17774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17775 eval "ac_cv_func_$ac_func=yes"
17777 echo "configure: failed program was:" >&5
17778 cat conftest.$ac_ext >&5
17780 eval "ac_cv_func_$ac_func=no"
17785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17786 echo "$ac_t""yes" 1>&6
17787 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17788 cat >> confdefs.h <<EOF
17789 #define $ac_tr_func 1
17793 echo "$ac_t""no" 1>&6
17802 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17803 echo "configure:17804: checking for frexpl declaration" >&5
17804 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17805 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17806 echo $ac_n "(cached) $ac_c" 1>&6
17811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17815 cross_compiling=$ac_cv_prog_cxx_cross
17817 cat > conftest.$ac_ext <<EOF
17818 #line 17819 "configure"
17819 #include "confdefs.h"
17825 if { (eval echo configure:17826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17827 glibcpp_cv_func_frexpl_use=yes
17829 echo "configure: failed program was:" >&5
17830 cat conftest.$ac_ext >&5
17832 glibcpp_cv_func_frexpl_use=no
17836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17840 cross_compiling=$ac_cv_prog_cc_cross
17846 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17848 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17849 for ac_func in frexpl
17851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17852 echo "configure:17853: checking for $ac_func" >&5
17853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17854 echo $ac_n "(cached) $ac_c" 1>&6
17856 cat > conftest.$ac_ext <<EOF
17857 #line 17858 "configure"
17858 #include "confdefs.h"
17859 /* System header to define __stub macros and hopefully few prototypes,
17860 which can conflict with char $ac_func(); below. */
17861 #include <assert.h>
17862 /* Override any gcc2 internal prototype to avoid an error. */
17863 /* We use char because int might match the return type of a gcc2
17864 builtin and then its argument prototype would still apply. */
17869 /* The GNU C library defines this for functions which it implements
17870 to always fail with ENOSYS. Some functions are actually named
17871 something starting with __ and the normal name is an alias. */
17872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17880 if { (eval echo configure:17881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17882 eval "ac_cv_func_$ac_func=yes"
17884 echo "configure: failed program was:" >&5
17885 cat conftest.$ac_ext >&5
17887 eval "ac_cv_func_$ac_func=no"
17892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17893 echo "$ac_t""yes" 1>&6
17894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17895 cat >> confdefs.h <<EOF
17896 #define $ac_tr_func 1
17900 echo "$ac_t""no" 1>&6
17906 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17907 echo "configure:17908: checking for _frexpl declaration" >&5
17908 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17909 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17910 echo $ac_n "(cached) $ac_c" 1>&6
17915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17916 ac_cpp='$CXXCPP $CPPFLAGS'
17917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17919 cross_compiling=$ac_cv_prog_cxx_cross
17921 cat > conftest.$ac_ext <<EOF
17922 #line 17923 "configure"
17923 #include "confdefs.h"
17929 if { (eval echo configure:17930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17931 glibcpp_cv_func__frexpl_use=yes
17933 echo "configure: failed program was:" >&5
17934 cat conftest.$ac_ext >&5
17936 glibcpp_cv_func__frexpl_use=no
17940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17941 ac_cpp='$CPP $CPPFLAGS'
17942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17944 cross_compiling=$ac_cv_prog_cc_cross
17950 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17952 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17953 for ac_func in _frexpl
17955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17956 echo "configure:17957: checking for $ac_func" >&5
17957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17958 echo $ac_n "(cached) $ac_c" 1>&6
17960 cat > conftest.$ac_ext <<EOF
17961 #line 17962 "configure"
17962 #include "confdefs.h"
17963 /* System header to define __stub macros and hopefully few prototypes,
17964 which can conflict with char $ac_func(); below. */
17965 #include <assert.h>
17966 /* Override any gcc2 internal prototype to avoid an error. */
17967 /* We use char because int might match the return type of a gcc2
17968 builtin and then its argument prototype would still apply. */
17973 /* The GNU C library defines this for functions which it implements
17974 to always fail with ENOSYS. Some functions are actually named
17975 something starting with __ and the normal name is an alias. */
17976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17984 if { (eval echo configure:17985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17986 eval "ac_cv_func_$ac_func=yes"
17988 echo "configure: failed program was:" >&5
17989 cat conftest.$ac_ext >&5
17991 eval "ac_cv_func_$ac_func=no"
17996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17997 echo "$ac_t""yes" 1>&6
17998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17999 cat >> confdefs.h <<EOF
18000 #define $ac_tr_func 1
18004 echo "$ac_t""no" 1>&6
18013 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18014 echo "configure:18015: checking for hypotl declaration" >&5
18015 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18016 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18017 echo $ac_n "(cached) $ac_c" 1>&6
18022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18023 ac_cpp='$CXXCPP $CPPFLAGS'
18024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18026 cross_compiling=$ac_cv_prog_cxx_cross
18028 cat > conftest.$ac_ext <<EOF
18029 #line 18030 "configure"
18030 #include "confdefs.h"
18036 if { (eval echo configure:18037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18038 glibcpp_cv_func_hypotl_use=yes
18040 echo "configure: failed program was:" >&5
18041 cat conftest.$ac_ext >&5
18043 glibcpp_cv_func_hypotl_use=no
18047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18048 ac_cpp='$CPP $CPPFLAGS'
18049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18051 cross_compiling=$ac_cv_prog_cc_cross
18057 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18059 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18060 for ac_func in hypotl
18062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18063 echo "configure:18064: checking for $ac_func" >&5
18064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18065 echo $ac_n "(cached) $ac_c" 1>&6
18067 cat > conftest.$ac_ext <<EOF
18068 #line 18069 "configure"
18069 #include "confdefs.h"
18070 /* System header to define __stub macros and hopefully few prototypes,
18071 which can conflict with char $ac_func(); below. */
18072 #include <assert.h>
18073 /* Override any gcc2 internal prototype to avoid an error. */
18074 /* We use char because int might match the return type of a gcc2
18075 builtin and then its argument prototype would still apply. */
18080 /* The GNU C library defines this for functions which it implements
18081 to always fail with ENOSYS. Some functions are actually named
18082 something starting with __ and the normal name is an alias. */
18083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18091 if { (eval echo configure:18092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18093 eval "ac_cv_func_$ac_func=yes"
18095 echo "configure: failed program was:" >&5
18096 cat conftest.$ac_ext >&5
18098 eval "ac_cv_func_$ac_func=no"
18103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18104 echo "$ac_t""yes" 1>&6
18105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18106 cat >> confdefs.h <<EOF
18107 #define $ac_tr_func 1
18111 echo "$ac_t""no" 1>&6
18117 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18118 echo "configure:18119: checking for _hypotl declaration" >&5
18119 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18120 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18121 echo $ac_n "(cached) $ac_c" 1>&6
18126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18130 cross_compiling=$ac_cv_prog_cxx_cross
18132 cat > conftest.$ac_ext <<EOF
18133 #line 18134 "configure"
18134 #include "confdefs.h"
18140 if { (eval echo configure:18141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18142 glibcpp_cv_func__hypotl_use=yes
18144 echo "configure: failed program was:" >&5
18145 cat conftest.$ac_ext >&5
18147 glibcpp_cv_func__hypotl_use=no
18151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18152 ac_cpp='$CPP $CPPFLAGS'
18153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18155 cross_compiling=$ac_cv_prog_cc_cross
18161 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18163 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18164 for ac_func in _hypotl
18166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18167 echo "configure:18168: checking for $ac_func" >&5
18168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18169 echo $ac_n "(cached) $ac_c" 1>&6
18171 cat > conftest.$ac_ext <<EOF
18172 #line 18173 "configure"
18173 #include "confdefs.h"
18174 /* System header to define __stub macros and hopefully few prototypes,
18175 which can conflict with char $ac_func(); below. */
18176 #include <assert.h>
18177 /* Override any gcc2 internal prototype to avoid an error. */
18178 /* We use char because int might match the return type of a gcc2
18179 builtin and then its argument prototype would still apply. */
18184 /* The GNU C library defines this for functions which it implements
18185 to always fail with ENOSYS. Some functions are actually named
18186 something starting with __ and the normal name is an alias. */
18187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18195 if { (eval echo configure:18196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18197 eval "ac_cv_func_$ac_func=yes"
18199 echo "configure: failed program was:" >&5
18200 cat conftest.$ac_ext >&5
18202 eval "ac_cv_func_$ac_func=no"
18207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18208 echo "$ac_t""yes" 1>&6
18209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18210 cat >> confdefs.h <<EOF
18211 #define $ac_tr_func 1
18215 echo "$ac_t""no" 1>&6
18224 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18225 echo "configure:18226: checking for ldexpl declaration" >&5
18226 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18227 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18228 echo $ac_n "(cached) $ac_c" 1>&6
18233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18234 ac_cpp='$CXXCPP $CPPFLAGS'
18235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18237 cross_compiling=$ac_cv_prog_cxx_cross
18239 cat > conftest.$ac_ext <<EOF
18240 #line 18241 "configure"
18241 #include "confdefs.h"
18247 if { (eval echo configure:18248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18249 glibcpp_cv_func_ldexpl_use=yes
18251 echo "configure: failed program was:" >&5
18252 cat conftest.$ac_ext >&5
18254 glibcpp_cv_func_ldexpl_use=no
18258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18259 ac_cpp='$CPP $CPPFLAGS'
18260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18262 cross_compiling=$ac_cv_prog_cc_cross
18268 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18270 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18271 for ac_func in ldexpl
18273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18274 echo "configure:18275: checking for $ac_func" >&5
18275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18276 echo $ac_n "(cached) $ac_c" 1>&6
18278 cat > conftest.$ac_ext <<EOF
18279 #line 18280 "configure"
18280 #include "confdefs.h"
18281 /* System header to define __stub macros and hopefully few prototypes,
18282 which can conflict with char $ac_func(); below. */
18283 #include <assert.h>
18284 /* Override any gcc2 internal prototype to avoid an error. */
18285 /* We use char because int might match the return type of a gcc2
18286 builtin and then its argument prototype would still apply. */
18291 /* The GNU C library defines this for functions which it implements
18292 to always fail with ENOSYS. Some functions are actually named
18293 something starting with __ and the normal name is an alias. */
18294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18302 if { (eval echo configure:18303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18304 eval "ac_cv_func_$ac_func=yes"
18306 echo "configure: failed program was:" >&5
18307 cat conftest.$ac_ext >&5
18309 eval "ac_cv_func_$ac_func=no"
18314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18315 echo "$ac_t""yes" 1>&6
18316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18317 cat >> confdefs.h <<EOF
18318 #define $ac_tr_func 1
18322 echo "$ac_t""no" 1>&6
18328 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18329 echo "configure:18330: checking for _ldexpl declaration" >&5
18330 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18331 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18332 echo $ac_n "(cached) $ac_c" 1>&6
18337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18338 ac_cpp='$CXXCPP $CPPFLAGS'
18339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18341 cross_compiling=$ac_cv_prog_cxx_cross
18343 cat > conftest.$ac_ext <<EOF
18344 #line 18345 "configure"
18345 #include "confdefs.h"
18351 if { (eval echo configure:18352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18353 glibcpp_cv_func__ldexpl_use=yes
18355 echo "configure: failed program was:" >&5
18356 cat conftest.$ac_ext >&5
18358 glibcpp_cv_func__ldexpl_use=no
18362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18363 ac_cpp='$CPP $CPPFLAGS'
18364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18366 cross_compiling=$ac_cv_prog_cc_cross
18372 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18374 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18375 for ac_func in _ldexpl
18377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18378 echo "configure:18379: checking for $ac_func" >&5
18379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18380 echo $ac_n "(cached) $ac_c" 1>&6
18382 cat > conftest.$ac_ext <<EOF
18383 #line 18384 "configure"
18384 #include "confdefs.h"
18385 /* System header to define __stub macros and hopefully few prototypes,
18386 which can conflict with char $ac_func(); below. */
18387 #include <assert.h>
18388 /* Override any gcc2 internal prototype to avoid an error. */
18389 /* We use char because int might match the return type of a gcc2
18390 builtin and then its argument prototype would still apply. */
18395 /* The GNU C library defines this for functions which it implements
18396 to always fail with ENOSYS. Some functions are actually named
18397 something starting with __ and the normal name is an alias. */
18398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18406 if { (eval echo configure:18407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18408 eval "ac_cv_func_$ac_func=yes"
18410 echo "configure: failed program was:" >&5
18411 cat conftest.$ac_ext >&5
18413 eval "ac_cv_func_$ac_func=no"
18418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18419 echo "$ac_t""yes" 1>&6
18420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18421 cat >> confdefs.h <<EOF
18422 #define $ac_tr_func 1
18426 echo "$ac_t""no" 1>&6
18435 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18436 echo "configure:18437: checking for logl declaration" >&5
18437 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18438 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18439 echo $ac_n "(cached) $ac_c" 1>&6
18444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18445 ac_cpp='$CXXCPP $CPPFLAGS'
18446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18448 cross_compiling=$ac_cv_prog_cxx_cross
18450 cat > conftest.$ac_ext <<EOF
18451 #line 18452 "configure"
18452 #include "confdefs.h"
18454 #ifdef HAVE_IEEEFP_H
18455 #include <ieeefp.h>
18462 if { (eval echo configure:18463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18464 glibcpp_cv_func_logl_use=yes
18466 echo "configure: failed program was:" >&5
18467 cat conftest.$ac_ext >&5
18469 glibcpp_cv_func_logl_use=no
18473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18474 ac_cpp='$CPP $CPPFLAGS'
18475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18477 cross_compiling=$ac_cv_prog_cc_cross
18483 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18485 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18486 for ac_func in logl
18488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18489 echo "configure:18490: checking for $ac_func" >&5
18490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18491 echo $ac_n "(cached) $ac_c" 1>&6
18493 cat > conftest.$ac_ext <<EOF
18494 #line 18495 "configure"
18495 #include "confdefs.h"
18496 /* System header to define __stub macros and hopefully few prototypes,
18497 which can conflict with char $ac_func(); below. */
18498 #include <assert.h>
18499 /* Override any gcc2 internal prototype to avoid an error. */
18500 /* We use char because int might match the return type of a gcc2
18501 builtin and then its argument prototype would still apply. */
18506 /* The GNU C library defines this for functions which it implements
18507 to always fail with ENOSYS. Some functions are actually named
18508 something starting with __ and the normal name is an alias. */
18509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18517 if { (eval echo configure:18518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18519 eval "ac_cv_func_$ac_func=yes"
18521 echo "configure: failed program was:" >&5
18522 cat conftest.$ac_ext >&5
18524 eval "ac_cv_func_$ac_func=no"
18529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18530 echo "$ac_t""yes" 1>&6
18531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18532 cat >> confdefs.h <<EOF
18533 #define $ac_tr_func 1
18537 echo "$ac_t""no" 1>&6
18543 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18544 echo "configure:18545: checking for _logl declaration" >&5
18545 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18546 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18547 echo $ac_n "(cached) $ac_c" 1>&6
18552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18553 ac_cpp='$CXXCPP $CPPFLAGS'
18554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18556 cross_compiling=$ac_cv_prog_cxx_cross
18558 cat > conftest.$ac_ext <<EOF
18559 #line 18560 "configure"
18560 #include "confdefs.h"
18562 #ifdef HAVE_IEEEFP_H
18563 #include <ieeefp.h>
18570 if { (eval echo configure:18571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18572 glibcpp_cv_func__logl_use=yes
18574 echo "configure: failed program was:" >&5
18575 cat conftest.$ac_ext >&5
18577 glibcpp_cv_func__logl_use=no
18581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18582 ac_cpp='$CPP $CPPFLAGS'
18583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18585 cross_compiling=$ac_cv_prog_cc_cross
18591 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18593 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18594 for ac_func in _logl
18596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18597 echo "configure:18598: checking for $ac_func" >&5
18598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18599 echo $ac_n "(cached) $ac_c" 1>&6
18601 cat > conftest.$ac_ext <<EOF
18602 #line 18603 "configure"
18603 #include "confdefs.h"
18604 /* System header to define __stub macros and hopefully few prototypes,
18605 which can conflict with char $ac_func(); below. */
18606 #include <assert.h>
18607 /* Override any gcc2 internal prototype to avoid an error. */
18608 /* We use char because int might match the return type of a gcc2
18609 builtin and then its argument prototype would still apply. */
18614 /* The GNU C library defines this for functions which it implements
18615 to always fail with ENOSYS. Some functions are actually named
18616 something starting with __ and the normal name is an alias. */
18617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18625 if { (eval echo configure:18626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18627 eval "ac_cv_func_$ac_func=yes"
18629 echo "configure: failed program was:" >&5
18630 cat conftest.$ac_ext >&5
18632 eval "ac_cv_func_$ac_func=no"
18637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18638 echo "$ac_t""yes" 1>&6
18639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18640 cat >> confdefs.h <<EOF
18641 #define $ac_tr_func 1
18645 echo "$ac_t""no" 1>&6
18654 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18655 echo "configure:18656: checking for log10l declaration" >&5
18656 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18657 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18658 echo $ac_n "(cached) $ac_c" 1>&6
18663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18664 ac_cpp='$CXXCPP $CPPFLAGS'
18665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18667 cross_compiling=$ac_cv_prog_cxx_cross
18669 cat > conftest.$ac_ext <<EOF
18670 #line 18671 "configure"
18671 #include "confdefs.h"
18673 #ifdef HAVE_IEEEFP_H
18674 #include <ieeefp.h>
18681 if { (eval echo configure:18682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18683 glibcpp_cv_func_log10l_use=yes
18685 echo "configure: failed program was:" >&5
18686 cat conftest.$ac_ext >&5
18688 glibcpp_cv_func_log10l_use=no
18692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18693 ac_cpp='$CPP $CPPFLAGS'
18694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18696 cross_compiling=$ac_cv_prog_cc_cross
18702 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18704 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18705 for ac_func in log10l
18707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18708 echo "configure:18709: checking for $ac_func" >&5
18709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18710 echo $ac_n "(cached) $ac_c" 1>&6
18712 cat > conftest.$ac_ext <<EOF
18713 #line 18714 "configure"
18714 #include "confdefs.h"
18715 /* System header to define __stub macros and hopefully few prototypes,
18716 which can conflict with char $ac_func(); below. */
18717 #include <assert.h>
18718 /* Override any gcc2 internal prototype to avoid an error. */
18719 /* We use char because int might match the return type of a gcc2
18720 builtin and then its argument prototype would still apply. */
18725 /* The GNU C library defines this for functions which it implements
18726 to always fail with ENOSYS. Some functions are actually named
18727 something starting with __ and the normal name is an alias. */
18728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18736 if { (eval echo configure:18737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18738 eval "ac_cv_func_$ac_func=yes"
18740 echo "configure: failed program was:" >&5
18741 cat conftest.$ac_ext >&5
18743 eval "ac_cv_func_$ac_func=no"
18748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18749 echo "$ac_t""yes" 1>&6
18750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18751 cat >> confdefs.h <<EOF
18752 #define $ac_tr_func 1
18756 echo "$ac_t""no" 1>&6
18762 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18763 echo "configure:18764: checking for _log10l declaration" >&5
18764 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18765 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18766 echo $ac_n "(cached) $ac_c" 1>&6
18771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18775 cross_compiling=$ac_cv_prog_cxx_cross
18777 cat > conftest.$ac_ext <<EOF
18778 #line 18779 "configure"
18779 #include "confdefs.h"
18781 #ifdef HAVE_IEEEFP_H
18782 #include <ieeefp.h>
18789 if { (eval echo configure:18790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18791 glibcpp_cv_func__log10l_use=yes
18793 echo "configure: failed program was:" >&5
18794 cat conftest.$ac_ext >&5
18796 glibcpp_cv_func__log10l_use=no
18800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18801 ac_cpp='$CPP $CPPFLAGS'
18802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18804 cross_compiling=$ac_cv_prog_cc_cross
18810 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18812 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18813 for ac_func in _log10l
18815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18816 echo "configure:18817: checking for $ac_func" >&5
18817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18818 echo $ac_n "(cached) $ac_c" 1>&6
18820 cat > conftest.$ac_ext <<EOF
18821 #line 18822 "configure"
18822 #include "confdefs.h"
18823 /* System header to define __stub macros and hopefully few prototypes,
18824 which can conflict with char $ac_func(); below. */
18825 #include <assert.h>
18826 /* Override any gcc2 internal prototype to avoid an error. */
18827 /* We use char because int might match the return type of a gcc2
18828 builtin and then its argument prototype would still apply. */
18833 /* The GNU C library defines this for functions which it implements
18834 to always fail with ENOSYS. Some functions are actually named
18835 something starting with __ and the normal name is an alias. */
18836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18844 if { (eval echo configure:18845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18846 eval "ac_cv_func_$ac_func=yes"
18848 echo "configure: failed program was:" >&5
18849 cat conftest.$ac_ext >&5
18851 eval "ac_cv_func_$ac_func=no"
18856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18857 echo "$ac_t""yes" 1>&6
18858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18859 cat >> confdefs.h <<EOF
18860 #define $ac_tr_func 1
18864 echo "$ac_t""no" 1>&6
18873 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18874 echo "configure:18875: checking for modfl declaration" >&5
18875 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18876 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18877 echo $ac_n "(cached) $ac_c" 1>&6
18882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18883 ac_cpp='$CXXCPP $CPPFLAGS'
18884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18886 cross_compiling=$ac_cv_prog_cxx_cross
18888 cat > conftest.$ac_ext <<EOF
18889 #line 18890 "configure"
18890 #include "confdefs.h"
18896 if { (eval echo configure:18897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18898 glibcpp_cv_func_modfl_use=yes
18900 echo "configure: failed program was:" >&5
18901 cat conftest.$ac_ext >&5
18903 glibcpp_cv_func_modfl_use=no
18907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18908 ac_cpp='$CPP $CPPFLAGS'
18909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18911 cross_compiling=$ac_cv_prog_cc_cross
18917 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18919 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18920 for ac_func in modfl
18922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18923 echo "configure:18924: checking for $ac_func" >&5
18924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18925 echo $ac_n "(cached) $ac_c" 1>&6
18927 cat > conftest.$ac_ext <<EOF
18928 #line 18929 "configure"
18929 #include "confdefs.h"
18930 /* System header to define __stub macros and hopefully few prototypes,
18931 which can conflict with char $ac_func(); below. */
18932 #include <assert.h>
18933 /* Override any gcc2 internal prototype to avoid an error. */
18934 /* We use char because int might match the return type of a gcc2
18935 builtin and then its argument prototype would still apply. */
18940 /* The GNU C library defines this for functions which it implements
18941 to always fail with ENOSYS. Some functions are actually named
18942 something starting with __ and the normal name is an alias. */
18943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18951 if { (eval echo configure:18952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18953 eval "ac_cv_func_$ac_func=yes"
18955 echo "configure: failed program was:" >&5
18956 cat conftest.$ac_ext >&5
18958 eval "ac_cv_func_$ac_func=no"
18963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18964 echo "$ac_t""yes" 1>&6
18965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18966 cat >> confdefs.h <<EOF
18967 #define $ac_tr_func 1
18971 echo "$ac_t""no" 1>&6
18977 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18978 echo "configure:18979: checking for _modfl declaration" >&5
18979 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18980 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18981 echo $ac_n "(cached) $ac_c" 1>&6
18986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18987 ac_cpp='$CXXCPP $CPPFLAGS'
18988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18990 cross_compiling=$ac_cv_prog_cxx_cross
18992 cat > conftest.$ac_ext <<EOF
18993 #line 18994 "configure"
18994 #include "confdefs.h"
19000 if { (eval echo configure:19001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19002 glibcpp_cv_func__modfl_use=yes
19004 echo "configure: failed program was:" >&5
19005 cat conftest.$ac_ext >&5
19007 glibcpp_cv_func__modfl_use=no
19011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19012 ac_cpp='$CPP $CPPFLAGS'
19013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19015 cross_compiling=$ac_cv_prog_cc_cross
19021 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19023 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19024 for ac_func in _modfl
19026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19027 echo "configure:19028: checking for $ac_func" >&5
19028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19029 echo $ac_n "(cached) $ac_c" 1>&6
19031 cat > conftest.$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19034 /* System header to define __stub macros and hopefully few prototypes,
19035 which can conflict with char $ac_func(); below. */
19036 #include <assert.h>
19037 /* Override any gcc2 internal prototype to avoid an error. */
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19044 /* The GNU C library defines this for functions which it implements
19045 to always fail with ENOSYS. Some functions are actually named
19046 something starting with __ and the normal name is an alias. */
19047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19055 if { (eval echo configure:19056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19057 eval "ac_cv_func_$ac_func=yes"
19059 echo "configure: failed program was:" >&5
19060 cat conftest.$ac_ext >&5
19062 eval "ac_cv_func_$ac_func=no"
19067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19068 echo "$ac_t""yes" 1>&6
19069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19070 cat >> confdefs.h <<EOF
19071 #define $ac_tr_func 1
19075 echo "$ac_t""no" 1>&6
19084 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19085 echo "configure:19086: checking for powl declaration" >&5
19086 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19087 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19088 echo $ac_n "(cached) $ac_c" 1>&6
19093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19094 ac_cpp='$CXXCPP $CPPFLAGS'
19095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19097 cross_compiling=$ac_cv_prog_cxx_cross
19099 cat > conftest.$ac_ext <<EOF
19100 #line 19101 "configure"
19101 #include "confdefs.h"
19107 if { (eval echo configure:19108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19109 glibcpp_cv_func_powl_use=yes
19111 echo "configure: failed program was:" >&5
19112 cat conftest.$ac_ext >&5
19114 glibcpp_cv_func_powl_use=no
19118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19119 ac_cpp='$CPP $CPPFLAGS'
19120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19122 cross_compiling=$ac_cv_prog_cc_cross
19128 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19130 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19131 for ac_func in powl
19133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19134 echo "configure:19135: checking for $ac_func" >&5
19135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19136 echo $ac_n "(cached) $ac_c" 1>&6
19138 cat > conftest.$ac_ext <<EOF
19139 #line 19140 "configure"
19140 #include "confdefs.h"
19141 /* System header to define __stub macros and hopefully few prototypes,
19142 which can conflict with char $ac_func(); below. */
19143 #include <assert.h>
19144 /* Override any gcc2 internal prototype to avoid an error. */
19145 /* We use char because int might match the return type of a gcc2
19146 builtin and then its argument prototype would still apply. */
19151 /* The GNU C library defines this for functions which it implements
19152 to always fail with ENOSYS. Some functions are actually named
19153 something starting with __ and the normal name is an alias. */
19154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19162 if { (eval echo configure:19163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19164 eval "ac_cv_func_$ac_func=yes"
19166 echo "configure: failed program was:" >&5
19167 cat conftest.$ac_ext >&5
19169 eval "ac_cv_func_$ac_func=no"
19174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19175 echo "$ac_t""yes" 1>&6
19176 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19177 cat >> confdefs.h <<EOF
19178 #define $ac_tr_func 1
19182 echo "$ac_t""no" 1>&6
19188 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19189 echo "configure:19190: checking for _powl declaration" >&5
19190 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19191 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19192 echo $ac_n "(cached) $ac_c" 1>&6
19197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19198 ac_cpp='$CXXCPP $CPPFLAGS'
19199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19201 cross_compiling=$ac_cv_prog_cxx_cross
19203 cat > conftest.$ac_ext <<EOF
19204 #line 19205 "configure"
19205 #include "confdefs.h"
19211 if { (eval echo configure:19212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19213 glibcpp_cv_func__powl_use=yes
19215 echo "configure: failed program was:" >&5
19216 cat conftest.$ac_ext >&5
19218 glibcpp_cv_func__powl_use=no
19222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19223 ac_cpp='$CPP $CPPFLAGS'
19224 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19225 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19226 cross_compiling=$ac_cv_prog_cc_cross
19232 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19234 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19235 for ac_func in _powl
19237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19238 echo "configure:19239: checking for $ac_func" >&5
19239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19240 echo $ac_n "(cached) $ac_c" 1>&6
19242 cat > conftest.$ac_ext <<EOF
19243 #line 19244 "configure"
19244 #include "confdefs.h"
19245 /* System header to define __stub macros and hopefully few prototypes,
19246 which can conflict with char $ac_func(); below. */
19247 #include <assert.h>
19248 /* Override any gcc2 internal prototype to avoid an error. */
19249 /* We use char because int might match the return type of a gcc2
19250 builtin and then its argument prototype would still apply. */
19255 /* The GNU C library defines this for functions which it implements
19256 to always fail with ENOSYS. Some functions are actually named
19257 something starting with __ and the normal name is an alias. */
19258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19266 if { (eval echo configure:19267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19268 eval "ac_cv_func_$ac_func=yes"
19270 echo "configure: failed program was:" >&5
19271 cat conftest.$ac_ext >&5
19273 eval "ac_cv_func_$ac_func=no"
19278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19279 echo "$ac_t""yes" 1>&6
19280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19281 cat >> confdefs.h <<EOF
19282 #define $ac_tr_func 1
19286 echo "$ac_t""no" 1>&6
19295 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19296 echo "configure:19297: checking for sqrtl declaration" >&5
19297 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19298 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19299 echo $ac_n "(cached) $ac_c" 1>&6
19304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19305 ac_cpp='$CXXCPP $CPPFLAGS'
19306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19308 cross_compiling=$ac_cv_prog_cxx_cross
19310 cat > conftest.$ac_ext <<EOF
19311 #line 19312 "configure"
19312 #include "confdefs.h"
19314 #ifdef HAVE_IEEEFP_H
19315 #include <ieeefp.h>
19322 if { (eval echo configure:19323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19324 glibcpp_cv_func_sqrtl_use=yes
19326 echo "configure: failed program was:" >&5
19327 cat conftest.$ac_ext >&5
19329 glibcpp_cv_func_sqrtl_use=no
19333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19334 ac_cpp='$CPP $CPPFLAGS'
19335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19337 cross_compiling=$ac_cv_prog_cc_cross
19343 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19345 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19346 for ac_func in sqrtl
19348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19349 echo "configure:19350: checking for $ac_func" >&5
19350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19351 echo $ac_n "(cached) $ac_c" 1>&6
19353 cat > conftest.$ac_ext <<EOF
19354 #line 19355 "configure"
19355 #include "confdefs.h"
19356 /* System header to define __stub macros and hopefully few prototypes,
19357 which can conflict with char $ac_func(); below. */
19358 #include <assert.h>
19359 /* Override any gcc2 internal prototype to avoid an error. */
19360 /* We use char because int might match the return type of a gcc2
19361 builtin and then its argument prototype would still apply. */
19366 /* The GNU C library defines this for functions which it implements
19367 to always fail with ENOSYS. Some functions are actually named
19368 something starting with __ and the normal name is an alias. */
19369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19377 if { (eval echo configure:19378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19379 eval "ac_cv_func_$ac_func=yes"
19381 echo "configure: failed program was:" >&5
19382 cat conftest.$ac_ext >&5
19384 eval "ac_cv_func_$ac_func=no"
19389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19390 echo "$ac_t""yes" 1>&6
19391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19392 cat >> confdefs.h <<EOF
19393 #define $ac_tr_func 1
19397 echo "$ac_t""no" 1>&6
19403 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19404 echo "configure:19405: checking for _sqrtl declaration" >&5
19405 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19406 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19407 echo $ac_n "(cached) $ac_c" 1>&6
19412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19413 ac_cpp='$CXXCPP $CPPFLAGS'
19414 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19415 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19416 cross_compiling=$ac_cv_prog_cxx_cross
19418 cat > conftest.$ac_ext <<EOF
19419 #line 19420 "configure"
19420 #include "confdefs.h"
19422 #ifdef HAVE_IEEEFP_H
19423 #include <ieeefp.h>
19430 if { (eval echo configure:19431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19432 glibcpp_cv_func__sqrtl_use=yes
19434 echo "configure: failed program was:" >&5
19435 cat conftest.$ac_ext >&5
19437 glibcpp_cv_func__sqrtl_use=no
19441 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19442 ac_cpp='$CPP $CPPFLAGS'
19443 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19444 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19445 cross_compiling=$ac_cv_prog_cc_cross
19451 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19453 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19454 for ac_func in _sqrtl
19456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19457 echo "configure:19458: checking for $ac_func" >&5
19458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19459 echo $ac_n "(cached) $ac_c" 1>&6
19461 cat > conftest.$ac_ext <<EOF
19462 #line 19463 "configure"
19463 #include "confdefs.h"
19464 /* System header to define __stub macros and hopefully few prototypes,
19465 which can conflict with char $ac_func(); below. */
19466 #include <assert.h>
19467 /* Override any gcc2 internal prototype to avoid an error. */
19468 /* We use char because int might match the return type of a gcc2
19469 builtin and then its argument prototype would still apply. */
19474 /* The GNU C library defines this for functions which it implements
19475 to always fail with ENOSYS. Some functions are actually named
19476 something starting with __ and the normal name is an alias. */
19477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19485 if { (eval echo configure:19486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19487 eval "ac_cv_func_$ac_func=yes"
19489 echo "configure: failed program was:" >&5
19490 cat conftest.$ac_ext >&5
19492 eval "ac_cv_func_$ac_func=no"
19497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19498 echo "$ac_t""yes" 1>&6
19499 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19500 cat >> confdefs.h <<EOF
19501 #define $ac_tr_func 1
19505 echo "$ac_t""no" 1>&6
19514 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19515 echo "configure:19516: checking for sincosl declaration" >&5
19516 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19517 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19518 echo $ac_n "(cached) $ac_c" 1>&6
19523 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19524 ac_cpp='$CXXCPP $CPPFLAGS'
19525 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19526 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19527 cross_compiling=$ac_cv_prog_cxx_cross
19529 cat > conftest.$ac_ext <<EOF
19530 #line 19531 "configure"
19531 #include "confdefs.h"
19537 if { (eval echo configure:19538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19539 glibcpp_cv_func_sincosl_use=yes
19541 echo "configure: failed program was:" >&5
19542 cat conftest.$ac_ext >&5
19544 glibcpp_cv_func_sincosl_use=no
19548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19549 ac_cpp='$CPP $CPPFLAGS'
19550 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19551 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19552 cross_compiling=$ac_cv_prog_cc_cross
19558 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19560 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19561 for ac_func in sincosl
19563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19564 echo "configure:19565: checking for $ac_func" >&5
19565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19566 echo $ac_n "(cached) $ac_c" 1>&6
19568 cat > conftest.$ac_ext <<EOF
19569 #line 19570 "configure"
19570 #include "confdefs.h"
19571 /* System header to define __stub macros and hopefully few prototypes,
19572 which can conflict with char $ac_func(); below. */
19573 #include <assert.h>
19574 /* Override any gcc2 internal prototype to avoid an error. */
19575 /* We use char because int might match the return type of a gcc2
19576 builtin and then its argument prototype would still apply. */
19581 /* The GNU C library defines this for functions which it implements
19582 to always fail with ENOSYS. Some functions are actually named
19583 something starting with __ and the normal name is an alias. */
19584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19592 if { (eval echo configure:19593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19594 eval "ac_cv_func_$ac_func=yes"
19596 echo "configure: failed program was:" >&5
19597 cat conftest.$ac_ext >&5
19599 eval "ac_cv_func_$ac_func=no"
19604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19605 echo "$ac_t""yes" 1>&6
19606 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19607 cat >> confdefs.h <<EOF
19608 #define $ac_tr_func 1
19612 echo "$ac_t""no" 1>&6
19618 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19619 echo "configure:19620: checking for _sincosl declaration" >&5
19620 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19621 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19622 echo $ac_n "(cached) $ac_c" 1>&6
19627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19628 ac_cpp='$CXXCPP $CPPFLAGS'
19629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19631 cross_compiling=$ac_cv_prog_cxx_cross
19633 cat > conftest.$ac_ext <<EOF
19634 #line 19635 "configure"
19635 #include "confdefs.h"
19641 if { (eval echo configure:19642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19643 glibcpp_cv_func__sincosl_use=yes
19645 echo "configure: failed program was:" >&5
19646 cat conftest.$ac_ext >&5
19648 glibcpp_cv_func__sincosl_use=no
19652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19653 ac_cpp='$CPP $CPPFLAGS'
19654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19656 cross_compiling=$ac_cv_prog_cc_cross
19662 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19664 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19665 for ac_func in _sincosl
19667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19668 echo "configure:19669: checking for $ac_func" >&5
19669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19670 echo $ac_n "(cached) $ac_c" 1>&6
19672 cat > conftest.$ac_ext <<EOF
19673 #line 19674 "configure"
19674 #include "confdefs.h"
19675 /* System header to define __stub macros and hopefully few prototypes,
19676 which can conflict with char $ac_func(); below. */
19677 #include <assert.h>
19678 /* Override any gcc2 internal prototype to avoid an error. */
19679 /* We use char because int might match the return type of a gcc2
19680 builtin and then its argument prototype would still apply. */
19685 /* The GNU C library defines this for functions which it implements
19686 to always fail with ENOSYS. Some functions are actually named
19687 something starting with __ and the normal name is an alias. */
19688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19696 if { (eval echo configure:19697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19698 eval "ac_cv_func_$ac_func=yes"
19700 echo "configure: failed program was:" >&5
19701 cat conftest.$ac_ext >&5
19703 eval "ac_cv_func_$ac_func=no"
19708 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19709 echo "$ac_t""yes" 1>&6
19710 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19711 cat >> confdefs.h <<EOF
19712 #define $ac_tr_func 1
19716 echo "$ac_t""no" 1>&6
19725 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19726 echo "configure:19727: checking for finitel declaration" >&5
19727 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19728 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19729 echo $ac_n "(cached) $ac_c" 1>&6
19734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19735 ac_cpp='$CXXCPP $CPPFLAGS'
19736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19738 cross_compiling=$ac_cv_prog_cxx_cross
19740 cat > conftest.$ac_ext <<EOF
19741 #line 19742 "configure"
19742 #include "confdefs.h"
19744 #ifdef HAVE_IEEEFP_H
19745 #include <ieeefp.h>
19752 if { (eval echo configure:19753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19754 glibcpp_cv_func_finitel_use=yes
19756 echo "configure: failed program was:" >&5
19757 cat conftest.$ac_ext >&5
19759 glibcpp_cv_func_finitel_use=no
19763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19764 ac_cpp='$CPP $CPPFLAGS'
19765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19767 cross_compiling=$ac_cv_prog_cc_cross
19773 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19775 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19776 for ac_func in finitel
19778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19779 echo "configure:19780: checking for $ac_func" >&5
19780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19781 echo $ac_n "(cached) $ac_c" 1>&6
19783 cat > conftest.$ac_ext <<EOF
19784 #line 19785 "configure"
19785 #include "confdefs.h"
19786 /* System header to define __stub macros and hopefully few prototypes,
19787 which can conflict with char $ac_func(); below. */
19788 #include <assert.h>
19789 /* Override any gcc2 internal prototype to avoid an error. */
19790 /* We use char because int might match the return type of a gcc2
19791 builtin and then its argument prototype would still apply. */
19796 /* The GNU C library defines this for functions which it implements
19797 to always fail with ENOSYS. Some functions are actually named
19798 something starting with __ and the normal name is an alias. */
19799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19807 if { (eval echo configure:19808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19809 eval "ac_cv_func_$ac_func=yes"
19811 echo "configure: failed program was:" >&5
19812 cat conftest.$ac_ext >&5
19814 eval "ac_cv_func_$ac_func=no"
19819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19820 echo "$ac_t""yes" 1>&6
19821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19822 cat >> confdefs.h <<EOF
19823 #define $ac_tr_func 1
19827 echo "$ac_t""no" 1>&6
19833 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19834 echo "configure:19835: checking for _finitel declaration" >&5
19835 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19836 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19837 echo $ac_n "(cached) $ac_c" 1>&6
19842 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19843 ac_cpp='$CXXCPP $CPPFLAGS'
19844 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19845 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19846 cross_compiling=$ac_cv_prog_cxx_cross
19848 cat > conftest.$ac_ext <<EOF
19849 #line 19850 "configure"
19850 #include "confdefs.h"
19852 #ifdef HAVE_IEEEFP_H
19853 #include <ieeefp.h>
19860 if { (eval echo configure:19861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19862 glibcpp_cv_func__finitel_use=yes
19864 echo "configure: failed program was:" >&5
19865 cat conftest.$ac_ext >&5
19867 glibcpp_cv_func__finitel_use=no
19871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19872 ac_cpp='$CPP $CPPFLAGS'
19873 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19874 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19875 cross_compiling=$ac_cv_prog_cc_cross
19881 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19883 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19884 for ac_func in _finitel
19886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19887 echo "configure:19888: checking for $ac_func" >&5
19888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19889 echo $ac_n "(cached) $ac_c" 1>&6
19891 cat > conftest.$ac_ext <<EOF
19892 #line 19893 "configure"
19893 #include "confdefs.h"
19894 /* System header to define __stub macros and hopefully few prototypes,
19895 which can conflict with char $ac_func(); below. */
19896 #include <assert.h>
19897 /* Override any gcc2 internal prototype to avoid an error. */
19898 /* We use char because int might match the return type of a gcc2
19899 builtin and then its argument prototype would still apply. */
19904 /* The GNU C library defines this for functions which it implements
19905 to always fail with ENOSYS. Some functions are actually named
19906 something starting with __ and the normal name is an alias. */
19907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19915 if { (eval echo configure:19916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19917 eval "ac_cv_func_$ac_func=yes"
19919 echo "configure: failed program was:" >&5
19920 cat conftest.$ac_ext >&5
19922 eval "ac_cv_func_$ac_func=no"
19927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19928 echo "$ac_t""yes" 1>&6
19929 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19930 cat >> confdefs.h <<EOF
19931 #define $ac_tr_func 1
19935 echo "$ac_t""no" 1>&6
19945 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19946 echo "configure:19947: checking for _float trig functions" >&5
19947 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19948 echo $ac_n "(cached) $ac_c" 1>&6
19953 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19954 ac_cpp='$CXXCPP $CPPFLAGS'
19955 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19956 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19957 cross_compiling=$ac_cv_prog_cxx_cross
19959 cat > conftest.$ac_ext <<EOF
19960 #line 19961 "configure"
19961 #include "confdefs.h"
19964 `for x in _acosf _asinf _atanf \
19965 _cosf _sinf _tanf \
19966 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19969 if { (eval echo configure:19970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19971 glibcpp_cv_func__float_trig_use=yes
19973 echo "configure: failed program was:" >&5
19974 cat conftest.$ac_ext >&5
19976 glibcpp_cv_func__float_trig_use=no
19980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19981 ac_cpp='$CPP $CPPFLAGS'
19982 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19983 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19984 cross_compiling=$ac_cv_prog_cc_cross
19988 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19989 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19990 for ac_func in _acosf _asinf _atanf \
19991 _cosf _sinf _tanf \
19992 _coshf _sinhf _tanhf
19994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19995 echo "configure:19996: checking for $ac_func" >&5
19996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19997 echo $ac_n "(cached) $ac_c" 1>&6
19999 cat > conftest.$ac_ext <<EOF
20000 #line 20001 "configure"
20001 #include "confdefs.h"
20002 /* System header to define __stub macros and hopefully few prototypes,
20003 which can conflict with char $ac_func(); below. */
20004 #include <assert.h>
20005 /* Override any gcc2 internal prototype to avoid an error. */
20006 /* We use char because int might match the return type of a gcc2
20007 builtin and then its argument prototype would still apply. */
20012 /* The GNU C library defines this for functions which it implements
20013 to always fail with ENOSYS. Some functions are actually named
20014 something starting with __ and the normal name is an alias. */
20015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20023 if { (eval echo configure:20024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20025 eval "ac_cv_func_$ac_func=yes"
20027 echo "configure: failed program was:" >&5
20028 cat conftest.$ac_ext >&5
20030 eval "ac_cv_func_$ac_func=no"
20035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20036 echo "$ac_t""yes" 1>&6
20037 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20038 cat >> confdefs.h <<EOF
20039 #define $ac_tr_func 1
20043 echo "$ac_t""no" 1>&6
20050 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20051 echo "configure:20052: checking for _float round functions" >&5
20052 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20053 echo $ac_n "(cached) $ac_c" 1>&6
20058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20059 ac_cpp='$CXXCPP $CPPFLAGS'
20060 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20061 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20062 cross_compiling=$ac_cv_prog_cxx_cross
20064 cat > conftest.$ac_ext <<EOF
20065 #line 20066 "configure"
20066 #include "confdefs.h"
20069 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20072 if { (eval echo configure:20073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20074 glibcpp_cv_func__float_round_use=yes
20076 echo "configure: failed program was:" >&5
20077 cat conftest.$ac_ext >&5
20079 glibcpp_cv_func__float_round_use=no
20083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20084 ac_cpp='$CPP $CPPFLAGS'
20085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20087 cross_compiling=$ac_cv_prog_cc_cross
20091 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20092 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20093 for ac_func in _ceilf _floorf
20095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20096 echo "configure:20097: checking for $ac_func" >&5
20097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20098 echo $ac_n "(cached) $ac_c" 1>&6
20100 cat > conftest.$ac_ext <<EOF
20101 #line 20102 "configure"
20102 #include "confdefs.h"
20103 /* System header to define __stub macros and hopefully few prototypes,
20104 which can conflict with char $ac_func(); below. */
20105 #include <assert.h>
20106 /* Override any gcc2 internal prototype to avoid an error. */
20107 /* We use char because int might match the return type of a gcc2
20108 builtin and then its argument prototype would still apply. */
20113 /* The GNU C library defines this for functions which it implements
20114 to always fail with ENOSYS. Some functions are actually named
20115 something starting with __ and the normal name is an alias. */
20116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20124 if { (eval echo configure:20125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20126 eval "ac_cv_func_$ac_func=yes"
20128 echo "configure: failed program was:" >&5
20129 cat conftest.$ac_ext >&5
20131 eval "ac_cv_func_$ac_func=no"
20136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20137 echo "$ac_t""yes" 1>&6
20138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20139 cat >> confdefs.h <<EOF
20140 #define $ac_tr_func 1
20144 echo "$ac_t""no" 1>&6
20152 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20153 echo "configure:20154: checking for _long double trig functions" >&5
20154 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20155 echo $ac_n "(cached) $ac_c" 1>&6
20160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20164 cross_compiling=$ac_cv_prog_cxx_cross
20166 cat > conftest.$ac_ext <<EOF
20167 #line 20168 "configure"
20168 #include "confdefs.h"
20171 `for x in _acosl _asinl _atanl \
20172 _cosl _sinl _tanl \
20173 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20176 if { (eval echo configure:20177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20178 glibcpp_cv_func__long_double_trig_use=yes
20180 echo "configure: failed program was:" >&5
20181 cat conftest.$ac_ext >&5
20183 glibcpp_cv_func__long_double_trig_use=no
20187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20188 ac_cpp='$CPP $CPPFLAGS'
20189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20191 cross_compiling=$ac_cv_prog_cc_cross
20195 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20196 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20197 for ac_func in _acosl _asinl _atanl \
20198 _cosl _sinl _tanl \
20199 _coshl _sinhl _tanhl
20201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20202 echo "configure:20203: checking for $ac_func" >&5
20203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20204 echo $ac_n "(cached) $ac_c" 1>&6
20206 cat > conftest.$ac_ext <<EOF
20207 #line 20208 "configure"
20208 #include "confdefs.h"
20209 /* System header to define __stub macros and hopefully few prototypes,
20210 which can conflict with char $ac_func(); below. */
20211 #include <assert.h>
20212 /* Override any gcc2 internal prototype to avoid an error. */
20213 /* We use char because int might match the return type of a gcc2
20214 builtin and then its argument prototype would still apply. */
20219 /* The GNU C library defines this for functions which it implements
20220 to always fail with ENOSYS. Some functions are actually named
20221 something starting with __ and the normal name is an alias. */
20222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20230 if { (eval echo configure:20231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20232 eval "ac_cv_func_$ac_func=yes"
20234 echo "configure: failed program was:" >&5
20235 cat conftest.$ac_ext >&5
20237 eval "ac_cv_func_$ac_func=no"
20242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20243 echo "$ac_t""yes" 1>&6
20244 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20245 cat >> confdefs.h <<EOF
20246 #define $ac_tr_func 1
20250 echo "$ac_t""no" 1>&6
20257 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20258 echo "configure:20259: checking for _long double round functions" >&5
20259 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20260 echo $ac_n "(cached) $ac_c" 1>&6
20265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20266 ac_cpp='$CXXCPP $CPPFLAGS'
20267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20269 cross_compiling=$ac_cv_prog_cxx_cross
20271 cat > conftest.$ac_ext <<EOF
20272 #line 20273 "configure"
20273 #include "confdefs.h"
20276 `for x in _ceill _floorl; do echo "$x (0);"; done`
20279 if { (eval echo configure:20280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20281 glibcpp_cv_func__long_double_round_use=yes
20283 echo "configure: failed program was:" >&5
20284 cat conftest.$ac_ext >&5
20286 glibcpp_cv_func__long_double_round_use=no
20290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20291 ac_cpp='$CPP $CPPFLAGS'
20292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20294 cross_compiling=$ac_cv_prog_cc_cross
20298 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20299 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20300 for ac_func in _ceill _floorl
20302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20303 echo "configure:20304: checking for $ac_func" >&5
20304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20305 echo $ac_n "(cached) $ac_c" 1>&6
20307 cat > conftest.$ac_ext <<EOF
20308 #line 20309 "configure"
20309 #include "confdefs.h"
20310 /* System header to define __stub macros and hopefully few prototypes,
20311 which can conflict with char $ac_func(); below. */
20312 #include <assert.h>
20313 /* Override any gcc2 internal prototype to avoid an error. */
20314 /* We use char because int might match the return type of a gcc2
20315 builtin and then its argument prototype would still apply. */
20320 /* The GNU C library defines this for functions which it implements
20321 to always fail with ENOSYS. Some functions are actually named
20322 something starting with __ and the normal name is an alias. */
20323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20331 if { (eval echo configure:20332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20333 eval "ac_cv_func_$ac_func=yes"
20335 echo "configure: failed program was:" >&5
20336 cat conftest.$ac_ext >&5
20338 eval "ac_cv_func_$ac_func=no"
20343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20344 echo "$ac_t""yes" 1>&6
20345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20346 cat >> confdefs.h <<EOF
20347 #define $ac_tr_func 1
20351 echo "$ac_t""no" 1>&6
20358 LIBS="$ac_save_LIBS"
20359 CXXFLAGS="$ac_save_CXXFLAGS"
20362 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20363 echo "configure:20364: checking for main in -lm" >&5
20364 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20365 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20366 echo $ac_n "(cached) $ac_c" 1>&6
20368 ac_save_LIBS="$LIBS"
20370 cat > conftest.$ac_ext <<EOF
20371 #line 20372 "configure"
20372 #include "confdefs.h"
20378 if { (eval echo configure:20379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20380 eval "ac_cv_lib_$ac_lib_var=yes"
20382 echo "configure: failed program was:" >&5
20383 cat conftest.$ac_ext >&5
20385 eval "ac_cv_lib_$ac_lib_var=no"
20388 LIBS="$ac_save_LIBS"
20391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20392 echo "$ac_t""yes" 1>&6
20393 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20394 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20395 cat >> confdefs.h <<EOF
20396 #define $ac_tr_lib 1
20402 echo "$ac_t""no" 1>&6
20405 for ac_func in nan copysignf
20407 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20408 echo "configure:20409: checking for $ac_func" >&5
20409 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20410 echo $ac_n "(cached) $ac_c" 1>&6
20412 cat > conftest.$ac_ext <<EOF
20413 #line 20414 "configure"
20414 #include "confdefs.h"
20415 /* System header to define __stub macros and hopefully few prototypes,
20416 which can conflict with char $ac_func(); below. */
20417 #include <assert.h>
20418 /* Override any gcc2 internal prototype to avoid an error. */
20419 /* We use char because int might match the return type of a gcc2
20420 builtin and then its argument prototype would still apply. */
20425 /* The GNU C library defines this for functions which it implements
20426 to always fail with ENOSYS. Some functions are actually named
20427 something starting with __ and the normal name is an alias. */
20428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20436 if { (eval echo configure:20437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20438 eval "ac_cv_func_$ac_func=yes"
20440 echo "configure: failed program was:" >&5
20441 cat conftest.$ac_ext >&5
20443 eval "ac_cv_func_$ac_func=no"
20448 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20449 echo "$ac_t""yes" 1>&6
20450 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20451 cat >> confdefs.h <<EOF
20452 #define $ac_tr_func 1
20456 echo "$ac_t""no" 1>&6
20457 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20462 for ac_func in __signbit
20464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20465 echo "configure:20466: checking for $ac_func" >&5
20466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20467 echo $ac_n "(cached) $ac_c" 1>&6
20469 cat > conftest.$ac_ext <<EOF
20470 #line 20471 "configure"
20471 #include "confdefs.h"
20472 /* System header to define __stub macros and hopefully few prototypes,
20473 which can conflict with char $ac_func(); below. */
20474 #include <assert.h>
20475 /* Override any gcc2 internal prototype to avoid an error. */
20476 /* We use char because int might match the return type of a gcc2
20477 builtin and then its argument prototype would still apply. */
20482 /* The GNU C library defines this for functions which it implements
20483 to always fail with ENOSYS. Some functions are actually named
20484 something starting with __ and the normal name is an alias. */
20485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20493 if { (eval echo configure:20494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20495 eval "ac_cv_func_$ac_func=yes"
20497 echo "configure: failed program was:" >&5
20498 cat conftest.$ac_ext >&5
20500 eval "ac_cv_func_$ac_func=no"
20505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20506 echo "$ac_t""yes" 1>&6
20507 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20508 cat >> confdefs.h <<EOF
20509 #define $ac_tr_func 1
20513 echo "$ac_t""no" 1>&6
20514 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20518 for ac_func in __signbitf
20520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20521 echo "configure:20522: checking for $ac_func" >&5
20522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20523 echo $ac_n "(cached) $ac_c" 1>&6
20525 cat > conftest.$ac_ext <<EOF
20526 #line 20527 "configure"
20527 #include "confdefs.h"
20528 /* System header to define __stub macros and hopefully few prototypes,
20529 which can conflict with char $ac_func(); below. */
20530 #include <assert.h>
20531 /* Override any gcc2 internal prototype to avoid an error. */
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20538 /* The GNU C library defines this for functions which it implements
20539 to always fail with ENOSYS. Some functions are actually named
20540 something starting with __ and the normal name is an alias. */
20541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20549 if { (eval echo configure:20550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20551 eval "ac_cv_func_$ac_func=yes"
20553 echo "configure: failed program was:" >&5
20554 cat conftest.$ac_ext >&5
20556 eval "ac_cv_func_$ac_func=no"
20561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20562 echo "$ac_t""yes" 1>&6
20563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20564 cat >> confdefs.h <<EOF
20565 #define $ac_tr_func 1
20569 echo "$ac_t""no" 1>&6
20570 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20575 if test x$ac_cv_func_copysignl = x"yes"; then
20576 for ac_func in __signbitl
20578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20579 echo "configure:20580: checking for $ac_func" >&5
20580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20581 echo $ac_n "(cached) $ac_c" 1>&6
20583 cat > conftest.$ac_ext <<EOF
20584 #line 20585 "configure"
20585 #include "confdefs.h"
20586 /* System header to define __stub macros and hopefully few prototypes,
20587 which can conflict with char $ac_func(); below. */
20588 #include <assert.h>
20589 /* Override any gcc2 internal prototype to avoid an error. */
20590 /* We use char because int might match the return type of a gcc2
20591 builtin and then its argument prototype would still apply. */
20596 /* The GNU C library defines this for functions which it implements
20597 to always fail with ENOSYS. Some functions are actually named
20598 something starting with __ and the normal name is an alias. */
20599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20607 if { (eval echo configure:20608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20609 eval "ac_cv_func_$ac_func=yes"
20611 echo "configure: failed program was:" >&5
20612 cat conftest.$ac_ext >&5
20614 eval "ac_cv_func_$ac_func=no"
20619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20620 echo "$ac_t""yes" 1>&6
20621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20622 cat >> confdefs.h <<EOF
20623 #define $ac_tr_func 1
20627 echo "$ac_t""no" 1>&6
20628 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20638 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20639 echo "configure:20640: checking for mbstate_t" >&5
20640 cat > conftest.$ac_ext <<EOF
20641 #line 20642 "configure"
20642 #include "confdefs.h"
20645 mbstate_t teststate;
20648 if { (eval echo configure:20649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20652 echo "configure: failed program was:" >&5
20653 cat conftest.$ac_ext >&5
20658 echo "$ac_t""$have_mbstate_t" 1>&6
20659 if test x"$have_mbstate_t" = xyes; then
20660 cat >> confdefs.h <<\EOF
20661 #define HAVE_MBSTATE_T 1
20666 for ac_hdr in wchar.h
20668 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20669 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20670 echo "configure:20671: checking for $ac_hdr" >&5
20671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20672 echo $ac_n "(cached) $ac_c" 1>&6
20674 cat > conftest.$ac_ext <<EOF
20675 #line 20676 "configure"
20676 #include "confdefs.h"
20679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20680 { (eval echo configure:20681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20682 if test -z "$ac_err"; then
20684 eval "ac_cv_header_$ac_safe=yes"
20687 echo "configure: failed program was:" >&5
20688 cat conftest.$ac_ext >&5
20690 eval "ac_cv_header_$ac_safe=no"
20694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20695 echo "$ac_t""yes" 1>&6
20696 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20697 cat >> confdefs.h <<EOF
20698 #define $ac_tr_hdr 1
20702 echo "$ac_t""no" 1>&6
20707 for ac_hdr in wctype.h
20709 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20710 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20711 echo "configure:20712: checking for $ac_hdr" >&5
20712 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20713 echo $ac_n "(cached) $ac_c" 1>&6
20715 cat > conftest.$ac_ext <<EOF
20716 #line 20717 "configure"
20717 #include "confdefs.h"
20720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20721 { (eval echo configure:20722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20722 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20723 if test -z "$ac_err"; then
20725 eval "ac_cv_header_$ac_safe=yes"
20728 echo "configure: failed program was:" >&5
20729 cat conftest.$ac_ext >&5
20731 eval "ac_cv_header_$ac_safe=no"
20735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20736 echo "$ac_t""yes" 1>&6
20737 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20738 cat >> confdefs.h <<EOF
20739 #define $ac_tr_hdr 1
20741 ac_has_wctype_h=yes
20743 echo "$ac_t""no" 1>&6
20749 if test x"$ac_has_wchar_h" = xyes &&
20750 test x"$ac_has_wctype_h" = xyes &&
20751 test x"$enable_c_mbchar" != xno; then
20753 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20754 echo "configure:20755: checking for WCHAR_MIN and WCHAR_MAX" >&5
20755 cat > conftest.$ac_ext <<EOF
20756 #line 20757 "configure"
20757 #include "confdefs.h"
20760 int i = WCHAR_MIN; int j = WCHAR_MAX;
20763 if { (eval echo configure:20764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20765 has_wchar_minmax=yes
20767 echo "configure: failed program was:" >&5
20768 cat conftest.$ac_ext >&5
20770 has_wchar_minmax=no
20773 echo "$ac_t""$has_wchar_minmax" 1>&6
20775 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20776 echo "configure:20777: checking for WEOF" >&5
20777 cat > conftest.$ac_ext <<EOF
20778 #line 20779 "configure"
20779 #include "confdefs.h"
20782 #include <stddef.h>
20787 if { (eval echo configure:20788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20791 echo "configure: failed program was:" >&5
20792 cat conftest.$ac_ext >&5
20797 echo "$ac_t""$has_weof" 1>&6
20800 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20803 echo "configure:20804: checking for $ac_func" >&5
20804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20805 echo $ac_n "(cached) $ac_c" 1>&6
20807 cat > conftest.$ac_ext <<EOF
20808 #line 20809 "configure"
20809 #include "confdefs.h"
20810 /* System header to define __stub macros and hopefully few prototypes,
20811 which can conflict with char $ac_func(); below. */
20812 #include <assert.h>
20813 /* Override any gcc2 internal prototype to avoid an error. */
20814 /* We use char because int might match the return type of a gcc2
20815 builtin and then its argument prototype would still apply. */
20820 /* The GNU C library defines this for functions which it implements
20821 to always fail with ENOSYS. Some functions are actually named
20822 something starting with __ and the normal name is an alias. */
20823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20831 if { (eval echo configure:20832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20833 eval "ac_cv_func_$ac_func=yes"
20835 echo "configure: failed program was:" >&5
20836 cat conftest.$ac_ext >&5
20838 eval "ac_cv_func_$ac_func=no"
20843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20844 echo "$ac_t""yes" 1>&6
20845 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20846 cat >> confdefs.h <<EOF
20847 #define $ac_tr_func 1
20851 echo "$ac_t""no" 1>&6
20858 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20859 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20860 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20861 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20862 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20863 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20866 echo "configure:20867: checking for $ac_func" >&5
20867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20868 echo $ac_n "(cached) $ac_c" 1>&6
20870 cat > conftest.$ac_ext <<EOF
20871 #line 20872 "configure"
20872 #include "confdefs.h"
20873 /* System header to define __stub macros and hopefully few prototypes,
20874 which can conflict with char $ac_func(); below. */
20875 #include <assert.h>
20876 /* Override any gcc2 internal prototype to avoid an error. */
20877 /* We use char because int might match the return type of a gcc2
20878 builtin and then its argument prototype would still apply. */
20883 /* The GNU C library defines this for functions which it implements
20884 to always fail with ENOSYS. Some functions are actually named
20885 something starting with __ and the normal name is an alias. */
20886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20894 if { (eval echo configure:20895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20896 eval "ac_cv_func_$ac_func=yes"
20898 echo "configure: failed program was:" >&5
20899 cat conftest.$ac_ext >&5
20901 eval "ac_cv_func_$ac_func=no"
20906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20907 echo "$ac_t""yes" 1>&6
20908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20909 cat >> confdefs.h <<EOF
20910 #define $ac_tr_func 1
20914 echo "$ac_t""no" 1>&6
20921 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20922 echo "configure:20923: checking for ISO C99 wchar_t support" >&5
20923 if test x"$has_weof" = xyes &&
20924 test x"$has_wchar_minmax" = xyes &&
20925 test x"$ac_wfuncs" = xyes; then
20926 ac_isoC99_wchar_t=yes
20928 ac_isoC99_wchar_t=no
20930 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20932 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20933 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20934 echo "configure:20935: checking for iconv.h" >&5
20935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20936 echo $ac_n "(cached) $ac_c" 1>&6
20938 cat > conftest.$ac_ext <<EOF
20939 #line 20940 "configure"
20940 #include "confdefs.h"
20943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20944 { (eval echo configure:20945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20946 if test -z "$ac_err"; then
20948 eval "ac_cv_header_$ac_safe=yes"
20951 echo "configure: failed program was:" >&5
20952 cat conftest.$ac_ext >&5
20954 eval "ac_cv_header_$ac_safe=no"
20958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20959 echo "$ac_t""yes" 1>&6
20962 echo "$ac_t""no" 1>&6
20966 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20967 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20968 echo "configure:20969: checking for langinfo.h" >&5
20969 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20970 echo $ac_n "(cached) $ac_c" 1>&6
20972 cat > conftest.$ac_ext <<EOF
20973 #line 20974 "configure"
20974 #include "confdefs.h"
20975 #include <langinfo.h>
20977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20978 { (eval echo configure:20979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20980 if test -z "$ac_err"; then
20982 eval "ac_cv_header_$ac_safe=yes"
20985 echo "configure: failed program was:" >&5
20986 cat conftest.$ac_ext >&5
20988 eval "ac_cv_header_$ac_safe=no"
20992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20993 echo "$ac_t""yes" 1>&6
20994 ac_has_langinfo_h=yes
20996 echo "$ac_t""no" 1>&6
20997 ac_has_langinfo_h=no
21001 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21002 echo "configure:21003: checking for iconv in -liconv" >&5
21003 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21005 echo $ac_n "(cached) $ac_c" 1>&6
21007 ac_save_LIBS="$LIBS"
21008 LIBS="-liconv $LIBS"
21009 cat > conftest.$ac_ext <<EOF
21010 #line 21011 "configure"
21011 #include "confdefs.h"
21012 /* Override any gcc2 internal prototype to avoid an error. */
21013 /* We use char because int might match the return type of a gcc2
21014 builtin and then its argument prototype would still apply. */
21021 if { (eval echo configure:21022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21023 eval "ac_cv_lib_$ac_lib_var=yes"
21025 echo "configure: failed program was:" >&5
21026 cat conftest.$ac_ext >&5
21028 eval "ac_cv_lib_$ac_lib_var=no"
21031 LIBS="$ac_save_LIBS"
21034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21035 echo "$ac_t""yes" 1>&6
21038 echo "$ac_t""no" 1>&6
21041 ac_save_LIBS="$LIBS"
21042 LIBS="$LIBS $libiconv"
21044 for ac_func in iconv_open iconv_close iconv nl_langinfo
21046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21047 echo "configure:21048: checking for $ac_func" >&5
21048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21049 echo $ac_n "(cached) $ac_c" 1>&6
21051 cat > conftest.$ac_ext <<EOF
21052 #line 21053 "configure"
21053 #include "confdefs.h"
21054 /* System header to define __stub macros and hopefully few prototypes,
21055 which can conflict with char $ac_func(); below. */
21056 #include <assert.h>
21057 /* Override any gcc2 internal prototype to avoid an error. */
21058 /* We use char because int might match the return type of a gcc2
21059 builtin and then its argument prototype would still apply. */
21064 /* The GNU C library defines this for functions which it implements
21065 to always fail with ENOSYS. Some functions are actually named
21066 something starting with __ and the normal name is an alias. */
21067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21075 if { (eval echo configure:21076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21077 eval "ac_cv_func_$ac_func=yes"
21079 echo "configure: failed program was:" >&5
21080 cat conftest.$ac_ext >&5
21082 eval "ac_cv_func_$ac_func=no"
21087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21088 echo "$ac_t""yes" 1>&6
21089 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21090 cat >> confdefs.h <<EOF
21091 #define $ac_tr_func 1
21096 echo "$ac_t""no" 1>&6
21102 LIBS="$ac_save_LIBS"
21104 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21105 echo "configure:21106: checking for XPG2 wchar_t support" >&5
21106 if test x"$ac_has_iconv_h" = xyes &&
21107 test x"$ac_has_langinfo_h" = xyes &&
21108 test x"$ac_XPG2funcs" = xyes; then
21109 ac_XPG2_wchar_t=yes
21113 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21115 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21116 echo "configure:21117: checking for enabled wchar_t specializations" >&5
21117 if test x"$ac_isoC99_wchar_t" = xyes &&
21118 test x"$ac_XPG2_wchar_t" = xyes; then
21119 cat >> confdefs.h <<\EOF
21120 #define _GLIBCPP_USE_WCHAR_T 1
21123 echo "$ac_t"""yes"" 1>&6
21125 echo "$ac_t"""no"" 1>&6
21128 echo "configure: warning: wchar_t support disabled." 1>&2
21132 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21133 ac_save_CXXFLAGS="$CXXFLAGS"
21134 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21137 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21138 echo "configure:21139: checking for strtold declaration" >&5
21139 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21140 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21141 echo $ac_n "(cached) $ac_c" 1>&6
21146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21147 ac_cpp='$CXXCPP $CPPFLAGS'
21148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21150 cross_compiling=$ac_cv_prog_cxx_cross
21152 cat > conftest.$ac_ext <<EOF
21153 #line 21154 "configure"
21154 #include "confdefs.h"
21155 #include <stdlib.h>
21160 if { (eval echo configure:21161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21162 glibcpp_cv_func_strtold_use=yes
21164 echo "configure: failed program was:" >&5
21165 cat conftest.$ac_ext >&5
21167 glibcpp_cv_func_strtold_use=no
21171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21172 ac_cpp='$CPP $CPPFLAGS'
21173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21175 cross_compiling=$ac_cv_prog_cc_cross
21181 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21182 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21183 for ac_func in strtold
21185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21186 echo "configure:21187: checking for $ac_func" >&5
21187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21188 echo $ac_n "(cached) $ac_c" 1>&6
21190 cat > conftest.$ac_ext <<EOF
21191 #line 21192 "configure"
21192 #include "confdefs.h"
21193 /* System header to define __stub macros and hopefully few prototypes,
21194 which can conflict with char $ac_func(); below. */
21195 #include <assert.h>
21196 /* Override any gcc2 internal prototype to avoid an error. */
21197 /* We use char because int might match the return type of a gcc2
21198 builtin and then its argument prototype would still apply. */
21203 /* The GNU C library defines this for functions which it implements
21204 to always fail with ENOSYS. Some functions are actually named
21205 something starting with __ and the normal name is an alias. */
21206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21214 if { (eval echo configure:21215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21216 eval "ac_cv_func_$ac_func=yes"
21218 echo "configure: failed program was:" >&5
21219 cat conftest.$ac_ext >&5
21221 eval "ac_cv_func_$ac_func=no"
21226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21227 echo "$ac_t""yes" 1>&6
21228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21229 cat >> confdefs.h <<EOF
21230 #define $ac_tr_func 1
21234 echo "$ac_t""no" 1>&6
21241 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21242 echo "configure:21243: checking for strtof declaration" >&5
21243 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21244 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21245 echo $ac_n "(cached) $ac_c" 1>&6
21250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21254 cross_compiling=$ac_cv_prog_cxx_cross
21256 cat > conftest.$ac_ext <<EOF
21257 #line 21258 "configure"
21258 #include "confdefs.h"
21259 #include <stdlib.h>
21264 if { (eval echo configure:21265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21266 glibcpp_cv_func_strtof_use=yes
21268 echo "configure: failed program was:" >&5
21269 cat conftest.$ac_ext >&5
21271 glibcpp_cv_func_strtof_use=no
21275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21276 ac_cpp='$CPP $CPPFLAGS'
21277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21279 cross_compiling=$ac_cv_prog_cc_cross
21285 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21286 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21287 for ac_func in strtof
21289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21290 echo "configure:21291: checking for $ac_func" >&5
21291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21292 echo $ac_n "(cached) $ac_c" 1>&6
21294 cat > conftest.$ac_ext <<EOF
21295 #line 21296 "configure"
21296 #include "confdefs.h"
21297 /* System header to define __stub macros and hopefully few prototypes,
21298 which can conflict with char $ac_func(); below. */
21299 #include <assert.h>
21300 /* Override any gcc2 internal prototype to avoid an error. */
21301 /* We use char because int might match the return type of a gcc2
21302 builtin and then its argument prototype would still apply. */
21307 /* The GNU C library defines this for functions which it implements
21308 to always fail with ENOSYS. Some functions are actually named
21309 something starting with __ and the normal name is an alias. */
21310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21318 if { (eval echo configure:21319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21320 eval "ac_cv_func_$ac_func=yes"
21322 echo "configure: failed program was:" >&5
21323 cat conftest.$ac_ext >&5
21325 eval "ac_cv_func_$ac_func=no"
21330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21331 echo "$ac_t""yes" 1>&6
21332 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21333 cat >> confdefs.h <<EOF
21334 #define $ac_tr_func 1
21338 echo "$ac_t""no" 1>&6
21344 for ac_func in drand48
21346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21347 echo "configure:21348: checking for $ac_func" >&5
21348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21349 echo $ac_n "(cached) $ac_c" 1>&6
21351 cat > conftest.$ac_ext <<EOF
21352 #line 21353 "configure"
21353 #include "confdefs.h"
21354 /* System header to define __stub macros and hopefully few prototypes,
21355 which can conflict with char $ac_func(); below. */
21356 #include <assert.h>
21357 /* Override any gcc2 internal prototype to avoid an error. */
21358 /* We use char because int might match the return type of a gcc2
21359 builtin and then its argument prototype would still apply. */
21364 /* The GNU C library defines this for functions which it implements
21365 to always fail with ENOSYS. Some functions are actually named
21366 something starting with __ and the normal name is an alias. */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21375 if { (eval echo configure:21376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21377 eval "ac_cv_func_$ac_func=yes"
21379 echo "configure: failed program was:" >&5
21380 cat conftest.$ac_ext >&5
21382 eval "ac_cv_func_$ac_func=no"
21387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21388 echo "$ac_t""yes" 1>&6
21389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21390 cat >> confdefs.h <<EOF
21391 #define $ac_tr_func 1
21395 echo "$ac_t""no" 1>&6
21400 CXXFLAGS="$ac_save_CXXFLAGS"
21403 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21404 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21405 echo "configure:21406: checking for locale.h" >&5
21406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21407 echo $ac_n "(cached) $ac_c" 1>&6
21409 cat > conftest.$ac_ext <<EOF
21410 #line 21411 "configure"
21411 #include "confdefs.h"
21412 #include <locale.h>
21414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21415 { (eval echo configure:21416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21417 if test -z "$ac_err"; then
21419 eval "ac_cv_header_$ac_safe=yes"
21422 echo "configure: failed program was:" >&5
21423 cat conftest.$ac_ext >&5
21425 eval "ac_cv_header_$ac_safe=no"
21429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21430 echo "$ac_t""yes" 1>&6
21432 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21433 echo "configure:21434: checking for LC_MESSAGES" >&5
21434 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21435 echo $ac_n "(cached) $ac_c" 1>&6
21437 cat > conftest.$ac_ext <<EOF
21438 #line 21439 "configure"
21439 #include "confdefs.h"
21440 #include <locale.h>
21445 if { (eval echo configure:21446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21447 ac_cv_val_LC_MESSAGES=yes
21449 echo "configure: failed program was:" >&5
21450 cat conftest.$ac_ext >&5
21452 ac_cv_val_LC_MESSAGES=no
21457 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21458 if test $ac_cv_val_LC_MESSAGES = yes; then
21459 cat >> confdefs.h <<\EOF
21460 #define HAVE_LC_MESSAGES 1
21466 echo "$ac_t""no" 1>&6
21471 cat > conftest.$ac_ext <<EOF
21472 #line 21473 "configure"
21473 #include "confdefs.h"
21475 #include <setjmp.h>
21478 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21481 if { (eval echo configure:21482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21483 cat >> confdefs.h <<\EOF
21484 #define HAVE_SIGSETJMP 1
21489 echo "configure: failed program was:" >&5
21490 cat conftest.$ac_ext >&5
21494 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21498 echo "configure:21499: checking for $ac_hdr" >&5
21499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21500 echo $ac_n "(cached) $ac_c" 1>&6
21502 cat > conftest.$ac_ext <<EOF
21503 #line 21504 "configure"
21504 #include "confdefs.h"
21507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21508 { (eval echo configure:21509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21510 if test -z "$ac_err"; then
21512 eval "ac_cv_header_$ac_safe=yes"
21515 echo "configure: failed program was:" >&5
21516 cat conftest.$ac_ext >&5
21518 eval "ac_cv_header_$ac_safe=no"
21522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21523 echo "$ac_t""yes" 1>&6
21524 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21525 cat >> confdefs.h <<EOF
21526 #define $ac_tr_hdr 1
21530 echo "$ac_t""no" 1>&6
21534 for ac_func in getpagesize
21536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21537 echo "configure:21538: checking for $ac_func" >&5
21538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21539 echo $ac_n "(cached) $ac_c" 1>&6
21541 cat > conftest.$ac_ext <<EOF
21542 #line 21543 "configure"
21543 #include "confdefs.h"
21544 /* System header to define __stub macros and hopefully few prototypes,
21545 which can conflict with char $ac_func(); below. */
21546 #include <assert.h>
21547 /* Override any gcc2 internal prototype to avoid an error. */
21548 /* We use char because int might match the return type of a gcc2
21549 builtin and then its argument prototype would still apply. */
21554 /* The GNU C library defines this for functions which it implements
21555 to always fail with ENOSYS. Some functions are actually named
21556 something starting with __ and the normal name is an alias. */
21557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21565 if { (eval echo configure:21566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21567 eval "ac_cv_func_$ac_func=yes"
21569 echo "configure: failed program was:" >&5
21570 cat conftest.$ac_ext >&5
21572 eval "ac_cv_func_$ac_func=no"
21577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21578 echo "$ac_t""yes" 1>&6
21579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21580 cat >> confdefs.h <<EOF
21581 #define $ac_tr_func 1
21585 echo "$ac_t""no" 1>&6
21589 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21590 echo "configure:21591: checking for working mmap" >&5
21591 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21592 echo $ac_n "(cached) $ac_c" 1>&6
21594 if test "$cross_compiling" = yes; then
21595 ac_cv_func_mmap_fixed_mapped=no
21597 cat > conftest.$ac_ext <<EOF
21598 #line 21599 "configure"
21599 #include "confdefs.h"
21601 /* Thanks to Mike Haertel and Jim Avera for this test.
21602 Here is a matrix of mmap possibilities:
21603 mmap private not fixed
21604 mmap private fixed at somewhere currently unmapped
21605 mmap private fixed at somewhere already mapped
21606 mmap shared not fixed
21607 mmap shared fixed at somewhere currently unmapped
21608 mmap shared fixed at somewhere already mapped
21609 For private mappings, we should verify that changes cannot be read()
21610 back from the file, nor mmap's back from the file at a different
21611 address. (There have been systems where private was not correctly
21612 implemented like the infamous i386 svr4.0, and systems where the
21613 VM page cache was not coherent with the filesystem buffer cache
21614 like early versions of FreeBSD and possibly contemporary NetBSD.)
21615 For shared mappings, we should conversely verify that changes get
21616 propogated back to all the places they're supposed to be.
21618 Grep wants private fixed already mapped.
21619 The main things grep needs to know about mmap are:
21620 * does it exist and is it safe to write into the mmap'd area
21621 * how to use it (BSD variants) */
21622 #include <sys/types.h>
21624 #include <sys/mman.h>
21626 #if HAVE_SYS_TYPES_H
21627 # include <sys/types.h>
21631 # include <stdlib.h>
21634 #if HAVE_SYS_STAT_H
21635 # include <sys/stat.h>
21639 # include <unistd.h>
21642 /* This mess was copied from the GNU getpagesize.h. */
21643 #ifndef HAVE_GETPAGESIZE
21645 /* Assume that all systems that can run configure have sys/param.h. */
21646 # ifndef HAVE_SYS_PARAM_H
21647 # define HAVE_SYS_PARAM_H 1
21650 # ifdef _SC_PAGESIZE
21651 # define getpagesize() sysconf(_SC_PAGESIZE)
21652 # else /* no _SC_PAGESIZE */
21653 # ifdef HAVE_SYS_PARAM_H
21654 # include <sys/param.h>
21655 # ifdef EXEC_PAGESIZE
21656 # define getpagesize() EXEC_PAGESIZE
21657 # else /* no EXEC_PAGESIZE */
21659 # define getpagesize() NBPG * CLSIZE
21662 # endif /* no CLSIZE */
21663 # else /* no NBPG */
21665 # define getpagesize() NBPC
21666 # else /* no NBPC */
21668 # define getpagesize() PAGESIZE
21669 # endif /* PAGESIZE */
21670 # endif /* no NBPC */
21671 # endif /* no NBPG */
21672 # endif /* no EXEC_PAGESIZE */
21673 # else /* no HAVE_SYS_PARAM_H */
21674 # define getpagesize() 8192 /* punt totally */
21675 # endif /* no HAVE_SYS_PARAM_H */
21676 # endif /* no _SC_PAGESIZE */
21678 #endif /* no HAVE_GETPAGESIZE */
21681 extern "C" { void *malloc(unsigned); }
21689 char *data, *data2, *data3;
21693 pagesize = getpagesize();
21696 * First, make a file with some known garbage in it.
21698 data = malloc(pagesize);
21701 for (i = 0; i < pagesize; ++i)
21702 *(data + i) = rand();
21704 fd = creat("conftestmmap", 0600);
21707 if (write(fd, data, pagesize) != pagesize)
21712 * Next, try to mmap the file at a fixed address which
21713 * already has something else allocated at it. If we can,
21714 * also make sure that we see the same garbage.
21716 fd = open("conftestmmap", O_RDWR);
21719 data2 = malloc(2 * pagesize);
21722 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21723 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21724 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21726 for (i = 0; i < pagesize; ++i)
21727 if (*(data + i) != *(data2 + i))
21731 * Finally, make sure that changes to the mapped area
21732 * do not percolate back to the file as seen by read().
21733 * (This is a bug on some variants of i386 svr4.0.)
21735 for (i = 0; i < pagesize; ++i)
21736 *(data2 + i) = *(data2 + i) + 1;
21737 data3 = malloc(pagesize);
21740 if (read(fd, data3, pagesize) != pagesize)
21742 for (i = 0; i < pagesize; ++i)
21743 if (*(data + i) != *(data3 + i))
21746 unlink("conftestmmap");
21751 if { (eval echo configure:21752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21753 ac_cv_func_mmap_fixed_mapped=yes
21755 echo "configure: failed program was:" >&5
21756 cat conftest.$ac_ext >&5
21758 ac_cv_func_mmap_fixed_mapped=no
21765 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21766 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21767 cat >> confdefs.h <<\EOF
21768 #define HAVE_MMAP 1
21774 # Establish limits on memory usage during 'make check'
21777 setrlimit_have_headers=yes
21778 for ac_hdr in unistd.h sys/time.h sys/resource.h
21780 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21782 echo "configure:21783: checking for $ac_hdr" >&5
21783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21784 echo $ac_n "(cached) $ac_c" 1>&6
21786 cat > conftest.$ac_ext <<EOF
21787 #line 21788 "configure"
21788 #include "confdefs.h"
21791 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21792 { (eval echo configure:21793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21793 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21794 if test -z "$ac_err"; then
21796 eval "ac_cv_header_$ac_safe=yes"
21799 echo "configure: failed program was:" >&5
21800 cat conftest.$ac_ext >&5
21802 eval "ac_cv_header_$ac_safe=no"
21806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21807 echo "$ac_t""yes" 1>&6
21808 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21809 cat >> confdefs.h <<EOF
21810 #define $ac_tr_hdr 1
21814 echo "$ac_t""no" 1>&6
21815 setrlimit_have_headers=no
21819 # If don't have the headers, then we can't run the tests now, and we
21820 # won't be seeing any of these during testsuite compilation.
21821 if test $setrlimit_have_headers = yes; then
21822 # Can't do these in a loop, else the resulting syntax is wrong.
21824 cat > conftest.$ac_ext <<EOF
21825 #line 21826 "configure"
21826 #include "confdefs.h"
21827 #include <unistd.h>
21828 #include <sys/time.h>
21829 #include <sys/resource.h>
21832 int f = RLIMIT_DATA ;
21835 if { (eval echo configure:21836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21839 echo "configure: failed program was:" >&5
21840 cat conftest.$ac_ext >&5
21845 cat >> confdefs.h <<EOF
21846 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21851 cat > conftest.$ac_ext <<EOF
21852 #line 21853 "configure"
21853 #include "confdefs.h"
21854 #include <unistd.h>
21855 #include <sys/time.h>
21856 #include <sys/resource.h>
21859 int f = RLIMIT_RSS ;
21862 if { (eval echo configure:21863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21866 echo "configure: failed program was:" >&5
21867 cat conftest.$ac_ext >&5
21872 cat >> confdefs.h <<EOF
21873 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21878 cat > conftest.$ac_ext <<EOF
21879 #line 21880 "configure"
21880 #include "confdefs.h"
21881 #include <unistd.h>
21882 #include <sys/time.h>
21883 #include <sys/resource.h>
21886 int f = RLIMIT_VMEM ;
21889 if { (eval echo configure:21890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21893 echo "configure: failed program was:" >&5
21894 cat conftest.$ac_ext >&5
21899 cat >> confdefs.h <<EOF
21900 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21905 cat > conftest.$ac_ext <<EOF
21906 #line 21907 "configure"
21907 #include "confdefs.h"
21908 #include <unistd.h>
21909 #include <sys/time.h>
21910 #include <sys/resource.h>
21913 int f = RLIMIT_AS ;
21916 if { (eval echo configure:21917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21920 echo "configure: failed program was:" >&5
21921 cat conftest.$ac_ext >&5
21926 cat >> confdefs.h <<EOF
21927 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21932 # Check for rlimit, setrlimit.
21933 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21934 echo $ac_n "(cached) $ac_c" 1>&6
21937 cat > conftest.$ac_ext <<EOF
21938 #line 21939 "configure"
21939 #include "confdefs.h"
21940 #include <unistd.h>
21941 #include <sys/time.h>
21942 #include <sys/resource.h>
21945 struct rlimit r; setrlimit(0, &r);
21948 if { (eval echo configure:21949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21952 echo "configure: failed program was:" >&5
21953 cat conftest.$ac_ext >&5
21963 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21964 echo "configure:21965: checking for testsuite memory limit support" >&5
21965 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21967 cat >> confdefs.h <<\EOF
21968 #define _GLIBCPP_MEM_LIMITS 1
21974 echo "$ac_t""$ac_mem_limits" 1>&6
21977 # Look for setenv, so that extended locale tests can be performed.
21979 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21980 echo "configure:21981: checking for setenv declaration" >&5
21981 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21982 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21983 echo $ac_n "(cached) $ac_c" 1>&6
21988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21989 ac_cpp='$CXXCPP $CPPFLAGS'
21990 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21991 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21992 cross_compiling=$ac_cv_prog_cxx_cross
21994 cat > conftest.$ac_ext <<EOF
21995 #line 21996 "configure"
21996 #include "confdefs.h"
21997 #include <stdlib.h>
22002 if { (eval echo configure:22003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22004 glibcpp_cv_func_setenv_use=yes
22006 echo "configure: failed program was:" >&5
22007 cat conftest.$ac_ext >&5
22009 glibcpp_cv_func_setenv_use=no
22013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22014 ac_cpp='$CPP $CPPFLAGS'
22015 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22016 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22017 cross_compiling=$ac_cv_prog_cc_cross
22023 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22024 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22025 for ac_func in setenv
22027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22028 echo "configure:22029: checking for $ac_func" >&5
22029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22030 echo $ac_n "(cached) $ac_c" 1>&6
22032 cat > conftest.$ac_ext <<EOF
22033 #line 22034 "configure"
22034 #include "confdefs.h"
22035 /* System header to define __stub macros and hopefully few prototypes,
22036 which can conflict with char $ac_func(); below. */
22037 #include <assert.h>
22038 /* Override any gcc2 internal prototype to avoid an error. */
22039 /* We use char because int might match the return type of a gcc2
22040 builtin and then its argument prototype would still apply. */
22045 /* The GNU C library defines this for functions which it implements
22046 to always fail with ENOSYS. Some functions are actually named
22047 something starting with __ and the normal name is an alias. */
22048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22056 if { (eval echo configure:22057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22058 eval "ac_cv_func_$ac_func=yes"
22060 echo "configure: failed program was:" >&5
22061 cat conftest.$ac_ext >&5
22063 eval "ac_cv_func_$ac_func=no"
22068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22069 echo "$ac_t""yes" 1>&6
22070 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22071 cat >> confdefs.h <<EOF
22072 #define $ac_tr_func 1
22076 echo "$ac_t""no" 1>&6
22085 # This depends on the possibly-skipped linker test above.
22086 # Check whether --enable-symvers or --disable-symvers was given.
22087 if test "${enable_symvers+set}" = set; then
22088 enableval="$enable_symvers"
22089 case "$enableval" in
22090 yes) enable_symvers=yes ;;
22091 no) enable_symvers=no ;;
22092 # other names here, just as sanity checks
22093 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22094 gnu) enable_symvers=$enableval ;;
22095 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22101 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22102 # don't know enough about $LD to do tricks...
22103 if test x$enable_shared = xno ||
22105 test x$glibcpp_gnu_ld_version = x; then
22109 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22110 if test $enable_symvers != no; then
22111 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22112 echo "configure:22113: checking for shared libgcc" >&5
22113 ac_save_CFLAGS="$CFLAGS"
22115 cat > conftest.$ac_ext <<EOF
22116 #line 22117 "configure"
22117 #include "confdefs.h"
22123 if { (eval echo configure:22124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22125 glibcpp_shared_libgcc=yes
22127 echo "configure: failed program was:" >&5
22128 cat conftest.$ac_ext >&5
22130 glibcpp_shared_libgcc=no
22133 CFLAGS="$ac_save_CFLAGS"
22134 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22137 # For GNU ld, we need at least this version. It's 2.12 in the same format
22138 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22139 glibcpp_min_gnu_ld_version=21200
22141 # Check to see if unspecified "yes" value can win, given results
22143 if test $enable_symvers = yes ; then
22144 if test $with_gnu_ld = yes &&
22145 test $glibcpp_shared_libgcc = yes ;
22147 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22150 ac_test_CFLAGS="${CFLAGS+set}"
22151 ac_save_CFLAGS="$CFLAGS"
22152 CFLAGS='-shared -Wl,--version-script,conftest.map'
22155 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22157 cat > conftest.$ac_ext <<EOF
22158 #line 22159 "configure"
22159 #include "confdefs.h"
22165 if { (eval echo configure:22166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22169 echo "configure: failed program was:" >&5
22170 cat conftest.$ac_ext >&5
22173 if test "$ac_test_CFLAGS" = set; then
22174 CFLAGS="$ac_save_CFLAGS"
22176 # this is the suspicious part
22182 # just fail for now
22187 case $enable_symvers in
22189 LINKER_MAP=config/linker-map.dummy
22192 LINKER_MAP=config/linker-map.gnu
22199 if test $enable_symvers != no; then
22200 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22201 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22203 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22204 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22206 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22207 echo "configure:22208: checking versioning on shared library symbols" >&5
22208 echo "$ac_t""$enable_symvers" 1>&6
22211 # Propagate the target-specific source directories through the build chain.
22212 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22213 # CPULIMITSH [might] use it, and they only get used here.)
22214 OS_INC_SRCDIR=config/${os_include_dir}
22215 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22216 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22221 # Set up cross-compile flags
22224 if test "$CANADIAN" = yes; then
22232 cat > confcache <<\EOF
22233 # This file is a shell script that caches the results of configure
22234 # tests run on this system so they can be shared between configure
22235 # scripts and configure runs. It is not useful on other systems.
22236 # If it contains results you don't want to keep, you may remove or edit it.
22238 # By default, configure uses ./config.cache as the cache file,
22239 # creating it if it does not exist already. You can give configure
22240 # the --cache-file=FILE option to use a different cache file; that is
22241 # what configure does when it calls configure scripts in
22242 # subdirectories, so they share the cache.
22243 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22244 # config.status only pays attention to the cache file if you give it the
22245 # --recheck option to rerun configure.
22248 # The following way of writing the cache mishandles newlines in values,
22249 # but we know of no workaround that is simple, portable, and efficient.
22250 # So, don't put newlines in cache variables' values.
22251 # Ultrix sh set writes to stderr and can't be redirected directly,
22252 # and sets the high bit in the cache file unless we assign to the vars.
22254 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22256 # `set' does not quote correctly, so add quotes (double-quote substitution
22257 # turns \\\\ into \\, and sed turns \\ into \).
22259 -e "s/'/'\\\\''/g" \
22260 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22263 # `set' quotes correctly as required by POSIX, so do not add quotes.
22264 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22267 if cmp -s $cache_file confcache; then
22270 if test -w $cache_file; then
22271 echo "updating cache $cache_file"
22272 cat confcache > $cache_file
22274 echo "not updating unwritable cache $cache_file"
22280 if test "${multilib}" = "yes"; then
22281 multilib_arg="--enable-multilib"
22286 # Export all the install information
22288 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22289 # exported correctly in GLIBCPP_CONFIGURE.
22290 glibcpp_toolexecdir=no
22291 glibcpp_toolexeclibdir=no
22292 glibcpp_prefixdir=${prefix}
22294 # Process the option --with-gxx-include-dir=<path to include-files directory>
22295 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22296 echo "configure:22297: checking for --with-gxx-include-dir" >&5
22297 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22298 if test "${with_gxx_include_dir+set}" = set; then
22299 withval="$with_gxx_include_dir"
22300 case "${withval}" in
22302 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22309 gxx_include_dir=${withval}
22316 echo "$ac_t""$gxx_include_dir" 1>&6
22318 # Process the option "--enable-version-specific-runtime-libs"
22319 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22320 echo "configure:22321: checking for --enable-version-specific-runtime-libs" >&5
22321 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22322 if test "${enable_version_specific_runtime_libs+set}" = set; then
22323 enableval="$enable_version_specific_runtime_libs"
22324 case "$enableval" in
22325 yes) version_specific_libs=yes ;;
22326 no) version_specific_libs=no ;;
22327 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22330 version_specific_libs=no
22332 # Option set, now we can test it.
22333 echo "$ac_t""$version_specific_libs" 1>&6
22335 # Default case for install directory for include files.
22336 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22337 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22340 # Version-specific runtime libs processing.
22341 if test $version_specific_libs = yes; then
22342 # Need the gcc compiler version to know where to install libraries
22343 # and header files if --enable-version-specific-runtime-libs option
22345 if test x"$gxx_include_dir" = x"no"; then
22346 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22348 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22349 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22352 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22353 # Install a library built with a cross compiler in tooldir, not libdir.
22354 if test x"$glibcpp_toolexecdir" = x"no"; then
22355 if test -n "$with_cross_host" &&
22356 test x"$with_cross_host" != x"no"; then
22357 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22358 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22360 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22361 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22365 echo $ac_n "checking for install location""... $ac_c" 1>&6
22366 echo "configure:22367: checking for install location" >&5
22367 echo "$ac_t""$gxx_include_dir" 1>&6
22375 # Export all the include and flag information to makefiles.
22377 # Root level of the build directory include sources.
22378 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22380 # Passed down for canadian crosses.
22381 if test x"$CANADIAN" = xyes; then
22382 TOPLEVEL_INCLUDES='-I$(includedir)'
22385 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22387 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22389 if test x"$need_libio" = xyes; then
22390 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22394 # Now, export this to all the little Makefiles....
22401 # Optimization flags that are probably a good idea for thrill-seekers. Just
22402 # uncomment the lines below and make, everything else is ready to go...
22403 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22407 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22411 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22412 grep "enable shared" > /dev/null; then
22413 LIBSUPCXX_PICFLAGS=-prefer-pic
22415 LIBSUPCXX_PICFLAGS=
22419 # Generate the various Makefiles, include files, and scripts.
22420 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22421 # and libsupc++/Makefile.am so that multilib installs will end up
22422 # installed in the correct place. To work around this not being passed
22423 # down from config-ml.in -> top_srcdir/Makefile.am ->
22424 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22426 cat > confcache <<\EOF
22427 # This file is a shell script that caches the results of configure
22428 # tests run on this system so they can be shared between configure
22429 # scripts and configure runs. It is not useful on other systems.
22430 # If it contains results you don't want to keep, you may remove or edit it.
22432 # By default, configure uses ./config.cache as the cache file,
22433 # creating it if it does not exist already. You can give configure
22434 # the --cache-file=FILE option to use a different cache file; that is
22435 # what configure does when it calls configure scripts in
22436 # subdirectories, so they share the cache.
22437 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22438 # config.status only pays attention to the cache file if you give it the
22439 # --recheck option to rerun configure.
22442 # The following way of writing the cache mishandles newlines in values,
22443 # but we know of no workaround that is simple, portable, and efficient.
22444 # So, don't put newlines in cache variables' values.
22445 # Ultrix sh set writes to stderr and can't be redirected directly,
22446 # and sets the high bit in the cache file unless we assign to the vars.
22448 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22450 # `set' does not quote correctly, so add quotes (double-quote substitution
22451 # turns \\\\ into \\, and sed turns \\ into \).
22453 -e "s/'/'\\\\''/g" \
22454 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22457 # `set' quotes correctly as required by POSIX, so do not add quotes.
22458 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22461 if cmp -s $cache_file confcache; then
22464 if test -w $cache_file; then
22465 echo "updating cache $cache_file"
22466 cat confcache > $cache_file
22468 echo "not updating unwritable cache $cache_file"
22473 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22475 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22476 # Let make expand exec_prefix.
22477 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22479 # Any assignment to VPATH causes Sun make to only execute
22480 # the first set of double-colon rules, so remove it if not needed.
22481 # If there is a colon in the path, we need to keep it.
22482 if test "x$srcdir" = x.; then
22483 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22486 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22488 DEFS=-DHAVE_CONFIG_H
22490 # Without the "./", some shells look in PATH for config.status.
22491 : ${CONFIG_STATUS=./config.status}
22493 echo creating $CONFIG_STATUS
22494 rm -f $CONFIG_STATUS
22495 cat > $CONFIG_STATUS <<EOF
22497 # Generated automatically by configure.
22498 # Run this file to recreate the current configuration.
22499 # This directory was configured as follows,
22500 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22502 # $0 $ac_configure_args
22504 # Compiler output produced by configure, useful for debugging
22505 # configure, is in ./config.log if it exists.
22507 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22510 case "\$ac_option" in
22511 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22512 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22513 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22514 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22515 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22517 -help | --help | --hel | --he | --h)
22518 echo "\$ac_cs_usage"; exit 0 ;;
22519 *) echo "\$ac_cs_usage"; exit 1 ;;
22523 ac_given_srcdir=$srcdir
22524 ac_given_INSTALL="$INSTALL"
22526 trap 'rm -fr `echo "Makefile \
22527 include/Makefile src/Makefile \
22528 libmath/Makefile libio/Makefile libsupc++/Makefile \
22529 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22531 cat >> $CONFIG_STATUS <<EOF
22533 # Protect against being on the right side of a sed subst in config.status.
22534 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22535 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22539 s%@CFLAGS@%$CFLAGS%g
22540 s%@CPPFLAGS@%$CPPFLAGS%g
22541 s%@CXXFLAGS@%$CXXFLAGS%g
22542 s%@FFLAGS@%$FFLAGS%g
22544 s%@LDFLAGS@%$LDFLAGS%g
22546 s%@exec_prefix@%$exec_prefix%g
22547 s%@prefix@%$prefix%g
22548 s%@program_transform_name@%$program_transform_name%g
22549 s%@bindir@%$bindir%g
22550 s%@sbindir@%$sbindir%g
22551 s%@libexecdir@%$libexecdir%g
22552 s%@datadir@%$datadir%g
22553 s%@sysconfdir@%$sysconfdir%g
22554 s%@sharedstatedir@%$sharedstatedir%g
22555 s%@localstatedir@%$localstatedir%g
22556 s%@libdir@%$libdir%g
22557 s%@includedir@%$includedir%g
22558 s%@oldincludedir@%$oldincludedir%g
22559 s%@infodir@%$infodir%g
22560 s%@mandir@%$mandir%g
22561 s%@PACKAGE@%$PACKAGE%g
22562 s%@libtool_VERSION@%$libtool_VERSION%g
22563 s%@toplevel_srcdir@%$toplevel_srcdir%g
22565 s%@host_alias@%$host_alias%g
22566 s%@host_cpu@%$host_cpu%g
22567 s%@host_vendor@%$host_vendor%g
22568 s%@host_os@%$host_os%g
22569 s%@target@%$target%g
22570 s%@target_alias@%$target_alias%g
22571 s%@target_cpu@%$target_cpu%g
22572 s%@target_vendor@%$target_vendor%g
22573 s%@target_os@%$target_os%g
22575 s%@build_alias@%$build_alias%g
22576 s%@build_cpu@%$build_cpu%g
22577 s%@build_vendor@%$build_vendor%g
22578 s%@build_os@%$build_os%g
22579 s%@glibcpp_builddir@%$glibcpp_builddir%g
22580 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22583 s%@glibcpp_basedir@%$glibcpp_basedir%g
22585 s%@glibcpp_CXX@%$glibcpp_CXX%g
22588 s%@RANLIB@%$RANLIB%g
22589 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22590 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22591 s%@INSTALL_DATA@%$INSTALL_DATA%g
22592 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22593 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22595 s%@EXEEXT@%$EXEEXT%g
22596 s%@VERSION@%$VERSION%g
22597 s%@ACLOCAL@%$ACLOCAL%g
22598 s%@AUTOCONF@%$AUTOCONF%g
22599 s%@AUTOMAKE@%$AUTOMAKE%g
22600 s%@AUTOHEADER@%$AUTOHEADER%g
22601 s%@MAKEINFO@%$MAKEINFO%g
22602 s%@SET_MAKE@%$SET_MAKE%g
22603 s%@OBJEXT@%$OBJEXT%g
22605 s%@LIBTOOL@%$LIBTOOL%g
22606 s%@CXXCPP@%$CXXCPP%g
22607 s%@enable_shared@%$enable_shared%g
22608 s%@enable_static@%$enable_static%g
22609 s%@ifGNUmake@%$ifGNUmake%g
22610 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22612 s%@CSTDIO_H@%$CSTDIO_H%g
22613 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22614 s%@CCODECVT_C@%$CCODECVT_C%g
22615 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22616 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22617 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22618 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22619 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22620 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22621 s%@libio_la@%$libio_la%g
22622 s%@check_msgfmt@%$check_msgfmt%g
22623 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22624 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22625 s%@glibcpp_localedir@%$glibcpp_localedir%g
22626 s%@USE_NLS@%$USE_NLS%g
22627 s%@CLOCALE_H@%$CLOCALE_H%g
22628 s%@CCODECVT_H@%$CCODECVT_H%g
22629 s%@CMESSAGES_H@%$CMESSAGES_H%g
22630 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22631 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22632 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22633 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22634 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22635 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22636 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22637 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22638 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22639 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22640 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22641 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22642 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22643 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22644 s%@WERROR@%$WERROR%g
22645 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22646 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22647 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22648 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22649 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22650 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22651 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22652 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22653 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22654 s%@gxx_include_dir@%$gxx_include_dir%g
22655 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22656 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22657 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22658 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22659 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22660 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22661 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22662 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22663 s%@WARN_FLAGS@%$WARN_FLAGS%g
22664 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22669 cat >> $CONFIG_STATUS <<\EOF
22671 # Split the substitutions into bite-sized pieces for seds with
22672 # small command number limits, like on Digital OSF/1 and HP-UX.
22673 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22674 ac_file=1 # Number of current file.
22675 ac_beg=1 # First line for current file.
22676 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22679 while $ac_more_lines; do
22680 if test $ac_beg -gt 1; then
22681 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22683 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22685 if test ! -s conftest.s$ac_file; then
22686 ac_more_lines=false
22687 rm -f conftest.s$ac_file
22689 if test -z "$ac_sed_cmds"; then
22690 ac_sed_cmds="sed -f conftest.s$ac_file"
22692 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22694 ac_file=`expr $ac_file + 1`
22696 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22699 if test -z "$ac_sed_cmds"; then
22704 cat >> $CONFIG_STATUS <<EOF
22706 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22707 include/Makefile src/Makefile \
22708 libmath/Makefile libio/Makefile libsupc++/Makefile \
22709 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22711 cat >> $CONFIG_STATUS <<\EOF
22712 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22715 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22716 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22717 *) ac_file_in="${ac_file}.in" ;;
22720 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22722 # Remove last slash and all that follows it. Not all systems have dirname.
22723 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22724 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22725 # The file is in a subdirectory.
22726 test ! -d "$ac_dir" && mkdir "$ac_dir"
22727 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22728 # A "../" for each directory in $ac_dir_suffix.
22729 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22731 ac_dir_suffix= ac_dots=
22734 case "$ac_given_srcdir" in
22736 if test -z "$ac_dots"; then top_srcdir=.
22737 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22738 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22739 *) # Relative path.
22740 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22741 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22744 case "$ac_given_INSTALL" in
22745 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22746 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22749 echo creating "$ac_file"
22751 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22753 *Makefile*) ac_comsub="1i\\
22754 # $configure_input" ;;
22758 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22760 s%@configure_input@%$configure_input%g
22761 s%@srcdir@%$srcdir%g
22762 s%@top_srcdir@%$top_srcdir%g
22763 s%@INSTALL@%$INSTALL%g
22764 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22768 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22769 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22771 # ac_d sets the value in "#define NAME VALUE" lines.
22772 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22773 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22776 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22777 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22778 ac_uB='\([ ]\)%\1#\2define\3'
22781 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22782 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22783 ac_eB='$%\1#\2define\3'
22787 if test "${CONFIG_HEADERS+set}" != set; then
22789 cat >> $CONFIG_STATUS <<EOF
22790 CONFIG_HEADERS="config.h"
22792 cat >> $CONFIG_STATUS <<\EOF
22794 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22795 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22797 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22798 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22799 *) ac_file_in="${ac_file}.in" ;;
22802 echo creating $ac_file
22804 rm -f conftest.frag conftest.in conftest.out
22805 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22806 cat $ac_file_inputs > conftest.in
22810 # Transform confdefs.h into a sed script conftest.vals that substitutes
22811 # the proper values into config.h.in to produce config.h. And first:
22812 # Protect against being on the right side of a sed subst in config.status.
22813 # Protect against being in an unquoted here document in config.status.
22814 rm -f conftest.vals
22815 cat > conftest.hdr <<\EOF
22818 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22822 sed -n -f conftest.hdr confdefs.h > conftest.vals
22825 # This sed command replaces #undef with comments. This is necessary, for
22826 # example, in the case of _POSIX_SOURCE, which is predefined and required
22827 # on some systems where configure will not decide to define it.
22828 cat >> conftest.vals <<\EOF
22829 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22832 # Break up conftest.vals because some shells have a limit on
22833 # the size of here documents, and old seds have small limits too.
22835 rm -f conftest.tail
22838 ac_lines=`grep -c . conftest.vals`
22839 # grep -c gives empty output for an empty file on some AIX systems.
22840 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22841 # Write a limited-size here document to conftest.frag.
22842 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22843 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22845 sed -f conftest.frag conftest.in > conftest.out
22847 mv conftest.out conftest.in
22848 ' >> $CONFIG_STATUS
22849 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22850 rm -f conftest.vals
22851 mv conftest.tail conftest.vals
22853 rm -f conftest.vals
22855 cat >> $CONFIG_STATUS <<\EOF
22856 rm -f conftest.frag conftest.h
22857 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22858 cat conftest.in >> conftest.h
22860 if cmp -s $ac_file conftest.h 2>/dev/null; then
22861 echo "$ac_file is unchanged"
22864 # Remove last slash and all that follows it. Not all systems have dirname.
22865 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22866 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22867 # The file is in a subdirectory.
22868 test ! -d "$ac_dir" && mkdir "$ac_dir"
22871 mv conftest.h $ac_file
22877 cat >> $CONFIG_STATUS <<EOF
22878 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22879 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"
22882 cat >> $CONFIG_STATUS <<\EOF
22883 srcdir=$ac_given_srcdir
22884 while test -n "$ac_sources"; do
22885 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22886 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22888 echo "linking $srcdir/$ac_source to $ac_dest"
22890 if test ! -r $srcdir/$ac_source; then
22891 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22895 # Make relative symlinks.
22896 # Remove last slash and all that follows it. Not all systems have dirname.
22897 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22898 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22899 # The dest file is in a subdirectory.
22900 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22901 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22902 # A "../" for each directory in $ac_dest_dir_suffix.
22903 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22905 ac_dest_dir_suffix= ac_dots=
22909 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22910 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22913 # Make a symlink if possible; otherwise try a hard link.
22914 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22915 ln $srcdir/$ac_source $ac_dest; then :
22917 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22921 cat >> $CONFIG_STATUS <<EOF
22926 with_multisubdir=${with_multisubdir}
22927 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22928 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22929 glibcpp_basedir=${glibcpp_basedir}
22934 cat >> $CONFIG_STATUS <<\EOF
22935 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22936 if test -n "$CONFIG_FILES"; then
22937 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22938 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22939 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22940 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22943 chmod +x testsuite_flags
22947 chmod +x $CONFIG_STATUS
22948 rm -fr confdefs* $ac_clean_files
22949 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22953 # Sanity checking & User-visible messages.
22954 # Checks down here, otherwise they get scrolled off before
22955 # the user will notice.
22957 # Trying to get more people to read documentation. Possibly remove
22958 # check and warn all the time. There is no "informational" AC_MSG_
22959 # macro, so these are going to be printed even when --quiet/--silent
22961 if test ! -f stamp-sanity-warned; then
22962 touch stamp-sanity-warned
22964 echo "Please make certain that you read the installation information here:"
22965 echo " faster => ${srcdir}/docs/html/install.html"
22966 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22968 echo "and the configuration information here:"
22969 echo " faster => ${srcdir}/docs/html/configopts.html"
22970 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22972 echo "before proceeding with ${_cv_gnu_make_command}."