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
826 # Export build and source directories.
827 # These need to be absolute paths, yet at the same time need to
828 # canonicalize only relative paths, because then amd will not unmount
829 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
830 glibcpp_builddir=`${PWDCMD-pwd}`
832 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
833 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
840 for ac_prog in gawk mawk nawk awk
842 # Extract the first word of "$ac_prog", so it can be a program name with args.
843 set dummy $ac_prog; ac_word=$2
844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
845 echo "configure:846: checking for $ac_word" >&5
846 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
847 echo $ac_n "(cached) $ac_c" 1>&6
849 if test -n "$AWK"; then
850 ac_cv_prog_AWK="$AWK" # Let the user override the test.
852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
854 for ac_dir in $ac_dummy; do
855 test -z "$ac_dir" && ac_dir=.
856 if test -f $ac_dir/$ac_word; then
857 ac_cv_prog_AWK="$ac_prog"
864 AWK="$ac_cv_prog_AWK"
865 if test -n "$AWK"; then
866 echo "$ac_t""$AWK" 1>&6
868 echo "$ac_t""no" 1>&6
871 test -n "$AWK" && break
874 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
875 # be 'cp -p' if linking isn't available. Uncomment the next line to
876 # force a particular method.
877 #ac_cv_prog_LN_S='cp -p'
878 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
879 echo "configure:880: checking whether ln -s works" >&5
880 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
881 echo $ac_n "(cached) $ac_c" 1>&6
884 if ln -s X conftestdata 2>/dev/null
887 ac_cv_prog_LN_S="ln -s"
892 LN_S="$ac_cv_prog_LN_S"
893 if test "$ac_cv_prog_LN_S" = "ln -s"; then
894 echo "$ac_t""yes" 1>&6
896 echo "$ac_t""no" 1>&6
900 # We use these options to decide which functions to include.
901 # Check whether --with-target-subdir or --without-target-subdir was given.
902 if test "${with_target_subdir+set}" = set; then
903 withval="$with_target_subdir"
907 # Check whether --with-cross-host or --without-cross-host was given.
908 if test "${with_cross_host+set}" = set; then
909 withval="$with_cross_host"
914 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
917 # Never versions of autoconf add an underscore to these functions.
918 # Prevent future problems ...
925 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
926 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
927 # are probably using a cross compiler, which will not be able to fully
928 # link an executable. This is addressed in later versions of autoconf.
933 # Extract the first word of "gcc", so it can be a program name with args.
934 set dummy gcc; ac_word=$2
935 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
936 echo "configure:937: checking for $ac_word" >&5
937 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
938 echo $ac_n "(cached) $ac_c" 1>&6
940 if test -n "$CC"; then
941 ac_cv_prog_CC="$CC" # Let the user override the test.
943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
945 for ac_dir in $ac_dummy; do
946 test -z "$ac_dir" && ac_dir=.
947 if test -f $ac_dir/$ac_word; then
956 if test -n "$CC"; then
957 echo "$ac_t""$CC" 1>&6
959 echo "$ac_t""no" 1>&6
962 if test -z "$CC"; then
963 # Extract the first word of "cc", so it can be a program name with args.
964 set dummy cc; ac_word=$2
965 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
966 echo "configure:967: checking for $ac_word" >&5
967 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
968 echo $ac_n "(cached) $ac_c" 1>&6
970 if test -n "$CC"; then
971 ac_cv_prog_CC="$CC" # Let the user override the test.
973 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
976 for ac_dir in $ac_dummy; do
977 test -z "$ac_dir" && ac_dir=.
978 if test -f $ac_dir/$ac_word; then
979 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
988 if test $ac_prog_rejected = yes; then
989 # We found a bogon in the path, so make sure we never use it.
990 set dummy $ac_cv_prog_CC
992 if test $# -gt 0; then
993 # We chose a different compiler from the bogus one.
994 # However, it has the same basename, so the bogon will be chosen
995 # first if we set CC to just the basename; use the full file name.
997 set dummy "$ac_dir/$ac_word" "$@"
1005 if test -n "$CC"; then
1006 echo "$ac_t""$CC" 1>&6
1008 echo "$ac_t""no" 1>&6
1011 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1014 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1015 echo "configure:1016: checking whether we are using GNU C" >&5
1016 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1017 echo $ac_n "(cached) $ac_c" 1>&6
1019 cat > conftest.c <<EOF
1024 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1031 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1033 if test $ac_cv_prog_gcc = yes; then
1035 ac_test_CFLAGS="${CFLAGS+set}"
1036 ac_save_CFLAGS="$CFLAGS"
1038 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1039 echo "configure:1040: checking whether ${CC-cc} accepts -g" >&5
1040 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1041 echo $ac_n "(cached) $ac_c" 1>&6
1043 echo 'void f(){}' > conftest.c
1044 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1053 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1054 if test "$ac_test_CFLAGS" = set; then
1055 CFLAGS="$ac_save_CFLAGS"
1056 elif test $ac_cv_prog_cc_g = yes; then
1063 test "${CFLAGS+set}" = set || CFLAGS="-g"
1067 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1068 # will try to link in libstdc++.
1072 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1073 # flags that come in CXX while configuring libstdc++. They're different
1074 # from those used for all other target libraries. If CXX is set in
1075 # the environment, respect that here.
1077 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1079 # Extract the first word of "$ac_prog", so it can be a program name with args.
1080 set dummy $ac_prog; ac_word=$2
1081 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1082 echo "configure:1083: checking for $ac_word" >&5
1083 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1084 echo $ac_n "(cached) $ac_c" 1>&6
1086 if test -n "$glibcpp_CXX"; then
1087 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1089 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1091 for ac_dir in $ac_dummy; do
1092 test -z "$ac_dir" && ac_dir=.
1093 if test -f $ac_dir/$ac_word; then
1094 ac_cv_prog_glibcpp_CXX="$ac_prog"
1101 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1102 if test -n "$glibcpp_CXX"; then
1103 echo "$ac_t""$glibcpp_CXX" 1>&6
1105 echo "$ac_t""no" 1>&6
1108 test -n "$glibcpp_CXX" && break
1110 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
1114 test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1116 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1117 echo "configure:1118: checking whether we are using GNU C++" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1121 cat > conftest.C <<EOF
1126 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1133 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1135 if test $ac_cv_prog_gxx = yes; then
1137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1138 ac_save_CXXFLAGS="$CXXFLAGS"
1140 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1141 echo "configure:1142: checking whether ${CXX-g++} accepts -g" >&5
1142 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1145 echo 'void f(){}' > conftest.cc
1146 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1147 ac_cv_prog_cxx_g=yes
1155 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1156 if test "$ac_test_CXXFLAGS" = set; then
1157 CXXFLAGS="$ac_save_CXXFLAGS"
1158 elif test $ac_cv_prog_cxx_g = yes; then
1165 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1169 # For directory versioning (e.g., headers) and other variables.
1170 echo $ac_n "checking for GCC version number""... $ac_c" 1>&6
1171 echo "configure:1172: checking for GCC version number" >&5
1172 gcc_version=`$glibcpp_CXX -dumpversion`
1173 echo "$ac_t""$gcc_version" 1>&6
1175 # For some reason, gettext needs this.
1177 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1178 echo "configure:1179: checking for strerror in -lcposix" >&5
1179 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1181 echo $ac_n "(cached) $ac_c" 1>&6
1183 ac_save_LIBS="$LIBS"
1184 LIBS="-lcposix $LIBS"
1185 cat > conftest.$ac_ext <<EOF
1186 #line 1187 "configure"
1187 #include "confdefs.h"
1188 /* Override any gcc2 internal prototype to avoid an error. */
1189 /* We use char because int might match the return type of a gcc2
1190 builtin and then its argument prototype would still apply. */
1197 if { (eval echo configure:1198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1199 eval "ac_cv_lib_$ac_lib_var=yes"
1201 echo "configure: failed program was:" >&5
1202 cat conftest.$ac_ext >&5
1204 eval "ac_cv_lib_$ac_lib_var=no"
1207 LIBS="$ac_save_LIBS"
1210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1211 echo "$ac_t""yes" 1>&6
1212 LIBS="$LIBS -lcposix"
1214 echo "$ac_t""no" 1>&6
1220 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1221 set dummy ${ac_tool_prefix}as; ac_word=$2
1222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1223 echo "configure:1224: checking for $ac_word" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1225 echo $ac_n "(cached) $ac_c" 1>&6
1227 if test -n "$AS"; then
1228 ac_cv_prog_AS="$AS" # Let the user override the test.
1230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1232 for ac_dir in $ac_dummy; do
1233 test -z "$ac_dir" && ac_dir=.
1234 if test -f $ac_dir/$ac_word; then
1235 ac_cv_prog_AS="${ac_tool_prefix}as"
1240 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1244 if test -n "$AS"; then
1245 echo "$ac_t""$AS" 1>&6
1247 echo "$ac_t""no" 1>&6
1252 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1253 set dummy ${ac_tool_prefix}ar; ac_word=$2
1254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1255 echo "configure:1256: checking for $ac_word" >&5
1256 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1257 echo $ac_n "(cached) $ac_c" 1>&6
1259 if test -n "$AR"; then
1260 ac_cv_prog_AR="$AR" # Let the user override the test.
1262 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1264 for ac_dir in $ac_dummy; do
1265 test -z "$ac_dir" && ac_dir=.
1266 if test -f $ac_dir/$ac_word; then
1267 ac_cv_prog_AR="${ac_tool_prefix}ar"
1272 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1276 if test -n "$AR"; then
1277 echo "$ac_t""$AR" 1>&6
1279 echo "$ac_t""no" 1>&6
1284 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1285 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1287 echo "configure:1288: checking for $ac_word" >&5
1288 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1289 echo $ac_n "(cached) $ac_c" 1>&6
1291 if test -n "$RANLIB"; then
1292 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1294 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1296 for ac_dir in $ac_dummy; do
1297 test -z "$ac_dir" && ac_dir=.
1298 if test -f $ac_dir/$ac_word; then
1299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1306 RANLIB="$ac_cv_prog_RANLIB"
1307 if test -n "$RANLIB"; then
1308 echo "$ac_t""$RANLIB" 1>&6
1310 echo "$ac_t""no" 1>&6
1314 if test -z "$ac_cv_prog_RANLIB"; then
1315 if test -n "$ac_tool_prefix"; then
1316 # Extract the first word of "ranlib", so it can be a program name with args.
1317 set dummy ranlib; ac_word=$2
1318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1319 echo "configure:1320: checking for $ac_word" >&5
1320 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1321 echo $ac_n "(cached) $ac_c" 1>&6
1323 if test -n "$RANLIB"; then
1324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1326 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1328 for ac_dir in $ac_dummy; do
1329 test -z "$ac_dir" && ac_dir=.
1330 if test -f $ac_dir/$ac_word; then
1331 ac_cv_prog_RANLIB="ranlib"
1336 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
1339 RANLIB="$ac_cv_prog_RANLIB"
1340 if test -n "$RANLIB"; then
1341 echo "$ac_t""$RANLIB" 1>&6
1343 echo "$ac_t""no" 1>&6
1347 RANLIB="ranlib-not-found-in-path-error"
1351 # Find a good install program. We prefer a C program (faster),
1352 # so one script is as good as another. But avoid the broken or
1353 # incompatible versions:
1354 # SysV /etc/install, /usr/sbin/install
1355 # SunOS /usr/etc/install
1356 # IRIX /sbin/install
1358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1361 # ./install, which can be erroneously created by make from ./install.sh.
1362 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1363 echo "configure:1364: checking for a BSD compatible install" >&5
1364 if test -z "$INSTALL"; then
1365 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1366 echo $ac_n "(cached) $ac_c" 1>&6
1368 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1369 for ac_dir in $PATH; do
1370 # Account for people who put trailing slashes in PATH elements.
1372 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1374 # OSF1 and SCO ODT 3.0 have their own names for install.
1375 # Don't use installbsd from OSF since it installs stuff as root
1377 for ac_prog in ginstall scoinst install; do
1378 if test -f $ac_dir/$ac_prog; then
1379 if test $ac_prog = install &&
1380 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1381 # AIX install. It has an incompatible calling convention.
1384 ac_cv_path_install="$ac_dir/$ac_prog -c"
1395 if test "${ac_cv_path_install+set}" = set; then
1396 INSTALL="$ac_cv_path_install"
1398 # As a last resort, use the slow shell script. We don't cache a
1399 # path for INSTALL within a source directory, because that will
1400 # break other packages using the cache if that directory is
1401 # removed, or if the path is relative.
1402 INSTALL="$ac_install_sh"
1405 echo "$ac_t""$INSTALL" 1>&6
1407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1408 # It thinks the first close brace ends the variable substitution.
1409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1413 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1416 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1417 echo "configure:1418: checking whether to enable maintainer-specific portions of Makefiles" >&5
1418 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1419 if test "${enable_maintainer_mode+set}" = set; then
1420 enableval="$enable_maintainer_mode"
1421 USE_MAINTAINER_MODE=$enableval
1423 USE_MAINTAINER_MODE=no
1426 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1429 if test $USE_MAINTAINER_MODE = yes; then
1430 MAINTAINER_MODE_TRUE=
1431 MAINTAINER_MODE_FALSE='#'
1433 MAINTAINER_MODE_TRUE='#'
1434 MAINTAINER_MODE_FALSE=
1436 MAINT=$MAINTAINER_MODE_TRUE
1440 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1441 # at least currently, we never actually build a program, so we never
1442 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1443 # fails, because we are probably configuring with a cross compiler
1444 # which can't create executables. So we include AC_EXEEXT to keep
1445 # automake happy, but we don't execute it, since we don't care about
1448 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1449 # to nothing, so nothing would remain between `then' and `fi' if it
1450 # were not for the `:' below.
1454 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1455 echo "configure:1456: checking for executable suffix" >&5
1456 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1463 echo 'int main () { return 0; }' > conftest.$ac_ext
1465 if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1466 for file in conftest.*; do
1468 *.c | *.o | *.obj) ;;
1469 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1473 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1476 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1481 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1482 echo "$ac_t""${ac_cv_exeext}" 1>&6
1487 case ${glibcpp_basedir} in
1488 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1489 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1492 # Find platform-specific directories containing configuration info. In
1493 # addition to possibly modifying the same flags, it also sets up symlinks.
1495 . ${glibcpp_basedir}/configure.target
1496 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1497 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1501 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
1502 echo "configure:1503: checking whether build environment is sane" >&5
1505 echo timestamp > conftestfile
1506 # Do `set' in a subshell so we don't clobber the current shell's
1507 # arguments. Must try -L first in case configure is actually a
1508 # symlink; some systems play weird games with the mod time of symlinks
1509 # (eg FreeBSD returns the mod time of the symlink's containing
1512 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1513 if test "$*" = "X"; then
1515 set X `ls -t $srcdir/configure conftestfile`
1517 if test "$*" != "X $srcdir/configure conftestfile" \
1518 && test "$*" != "X conftestfile $srcdir/configure"; then
1520 # If neither matched, then we have a broken ls. This can happen
1521 # if, for instance, CONFIG_SHELL is bash and it inherits a
1522 # broken ls alias from the environment. This has actually
1523 # happened. Such a system could not be considered "sane".
1524 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
1525 alias in your environment" 1>&2; exit 1; }
1528 test "$2" = conftestfile
1534 { echo "configure: error: newly created file is older than distributed files!
1535 Check your system clock" 1>&2; exit 1; }
1538 echo "$ac_t""yes" 1>&6
1539 if test "$program_transform_name" = s,x,x,; then
1540 program_transform_name=
1542 # Double any \ or $. echo might interpret backslashes.
1543 cat <<\EOF_SED > conftestsed
1544 s,\\,\\\\,g; s,\$,$$,g
1546 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1549 test "$program_prefix" != NONE &&
1550 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1551 # Use a double $ so make ignores it.
1552 test "$program_suffix" != NONE &&
1553 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
1555 # sed with no file args requires a program.
1556 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
1558 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1559 echo "configure:1560: checking whether ${MAKE-make} sets \${MAKE}" >&5
1560 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1561 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1562 echo $ac_n "(cached) $ac_c" 1>&6
1564 cat > conftestmake <<\EOF
1566 @echo 'ac_maketemp="${MAKE}"'
1568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1569 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1570 if test -n "$ac_maketemp"; then
1571 eval ac_cv_prog_make_${ac_make}_set=yes
1573 eval ac_cv_prog_make_${ac_make}_set=no
1577 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1578 echo "$ac_t""yes" 1>&6
1581 echo "$ac_t""no" 1>&6
1582 SET_MAKE="MAKE=${MAKE-make}"
1588 VERSION=$gcc_version
1590 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1591 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1593 cat >> confdefs.h <<EOF
1594 #define PACKAGE "$PACKAGE"
1597 cat >> confdefs.h <<EOF
1598 #define VERSION "$VERSION"
1603 missing_dir=`cd $ac_aux_dir && pwd`
1604 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
1605 echo "configure:1606: checking for working aclocal" >&5
1606 # Run test in a subshell; some versions of sh will print an error if
1607 # an executable is not found, even if stderr is redirected.
1608 # Redirect stdin to placate older versions of autoconf. Sigh.
1609 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1611 echo "$ac_t""found" 1>&6
1613 ACLOCAL="$missing_dir/missing aclocal"
1614 echo "$ac_t""missing" 1>&6
1617 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1618 echo "configure:1619: checking for working autoconf" >&5
1619 # Run test in a subshell; some versions of sh will print an error if
1620 # an executable is not found, even if stderr is redirected.
1621 # Redirect stdin to placate older versions of autoconf. Sigh.
1622 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1624 echo "$ac_t""found" 1>&6
1626 AUTOCONF="$missing_dir/missing autoconf"
1627 echo "$ac_t""missing" 1>&6
1630 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1631 echo "configure:1632: checking for working automake" >&5
1632 # Run test in a subshell; some versions of sh will print an error if
1633 # an executable is not found, even if stderr is redirected.
1634 # Redirect stdin to placate older versions of autoconf. Sigh.
1635 if (automake --version) < /dev/null > /dev/null 2>&1; then
1637 echo "$ac_t""found" 1>&6
1639 AUTOMAKE="$missing_dir/missing automake"
1640 echo "$ac_t""missing" 1>&6
1643 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1644 echo "configure:1645: checking for working autoheader" >&5
1645 # Run test in a subshell; some versions of sh will print an error if
1646 # an executable is not found, even if stderr is redirected.
1647 # Redirect stdin to placate older versions of autoconf. Sigh.
1648 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1649 AUTOHEADER=autoheader
1650 echo "$ac_t""found" 1>&6
1652 AUTOHEADER="$missing_dir/missing autoheader"
1653 echo "$ac_t""missing" 1>&6
1656 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1657 echo "configure:1658: checking for working makeinfo" >&5
1658 # Run test in a subshell; some versions of sh will print an error if
1659 # an executable is not found, even if stderr is redirected.
1660 # Redirect stdin to placate older versions of autoconf. Sigh.
1661 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1663 echo "$ac_t""found" 1>&6
1665 MAKEINFO="$missing_dir/missing makeinfo"
1666 echo "$ac_t""missing" 1>&6
1675 # Check whether --enable-shared or --disable-shared was given.
1676 if test "${enable_shared+set}" = set; then
1677 enableval="$enable_shared"
1678 p=${PACKAGE-default}
1680 yes) enable_shared=yes ;;
1681 no) enable_shared=no ;;
1684 # Look at the argument we got. We use all the common list separators.
1685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1686 for pkg in $enableval; do
1687 if test "X$pkg" = "X$p"; then
1698 # Check whether --enable-static or --disable-static was given.
1699 if test "${enable_static+set}" = set; then
1700 enableval="$enable_static"
1701 p=${PACKAGE-default}
1703 yes) enable_static=yes ;;
1704 no) enable_static=no ;;
1707 # Look at the argument we got. We use all the common list separators.
1708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1709 for pkg in $enableval; do
1710 if test "X$pkg" = "X$p"; then
1721 # Check whether --enable-fast-install or --disable-fast-install was given.
1722 if test "${enable_fast_install+set}" = set; then
1723 enableval="$enable_fast_install"
1724 p=${PACKAGE-default}
1726 yes) enable_fast_install=yes ;;
1727 no) enable_fast_install=no ;;
1729 enable_fast_install=no
1730 # Look at the argument we got. We use all the common list separators.
1731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1732 for pkg in $enableval; do
1733 if test "X$pkg" = "X$p"; then
1734 enable_fast_install=yes
1741 enable_fast_install=yes
1744 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1745 if test "${with_gnu_ld+set}" = set; then
1746 withval="$with_gnu_ld"
1747 test "$withval" = no || with_gnu_ld=yes
1753 if test "$GCC" = yes; then
1754 # Check if gcc -print-prog-name=ld gives a path.
1755 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1756 echo "configure:1757: checking for ld used by GCC" >&5
1759 # gcc leaves a trailing carriage return which upsets mingw
1760 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1762 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1765 # Accept absolute paths.
1766 [\\/]* | [A-Za-z]:[\\/]*)
1767 re_direlt='/[^/][^/]*/\.\./'
1768 # Canonicalize the path of ld
1769 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1770 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1771 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1773 test -z "$LD" && LD="$ac_prog"
1776 # If it fails, then pretend we aren't using GCC.
1780 # If it is relative, then search for the first ld in PATH.
1784 elif test "$with_gnu_ld" = yes; then
1785 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1786 echo "configure:1787: checking for GNU ld" >&5
1788 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1789 echo "configure:1790: checking for non-GNU ld" >&5
1791 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1792 echo $ac_n "(cached) $ac_c" 1>&6
1794 if test -z "$LD"; then
1795 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1796 for ac_dir in $PATH; do
1797 test -z "$ac_dir" && ac_dir=.
1798 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1799 lt_cv_path_LD="$ac_dir/$ac_prog"
1800 # Check to see if the program is GNU ld. I'd rather use --version,
1801 # but apparently some GNU ld's only accept -v.
1802 # Break only if it was the GNU/non-GNU ld that we prefer.
1803 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1804 test "$with_gnu_ld" != no && break
1806 test "$with_gnu_ld" != yes && break
1812 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1817 if test -n "$LD"; then
1818 echo "$ac_t""$LD" 1>&6
1820 echo "$ac_t""no" 1>&6
1822 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1823 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1824 echo "configure:1825: checking if the linker ($LD) is GNU ld" >&5
1825 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1826 echo $ac_n "(cached) $ac_c" 1>&6
1828 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1829 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1830 lt_cv_prog_gnu_ld=yes
1832 lt_cv_prog_gnu_ld=no
1836 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1837 with_gnu_ld=$lt_cv_prog_gnu_ld
1840 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1841 echo "configure:1842: checking for $LD option to reload object files" >&5
1842 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1843 echo $ac_n "(cached) $ac_c" 1>&6
1845 lt_cv_ld_reload_flag='-r'
1848 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1849 reload_flag=$lt_cv_ld_reload_flag
1850 test -n "$reload_flag" && reload_flag=" $reload_flag"
1852 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1853 echo "configure:1854: checking for BSD-compatible nm" >&5
1854 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1855 echo $ac_n "(cached) $ac_c" 1>&6
1857 if test -n "$NM"; then
1858 # Let the user override the test.
1861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1862 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1863 test -z "$ac_dir" && ac_dir=.
1864 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1865 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1866 # Check to see if the nm accepts a BSD-compat flag.
1867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1868 # nm: unknown option "B" ignored
1869 # Tru64's nm complains that /dev/null is an invalid object file
1870 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1871 lt_cv_path_NM="$tmp_nm -B"
1873 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1874 lt_cv_path_NM="$tmp_nm -p"
1877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1878 continue # so that we can try to find one that supports BSD flags
1883 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1888 echo "$ac_t""$NM" 1>&6
1890 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1891 echo "configure:1892: checking how to recognise dependant libraries" >&5
1892 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1893 echo $ac_n "(cached) $ac_c" 1>&6
1895 lt_cv_file_magic_cmd='$MAGIC_CMD'
1896 lt_cv_file_magic_test_file=
1897 lt_cv_deplibs_check_method='unknown'
1898 # Need to set the preceding variable on all platforms that support
1899 # interlibrary dependencies.
1900 # 'none' -- dependencies not supported.
1901 # `unknown' -- same as none, but documents that we really don't know.
1902 # 'pass_all' -- all dependencies passed with no checks.
1903 # 'test_compile' -- check by making test program.
1904 # 'file_magic [regex]' -- check by looking for files in library path
1905 # which responds to the $file_magic_cmd with a given egrep regex.
1906 # If you have `file' or equivalent on your system and you're not sure
1907 # whether `pass_all' will *always* work, you probably want this one.
1911 lt_cv_deplibs_check_method=pass_all
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1920 lt_cv_file_magic_cmd='/usr/bin/file -L'
1921 lt_cv_file_magic_test_file=/shlib/libc.so
1924 cygwin* | mingw* |pw32*)
1925 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1926 lt_cv_file_magic_cmd='$OBJDUMP -f'
1929 darwin* | rhapsody*)
1930 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1931 lt_cv_file_magic_cmd='/usr/bin/file -L'
1933 rhapsody* | darwin1.012)
1934 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1937 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1943 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1946 # Not sure whether the presence of OpenBSD here was a mistake.
1947 # Let's accept both of them until this is cleared up.
1948 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1949 lt_cv_file_magic_cmd=/usr/bin/file
1950 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1954 lt_cv_deplibs_check_method=pass_all
1959 lt_cv_deplibs_check_method=pass_all
1965 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1966 lt_cv_file_magic_cmd=/usr/bin/file
1967 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1971 lt_cv_file_magic_cmd=/usr/bin/file
1972 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1980 # this will be overridden with pass_all, but let us keep it just in case
1981 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1985 *-32|*"-32 ") libmagic=32-bit;;
1986 *-n32|*"-n32 ") libmagic=N32;;
1987 *-64|*"-64 ") libmagic=64-bit;;
1988 *) libmagic=never-match;;
1990 # this will be overridden with pass_all, but let us keep it just in case
1991 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1994 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1995 lt_cv_deplibs_check_method=pass_all
1998 # This must be Linux ELF.
2001 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2002 lt_cv_deplibs_check_method=pass_all ;;
2004 # glibc up to 2.1.1 does not perform some relocations on ARM
2005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2007 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2011 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2014 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2019 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2020 lt_cv_file_magic_cmd=/usr/bin/file
2021 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2024 osf3* | osf4* | osf5*)
2025 # this will be overridden with pass_all, but let us keep it just in case
2026 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2027 lt_cv_file_magic_test_file=/shlib/libc.so
2028 lt_cv_deplibs_check_method=pass_all
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2037 lt_cv_file_magic_test_file=/lib/libc.so
2040 sysv5uw[78]* | sysv4*uw2*)
2041 lt_cv_deplibs_check_method=pass_all
2044 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2045 case $host_vendor in
2047 lt_cv_deplibs_check_method=pass_all
2050 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]'
2051 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2059 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2060 file_magic_cmd=$lt_cv_file_magic_cmd
2061 deplibs_check_method=$lt_cv_deplibs_check_method
2063 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2064 echo "configure:2065: checking for object suffix" >&5
2065 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2066 echo $ac_n "(cached) $ac_c" 1>&6
2069 echo 'int i = 1;' > conftest.$ac_ext
2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2071 for ac_file in conftest.*; do
2074 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2078 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2083 echo "$ac_t""$ac_cv_objext" 1>&6
2084 OBJEXT=$ac_cv_objext
2085 ac_objext=$ac_cv_objext
2087 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2089 # Only perform the check for file, if the check method requires it
2090 case $deplibs_check_method in
2092 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2093 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2094 echo "configure:2095: checking for ${ac_tool_prefix}file" >&5
2095 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2096 echo $ac_n "(cached) $ac_c" 1>&6
2100 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2106 ac_save_MAGIC_CMD="$MAGIC_CMD"
2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2108 ac_dummy="/usr/bin:$PATH"
2109 for ac_dir in $ac_dummy; do
2110 test -z "$ac_dir" && ac_dir=.
2111 if test -f $ac_dir/${ac_tool_prefix}file; then
2112 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2113 if test -n "$file_magic_test_file"; then
2114 case $deplibs_check_method in
2116 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2118 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2119 egrep "$file_magic_regex" > /dev/null; then
2124 *** Warning: the command libtool uses to detect shared libraries,
2125 *** $file_magic_cmd, produces output that libtool cannot recognize.
2126 *** The result is that libtool may fail to recognize shared libraries
2127 *** as such. This will affect the creation of libtool libraries that
2128 *** depend on shared libraries, but programs linked with such libtool
2129 *** libraries will work regardless of this problem. Nevertheless, you
2130 *** may want to report the problem to your system manager and/or to
2131 *** bug-libtool@gnu.org
2141 MAGIC_CMD="$ac_save_MAGIC_CMD"
2146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2147 if test -n "$MAGIC_CMD"; then
2148 echo "$ac_t""$MAGIC_CMD" 1>&6
2150 echo "$ac_t""no" 1>&6
2153 if test -z "$lt_cv_path_MAGIC_CMD"; then
2154 if test -n "$ac_tool_prefix"; then
2155 echo $ac_n "checking for file""... $ac_c" 1>&6
2156 echo "configure:2157: checking for file" >&5
2157 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2158 echo $ac_n "(cached) $ac_c" 1>&6
2162 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2168 ac_save_MAGIC_CMD="$MAGIC_CMD"
2169 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2170 ac_dummy="/usr/bin:$PATH"
2171 for ac_dir in $ac_dummy; do
2172 test -z "$ac_dir" && ac_dir=.
2173 if test -f $ac_dir/file; then
2174 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2175 if test -n "$file_magic_test_file"; then
2176 case $deplibs_check_method in
2178 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2180 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2181 egrep "$file_magic_regex" > /dev/null; then
2186 *** Warning: the command libtool uses to detect shared libraries,
2187 *** $file_magic_cmd, produces output that libtool cannot recognize.
2188 *** The result is that libtool may fail to recognize shared libraries
2189 *** as such. This will affect the creation of libtool libraries that
2190 *** depend on shared libraries, but programs linked with such libtool
2191 *** libraries will work regardless of this problem. Nevertheless, you
2192 *** may want to report the problem to your system manager and/or to
2193 *** bug-libtool@gnu.org
2203 MAGIC_CMD="$ac_save_MAGIC_CMD"
2208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2209 if test -n "$MAGIC_CMD"; then
2210 echo "$ac_t""$MAGIC_CMD" 1>&6
2212 echo "$ac_t""no" 1>&6
2224 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2225 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2227 echo "configure:2228: checking for $ac_word" >&5
2228 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2229 echo $ac_n "(cached) $ac_c" 1>&6
2231 if test -n "$RANLIB"; then
2232 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2234 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2236 for ac_dir in $ac_dummy; do
2237 test -z "$ac_dir" && ac_dir=.
2238 if test -f $ac_dir/$ac_word; then
2239 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2246 RANLIB="$ac_cv_prog_RANLIB"
2247 if test -n "$RANLIB"; then
2248 echo "$ac_t""$RANLIB" 1>&6
2250 echo "$ac_t""no" 1>&6
2254 if test -z "$ac_cv_prog_RANLIB"; then
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "ranlib", so it can be a program name with args.
2257 set dummy ranlib; ac_word=$2
2258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2259 echo "configure:2260: checking for $ac_word" >&5
2260 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2261 echo $ac_n "(cached) $ac_c" 1>&6
2263 if test -n "$RANLIB"; then
2264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2266 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2268 for ac_dir in $ac_dummy; do
2269 test -z "$ac_dir" && ac_dir=.
2270 if test -f $ac_dir/$ac_word; then
2271 ac_cv_prog_RANLIB="ranlib"
2276 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2279 RANLIB="$ac_cv_prog_RANLIB"
2280 if test -n "$RANLIB"; then
2281 echo "$ac_t""$RANLIB" 1>&6
2283 echo "$ac_t""no" 1>&6
2291 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2292 set dummy ${ac_tool_prefix}strip; ac_word=$2
2293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2294 echo "configure:2295: checking for $ac_word" >&5
2295 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2296 echo $ac_n "(cached) $ac_c" 1>&6
2298 if test -n "$STRIP"; then
2299 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2301 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2303 for ac_dir in $ac_dummy; do
2304 test -z "$ac_dir" && ac_dir=.
2305 if test -f $ac_dir/$ac_word; then
2306 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2313 STRIP="$ac_cv_prog_STRIP"
2314 if test -n "$STRIP"; then
2315 echo "$ac_t""$STRIP" 1>&6
2317 echo "$ac_t""no" 1>&6
2321 if test -z "$ac_cv_prog_STRIP"; then
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "strip", so it can be a program name with args.
2324 set dummy strip; ac_word=$2
2325 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2326 echo "configure:2327: checking for $ac_word" >&5
2327 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2328 echo $ac_n "(cached) $ac_c" 1>&6
2330 if test -n "$STRIP"; then
2331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2333 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2335 for ac_dir in $ac_dummy; do
2336 test -z "$ac_dir" && ac_dir=.
2337 if test -f $ac_dir/$ac_word; then
2338 ac_cv_prog_STRIP="strip"
2343 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2346 STRIP="$ac_cv_prog_STRIP"
2347 if test -n "$STRIP"; then
2348 echo "$ac_t""$STRIP" 1>&6
2350 echo "$ac_t""no" 1>&6
2359 # Check for any special flags to pass to ltconfig.
2360 libtool_flags="--cache-file=$cache_file"
2361 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2362 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2363 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2364 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2365 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2366 libtool_flags="$libtool_flags --enable-dlopen"
2368 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2369 if test "${enable_libtool_lock+set}" = set; then
2370 enableval="$enable_libtool_lock"
2374 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2375 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2377 # Check whether --with-pic or --without-pic was given.
2378 if test "${with_pic+set}" = set; then
2385 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2386 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2388 # Some flags need to be propagated to the compiler or linker for good
2392 # Find out which ABI we are using.
2393 echo '#line 2394 "configure"' > conftest.$ac_ext
2394 if { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2395 case `/usr/bin/file conftest.$ac_objext` in
2411 # Find out which ABI we are using.
2412 echo 'int i;' > conftest.$ac_ext
2413 if { (eval echo configure:2414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2414 case "`/usr/bin/file conftest.o`" in
2426 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2427 # Find out which ABI we are using.
2428 echo 'int i;' > conftest.$ac_ext
2429 if { (eval echo configure:2430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2430 case "`/usr/bin/file conftest.o`" in
2434 LD="${LD-ld} -m elf_i386"
2437 LD="${LD-ld} -m elf32ppclinux"
2440 LD="${LD-ld} -m elf_s390"
2443 LD="${LD-ld} -m elf32_sparc"
2450 LD="${LD-ld} -m elf_x86_64"
2452 ppc*-*linux*|powerpc*-*linux*)
2453 LD="${LD-ld} -m elf64ppc"
2456 LD="${LD-ld} -m elf64_s390"
2459 LD="${LD-ld} -m elf64_sparc"
2469 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2470 SAVE_CFLAGS="$CFLAGS"
2471 CFLAGS="$CFLAGS -belf"
2472 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2473 echo "configure:2474: checking whether the C compiler needs -belf" >&5
2474 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2475 echo $ac_n "(cached) $ac_c" 1>&6
2479 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2480 ac_cpp='$CPP $CPPFLAGS'
2481 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2482 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2483 cross_compiling=$ac_cv_prog_cc_cross
2485 cat > conftest.$ac_ext <<EOF
2486 #line 2487 "configure"
2487 #include "confdefs.h"
2493 if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2495 lt_cv_cc_needs_belf=yes
2497 echo "configure: failed program was:" >&5
2498 cat conftest.$ac_ext >&5
2500 lt_cv_cc_needs_belf=no
2504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2505 ac_cpp='$CPP $CPPFLAGS'
2506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2508 cross_compiling=$ac_cv_prog_cc_cross
2512 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2513 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2514 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2515 CFLAGS="$SAVE_CFLAGS"
2522 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2523 echo "configure:2524: checking how to run the C++ preprocessor" >&5
2524 if test -z "$CXXCPP"; then
2525 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2526 echo $ac_n "(cached) $ac_c" 1>&6
2529 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2530 ac_cpp='$CXXCPP $CPPFLAGS'
2531 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2532 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2533 cross_compiling=$ac_cv_prog_cxx_cross
2534 CXXCPP="${CXX-g++} -E"
2535 cat > conftest.$ac_ext <<EOF
2536 #line 2537 "configure"
2537 #include "confdefs.h"
2540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2541 { (eval echo configure:2542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2543 if test -z "$ac_err"; then
2547 echo "configure: failed program was:" >&5
2548 cat conftest.$ac_ext >&5
2553 ac_cv_prog_CXXCPP="$CXXCPP"
2555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2556 ac_cpp='$CPP $CPPFLAGS'
2557 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2558 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2559 cross_compiling=$ac_cv_prog_cc_cross
2562 CXXCPP="$ac_cv_prog_CXXCPP"
2563 echo "$ac_t""$CXXCPP" 1>&6
2566 # Save cache, so that ltconfig can load it
2567 cat > confcache <<\EOF
2568 # This file is a shell script that caches the results of configure
2569 # tests run on this system so they can be shared between configure
2570 # scripts and configure runs. It is not useful on other systems.
2571 # If it contains results you don't want to keep, you may remove or edit it.
2573 # By default, configure uses ./config.cache as the cache file,
2574 # creating it if it does not exist already. You can give configure
2575 # the --cache-file=FILE option to use a different cache file; that is
2576 # what configure does when it calls configure scripts in
2577 # subdirectories, so they share the cache.
2578 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2579 # config.status only pays attention to the cache file if you give it the
2580 # --recheck option to rerun configure.
2583 # The following way of writing the cache mishandles newlines in values,
2584 # but we know of no workaround that is simple, portable, and efficient.
2585 # So, don't put newlines in cache variables' values.
2586 # Ultrix sh set writes to stderr and can't be redirected directly,
2587 # and sets the high bit in the cache file unless we assign to the vars.
2589 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2591 # `set' does not quote correctly, so add quotes (double-quote substitution
2592 # turns \\\\ into \\, and sed turns \\ into \).
2594 -e "s/'/'\\\\''/g" \
2595 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2598 # `set' quotes correctly as required by POSIX, so do not add quotes.
2599 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2602 if cmp -s $cache_file confcache; then
2605 if test -w $cache_file; then
2606 echo "updating cache $cache_file"
2607 cat confcache > $cache_file
2609 echo "not updating unwritable cache $cache_file"
2615 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2616 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2617 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2618 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2619 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2620 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2621 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2622 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2623 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2624 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2626 # Reload cache, that may have been modified by ltconfig
2627 if test -r "$cache_file"; then
2628 echo "loading cache $cache_file"
2631 echo "creating cache $cache_file"
2636 # This can be used to rebuild libtool when needed
2637 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2639 # Always use our own libtool.
2640 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2642 # Redirect the config.log output again, so that the ltconfig log is not
2643 # clobbered by the next message.
2644 exec 5>>./config.log
2648 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2650 lt_save_CFLAGS="$CFLAGS"
2651 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2652 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2653 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2654 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2655 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2656 deplibs_check_method="$deplibs_check_method" \
2657 file_magic_cmd="$file_magic_cmd" \
2658 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2659 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2660 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2662 CFLAGS="$lt_save_CFLAGS"
2664 # Redirect the config.log output again, so that the ltconfig log is not
2665 # clobbered by the next message.
2666 exec 5>>./config.log
2676 # Check for c++ or library specific bits that don't require linking.
2677 #GLIBCPP_CHECK_COMPILER_VERSION
2678 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2679 echo "configure:2680: checking for GNU make" >&5
2680 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2681 echo $ac_n "(cached) $ac_c" 1>&6
2683 _cv_gnu_make_command='' ;
2684 for a in "${MAKE-make}" make gmake gnumake ; do
2685 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2687 _cv_gnu_make_command=$a ;
2694 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2695 if test "x$_cv_gnu_make_command" != "x" ; then
2703 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2704 # Check whether --enable-debug or --disable-debug was given.
2705 if test "${enable_debug+set}" = set; then
2706 enableval="$enable_debug"
2707 case "${enableval}" in
2708 yes) enable_debug=yes ;;
2709 no) enable_debug=no ;;
2710 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2716 case "${enable_debug}" in
2718 DEBUG_FLAGS='-O0 -ggdb3'
2726 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2727 echo "configure:2728: checking how to run the C preprocessor" >&5
2728 # On Suns, sometimes $CPP names a directory.
2729 if test -n "$CPP" && test -d "$CPP"; then
2732 if test -z "$CPP"; then
2733 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2734 echo $ac_n "(cached) $ac_c" 1>&6
2736 # This must be in double quotes, not single quotes, because CPP may get
2737 # substituted into the Makefile and "${CC-cc}" will confuse make.
2739 # On the NeXT, cc -E runs the code through the compiler's parser,
2740 # not just through cpp.
2741 cat > conftest.$ac_ext <<EOF
2742 #line 2743 "configure"
2743 #include "confdefs.h"
2747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2748 { (eval echo configure:2749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2750 if test -z "$ac_err"; then
2754 echo "configure: failed program was:" >&5
2755 cat conftest.$ac_ext >&5
2757 CPP="${CC-cc} -E -traditional-cpp"
2758 cat > conftest.$ac_ext <<EOF
2759 #line 2760 "configure"
2760 #include "confdefs.h"
2764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2765 { (eval echo configure:2766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2767 if test -z "$ac_err"; then
2771 echo "configure: failed program was:" >&5
2772 cat conftest.$ac_ext >&5
2774 CPP="${CC-cc} -nologo -E"
2775 cat > conftest.$ac_ext <<EOF
2776 #line 2777 "configure"
2777 #include "confdefs.h"
2781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2782 { (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2784 if test -z "$ac_err"; then
2788 echo "configure: failed program was:" >&5
2789 cat conftest.$ac_ext >&5
2798 ac_cv_prog_CPP="$CPP"
2800 CPP="$ac_cv_prog_CPP"
2802 ac_cv_prog_CPP="$CPP"
2804 echo "$ac_t""$CPP" 1>&6
2807 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2808 echo "configure:2809: checking for cstdio to use" >&5
2809 # Check whether --enable-cstdio or --disable-cstdio was given.
2810 if test "${enable_cstdio+set}" = set; then
2811 enableval="$enable_cstdio"
2812 if test x$enable_cstdio = xno; then
2820 enable_cstdio_flag=$enable_cstdio
2822 case x${enable_cstdio_flag} in
2824 CSTDIO_H=config/io/c_io_libio.h
2825 BASIC_FILE_H=config/io/basic_file_libio.h
2826 BASIC_FILE_CC=config/io/basic_file_libio.cc
2827 echo "$ac_t""libio" 1>&6
2829 # see if we are on a system with libio native (ie, linux)
2830 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2831 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2832 echo "configure:2833: checking for libio.h" >&5
2833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2834 echo $ac_n "(cached) $ac_c" 1>&6
2836 cat > conftest.$ac_ext <<EOF
2837 #line 2838 "configure"
2838 #include "confdefs.h"
2841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2842 { (eval echo configure:2843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2844 if test -z "$ac_err"; then
2846 eval "ac_cv_header_$ac_safe=yes"
2849 echo "configure: failed program was:" >&5
2850 cat conftest.$ac_ext >&5
2852 eval "ac_cv_header_$ac_safe=no"
2856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2857 echo "$ac_t""yes" 1>&6
2860 echo "$ac_t""no" 1>&6
2865 # Need to check and see what version of glibc is being used. If
2866 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2867 # compile most of libio for linux systems.
2868 if test x$has_libio = x"yes"; then
2871 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2872 echo "configure:2873: checking for glibc version >= 2.2" >&5
2873 cat > conftest.$ac_ext <<EOF
2874 #line 2875 "configure"
2875 #include "confdefs.h"
2877 #include <features.h>
2878 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2884 egrep "ok" >/dev/null 2>&1; then
2886 glibc_satisfactory=yes
2889 glibc_satisfactory=no
2893 echo "$ac_t""$glibc_satisfactory" 1>&6
2897 # XXX at the moment, admit defeat and force the recompilation
2898 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2899 glibc_satisfactory=no
2901 if test x$glibc_satisfactory = x"yes"; then
2906 # bkoz XXX need to add checks to enable this
2907 # pme XXX here's a first pass at such a check
2908 if test x$enable_c_mbchar != xno; then
2916 # Using libio, but <libio.h> doesn't exist on the target system. . .
2918 # bkoz XXX need to add checks to enable this
2919 # pme XXX here's a first pass at such a check
2920 if test x$enable_c_mbchar != xno; then
2927 xstdio | x | xno | xnone | xyes)
2929 CSTDIO_H=config/io/c_io_stdio.h
2930 BASIC_FILE_H=config/io/basic_file_stdio.h
2931 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2932 echo "$ac_t""stdio" 1>&6
2934 # We're not using stdio.
2939 echo "$enable_cstdio is an unknown io package" 1>&2
2947 # 2000-08-04 bkoz hack
2948 CCODECVT_C=config/io/c_io_libio_codecvt.c
2950 # 2000-08-04 bkoz hack
2954 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2955 GLIBCPP_BUILD_LIBIO_TRUE=
2956 GLIBCPP_BUILD_LIBIO_FALSE='#'
2958 GLIBCPP_BUILD_LIBIO_TRUE='#'
2959 GLIBCPP_BUILD_LIBIO_FALSE=
2963 if test "$need_libio" = yes; then
2964 GLIBCPP_NEED_LIBIO_TRUE=
2965 GLIBCPP_NEED_LIBIO_FALSE='#'
2967 GLIBCPP_NEED_LIBIO_TRUE='#'
2968 GLIBCPP_NEED_LIBIO_FALSE=
2972 if test "$need_wlibio" = yes; then
2973 GLIBCPP_NEED_WLIBIO_TRUE=
2974 GLIBCPP_NEED_WLIBIO_FALSE='#'
2976 GLIBCPP_NEED_WLIBIO_TRUE='#'
2977 GLIBCPP_NEED_WLIBIO_FALSE=
2979 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2980 libio_la=../libio/libio.la
2987 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2988 echo "configure:2989: checking for clocale to use" >&5
2989 # Check whether --enable-clocale or --disable-clocale was given.
2990 if test "${enable_clocale+set}" = set; then
2991 enableval="$enable_clocale"
2992 if test x$enable_clocale = xno; then
3000 enable_clocale_flag=$enable_clocale
3002 if test x$enable_clocale_flag = xno; then
3003 case x${target_os} in
3005 cat > conftest.$ac_ext <<EOF
3006 #line 3007 "configure"
3007 #include "confdefs.h"
3009 #include <features.h>
3010 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3016 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
3018 enable_clocale_flag=gnu
3021 enable_clocale_flag=generic
3026 # Test for bugs early in glibc-2.2.x series
3027 if test x$enable_clocale_flag = xgnu; then
3028 if test "$cross_compiling" = yes; then
3029 enable_clocale_flag=generic
3031 cat > conftest.$ac_ext <<EOF
3032 #line 3033 "configure"
3033 #include "confdefs.h"
3035 #define _GNU_SOURCE 1
3038 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3039 extern __typeof(newlocale) __newlocale;
3040 extern __typeof(duplocale) __duplocale;
3041 extern __typeof(strcoll_l) __strcoll_l;
3045 const char __one[] = "Äuglein Augmen";
3046 const char __two[] = "Äuglein";
3051 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3052 loc_dup = __duplocale(loc);
3053 i = __strcoll_l(__one, __two, loc);
3054 j = __strcoll_l(__one, __two, loc_dup);
3059 if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3061 enable_clocale_flag=gnu
3063 echo "configure: failed program was:" >&5
3064 cat conftest.$ac_ext >&5
3066 enable_clocale_flag=generic
3073 # ... at some point put __strxfrm_l tests in as well.
3076 enable_clocale_flag=generic
3081 # Check whether --enable-nls or --disable-nls was given.
3082 if test "${enable_nls+set}" = set; then
3083 enableval="$enable_nls"
3091 case x${enable_clocale_flag} in
3093 echo "$ac_t""generic" 1>&6
3095 CLOCALE_H=config/locale/generic/c_locale.h
3096 CLOCALE_CC=config/locale/generic/c_locale.cc
3097 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3099 CCOLLATE_CC=config/locale/generic/collate_members.cc
3100 CCTYPE_CC=config/locale/generic/ctype_members.cc
3101 CMESSAGES_H=config/locale/generic/messages_members.h
3102 CMESSAGES_CC=config/locale/generic/messages_members.cc
3103 CMONEY_CC=config/locale/generic/monetary_members.cc
3104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3105 CTIME_CC=config/locale/generic/time_members.cc
3106 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3109 echo "$ac_t""gnu" 1>&6
3111 # Declare intention to use gettext, and add support for specific
3113 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3116 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3117 # Extract the first word of "msgfmt", so it can be a program name with args.
3118 set dummy msgfmt; ac_word=$2
3119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3120 echo "configure:3121: checking for $ac_word" >&5
3121 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3122 echo $ac_n "(cached) $ac_c" 1>&6
3124 if test -n "$check_msgfmt"; then
3125 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3129 for ac_dir in $ac_dummy; do
3130 test -z "$ac_dir" && ac_dir=.
3131 if test -f $ac_dir/$ac_word; then
3132 ac_cv_prog_check_msgfmt="yes"
3137 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3140 check_msgfmt="$ac_cv_prog_check_msgfmt"
3141 if test -n "$check_msgfmt"; then
3142 echo "$ac_t""$check_msgfmt" 1>&6
3144 echo "$ac_t""no" 1>&6
3147 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3150 # Export the build objects.
3151 for ling in $ALL_LINGUAS; do \
3152 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3153 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3158 CLOCALE_H=config/locale/gnu/c_locale.h
3159 CLOCALE_CC=config/locale/gnu/c_locale.cc
3160 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3161 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3162 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3163 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3164 CMESSAGES_H=config/locale/gnu/messages_members.h
3165 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3166 CMONEY_CC=config/locale/gnu/monetary_members.cc
3167 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3168 CTIME_CC=config/locale/gnu/time_members.cc
3169 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3172 echo "$ac_t""generic" 1>&6
3174 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3175 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3176 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3177 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3178 CCOLLATE_CC=config/locale/generic/collate_members.cc
3179 CCTYPE_CC=config/locale/generic/ctype_members.cc
3180 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3181 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3182 CMONEY_CC=config/locale/generic/monetary_members.cc
3183 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3184 CTIME_CC=config/locale/generic/time_members.cc
3185 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3188 echo "$enable_clocale is an unknown locale package" 1>&2
3193 # This is where the testsuite looks for locale catalogs, using the
3194 # -DLOCALEDIR define during testsuite compilation.
3195 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3198 # For the time being, transform ctype_noninline.h to ctype_members_char.cc
3199 # CCTYPE_CHAR_CC=config/${os_include_dir}/ctype_noninline.h
3208 # AC_LINK_FILES($CCTYPE_CHAR_CC, src/ctype_members_char.cc)
3216 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3217 if test "${enable_c_mbchar+set}" = set; then
3218 enableval="$enable_c_mbchar"
3219 case "$enableval" in
3220 yes) enable_c_mbchar=yes ;;
3221 no) enable_c_mbchar=no ;;
3222 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3229 # Check whether --enable-c99 or --disable-c99 was given.
3230 if test "${enable_c99+set}" = set; then
3231 enableval="$enable_c99"
3232 case "$enableval" in
3233 yes) enable_c99=yes ;;
3234 no) enable_c99=no ;;
3235 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3244 ac_cpp='$CXXCPP $CPPFLAGS'
3245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3247 cross_compiling=$ac_cv_prog_cxx_cross
3250 # Check for the existence of <math.h> functions used if C99 is enabled.
3252 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3253 echo "configure:3254: checking for ISO C99 support in <math.h>" >&5
3254 cat > conftest.$ac_ext <<EOF
3255 #line 3256 "configure"
3256 #include "confdefs.h"
3262 if { (eval echo configure:3263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3265 echo "configure: failed program was:" >&5
3266 cat conftest.$ac_ext >&5
3271 cat > conftest.$ac_ext <<EOF
3272 #line 3273 "configure"
3273 #include "confdefs.h"
3279 if { (eval echo configure:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3282 echo "configure: failed program was:" >&5
3283 cat conftest.$ac_ext >&5
3288 cat > conftest.$ac_ext <<EOF
3289 #line 3290 "configure"
3290 #include "confdefs.h"
3296 if { (eval echo configure:3297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3299 echo "configure: failed program was:" >&5
3300 cat conftest.$ac_ext >&5
3305 cat > conftest.$ac_ext <<EOF
3306 #line 3307 "configure"
3307 #include "confdefs.h"
3313 if { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3316 echo "configure: failed program was:" >&5
3317 cat conftest.$ac_ext >&5
3322 cat > conftest.$ac_ext <<EOF
3323 #line 3324 "configure"
3324 #include "confdefs.h"
3330 if { (eval echo configure:3331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3333 echo "configure: failed program was:" >&5
3334 cat conftest.$ac_ext >&5
3339 cat > conftest.$ac_ext <<EOF
3340 #line 3341 "configure"
3341 #include "confdefs.h"
3347 if { (eval echo configure:3348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3350 echo "configure: failed program was:" >&5
3351 cat conftest.$ac_ext >&5
3356 cat > conftest.$ac_ext <<EOF
3357 #line 3358 "configure"
3358 #include "confdefs.h"
3364 if { (eval echo configure:3365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3367 echo "configure: failed program was:" >&5
3368 cat conftest.$ac_ext >&5
3373 cat > conftest.$ac_ext <<EOF
3374 #line 3375 "configure"
3375 #include "confdefs.h"
3378 isgreaterequal(0.0,0.0);
3381 if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3384 echo "configure: failed program was:" >&5
3385 cat conftest.$ac_ext >&5
3390 cat > conftest.$ac_ext <<EOF
3391 #line 3392 "configure"
3392 #include "confdefs.h"
3398 if { (eval echo configure:3399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3401 echo "configure: failed program was:" >&5
3402 cat conftest.$ac_ext >&5
3407 cat > conftest.$ac_ext <<EOF
3408 #line 3409 "configure"
3409 #include "confdefs.h"
3412 islessequal(0.0,0.0);
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 islessgreater(0.0,0.0);
3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 echo "configure: failed program was:" >&5
3436 cat conftest.$ac_ext >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure"
3443 #include "confdefs.h"
3446 isunordered(0.0,0.0);
3449 if { (eval echo configure:3450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 echo "configure: failed program was:" >&5
3453 cat conftest.$ac_ext >&5
3458 echo "$ac_t""$ac_c99_math" 1>&6
3460 # Check for the existence in <stdio.h> of vscanf, et. al.
3462 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3463 echo "configure:3464: checking for ISO C99 support in <stdio.h>" >&5
3464 cat > conftest.$ac_ext <<EOF
3465 #line 3466 "configure"
3466 #include "confdefs.h"
3469 snprintf("12", 0, "%i");
3472 if { (eval echo configure:3473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3475 echo "configure: failed program was:" >&5
3476 cat conftest.$ac_ext >&5
3481 cat > conftest.$ac_ext <<EOF
3482 #line 3483 "configure"
3483 #include "confdefs.h"
3486 void foo(char* fmt, ...)
3487 {va_list args; va_start(args, fmt);
3488 vfscanf(stderr, "%i", args);}
3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3496 echo "configure: failed program was:" >&5
3497 cat conftest.$ac_ext >&5
3502 cat > conftest.$ac_ext <<EOF
3503 #line 3504 "configure"
3504 #include "confdefs.h"
3507 void foo(char* fmt, ...)
3508 {va_list args; va_start(args, fmt);
3509 vscanf("%i", args);}
3514 if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3517 echo "configure: failed program was:" >&5
3518 cat conftest.$ac_ext >&5
3523 cat > conftest.$ac_ext <<EOF
3524 #line 3525 "configure"
3525 #include "confdefs.h"
3528 void foo(char* fmt, ...)
3529 {va_list args; va_start(args, fmt);
3530 vsnprintf(fmt, 0, "%i", args);}
3535 if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3538 echo "configure: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3544 cat > conftest.$ac_ext <<EOF
3545 #line 3546 "configure"
3546 #include "confdefs.h"
3549 void foo(char* fmt, ...)
3550 {va_list args; va_start(args, fmt);
3551 vsscanf(fmt, "%i", args);}
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559 echo "configure: failed program was:" >&5
3560 cat conftest.$ac_ext >&5
3565 echo "$ac_t""$ac_c99_stdio" 1>&6
3567 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3569 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3570 echo "configure:3571: checking for lldiv_t declaration" >&5
3571 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3572 echo $ac_n "(cached) $ac_c" 1>&6
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3587 echo "configure: failed program was:" >&5
3588 cat conftest.$ac_ext >&5
3596 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3598 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3599 echo "configure:3600: checking for ISO C99 support in <stdlib.h>" >&5
3600 cat > conftest.$ac_ext <<EOF
3601 #line 3602 "configure"
3602 #include "confdefs.h"
3605 char* tmp; strtof("gnu", &tmp);
3608 if { (eval echo configure:3609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3611 echo "configure: failed program was:" >&5
3612 cat conftest.$ac_ext >&5
3617 cat > conftest.$ac_ext <<EOF
3618 #line 3619 "configure"
3619 #include "confdefs.h"
3622 char* tmp; strtold("gnu", &tmp);
3625 if { (eval echo configure:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3628 echo "configure: failed program was:" >&5
3629 cat conftest.$ac_ext >&5
3634 cat > conftest.$ac_ext <<EOF
3635 #line 3636 "configure"
3636 #include "confdefs.h"
3642 if { (eval echo configure:3643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3645 echo "configure: failed program was:" >&5
3646 cat conftest.$ac_ext >&5
3651 cat > conftest.$ac_ext <<EOF
3652 #line 3653 "configure"
3653 #include "confdefs.h"
3659 if { (eval echo configure:3660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3662 echo "configure: failed program was:" >&5
3663 cat conftest.$ac_ext >&5
3668 cat > conftest.$ac_ext <<EOF
3669 #line 3670 "configure"
3670 #include "confdefs.h"
3676 if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3679 echo "configure: failed program was:" >&5
3680 cat conftest.$ac_ext >&5
3685 cat > conftest.$ac_ext <<EOF
3686 #line 3687 "configure"
3687 #include "confdefs.h"
3693 if { (eval echo configure:3694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3696 echo "configure: failed program was:" >&5
3697 cat conftest.$ac_ext >&5
3702 if test x"$ac_c99_lldiv_t" = x"no"; then
3705 echo "$ac_t""$ac_c99_stdlib" 1>&6
3707 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3708 # XXX the wchar.h checks should be rolled into the general C99 bits.
3710 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3711 echo "configure:3712: checking for additional ISO C99 support in <wchar.h>" >&5
3712 cat > conftest.$ac_ext <<EOF
3713 #line 3714 "configure"
3714 #include "confdefs.h"
3717 wcstold(L"10.0", NULL);
3720 if { (eval echo configure:3721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3723 echo "configure: failed program was:" >&5
3724 cat conftest.$ac_ext >&5
3729 cat > conftest.$ac_ext <<EOF
3730 #line 3731 "configure"
3731 #include "confdefs.h"
3734 wcstoll(L"10", NULL, 10);
3737 if { (eval echo configure:3738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3740 echo "configure: failed program was:" >&5
3741 cat conftest.$ac_ext >&5
3746 cat > conftest.$ac_ext <<EOF
3747 #line 3748 "configure"
3748 #include "confdefs.h"
3751 wcstoull(L"10", NULL, 10);
3754 if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3757 echo "configure: failed program was:" >&5
3758 cat conftest.$ac_ext >&5
3763 echo "$ac_t""$ac_c99_wchar" 1>&6
3765 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3766 echo "configure:3767: checking for enabled ISO C99 support" >&5
3767 if test x"$ac_c99_math" = x"no" ||
3768 test x"$ac_c99_stdio" = x"no" ||
3769 test x"$ac_c99_stdlib" = x"no" ||
3770 test x"$ac_c99_wchar" = x"no"; then
3773 echo "$ac_t""$enable_c99" 1>&6
3775 # Option parsed, now set things appropriately
3776 if test x"$enable_c99" = x"yes"; then
3777 cat >> confdefs.h <<\EOF
3778 #define _GLIBCPP_USE_C99 1
3784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3785 ac_cpp='$CPP $CPPFLAGS'
3786 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3787 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3788 cross_compiling=$ac_cv_prog_cc_cross
3792 # Check whether --enable-long-long or --disable-long-long was given.
3793 if test "${enable_long_long+set}" = set; then
3794 enableval="$enable_long_long"
3795 case "$enableval" in
3796 yes) enable_long_long=yes ;;
3797 no) enable_long_long=no ;;
3798 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3801 enable_long_long=yes
3806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3807 ac_cpp='$CXXCPP $CPPFLAGS'
3808 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3809 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3810 cross_compiling=$ac_cv_prog_cxx_cross
3813 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3814 echo "configure:3815: checking for enabled long long I/O support" >&5
3815 # iostreams require strtoll, strtoull to compile
3816 cat > conftest.$ac_ext <<EOF
3817 #line 3818 "configure"
3818 #include "confdefs.h"
3821 char* tmp; strtoll("gnu", &tmp, 10);
3824 if { (eval echo configure:3825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3827 echo "configure: failed program was:" >&5
3828 cat conftest.$ac_ext >&5
3833 cat > conftest.$ac_ext <<EOF
3834 #line 3835 "configure"
3835 #include "confdefs.h"
3838 char* tmp; strtoull("gnu", &tmp, 10);
3841 if { (eval echo configure:3842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3844 echo "configure: failed program was:" >&5
3845 cat conftest.$ac_ext >&5
3851 # Option parsed, now set things appropriately
3852 if test x"$enable_long_long" = xyes; then
3853 cat >> confdefs.h <<\EOF
3854 #define _GLIBCPP_USE_LONG_LONG 1
3858 echo "$ac_t""$enable_long_long" 1>&6
3861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3862 ac_cpp='$CPP $CPPFLAGS'
3863 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3864 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3865 cross_compiling=$ac_cv_prog_cc_cross
3868 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3869 echo "configure:3870: checking for c header strategy to use" >&5
3870 # Check whether --enable-cheaders or --disable-cheaders was given.
3871 if test "${enable_cheaders+set}" = set; then
3872 enableval="$enable_cheaders"
3874 case "$enableval" in
3879 enable_cheaders=c_std
3881 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3885 enable_cheaders=c_std
3888 echo "$ac_t""$enable_cheaders" 1>&6
3890 case "$enable_cheaders" in
3892 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3895 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3902 if test "$enable_cheaders" = c; then
3903 GLIBCPP_C_HEADERS_C_TRUE=
3904 GLIBCPP_C_HEADERS_C_FALSE='#'
3906 GLIBCPP_C_HEADERS_C_TRUE='#'
3907 GLIBCPP_C_HEADERS_C_FALSE=
3911 if test "$enable_cheaders" = c_std; then
3912 GLIBCPP_C_HEADERS_C_STD_TRUE=
3913 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3915 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3916 GLIBCPP_C_HEADERS_C_STD_FALSE=
3920 if test "$c_compatibility" = yes; then
3921 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3922 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3924 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3925 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3929 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3930 echo "configure:3931: checking for thread model used by GCC" >&5
3931 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3932 echo "$ac_t""$target_thread_file" 1>&6
3934 if test $target_thread_file != single; then
3935 cat >> confdefs.h <<\EOF
3936 #define HAVE_GTHR_DEFAULT 1
3939 cat >> confdefs.h <<\EOF
3940 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3945 glibcpp_thread_h=gthr-$target_thread_file.h
3948 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3949 if test "${enable_cxx_flags+set}" = set; then
3950 enableval="$enable_cxx_flags"
3951 case "x$enableval" in
3953 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3955 enable_cxx_flags='' ;;
3957 enable_cxx_flags="$enableval" ;;
3960 enable_cxx_flags='none'
3964 if test "$enable_cxx_flags" = "none"; then
3965 enable_cxx_flags='';
3968 if test -n "$enable_cxx_flags"; then
3969 for f in $enable_cxx_flags; do
3973 *) # and we're trying to pass /what/ exactly?
3974 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3978 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3982 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3983 echo "configure:3984: checking for exception model to use" >&5
3986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3987 ac_cpp='$CXXCPP $CPPFLAGS'
3988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3990 cross_compiling=$ac_cv_prog_cxx_cross
3992 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3993 if test "${enable_sjlj_exceptions+set}" = set; then
3994 enableval="$enable_sjlj_exceptions"
3997 cat > conftest.$ac_ext << EOF
3998 #line 3999 "configure"
4007 old_CXXFLAGS="$CXXFLAGS"
4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4010 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4011 enable_sjlj_exceptions=yes
4012 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4013 enable_sjlj_exceptions=no
4016 CXXFLAGS="$old_CXXFLAGS"
4020 if test x$enable_sjlj_exceptions = xyes; then
4021 cat >> confdefs.h <<\EOF
4022 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4025 ac_exception_model_name=sjlj
4026 elif test x$enable_sjlj_exceptions = xno; then
4027 ac_exception_model_name="call frame"
4029 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
4032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4033 ac_cpp='$CPP $CPPFLAGS'
4034 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4035 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4036 cross_compiling=$ac_cv_prog_cc_cross
4038 echo "$ac_t""$ac_exception_model_name" 1>&6
4041 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4042 echo "configure:4043: checking for use of libunwind" >&5
4043 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4044 if test "${enable_libunwind_exceptions+set}" = set; then
4045 enableval="$enable_libunwind_exceptions"
4046 use_libunwind_exceptions=$enableval
4048 use_libunwind_exceptions=no
4051 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4052 if test x"$use_libunwind_exceptions" = xyes; then
4053 LIBUNWIND_FLAG="-lunwind"
4059 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4060 if test "${enable_concept_checks+set}" = set; then
4061 enableval="$enable_concept_checks"
4062 case "$enableval" in
4063 yes) enable_concept_checks=yes ;;
4064 no) enable_concept_checks=no ;;
4065 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4068 enable_concept_checks=no
4070 if test x"$enable_concept_checks" = xyes; then
4071 cat >> confdefs.h <<\EOF
4072 #define _GLIBCPP_CONCEPT_CHECKS 1
4078 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4079 for ac_hdr in string.h stdlib.h
4081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4083 echo "configure:4084: checking for $ac_hdr" >&5
4084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4085 echo $ac_n "(cached) $ac_c" 1>&6
4087 cat > conftest.$ac_ext <<EOF
4088 #line 4089 "configure"
4089 #include "confdefs.h"
4092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4093 { (eval echo configure:4094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4095 if test -z "$ac_err"; then
4097 eval "ac_cv_header_$ac_safe=yes"
4100 echo "configure: failed program was:" >&5
4101 cat conftest.$ac_ext >&5
4103 eval "ac_cv_header_$ac_safe=no"
4107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4108 echo "$ac_t""yes" 1>&6
4109 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4110 cat >> confdefs.h <<EOF
4111 #define $ac_tr_hdr 1
4115 echo "$ac_t""no" 1>&6
4120 # No surprises, no surprises...
4121 if test $ATOMICITYH = cpu/generic ; then
4122 echo "configure: warning: No native atomic operations are provided yet for this platform." 1>&2
4123 if test $target_thread_file = single; then
4124 echo "configure: warning: They cannot be faked when thread support is disabled." 1>&2
4125 echo "configure: warning: Thread-safety of certain classes is not guaranteed." 1>&2
4127 echo "configure: warning: They will be faked using a mutex." 1>&2
4128 echo "configure: warning: Performance of certain classes will degrade as a result." 1>&2
4133 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4135 # We are being configured with some form of cross compiler.
4136 GLIBCPP_IS_CROSS_COMPILING=1
4138 # This lets us hard-code the functionality we know we'll have in the cross
4139 # target environment. "Let" is a sugar-coated word placed on an especially
4140 # dull and tedious hack, actually.
4142 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4143 # that involve linking, can't be used:
4144 # "cannot open sim-crt0.o"
4145 # "cannot open crt0.o"
4146 # etc. All this is because there currently exists no unified, consistent
4147 # way for top level CC information to be passed down to target directories:
4148 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4149 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4150 # crosses can be removed.
4152 # If Canadian cross, then don't pick up tools from the build directory.
4153 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4154 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4160 # Construct crosses by hand, eliminating bits that need ld...
4161 # GLIBCPP_CHECK_COMPILER_FEATURES
4162 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4163 # GLIBCPP_CHECK_MATH_SUPPORT
4167 os_include_dir="os/gnu-linux"
4168 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4169 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4170 fp.h locale.h float.h inttypes.h
4172 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4173 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4174 echo "configure:4175: checking for $ac_hdr" >&5
4175 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4176 echo $ac_n "(cached) $ac_c" 1>&6
4178 cat > conftest.$ac_ext <<EOF
4179 #line 4180 "configure"
4180 #include "confdefs.h"
4183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4184 { (eval echo configure:4185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4186 if test -z "$ac_err"; then
4188 eval "ac_cv_header_$ac_safe=yes"
4191 echo "configure: failed program was:" >&5
4192 cat conftest.$ac_ext >&5
4194 eval "ac_cv_header_$ac_safe=no"
4198 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4199 echo "$ac_t""yes" 1>&6
4200 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4201 cat >> confdefs.h <<EOF
4202 #define $ac_tr_hdr 1
4206 echo "$ac_t""no" 1>&6
4210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4213 # If we're not using GNU ld, then there's no point in even trying these
4214 # tests. Check for that first. We should have already tested for gld
4215 # by now (in libtool), but require it now just to be safe...
4216 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4217 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4220 # The name set by libtool depends on the version of libtool. Shame on us
4221 # for depending on an impl detail, but c'est la vie. Older versions used
4222 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4223 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4224 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4225 # set (hence we're using an older libtool), then set it.
4226 if test x${with_gnu_ld+set} != xset; then
4227 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4228 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4231 with_gnu_ld=$ac_cv_prog_gnu_ld
4235 # Start by getting the version number. I think the libtool test already
4236 # does some of this, but throws away the result.
4238 ldver=`$LD --version 2>/dev/null | head -1 | \
4239 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4241 glibcpp_gnu_ld_version=`echo $ldver | \
4242 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4244 # Set --gc-sections.
4245 if test "$with_gnu_ld" = "notbroken"; then
4246 # GNU ld it is! Joy and bunny rabbits!
4248 # All these tests are for C++; save the language and the compiler flags.
4249 # Need to do this so that g++ won't try to link in libstdc++
4250 ac_test_CFLAGS="${CFLAGS+set}"
4251 ac_save_CFLAGS="$CFLAGS"
4252 CFLAGS='-x c++ -Wl,--gc-sections'
4254 # Check for -Wl,--gc-sections
4255 # XXX This test is broken at the moment, as symbols required for
4256 # linking are now in libsupc++ (not built yet.....). In addition,
4257 # this test has cored on solaris in the past. In addition,
4258 # --gc-sections doesn't really work at the moment (keeps on discarding
4259 # used sections, first .eh_frame and now some of the glibc sections for
4260 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4261 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4262 echo "configure:4263: checking for ld that supports -Wl,--gc-sections" >&5
4263 if test "$cross_compiling" = yes; then
4264 ac_sectionLDflags=yes
4266 cat > conftest.$ac_ext <<EOF
4267 #line 4268 "configure"
4268 #include "confdefs.h"
4278 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4280 ac_sectionLDflags=yes
4282 echo "configure: failed program was:" >&5
4283 cat conftest.$ac_ext >&5
4285 ac_sectionLDflags=no
4290 if test "$ac_test_CFLAGS" = set; then
4291 CFLAGS="$ac_save_CFLAGS"
4293 # this is the suspicious part
4296 if test "$ac_sectionLDflags" = "yes"; then
4297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4299 echo "$ac_t""$ac_sectionLDflags" 1>&6
4302 # Set linker optimization flags.
4303 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4304 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4311 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4312 echo "configure:4313: checking for main in -lm" >&5
4313 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4315 echo $ac_n "(cached) $ac_c" 1>&6
4317 ac_save_LIBS="$LIBS"
4319 cat > conftest.$ac_ext <<EOF
4320 #line 4321 "configure"
4321 #include "confdefs.h"
4327 if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4329 eval "ac_cv_lib_$ac_lib_var=yes"
4331 echo "configure: failed program was:" >&5
4332 cat conftest.$ac_ext >&5
4334 eval "ac_cv_lib_$ac_lib_var=no"
4337 LIBS="$ac_save_LIBS"
4340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4341 echo "$ac_t""yes" 1>&6
4342 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4343 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4344 cat >> confdefs.h <<EOF
4345 #define $ac_tr_lib 1
4351 echo "$ac_t""no" 1>&6
4354 for ac_func in nan copysignf
4356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4357 echo "configure:4358: checking for $ac_func" >&5
4358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4359 echo $ac_n "(cached) $ac_c" 1>&6
4361 cat > conftest.$ac_ext <<EOF
4362 #line 4363 "configure"
4363 #include "confdefs.h"
4364 /* System header to define __stub macros and hopefully few prototypes,
4365 which can conflict with char $ac_func(); below. */
4367 /* Override any gcc2 internal prototype to avoid an error. */
4368 /* We use char because int might match the return type of a gcc2
4369 builtin and then its argument prototype would still apply. */
4374 /* The GNU C library defines this for functions which it implements
4375 to always fail with ENOSYS. Some functions are actually named
4376 something starting with __ and the normal name is an alias. */
4377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4385 if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4387 eval "ac_cv_func_$ac_func=yes"
4389 echo "configure: failed program was:" >&5
4390 cat conftest.$ac_ext >&5
4392 eval "ac_cv_func_$ac_func=no"
4397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4398 echo "$ac_t""yes" 1>&6
4399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4400 cat >> confdefs.h <<EOF
4401 #define $ac_tr_func 1
4405 echo "$ac_t""no" 1>&6
4406 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4411 for ac_func in __signbit
4413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4414 echo "configure:4415: checking for $ac_func" >&5
4415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4416 echo $ac_n "(cached) $ac_c" 1>&6
4418 cat > conftest.$ac_ext <<EOF
4419 #line 4420 "configure"
4420 #include "confdefs.h"
4421 /* System header to define __stub macros and hopefully few prototypes,
4422 which can conflict with char $ac_func(); below. */
4424 /* Override any gcc2 internal prototype to avoid an error. */
4425 /* We use char because int might match the return type of a gcc2
4426 builtin and then its argument prototype would still apply. */
4431 /* The GNU C library defines this for functions which it implements
4432 to always fail with ENOSYS. Some functions are actually named
4433 something starting with __ and the normal name is an alias. */
4434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4442 if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4444 eval "ac_cv_func_$ac_func=yes"
4446 echo "configure: failed program was:" >&5
4447 cat conftest.$ac_ext >&5
4449 eval "ac_cv_func_$ac_func=no"
4454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4455 echo "$ac_t""yes" 1>&6
4456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4457 cat >> confdefs.h <<EOF
4458 #define $ac_tr_func 1
4462 echo "$ac_t""no" 1>&6
4463 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4467 for ac_func in __signbitf
4469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4470 echo "configure:4471: checking for $ac_func" >&5
4471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4472 echo $ac_n "(cached) $ac_c" 1>&6
4474 cat > conftest.$ac_ext <<EOF
4475 #line 4476 "configure"
4476 #include "confdefs.h"
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char $ac_func(); below. */
4480 /* Override any gcc2 internal prototype to avoid an error. */
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4487 /* The GNU C library defines this for functions which it implements
4488 to always fail with ENOSYS. Some functions are actually named
4489 something starting with __ and the normal name is an alias. */
4490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4500 eval "ac_cv_func_$ac_func=yes"
4502 echo "configure: failed program was:" >&5
4503 cat conftest.$ac_ext >&5
4505 eval "ac_cv_func_$ac_func=no"
4510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4511 echo "$ac_t""yes" 1>&6
4512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4513 cat >> confdefs.h <<EOF
4514 #define $ac_tr_func 1
4518 echo "$ac_t""no" 1>&6
4519 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4524 if test x$ac_cv_func_copysignl = x"yes"; then
4525 for ac_func in __signbitl
4527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4528 echo "configure:4529: checking for $ac_func" >&5
4529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4530 echo $ac_n "(cached) $ac_c" 1>&6
4532 cat > conftest.$ac_ext <<EOF
4533 #line 4534 "configure"
4534 #include "confdefs.h"
4535 /* System header to define __stub macros and hopefully few prototypes,
4536 which can conflict with char $ac_func(); below. */
4538 /* Override any gcc2 internal prototype to avoid an error. */
4539 /* We use char because int might match the return type of a gcc2
4540 builtin and then its argument prototype would still apply. */
4545 /* The GNU C library defines this for functions which it implements
4546 to always fail with ENOSYS. Some functions are actually named
4547 something starting with __ and the normal name is an alias. */
4548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4558 eval "ac_cv_func_$ac_func=yes"
4560 echo "configure: failed program was:" >&5
4561 cat conftest.$ac_ext >&5
4563 eval "ac_cv_func_$ac_func=no"
4568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4569 echo "$ac_t""yes" 1>&6
4570 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4571 cat >> confdefs.h <<EOF
4572 #define $ac_tr_func 1
4576 echo "$ac_t""no" 1>&6
4577 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4587 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4588 echo "configure:4589: checking for mbstate_t" >&5
4589 cat > conftest.$ac_ext <<EOF
4590 #line 4591 "configure"
4591 #include "confdefs.h"
4594 mbstate_t teststate;
4597 if { (eval echo configure:4598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4601 echo "configure: failed program was:" >&5
4602 cat conftest.$ac_ext >&5
4607 echo "$ac_t""$have_mbstate_t" 1>&6
4608 if test x"$have_mbstate_t" = xyes; then
4609 cat >> confdefs.h <<\EOF
4610 #define HAVE_MBSTATE_T 1
4615 for ac_hdr in wchar.h
4617 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4619 echo "configure:4620: checking for $ac_hdr" >&5
4620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4621 echo $ac_n "(cached) $ac_c" 1>&6
4623 cat > conftest.$ac_ext <<EOF
4624 #line 4625 "configure"
4625 #include "confdefs.h"
4628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4629 { (eval echo configure:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4631 if test -z "$ac_err"; then
4633 eval "ac_cv_header_$ac_safe=yes"
4636 echo "configure: failed program was:" >&5
4637 cat conftest.$ac_ext >&5
4639 eval "ac_cv_header_$ac_safe=no"
4643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4644 echo "$ac_t""yes" 1>&6
4645 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4646 cat >> confdefs.h <<EOF
4647 #define $ac_tr_hdr 1
4651 echo "$ac_t""no" 1>&6
4656 for ac_hdr in wctype.h
4658 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4660 echo "configure:4661: checking for $ac_hdr" >&5
4661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4662 echo $ac_n "(cached) $ac_c" 1>&6
4664 cat > conftest.$ac_ext <<EOF
4665 #line 4666 "configure"
4666 #include "confdefs.h"
4669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4670 { (eval echo configure:4671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4672 if test -z "$ac_err"; then
4674 eval "ac_cv_header_$ac_safe=yes"
4677 echo "configure: failed program was:" >&5
4678 cat conftest.$ac_ext >&5
4680 eval "ac_cv_header_$ac_safe=no"
4684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4685 echo "$ac_t""yes" 1>&6
4686 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4687 cat >> confdefs.h <<EOF
4688 #define $ac_tr_hdr 1
4692 echo "$ac_t""no" 1>&6
4698 if test x"$ac_has_wchar_h" = xyes &&
4699 test x"$ac_has_wctype_h" = xyes &&
4700 test x"$enable_c_mbchar" != xno; then
4702 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4703 echo "configure:4704: checking for WCHAR_MIN and WCHAR_MAX" >&5
4704 cat > conftest.$ac_ext <<EOF
4705 #line 4706 "configure"
4706 #include "confdefs.h"
4709 int i = WCHAR_MIN; int j = WCHAR_MAX;
4712 if { (eval echo configure:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4714 has_wchar_minmax=yes
4716 echo "configure: failed program was:" >&5
4717 cat conftest.$ac_ext >&5
4722 echo "$ac_t""$has_wchar_minmax" 1>&6
4724 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4725 echo "configure:4726: checking for WEOF" >&5
4726 cat > conftest.$ac_ext <<EOF
4727 #line 4728 "configure"
4728 #include "confdefs.h"
4736 if { (eval echo configure:4737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4740 echo "configure: failed program was:" >&5
4741 cat conftest.$ac_ext >&5
4746 echo "$ac_t""$has_weof" 1>&6
4749 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4752 echo "configure:4753: checking for $ac_func" >&5
4753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4754 echo $ac_n "(cached) $ac_c" 1>&6
4756 cat > conftest.$ac_ext <<EOF
4757 #line 4758 "configure"
4758 #include "confdefs.h"
4759 /* System header to define __stub macros and hopefully few prototypes,
4760 which can conflict with char $ac_func(); below. */
4762 /* Override any gcc2 internal prototype to avoid an error. */
4763 /* We use char because int might match the return type of a gcc2
4764 builtin and then its argument prototype would still apply. */
4769 /* The GNU C library defines this for functions which it implements
4770 to always fail with ENOSYS. Some functions are actually named
4771 something starting with __ and the normal name is an alias. */
4772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4782 eval "ac_cv_func_$ac_func=yes"
4784 echo "configure: failed program was:" >&5
4785 cat conftest.$ac_ext >&5
4787 eval "ac_cv_func_$ac_func=no"
4792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4793 echo "$ac_t""yes" 1>&6
4794 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4795 cat >> confdefs.h <<EOF
4796 #define $ac_tr_func 1
4800 echo "$ac_t""no" 1>&6
4807 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4808 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4809 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4810 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4811 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4812 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4815 echo "configure:4816: checking for $ac_func" >&5
4816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4817 echo $ac_n "(cached) $ac_c" 1>&6
4819 cat > conftest.$ac_ext <<EOF
4820 #line 4821 "configure"
4821 #include "confdefs.h"
4822 /* System header to define __stub macros and hopefully few prototypes,
4823 which can conflict with char $ac_func(); below. */
4825 /* Override any gcc2 internal prototype to avoid an error. */
4826 /* We use char because int might match the return type of a gcc2
4827 builtin and then its argument prototype would still apply. */
4832 /* The GNU C library defines this for functions which it implements
4833 to always fail with ENOSYS. Some functions are actually named
4834 something starting with __ and the normal name is an alias. */
4835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4843 if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4845 eval "ac_cv_func_$ac_func=yes"
4847 echo "configure: failed program was:" >&5
4848 cat conftest.$ac_ext >&5
4850 eval "ac_cv_func_$ac_func=no"
4855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4856 echo "$ac_t""yes" 1>&6
4857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4858 cat >> confdefs.h <<EOF
4859 #define $ac_tr_func 1
4863 echo "$ac_t""no" 1>&6
4870 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4871 echo "configure:4872: checking for ISO C99 wchar_t support" >&5
4872 if test x"$has_weof" = xyes &&
4873 test x"$has_wchar_minmax" = xyes &&
4874 test x"$ac_wfuncs" = xyes; then
4875 ac_isoC99_wchar_t=yes
4877 ac_isoC99_wchar_t=no
4879 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4881 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4882 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4883 echo "configure:4884: checking for iconv.h" >&5
4884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4885 echo $ac_n "(cached) $ac_c" 1>&6
4887 cat > conftest.$ac_ext <<EOF
4888 #line 4889 "configure"
4889 #include "confdefs.h"
4892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4893 { (eval echo configure:4894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4895 if test -z "$ac_err"; then
4897 eval "ac_cv_header_$ac_safe=yes"
4900 echo "configure: failed program was:" >&5
4901 cat conftest.$ac_ext >&5
4903 eval "ac_cv_header_$ac_safe=no"
4907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4908 echo "$ac_t""yes" 1>&6
4911 echo "$ac_t""no" 1>&6
4915 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4916 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4917 echo "configure:4918: checking for langinfo.h" >&5
4918 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4919 echo $ac_n "(cached) $ac_c" 1>&6
4921 cat > conftest.$ac_ext <<EOF
4922 #line 4923 "configure"
4923 #include "confdefs.h"
4924 #include <langinfo.h>
4926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4927 { (eval echo configure:4928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4929 if test -z "$ac_err"; then
4931 eval "ac_cv_header_$ac_safe=yes"
4934 echo "configure: failed program was:" >&5
4935 cat conftest.$ac_ext >&5
4937 eval "ac_cv_header_$ac_safe=no"
4941 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4942 echo "$ac_t""yes" 1>&6
4943 ac_has_langinfo_h=yes
4945 echo "$ac_t""no" 1>&6
4946 ac_has_langinfo_h=no
4950 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4951 echo "configure:4952: checking for iconv in -liconv" >&5
4952 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4954 echo $ac_n "(cached) $ac_c" 1>&6
4956 ac_save_LIBS="$LIBS"
4957 LIBS="-liconv $LIBS"
4958 cat > conftest.$ac_ext <<EOF
4959 #line 4960 "configure"
4960 #include "confdefs.h"
4961 /* Override any gcc2 internal prototype to avoid an error. */
4962 /* We use char because int might match the return type of a gcc2
4963 builtin and then its argument prototype would still apply. */
4970 if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4972 eval "ac_cv_lib_$ac_lib_var=yes"
4974 echo "configure: failed program was:" >&5
4975 cat conftest.$ac_ext >&5
4977 eval "ac_cv_lib_$ac_lib_var=no"
4980 LIBS="$ac_save_LIBS"
4983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4984 echo "$ac_t""yes" 1>&6
4987 echo "$ac_t""no" 1>&6
4990 ac_save_LIBS="$LIBS"
4991 LIBS="$LIBS $libiconv"
4993 for ac_func in iconv_open iconv_close iconv nl_langinfo
4995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4996 echo "configure:4997: checking for $ac_func" >&5
4997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4998 echo $ac_n "(cached) $ac_c" 1>&6
5000 cat > conftest.$ac_ext <<EOF
5001 #line 5002 "configure"
5002 #include "confdefs.h"
5003 /* System header to define __stub macros and hopefully few prototypes,
5004 which can conflict with char $ac_func(); below. */
5006 /* Override any gcc2 internal prototype to avoid an error. */
5007 /* We use char because int might match the return type of a gcc2
5008 builtin and then its argument prototype would still apply. */
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5026 eval "ac_cv_func_$ac_func=yes"
5028 echo "configure: failed program was:" >&5
5029 cat conftest.$ac_ext >&5
5031 eval "ac_cv_func_$ac_func=no"
5036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5037 echo "$ac_t""yes" 1>&6
5038 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5039 cat >> confdefs.h <<EOF
5040 #define $ac_tr_func 1
5045 echo "$ac_t""no" 1>&6
5051 LIBS="$ac_save_LIBS"
5053 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5054 echo "configure:5055: checking for XPG2 wchar_t support" >&5
5055 if test x"$ac_has_iconv_h" = xyes &&
5056 test x"$ac_has_langinfo_h" = xyes &&
5057 test x"$ac_XPG2funcs" = xyes; then
5062 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5064 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5065 echo "configure:5066: checking for enabled wchar_t specializations" >&5
5066 if test x"$ac_isoC99_wchar_t" = xyes &&
5067 test x"$ac_XPG2_wchar_t" = xyes; then
5068 cat >> confdefs.h <<\EOF
5069 #define _GLIBCPP_USE_WCHAR_T 1
5072 echo "$ac_t"""yes"" 1>&6
5074 echo "$ac_t"""no"" 1>&6
5077 echo "configure: warning: wchar_t support disabled." 1>&2
5080 cat >> confdefs.h <<\EOF
5081 #define HAVE_COPYSIGN 1
5084 cat >> confdefs.h <<\EOF
5085 #define HAVE_COPYSIGNF 1
5088 cat >> confdefs.h <<\EOF
5089 #define HAVE_FINITE 1
5092 cat >> confdefs.h <<\EOF
5093 #define HAVE_FINITEF 1
5096 cat >> confdefs.h <<\EOF
5097 #define HAVE_FREXPF 1
5100 cat >> confdefs.h <<\EOF
5101 #define HAVE_HYPOTF 1
5104 cat >> confdefs.h <<\EOF
5105 #define HAVE_ISINF 1
5108 cat >> confdefs.h <<\EOF
5109 #define HAVE_ISINFF 1
5112 cat >> confdefs.h <<\EOF
5113 #define HAVE_ISNAN 1
5116 cat >> confdefs.h <<\EOF
5117 #define HAVE_ISNANF 1
5120 cat >> confdefs.h <<\EOF
5121 #define HAVE_SINCOS 1
5124 cat >> confdefs.h <<\EOF
5125 #define HAVE_SINCOSF 1
5128 if test x"long_double_math_on_this_cpu" = x"yes"; then
5129 cat >> confdefs.h <<\EOF
5130 #define HAVE_FINITEL 1
5133 cat >> confdefs.h <<\EOF
5134 #define HAVE_HYPOTL 1
5137 cat >> confdefs.h <<\EOF
5138 #define HAVE_ISINFL 1
5141 cat >> confdefs.h <<\EOF
5142 #define HAVE_ISNANL 1
5148 # Check for available headers.
5149 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5150 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5151 fp.h locale.h float.h inttypes.h
5153 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5154 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5155 echo "configure:5156: checking for $ac_hdr" >&5
5156 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5157 echo $ac_n "(cached) $ac_c" 1>&6
5159 cat > conftest.$ac_ext <<EOF
5160 #line 5161 "configure"
5161 #include "confdefs.h"
5164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5165 { (eval echo configure:5166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5166 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5167 if test -z "$ac_err"; then
5169 eval "ac_cv_header_$ac_safe=yes"
5172 echo "configure: failed program was:" >&5
5173 cat conftest.$ac_ext >&5
5175 eval "ac_cv_header_$ac_safe=no"
5179 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5180 echo "$ac_t""yes" 1>&6
5181 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5182 cat >> confdefs.h <<EOF
5183 #define $ac_tr_hdr 1
5187 echo "$ac_t""no" 1>&6
5191 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5194 # If we're not using GNU ld, then there's no point in even trying these
5195 # tests. Check for that first. We should have already tested for gld
5196 # by now (in libtool), but require it now just to be safe...
5197 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5198 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5201 # The name set by libtool depends on the version of libtool. Shame on us
5202 # for depending on an impl detail, but c'est la vie. Older versions used
5203 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5204 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5205 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5206 # set (hence we're using an older libtool), then set it.
5207 if test x${with_gnu_ld+set} != xset; then
5208 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5209 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5212 with_gnu_ld=$ac_cv_prog_gnu_ld
5216 # Start by getting the version number. I think the libtool test already
5217 # does some of this, but throws away the result.
5219 ldver=`$LD --version 2>/dev/null | head -1 | \
5220 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5222 glibcpp_gnu_ld_version=`echo $ldver | \
5223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5225 # Set --gc-sections.
5226 if test "$with_gnu_ld" = "notbroken"; then
5227 # GNU ld it is! Joy and bunny rabbits!
5229 # All these tests are for C++; save the language and the compiler flags.
5230 # Need to do this so that g++ won't try to link in libstdc++
5231 ac_test_CFLAGS="${CFLAGS+set}"
5232 ac_save_CFLAGS="$CFLAGS"
5233 CFLAGS='-x c++ -Wl,--gc-sections'
5235 # Check for -Wl,--gc-sections
5236 # XXX This test is broken at the moment, as symbols required for
5237 # linking are now in libsupc++ (not built yet.....). In addition,
5238 # this test has cored on solaris in the past. In addition,
5239 # --gc-sections doesn't really work at the moment (keeps on discarding
5240 # used sections, first .eh_frame and now some of the glibc sections for
5241 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5242 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5243 echo "configure:5244: checking for ld that supports -Wl,--gc-sections" >&5
5244 if test "$cross_compiling" = yes; then
5245 ac_sectionLDflags=yes
5247 cat > conftest.$ac_ext <<EOF
5248 #line 5249 "configure"
5249 #include "confdefs.h"
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5261 ac_sectionLDflags=yes
5263 echo "configure: failed program was:" >&5
5264 cat conftest.$ac_ext >&5
5266 ac_sectionLDflags=no
5271 if test "$ac_test_CFLAGS" = set; then
5272 CFLAGS="$ac_save_CFLAGS"
5274 # this is the suspicious part
5277 if test "$ac_sectionLDflags" = "yes"; then
5278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5280 echo "$ac_t""$ac_sectionLDflags" 1>&6
5283 # Set linker optimization flags.
5284 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5292 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5293 echo "configure:5294: checking for main in -lm" >&5
5294 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5296 echo $ac_n "(cached) $ac_c" 1>&6
5298 ac_save_LIBS="$LIBS"
5300 cat > conftest.$ac_ext <<EOF
5301 #line 5302 "configure"
5302 #include "confdefs.h"
5308 if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5310 eval "ac_cv_lib_$ac_lib_var=yes"
5312 echo "configure: failed program was:" >&5
5313 cat conftest.$ac_ext >&5
5315 eval "ac_cv_lib_$ac_lib_var=no"
5318 LIBS="$ac_save_LIBS"
5321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5322 echo "$ac_t""yes" 1>&6
5323 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5324 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5325 cat >> confdefs.h <<EOF
5326 #define $ac_tr_lib 1
5332 echo "$ac_t""no" 1>&6
5335 for ac_func in nan copysignf
5337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5338 echo "configure:5339: checking for $ac_func" >&5
5339 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5340 echo $ac_n "(cached) $ac_c" 1>&6
5342 cat > conftest.$ac_ext <<EOF
5343 #line 5344 "configure"
5344 #include "confdefs.h"
5345 /* System header to define __stub macros and hopefully few prototypes,
5346 which can conflict with char $ac_func(); below. */
5348 /* Override any gcc2 internal prototype to avoid an error. */
5349 /* We use char because int might match the return type of a gcc2
5350 builtin and then its argument prototype would still apply. */
5355 /* The GNU C library defines this for functions which it implements
5356 to always fail with ENOSYS. Some functions are actually named
5357 something starting with __ and the normal name is an alias. */
5358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5366 if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5368 eval "ac_cv_func_$ac_func=yes"
5370 echo "configure: failed program was:" >&5
5371 cat conftest.$ac_ext >&5
5373 eval "ac_cv_func_$ac_func=no"
5378 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5379 echo "$ac_t""yes" 1>&6
5380 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5381 cat >> confdefs.h <<EOF
5382 #define $ac_tr_func 1
5386 echo "$ac_t""no" 1>&6
5387 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5392 for ac_func in __signbit
5394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5395 echo "configure:5396: checking for $ac_func" >&5
5396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5397 echo $ac_n "(cached) $ac_c" 1>&6
5399 cat > conftest.$ac_ext <<EOF
5400 #line 5401 "configure"
5401 #include "confdefs.h"
5402 /* System header to define __stub macros and hopefully few prototypes,
5403 which can conflict with char $ac_func(); below. */
5405 /* Override any gcc2 internal prototype to avoid an error. */
5406 /* We use char because int might match the return type of a gcc2
5407 builtin and then its argument prototype would still apply. */
5412 /* The GNU C library defines this for functions which it implements
5413 to always fail with ENOSYS. Some functions are actually named
5414 something starting with __ and the normal name is an alias. */
5415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5423 if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5425 eval "ac_cv_func_$ac_func=yes"
5427 echo "configure: failed program was:" >&5
5428 cat conftest.$ac_ext >&5
5430 eval "ac_cv_func_$ac_func=no"
5435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5436 echo "$ac_t""yes" 1>&6
5437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5438 cat >> confdefs.h <<EOF
5439 #define $ac_tr_func 1
5443 echo "$ac_t""no" 1>&6
5444 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5448 for ac_func in __signbitf
5450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5451 echo "configure:5452: checking for $ac_func" >&5
5452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5453 echo $ac_n "(cached) $ac_c" 1>&6
5455 cat > conftest.$ac_ext <<EOF
5456 #line 5457 "configure"
5457 #include "confdefs.h"
5458 /* System header to define __stub macros and hopefully few prototypes,
5459 which can conflict with char $ac_func(); below. */
5461 /* Override any gcc2 internal prototype to avoid an error. */
5462 /* We use char because int might match the return type of a gcc2
5463 builtin and then its argument prototype would still apply. */
5468 /* The GNU C library defines this for functions which it implements
5469 to always fail with ENOSYS. Some functions are actually named
5470 something starting with __ and the normal name is an alias. */
5471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5479 if { (eval echo configure:5480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5481 eval "ac_cv_func_$ac_func=yes"
5483 echo "configure: failed program was:" >&5
5484 cat conftest.$ac_ext >&5
5486 eval "ac_cv_func_$ac_func=no"
5491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5492 echo "$ac_t""yes" 1>&6
5493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5494 cat >> confdefs.h <<EOF
5495 #define $ac_tr_func 1
5499 echo "$ac_t""no" 1>&6
5500 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5505 if test x$ac_cv_func_copysignl = x"yes"; then
5506 for ac_func in __signbitl
5508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5509 echo "configure:5510: checking for $ac_func" >&5
5510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5511 echo $ac_n "(cached) $ac_c" 1>&6
5513 cat > conftest.$ac_ext <<EOF
5514 #line 5515 "configure"
5515 #include "confdefs.h"
5516 /* System header to define __stub macros and hopefully few prototypes,
5517 which can conflict with char $ac_func(); below. */
5519 /* Override any gcc2 internal prototype to avoid an error. */
5520 /* We use char because int might match the return type of a gcc2
5521 builtin and then its argument prototype would still apply. */
5526 /* The GNU C library defines this for functions which it implements
5527 to always fail with ENOSYS. Some functions are actually named
5528 something starting with __ and the normal name is an alias. */
5529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5537 if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5539 eval "ac_cv_func_$ac_func=yes"
5541 echo "configure: failed program was:" >&5
5542 cat conftest.$ac_ext >&5
5544 eval "ac_cv_func_$ac_func=no"
5549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5550 echo "$ac_t""yes" 1>&6
5551 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5552 cat >> confdefs.h <<EOF
5553 #define $ac_tr_func 1
5557 echo "$ac_t""no" 1>&6
5558 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5568 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5569 echo "configure:5570: checking for mbstate_t" >&5
5570 cat > conftest.$ac_ext <<EOF
5571 #line 5572 "configure"
5572 #include "confdefs.h"
5575 mbstate_t teststate;
5578 if { (eval echo configure:5579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5582 echo "configure: failed program was:" >&5
5583 cat conftest.$ac_ext >&5
5588 echo "$ac_t""$have_mbstate_t" 1>&6
5589 if test x"$have_mbstate_t" = xyes; then
5590 cat >> confdefs.h <<\EOF
5591 #define HAVE_MBSTATE_T 1
5596 for ac_hdr in wchar.h
5598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5600 echo "configure:5601: checking for $ac_hdr" >&5
5601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5602 echo $ac_n "(cached) $ac_c" 1>&6
5604 cat > conftest.$ac_ext <<EOF
5605 #line 5606 "configure"
5606 #include "confdefs.h"
5609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5610 { (eval echo configure:5611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5612 if test -z "$ac_err"; then
5614 eval "ac_cv_header_$ac_safe=yes"
5617 echo "configure: failed program was:" >&5
5618 cat conftest.$ac_ext >&5
5620 eval "ac_cv_header_$ac_safe=no"
5624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5625 echo "$ac_t""yes" 1>&6
5626 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5627 cat >> confdefs.h <<EOF
5628 #define $ac_tr_hdr 1
5632 echo "$ac_t""no" 1>&6
5637 for ac_hdr in wctype.h
5639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5641 echo "configure:5642: checking for $ac_hdr" >&5
5642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5643 echo $ac_n "(cached) $ac_c" 1>&6
5645 cat > conftest.$ac_ext <<EOF
5646 #line 5647 "configure"
5647 #include "confdefs.h"
5650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5651 { (eval echo configure:5652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5653 if test -z "$ac_err"; then
5655 eval "ac_cv_header_$ac_safe=yes"
5658 echo "configure: failed program was:" >&5
5659 cat conftest.$ac_ext >&5
5661 eval "ac_cv_header_$ac_safe=no"
5665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5666 echo "$ac_t""yes" 1>&6
5667 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5668 cat >> confdefs.h <<EOF
5669 #define $ac_tr_hdr 1
5673 echo "$ac_t""no" 1>&6
5679 if test x"$ac_has_wchar_h" = xyes &&
5680 test x"$ac_has_wctype_h" = xyes &&
5681 test x"$enable_c_mbchar" != xno; then
5683 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5684 echo "configure:5685: checking for WCHAR_MIN and WCHAR_MAX" >&5
5685 cat > conftest.$ac_ext <<EOF
5686 #line 5687 "configure"
5687 #include "confdefs.h"
5690 int i = WCHAR_MIN; int j = WCHAR_MAX;
5693 if { (eval echo configure:5694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5695 has_wchar_minmax=yes
5697 echo "configure: failed program was:" >&5
5698 cat conftest.$ac_ext >&5
5703 echo "$ac_t""$has_wchar_minmax" 1>&6
5705 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5706 echo "configure:5707: checking for WEOF" >&5
5707 cat > conftest.$ac_ext <<EOF
5708 #line 5709 "configure"
5709 #include "confdefs.h"
5717 if { (eval echo configure:5718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5721 echo "configure: failed program was:" >&5
5722 cat conftest.$ac_ext >&5
5727 echo "$ac_t""$has_weof" 1>&6
5730 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5733 echo "configure:5734: checking for $ac_func" >&5
5734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5735 echo $ac_n "(cached) $ac_c" 1>&6
5737 cat > conftest.$ac_ext <<EOF
5738 #line 5739 "configure"
5739 #include "confdefs.h"
5740 /* System header to define __stub macros and hopefully few prototypes,
5741 which can conflict with char $ac_func(); below. */
5743 /* Override any gcc2 internal prototype to avoid an error. */
5744 /* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5750 /* The GNU C library defines this for functions which it implements
5751 to always fail with ENOSYS. Some functions are actually named
5752 something starting with __ and the normal name is an alias. */
5753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5763 eval "ac_cv_func_$ac_func=yes"
5765 echo "configure: failed program was:" >&5
5766 cat conftest.$ac_ext >&5
5768 eval "ac_cv_func_$ac_func=no"
5773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5774 echo "$ac_t""yes" 1>&6
5775 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5776 cat >> confdefs.h <<EOF
5777 #define $ac_tr_func 1
5781 echo "$ac_t""no" 1>&6
5788 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5789 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5790 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5791 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5792 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5793 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5796 echo "configure:5797: checking for $ac_func" >&5
5797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5798 echo $ac_n "(cached) $ac_c" 1>&6
5800 cat > conftest.$ac_ext <<EOF
5801 #line 5802 "configure"
5802 #include "confdefs.h"
5803 /* System header to define __stub macros and hopefully few prototypes,
5804 which can conflict with char $ac_func(); below. */
5806 /* Override any gcc2 internal prototype to avoid an error. */
5807 /* We use char because int might match the return type of a gcc2
5808 builtin and then its argument prototype would still apply. */
5813 /* The GNU C library defines this for functions which it implements
5814 to always fail with ENOSYS. Some functions are actually named
5815 something starting with __ and the normal name is an alias. */
5816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5824 if { (eval echo configure:5825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5826 eval "ac_cv_func_$ac_func=yes"
5828 echo "configure: failed program was:" >&5
5829 cat conftest.$ac_ext >&5
5831 eval "ac_cv_func_$ac_func=no"
5836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5837 echo "$ac_t""yes" 1>&6
5838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5839 cat >> confdefs.h <<EOF
5840 #define $ac_tr_func 1
5844 echo "$ac_t""no" 1>&6
5851 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5852 echo "configure:5853: checking for ISO C99 wchar_t support" >&5
5853 if test x"$has_weof" = xyes &&
5854 test x"$has_wchar_minmax" = xyes &&
5855 test x"$ac_wfuncs" = xyes; then
5856 ac_isoC99_wchar_t=yes
5858 ac_isoC99_wchar_t=no
5860 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5862 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5863 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5864 echo "configure:5865: checking for iconv.h" >&5
5865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5866 echo $ac_n "(cached) $ac_c" 1>&6
5868 cat > conftest.$ac_ext <<EOF
5869 #line 5870 "configure"
5870 #include "confdefs.h"
5873 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5874 { (eval echo configure:5875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5876 if test -z "$ac_err"; then
5878 eval "ac_cv_header_$ac_safe=yes"
5881 echo "configure: failed program was:" >&5
5882 cat conftest.$ac_ext >&5
5884 eval "ac_cv_header_$ac_safe=no"
5888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5889 echo "$ac_t""yes" 1>&6
5892 echo "$ac_t""no" 1>&6
5896 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5897 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5898 echo "configure:5899: checking for langinfo.h" >&5
5899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5900 echo $ac_n "(cached) $ac_c" 1>&6
5902 cat > conftest.$ac_ext <<EOF
5903 #line 5904 "configure"
5904 #include "confdefs.h"
5905 #include <langinfo.h>
5907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5908 { (eval echo configure:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5910 if test -z "$ac_err"; then
5912 eval "ac_cv_header_$ac_safe=yes"
5915 echo "configure: failed program was:" >&5
5916 cat conftest.$ac_ext >&5
5918 eval "ac_cv_header_$ac_safe=no"
5922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5923 echo "$ac_t""yes" 1>&6
5924 ac_has_langinfo_h=yes
5926 echo "$ac_t""no" 1>&6
5927 ac_has_langinfo_h=no
5931 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5932 echo "configure:5933: checking for iconv in -liconv" >&5
5933 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5935 echo $ac_n "(cached) $ac_c" 1>&6
5937 ac_save_LIBS="$LIBS"
5938 LIBS="-liconv $LIBS"
5939 cat > conftest.$ac_ext <<EOF
5940 #line 5941 "configure"
5941 #include "confdefs.h"
5942 /* Override any gcc2 internal prototype to avoid an error. */
5943 /* We use char because int might match the return type of a gcc2
5944 builtin and then its argument prototype would still apply. */
5951 if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5953 eval "ac_cv_lib_$ac_lib_var=yes"
5955 echo "configure: failed program was:" >&5
5956 cat conftest.$ac_ext >&5
5958 eval "ac_cv_lib_$ac_lib_var=no"
5961 LIBS="$ac_save_LIBS"
5964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5965 echo "$ac_t""yes" 1>&6
5968 echo "$ac_t""no" 1>&6
5971 ac_save_LIBS="$LIBS"
5972 LIBS="$LIBS $libiconv"
5974 for ac_func in iconv_open iconv_close iconv nl_langinfo
5976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5977 echo "configure:5978: checking for $ac_func" >&5
5978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5979 echo $ac_n "(cached) $ac_c" 1>&6
5981 cat > conftest.$ac_ext <<EOF
5982 #line 5983 "configure"
5983 #include "confdefs.h"
5984 /* System header to define __stub macros and hopefully few prototypes,
5985 which can conflict with char $ac_func(); below. */
5987 /* Override any gcc2 internal prototype to avoid an error. */
5988 /* We use char because int might match the return type of a gcc2
5989 builtin and then its argument prototype would still apply. */
5994 /* The GNU C library defines this for functions which it implements
5995 to always fail with ENOSYS. Some functions are actually named
5996 something starting with __ and the normal name is an alias. */
5997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6007 eval "ac_cv_func_$ac_func=yes"
6009 echo "configure: failed program was:" >&5
6010 cat conftest.$ac_ext >&5
6012 eval "ac_cv_func_$ac_func=no"
6017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6018 echo "$ac_t""yes" 1>&6
6019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6020 cat >> confdefs.h <<EOF
6021 #define $ac_tr_func 1
6026 echo "$ac_t""no" 1>&6
6032 LIBS="$ac_save_LIBS"
6034 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6035 echo "configure:6036: checking for XPG2 wchar_t support" >&5
6036 if test x"$ac_has_iconv_h" = xyes &&
6037 test x"$ac_has_langinfo_h" = xyes &&
6038 test x"$ac_XPG2funcs" = xyes; then
6043 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6045 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6046 echo "configure:6047: checking for enabled wchar_t specializations" >&5
6047 if test x"$ac_isoC99_wchar_t" = xyes &&
6048 test x"$ac_XPG2_wchar_t" = xyes; then
6049 cat >> confdefs.h <<\EOF
6050 #define _GLIBCPP_USE_WCHAR_T 1
6053 echo "$ac_t"""yes"" 1>&6
6055 echo "$ac_t"""no"" 1>&6
6058 echo "configure: warning: wchar_t support disabled." 1>&2
6061 os_include_dir="os/hpux"
6062 cat >> confdefs.h <<\EOF
6063 #define HAVE_COPYSIGN 1
6066 cat >> confdefs.h <<\EOF
6067 #define HAVE_COPYSIGNF 1
6070 cat >> confdefs.h <<\EOF
6071 #define HAVE_FREXPF 1
6074 cat >> confdefs.h <<\EOF
6075 #define HAVE_HYPOT 1
6080 cat >> confdefs.h <<\EOF
6081 #define HAVE_FINITE 1
6084 cat >> confdefs.h <<\EOF
6085 #define HAVE_FINITEF 1
6088 cat >> confdefs.h <<\EOF
6089 #define HAVE_ISINF 1
6092 cat >> confdefs.h <<\EOF
6093 #define HAVE_ISINFF 1
6096 cat >> confdefs.h <<\EOF
6097 #define HAVE_ISNAN 1
6100 cat >> confdefs.h <<\EOF
6101 #define HAVE_ISNANF 1
6109 # Check for available headers.
6110 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6111 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6112 fp.h locale.h float.h inttypes.h
6114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6116 echo "configure:6117: checking for $ac_hdr" >&5
6117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6118 echo $ac_n "(cached) $ac_c" 1>&6
6120 cat > conftest.$ac_ext <<EOF
6121 #line 6122 "configure"
6122 #include "confdefs.h"
6125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6126 { (eval echo configure:6127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6128 if test -z "$ac_err"; then
6130 eval "ac_cv_header_$ac_safe=yes"
6133 echo "configure: failed program was:" >&5
6134 cat conftest.$ac_ext >&5
6136 eval "ac_cv_header_$ac_safe=no"
6140 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6141 echo "$ac_t""yes" 1>&6
6142 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6143 cat >> confdefs.h <<EOF
6144 #define $ac_tr_hdr 1
6148 echo "$ac_t""no" 1>&6
6152 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6155 # If we're not using GNU ld, then there's no point in even trying these
6156 # tests. Check for that first. We should have already tested for gld
6157 # by now (in libtool), but require it now just to be safe...
6158 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6159 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6162 # The name set by libtool depends on the version of libtool. Shame on us
6163 # for depending on an impl detail, but c'est la vie. Older versions used
6164 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6165 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6166 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6167 # set (hence we're using an older libtool), then set it.
6168 if test x${with_gnu_ld+set} != xset; then
6169 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6170 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6173 with_gnu_ld=$ac_cv_prog_gnu_ld
6177 # Start by getting the version number. I think the libtool test already
6178 # does some of this, but throws away the result.
6180 ldver=`$LD --version 2>/dev/null | head -1 | \
6181 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6183 glibcpp_gnu_ld_version=`echo $ldver | \
6184 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6186 # Set --gc-sections.
6187 if test "$with_gnu_ld" = "notbroken"; then
6188 # GNU ld it is! Joy and bunny rabbits!
6190 # All these tests are for C++; save the language and the compiler flags.
6191 # Need to do this so that g++ won't try to link in libstdc++
6192 ac_test_CFLAGS="${CFLAGS+set}"
6193 ac_save_CFLAGS="$CFLAGS"
6194 CFLAGS='-x c++ -Wl,--gc-sections'
6196 # Check for -Wl,--gc-sections
6197 # XXX This test is broken at the moment, as symbols required for
6198 # linking are now in libsupc++ (not built yet.....). In addition,
6199 # this test has cored on solaris in the past. In addition,
6200 # --gc-sections doesn't really work at the moment (keeps on discarding
6201 # used sections, first .eh_frame and now some of the glibc sections for
6202 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6203 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6204 echo "configure:6205: checking for ld that supports -Wl,--gc-sections" >&5
6205 if test "$cross_compiling" = yes; then
6206 ac_sectionLDflags=yes
6208 cat > conftest.$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6220 if { (eval echo configure:6221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6222 ac_sectionLDflags=yes
6224 echo "configure: failed program was:" >&5
6225 cat conftest.$ac_ext >&5
6227 ac_sectionLDflags=no
6232 if test "$ac_test_CFLAGS" = set; then
6233 CFLAGS="$ac_save_CFLAGS"
6235 # this is the suspicious part
6238 if test "$ac_sectionLDflags" = "yes"; then
6239 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6241 echo "$ac_t""$ac_sectionLDflags" 1>&6
6244 # Set linker optimization flags.
6245 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6253 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6254 echo "configure:6255: checking for main in -lm" >&5
6255 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6257 echo $ac_n "(cached) $ac_c" 1>&6
6259 ac_save_LIBS="$LIBS"
6261 cat > conftest.$ac_ext <<EOF
6262 #line 6263 "configure"
6263 #include "confdefs.h"
6269 if { (eval echo configure:6270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6271 eval "ac_cv_lib_$ac_lib_var=yes"
6273 echo "configure: failed program was:" >&5
6274 cat conftest.$ac_ext >&5
6276 eval "ac_cv_lib_$ac_lib_var=no"
6279 LIBS="$ac_save_LIBS"
6282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6283 echo "$ac_t""yes" 1>&6
6284 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6285 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6286 cat >> confdefs.h <<EOF
6287 #define $ac_tr_lib 1
6293 echo "$ac_t""no" 1>&6
6296 for ac_func in nan copysignf
6298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6299 echo "configure:6300: checking for $ac_func" >&5
6300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6301 echo $ac_n "(cached) $ac_c" 1>&6
6303 cat > conftest.$ac_ext <<EOF
6304 #line 6305 "configure"
6305 #include "confdefs.h"
6306 /* System header to define __stub macros and hopefully few prototypes,
6307 which can conflict with char $ac_func(); below. */
6309 /* Override any gcc2 internal prototype to avoid an error. */
6310 /* We use char because int might match the return type of a gcc2
6311 builtin and then its argument prototype would still apply. */
6316 /* The GNU C library defines this for functions which it implements
6317 to always fail with ENOSYS. Some functions are actually named
6318 something starting with __ and the normal name is an alias. */
6319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6327 if { (eval echo configure:6328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6329 eval "ac_cv_func_$ac_func=yes"
6331 echo "configure: failed program was:" >&5
6332 cat conftest.$ac_ext >&5
6334 eval "ac_cv_func_$ac_func=no"
6339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6340 echo "$ac_t""yes" 1>&6
6341 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6342 cat >> confdefs.h <<EOF
6343 #define $ac_tr_func 1
6347 echo "$ac_t""no" 1>&6
6348 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6353 for ac_func in __signbit
6355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6356 echo "configure:6357: checking for $ac_func" >&5
6357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6358 echo $ac_n "(cached) $ac_c" 1>&6
6360 cat > conftest.$ac_ext <<EOF
6361 #line 6362 "configure"
6362 #include "confdefs.h"
6363 /* System header to define __stub macros and hopefully few prototypes,
6364 which can conflict with char $ac_func(); below. */
6366 /* Override any gcc2 internal prototype to avoid an error. */
6367 /* We use char because int might match the return type of a gcc2
6368 builtin and then its argument prototype would still apply. */
6373 /* The GNU C library defines this for functions which it implements
6374 to always fail with ENOSYS. Some functions are actually named
6375 something starting with __ and the normal name is an alias. */
6376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6384 if { (eval echo configure:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6386 eval "ac_cv_func_$ac_func=yes"
6388 echo "configure: failed program was:" >&5
6389 cat conftest.$ac_ext >&5
6391 eval "ac_cv_func_$ac_func=no"
6396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6397 echo "$ac_t""yes" 1>&6
6398 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6399 cat >> confdefs.h <<EOF
6400 #define $ac_tr_func 1
6404 echo "$ac_t""no" 1>&6
6405 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6409 for ac_func in __signbitf
6411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6412 echo "configure:6413: checking for $ac_func" >&5
6413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6414 echo $ac_n "(cached) $ac_c" 1>&6
6416 cat > conftest.$ac_ext <<EOF
6417 #line 6418 "configure"
6418 #include "confdefs.h"
6419 /* System header to define __stub macros and hopefully few prototypes,
6420 which can conflict with char $ac_func(); below. */
6422 /* Override any gcc2 internal prototype to avoid an error. */
6423 /* We use char because int might match the return type of a gcc2
6424 builtin and then its argument prototype would still apply. */
6429 /* The GNU C library defines this for functions which it implements
6430 to always fail with ENOSYS. Some functions are actually named
6431 something starting with __ and the normal name is an alias. */
6432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6440 if { (eval echo configure:6441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6442 eval "ac_cv_func_$ac_func=yes"
6444 echo "configure: failed program was:" >&5
6445 cat conftest.$ac_ext >&5
6447 eval "ac_cv_func_$ac_func=no"
6452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6453 echo "$ac_t""yes" 1>&6
6454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6455 cat >> confdefs.h <<EOF
6456 #define $ac_tr_func 1
6460 echo "$ac_t""no" 1>&6
6461 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6466 if test x$ac_cv_func_copysignl = x"yes"; then
6467 for ac_func in __signbitl
6469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6470 echo "configure:6471: checking for $ac_func" >&5
6471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6472 echo $ac_n "(cached) $ac_c" 1>&6
6474 cat > conftest.$ac_ext <<EOF
6475 #line 6476 "configure"
6476 #include "confdefs.h"
6477 /* System header to define __stub macros and hopefully few prototypes,
6478 which can conflict with char $ac_func(); below. */
6480 /* Override any gcc2 internal prototype to avoid an error. */
6481 /* We use char because int might match the return type of a gcc2
6482 builtin and then its argument prototype would still apply. */
6487 /* The GNU C library defines this for functions which it implements
6488 to always fail with ENOSYS. Some functions are actually named
6489 something starting with __ and the normal name is an alias. */
6490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6498 if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6500 eval "ac_cv_func_$ac_func=yes"
6502 echo "configure: failed program was:" >&5
6503 cat conftest.$ac_ext >&5
6505 eval "ac_cv_func_$ac_func=no"
6510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6511 echo "$ac_t""yes" 1>&6
6512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6513 cat >> confdefs.h <<EOF
6514 #define $ac_tr_func 1
6518 echo "$ac_t""no" 1>&6
6519 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6529 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6530 echo "configure:6531: checking for mbstate_t" >&5
6531 cat > conftest.$ac_ext <<EOF
6532 #line 6533 "configure"
6533 #include "confdefs.h"
6536 mbstate_t teststate;
6539 if { (eval echo configure:6540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6543 echo "configure: failed program was:" >&5
6544 cat conftest.$ac_ext >&5
6549 echo "$ac_t""$have_mbstate_t" 1>&6
6550 if test x"$have_mbstate_t" = xyes; then
6551 cat >> confdefs.h <<\EOF
6552 #define HAVE_MBSTATE_T 1
6557 for ac_hdr in wchar.h
6559 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6560 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6561 echo "configure:6562: checking for $ac_hdr" >&5
6562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6563 echo $ac_n "(cached) $ac_c" 1>&6
6565 cat > conftest.$ac_ext <<EOF
6566 #line 6567 "configure"
6567 #include "confdefs.h"
6570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6571 { (eval echo configure:6572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6573 if test -z "$ac_err"; then
6575 eval "ac_cv_header_$ac_safe=yes"
6578 echo "configure: failed program was:" >&5
6579 cat conftest.$ac_ext >&5
6581 eval "ac_cv_header_$ac_safe=no"
6585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6586 echo "$ac_t""yes" 1>&6
6587 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6588 cat >> confdefs.h <<EOF
6589 #define $ac_tr_hdr 1
6593 echo "$ac_t""no" 1>&6
6598 for ac_hdr in wctype.h
6600 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6601 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6602 echo "configure:6603: checking for $ac_hdr" >&5
6603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6604 echo $ac_n "(cached) $ac_c" 1>&6
6606 cat > conftest.$ac_ext <<EOF
6607 #line 6608 "configure"
6608 #include "confdefs.h"
6611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6612 { (eval echo configure:6613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6614 if test -z "$ac_err"; then
6616 eval "ac_cv_header_$ac_safe=yes"
6619 echo "configure: failed program was:" >&5
6620 cat conftest.$ac_ext >&5
6622 eval "ac_cv_header_$ac_safe=no"
6626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6627 echo "$ac_t""yes" 1>&6
6628 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6629 cat >> confdefs.h <<EOF
6630 #define $ac_tr_hdr 1
6634 echo "$ac_t""no" 1>&6
6640 if test x"$ac_has_wchar_h" = xyes &&
6641 test x"$ac_has_wctype_h" = xyes &&
6642 test x"$enable_c_mbchar" != xno; then
6644 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6645 echo "configure:6646: checking for WCHAR_MIN and WCHAR_MAX" >&5
6646 cat > conftest.$ac_ext <<EOF
6647 #line 6648 "configure"
6648 #include "confdefs.h"
6651 int i = WCHAR_MIN; int j = WCHAR_MAX;
6654 if { (eval echo configure:6655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6656 has_wchar_minmax=yes
6658 echo "configure: failed program was:" >&5
6659 cat conftest.$ac_ext >&5
6664 echo "$ac_t""$has_wchar_minmax" 1>&6
6666 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6667 echo "configure:6668: checking for WEOF" >&5
6668 cat > conftest.$ac_ext <<EOF
6669 #line 6670 "configure"
6670 #include "confdefs.h"
6678 if { (eval echo configure:6679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6682 echo "configure: failed program was:" >&5
6683 cat conftest.$ac_ext >&5
6688 echo "$ac_t""$has_weof" 1>&6
6691 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6694 echo "configure:6695: checking for $ac_func" >&5
6695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6696 echo $ac_n "(cached) $ac_c" 1>&6
6698 cat > conftest.$ac_ext <<EOF
6699 #line 6700 "configure"
6700 #include "confdefs.h"
6701 /* System header to define __stub macros and hopefully few prototypes,
6702 which can conflict with char $ac_func(); below. */
6704 /* Override any gcc2 internal prototype to avoid an error. */
6705 /* We use char because int might match the return type of a gcc2
6706 builtin and then its argument prototype would still apply. */
6711 /* The GNU C library defines this for functions which it implements
6712 to always fail with ENOSYS. Some functions are actually named
6713 something starting with __ and the normal name is an alias. */
6714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6722 if { (eval echo configure:6723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6724 eval "ac_cv_func_$ac_func=yes"
6726 echo "configure: failed program was:" >&5
6727 cat conftest.$ac_ext >&5
6729 eval "ac_cv_func_$ac_func=no"
6734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6735 echo "$ac_t""yes" 1>&6
6736 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6737 cat >> confdefs.h <<EOF
6738 #define $ac_tr_func 1
6742 echo "$ac_t""no" 1>&6
6749 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6750 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6751 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6752 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6753 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6754 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6757 echo "configure:6758: checking for $ac_func" >&5
6758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6759 echo $ac_n "(cached) $ac_c" 1>&6
6761 cat > conftest.$ac_ext <<EOF
6762 #line 6763 "configure"
6763 #include "confdefs.h"
6764 /* System header to define __stub macros and hopefully few prototypes,
6765 which can conflict with char $ac_func(); below. */
6767 /* Override any gcc2 internal prototype to avoid an error. */
6768 /* We use char because int might match the return type of a gcc2
6769 builtin and then its argument prototype would still apply. */
6774 /* The GNU C library defines this for functions which it implements
6775 to always fail with ENOSYS. Some functions are actually named
6776 something starting with __ and the normal name is an alias. */
6777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6785 if { (eval echo configure:6786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6787 eval "ac_cv_func_$ac_func=yes"
6789 echo "configure: failed program was:" >&5
6790 cat conftest.$ac_ext >&5
6792 eval "ac_cv_func_$ac_func=no"
6797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6798 echo "$ac_t""yes" 1>&6
6799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6800 cat >> confdefs.h <<EOF
6801 #define $ac_tr_func 1
6805 echo "$ac_t""no" 1>&6
6812 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6813 echo "configure:6814: checking for ISO C99 wchar_t support" >&5
6814 if test x"$has_weof" = xyes &&
6815 test x"$has_wchar_minmax" = xyes &&
6816 test x"$ac_wfuncs" = xyes; then
6817 ac_isoC99_wchar_t=yes
6819 ac_isoC99_wchar_t=no
6821 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6823 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6824 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6825 echo "configure:6826: checking for iconv.h" >&5
6826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6827 echo $ac_n "(cached) $ac_c" 1>&6
6829 cat > conftest.$ac_ext <<EOF
6830 #line 6831 "configure"
6831 #include "confdefs.h"
6834 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6835 { (eval echo configure:6836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6836 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6837 if test -z "$ac_err"; then
6839 eval "ac_cv_header_$ac_safe=yes"
6842 echo "configure: failed program was:" >&5
6843 cat conftest.$ac_ext >&5
6845 eval "ac_cv_header_$ac_safe=no"
6849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6850 echo "$ac_t""yes" 1>&6
6853 echo "$ac_t""no" 1>&6
6857 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6858 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6859 echo "configure:6860: checking for langinfo.h" >&5
6860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6861 echo $ac_n "(cached) $ac_c" 1>&6
6863 cat > conftest.$ac_ext <<EOF
6864 #line 6865 "configure"
6865 #include "confdefs.h"
6866 #include <langinfo.h>
6868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6869 { (eval echo configure:6870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6871 if test -z "$ac_err"; then
6873 eval "ac_cv_header_$ac_safe=yes"
6876 echo "configure: failed program was:" >&5
6877 cat conftest.$ac_ext >&5
6879 eval "ac_cv_header_$ac_safe=no"
6883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6884 echo "$ac_t""yes" 1>&6
6885 ac_has_langinfo_h=yes
6887 echo "$ac_t""no" 1>&6
6888 ac_has_langinfo_h=no
6892 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6893 echo "configure:6894: checking for iconv in -liconv" >&5
6894 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6896 echo $ac_n "(cached) $ac_c" 1>&6
6898 ac_save_LIBS="$LIBS"
6899 LIBS="-liconv $LIBS"
6900 cat > conftest.$ac_ext <<EOF
6901 #line 6902 "configure"
6902 #include "confdefs.h"
6903 /* Override any gcc2 internal prototype to avoid an error. */
6904 /* We use char because int might match the return type of a gcc2
6905 builtin and then its argument prototype would still apply. */
6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6914 eval "ac_cv_lib_$ac_lib_var=yes"
6916 echo "configure: failed program was:" >&5
6917 cat conftest.$ac_ext >&5
6919 eval "ac_cv_lib_$ac_lib_var=no"
6922 LIBS="$ac_save_LIBS"
6925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6926 echo "$ac_t""yes" 1>&6
6929 echo "$ac_t""no" 1>&6
6932 ac_save_LIBS="$LIBS"
6933 LIBS="$LIBS $libiconv"
6935 for ac_func in iconv_open iconv_close iconv nl_langinfo
6937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6938 echo "configure:6939: checking for $ac_func" >&5
6939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6940 echo $ac_n "(cached) $ac_c" 1>&6
6942 cat > conftest.$ac_ext <<EOF
6943 #line 6944 "configure"
6944 #include "confdefs.h"
6945 /* System header to define __stub macros and hopefully few prototypes,
6946 which can conflict with char $ac_func(); below. */
6948 /* Override any gcc2 internal prototype to avoid an error. */
6949 /* We use char because int might match the return type of a gcc2
6950 builtin and then its argument prototype would still apply. */
6955 /* The GNU C library defines this for functions which it implements
6956 to always fail with ENOSYS. Some functions are actually named
6957 something starting with __ and the normal name is an alias. */
6958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6968 eval "ac_cv_func_$ac_func=yes"
6970 echo "configure: failed program was:" >&5
6971 cat conftest.$ac_ext >&5
6973 eval "ac_cv_func_$ac_func=no"
6978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6979 echo "$ac_t""yes" 1>&6
6980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6981 cat >> confdefs.h <<EOF
6982 #define $ac_tr_func 1
6987 echo "$ac_t""no" 1>&6
6993 LIBS="$ac_save_LIBS"
6995 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6996 echo "configure:6997: checking for XPG2 wchar_t support" >&5
6997 if test x"$ac_has_iconv_h" = xyes &&
6998 test x"$ac_has_langinfo_h" = xyes &&
6999 test x"$ac_XPG2funcs" = xyes; then
7004 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7006 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7007 echo "configure:7008: checking for enabled wchar_t specializations" >&5
7008 if test x"$ac_isoC99_wchar_t" = xyes &&
7009 test x"$ac_XPG2_wchar_t" = xyes; then
7010 cat >> confdefs.h <<\EOF
7011 #define _GLIBCPP_USE_WCHAR_T 1
7014 echo "$ac_t"""yes"" 1>&6
7016 echo "$ac_t"""no"" 1>&6
7019 echo "configure: warning: wchar_t support disabled." 1>&2
7022 os_include_dir="os/bsd/netbsd"
7023 cat >> confdefs.h <<\EOF
7024 #define HAVE_COPYSIGN 1
7027 cat >> confdefs.h <<\EOF
7028 #define HAVE_COPYSIGNF 1
7031 cat >> confdefs.h <<\EOF
7032 #define HAVE_FINITEF 1
7035 cat >> confdefs.h <<\EOF
7036 #define HAVE_FINITE 1
7039 cat >> confdefs.h <<\EOF
7040 #define HAVE_FREXPF 1
7043 cat >> confdefs.h <<\EOF
7044 #define HAVE_HYPOTF 1
7047 cat >> confdefs.h <<\EOF
7048 #define HAVE_ISINF 1
7051 cat >> confdefs.h <<\EOF
7052 #define HAVE_ISINFF 1
7055 cat >> confdefs.h <<\EOF
7056 #define HAVE_ISNAN 1
7059 cat >> confdefs.h <<\EOF
7060 #define HAVE_ISNANF 1
7063 if test x"long_double_math_on_this_cpu" = x"yes"; then
7064 cat >> confdefs.h <<\EOF
7065 #define HAVE_FINITEL 1
7068 cat >> confdefs.h <<\EOF
7069 #define HAVE_ISINFL 1
7072 cat >> confdefs.h <<\EOF
7073 #define HAVE_ISNANL 1
7079 # Check for available headers.
7080 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7081 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7082 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7085 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7086 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7087 echo "configure:7088: checking for $ac_hdr" >&5
7088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7089 echo $ac_n "(cached) $ac_c" 1>&6
7091 cat > conftest.$ac_ext <<EOF
7092 #line 7093 "configure"
7093 #include "confdefs.h"
7096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7097 { (eval echo configure:7098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7099 if test -z "$ac_err"; then
7101 eval "ac_cv_header_$ac_safe=yes"
7104 echo "configure: failed program was:" >&5
7105 cat conftest.$ac_ext >&5
7107 eval "ac_cv_header_$ac_safe=no"
7111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7112 echo "$ac_t""yes" 1>&6
7113 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7114 cat >> confdefs.h <<EOF
7115 #define $ac_tr_hdr 1
7119 echo "$ac_t""no" 1>&6
7123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7126 # If we're not using GNU ld, then there's no point in even trying these
7127 # tests. Check for that first. We should have already tested for gld
7128 # by now (in libtool), but require it now just to be safe...
7129 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7130 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7133 # The name set by libtool depends on the version of libtool. Shame on us
7134 # for depending on an impl detail, but c'est la vie. Older versions used
7135 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7136 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7137 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7138 # set (hence we're using an older libtool), then set it.
7139 if test x${with_gnu_ld+set} != xset; then
7140 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7141 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7144 with_gnu_ld=$ac_cv_prog_gnu_ld
7148 # Start by getting the version number. I think the libtool test already
7149 # does some of this, but throws away the result.
7151 ldver=`$LD --version 2>/dev/null | head -1 | \
7152 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7154 glibcpp_gnu_ld_version=`echo $ldver | \
7155 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7157 # Set --gc-sections.
7158 if test "$with_gnu_ld" = "notbroken"; then
7159 # GNU ld it is! Joy and bunny rabbits!
7161 # All these tests are for C++; save the language and the compiler flags.
7162 # Need to do this so that g++ won't try to link in libstdc++
7163 ac_test_CFLAGS="${CFLAGS+set}"
7164 ac_save_CFLAGS="$CFLAGS"
7165 CFLAGS='-x c++ -Wl,--gc-sections'
7167 # Check for -Wl,--gc-sections
7168 # XXX This test is broken at the moment, as symbols required for
7169 # linking are now in libsupc++ (not built yet.....). In addition,
7170 # this test has cored on solaris in the past. In addition,
7171 # --gc-sections doesn't really work at the moment (keeps on discarding
7172 # used sections, first .eh_frame and now some of the glibc sections for
7173 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7174 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7175 echo "configure:7176: checking for ld that supports -Wl,--gc-sections" >&5
7176 if test "$cross_compiling" = yes; then
7177 ac_sectionLDflags=yes
7179 cat > conftest.$ac_ext <<EOF
7180 #line 7181 "configure"
7181 #include "confdefs.h"
7191 if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7193 ac_sectionLDflags=yes
7195 echo "configure: failed program was:" >&5
7196 cat conftest.$ac_ext >&5
7198 ac_sectionLDflags=no
7203 if test "$ac_test_CFLAGS" = set; then
7204 CFLAGS="$ac_save_CFLAGS"
7206 # this is the suspicious part
7209 if test "$ac_sectionLDflags" = "yes"; then
7210 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7212 echo "$ac_t""$ac_sectionLDflags" 1>&6
7215 # Set linker optimization flags.
7216 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7217 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7224 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7225 echo "configure:7226: checking for main in -lm" >&5
7226 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7228 echo $ac_n "(cached) $ac_c" 1>&6
7230 ac_save_LIBS="$LIBS"
7232 cat > conftest.$ac_ext <<EOF
7233 #line 7234 "configure"
7234 #include "confdefs.h"
7240 if { (eval echo configure:7241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7242 eval "ac_cv_lib_$ac_lib_var=yes"
7244 echo "configure: failed program was:" >&5
7245 cat conftest.$ac_ext >&5
7247 eval "ac_cv_lib_$ac_lib_var=no"
7250 LIBS="$ac_save_LIBS"
7253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7254 echo "$ac_t""yes" 1>&6
7255 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7256 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7257 cat >> confdefs.h <<EOF
7258 #define $ac_tr_lib 1
7264 echo "$ac_t""no" 1>&6
7267 for ac_func in nan copysignf
7269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7270 echo "configure:7271: checking for $ac_func" >&5
7271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7272 echo $ac_n "(cached) $ac_c" 1>&6
7274 cat > conftest.$ac_ext <<EOF
7275 #line 7276 "configure"
7276 #include "confdefs.h"
7277 /* System header to define __stub macros and hopefully few prototypes,
7278 which can conflict with char $ac_func(); below. */
7280 /* Override any gcc2 internal prototype to avoid an error. */
7281 /* We use char because int might match the return type of a gcc2
7282 builtin and then its argument prototype would still apply. */
7287 /* The GNU C library defines this for functions which it implements
7288 to always fail with ENOSYS. Some functions are actually named
7289 something starting with __ and the normal name is an alias. */
7290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7300 eval "ac_cv_func_$ac_func=yes"
7302 echo "configure: failed program was:" >&5
7303 cat conftest.$ac_ext >&5
7305 eval "ac_cv_func_$ac_func=no"
7310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7311 echo "$ac_t""yes" 1>&6
7312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7313 cat >> confdefs.h <<EOF
7314 #define $ac_tr_func 1
7318 echo "$ac_t""no" 1>&6
7319 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7324 for ac_func in __signbit
7326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7327 echo "configure:7328: checking for $ac_func" >&5
7328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7329 echo $ac_n "(cached) $ac_c" 1>&6
7331 cat > conftest.$ac_ext <<EOF
7332 #line 7333 "configure"
7333 #include "confdefs.h"
7334 /* System header to define __stub macros and hopefully few prototypes,
7335 which can conflict with char $ac_func(); below. */
7337 /* Override any gcc2 internal prototype to avoid an error. */
7338 /* We use char because int might match the return type of a gcc2
7339 builtin and then its argument prototype would still apply. */
7344 /* The GNU C library defines this for functions which it implements
7345 to always fail with ENOSYS. Some functions are actually named
7346 something starting with __ and the normal name is an alias. */
7347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7357 eval "ac_cv_func_$ac_func=yes"
7359 echo "configure: failed program was:" >&5
7360 cat conftest.$ac_ext >&5
7362 eval "ac_cv_func_$ac_func=no"
7367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7368 echo "$ac_t""yes" 1>&6
7369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7370 cat >> confdefs.h <<EOF
7371 #define $ac_tr_func 1
7375 echo "$ac_t""no" 1>&6
7376 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7380 for ac_func in __signbitf
7382 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7383 echo "configure:7384: checking for $ac_func" >&5
7384 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7385 echo $ac_n "(cached) $ac_c" 1>&6
7387 cat > conftest.$ac_ext <<EOF
7388 #line 7389 "configure"
7389 #include "confdefs.h"
7390 /* System header to define __stub macros and hopefully few prototypes,
7391 which can conflict with char $ac_func(); below. */
7393 /* Override any gcc2 internal prototype to avoid an error. */
7394 /* We use char because int might match the return type of a gcc2
7395 builtin and then its argument prototype would still apply. */
7400 /* The GNU C library defines this for functions which it implements
7401 to always fail with ENOSYS. Some functions are actually named
7402 something starting with __ and the normal name is an alias. */
7403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7411 if { (eval echo configure:7412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7413 eval "ac_cv_func_$ac_func=yes"
7415 echo "configure: failed program was:" >&5
7416 cat conftest.$ac_ext >&5
7418 eval "ac_cv_func_$ac_func=no"
7423 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7424 echo "$ac_t""yes" 1>&6
7425 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7426 cat >> confdefs.h <<EOF
7427 #define $ac_tr_func 1
7431 echo "$ac_t""no" 1>&6
7432 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7437 if test x$ac_cv_func_copysignl = x"yes"; then
7438 for ac_func in __signbitl
7440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7441 echo "configure:7442: checking for $ac_func" >&5
7442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7443 echo $ac_n "(cached) $ac_c" 1>&6
7445 cat > conftest.$ac_ext <<EOF
7446 #line 7447 "configure"
7447 #include "confdefs.h"
7448 /* System header to define __stub macros and hopefully few prototypes,
7449 which can conflict with char $ac_func(); below. */
7451 /* Override any gcc2 internal prototype to avoid an error. */
7452 /* We use char because int might match the return type of a gcc2
7453 builtin and then its argument prototype would still apply. */
7458 /* The GNU C library defines this for functions which it implements
7459 to always fail with ENOSYS. Some functions are actually named
7460 something starting with __ and the normal name is an alias. */
7461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7469 if { (eval echo configure:7470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7471 eval "ac_cv_func_$ac_func=yes"
7473 echo "configure: failed program was:" >&5
7474 cat conftest.$ac_ext >&5
7476 eval "ac_cv_func_$ac_func=no"
7481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7482 echo "$ac_t""yes" 1>&6
7483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7484 cat >> confdefs.h <<EOF
7485 #define $ac_tr_func 1
7489 echo "$ac_t""no" 1>&6
7490 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7500 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7501 echo "configure:7502: checking for mbstate_t" >&5
7502 cat > conftest.$ac_ext <<EOF
7503 #line 7504 "configure"
7504 #include "confdefs.h"
7507 mbstate_t teststate;
7510 if { (eval echo configure:7511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7514 echo "configure: failed program was:" >&5
7515 cat conftest.$ac_ext >&5
7520 echo "$ac_t""$have_mbstate_t" 1>&6
7521 if test x"$have_mbstate_t" = xyes; then
7522 cat >> confdefs.h <<\EOF
7523 #define HAVE_MBSTATE_T 1
7528 for ac_hdr in wchar.h
7530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7532 echo "configure:7533: checking for $ac_hdr" >&5
7533 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7534 echo $ac_n "(cached) $ac_c" 1>&6
7536 cat > conftest.$ac_ext <<EOF
7537 #line 7538 "configure"
7538 #include "confdefs.h"
7541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7542 { (eval echo configure:7543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7544 if test -z "$ac_err"; then
7546 eval "ac_cv_header_$ac_safe=yes"
7549 echo "configure: failed program was:" >&5
7550 cat conftest.$ac_ext >&5
7552 eval "ac_cv_header_$ac_safe=no"
7556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7557 echo "$ac_t""yes" 1>&6
7558 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7559 cat >> confdefs.h <<EOF
7560 #define $ac_tr_hdr 1
7564 echo "$ac_t""no" 1>&6
7569 for ac_hdr in wctype.h
7571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7573 echo "configure:7574: checking for $ac_hdr" >&5
7574 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7575 echo $ac_n "(cached) $ac_c" 1>&6
7577 cat > conftest.$ac_ext <<EOF
7578 #line 7579 "configure"
7579 #include "confdefs.h"
7582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7583 { (eval echo configure:7584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7585 if test -z "$ac_err"; then
7587 eval "ac_cv_header_$ac_safe=yes"
7590 echo "configure: failed program was:" >&5
7591 cat conftest.$ac_ext >&5
7593 eval "ac_cv_header_$ac_safe=no"
7597 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7598 echo "$ac_t""yes" 1>&6
7599 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7600 cat >> confdefs.h <<EOF
7601 #define $ac_tr_hdr 1
7605 echo "$ac_t""no" 1>&6
7611 if test x"$ac_has_wchar_h" = xyes &&
7612 test x"$ac_has_wctype_h" = xyes &&
7613 test x"$enable_c_mbchar" != xno; then
7615 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7616 echo "configure:7617: checking for WCHAR_MIN and WCHAR_MAX" >&5
7617 cat > conftest.$ac_ext <<EOF
7618 #line 7619 "configure"
7619 #include "confdefs.h"
7622 int i = WCHAR_MIN; int j = WCHAR_MAX;
7625 if { (eval echo configure:7626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7627 has_wchar_minmax=yes
7629 echo "configure: failed program was:" >&5
7630 cat conftest.$ac_ext >&5
7635 echo "$ac_t""$has_wchar_minmax" 1>&6
7637 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7638 echo "configure:7639: checking for WEOF" >&5
7639 cat > conftest.$ac_ext <<EOF
7640 #line 7641 "configure"
7641 #include "confdefs.h"
7649 if { (eval echo configure:7650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7653 echo "configure: failed program was:" >&5
7654 cat conftest.$ac_ext >&5
7659 echo "$ac_t""$has_weof" 1>&6
7662 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7665 echo "configure:7666: checking for $ac_func" >&5
7666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7667 echo $ac_n "(cached) $ac_c" 1>&6
7669 cat > conftest.$ac_ext <<EOF
7670 #line 7671 "configure"
7671 #include "confdefs.h"
7672 /* System header to define __stub macros and hopefully few prototypes,
7673 which can conflict with char $ac_func(); below. */
7675 /* Override any gcc2 internal prototype to avoid an error. */
7676 /* We use char because int might match the return type of a gcc2
7677 builtin and then its argument prototype would still apply. */
7682 /* The GNU C library defines this for functions which it implements
7683 to always fail with ENOSYS. Some functions are actually named
7684 something starting with __ and the normal name is an alias. */
7685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7695 eval "ac_cv_func_$ac_func=yes"
7697 echo "configure: failed program was:" >&5
7698 cat conftest.$ac_ext >&5
7700 eval "ac_cv_func_$ac_func=no"
7705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7706 echo "$ac_t""yes" 1>&6
7707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7708 cat >> confdefs.h <<EOF
7709 #define $ac_tr_func 1
7713 echo "$ac_t""no" 1>&6
7720 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7721 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7722 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7723 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7724 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7725 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7728 echo "configure:7729: checking for $ac_func" >&5
7729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7730 echo $ac_n "(cached) $ac_c" 1>&6
7732 cat > conftest.$ac_ext <<EOF
7733 #line 7734 "configure"
7734 #include "confdefs.h"
7735 /* System header to define __stub macros and hopefully few prototypes,
7736 which can conflict with char $ac_func(); below. */
7738 /* Override any gcc2 internal prototype to avoid an error. */
7739 /* We use char because int might match the return type of a gcc2
7740 builtin and then its argument prototype would still apply. */
7745 /* The GNU C library defines this for functions which it implements
7746 to always fail with ENOSYS. Some functions are actually named
7747 something starting with __ and the normal name is an alias. */
7748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7756 if { (eval echo configure:7757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7758 eval "ac_cv_func_$ac_func=yes"
7760 echo "configure: failed program was:" >&5
7761 cat conftest.$ac_ext >&5
7763 eval "ac_cv_func_$ac_func=no"
7768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7769 echo "$ac_t""yes" 1>&6
7770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7771 cat >> confdefs.h <<EOF
7772 #define $ac_tr_func 1
7776 echo "$ac_t""no" 1>&6
7783 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7784 echo "configure:7785: checking for ISO C99 wchar_t support" >&5
7785 if test x"$has_weof" = xyes &&
7786 test x"$has_wchar_minmax" = xyes &&
7787 test x"$ac_wfuncs" = xyes; then
7788 ac_isoC99_wchar_t=yes
7790 ac_isoC99_wchar_t=no
7792 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7794 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7795 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7796 echo "configure:7797: checking for iconv.h" >&5
7797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7798 echo $ac_n "(cached) $ac_c" 1>&6
7800 cat > conftest.$ac_ext <<EOF
7801 #line 7802 "configure"
7802 #include "confdefs.h"
7805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7806 { (eval echo configure:7807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7808 if test -z "$ac_err"; then
7810 eval "ac_cv_header_$ac_safe=yes"
7813 echo "configure: failed program was:" >&5
7814 cat conftest.$ac_ext >&5
7816 eval "ac_cv_header_$ac_safe=no"
7820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7821 echo "$ac_t""yes" 1>&6
7824 echo "$ac_t""no" 1>&6
7828 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7829 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7830 echo "configure:7831: checking for langinfo.h" >&5
7831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7832 echo $ac_n "(cached) $ac_c" 1>&6
7834 cat > conftest.$ac_ext <<EOF
7835 #line 7836 "configure"
7836 #include "confdefs.h"
7837 #include <langinfo.h>
7839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7840 { (eval echo configure:7841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7842 if test -z "$ac_err"; then
7844 eval "ac_cv_header_$ac_safe=yes"
7847 echo "configure: failed program was:" >&5
7848 cat conftest.$ac_ext >&5
7850 eval "ac_cv_header_$ac_safe=no"
7854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7855 echo "$ac_t""yes" 1>&6
7856 ac_has_langinfo_h=yes
7858 echo "$ac_t""no" 1>&6
7859 ac_has_langinfo_h=no
7863 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7864 echo "configure:7865: checking for iconv in -liconv" >&5
7865 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7869 ac_save_LIBS="$LIBS"
7870 LIBS="-liconv $LIBS"
7871 cat > conftest.$ac_ext <<EOF
7872 #line 7873 "configure"
7873 #include "confdefs.h"
7874 /* Override any gcc2 internal prototype to avoid an error. */
7875 /* We use char because int might match the return type of a gcc2
7876 builtin and then its argument prototype would still apply. */
7883 if { (eval echo configure:7884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7885 eval "ac_cv_lib_$ac_lib_var=yes"
7887 echo "configure: failed program was:" >&5
7888 cat conftest.$ac_ext >&5
7890 eval "ac_cv_lib_$ac_lib_var=no"
7893 LIBS="$ac_save_LIBS"
7896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7897 echo "$ac_t""yes" 1>&6
7900 echo "$ac_t""no" 1>&6
7903 ac_save_LIBS="$LIBS"
7904 LIBS="$LIBS $libiconv"
7906 for ac_func in iconv_open iconv_close iconv nl_langinfo
7908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7909 echo "configure:7910: checking for $ac_func" >&5
7910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7911 echo $ac_n "(cached) $ac_c" 1>&6
7913 cat > conftest.$ac_ext <<EOF
7914 #line 7915 "configure"
7915 #include "confdefs.h"
7916 /* System header to define __stub macros and hopefully few prototypes,
7917 which can conflict with char $ac_func(); below. */
7919 /* Override any gcc2 internal prototype to avoid an error. */
7920 /* We use char because int might match the return type of a gcc2
7921 builtin and then its argument prototype would still apply. */
7926 /* The GNU C library defines this for functions which it implements
7927 to always fail with ENOSYS. Some functions are actually named
7928 something starting with __ and the normal name is an alias. */
7929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7939 eval "ac_cv_func_$ac_func=yes"
7941 echo "configure: failed program was:" >&5
7942 cat conftest.$ac_ext >&5
7944 eval "ac_cv_func_$ac_func=no"
7949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7950 echo "$ac_t""yes" 1>&6
7951 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7952 cat >> confdefs.h <<EOF
7953 #define $ac_tr_func 1
7958 echo "$ac_t""no" 1>&6
7964 LIBS="$ac_save_LIBS"
7966 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7967 echo "configure:7968: checking for XPG2 wchar_t support" >&5
7968 if test x"$ac_has_iconv_h" = xyes &&
7969 test x"$ac_has_langinfo_h" = xyes &&
7970 test x"$ac_XPG2funcs" = xyes; then
7975 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7977 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7978 echo "configure:7979: checking for enabled wchar_t specializations" >&5
7979 if test x"$ac_isoC99_wchar_t" = xyes &&
7980 test x"$ac_XPG2_wchar_t" = xyes; then
7981 cat >> confdefs.h <<\EOF
7982 #define _GLIBCPP_USE_WCHAR_T 1
7985 echo "$ac_t"""yes"" 1>&6
7987 echo "$ac_t"""no"" 1>&6
7990 echo "configure: warning: wchar_t support disabled." 1>&2
7993 os_include_dir="os/bsd/freebsd"
7994 cat >> confdefs.h <<\EOF
7995 #define HAVE_LC_MESSAGES 1
7998 cat >> confdefs.h <<\EOF
7999 #define HAVE_DRAND48 1
8002 cat >> confdefs.h <<\EOF
8003 #define HAVE_GETPAGESIZE 1
8006 cat >> confdefs.h <<\EOF
8007 #define HAVE_SETENV 1
8010 cat >> confdefs.h <<\EOF
8011 #define HAVE_SIGSETJMP 1
8014 cat >> confdefs.h <<\EOF
8015 #define HAVE_COPYSIGN 1
8018 cat >> confdefs.h <<\EOF
8019 #define HAVE_COPYSIGNF 1
8022 cat >> confdefs.h <<\EOF
8023 #define HAVE_FINITEF 1
8026 cat >> confdefs.h <<\EOF
8027 #define HAVE_FINITE 1
8030 cat >> confdefs.h <<\EOF
8031 #define HAVE_FREXPF 1
8034 cat >> confdefs.h <<\EOF
8035 #define HAVE_HYPOT 1
8038 cat >> confdefs.h <<\EOF
8039 #define HAVE_HYPOTF 1
8042 cat >> confdefs.h <<\EOF
8043 #define HAVE_ISINF 1
8046 cat >> confdefs.h <<\EOF
8047 #define HAVE_ISNAN 1
8050 cat >> confdefs.h <<\EOF
8051 #define HAVE_ISNANF 1
8054 if test x"long_double_math_on_this_cpu" = x"yes"; then
8055 cat >> confdefs.h <<\EOF
8056 #define HAVE_FINITEL 1
8059 cat >> confdefs.h <<\EOF
8060 #define HAVE_ISINFL 1
8063 cat >> confdefs.h <<\EOF
8064 #define HAVE_ISNANL 1
8070 for ac_hdr in sys/types.h locale.h float.h
8072 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8074 echo "configure:8075: checking for $ac_hdr" >&5
8075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8076 echo $ac_n "(cached) $ac_c" 1>&6
8078 cat > conftest.$ac_ext <<EOF
8079 #line 8080 "configure"
8080 #include "confdefs.h"
8083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8084 { (eval echo configure:8085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8086 if test -z "$ac_err"; then
8088 eval "ac_cv_header_$ac_safe=yes"
8091 echo "configure: failed program was:" >&5
8092 cat conftest.$ac_ext >&5
8094 eval "ac_cv_header_$ac_safe=no"
8098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8099 echo "$ac_t""yes" 1>&6
8100 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8101 cat >> confdefs.h <<EOF
8102 #define $ac_tr_hdr 1
8106 echo "$ac_t""no" 1>&6
8111 # If we're not using GNU ld, then there's no point in even trying these
8112 # tests. Check for that first. We should have already tested for gld
8113 # by now (in libtool), but require it now just to be safe...
8114 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8115 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8118 # The name set by libtool depends on the version of libtool. Shame on us
8119 # for depending on an impl detail, but c'est la vie. Older versions used
8120 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8121 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8122 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8123 # set (hence we're using an older libtool), then set it.
8124 if test x${with_gnu_ld+set} != xset; then
8125 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8126 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8129 with_gnu_ld=$ac_cv_prog_gnu_ld
8133 # Start by getting the version number. I think the libtool test already
8134 # does some of this, but throws away the result.
8136 ldver=`$LD --version 2>/dev/null | head -1 | \
8137 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8139 glibcpp_gnu_ld_version=`echo $ldver | \
8140 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8142 # Set --gc-sections.
8143 if test "$with_gnu_ld" = "notbroken"; then
8144 # GNU ld it is! Joy and bunny rabbits!
8146 # All these tests are for C++; save the language and the compiler flags.
8147 # Need to do this so that g++ won't try to link in libstdc++
8148 ac_test_CFLAGS="${CFLAGS+set}"
8149 ac_save_CFLAGS="$CFLAGS"
8150 CFLAGS='-x c++ -Wl,--gc-sections'
8152 # Check for -Wl,--gc-sections
8153 # XXX This test is broken at the moment, as symbols required for
8154 # linking are now in libsupc++ (not built yet.....). In addition,
8155 # this test has cored on solaris in the past. In addition,
8156 # --gc-sections doesn't really work at the moment (keeps on discarding
8157 # used sections, first .eh_frame and now some of the glibc sections for
8158 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8159 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8160 echo "configure:8161: checking for ld that supports -Wl,--gc-sections" >&5
8161 if test "$cross_compiling" = yes; then
8162 ac_sectionLDflags=yes
8164 cat > conftest.$ac_ext <<EOF
8165 #line 8166 "configure"
8166 #include "confdefs.h"
8176 if { (eval echo configure:8177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8178 ac_sectionLDflags=yes
8180 echo "configure: failed program was:" >&5
8181 cat conftest.$ac_ext >&5
8183 ac_sectionLDflags=no
8188 if test "$ac_test_CFLAGS" = set; then
8189 CFLAGS="$ac_save_CFLAGS"
8191 # this is the suspicious part
8194 if test "$ac_sectionLDflags" = "yes"; then
8195 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8197 echo "$ac_t""$ac_sectionLDflags" 1>&6
8200 # Set linker optimization flags.
8201 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8209 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8210 echo "configure:8211: checking for main in -lm" >&5
8211 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8213 echo $ac_n "(cached) $ac_c" 1>&6
8215 ac_save_LIBS="$LIBS"
8217 cat > conftest.$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8227 eval "ac_cv_lib_$ac_lib_var=yes"
8229 echo "configure: failed program was:" >&5
8230 cat conftest.$ac_ext >&5
8232 eval "ac_cv_lib_$ac_lib_var=no"
8235 LIBS="$ac_save_LIBS"
8238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8239 echo "$ac_t""yes" 1>&6
8240 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8241 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8242 cat >> confdefs.h <<EOF
8243 #define $ac_tr_lib 1
8249 echo "$ac_t""no" 1>&6
8252 for ac_func in nan copysignf
8254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8255 echo "configure:8256: checking for $ac_func" >&5
8256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8257 echo $ac_n "(cached) $ac_c" 1>&6
8259 cat > conftest.$ac_ext <<EOF
8260 #line 8261 "configure"
8261 #include "confdefs.h"
8262 /* System header to define __stub macros and hopefully few prototypes,
8263 which can conflict with char $ac_func(); below. */
8265 /* Override any gcc2 internal prototype to avoid an error. */
8266 /* We use char because int might match the return type of a gcc2
8267 builtin and then its argument prototype would still apply. */
8272 /* The GNU C library defines this for functions which it implements
8273 to always fail with ENOSYS. Some functions are actually named
8274 something starting with __ and the normal name is an alias. */
8275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8285 eval "ac_cv_func_$ac_func=yes"
8287 echo "configure: failed program was:" >&5
8288 cat conftest.$ac_ext >&5
8290 eval "ac_cv_func_$ac_func=no"
8295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8296 echo "$ac_t""yes" 1>&6
8297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8298 cat >> confdefs.h <<EOF
8299 #define $ac_tr_func 1
8303 echo "$ac_t""no" 1>&6
8304 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8309 for ac_func in __signbit
8311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8312 echo "configure:8313: checking for $ac_func" >&5
8313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8314 echo $ac_n "(cached) $ac_c" 1>&6
8316 cat > conftest.$ac_ext <<EOF
8317 #line 8318 "configure"
8318 #include "confdefs.h"
8319 /* System header to define __stub macros and hopefully few prototypes,
8320 which can conflict with char $ac_func(); below. */
8322 /* Override any gcc2 internal prototype to avoid an error. */
8323 /* We use char because int might match the return type of a gcc2
8324 builtin and then its argument prototype would still apply. */
8329 /* The GNU C library defines this for functions which it implements
8330 to always fail with ENOSYS. Some functions are actually named
8331 something starting with __ and the normal name is an alias. */
8332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8340 if { (eval echo configure:8341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8342 eval "ac_cv_func_$ac_func=yes"
8344 echo "configure: failed program was:" >&5
8345 cat conftest.$ac_ext >&5
8347 eval "ac_cv_func_$ac_func=no"
8352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8353 echo "$ac_t""yes" 1>&6
8354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8355 cat >> confdefs.h <<EOF
8356 #define $ac_tr_func 1
8360 echo "$ac_t""no" 1>&6
8361 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8365 for ac_func in __signbitf
8367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8368 echo "configure:8369: checking for $ac_func" >&5
8369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6
8372 cat > conftest.$ac_ext <<EOF
8373 #line 8374 "configure"
8374 #include "confdefs.h"
8375 /* System header to define __stub macros and hopefully few prototypes,
8376 which can conflict with char $ac_func(); below. */
8378 /* Override any gcc2 internal prototype to avoid an error. */
8379 /* We use char because int might match the return type of a gcc2
8380 builtin and then its argument prototype would still apply. */
8385 /* The GNU C library defines this for functions which it implements
8386 to always fail with ENOSYS. Some functions are actually named
8387 something starting with __ and the normal name is an alias. */
8388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8398 eval "ac_cv_func_$ac_func=yes"
8400 echo "configure: failed program was:" >&5
8401 cat conftest.$ac_ext >&5
8403 eval "ac_cv_func_$ac_func=no"
8408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8409 echo "$ac_t""yes" 1>&6
8410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8411 cat >> confdefs.h <<EOF
8412 #define $ac_tr_func 1
8416 echo "$ac_t""no" 1>&6
8417 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8422 if test x$ac_cv_func_copysignl = x"yes"; then
8423 for ac_func in __signbitl
8425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8426 echo "configure:8427: checking for $ac_func" >&5
8427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8428 echo $ac_n "(cached) $ac_c" 1>&6
8430 cat > conftest.$ac_ext <<EOF
8431 #line 8432 "configure"
8432 #include "confdefs.h"
8433 /* System header to define __stub macros and hopefully few prototypes,
8434 which can conflict with char $ac_func(); below. */
8436 /* Override any gcc2 internal prototype to avoid an error. */
8437 /* We use char because int might match the return type of a gcc2
8438 builtin and then its argument prototype would still apply. */
8443 /* The GNU C library defines this for functions which it implements
8444 to always fail with ENOSYS. Some functions are actually named
8445 something starting with __ and the normal name is an alias. */
8446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8454 if { (eval echo configure:8455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8456 eval "ac_cv_func_$ac_func=yes"
8458 echo "configure: failed program was:" >&5
8459 cat conftest.$ac_ext >&5
8461 eval "ac_cv_func_$ac_func=no"
8466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8467 echo "$ac_t""yes" 1>&6
8468 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8469 cat >> confdefs.h <<EOF
8470 #define $ac_tr_func 1
8474 echo "$ac_t""no" 1>&6
8475 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8485 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8486 echo "configure:8487: checking for mbstate_t" >&5
8487 cat > conftest.$ac_ext <<EOF
8488 #line 8489 "configure"
8489 #include "confdefs.h"
8492 mbstate_t teststate;
8495 if { (eval echo configure:8496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8499 echo "configure: failed program was:" >&5
8500 cat conftest.$ac_ext >&5
8505 echo "$ac_t""$have_mbstate_t" 1>&6
8506 if test x"$have_mbstate_t" = xyes; then
8507 cat >> confdefs.h <<\EOF
8508 #define HAVE_MBSTATE_T 1
8513 for ac_hdr in wchar.h
8515 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8516 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8517 echo "configure:8518: checking for $ac_hdr" >&5
8518 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8519 echo $ac_n "(cached) $ac_c" 1>&6
8521 cat > conftest.$ac_ext <<EOF
8522 #line 8523 "configure"
8523 #include "confdefs.h"
8526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8527 { (eval echo configure:8528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8529 if test -z "$ac_err"; then
8531 eval "ac_cv_header_$ac_safe=yes"
8534 echo "configure: failed program was:" >&5
8535 cat conftest.$ac_ext >&5
8537 eval "ac_cv_header_$ac_safe=no"
8541 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8542 echo "$ac_t""yes" 1>&6
8543 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8544 cat >> confdefs.h <<EOF
8545 #define $ac_tr_hdr 1
8549 echo "$ac_t""no" 1>&6
8554 for ac_hdr in wctype.h
8556 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8557 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8558 echo "configure:8559: checking for $ac_hdr" >&5
8559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8560 echo $ac_n "(cached) $ac_c" 1>&6
8562 cat > conftest.$ac_ext <<EOF
8563 #line 8564 "configure"
8564 #include "confdefs.h"
8567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8568 { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8570 if test -z "$ac_err"; then
8572 eval "ac_cv_header_$ac_safe=yes"
8575 echo "configure: failed program was:" >&5
8576 cat conftest.$ac_ext >&5
8578 eval "ac_cv_header_$ac_safe=no"
8582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8583 echo "$ac_t""yes" 1>&6
8584 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8585 cat >> confdefs.h <<EOF
8586 #define $ac_tr_hdr 1
8590 echo "$ac_t""no" 1>&6
8596 if test x"$ac_has_wchar_h" = xyes &&
8597 test x"$ac_has_wctype_h" = xyes &&
8598 test x"$enable_c_mbchar" != xno; then
8600 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8601 echo "configure:8602: checking for WCHAR_MIN and WCHAR_MAX" >&5
8602 cat > conftest.$ac_ext <<EOF
8603 #line 8604 "configure"
8604 #include "confdefs.h"
8607 int i = WCHAR_MIN; int j = WCHAR_MAX;
8610 if { (eval echo configure:8611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8612 has_wchar_minmax=yes
8614 echo "configure: failed program was:" >&5
8615 cat conftest.$ac_ext >&5
8620 echo "$ac_t""$has_wchar_minmax" 1>&6
8622 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8623 echo "configure:8624: checking for WEOF" >&5
8624 cat > conftest.$ac_ext <<EOF
8625 #line 8626 "configure"
8626 #include "confdefs.h"
8634 if { (eval echo configure:8635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8638 echo "configure: failed program was:" >&5
8639 cat conftest.$ac_ext >&5
8644 echo "$ac_t""$has_weof" 1>&6
8647 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8650 echo "configure:8651: checking for $ac_func" >&5
8651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8652 echo $ac_n "(cached) $ac_c" 1>&6
8654 cat > conftest.$ac_ext <<EOF
8655 #line 8656 "configure"
8656 #include "confdefs.h"
8657 /* System header to define __stub macros and hopefully few prototypes,
8658 which can conflict with char $ac_func(); below. */
8660 /* Override any gcc2 internal prototype to avoid an error. */
8661 /* We use char because int might match the return type of a gcc2
8662 builtin and then its argument prototype would still apply. */
8667 /* The GNU C library defines this for functions which it implements
8668 to always fail with ENOSYS. Some functions are actually named
8669 something starting with __ and the normal name is an alias. */
8670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8678 if { (eval echo configure:8679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8680 eval "ac_cv_func_$ac_func=yes"
8682 echo "configure: failed program was:" >&5
8683 cat conftest.$ac_ext >&5
8685 eval "ac_cv_func_$ac_func=no"
8690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8691 echo "$ac_t""yes" 1>&6
8692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8693 cat >> confdefs.h <<EOF
8694 #define $ac_tr_func 1
8698 echo "$ac_t""no" 1>&6
8705 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8706 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8707 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8708 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8709 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8710 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8713 echo "configure:8714: checking for $ac_func" >&5
8714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8715 echo $ac_n "(cached) $ac_c" 1>&6
8717 cat > conftest.$ac_ext <<EOF
8718 #line 8719 "configure"
8719 #include "confdefs.h"
8720 /* System header to define __stub macros and hopefully few prototypes,
8721 which can conflict with char $ac_func(); below. */
8723 /* Override any gcc2 internal prototype to avoid an error. */
8724 /* We use char because int might match the return type of a gcc2
8725 builtin and then its argument prototype would still apply. */
8730 /* The GNU C library defines this for functions which it implements
8731 to always fail with ENOSYS. Some functions are actually named
8732 something starting with __ and the normal name is an alias. */
8733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8741 if { (eval echo configure:8742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8743 eval "ac_cv_func_$ac_func=yes"
8745 echo "configure: failed program was:" >&5
8746 cat conftest.$ac_ext >&5
8748 eval "ac_cv_func_$ac_func=no"
8753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8754 echo "$ac_t""yes" 1>&6
8755 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8756 cat >> confdefs.h <<EOF
8757 #define $ac_tr_func 1
8761 echo "$ac_t""no" 1>&6
8768 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8769 echo "configure:8770: checking for ISO C99 wchar_t support" >&5
8770 if test x"$has_weof" = xyes &&
8771 test x"$has_wchar_minmax" = xyes &&
8772 test x"$ac_wfuncs" = xyes; then
8773 ac_isoC99_wchar_t=yes
8775 ac_isoC99_wchar_t=no
8777 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8779 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8780 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8781 echo "configure:8782: checking for iconv.h" >&5
8782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8783 echo $ac_n "(cached) $ac_c" 1>&6
8785 cat > conftest.$ac_ext <<EOF
8786 #line 8787 "configure"
8787 #include "confdefs.h"
8790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8791 { (eval echo configure:8792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8793 if test -z "$ac_err"; then
8795 eval "ac_cv_header_$ac_safe=yes"
8798 echo "configure: failed program was:" >&5
8799 cat conftest.$ac_ext >&5
8801 eval "ac_cv_header_$ac_safe=no"
8805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8806 echo "$ac_t""yes" 1>&6
8809 echo "$ac_t""no" 1>&6
8813 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8814 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8815 echo "configure:8816: checking for langinfo.h" >&5
8816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8817 echo $ac_n "(cached) $ac_c" 1>&6
8819 cat > conftest.$ac_ext <<EOF
8820 #line 8821 "configure"
8821 #include "confdefs.h"
8822 #include <langinfo.h>
8824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8825 { (eval echo configure:8826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8827 if test -z "$ac_err"; then
8829 eval "ac_cv_header_$ac_safe=yes"
8832 echo "configure: failed program was:" >&5
8833 cat conftest.$ac_ext >&5
8835 eval "ac_cv_header_$ac_safe=no"
8839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8840 echo "$ac_t""yes" 1>&6
8841 ac_has_langinfo_h=yes
8843 echo "$ac_t""no" 1>&6
8844 ac_has_langinfo_h=no
8848 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8849 echo "configure:8850: checking for iconv in -liconv" >&5
8850 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8851 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8852 echo $ac_n "(cached) $ac_c" 1>&6
8854 ac_save_LIBS="$LIBS"
8855 LIBS="-liconv $LIBS"
8856 cat > conftest.$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8859 /* Override any gcc2 internal prototype to avoid an error. */
8860 /* We use char because int might match the return type of a gcc2
8861 builtin and then its argument prototype would still apply. */
8868 if { (eval echo configure:8869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8870 eval "ac_cv_lib_$ac_lib_var=yes"
8872 echo "configure: failed program was:" >&5
8873 cat conftest.$ac_ext >&5
8875 eval "ac_cv_lib_$ac_lib_var=no"
8878 LIBS="$ac_save_LIBS"
8881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8882 echo "$ac_t""yes" 1>&6
8885 echo "$ac_t""no" 1>&6
8888 ac_save_LIBS="$LIBS"
8889 LIBS="$LIBS $libiconv"
8891 for ac_func in iconv_open iconv_close iconv nl_langinfo
8893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8894 echo "configure:8895: checking for $ac_func" >&5
8895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8896 echo $ac_n "(cached) $ac_c" 1>&6
8898 cat > conftest.$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8901 /* System header to define __stub macros and hopefully few prototypes,
8902 which can conflict with char $ac_func(); below. */
8904 /* Override any gcc2 internal prototype to avoid an error. */
8905 /* We use char because int might match the return type of a gcc2
8906 builtin and then its argument prototype would still apply. */
8911 /* The GNU C library defines this for functions which it implements
8912 to always fail with ENOSYS. Some functions are actually named
8913 something starting with __ and the normal name is an alias. */
8914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8922 if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8924 eval "ac_cv_func_$ac_func=yes"
8926 echo "configure: failed program was:" >&5
8927 cat conftest.$ac_ext >&5
8929 eval "ac_cv_func_$ac_func=no"
8934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8935 echo "$ac_t""yes" 1>&6
8936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8937 cat >> confdefs.h <<EOF
8938 #define $ac_tr_func 1
8943 echo "$ac_t""no" 1>&6
8949 LIBS="$ac_save_LIBS"
8951 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8952 echo "configure:8953: checking for XPG2 wchar_t support" >&5
8953 if test x"$ac_has_iconv_h" = xyes &&
8954 test x"$ac_has_langinfo_h" = xyes &&
8955 test x"$ac_XPG2funcs" = xyes; then
8960 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8962 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8963 echo "configure:8964: checking for enabled wchar_t specializations" >&5
8964 if test x"$ac_isoC99_wchar_t" = xyes &&
8965 test x"$ac_XPG2_wchar_t" = xyes; then
8966 cat >> confdefs.h <<\EOF
8967 #define _GLIBCPP_USE_WCHAR_T 1
8970 echo "$ac_t"""yes"" 1>&6
8972 echo "$ac_t"""no"" 1>&6
8975 echo "configure: warning: wchar_t support disabled." 1>&2
8978 os_include_dir="os/mingw32"
8981 os_include_dir="os/windiss"
8984 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8987 # If we're not using GNU ld, then there's no point in even trying these
8988 # tests. Check for that first. We should have already tested for gld
8989 # by now (in libtool), but require it now just to be safe...
8990 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8991 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8994 # The name set by libtool depends on the version of libtool. Shame on us
8995 # for depending on an impl detail, but c'est la vie. Older versions used
8996 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8997 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8998 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8999 # set (hence we're using an older libtool), then set it.
9000 if test x${with_gnu_ld+set} != xset; then
9001 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9002 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9005 with_gnu_ld=$ac_cv_prog_gnu_ld
9009 # Start by getting the version number. I think the libtool test already
9010 # does some of this, but throws away the result.
9012 ldver=`$LD --version 2>/dev/null | head -1 | \
9013 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9015 glibcpp_gnu_ld_version=`echo $ldver | \
9016 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9018 # Set --gc-sections.
9019 if test "$with_gnu_ld" = "notbroken"; then
9020 # GNU ld it is! Joy and bunny rabbits!
9022 # All these tests are for C++; save the language and the compiler flags.
9023 # Need to do this so that g++ won't try to link in libstdc++
9024 ac_test_CFLAGS="${CFLAGS+set}"
9025 ac_save_CFLAGS="$CFLAGS"
9026 CFLAGS='-x c++ -Wl,--gc-sections'
9028 # Check for -Wl,--gc-sections
9029 # XXX This test is broken at the moment, as symbols required for
9030 # linking are now in libsupc++ (not built yet.....). In addition,
9031 # this test has cored on solaris in the past. In addition,
9032 # --gc-sections doesn't really work at the moment (keeps on discarding
9033 # used sections, first .eh_frame and now some of the glibc sections for
9034 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9035 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9036 echo "configure:9037: checking for ld that supports -Wl,--gc-sections" >&5
9037 if test "$cross_compiling" = yes; then
9038 ac_sectionLDflags=yes
9040 cat > conftest.$ac_ext <<EOF
9041 #line 9042 "configure"
9042 #include "confdefs.h"
9052 if { (eval echo configure:9053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9054 ac_sectionLDflags=yes
9056 echo "configure: failed program was:" >&5
9057 cat conftest.$ac_ext >&5
9059 ac_sectionLDflags=no
9064 if test "$ac_test_CFLAGS" = set; then
9065 CFLAGS="$ac_save_CFLAGS"
9067 # this is the suspicious part
9070 if test "$ac_sectionLDflags" = "yes"; then
9071 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9073 echo "$ac_t""$ac_sectionLDflags" 1>&6
9076 # Set linker optimization flags.
9077 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9085 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9086 echo "configure:9087: checking for main in -lm" >&5
9087 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9089 echo $ac_n "(cached) $ac_c" 1>&6
9091 ac_save_LIBS="$LIBS"
9093 cat > conftest.$ac_ext <<EOF
9094 #line 9095 "configure"
9095 #include "confdefs.h"
9101 if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9103 eval "ac_cv_lib_$ac_lib_var=yes"
9105 echo "configure: failed program was:" >&5
9106 cat conftest.$ac_ext >&5
9108 eval "ac_cv_lib_$ac_lib_var=no"
9111 LIBS="$ac_save_LIBS"
9114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9115 echo "$ac_t""yes" 1>&6
9116 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9117 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9118 cat >> confdefs.h <<EOF
9119 #define $ac_tr_lib 1
9125 echo "$ac_t""no" 1>&6
9128 for ac_func in nan copysignf
9130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9131 echo "configure:9132: checking for $ac_func" >&5
9132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9133 echo $ac_n "(cached) $ac_c" 1>&6
9135 cat > conftest.$ac_ext <<EOF
9136 #line 9137 "configure"
9137 #include "confdefs.h"
9138 /* System header to define __stub macros and hopefully few prototypes,
9139 which can conflict with char $ac_func(); below. */
9141 /* Override any gcc2 internal prototype to avoid an error. */
9142 /* We use char because int might match the return type of a gcc2
9143 builtin and then its argument prototype would still apply. */
9148 /* The GNU C library defines this for functions which it implements
9149 to always fail with ENOSYS. Some functions are actually named
9150 something starting with __ and the normal name is an alias. */
9151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9159 if { (eval echo configure:9160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9161 eval "ac_cv_func_$ac_func=yes"
9163 echo "configure: failed program was:" >&5
9164 cat conftest.$ac_ext >&5
9166 eval "ac_cv_func_$ac_func=no"
9171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9172 echo "$ac_t""yes" 1>&6
9173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9174 cat >> confdefs.h <<EOF
9175 #define $ac_tr_func 1
9179 echo "$ac_t""no" 1>&6
9180 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9185 for ac_func in __signbit
9187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9188 echo "configure:9189: checking for $ac_func" >&5
9189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9190 echo $ac_n "(cached) $ac_c" 1>&6
9192 cat > conftest.$ac_ext <<EOF
9193 #line 9194 "configure"
9194 #include "confdefs.h"
9195 /* System header to define __stub macros and hopefully few prototypes,
9196 which can conflict with char $ac_func(); below. */
9198 /* Override any gcc2 internal prototype to avoid an error. */
9199 /* We use char because int might match the return type of a gcc2
9200 builtin and then its argument prototype would still apply. */
9205 /* The GNU C library defines this for functions which it implements
9206 to always fail with ENOSYS. Some functions are actually named
9207 something starting with __ and the normal name is an alias. */
9208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9216 if { (eval echo configure:9217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9218 eval "ac_cv_func_$ac_func=yes"
9220 echo "configure: failed program was:" >&5
9221 cat conftest.$ac_ext >&5
9223 eval "ac_cv_func_$ac_func=no"
9228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9229 echo "$ac_t""yes" 1>&6
9230 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9231 cat >> confdefs.h <<EOF
9232 #define $ac_tr_func 1
9236 echo "$ac_t""no" 1>&6
9237 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9241 for ac_func in __signbitf
9243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9244 echo "configure:9245: checking for $ac_func" >&5
9245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9246 echo $ac_n "(cached) $ac_c" 1>&6
9248 cat > conftest.$ac_ext <<EOF
9249 #line 9250 "configure"
9250 #include "confdefs.h"
9251 /* System header to define __stub macros and hopefully few prototypes,
9252 which can conflict with char $ac_func(); below. */
9254 /* Override any gcc2 internal prototype to avoid an error. */
9255 /* We use char because int might match the return type of a gcc2
9256 builtin and then its argument prototype would still apply. */
9261 /* The GNU C library defines this for functions which it implements
9262 to always fail with ENOSYS. Some functions are actually named
9263 something starting with __ and the normal name is an alias. */
9264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9272 if { (eval echo configure:9273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9274 eval "ac_cv_func_$ac_func=yes"
9276 echo "configure: failed program was:" >&5
9277 cat conftest.$ac_ext >&5
9279 eval "ac_cv_func_$ac_func=no"
9284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9285 echo "$ac_t""yes" 1>&6
9286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9287 cat >> confdefs.h <<EOF
9288 #define $ac_tr_func 1
9292 echo "$ac_t""no" 1>&6
9293 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9298 if test x$ac_cv_func_copysignl = x"yes"; then
9299 for ac_func in __signbitl
9301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9302 echo "configure:9303: checking for $ac_func" >&5
9303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9306 cat > conftest.$ac_ext <<EOF
9307 #line 9308 "configure"
9308 #include "confdefs.h"
9309 /* System header to define __stub macros and hopefully few prototypes,
9310 which can conflict with char $ac_func(); below. */
9312 /* Override any gcc2 internal prototype to avoid an error. */
9313 /* We use char because int might match the return type of a gcc2
9314 builtin and then its argument prototype would still apply. */
9319 /* The GNU C library defines this for functions which it implements
9320 to always fail with ENOSYS. Some functions are actually named
9321 something starting with __ and the normal name is an alias. */
9322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9332 eval "ac_cv_func_$ac_func=yes"
9334 echo "configure: failed program was:" >&5
9335 cat conftest.$ac_ext >&5
9337 eval "ac_cv_func_$ac_func=no"
9342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9343 echo "$ac_t""yes" 1>&6
9344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9345 cat >> confdefs.h <<EOF
9346 #define $ac_tr_func 1
9350 echo "$ac_t""no" 1>&6
9351 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9361 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9362 echo "configure:9363: checking for mbstate_t" >&5
9363 cat > conftest.$ac_ext <<EOF
9364 #line 9365 "configure"
9365 #include "confdefs.h"
9368 mbstate_t teststate;
9371 if { (eval echo configure:9372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9375 echo "configure: failed program was:" >&5
9376 cat conftest.$ac_ext >&5
9381 echo "$ac_t""$have_mbstate_t" 1>&6
9382 if test x"$have_mbstate_t" = xyes; then
9383 cat >> confdefs.h <<\EOF
9384 #define HAVE_MBSTATE_T 1
9389 for ac_hdr in wchar.h
9391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9393 echo "configure:9394: checking for $ac_hdr" >&5
9394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9395 echo $ac_n "(cached) $ac_c" 1>&6
9397 cat > conftest.$ac_ext <<EOF
9398 #line 9399 "configure"
9399 #include "confdefs.h"
9402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9403 { (eval echo configure:9404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9405 if test -z "$ac_err"; then
9407 eval "ac_cv_header_$ac_safe=yes"
9410 echo "configure: failed program was:" >&5
9411 cat conftest.$ac_ext >&5
9413 eval "ac_cv_header_$ac_safe=no"
9417 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9418 echo "$ac_t""yes" 1>&6
9419 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9420 cat >> confdefs.h <<EOF
9421 #define $ac_tr_hdr 1
9425 echo "$ac_t""no" 1>&6
9430 for ac_hdr in wctype.h
9432 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9433 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9434 echo "configure:9435: checking for $ac_hdr" >&5
9435 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9436 echo $ac_n "(cached) $ac_c" 1>&6
9438 cat > conftest.$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9444 { (eval echo configure:9445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9446 if test -z "$ac_err"; then
9448 eval "ac_cv_header_$ac_safe=yes"
9451 echo "configure: failed program was:" >&5
9452 cat conftest.$ac_ext >&5
9454 eval "ac_cv_header_$ac_safe=no"
9458 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9459 echo "$ac_t""yes" 1>&6
9460 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9461 cat >> confdefs.h <<EOF
9462 #define $ac_tr_hdr 1
9466 echo "$ac_t""no" 1>&6
9472 if test x"$ac_has_wchar_h" = xyes &&
9473 test x"$ac_has_wctype_h" = xyes &&
9474 test x"$enable_c_mbchar" != xno; then
9476 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9477 echo "configure:9478: checking for WCHAR_MIN and WCHAR_MAX" >&5
9478 cat > conftest.$ac_ext <<EOF
9479 #line 9480 "configure"
9480 #include "confdefs.h"
9483 int i = WCHAR_MIN; int j = WCHAR_MAX;
9486 if { (eval echo configure:9487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9488 has_wchar_minmax=yes
9490 echo "configure: failed program was:" >&5
9491 cat conftest.$ac_ext >&5
9496 echo "$ac_t""$has_wchar_minmax" 1>&6
9498 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9499 echo "configure:9500: checking for WEOF" >&5
9500 cat > conftest.$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9510 if { (eval echo configure:9511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9514 echo "configure: failed program was:" >&5
9515 cat conftest.$ac_ext >&5
9520 echo "$ac_t""$has_weof" 1>&6
9523 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9526 echo "configure:9527: checking for $ac_func" >&5
9527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9530 cat > conftest.$ac_ext <<EOF
9531 #line 9532 "configure"
9532 #include "confdefs.h"
9533 /* System header to define __stub macros and hopefully few prototypes,
9534 which can conflict with char $ac_func(); below. */
9536 /* Override any gcc2 internal prototype to avoid an error. */
9537 /* We use char because int might match the return type of a gcc2
9538 builtin and then its argument prototype would still apply. */
9543 /* The GNU C library defines this for functions which it implements
9544 to always fail with ENOSYS. Some functions are actually named
9545 something starting with __ and the normal name is an alias. */
9546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9554 if { (eval echo configure:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9556 eval "ac_cv_func_$ac_func=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.$ac_ext >&5
9561 eval "ac_cv_func_$ac_func=no"
9566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9567 echo "$ac_t""yes" 1>&6
9568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9569 cat >> confdefs.h <<EOF
9570 #define $ac_tr_func 1
9574 echo "$ac_t""no" 1>&6
9581 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9582 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9583 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9584 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9585 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9586 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9589 echo "configure:9590: checking for $ac_func" >&5
9590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9591 echo $ac_n "(cached) $ac_c" 1>&6
9593 cat > conftest.$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9596 /* System header to define __stub macros and hopefully few prototypes,
9597 which can conflict with char $ac_func(); below. */
9599 /* Override any gcc2 internal prototype to avoid an error. */
9600 /* We use char because int might match the return type of a gcc2
9601 builtin and then its argument prototype would still apply. */
9606 /* The GNU C library defines this for functions which it implements
9607 to always fail with ENOSYS. Some functions are actually named
9608 something starting with __ and the normal name is an alias. */
9609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 if { (eval echo configure:9618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9619 eval "ac_cv_func_$ac_func=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.$ac_ext >&5
9624 eval "ac_cv_func_$ac_func=no"
9629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9630 echo "$ac_t""yes" 1>&6
9631 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9632 cat >> confdefs.h <<EOF
9633 #define $ac_tr_func 1
9637 echo "$ac_t""no" 1>&6
9644 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9645 echo "configure:9646: checking for ISO C99 wchar_t support" >&5
9646 if test x"$has_weof" = xyes &&
9647 test x"$has_wchar_minmax" = xyes &&
9648 test x"$ac_wfuncs" = xyes; then
9649 ac_isoC99_wchar_t=yes
9651 ac_isoC99_wchar_t=no
9653 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9655 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9656 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9657 echo "configure:9658: checking for iconv.h" >&5
9658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9659 echo $ac_n "(cached) $ac_c" 1>&6
9661 cat > conftest.$ac_ext <<EOF
9662 #line 9663 "configure"
9663 #include "confdefs.h"
9666 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9667 { (eval echo configure:9668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9669 if test -z "$ac_err"; then
9671 eval "ac_cv_header_$ac_safe=yes"
9674 echo "configure: failed program was:" >&5
9675 cat conftest.$ac_ext >&5
9677 eval "ac_cv_header_$ac_safe=no"
9681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9682 echo "$ac_t""yes" 1>&6
9685 echo "$ac_t""no" 1>&6
9689 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9690 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9691 echo "configure:9692: checking for langinfo.h" >&5
9692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9693 echo $ac_n "(cached) $ac_c" 1>&6
9695 cat > conftest.$ac_ext <<EOF
9696 #line 9697 "configure"
9697 #include "confdefs.h"
9698 #include <langinfo.h>
9700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9701 { (eval echo configure:9702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9703 if test -z "$ac_err"; then
9705 eval "ac_cv_header_$ac_safe=yes"
9708 echo "configure: failed program was:" >&5
9709 cat conftest.$ac_ext >&5
9711 eval "ac_cv_header_$ac_safe=no"
9715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9716 echo "$ac_t""yes" 1>&6
9717 ac_has_langinfo_h=yes
9719 echo "$ac_t""no" 1>&6
9720 ac_has_langinfo_h=no
9724 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9725 echo "configure:9726: checking for iconv in -liconv" >&5
9726 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9730 ac_save_LIBS="$LIBS"
9731 LIBS="-liconv $LIBS"
9732 cat > conftest.$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9744 if { (eval echo configure:9745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9746 eval "ac_cv_lib_$ac_lib_var=yes"
9748 echo "configure: failed program was:" >&5
9749 cat conftest.$ac_ext >&5
9751 eval "ac_cv_lib_$ac_lib_var=no"
9754 LIBS="$ac_save_LIBS"
9757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9758 echo "$ac_t""yes" 1>&6
9761 echo "$ac_t""no" 1>&6
9764 ac_save_LIBS="$LIBS"
9765 LIBS="$LIBS $libiconv"
9767 for ac_func in iconv_open iconv_close iconv nl_langinfo
9769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9770 echo "configure:9771: checking for $ac_func" >&5
9771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9772 echo $ac_n "(cached) $ac_c" 1>&6
9774 cat > conftest.$ac_ext <<EOF
9775 #line 9776 "configure"
9776 #include "confdefs.h"
9777 /* System header to define __stub macros and hopefully few prototypes,
9778 which can conflict with char $ac_func(); below. */
9780 /* Override any gcc2 internal prototype to avoid an error. */
9781 /* We use char because int might match the return type of a gcc2
9782 builtin and then its argument prototype would still apply. */
9787 /* The GNU C library defines this for functions which it implements
9788 to always fail with ENOSYS. Some functions are actually named
9789 something starting with __ and the normal name is an alias. */
9790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9798 if { (eval echo configure:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9800 eval "ac_cv_func_$ac_func=yes"
9802 echo "configure: failed program was:" >&5
9803 cat conftest.$ac_ext >&5
9805 eval "ac_cv_func_$ac_func=no"
9810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9813 cat >> confdefs.h <<EOF
9814 #define $ac_tr_func 1
9819 echo "$ac_t""no" 1>&6
9825 LIBS="$ac_save_LIBS"
9827 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9828 echo "configure:9829: checking for XPG2 wchar_t support" >&5
9829 if test x"$ac_has_iconv_h" = xyes &&
9830 test x"$ac_has_langinfo_h" = xyes &&
9831 test x"$ac_XPG2funcs" = xyes; then
9836 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9838 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9839 echo "configure:9840: checking for enabled wchar_t specializations" >&5
9840 if test x"$ac_isoC99_wchar_t" = xyes &&
9841 test x"$ac_XPG2_wchar_t" = xyes; then
9842 cat >> confdefs.h <<\EOF
9843 #define _GLIBCPP_USE_WCHAR_T 1
9846 echo "$ac_t"""yes"" 1>&6
9848 echo "$ac_t"""no"" 1>&6
9851 echo "configure: warning: wchar_t support disabled." 1>&2
9854 os_include_dir="os/qnx/qnx6.1"
9855 cat >> confdefs.h <<\EOF
9859 cat >> confdefs.h <<\EOF
9863 cat >> confdefs.h <<\EOF
9864 #define HAVE_COSHF 1
9867 cat >> confdefs.h <<\EOF
9868 #define HAVE_COSHL 1
9871 cat >> confdefs.h <<\EOF
9875 cat >> confdefs.h <<\EOF
9879 cat >> confdefs.h <<\EOF
9880 #define HAVE_LOG10F 1
9883 cat >> confdefs.h <<\EOF
9884 #define HAVE_LOG10L 1
9887 cat >> confdefs.h <<\EOF
9891 cat >> confdefs.h <<\EOF
9895 cat >> confdefs.h <<\EOF
9896 #define HAVE_SINHF 1
9899 cat >> confdefs.h <<\EOF
9900 #define HAVE_SINHL 1
9905 os_include_dir="os/newlib"
9906 cat >> confdefs.h <<\EOF
9907 #define HAVE_HYPOT 1
9917 cat >> confdefs.h <<\EOF
9918 #define HAVE_ACOSF 1
9921 cat >> confdefs.h <<\EOF
9922 #define HAVE_ASINF 1
9925 cat >> confdefs.h <<\EOF
9926 #define HAVE_ATAN2F 1
9929 cat >> confdefs.h <<\EOF
9930 #define HAVE_ATANF 1
9933 cat >> confdefs.h <<\EOF
9934 #define HAVE_CEILF 1
9937 cat >> confdefs.h <<\EOF
9938 #define HAVE_COPYSIGN 1
9941 cat >> confdefs.h <<\EOF
9942 #define HAVE_COPYSIGNF 1
9945 cat >> confdefs.h <<\EOF
9949 cat >> confdefs.h <<\EOF
9950 #define HAVE_COSHF 1
9953 cat >> confdefs.h <<\EOF
9957 cat >> confdefs.h <<\EOF
9958 #define HAVE_FABSF 1
9961 cat >> confdefs.h <<\EOF
9962 #define HAVE_FLOORF 1
9965 cat >> confdefs.h <<\EOF
9966 #define HAVE_FMODF 1
9969 cat >> confdefs.h <<\EOF
9970 #define HAVE_FREXPF 1
9973 cat >> confdefs.h <<\EOF
9974 #define HAVE_LDEXPF 1
9977 cat >> confdefs.h <<\EOF
9978 #define HAVE_LOG10F 1
9981 cat >> confdefs.h <<\EOF
9985 cat >> confdefs.h <<\EOF
9986 #define HAVE_MODFF 1
9989 cat >> confdefs.h <<\EOF
9993 cat >> confdefs.h <<\EOF
9997 cat >> confdefs.h <<\EOF
9998 #define HAVE_SINHF 1
10001 cat >> confdefs.h <<\EOF
10002 #define HAVE_SQRTF 1
10005 cat >> confdefs.h <<\EOF
10006 #define HAVE_TANF 1
10009 cat >> confdefs.h <<\EOF
10010 #define HAVE_TANHF 1
10015 # Must replicate generic section since we don't have strtof or strtold.
10016 cat >> confdefs.h <<\EOF
10017 #define HAVE_MMAP 1
10020 cat >> confdefs.h <<\EOF
10021 #define HAVE_ACOSF 1
10024 cat >> confdefs.h <<\EOF
10025 #define HAVE_ASINF 1
10028 cat >> confdefs.h <<\EOF
10029 #define HAVE_ATAN2F 1
10032 cat >> confdefs.h <<\EOF
10033 #define HAVE_ATANF 1
10036 cat >> confdefs.h <<\EOF
10037 #define HAVE_CEILF 1
10040 cat >> confdefs.h <<\EOF
10041 #define HAVE_COPYSIGN 1
10044 cat >> confdefs.h <<\EOF
10045 #define HAVE_COPYSIGNF 1
10048 cat >> confdefs.h <<\EOF
10049 #define HAVE_COSF 1
10052 cat >> confdefs.h <<\EOF
10053 #define HAVE_COSHF 1
10056 cat >> confdefs.h <<\EOF
10057 #define HAVE_EXPF 1
10060 cat >> confdefs.h <<\EOF
10061 #define HAVE_FABSF 1
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_FLOORF 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_FMODF 1
10072 cat >> confdefs.h <<\EOF
10073 #define HAVE_FREXPF 1
10076 cat >> confdefs.h <<\EOF
10077 #define HAVE_LDEXPF 1
10080 cat >> confdefs.h <<\EOF
10081 #define HAVE_LOG10F 1
10084 cat >> confdefs.h <<\EOF
10085 #define HAVE_LOGF 1
10088 cat >> confdefs.h <<\EOF
10089 #define HAVE_MODFF 1
10092 cat >> confdefs.h <<\EOF
10093 #define HAVE_POWF 1
10096 cat >> confdefs.h <<\EOF
10097 #define HAVE_SINF 1
10100 cat >> confdefs.h <<\EOF
10101 #define HAVE_SINHF 1
10104 cat >> confdefs.h <<\EOF
10105 #define HAVE_SQRTF 1
10108 cat >> confdefs.h <<\EOF
10109 #define HAVE_TANF 1
10112 cat >> confdefs.h <<\EOF
10113 #define HAVE_TANHF 1
10118 # GLIBCPP_CHECK_STDLIB_SUPPORT
10119 cat >> confdefs.h <<\EOF
10120 #define HAVE_STRTOF 1
10123 cat >> confdefs.h <<\EOF
10124 #define HAVE_STRTOLD 1
10128 cat >> confdefs.h <<\EOF
10129 #define HAVE_MMAP 1
10133 cat >> confdefs.h <<\EOF
10134 #define HAVE_ACOSF 1
10137 cat >> confdefs.h <<\EOF
10138 #define HAVE_ASINF 1
10141 cat >> confdefs.h <<\EOF
10142 #define HAVE_ATAN2F 1
10145 cat >> confdefs.h <<\EOF
10146 #define HAVE_ATANF 1
10149 cat >> confdefs.h <<\EOF
10150 #define HAVE_CEILF 1
10153 cat >> confdefs.h <<\EOF
10154 #define HAVE_COPYSIGN 1
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_COPYSIGNF 1
10161 cat >> confdefs.h <<\EOF
10162 #define HAVE_COSF 1
10165 cat >> confdefs.h <<\EOF
10166 #define HAVE_COSHF 1
10169 cat >> confdefs.h <<\EOF
10170 #define HAVE_EXPF 1
10173 cat >> confdefs.h <<\EOF
10174 #define HAVE_FABSF 1
10177 cat >> confdefs.h <<\EOF
10178 #define HAVE_FLOORF 1
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_FMODF 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_FREXPF 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_LDEXPF 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_LOG10F 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_LOGF 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_MODFF 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_POWF 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_SINF 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_SINHF 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_SQRTF 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_TANF 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_TANHF 1
10232 # At some point, we should differentiate between architectures
10233 # like x86, which have long double versions, and alpha/powerpc/etc.,
10234 # which don't. For the time being, punt.
10235 if test x"long_double_math_on_this_cpu" = x"yes"; then
10236 cat >> confdefs.h <<\EOF
10237 #define HAVE_ACOSL 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_ASINL 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_ATAN2L 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_ATANL 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_CEILL 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_COPYSIGNL 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_COSL 1
10264 cat >> confdefs.h <<\EOF
10265 #define HAVE_COSHL 1
10268 cat >> confdefs.h <<\EOF
10269 #define HAVE_EXPL 1
10272 cat >> confdefs.h <<\EOF
10273 #define HAVE_FABSL 1
10276 cat >> confdefs.h <<\EOF
10277 #define HAVE_FLOORL 1
10280 cat >> confdefs.h <<\EOF
10281 #define HAVE_FMODL 1
10284 cat >> confdefs.h <<\EOF
10285 #define HAVE_FREXPL 1
10288 cat >> confdefs.h <<\EOF
10289 #define HAVE_LDEXPL 1
10292 cat >> confdefs.h <<\EOF
10293 #define HAVE_LOG10L 1
10296 cat >> confdefs.h <<\EOF
10297 #define HAVE_LOGL 1
10300 cat >> confdefs.h <<\EOF
10301 #define HAVE_MODFL 1
10304 cat >> confdefs.h <<\EOF
10305 #define HAVE_POWL 1
10308 cat >> confdefs.h <<\EOF
10309 #define HAVE_SINCOSL 1
10312 cat >> confdefs.h <<\EOF
10313 #define HAVE_SINL 1
10316 cat >> confdefs.h <<\EOF
10317 #define HAVE_SINHL 1
10320 cat >> confdefs.h <<\EOF
10321 #define HAVE_SQRTL 1
10324 cat >> confdefs.h <<\EOF
10325 #define HAVE_TANL 1
10328 cat >> confdefs.h <<\EOF
10329 #define HAVE_TANHL 1
10336 # We are being configured natively. We can do more elaborate tests
10337 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10339 GLIBCPP_IS_CROSS_COMPILING=0
10342 # Check for available headers.
10343 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10344 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10346 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10347 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10348 echo "configure:10349: checking for $ac_hdr" >&5
10349 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10350 echo $ac_n "(cached) $ac_c" 1>&6
10352 cat > conftest.$ac_ext <<EOF
10353 #line 10354 "configure"
10354 #include "confdefs.h"
10357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10358 { (eval echo configure:10359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10360 if test -z "$ac_err"; then
10362 eval "ac_cv_header_$ac_safe=yes"
10365 echo "configure: failed program was:" >&5
10366 cat conftest.$ac_ext >&5
10368 eval "ac_cv_header_$ac_safe=no"
10372 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10373 echo "$ac_t""yes" 1>&6
10374 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10375 cat >> confdefs.h <<EOF
10376 #define $ac_tr_hdr 1
10380 echo "$ac_t""no" 1>&6
10386 # All these tests are for C++; save the language and the compiler flags.
10387 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10388 # found in GLIBCPP_CONFIGURE.
10391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10392 ac_cpp='$CXXCPP $CPPFLAGS'
10393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10395 cross_compiling=$ac_cv_prog_cxx_cross
10397 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10398 ac_save_CXXFLAGS="$CXXFLAGS"
10400 # Check for maintainer-mode bits.
10401 if test x"$USE_MAINTAINER_MODE" = xno; then
10407 # Check for -ffunction-sections -fdata-sections
10408 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10409 echo "configure:10410: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10410 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10411 cat > conftest.$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10420 if { (eval echo configure:10421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10424 echo "configure: failed program was:" >&5
10425 cat conftest.$ac_ext >&5
10430 if test "$ac_test_CXXFLAGS" = set; then
10431 CXXFLAGS="$ac_save_CXXFLAGS"
10433 # this is the suspicious part
10436 if test x"$ac_fdsections" = x"yes" &&
10437 test x"$enable_debug" = x"no"; then
10438 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10440 echo "$ac_t""$ac_fdsections" 1>&6
10443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10444 ac_cpp='$CPP $CPPFLAGS'
10445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10447 cross_compiling=$ac_cv_prog_cc_cross
10453 # If we're not using GNU ld, then there's no point in even trying these
10454 # tests. Check for that first. We should have already tested for gld
10455 # by now (in libtool), but require it now just to be safe...
10456 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10457 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10460 # The name set by libtool depends on the version of libtool. Shame on us
10461 # for depending on an impl detail, but c'est la vie. Older versions used
10462 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10463 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10464 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10465 # set (hence we're using an older libtool), then set it.
10466 if test x${with_gnu_ld+set} != xset; then
10467 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10468 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10471 with_gnu_ld=$ac_cv_prog_gnu_ld
10475 # Start by getting the version number. I think the libtool test already
10476 # does some of this, but throws away the result.
10478 ldver=`$LD --version 2>/dev/null | head -1 | \
10479 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10481 glibcpp_gnu_ld_version=`echo $ldver | \
10482 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10484 # Set --gc-sections.
10485 if test "$with_gnu_ld" = "notbroken"; then
10486 # GNU ld it is! Joy and bunny rabbits!
10488 # All these tests are for C++; save the language and the compiler flags.
10489 # Need to do this so that g++ won't try to link in libstdc++
10490 ac_test_CFLAGS="${CFLAGS+set}"
10491 ac_save_CFLAGS="$CFLAGS"
10492 CFLAGS='-x c++ -Wl,--gc-sections'
10494 # Check for -Wl,--gc-sections
10495 # XXX This test is broken at the moment, as symbols required for
10496 # linking are now in libsupc++ (not built yet.....). In addition,
10497 # this test has cored on solaris in the past. In addition,
10498 # --gc-sections doesn't really work at the moment (keeps on discarding
10499 # used sections, first .eh_frame and now some of the glibc sections for
10500 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10501 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10502 echo "configure:10503: checking for ld that supports -Wl,--gc-sections" >&5
10503 if test "$cross_compiling" = yes; then
10504 ac_sectionLDflags=yes
10506 cat > conftest.$ac_ext <<EOF
10507 #line 10508 "configure"
10508 #include "confdefs.h"
10518 if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10520 ac_sectionLDflags=yes
10522 echo "configure: failed program was:" >&5
10523 cat conftest.$ac_ext >&5
10525 ac_sectionLDflags=no
10530 if test "$ac_test_CFLAGS" = set; then
10531 CFLAGS="$ac_save_CFLAGS"
10533 # this is the suspicious part
10536 if test "$ac_sectionLDflags" = "yes"; then
10537 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10539 echo "$ac_t""$ac_sectionLDflags" 1>&6
10542 # Set linker optimization flags.
10543 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
10544 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10552 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10553 echo "configure:10554: checking for __builtin_abs declaration" >&5
10554 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10555 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10562 ac_cpp='$CXXCPP $CPPFLAGS'
10563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10565 cross_compiling=$ac_cv_prog_cxx_cross
10567 cat > conftest.$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10575 if { (eval echo configure:10576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10577 glibcpp_cv_func___builtin_abs_use=yes
10579 echo "configure: failed program was:" >&5
10580 cat conftest.$ac_ext >&5
10582 glibcpp_cv_func___builtin_abs_use=no
10586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10587 ac_cpp='$CPP $CPPFLAGS'
10588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10590 cross_compiling=$ac_cv_prog_cc_cross
10596 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10597 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10598 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10599 echo "configure:10600: checking for __builtin_abs linkage" >&5
10600 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10601 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10602 echo $ac_n "(cached) $ac_c" 1>&6
10605 cat > conftest.$ac_ext <<EOF
10606 #line 10607 "configure"
10607 #include "confdefs.h"
10613 if { (eval echo configure:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10615 glibcpp_cv_func___builtin_abs_link=yes
10617 echo "configure: failed program was:" >&5
10618 cat conftest.$ac_ext >&5
10620 glibcpp_cv_func___builtin_abs_link=no
10627 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10628 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10629 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10630 cat >> confdefs.h <<EOF
10631 #define ${ac_tr_func} 1
10638 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10639 echo "configure:10640: checking for __builtin_fabsf declaration" >&5
10640 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10641 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10642 echo $ac_n "(cached) $ac_c" 1>&6
10647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10648 ac_cpp='$CXXCPP $CPPFLAGS'
10649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10651 cross_compiling=$ac_cv_prog_cxx_cross
10653 cat > conftest.$ac_ext <<EOF
10654 #line 10655 "configure"
10655 #include "confdefs.h"
10658 __builtin_fabsf(0);
10661 if { (eval echo configure:10662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10663 glibcpp_cv_func___builtin_fabsf_use=yes
10665 echo "configure: failed program was:" >&5
10666 cat conftest.$ac_ext >&5
10668 glibcpp_cv_func___builtin_fabsf_use=no
10672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10673 ac_cpp='$CPP $CPPFLAGS'
10674 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10675 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10676 cross_compiling=$ac_cv_prog_cc_cross
10682 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10683 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10684 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10685 echo "configure:10686: checking for __builtin_fabsf linkage" >&5
10686 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10687 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10688 echo $ac_n "(cached) $ac_c" 1>&6
10691 cat > conftest.$ac_ext <<EOF
10692 #line 10693 "configure"
10693 #include "confdefs.h"
10696 __builtin_fabsf(0);
10699 if { (eval echo configure:10700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10701 glibcpp_cv_func___builtin_fabsf_link=yes
10703 echo "configure: failed program was:" >&5
10704 cat conftest.$ac_ext >&5
10706 glibcpp_cv_func___builtin_fabsf_link=no
10713 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10714 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10715 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10716 cat >> confdefs.h <<EOF
10717 #define ${ac_tr_func} 1
10724 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10725 echo "configure:10726: checking for __builtin_fabs declaration" >&5
10726 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10727 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10728 echo $ac_n "(cached) $ac_c" 1>&6
10733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10734 ac_cpp='$CXXCPP $CPPFLAGS'
10735 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10736 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10737 cross_compiling=$ac_cv_prog_cxx_cross
10739 cat > conftest.$ac_ext <<EOF
10740 #line 10741 "configure"
10741 #include "confdefs.h"
10747 if { (eval echo configure:10748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10749 glibcpp_cv_func___builtin_fabs_use=yes
10751 echo "configure: failed program was:" >&5
10752 cat conftest.$ac_ext >&5
10754 glibcpp_cv_func___builtin_fabs_use=no
10758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10759 ac_cpp='$CPP $CPPFLAGS'
10760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10762 cross_compiling=$ac_cv_prog_cc_cross
10768 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10769 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10770 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10771 echo "configure:10772: checking for __builtin_fabs linkage" >&5
10772 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10773 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10774 echo $ac_n "(cached) $ac_c" 1>&6
10777 cat > conftest.$ac_ext <<EOF
10778 #line 10779 "configure"
10779 #include "confdefs.h"
10785 if { (eval echo configure:10786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10787 glibcpp_cv_func___builtin_fabs_link=yes
10789 echo "configure: failed program was:" >&5
10790 cat conftest.$ac_ext >&5
10792 glibcpp_cv_func___builtin_fabs_link=no
10799 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10800 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10801 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10802 cat >> confdefs.h <<EOF
10803 #define ${ac_tr_func} 1
10810 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10811 echo "configure:10812: checking for __builtin_fabsl declaration" >&5
10812 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10813 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10814 echo $ac_n "(cached) $ac_c" 1>&6
10819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10820 ac_cpp='$CXXCPP $CPPFLAGS'
10821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10823 cross_compiling=$ac_cv_prog_cxx_cross
10825 cat > conftest.$ac_ext <<EOF
10826 #line 10827 "configure"
10827 #include "confdefs.h"
10830 __builtin_fabsl(0);
10833 if { (eval echo configure:10834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10835 glibcpp_cv_func___builtin_fabsl_use=yes
10837 echo "configure: failed program was:" >&5
10838 cat conftest.$ac_ext >&5
10840 glibcpp_cv_func___builtin_fabsl_use=no
10844 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10845 ac_cpp='$CPP $CPPFLAGS'
10846 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10847 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10848 cross_compiling=$ac_cv_prog_cc_cross
10854 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10855 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10856 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
10857 echo "configure:10858: checking for __builtin_fabsl linkage" >&5
10858 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10859 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10860 echo $ac_n "(cached) $ac_c" 1>&6
10863 cat > conftest.$ac_ext <<EOF
10864 #line 10865 "configure"
10865 #include "confdefs.h"
10868 __builtin_fabsl(0);
10871 if { (eval echo configure:10872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10873 glibcpp_cv_func___builtin_fabsl_link=yes
10875 echo "configure: failed program was:" >&5
10876 cat conftest.$ac_ext >&5
10878 glibcpp_cv_func___builtin_fabsl_link=no
10885 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10886 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10887 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10888 cat >> confdefs.h <<EOF
10889 #define ${ac_tr_func} 1
10896 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
10897 echo "configure:10898: checking for __builtin_labs declaration" >&5
10898 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
10899 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10905 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10906 ac_cpp='$CXXCPP $CPPFLAGS'
10907 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10908 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10909 cross_compiling=$ac_cv_prog_cxx_cross
10911 cat > conftest.$ac_ext <<EOF
10912 #line 10913 "configure"
10913 #include "confdefs.h"
10919 if { (eval echo configure:10920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10921 glibcpp_cv_func___builtin_labs_use=yes
10923 echo "configure: failed program was:" >&5
10924 cat conftest.$ac_ext >&5
10926 glibcpp_cv_func___builtin_labs_use=no
10930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10931 ac_cpp='$CPP $CPPFLAGS'
10932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10934 cross_compiling=$ac_cv_prog_cc_cross
10940 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
10941 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
10942 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
10943 echo "configure:10944: checking for __builtin_labs linkage" >&5
10944 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
10945 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
10946 echo $ac_n "(cached) $ac_c" 1>&6
10949 cat > conftest.$ac_ext <<EOF
10950 #line 10951 "configure"
10951 #include "confdefs.h"
10957 if { (eval echo configure:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10959 glibcpp_cv_func___builtin_labs_link=yes
10961 echo "configure: failed program was:" >&5
10962 cat conftest.$ac_ext >&5
10964 glibcpp_cv_func___builtin_labs_link=no
10971 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
10972 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
10973 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10974 cat >> confdefs.h <<EOF
10975 #define ${ac_tr_func} 1
10983 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
10984 echo "configure:10985: checking for __builtin_sqrtf declaration" >&5
10985 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
10986 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10993 ac_cpp='$CXXCPP $CPPFLAGS'
10994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10996 cross_compiling=$ac_cv_prog_cxx_cross
10998 cat > conftest.$ac_ext <<EOF
10999 #line 11000 "configure"
11000 #include "confdefs.h"
11003 __builtin_sqrtf(0);
11006 if { (eval echo configure:11007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11008 glibcpp_cv_func___builtin_sqrtf_use=yes
11010 echo "configure: failed program was:" >&5
11011 cat conftest.$ac_ext >&5
11013 glibcpp_cv_func___builtin_sqrtf_use=no
11017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11018 ac_cpp='$CPP $CPPFLAGS'
11019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11021 cross_compiling=$ac_cv_prog_cc_cross
11027 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
11028 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
11029 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
11030 echo "configure:11031: checking for __builtin_sqrtf linkage" >&5
11031 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
11032 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
11033 echo $ac_n "(cached) $ac_c" 1>&6
11036 cat > conftest.$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11041 __builtin_sqrtf(0);
11044 if { (eval echo configure:11045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11046 glibcpp_cv_func___builtin_sqrtf_link=yes
11048 echo "configure: failed program was:" >&5
11049 cat conftest.$ac_ext >&5
11051 glibcpp_cv_func___builtin_sqrtf_link=no
11058 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11059 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11060 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11061 cat >> confdefs.h <<EOF
11062 #define ${ac_tr_func} 1
11069 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11070 echo "configure:11071: checking for __builtin_sqrt declaration" >&5
11071 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11072 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11073 echo $ac_n "(cached) $ac_c" 1>&6
11078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11079 ac_cpp='$CXXCPP $CPPFLAGS'
11080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11082 cross_compiling=$ac_cv_prog_cxx_cross
11084 cat > conftest.$ac_ext <<EOF
11085 #line 11086 "configure"
11086 #include "confdefs.h"
11092 if { (eval echo configure:11093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11094 glibcpp_cv_func___builtin_sqrt_use=yes
11096 echo "configure: failed program was:" >&5
11097 cat conftest.$ac_ext >&5
11099 glibcpp_cv_func___builtin_sqrt_use=no
11103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11104 ac_cpp='$CPP $CPPFLAGS'
11105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11107 cross_compiling=$ac_cv_prog_cc_cross
11113 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11114 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11115 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11116 echo "configure:11117: checking for __builtin_sqrt linkage" >&5
11117 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11118 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11119 echo $ac_n "(cached) $ac_c" 1>&6
11122 cat > conftest.$ac_ext <<EOF
11123 #line 11124 "configure"
11124 #include "confdefs.h"
11130 if { (eval echo configure:11131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11132 glibcpp_cv_func___builtin_sqrt_link=yes
11134 echo "configure: failed program was:" >&5
11135 cat conftest.$ac_ext >&5
11137 glibcpp_cv_func___builtin_sqrt_link=no
11144 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11145 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11146 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11147 cat >> confdefs.h <<EOF
11148 #define ${ac_tr_func} 1
11155 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11156 echo "configure:11157: checking for __builtin_sqrtl declaration" >&5
11157 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11158 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11159 echo $ac_n "(cached) $ac_c" 1>&6
11164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11165 ac_cpp='$CXXCPP $CPPFLAGS'
11166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11168 cross_compiling=$ac_cv_prog_cxx_cross
11170 cat > conftest.$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11175 __builtin_sqrtl(0);
11178 if { (eval echo configure:11179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11180 glibcpp_cv_func___builtin_sqrtl_use=yes
11182 echo "configure: failed program was:" >&5
11183 cat conftest.$ac_ext >&5
11185 glibcpp_cv_func___builtin_sqrtl_use=no
11189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp='$CPP $CPPFLAGS'
11191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling=$ac_cv_prog_cc_cross
11199 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11200 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11201 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11202 echo "configure:11203: checking for __builtin_sqrtl linkage" >&5
11203 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11205 echo $ac_n "(cached) $ac_c" 1>&6
11208 cat > conftest.$ac_ext <<EOF
11209 #line 11210 "configure"
11210 #include "confdefs.h"
11213 __builtin_sqrtl(0);
11216 if { (eval echo configure:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11218 glibcpp_cv_func___builtin_sqrtl_link=yes
11220 echo "configure: failed program was:" >&5
11221 cat conftest.$ac_ext >&5
11223 glibcpp_cv_func___builtin_sqrtl_link=no
11230 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11231 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11232 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11233 cat >> confdefs.h <<EOF
11234 #define ${ac_tr_func} 1
11242 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11243 echo "configure:11244: checking for __builtin_sinf declaration" >&5
11244 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11245 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11246 echo $ac_n "(cached) $ac_c" 1>&6
11251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11252 ac_cpp='$CXXCPP $CPPFLAGS'
11253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11255 cross_compiling=$ac_cv_prog_cxx_cross
11257 cat > conftest.$ac_ext <<EOF
11258 #line 11259 "configure"
11259 #include "confdefs.h"
11265 if { (eval echo configure:11266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11267 glibcpp_cv_func___builtin_sinf_use=yes
11269 echo "configure: failed program was:" >&5
11270 cat conftest.$ac_ext >&5
11272 glibcpp_cv_func___builtin_sinf_use=no
11276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11277 ac_cpp='$CPP $CPPFLAGS'
11278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11280 cross_compiling=$ac_cv_prog_cc_cross
11286 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11287 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11288 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11289 echo "configure:11290: checking for __builtin_sinf linkage" >&5
11290 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11291 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11295 cat > conftest.$ac_ext <<EOF
11296 #line 11297 "configure"
11297 #include "confdefs.h"
11303 if { (eval echo configure:11304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11305 glibcpp_cv_func___builtin_sinf_link=yes
11307 echo "configure: failed program was:" >&5
11308 cat conftest.$ac_ext >&5
11310 glibcpp_cv_func___builtin_sinf_link=no
11317 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11318 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11319 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11320 cat >> confdefs.h <<EOF
11321 #define ${ac_tr_func} 1
11328 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11329 echo "configure:11330: checking for __builtin_sin declaration" >&5
11330 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11331 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11332 echo $ac_n "(cached) $ac_c" 1>&6
11337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11338 ac_cpp='$CXXCPP $CPPFLAGS'
11339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11341 cross_compiling=$ac_cv_prog_cxx_cross
11343 cat > conftest.$ac_ext <<EOF
11344 #line 11345 "configure"
11345 #include "confdefs.h"
11351 if { (eval echo configure:11352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11353 glibcpp_cv_func___builtin_sin_use=yes
11355 echo "configure: failed program was:" >&5
11356 cat conftest.$ac_ext >&5
11358 glibcpp_cv_func___builtin_sin_use=no
11362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11363 ac_cpp='$CPP $CPPFLAGS'
11364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11366 cross_compiling=$ac_cv_prog_cc_cross
11372 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11373 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11374 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11375 echo "configure:11376: checking for __builtin_sin linkage" >&5
11376 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11377 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11378 echo $ac_n "(cached) $ac_c" 1>&6
11381 cat > conftest.$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11391 glibcpp_cv_func___builtin_sin_link=yes
11393 echo "configure: failed program was:" >&5
11394 cat conftest.$ac_ext >&5
11396 glibcpp_cv_func___builtin_sin_link=no
11403 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11404 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11405 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11406 cat >> confdefs.h <<EOF
11407 #define ${ac_tr_func} 1
11414 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11415 echo "configure:11416: checking for __builtin_sinl declaration" >&5
11416 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11417 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11418 echo $ac_n "(cached) $ac_c" 1>&6
11423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11424 ac_cpp='$CXXCPP $CPPFLAGS'
11425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11427 cross_compiling=$ac_cv_prog_cxx_cross
11429 cat > conftest.$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11437 if { (eval echo configure:11438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11439 glibcpp_cv_func___builtin_sinl_use=yes
11441 echo "configure: failed program was:" >&5
11442 cat conftest.$ac_ext >&5
11444 glibcpp_cv_func___builtin_sinl_use=no
11448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11449 ac_cpp='$CPP $CPPFLAGS'
11450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11452 cross_compiling=$ac_cv_prog_cc_cross
11458 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11459 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11460 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11461 echo "configure:11462: checking for __builtin_sinl linkage" >&5
11462 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11463 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11464 echo $ac_n "(cached) $ac_c" 1>&6
11467 cat > conftest.$ac_ext <<EOF
11468 #line 11469 "configure"
11469 #include "confdefs.h"
11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11477 glibcpp_cv_func___builtin_sinl_link=yes
11479 echo "configure: failed program was:" >&5
11480 cat conftest.$ac_ext >&5
11482 glibcpp_cv_func___builtin_sinl_link=no
11489 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11490 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11491 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11492 cat >> confdefs.h <<EOF
11493 #define ${ac_tr_func} 1
11501 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11502 echo "configure:11503: checking for __builtin_cosf declaration" >&5
11503 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11504 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11505 echo $ac_n "(cached) $ac_c" 1>&6
11510 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11511 ac_cpp='$CXXCPP $CPPFLAGS'
11512 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11513 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11514 cross_compiling=$ac_cv_prog_cxx_cross
11516 cat > conftest.$ac_ext <<EOF
11517 #line 11518 "configure"
11518 #include "confdefs.h"
11524 if { (eval echo configure:11525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11526 glibcpp_cv_func___builtin_cosf_use=yes
11528 echo "configure: failed program was:" >&5
11529 cat conftest.$ac_ext >&5
11531 glibcpp_cv_func___builtin_cosf_use=no
11535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11536 ac_cpp='$CPP $CPPFLAGS'
11537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11539 cross_compiling=$ac_cv_prog_cc_cross
11545 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11546 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11547 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11548 echo "configure:11549: checking for __builtin_cosf linkage" >&5
11549 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11550 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11551 echo $ac_n "(cached) $ac_c" 1>&6
11554 cat > conftest.$ac_ext <<EOF
11555 #line 11556 "configure"
11556 #include "confdefs.h"
11562 if { (eval echo configure:11563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11564 glibcpp_cv_func___builtin_cosf_link=yes
11566 echo "configure: failed program was:" >&5
11567 cat conftest.$ac_ext >&5
11569 glibcpp_cv_func___builtin_cosf_link=no
11576 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11577 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11578 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11579 cat >> confdefs.h <<EOF
11580 #define ${ac_tr_func} 1
11587 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11588 echo "configure:11589: checking for __builtin_cos declaration" >&5
11589 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11590 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11591 echo $ac_n "(cached) $ac_c" 1>&6
11596 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11597 ac_cpp='$CXXCPP $CPPFLAGS'
11598 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11599 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11600 cross_compiling=$ac_cv_prog_cxx_cross
11602 cat > conftest.$ac_ext <<EOF
11603 #line 11604 "configure"
11604 #include "confdefs.h"
11610 if { (eval echo configure:11611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11612 glibcpp_cv_func___builtin_cos_use=yes
11614 echo "configure: failed program was:" >&5
11615 cat conftest.$ac_ext >&5
11617 glibcpp_cv_func___builtin_cos_use=no
11621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11622 ac_cpp='$CPP $CPPFLAGS'
11623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11625 cross_compiling=$ac_cv_prog_cc_cross
11631 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11632 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11633 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11634 echo "configure:11635: checking for __builtin_cos linkage" >&5
11635 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11636 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11637 echo $ac_n "(cached) $ac_c" 1>&6
11640 cat > conftest.$ac_ext <<EOF
11641 #line 11642 "configure"
11642 #include "confdefs.h"
11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11650 glibcpp_cv_func___builtin_cos_link=yes
11652 echo "configure: failed program was:" >&5
11653 cat conftest.$ac_ext >&5
11655 glibcpp_cv_func___builtin_cos_link=no
11662 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11663 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11664 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11665 cat >> confdefs.h <<EOF
11666 #define ${ac_tr_func} 1
11673 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11674 echo "configure:11675: checking for __builtin_cosl declaration" >&5
11675 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11683 ac_cpp='$CXXCPP $CPPFLAGS'
11684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11686 cross_compiling=$ac_cv_prog_cxx_cross
11688 cat > conftest.$ac_ext <<EOF
11689 #line 11690 "configure"
11690 #include "confdefs.h"
11696 if { (eval echo configure:11697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11698 glibcpp_cv_func___builtin_cosl_use=yes
11700 echo "configure: failed program was:" >&5
11701 cat conftest.$ac_ext >&5
11703 glibcpp_cv_func___builtin_cosl_use=no
11707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11708 ac_cpp='$CPP $CPPFLAGS'
11709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11711 cross_compiling=$ac_cv_prog_cc_cross
11717 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11718 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11719 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11720 echo "configure:11721: checking for __builtin_cosl linkage" >&5
11721 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11722 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11723 echo $ac_n "(cached) $ac_c" 1>&6
11726 cat > conftest.$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11734 if { (eval echo configure:11735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11736 glibcpp_cv_func___builtin_cosl_link=yes
11738 echo "configure: failed program was:" >&5
11739 cat conftest.$ac_ext >&5
11741 glibcpp_cv_func___builtin_cosl_link=no
11748 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11749 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11750 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11751 cat >> confdefs.h <<EOF
11752 #define ${ac_tr_func} 1
11760 if test x$dummyvar = x"yes"; then
11761 cat >> confdefs.h <<\EOF
11762 #define HAVE___BUILTIN_ABS 1
11765 cat >> confdefs.h <<\EOF
11766 #define HAVE___BUILTIN_LABS 1
11769 cat >> confdefs.h <<\EOF
11770 #define HAVE___BUILTIN_COS 1
11773 cat >> confdefs.h <<\EOF
11774 #define HAVE___BUILTIN_COSF 1
11777 cat >> confdefs.h <<\EOF
11778 #define HAVE___BUILTIN_COSL 1
11781 cat >> confdefs.h <<\EOF
11782 #define HAVE___BUILTIN_FABS 1
11785 cat >> confdefs.h <<\EOF
11786 #define HAVE___BUILTIN_FABSF 1
11789 cat >> confdefs.h <<\EOF
11790 #define HAVE___BUILTIN_FABSL 1
11793 cat >> confdefs.h <<\EOF
11794 #define HAVE___BUILTIN_SIN 1
11797 cat >> confdefs.h <<\EOF
11798 #define HAVE___BUILTIN_SINF 1
11801 cat >> confdefs.h <<\EOF
11802 #define HAVE___BUILTIN_SINL 1
11805 cat >> confdefs.h <<\EOF
11806 #define HAVE___BUILTIN_SQRT 1
11809 cat >> confdefs.h <<\EOF
11810 #define HAVE___BUILTIN_SQRTF 1
11813 cat >> confdefs.h <<\EOF
11814 #define HAVE___BUILTIN_SQRTL 1
11820 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11821 ac_save_CXXFLAGS="$CXXFLAGS"
11822 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11824 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11825 echo "configure:11826: checking for sin in -lm" >&5
11826 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11828 echo $ac_n "(cached) $ac_c" 1>&6
11830 ac_save_LIBS="$LIBS"
11832 cat > conftest.$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 /* We use char because int might match the return type of a gcc2
11837 builtin and then its argument prototype would still apply. */
11844 if { (eval echo configure:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11846 eval "ac_cv_lib_$ac_lib_var=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.$ac_ext >&5
11851 eval "ac_cv_lib_$ac_lib_var=no"
11854 LIBS="$ac_save_LIBS"
11857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11858 echo "$ac_t""yes" 1>&6
11861 echo "$ac_t""no" 1>&6
11864 ac_save_LIBS="$LIBS"
11869 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
11870 echo "configure:11871: checking for isinf declaration" >&5
11871 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11872 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11879 ac_cpp='$CXXCPP $CPPFLAGS'
11880 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11881 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11882 cross_compiling=$ac_cv_prog_cxx_cross
11884 cat > conftest.$ac_ext <<EOF
11885 #line 11886 "configure"
11886 #include "confdefs.h"
11888 #ifdef HAVE_IEEEFP_H
11889 #include <ieeefp.h>
11896 if { (eval echo configure:11897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11898 glibcpp_cv_func_isinf_use=yes
11900 echo "configure: failed program was:" >&5
11901 cat conftest.$ac_ext >&5
11903 glibcpp_cv_func_isinf_use=no
11907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11908 ac_cpp='$CPP $CPPFLAGS'
11909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11911 cross_compiling=$ac_cv_prog_cc_cross
11917 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
11919 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
11920 for ac_func in isinf
11922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11923 echo "configure:11924: checking for $ac_func" >&5
11924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11925 echo $ac_n "(cached) $ac_c" 1>&6
11927 cat > conftest.$ac_ext <<EOF
11928 #line 11929 "configure"
11929 #include "confdefs.h"
11930 /* System header to define __stub macros and hopefully few prototypes,
11931 which can conflict with char $ac_func(); below. */
11932 #include <assert.h>
11933 /* Override any gcc2 internal prototype to avoid an error. */
11934 /* We use char because int might match the return type of a gcc2
11935 builtin and then its argument prototype would still apply. */
11940 /* The GNU C library defines this for functions which it implements
11941 to always fail with ENOSYS. Some functions are actually named
11942 something starting with __ and the normal name is an alias. */
11943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11951 if { (eval echo configure:11952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11953 eval "ac_cv_func_$ac_func=yes"
11955 echo "configure: failed program was:" >&5
11956 cat conftest.$ac_ext >&5
11958 eval "ac_cv_func_$ac_func=no"
11963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11964 echo "$ac_t""yes" 1>&6
11965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11966 cat >> confdefs.h <<EOF
11967 #define $ac_tr_func 1
11971 echo "$ac_t""no" 1>&6
11977 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11978 echo "configure:11979: checking for _isinf declaration" >&5
11979 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11980 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11981 echo $ac_n "(cached) $ac_c" 1>&6
11986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11987 ac_cpp='$CXXCPP $CPPFLAGS'
11988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11990 cross_compiling=$ac_cv_prog_cxx_cross
11992 cat > conftest.$ac_ext <<EOF
11993 #line 11994 "configure"
11994 #include "confdefs.h"
11996 #ifdef HAVE_IEEEFP_H
11997 #include <ieeefp.h>
12004 if { (eval echo configure:12005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12006 glibcpp_cv_func__isinf_use=yes
12008 echo "configure: failed program was:" >&5
12009 cat conftest.$ac_ext >&5
12011 glibcpp_cv_func__isinf_use=no
12015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12016 ac_cpp='$CPP $CPPFLAGS'
12017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12019 cross_compiling=$ac_cv_prog_cc_cross
12025 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
12027 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
12028 for ac_func in _isinf
12030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12031 echo "configure:12032: checking for $ac_func" >&5
12032 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12033 echo $ac_n "(cached) $ac_c" 1>&6
12035 cat > conftest.$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12038 /* System header to define __stub macros and hopefully few prototypes,
12039 which can conflict with char $ac_func(); below. */
12040 #include <assert.h>
12041 /* Override any gcc2 internal prototype to avoid an error. */
12042 /* We use char because int might match the return type of a gcc2
12043 builtin and then its argument prototype would still apply. */
12048 /* The GNU C library defines this for functions which it implements
12049 to always fail with ENOSYS. Some functions are actually named
12050 something starting with __ and the normal name is an alias. */
12051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12061 eval "ac_cv_func_$ac_func=yes"
12063 echo "configure: failed program was:" >&5
12064 cat conftest.$ac_ext >&5
12066 eval "ac_cv_func_$ac_func=no"
12071 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12072 echo "$ac_t""yes" 1>&6
12073 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12074 cat >> confdefs.h <<EOF
12075 #define $ac_tr_func 1
12079 echo "$ac_t""no" 1>&6
12088 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12089 echo "configure:12090: checking for isnan declaration" >&5
12090 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12091 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12092 echo $ac_n "(cached) $ac_c" 1>&6
12097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12098 ac_cpp='$CXXCPP $CPPFLAGS'
12099 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12100 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12101 cross_compiling=$ac_cv_prog_cxx_cross
12103 cat > conftest.$ac_ext <<EOF
12104 #line 12105 "configure"
12105 #include "confdefs.h"
12107 #ifdef HAVE_IEEEFP_H
12108 #include <ieeefp.h>
12115 if { (eval echo configure:12116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12117 glibcpp_cv_func_isnan_use=yes
12119 echo "configure: failed program was:" >&5
12120 cat conftest.$ac_ext >&5
12122 glibcpp_cv_func_isnan_use=no
12126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12127 ac_cpp='$CPP $CPPFLAGS'
12128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12130 cross_compiling=$ac_cv_prog_cc_cross
12136 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12138 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12139 for ac_func in isnan
12141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12142 echo "configure:12143: checking for $ac_func" >&5
12143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12144 echo $ac_n "(cached) $ac_c" 1>&6
12146 cat > conftest.$ac_ext <<EOF
12147 #line 12148 "configure"
12148 #include "confdefs.h"
12149 /* System header to define __stub macros and hopefully few prototypes,
12150 which can conflict with char $ac_func(); below. */
12151 #include <assert.h>
12152 /* Override any gcc2 internal prototype to avoid an error. */
12153 /* We use char because int might match the return type of a gcc2
12154 builtin and then its argument prototype would still apply. */
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12170 if { (eval echo configure:12171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12172 eval "ac_cv_func_$ac_func=yes"
12174 echo "configure: failed program was:" >&5
12175 cat conftest.$ac_ext >&5
12177 eval "ac_cv_func_$ac_func=no"
12182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12183 echo "$ac_t""yes" 1>&6
12184 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12185 cat >> confdefs.h <<EOF
12186 #define $ac_tr_func 1
12190 echo "$ac_t""no" 1>&6
12196 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12197 echo "configure:12198: checking for _isnan declaration" >&5
12198 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12199 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12200 echo $ac_n "(cached) $ac_c" 1>&6
12205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12206 ac_cpp='$CXXCPP $CPPFLAGS'
12207 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12208 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12209 cross_compiling=$ac_cv_prog_cxx_cross
12211 cat > conftest.$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12215 #ifdef HAVE_IEEEFP_H
12216 #include <ieeefp.h>
12223 if { (eval echo configure:12224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12225 glibcpp_cv_func__isnan_use=yes
12227 echo "configure: failed program was:" >&5
12228 cat conftest.$ac_ext >&5
12230 glibcpp_cv_func__isnan_use=no
12234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12235 ac_cpp='$CPP $CPPFLAGS'
12236 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12237 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12238 cross_compiling=$ac_cv_prog_cc_cross
12244 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12246 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12247 for ac_func in _isnan
12249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12250 echo "configure:12251: checking for $ac_func" >&5
12251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12252 echo $ac_n "(cached) $ac_c" 1>&6
12254 cat > conftest.$ac_ext <<EOF
12255 #line 12256 "configure"
12256 #include "confdefs.h"
12257 /* System header to define __stub macros and hopefully few prototypes,
12258 which can conflict with char $ac_func(); below. */
12259 #include <assert.h>
12260 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12267 /* The GNU C library defines this for functions which it implements
12268 to always fail with ENOSYS. Some functions are actually named
12269 something starting with __ and the normal name is an alias. */
12270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12278 if { (eval echo configure:12279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12280 eval "ac_cv_func_$ac_func=yes"
12282 echo "configure: failed program was:" >&5
12283 cat conftest.$ac_ext >&5
12285 eval "ac_cv_func_$ac_func=no"
12290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12291 echo "$ac_t""yes" 1>&6
12292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12293 cat >> confdefs.h <<EOF
12294 #define $ac_tr_func 1
12298 echo "$ac_t""no" 1>&6
12307 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12308 echo "configure:12309: checking for finite declaration" >&5
12309 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12310 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12311 echo $ac_n "(cached) $ac_c" 1>&6
12316 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12317 ac_cpp='$CXXCPP $CPPFLAGS'
12318 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12319 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12320 cross_compiling=$ac_cv_prog_cxx_cross
12322 cat > conftest.$ac_ext <<EOF
12323 #line 12324 "configure"
12324 #include "confdefs.h"
12326 #ifdef HAVE_IEEEFP_H
12327 #include <ieeefp.h>
12334 if { (eval echo configure:12335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12336 glibcpp_cv_func_finite_use=yes
12338 echo "configure: failed program was:" >&5
12339 cat conftest.$ac_ext >&5
12341 glibcpp_cv_func_finite_use=no
12345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12346 ac_cpp='$CPP $CPPFLAGS'
12347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12349 cross_compiling=$ac_cv_prog_cc_cross
12355 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12357 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12358 for ac_func in finite
12360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12361 echo "configure:12362: checking for $ac_func" >&5
12362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12363 echo $ac_n "(cached) $ac_c" 1>&6
12365 cat > conftest.$ac_ext <<EOF
12366 #line 12367 "configure"
12367 #include "confdefs.h"
12368 /* System header to define __stub macros and hopefully few prototypes,
12369 which can conflict with char $ac_func(); below. */
12370 #include <assert.h>
12371 /* Override any gcc2 internal prototype to avoid an error. */
12372 /* We use char because int might match the return type of a gcc2
12373 builtin and then its argument prototype would still apply. */
12378 /* The GNU C library defines this for functions which it implements
12379 to always fail with ENOSYS. Some functions are actually named
12380 something starting with __ and the normal name is an alias. */
12381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12389 if { (eval echo configure:12390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12391 eval "ac_cv_func_$ac_func=yes"
12393 echo "configure: failed program was:" >&5
12394 cat conftest.$ac_ext >&5
12396 eval "ac_cv_func_$ac_func=no"
12401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12402 echo "$ac_t""yes" 1>&6
12403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12404 cat >> confdefs.h <<EOF
12405 #define $ac_tr_func 1
12409 echo "$ac_t""no" 1>&6
12415 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12416 echo "configure:12417: checking for _finite declaration" >&5
12417 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12418 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12419 echo $ac_n "(cached) $ac_c" 1>&6
12424 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12425 ac_cpp='$CXXCPP $CPPFLAGS'
12426 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12427 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12428 cross_compiling=$ac_cv_prog_cxx_cross
12430 cat > conftest.$ac_ext <<EOF
12431 #line 12432 "configure"
12432 #include "confdefs.h"
12434 #ifdef HAVE_IEEEFP_H
12435 #include <ieeefp.h>
12442 if { (eval echo configure:12443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12444 glibcpp_cv_func__finite_use=yes
12446 echo "configure: failed program was:" >&5
12447 cat conftest.$ac_ext >&5
12449 glibcpp_cv_func__finite_use=no
12453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12454 ac_cpp='$CPP $CPPFLAGS'
12455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12457 cross_compiling=$ac_cv_prog_cc_cross
12463 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12465 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12466 for ac_func in _finite
12468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12469 echo "configure:12470: checking for $ac_func" >&5
12470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12471 echo $ac_n "(cached) $ac_c" 1>&6
12473 cat > conftest.$ac_ext <<EOF
12474 #line 12475 "configure"
12475 #include "confdefs.h"
12476 /* System header to define __stub macros and hopefully few prototypes,
12477 which can conflict with char $ac_func(); below. */
12478 #include <assert.h>
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 /* We use char because int might match the return type of a gcc2
12481 builtin and then its argument prototype would still apply. */
12486 /* The GNU C library defines this for functions which it implements
12487 to always fail with ENOSYS. Some functions are actually named
12488 something starting with __ and the normal name is an alias. */
12489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12497 if { (eval echo configure:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12499 eval "ac_cv_func_$ac_func=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.$ac_ext >&5
12504 eval "ac_cv_func_$ac_func=no"
12509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12512 cat >> confdefs.h <<EOF
12513 #define $ac_tr_func 1
12517 echo "$ac_t""no" 1>&6
12526 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12527 echo "configure:12528: checking for copysign declaration" >&5
12528 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12529 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12536 ac_cpp='$CXXCPP $CPPFLAGS'
12537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12539 cross_compiling=$ac_cv_prog_cxx_cross
12541 cat > conftest.$ac_ext <<EOF
12542 #line 12543 "configure"
12543 #include "confdefs.h"
12549 if { (eval echo configure:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12551 glibcpp_cv_func_copysign_use=yes
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12556 glibcpp_cv_func_copysign_use=no
12560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12561 ac_cpp='$CPP $CPPFLAGS'
12562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12564 cross_compiling=$ac_cv_prog_cc_cross
12570 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12572 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12573 for ac_func in copysign
12575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12576 echo "configure:12577: checking for $ac_func" >&5
12577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12578 echo $ac_n "(cached) $ac_c" 1>&6
12580 cat > conftest.$ac_ext <<EOF
12581 #line 12582 "configure"
12582 #include "confdefs.h"
12583 /* System header to define __stub macros and hopefully few prototypes,
12584 which can conflict with char $ac_func(); below. */
12585 #include <assert.h>
12586 /* Override any gcc2 internal prototype to avoid an error. */
12587 /* We use char because int might match the return type of a gcc2
12588 builtin and then its argument prototype would still apply. */
12593 /* The GNU C library defines this for functions which it implements
12594 to always fail with ENOSYS. Some functions are actually named
12595 something starting with __ and the normal name is an alias. */
12596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12604 if { (eval echo configure:12605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12606 eval "ac_cv_func_$ac_func=yes"
12608 echo "configure: failed program was:" >&5
12609 cat conftest.$ac_ext >&5
12611 eval "ac_cv_func_$ac_func=no"
12616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12617 echo "$ac_t""yes" 1>&6
12618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12619 cat >> confdefs.h <<EOF
12620 #define $ac_tr_func 1
12624 echo "$ac_t""no" 1>&6
12630 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12631 echo "configure:12632: checking for _copysign declaration" >&5
12632 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12633 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12640 ac_cpp='$CXXCPP $CPPFLAGS'
12641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12643 cross_compiling=$ac_cv_prog_cxx_cross
12645 cat > conftest.$ac_ext <<EOF
12646 #line 12647 "configure"
12647 #include "confdefs.h"
12653 if { (eval echo configure:12654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12655 glibcpp_cv_func__copysign_use=yes
12657 echo "configure: failed program was:" >&5
12658 cat conftest.$ac_ext >&5
12660 glibcpp_cv_func__copysign_use=no
12664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12668 cross_compiling=$ac_cv_prog_cc_cross
12674 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12676 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12677 for ac_func in _copysign
12679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12680 echo "configure:12681: checking for $ac_func" >&5
12681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12682 echo $ac_n "(cached) $ac_c" 1>&6
12684 cat > conftest.$ac_ext <<EOF
12685 #line 12686 "configure"
12686 #include "confdefs.h"
12687 /* System header to define __stub macros and hopefully few prototypes,
12688 which can conflict with char $ac_func(); below. */
12689 #include <assert.h>
12690 /* Override any gcc2 internal prototype to avoid an error. */
12691 /* We use char because int might match the return type of a gcc2
12692 builtin and then its argument prototype would still apply. */
12697 /* The GNU C library defines this for functions which it implements
12698 to always fail with ENOSYS. Some functions are actually named
12699 something starting with __ and the normal name is an alias. */
12700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12708 if { (eval echo configure:12709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12710 eval "ac_cv_func_$ac_func=yes"
12712 echo "configure: failed program was:" >&5
12713 cat conftest.$ac_ext >&5
12715 eval "ac_cv_func_$ac_func=no"
12720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12721 echo "$ac_t""yes" 1>&6
12722 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12723 cat >> confdefs.h <<EOF
12724 #define $ac_tr_func 1
12728 echo "$ac_t""no" 1>&6
12737 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12738 echo "configure:12739: checking for sincos declaration" >&5
12739 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12740 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12741 echo $ac_n "(cached) $ac_c" 1>&6
12746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12747 ac_cpp='$CXXCPP $CPPFLAGS'
12748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12750 cross_compiling=$ac_cv_prog_cxx_cross
12752 cat > conftest.$ac_ext <<EOF
12753 #line 12754 "configure"
12754 #include "confdefs.h"
12760 if { (eval echo configure:12761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12762 glibcpp_cv_func_sincos_use=yes
12764 echo "configure: failed program was:" >&5
12765 cat conftest.$ac_ext >&5
12767 glibcpp_cv_func_sincos_use=no
12771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12772 ac_cpp='$CPP $CPPFLAGS'
12773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12775 cross_compiling=$ac_cv_prog_cc_cross
12781 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12783 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12784 for ac_func in sincos
12786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12787 echo "configure:12788: checking for $ac_func" >&5
12788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12789 echo $ac_n "(cached) $ac_c" 1>&6
12791 cat > conftest.$ac_ext <<EOF
12792 #line 12793 "configure"
12793 #include "confdefs.h"
12794 /* System header to define __stub macros and hopefully few prototypes,
12795 which can conflict with char $ac_func(); below. */
12796 #include <assert.h>
12797 /* Override any gcc2 internal prototype to avoid an error. */
12798 /* We use char because int might match the return type of a gcc2
12799 builtin and then its argument prototype would still apply. */
12804 /* The GNU C library defines this for functions which it implements
12805 to always fail with ENOSYS. Some functions are actually named
12806 something starting with __ and the normal name is an alias. */
12807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12815 if { (eval echo configure:12816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12817 eval "ac_cv_func_$ac_func=yes"
12819 echo "configure: failed program was:" >&5
12820 cat conftest.$ac_ext >&5
12822 eval "ac_cv_func_$ac_func=no"
12827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12828 echo "$ac_t""yes" 1>&6
12829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12830 cat >> confdefs.h <<EOF
12831 #define $ac_tr_func 1
12835 echo "$ac_t""no" 1>&6
12841 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12842 echo "configure:12843: checking for _sincos declaration" >&5
12843 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12844 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12845 echo $ac_n "(cached) $ac_c" 1>&6
12850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12851 ac_cpp='$CXXCPP $CPPFLAGS'
12852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12854 cross_compiling=$ac_cv_prog_cxx_cross
12856 cat > conftest.$ac_ext <<EOF
12857 #line 12858 "configure"
12858 #include "confdefs.h"
12864 if { (eval echo configure:12865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12866 glibcpp_cv_func__sincos_use=yes
12868 echo "configure: failed program was:" >&5
12869 cat conftest.$ac_ext >&5
12871 glibcpp_cv_func__sincos_use=no
12875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12876 ac_cpp='$CPP $CPPFLAGS'
12877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12879 cross_compiling=$ac_cv_prog_cc_cross
12885 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12887 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12888 for ac_func in _sincos
12890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12891 echo "configure:12892: checking for $ac_func" >&5
12892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12893 echo $ac_n "(cached) $ac_c" 1>&6
12895 cat > conftest.$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12898 /* System header to define __stub macros and hopefully few prototypes,
12899 which can conflict with char $ac_func(); below. */
12900 #include <assert.h>
12901 /* Override any gcc2 internal prototype to avoid an error. */
12902 /* We use char because int might match the return type of a gcc2
12903 builtin and then its argument prototype would still apply. */
12908 /* The GNU C library defines this for functions which it implements
12909 to always fail with ENOSYS. Some functions are actually named
12910 something starting with __ and the normal name is an alias. */
12911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12919 if { (eval echo configure:12920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12921 eval "ac_cv_func_$ac_func=yes"
12923 echo "configure: failed program was:" >&5
12924 cat conftest.$ac_ext >&5
12926 eval "ac_cv_func_$ac_func=no"
12931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12932 echo "$ac_t""yes" 1>&6
12933 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12934 cat >> confdefs.h <<EOF
12935 #define $ac_tr_func 1
12939 echo "$ac_t""no" 1>&6
12948 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
12949 echo "configure:12950: checking for fpclass declaration" >&5
12950 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12951 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12952 echo $ac_n "(cached) $ac_c" 1>&6
12957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12958 ac_cpp='$CXXCPP $CPPFLAGS'
12959 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12960 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12961 cross_compiling=$ac_cv_prog_cxx_cross
12963 cat > conftest.$ac_ext <<EOF
12964 #line 12965 "configure"
12965 #include "confdefs.h"
12967 #ifdef HAVE_IEEEFP_H
12968 #include <ieeefp.h>
12975 if { (eval echo configure:12976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12977 glibcpp_cv_func_fpclass_use=yes
12979 echo "configure: failed program was:" >&5
12980 cat conftest.$ac_ext >&5
12982 glibcpp_cv_func_fpclass_use=no
12986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12987 ac_cpp='$CPP $CPPFLAGS'
12988 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12989 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12990 cross_compiling=$ac_cv_prog_cc_cross
12996 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12998 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12999 for ac_func in fpclass
13001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13002 echo "configure:13003: checking for $ac_func" >&5
13003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13004 echo $ac_n "(cached) $ac_c" 1>&6
13006 cat > conftest.$ac_ext <<EOF
13007 #line 13008 "configure"
13008 #include "confdefs.h"
13009 /* System header to define __stub macros and hopefully few prototypes,
13010 which can conflict with char $ac_func(); below. */
13011 #include <assert.h>
13012 /* Override any gcc2 internal prototype to avoid an error. */
13013 /* We use char because int might match the return type of a gcc2
13014 builtin and then its argument prototype would still apply. */
13019 /* The GNU C library defines this for functions which it implements
13020 to always fail with ENOSYS. Some functions are actually named
13021 something starting with __ and the normal name is an alias. */
13022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 if { (eval echo configure:13031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13032 eval "ac_cv_func_$ac_func=yes"
13034 echo "configure: failed program was:" >&5
13035 cat conftest.$ac_ext >&5
13037 eval "ac_cv_func_$ac_func=no"
13042 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13043 echo "$ac_t""yes" 1>&6
13044 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13045 cat >> confdefs.h <<EOF
13046 #define $ac_tr_func 1
13050 echo "$ac_t""no" 1>&6
13056 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13057 echo "configure:13058: checking for _fpclass declaration" >&5
13058 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13059 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13060 echo $ac_n "(cached) $ac_c" 1>&6
13065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13066 ac_cpp='$CXXCPP $CPPFLAGS'
13067 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13068 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13069 cross_compiling=$ac_cv_prog_cxx_cross
13071 cat > conftest.$ac_ext <<EOF
13072 #line 13073 "configure"
13073 #include "confdefs.h"
13075 #ifdef HAVE_IEEEFP_H
13076 #include <ieeefp.h>
13083 if { (eval echo configure:13084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13085 glibcpp_cv_func__fpclass_use=yes
13087 echo "configure: failed program was:" >&5
13088 cat conftest.$ac_ext >&5
13090 glibcpp_cv_func__fpclass_use=no
13094 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13095 ac_cpp='$CPP $CPPFLAGS'
13096 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13097 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13098 cross_compiling=$ac_cv_prog_cc_cross
13104 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13106 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13107 for ac_func in _fpclass
13109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13110 echo "configure:13111: checking for $ac_func" >&5
13111 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13112 echo $ac_n "(cached) $ac_c" 1>&6
13114 cat > conftest.$ac_ext <<EOF
13115 #line 13116 "configure"
13116 #include "confdefs.h"
13117 /* System header to define __stub macros and hopefully few prototypes,
13118 which can conflict with char $ac_func(); below. */
13119 #include <assert.h>
13120 /* Override any gcc2 internal prototype to avoid an error. */
13121 /* We use char because int might match the return type of a gcc2
13122 builtin and then its argument prototype would still apply. */
13127 /* The GNU C library defines this for functions which it implements
13128 to always fail with ENOSYS. Some functions are actually named
13129 something starting with __ and the normal name is an alias. */
13130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138 if { (eval echo configure:13139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13140 eval "ac_cv_func_$ac_func=yes"
13142 echo "configure: failed program was:" >&5
13143 cat conftest.$ac_ext >&5
13145 eval "ac_cv_func_$ac_func=no"
13150 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13151 echo "$ac_t""yes" 1>&6
13152 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13153 cat >> confdefs.h <<EOF
13154 #define $ac_tr_func 1
13158 echo "$ac_t""no" 1>&6
13167 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13168 echo "configure:13169: checking for qfpclass declaration" >&5
13169 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13170 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13171 echo $ac_n "(cached) $ac_c" 1>&6
13176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13177 ac_cpp='$CXXCPP $CPPFLAGS'
13178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13180 cross_compiling=$ac_cv_prog_cxx_cross
13182 cat > conftest.$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13186 #ifdef HAVE_IEEEFP_H
13187 #include <ieeefp.h>
13194 if { (eval echo configure:13195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13196 glibcpp_cv_func_qfpclass_use=yes
13198 echo "configure: failed program was:" >&5
13199 cat conftest.$ac_ext >&5
13201 glibcpp_cv_func_qfpclass_use=no
13205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13206 ac_cpp='$CPP $CPPFLAGS'
13207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13209 cross_compiling=$ac_cv_prog_cc_cross
13215 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13217 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13218 for ac_func in qfpclass
13220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13221 echo "configure:13222: checking for $ac_func" >&5
13222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13223 echo $ac_n "(cached) $ac_c" 1>&6
13225 cat > conftest.$ac_ext <<EOF
13226 #line 13227 "configure"
13227 #include "confdefs.h"
13228 /* System header to define __stub macros and hopefully few prototypes,
13229 which can conflict with char $ac_func(); below. */
13230 #include <assert.h>
13231 /* Override any gcc2 internal prototype to avoid an error. */
13232 /* We use char because int might match the return type of a gcc2
13233 builtin and then its argument prototype would still apply. */
13238 /* The GNU C library defines this for functions which it implements
13239 to always fail with ENOSYS. Some functions are actually named
13240 something starting with __ and the normal name is an alias. */
13241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13249 if { (eval echo configure:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13251 eval "ac_cv_func_$ac_func=yes"
13253 echo "configure: failed program was:" >&5
13254 cat conftest.$ac_ext >&5
13256 eval "ac_cv_func_$ac_func=no"
13261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13262 echo "$ac_t""yes" 1>&6
13263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13264 cat >> confdefs.h <<EOF
13265 #define $ac_tr_func 1
13269 echo "$ac_t""no" 1>&6
13275 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13276 echo "configure:13277: checking for _qfpclass declaration" >&5
13277 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13278 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13279 echo $ac_n "(cached) $ac_c" 1>&6
13284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13285 ac_cpp='$CXXCPP $CPPFLAGS'
13286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13288 cross_compiling=$ac_cv_prog_cxx_cross
13290 cat > conftest.$ac_ext <<EOF
13291 #line 13292 "configure"
13292 #include "confdefs.h"
13294 #ifdef HAVE_IEEEFP_H
13295 #include <ieeefp.h>
13302 if { (eval echo configure:13303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13304 glibcpp_cv_func__qfpclass_use=yes
13306 echo "configure: failed program was:" >&5
13307 cat conftest.$ac_ext >&5
13309 glibcpp_cv_func__qfpclass_use=no
13313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13314 ac_cpp='$CPP $CPPFLAGS'
13315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13317 cross_compiling=$ac_cv_prog_cc_cross
13323 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13325 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13326 for ac_func in _qfpclass
13328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13329 echo "configure:13330: checking for $ac_func" >&5
13330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13331 echo $ac_n "(cached) $ac_c" 1>&6
13333 cat > conftest.$ac_ext <<EOF
13334 #line 13335 "configure"
13335 #include "confdefs.h"
13336 /* System header to define __stub macros and hopefully few prototypes,
13337 which can conflict with char $ac_func(); below. */
13338 #include <assert.h>
13339 /* Override any gcc2 internal prototype to avoid an error. */
13340 /* We use char because int might match the return type of a gcc2
13341 builtin and then its argument prototype would still apply. */
13346 /* The GNU C library defines this for functions which it implements
13347 to always fail with ENOSYS. Some functions are actually named
13348 something starting with __ and the normal name is an alias. */
13349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13357 if { (eval echo configure:13358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13359 eval "ac_cv_func_$ac_func=yes"
13361 echo "configure: failed program was:" >&5
13362 cat conftest.$ac_ext >&5
13364 eval "ac_cv_func_$ac_func=no"
13369 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13370 echo "$ac_t""yes" 1>&6
13371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13372 cat >> confdefs.h <<EOF
13373 #define $ac_tr_func 1
13377 echo "$ac_t""no" 1>&6
13386 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13387 echo "configure:13388: checking for hypot declaration" >&5
13388 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13389 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13390 echo $ac_n "(cached) $ac_c" 1>&6
13395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13396 ac_cpp='$CXXCPP $CPPFLAGS'
13397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13399 cross_compiling=$ac_cv_prog_cxx_cross
13401 cat > conftest.$ac_ext <<EOF
13402 #line 13403 "configure"
13403 #include "confdefs.h"
13409 if { (eval echo configure:13410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13411 glibcpp_cv_func_hypot_use=yes
13413 echo "configure: failed program was:" >&5
13414 cat conftest.$ac_ext >&5
13416 glibcpp_cv_func_hypot_use=no
13420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13421 ac_cpp='$CPP $CPPFLAGS'
13422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13424 cross_compiling=$ac_cv_prog_cc_cross
13430 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13432 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13433 for ac_func in hypot
13435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13436 echo "configure:13437: checking for $ac_func" >&5
13437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13440 cat > conftest.$ac_ext <<EOF
13441 #line 13442 "configure"
13442 #include "confdefs.h"
13443 /* System header to define __stub macros and hopefully few prototypes,
13444 which can conflict with char $ac_func(); below. */
13445 #include <assert.h>
13446 /* Override any gcc2 internal prototype to avoid an error. */
13447 /* We use char because int might match the return type of a gcc2
13448 builtin and then its argument prototype would still apply. */
13453 /* The GNU C library defines this for functions which it implements
13454 to always fail with ENOSYS. Some functions are actually named
13455 something starting with __ and the normal name is an alias. */
13456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13464 if { (eval echo configure:13465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13466 eval "ac_cv_func_$ac_func=yes"
13468 echo "configure: failed program was:" >&5
13469 cat conftest.$ac_ext >&5
13471 eval "ac_cv_func_$ac_func=no"
13476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13477 echo "$ac_t""yes" 1>&6
13478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13479 cat >> confdefs.h <<EOF
13480 #define $ac_tr_func 1
13484 echo "$ac_t""no" 1>&6
13490 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13491 echo "configure:13492: checking for _hypot declaration" >&5
13492 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13493 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13494 echo $ac_n "(cached) $ac_c" 1>&6
13499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13500 ac_cpp='$CXXCPP $CPPFLAGS'
13501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13503 cross_compiling=$ac_cv_prog_cxx_cross
13505 cat > conftest.$ac_ext <<EOF
13506 #line 13507 "configure"
13507 #include "confdefs.h"
13513 if { (eval echo configure:13514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13515 glibcpp_cv_func__hypot_use=yes
13517 echo "configure: failed program was:" >&5
13518 cat conftest.$ac_ext >&5
13520 glibcpp_cv_func__hypot_use=no
13524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13527 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13528 cross_compiling=$ac_cv_prog_cc_cross
13534 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13536 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13537 for ac_func in _hypot
13539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13540 echo "configure:13541: checking for $ac_func" >&5
13541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13544 cat > conftest.$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13547 /* System header to define __stub macros and hopefully few prototypes,
13548 which can conflict with char $ac_func(); below. */
13549 #include <assert.h>
13550 /* Override any gcc2 internal prototype to avoid an error. */
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13557 /* The GNU C library defines this for functions which it implements
13558 to always fail with ENOSYS. Some functions are actually named
13559 something starting with __ and the normal name is an alias. */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 if { (eval echo configure:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13570 eval "ac_cv_func_$ac_func=yes"
13572 echo "configure: failed program was:" >&5
13573 cat conftest.$ac_ext >&5
13575 eval "ac_cv_func_$ac_func=no"
13580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13581 echo "$ac_t""yes" 1>&6
13582 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13583 cat >> confdefs.h <<EOF
13584 #define $ac_tr_func 1
13588 echo "$ac_t""no" 1>&6
13597 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13598 echo "configure:13599: checking for float trig functions" >&5
13599 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13600 echo $ac_n "(cached) $ac_c" 1>&6
13605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13606 ac_cpp='$CXXCPP $CPPFLAGS'
13607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13609 cross_compiling=$ac_cv_prog_cxx_cross
13611 cat > conftest.$ac_ext <<EOF
13612 #line 13613 "configure"
13613 #include "confdefs.h"
13616 `for x in acosf asinf atanf \
13618 coshf sinhf tanhf; do echo "$x (0);"; done`
13621 if { (eval echo configure:13622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13623 glibcpp_cv_func_float_trig_use=yes
13625 echo "configure: failed program was:" >&5
13626 cat conftest.$ac_ext >&5
13628 glibcpp_cv_func_float_trig_use=no
13632 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13633 ac_cpp='$CPP $CPPFLAGS'
13634 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13635 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13636 cross_compiling=$ac_cv_prog_cc_cross
13640 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13641 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13642 for ac_func in acosf asinf atanf \
13646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13647 echo "configure:13648: checking for $ac_func" >&5
13648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13649 echo $ac_n "(cached) $ac_c" 1>&6
13651 cat > conftest.$ac_ext <<EOF
13652 #line 13653 "configure"
13653 #include "confdefs.h"
13654 /* System header to define __stub macros and hopefully few prototypes,
13655 which can conflict with char $ac_func(); below. */
13656 #include <assert.h>
13657 /* Override any gcc2 internal prototype to avoid an error. */
13658 /* We use char because int might match the return type of a gcc2
13659 builtin and then its argument prototype would still apply. */
13664 /* The GNU C library defines this for functions which it implements
13665 to always fail with ENOSYS. Some functions are actually named
13666 something starting with __ and the normal name is an alias. */
13667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13675 if { (eval echo configure:13676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13677 eval "ac_cv_func_$ac_func=yes"
13679 echo "configure: failed program was:" >&5
13680 cat conftest.$ac_ext >&5
13682 eval "ac_cv_func_$ac_func=no"
13687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13688 echo "$ac_t""yes" 1>&6
13689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13690 cat >> confdefs.h <<EOF
13691 #define $ac_tr_func 1
13695 echo "$ac_t""no" 1>&6
13702 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13703 echo "configure:13704: checking for float round functions" >&5
13704 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13705 echo $ac_n "(cached) $ac_c" 1>&6
13710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13711 ac_cpp='$CXXCPP $CPPFLAGS'
13712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13714 cross_compiling=$ac_cv_prog_cxx_cross
13716 cat > conftest.$ac_ext <<EOF
13717 #line 13718 "configure"
13718 #include "confdefs.h"
13721 `for x in ceilf floorf; do echo "$x (0);"; done`
13724 if { (eval echo configure:13725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13726 glibcpp_cv_func_float_round_use=yes
13728 echo "configure: failed program was:" >&5
13729 cat conftest.$ac_ext >&5
13731 glibcpp_cv_func_float_round_use=no
13735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13736 ac_cpp='$CPP $CPPFLAGS'
13737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13739 cross_compiling=$ac_cv_prog_cc_cross
13743 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13744 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13745 for ac_func in ceilf floorf
13747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13748 echo "configure:13749: checking for $ac_func" >&5
13749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 cat > conftest.$ac_ext <<EOF
13753 #line 13754 "configure"
13754 #include "confdefs.h"
13755 /* System header to define __stub macros and hopefully few prototypes,
13756 which can conflict with char $ac_func(); below. */
13757 #include <assert.h>
13758 /* Override any gcc2 internal prototype to avoid an error. */
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13765 /* The GNU C library defines this for functions which it implements
13766 to always fail with ENOSYS. Some functions are actually named
13767 something starting with __ and the normal name is an alias. */
13768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13776 if { (eval echo configure:13777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13778 eval "ac_cv_func_$ac_func=yes"
13780 echo "configure: failed program was:" >&5
13781 cat conftest.$ac_ext >&5
13783 eval "ac_cv_func_$ac_func=no"
13788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13789 echo "$ac_t""yes" 1>&6
13790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13791 cat >> confdefs.h <<EOF
13792 #define $ac_tr_func 1
13796 echo "$ac_t""no" 1>&6
13804 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13805 echo "configure:13806: checking for expf declaration" >&5
13806 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13807 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13808 echo $ac_n "(cached) $ac_c" 1>&6
13813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13814 ac_cpp='$CXXCPP $CPPFLAGS'
13815 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13816 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13817 cross_compiling=$ac_cv_prog_cxx_cross
13819 cat > conftest.$ac_ext <<EOF
13820 #line 13821 "configure"
13821 #include "confdefs.h"
13823 #ifdef HAVE_IEEEFP_H
13824 #include <ieeefp.h>
13831 if { (eval echo configure:13832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13833 glibcpp_cv_func_expf_use=yes
13835 echo "configure: failed program was:" >&5
13836 cat conftest.$ac_ext >&5
13838 glibcpp_cv_func_expf_use=no
13842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13843 ac_cpp='$CPP $CPPFLAGS'
13844 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13845 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13846 cross_compiling=$ac_cv_prog_cc_cross
13852 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13854 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13855 for ac_func in expf
13857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13858 echo "configure:13859: checking for $ac_func" >&5
13859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13860 echo $ac_n "(cached) $ac_c" 1>&6
13862 cat > conftest.$ac_ext <<EOF
13863 #line 13864 "configure"
13864 #include "confdefs.h"
13865 /* System header to define __stub macros and hopefully few prototypes,
13866 which can conflict with char $ac_func(); below. */
13867 #include <assert.h>
13868 /* Override any gcc2 internal prototype to avoid an error. */
13869 /* We use char because int might match the return type of a gcc2
13870 builtin and then its argument prototype would still apply. */
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13886 if { (eval echo configure:13887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13888 eval "ac_cv_func_$ac_func=yes"
13890 echo "configure: failed program was:" >&5
13891 cat conftest.$ac_ext >&5
13893 eval "ac_cv_func_$ac_func=no"
13898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13899 echo "$ac_t""yes" 1>&6
13900 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13901 cat >> confdefs.h <<EOF
13902 #define $ac_tr_func 1
13906 echo "$ac_t""no" 1>&6
13912 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
13913 echo "configure:13914: checking for _expf declaration" >&5
13914 if test x${glibcpp_cv_func__expf_use+set} != xset; then
13915 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
13916 echo $ac_n "(cached) $ac_c" 1>&6
13921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13922 ac_cpp='$CXXCPP $CPPFLAGS'
13923 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13924 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13925 cross_compiling=$ac_cv_prog_cxx_cross
13927 cat > conftest.$ac_ext <<EOF
13928 #line 13929 "configure"
13929 #include "confdefs.h"
13931 #ifdef HAVE_IEEEFP_H
13932 #include <ieeefp.h>
13939 if { (eval echo configure:13940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13941 glibcpp_cv_func__expf_use=yes
13943 echo "configure: failed program was:" >&5
13944 cat conftest.$ac_ext >&5
13946 glibcpp_cv_func__expf_use=no
13950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13951 ac_cpp='$CPP $CPPFLAGS'
13952 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13953 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13954 cross_compiling=$ac_cv_prog_cc_cross
13960 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13962 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13963 for ac_func in _expf
13965 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13966 echo "configure:13967: checking for $ac_func" >&5
13967 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13968 echo $ac_n "(cached) $ac_c" 1>&6
13970 cat > conftest.$ac_ext <<EOF
13971 #line 13972 "configure"
13972 #include "confdefs.h"
13973 /* System header to define __stub macros and hopefully few prototypes,
13974 which can conflict with char $ac_func(); below. */
13975 #include <assert.h>
13976 /* Override any gcc2 internal prototype to avoid an error. */
13977 /* We use char because int might match the return type of a gcc2
13978 builtin and then its argument prototype would still apply. */
13983 /* The GNU C library defines this for functions which it implements
13984 to always fail with ENOSYS. Some functions are actually named
13985 something starting with __ and the normal name is an alias. */
13986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13994 if { (eval echo configure:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13996 eval "ac_cv_func_$ac_func=yes"
13998 echo "configure: failed program was:" >&5
13999 cat conftest.$ac_ext >&5
14001 eval "ac_cv_func_$ac_func=no"
14006 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14007 echo "$ac_t""yes" 1>&6
14008 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14009 cat >> confdefs.h <<EOF
14010 #define $ac_tr_func 1
14014 echo "$ac_t""no" 1>&6
14023 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
14024 echo "configure:14025: checking for isnanf declaration" >&5
14025 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
14026 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
14027 echo $ac_n "(cached) $ac_c" 1>&6
14032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14033 ac_cpp='$CXXCPP $CPPFLAGS'
14034 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14035 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14036 cross_compiling=$ac_cv_prog_cxx_cross
14038 cat > conftest.$ac_ext <<EOF
14039 #line 14040 "configure"
14040 #include "confdefs.h"
14042 #ifdef HAVE_IEEEFP_H
14043 #include <ieeefp.h>
14050 if { (eval echo configure:14051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14052 glibcpp_cv_func_isnanf_use=yes
14054 echo "configure: failed program was:" >&5
14055 cat conftest.$ac_ext >&5
14057 glibcpp_cv_func_isnanf_use=no
14061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14062 ac_cpp='$CPP $CPPFLAGS'
14063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14065 cross_compiling=$ac_cv_prog_cc_cross
14071 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14073 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14074 for ac_func in isnanf
14076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14077 echo "configure:14078: checking for $ac_func" >&5
14078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14079 echo $ac_n "(cached) $ac_c" 1>&6
14081 cat > conftest.$ac_ext <<EOF
14082 #line 14083 "configure"
14083 #include "confdefs.h"
14084 /* System header to define __stub macros and hopefully few prototypes,
14085 which can conflict with char $ac_func(); below. */
14086 #include <assert.h>
14087 /* Override any gcc2 internal prototype to avoid an error. */
14088 /* We use char because int might match the return type of a gcc2
14089 builtin and then its argument prototype would still apply. */
14094 /* The GNU C library defines this for functions which it implements
14095 to always fail with ENOSYS. Some functions are actually named
14096 something starting with __ and the normal name is an alias. */
14097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14105 if { (eval echo configure:14106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14107 eval "ac_cv_func_$ac_func=yes"
14109 echo "configure: failed program was:" >&5
14110 cat conftest.$ac_ext >&5
14112 eval "ac_cv_func_$ac_func=no"
14117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14118 echo "$ac_t""yes" 1>&6
14119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14120 cat >> confdefs.h <<EOF
14121 #define $ac_tr_func 1
14125 echo "$ac_t""no" 1>&6
14131 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14132 echo "configure:14133: checking for _isnanf declaration" >&5
14133 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14134 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14135 echo $ac_n "(cached) $ac_c" 1>&6
14140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14141 ac_cpp='$CXXCPP $CPPFLAGS'
14142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14144 cross_compiling=$ac_cv_prog_cxx_cross
14146 cat > conftest.$ac_ext <<EOF
14147 #line 14148 "configure"
14148 #include "confdefs.h"
14150 #ifdef HAVE_IEEEFP_H
14151 #include <ieeefp.h>
14158 if { (eval echo configure:14159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14160 glibcpp_cv_func__isnanf_use=yes
14162 echo "configure: failed program was:" >&5
14163 cat conftest.$ac_ext >&5
14165 glibcpp_cv_func__isnanf_use=no
14169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14170 ac_cpp='$CPP $CPPFLAGS'
14171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14173 cross_compiling=$ac_cv_prog_cc_cross
14179 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14181 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14182 for ac_func in _isnanf
14184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14185 echo "configure:14186: checking for $ac_func" >&5
14186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14189 cat > conftest.$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14192 /* System header to define __stub macros and hopefully few prototypes,
14193 which can conflict with char $ac_func(); below. */
14194 #include <assert.h>
14195 /* Override any gcc2 internal prototype to avoid an error. */
14196 /* We use char because int might match the return type of a gcc2
14197 builtin and then its argument prototype would still apply. */
14202 /* The GNU C library defines this for functions which it implements
14203 to always fail with ENOSYS. Some functions are actually named
14204 something starting with __ and the normal name is an alias. */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14215 eval "ac_cv_func_$ac_func=yes"
14217 echo "configure: failed program was:" >&5
14218 cat conftest.$ac_ext >&5
14220 eval "ac_cv_func_$ac_func=no"
14225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14226 echo "$ac_t""yes" 1>&6
14227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14228 cat >> confdefs.h <<EOF
14229 #define $ac_tr_func 1
14233 echo "$ac_t""no" 1>&6
14242 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14243 echo "configure:14244: checking for isinff declaration" >&5
14244 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14245 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14246 echo $ac_n "(cached) $ac_c" 1>&6
14251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14252 ac_cpp='$CXXCPP $CPPFLAGS'
14253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14255 cross_compiling=$ac_cv_prog_cxx_cross
14257 cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14261 #ifdef HAVE_IEEEFP_H
14262 #include <ieeefp.h>
14269 if { (eval echo configure:14270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14271 glibcpp_cv_func_isinff_use=yes
14273 echo "configure: failed program was:" >&5
14274 cat conftest.$ac_ext >&5
14276 glibcpp_cv_func_isinff_use=no
14280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14281 ac_cpp='$CPP $CPPFLAGS'
14282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14284 cross_compiling=$ac_cv_prog_cc_cross
14290 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14292 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14293 for ac_func in isinff
14295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14296 echo "configure:14297: checking for $ac_func" >&5
14297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14300 cat > conftest.$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14303 /* System header to define __stub macros and hopefully few prototypes,
14304 which can conflict with char $ac_func(); below. */
14305 #include <assert.h>
14306 /* Override any gcc2 internal prototype to avoid an error. */
14307 /* We use char because int might match the return type of a gcc2
14308 builtin and then its argument prototype would still apply. */
14313 /* The GNU C library defines this for functions which it implements
14314 to always fail with ENOSYS. Some functions are actually named
14315 something starting with __ and the normal name is an alias. */
14316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14324 if { (eval echo configure:14325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14326 eval "ac_cv_func_$ac_func=yes"
14328 echo "configure: failed program was:" >&5
14329 cat conftest.$ac_ext >&5
14331 eval "ac_cv_func_$ac_func=no"
14336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14337 echo "$ac_t""yes" 1>&6
14338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14339 cat >> confdefs.h <<EOF
14340 #define $ac_tr_func 1
14344 echo "$ac_t""no" 1>&6
14350 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14351 echo "configure:14352: checking for _isinff declaration" >&5
14352 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14353 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14354 echo $ac_n "(cached) $ac_c" 1>&6
14359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14360 ac_cpp='$CXXCPP $CPPFLAGS'
14361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14363 cross_compiling=$ac_cv_prog_cxx_cross
14365 cat > conftest.$ac_ext <<EOF
14366 #line 14367 "configure"
14367 #include "confdefs.h"
14369 #ifdef HAVE_IEEEFP_H
14370 #include <ieeefp.h>
14377 if { (eval echo configure:14378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14379 glibcpp_cv_func__isinff_use=yes
14381 echo "configure: failed program was:" >&5
14382 cat conftest.$ac_ext >&5
14384 glibcpp_cv_func__isinff_use=no
14388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14389 ac_cpp='$CPP $CPPFLAGS'
14390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14392 cross_compiling=$ac_cv_prog_cc_cross
14398 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14400 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14401 for ac_func in _isinff
14403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14404 echo "configure:14405: checking for $ac_func" >&5
14405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14406 echo $ac_n "(cached) $ac_c" 1>&6
14408 cat > conftest.$ac_ext <<EOF
14409 #line 14410 "configure"
14410 #include "confdefs.h"
14411 /* System header to define __stub macros and hopefully few prototypes,
14412 which can conflict with char $ac_func(); below. */
14413 #include <assert.h>
14414 /* Override any gcc2 internal prototype to avoid an error. */
14415 /* We use char because int might match the return type of a gcc2
14416 builtin and then its argument prototype would still apply. */
14421 /* The GNU C library defines this for functions which it implements
14422 to always fail with ENOSYS. Some functions are actually named
14423 something starting with __ and the normal name is an alias. */
14424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14432 if { (eval echo configure:14433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14434 eval "ac_cv_func_$ac_func=yes"
14436 echo "configure: failed program was:" >&5
14437 cat conftest.$ac_ext >&5
14439 eval "ac_cv_func_$ac_func=no"
14444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14445 echo "$ac_t""yes" 1>&6
14446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14447 cat >> confdefs.h <<EOF
14448 #define $ac_tr_func 1
14452 echo "$ac_t""no" 1>&6
14461 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14462 echo "configure:14463: checking for atan2f declaration" >&5
14463 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14464 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14465 echo $ac_n "(cached) $ac_c" 1>&6
14470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14471 ac_cpp='$CXXCPP $CPPFLAGS'
14472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14474 cross_compiling=$ac_cv_prog_cxx_cross
14476 cat > conftest.$ac_ext <<EOF
14477 #line 14478 "configure"
14478 #include "confdefs.h"
14484 if { (eval echo configure:14485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14486 glibcpp_cv_func_atan2f_use=yes
14488 echo "configure: failed program was:" >&5
14489 cat conftest.$ac_ext >&5
14491 glibcpp_cv_func_atan2f_use=no
14495 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14498 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14499 cross_compiling=$ac_cv_prog_cc_cross
14505 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14507 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14508 for ac_func in atan2f
14510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14511 echo "configure:14512: checking for $ac_func" >&5
14512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14513 echo $ac_n "(cached) $ac_c" 1>&6
14515 cat > conftest.$ac_ext <<EOF
14516 #line 14517 "configure"
14517 #include "confdefs.h"
14518 /* System header to define __stub macros and hopefully few prototypes,
14519 which can conflict with char $ac_func(); below. */
14520 #include <assert.h>
14521 /* Override any gcc2 internal prototype to avoid an error. */
14522 /* We use char because int might match the return type of a gcc2
14523 builtin and then its argument prototype would still apply. */
14528 /* The GNU C library defines this for functions which it implements
14529 to always fail with ENOSYS. Some functions are actually named
14530 something starting with __ and the normal name is an alias. */
14531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14539 if { (eval echo configure:14540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14541 eval "ac_cv_func_$ac_func=yes"
14543 echo "configure: failed program was:" >&5
14544 cat conftest.$ac_ext >&5
14546 eval "ac_cv_func_$ac_func=no"
14551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14552 echo "$ac_t""yes" 1>&6
14553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14554 cat >> confdefs.h <<EOF
14555 #define $ac_tr_func 1
14559 echo "$ac_t""no" 1>&6
14565 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14566 echo "configure:14567: checking for _atan2f declaration" >&5
14567 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14568 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14569 echo $ac_n "(cached) $ac_c" 1>&6
14574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14575 ac_cpp='$CXXCPP $CPPFLAGS'
14576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14578 cross_compiling=$ac_cv_prog_cxx_cross
14580 cat > conftest.$ac_ext <<EOF
14581 #line 14582 "configure"
14582 #include "confdefs.h"
14588 if { (eval echo configure:14589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14590 glibcpp_cv_func__atan2f_use=yes
14592 echo "configure: failed program was:" >&5
14593 cat conftest.$ac_ext >&5
14595 glibcpp_cv_func__atan2f_use=no
14599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14600 ac_cpp='$CPP $CPPFLAGS'
14601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14603 cross_compiling=$ac_cv_prog_cc_cross
14609 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14611 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14612 for ac_func in _atan2f
14614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14615 echo "configure:14616: checking for $ac_func" >&5
14616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14617 echo $ac_n "(cached) $ac_c" 1>&6
14619 cat > conftest.$ac_ext <<EOF
14620 #line 14621 "configure"
14621 #include "confdefs.h"
14622 /* System header to define __stub macros and hopefully few prototypes,
14623 which can conflict with char $ac_func(); below. */
14624 #include <assert.h>
14625 /* Override any gcc2 internal prototype to avoid an error. */
14626 /* We use char because int might match the return type of a gcc2
14627 builtin and then its argument prototype would still apply. */
14632 /* The GNU C library defines this for functions which it implements
14633 to always fail with ENOSYS. Some functions are actually named
14634 something starting with __ and the normal name is an alias. */
14635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14643 if { (eval echo configure:14644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14645 eval "ac_cv_func_$ac_func=yes"
14647 echo "configure: failed program was:" >&5
14648 cat conftest.$ac_ext >&5
14650 eval "ac_cv_func_$ac_func=no"
14655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14656 echo "$ac_t""yes" 1>&6
14657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14658 cat >> confdefs.h <<EOF
14659 #define $ac_tr_func 1
14663 echo "$ac_t""no" 1>&6
14672 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14673 echo "configure:14674: checking for fabsf declaration" >&5
14674 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14675 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14676 echo $ac_n "(cached) $ac_c" 1>&6
14681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14682 ac_cpp='$CXXCPP $CPPFLAGS'
14683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14685 cross_compiling=$ac_cv_prog_cxx_cross
14687 cat > conftest.$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14691 #ifdef HAVE_IEEEFP_H
14692 #include <ieeefp.h>
14699 if { (eval echo configure:14700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14701 glibcpp_cv_func_fabsf_use=yes
14703 echo "configure: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14706 glibcpp_cv_func_fabsf_use=no
14710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14711 ac_cpp='$CPP $CPPFLAGS'
14712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14714 cross_compiling=$ac_cv_prog_cc_cross
14720 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14722 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14723 for ac_func in fabsf
14725 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14726 echo "configure:14727: checking for $ac_func" >&5
14727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14728 echo $ac_n "(cached) $ac_c" 1>&6
14730 cat > conftest.$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 /* System header to define __stub macros and hopefully few prototypes,
14734 which can conflict with char $ac_func(); below. */
14735 #include <assert.h>
14736 /* Override any gcc2 internal prototype to avoid an error. */
14737 /* We use char because int might match the return type of a gcc2
14738 builtin and then its argument prototype would still apply. */
14743 /* The GNU C library defines this for functions which it implements
14744 to always fail with ENOSYS. Some functions are actually named
14745 something starting with __ and the normal name is an alias. */
14746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14754 if { (eval echo configure:14755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14756 eval "ac_cv_func_$ac_func=yes"
14758 echo "configure: failed program was:" >&5
14759 cat conftest.$ac_ext >&5
14761 eval "ac_cv_func_$ac_func=no"
14766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14767 echo "$ac_t""yes" 1>&6
14768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14769 cat >> confdefs.h <<EOF
14770 #define $ac_tr_func 1
14774 echo "$ac_t""no" 1>&6
14780 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14781 echo "configure:14782: checking for _fabsf declaration" >&5
14782 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14783 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14784 echo $ac_n "(cached) $ac_c" 1>&6
14789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14790 ac_cpp='$CXXCPP $CPPFLAGS'
14791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14793 cross_compiling=$ac_cv_prog_cxx_cross
14795 cat > conftest.$ac_ext <<EOF
14796 #line 14797 "configure"
14797 #include "confdefs.h"
14799 #ifdef HAVE_IEEEFP_H
14800 #include <ieeefp.h>
14807 if { (eval echo configure:14808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14809 glibcpp_cv_func__fabsf_use=yes
14811 echo "configure: failed program was:" >&5
14812 cat conftest.$ac_ext >&5
14814 glibcpp_cv_func__fabsf_use=no
14818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14822 cross_compiling=$ac_cv_prog_cc_cross
14828 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14830 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14831 for ac_func in _fabsf
14833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14834 echo "configure:14835: checking for $ac_func" >&5
14835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14836 echo $ac_n "(cached) $ac_c" 1>&6
14838 cat > conftest.$ac_ext <<EOF
14839 #line 14840 "configure"
14840 #include "confdefs.h"
14841 /* System header to define __stub macros and hopefully few prototypes,
14842 which can conflict with char $ac_func(); below. */
14843 #include <assert.h>
14844 /* Override any gcc2 internal prototype to avoid an error. */
14845 /* We use char because int might match the return type of a gcc2
14846 builtin and then its argument prototype would still apply. */
14851 /* The GNU C library defines this for functions which it implements
14852 to always fail with ENOSYS. Some functions are actually named
14853 something starting with __ and the normal name is an alias. */
14854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14862 if { (eval echo configure:14863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14864 eval "ac_cv_func_$ac_func=yes"
14866 echo "configure: failed program was:" >&5
14867 cat conftest.$ac_ext >&5
14869 eval "ac_cv_func_$ac_func=no"
14874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14875 echo "$ac_t""yes" 1>&6
14876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14877 cat >> confdefs.h <<EOF
14878 #define $ac_tr_func 1
14882 echo "$ac_t""no" 1>&6
14891 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
14892 echo "configure:14893: checking for fmodf declaration" >&5
14893 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
14894 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
14895 echo $ac_n "(cached) $ac_c" 1>&6
14900 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14901 ac_cpp='$CXXCPP $CPPFLAGS'
14902 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14903 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14904 cross_compiling=$ac_cv_prog_cxx_cross
14906 cat > conftest.$ac_ext <<EOF
14907 #line 14908 "configure"
14908 #include "confdefs.h"
14914 if { (eval echo configure:14915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14916 glibcpp_cv_func_fmodf_use=yes
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 glibcpp_cv_func_fmodf_use=no
14925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14928 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14929 cross_compiling=$ac_cv_prog_cc_cross
14935 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
14937 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
14938 for ac_func in fmodf
14940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14941 echo "configure:14942: checking for $ac_func" >&5
14942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14943 echo $ac_n "(cached) $ac_c" 1>&6
14945 cat > conftest.$ac_ext <<EOF
14946 #line 14947 "configure"
14947 #include "confdefs.h"
14948 /* System header to define __stub macros and hopefully few prototypes,
14949 which can conflict with char $ac_func(); below. */
14950 #include <assert.h>
14951 /* Override any gcc2 internal prototype to avoid an error. */
14952 /* We use char because int might match the return type of a gcc2
14953 builtin and then its argument prototype would still apply. */
14958 /* The GNU C library defines this for functions which it implements
14959 to always fail with ENOSYS. Some functions are actually named
14960 something starting with __ and the normal name is an alias. */
14961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14969 if { (eval echo configure:14970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14971 eval "ac_cv_func_$ac_func=yes"
14973 echo "configure: failed program was:" >&5
14974 cat conftest.$ac_ext >&5
14976 eval "ac_cv_func_$ac_func=no"
14981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14982 echo "$ac_t""yes" 1>&6
14983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14984 cat >> confdefs.h <<EOF
14985 #define $ac_tr_func 1
14989 echo "$ac_t""no" 1>&6
14995 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
14996 echo "configure:14997: checking for _fmodf declaration" >&5
14997 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14998 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14999 echo $ac_n "(cached) $ac_c" 1>&6
15004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15005 ac_cpp='$CXXCPP $CPPFLAGS'
15006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15008 cross_compiling=$ac_cv_prog_cxx_cross
15010 cat > conftest.$ac_ext <<EOF
15011 #line 15012 "configure"
15012 #include "confdefs.h"
15018 if { (eval echo configure:15019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15020 glibcpp_cv_func__fmodf_use=yes
15022 echo "configure: failed program was:" >&5
15023 cat conftest.$ac_ext >&5
15025 glibcpp_cv_func__fmodf_use=no
15029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15030 ac_cpp='$CPP $CPPFLAGS'
15031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15033 cross_compiling=$ac_cv_prog_cc_cross
15039 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
15041 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
15042 for ac_func in _fmodf
15044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15045 echo "configure:15046: checking for $ac_func" >&5
15046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15047 echo $ac_n "(cached) $ac_c" 1>&6
15049 cat > conftest.$ac_ext <<EOF
15050 #line 15051 "configure"
15051 #include "confdefs.h"
15052 /* System header to define __stub macros and hopefully few prototypes,
15053 which can conflict with char $ac_func(); below. */
15054 #include <assert.h>
15055 /* Override any gcc2 internal prototype to avoid an error. */
15056 /* We use char because int might match the return type of a gcc2
15057 builtin and then its argument prototype would still apply. */
15062 /* The GNU C library defines this for functions which it implements
15063 to always fail with ENOSYS. Some functions are actually named
15064 something starting with __ and the normal name is an alias. */
15065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15073 if { (eval echo configure:15074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15075 eval "ac_cv_func_$ac_func=yes"
15077 echo "configure: failed program was:" >&5
15078 cat conftest.$ac_ext >&5
15080 eval "ac_cv_func_$ac_func=no"
15085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15086 echo "$ac_t""yes" 1>&6
15087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15088 cat >> confdefs.h <<EOF
15089 #define $ac_tr_func 1
15093 echo "$ac_t""no" 1>&6
15102 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15103 echo "configure:15104: checking for frexpf declaration" >&5
15104 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15105 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15112 ac_cpp='$CXXCPP $CPPFLAGS'
15113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15115 cross_compiling=$ac_cv_prog_cxx_cross
15117 cat > conftest.$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15125 if { (eval echo configure:15126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15127 glibcpp_cv_func_frexpf_use=yes
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 glibcpp_cv_func_frexpf_use=no
15136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15140 cross_compiling=$ac_cv_prog_cc_cross
15146 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15148 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15149 for ac_func in frexpf
15151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15152 echo "configure:15153: checking for $ac_func" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char $ac_func(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15180 if { (eval echo configure:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15182 eval "ac_cv_func_$ac_func=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.$ac_ext >&5
15187 eval "ac_cv_func_$ac_func=no"
15192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15195 cat >> confdefs.h <<EOF
15196 #define $ac_tr_func 1
15200 echo "$ac_t""no" 1>&6
15206 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15207 echo "configure:15208: checking for _frexpf declaration" >&5
15208 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15209 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15210 echo $ac_n "(cached) $ac_c" 1>&6
15215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15216 ac_cpp='$CXXCPP $CPPFLAGS'
15217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15219 cross_compiling=$ac_cv_prog_cxx_cross
15221 cat > conftest.$ac_ext <<EOF
15222 #line 15223 "configure"
15223 #include "confdefs.h"
15229 if { (eval echo configure:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15231 glibcpp_cv_func__frexpf_use=yes
15233 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5
15236 glibcpp_cv_func__frexpf_use=no
15240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15241 ac_cpp='$CPP $CPPFLAGS'
15242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15244 cross_compiling=$ac_cv_prog_cc_cross
15250 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15252 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15253 for ac_func in _frexpf
15255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15256 echo "configure:15257: checking for $ac_func" >&5
15257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15258 echo $ac_n "(cached) $ac_c" 1>&6
15260 cat > conftest.$ac_ext <<EOF
15261 #line 15262 "configure"
15262 #include "confdefs.h"
15263 /* System header to define __stub macros and hopefully few prototypes,
15264 which can conflict with char $ac_func(); below. */
15265 #include <assert.h>
15266 /* Override any gcc2 internal prototype to avoid an error. */
15267 /* We use char because int might match the return type of a gcc2
15268 builtin and then its argument prototype would still apply. */
15273 /* The GNU C library defines this for functions which it implements
15274 to always fail with ENOSYS. Some functions are actually named
15275 something starting with __ and the normal name is an alias. */
15276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15284 if { (eval echo configure:15285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15286 eval "ac_cv_func_$ac_func=yes"
15288 echo "configure: failed program was:" >&5
15289 cat conftest.$ac_ext >&5
15291 eval "ac_cv_func_$ac_func=no"
15296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15297 echo "$ac_t""yes" 1>&6
15298 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15299 cat >> confdefs.h <<EOF
15300 #define $ac_tr_func 1
15304 echo "$ac_t""no" 1>&6
15313 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15314 echo "configure:15315: checking for hypotf declaration" >&5
15315 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15316 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15323 ac_cpp='$CXXCPP $CPPFLAGS'
15324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15326 cross_compiling=$ac_cv_prog_cxx_cross
15328 cat > conftest.$ac_ext <<EOF
15329 #line 15330 "configure"
15330 #include "confdefs.h"
15336 if { (eval echo configure:15337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15338 glibcpp_cv_func_hypotf_use=yes
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15343 glibcpp_cv_func_hypotf_use=no
15347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15350 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15351 cross_compiling=$ac_cv_prog_cc_cross
15357 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15359 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15360 for ac_func in hypotf
15362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15363 echo "configure:15364: checking for $ac_func" >&5
15364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15365 echo $ac_n "(cached) $ac_c" 1>&6
15367 cat > conftest.$ac_ext <<EOF
15368 #line 15369 "configure"
15369 #include "confdefs.h"
15370 /* System header to define __stub macros and hopefully few prototypes,
15371 which can conflict with char $ac_func(); below. */
15372 #include <assert.h>
15373 /* Override any gcc2 internal prototype to avoid an error. */
15374 /* We use char because int might match the return type of a gcc2
15375 builtin and then its argument prototype would still apply. */
15380 /* The GNU C library defines this for functions which it implements
15381 to always fail with ENOSYS. Some functions are actually named
15382 something starting with __ and the normal name is an alias. */
15383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15391 if { (eval echo configure:15392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15393 eval "ac_cv_func_$ac_func=yes"
15395 echo "configure: failed program was:" >&5
15396 cat conftest.$ac_ext >&5
15398 eval "ac_cv_func_$ac_func=no"
15403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15404 echo "$ac_t""yes" 1>&6
15405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15406 cat >> confdefs.h <<EOF
15407 #define $ac_tr_func 1
15411 echo "$ac_t""no" 1>&6
15417 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15418 echo "configure:15419: checking for _hypotf declaration" >&5
15419 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15420 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15426 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15427 ac_cpp='$CXXCPP $CPPFLAGS'
15428 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15429 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15430 cross_compiling=$ac_cv_prog_cxx_cross
15432 cat > conftest.$ac_ext <<EOF
15433 #line 15434 "configure"
15434 #include "confdefs.h"
15440 if { (eval echo configure:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15442 glibcpp_cv_func__hypotf_use=yes
15444 echo "configure: failed program was:" >&5
15445 cat conftest.$ac_ext >&5
15447 glibcpp_cv_func__hypotf_use=no
15451 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15454 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15455 cross_compiling=$ac_cv_prog_cc_cross
15461 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15463 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15464 for ac_func in _hypotf
15466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15467 echo "configure:15468: checking for $ac_func" >&5
15468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15469 echo $ac_n "(cached) $ac_c" 1>&6
15471 cat > conftest.$ac_ext <<EOF
15472 #line 15473 "configure"
15473 #include "confdefs.h"
15474 /* System header to define __stub macros and hopefully few prototypes,
15475 which can conflict with char $ac_func(); below. */
15476 #include <assert.h>
15477 /* Override any gcc2 internal prototype to avoid an error. */
15478 /* We use char because int might match the return type of a gcc2
15479 builtin and then its argument prototype would still apply. */
15484 /* The GNU C library defines this for functions which it implements
15485 to always fail with ENOSYS. Some functions are actually named
15486 something starting with __ and the normal name is an alias. */
15487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15495 if { (eval echo configure:15496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15497 eval "ac_cv_func_$ac_func=yes"
15499 echo "configure: failed program was:" >&5
15500 cat conftest.$ac_ext >&5
15502 eval "ac_cv_func_$ac_func=no"
15507 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15509 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15510 cat >> confdefs.h <<EOF
15511 #define $ac_tr_func 1
15515 echo "$ac_t""no" 1>&6
15524 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15525 echo "configure:15526: checking for ldexpf declaration" >&5
15526 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15527 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15528 echo $ac_n "(cached) $ac_c" 1>&6
15533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15534 ac_cpp='$CXXCPP $CPPFLAGS'
15535 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15536 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15537 cross_compiling=$ac_cv_prog_cxx_cross
15539 cat > conftest.$ac_ext <<EOF
15540 #line 15541 "configure"
15541 #include "confdefs.h"
15547 if { (eval echo configure:15548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15549 glibcpp_cv_func_ldexpf_use=yes
15551 echo "configure: failed program was:" >&5
15552 cat conftest.$ac_ext >&5
15554 glibcpp_cv_func_ldexpf_use=no
15558 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15559 ac_cpp='$CPP $CPPFLAGS'
15560 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15561 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15562 cross_compiling=$ac_cv_prog_cc_cross
15568 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15570 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15571 for ac_func in ldexpf
15573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15574 echo "configure:15575: checking for $ac_func" >&5
15575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15576 echo $ac_n "(cached) $ac_c" 1>&6
15578 cat > conftest.$ac_ext <<EOF
15579 #line 15580 "configure"
15580 #include "confdefs.h"
15581 /* System header to define __stub macros and hopefully few prototypes,
15582 which can conflict with char $ac_func(); below. */
15583 #include <assert.h>
15584 /* Override any gcc2 internal prototype to avoid an error. */
15585 /* We use char because int might match the return type of a gcc2
15586 builtin and then its argument prototype would still apply. */
15591 /* The GNU C library defines this for functions which it implements
15592 to always fail with ENOSYS. Some functions are actually named
15593 something starting with __ and the normal name is an alias. */
15594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15602 if { (eval echo configure:15603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15604 eval "ac_cv_func_$ac_func=yes"
15606 echo "configure: failed program was:" >&5
15607 cat conftest.$ac_ext >&5
15609 eval "ac_cv_func_$ac_func=no"
15614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15615 echo "$ac_t""yes" 1>&6
15616 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15617 cat >> confdefs.h <<EOF
15618 #define $ac_tr_func 1
15622 echo "$ac_t""no" 1>&6
15628 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15629 echo "configure:15630: checking for _ldexpf declaration" >&5
15630 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15631 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15638 ac_cpp='$CXXCPP $CPPFLAGS'
15639 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15640 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15641 cross_compiling=$ac_cv_prog_cxx_cross
15643 cat > conftest.$ac_ext <<EOF
15644 #line 15645 "configure"
15645 #include "confdefs.h"
15651 if { (eval echo configure:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15653 glibcpp_cv_func__ldexpf_use=yes
15655 echo "configure: failed program was:" >&5
15656 cat conftest.$ac_ext >&5
15658 glibcpp_cv_func__ldexpf_use=no
15662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15663 ac_cpp='$CPP $CPPFLAGS'
15664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15666 cross_compiling=$ac_cv_prog_cc_cross
15672 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15674 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15675 for ac_func in _ldexpf
15677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15678 echo "configure:15679: checking for $ac_func" >&5
15679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15680 echo $ac_n "(cached) $ac_c" 1>&6
15682 cat > conftest.$ac_ext <<EOF
15683 #line 15684 "configure"
15684 #include "confdefs.h"
15685 /* System header to define __stub macros and hopefully few prototypes,
15686 which can conflict with char $ac_func(); below. */
15687 #include <assert.h>
15688 /* Override any gcc2 internal prototype to avoid an error. */
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15695 /* The GNU C library defines this for functions which it implements
15696 to always fail with ENOSYS. Some functions are actually named
15697 something starting with __ and the normal name is an alias. */
15698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15706 if { (eval echo configure:15707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15708 eval "ac_cv_func_$ac_func=yes"
15710 echo "configure: failed program was:" >&5
15711 cat conftest.$ac_ext >&5
15713 eval "ac_cv_func_$ac_func=no"
15718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15719 echo "$ac_t""yes" 1>&6
15720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15721 cat >> confdefs.h <<EOF
15722 #define $ac_tr_func 1
15726 echo "$ac_t""no" 1>&6
15735 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15736 echo "configure:15737: checking for logf declaration" >&5
15737 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15738 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15739 echo $ac_n "(cached) $ac_c" 1>&6
15744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15745 ac_cpp='$CXXCPP $CPPFLAGS'
15746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15748 cross_compiling=$ac_cv_prog_cxx_cross
15750 cat > conftest.$ac_ext <<EOF
15751 #line 15752 "configure"
15752 #include "confdefs.h"
15754 #ifdef HAVE_IEEEFP_H
15755 #include <ieeefp.h>
15762 if { (eval echo configure:15763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15764 glibcpp_cv_func_logf_use=yes
15766 echo "configure: failed program was:" >&5
15767 cat conftest.$ac_ext >&5
15769 glibcpp_cv_func_logf_use=no
15773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15774 ac_cpp='$CPP $CPPFLAGS'
15775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15777 cross_compiling=$ac_cv_prog_cc_cross
15783 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15785 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15786 for ac_func in logf
15788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15789 echo "configure:15790: checking for $ac_func" >&5
15790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15791 echo $ac_n "(cached) $ac_c" 1>&6
15793 cat > conftest.$ac_ext <<EOF
15794 #line 15795 "configure"
15795 #include "confdefs.h"
15796 /* System header to define __stub macros and hopefully few prototypes,
15797 which can conflict with char $ac_func(); below. */
15798 #include <assert.h>
15799 /* Override any gcc2 internal prototype to avoid an error. */
15800 /* We use char because int might match the return type of a gcc2
15801 builtin and then its argument prototype would still apply. */
15806 /* The GNU C library defines this for functions which it implements
15807 to always fail with ENOSYS. Some functions are actually named
15808 something starting with __ and the normal name is an alias. */
15809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15817 if { (eval echo configure:15818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15819 eval "ac_cv_func_$ac_func=yes"
15821 echo "configure: failed program was:" >&5
15822 cat conftest.$ac_ext >&5
15824 eval "ac_cv_func_$ac_func=no"
15829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15830 echo "$ac_t""yes" 1>&6
15831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15832 cat >> confdefs.h <<EOF
15833 #define $ac_tr_func 1
15837 echo "$ac_t""no" 1>&6
15843 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15844 echo "configure:15845: checking for _logf declaration" >&5
15845 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15846 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15847 echo $ac_n "(cached) $ac_c" 1>&6
15852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15853 ac_cpp='$CXXCPP $CPPFLAGS'
15854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15856 cross_compiling=$ac_cv_prog_cxx_cross
15858 cat > conftest.$ac_ext <<EOF
15859 #line 15860 "configure"
15860 #include "confdefs.h"
15862 #ifdef HAVE_IEEEFP_H
15863 #include <ieeefp.h>
15870 if { (eval echo configure:15871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15872 glibcpp_cv_func__logf_use=yes
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15877 glibcpp_cv_func__logf_use=no
15881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15882 ac_cpp='$CPP $CPPFLAGS'
15883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15885 cross_compiling=$ac_cv_prog_cc_cross
15891 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15893 if test x$glibcpp_cv_func__logf_use = x"yes"; then
15894 for ac_func in _logf
15896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15897 echo "configure:15898: checking for $ac_func" >&5
15898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15899 echo $ac_n "(cached) $ac_c" 1>&6
15901 cat > conftest.$ac_ext <<EOF
15902 #line 15903 "configure"
15903 #include "confdefs.h"
15904 /* System header to define __stub macros and hopefully few prototypes,
15905 which can conflict with char $ac_func(); below. */
15906 #include <assert.h>
15907 /* Override any gcc2 internal prototype to avoid an error. */
15908 /* We use char because int might match the return type of a gcc2
15909 builtin and then its argument prototype would still apply. */
15914 /* The GNU C library defines this for functions which it implements
15915 to always fail with ENOSYS. Some functions are actually named
15916 something starting with __ and the normal name is an alias. */
15917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15925 if { (eval echo configure:15926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15927 eval "ac_cv_func_$ac_func=yes"
15929 echo "configure: failed program was:" >&5
15930 cat conftest.$ac_ext >&5
15932 eval "ac_cv_func_$ac_func=no"
15937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15938 echo "$ac_t""yes" 1>&6
15939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15940 cat >> confdefs.h <<EOF
15941 #define $ac_tr_func 1
15945 echo "$ac_t""no" 1>&6
15954 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
15955 echo "configure:15956: checking for log10f declaration" >&5
15956 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15957 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15964 ac_cpp='$CXXCPP $CPPFLAGS'
15965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15967 cross_compiling=$ac_cv_prog_cxx_cross
15969 cat > conftest.$ac_ext <<EOF
15970 #line 15971 "configure"
15971 #include "confdefs.h"
15973 #ifdef HAVE_IEEEFP_H
15974 #include <ieeefp.h>
15981 if { (eval echo configure:15982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15983 glibcpp_cv_func_log10f_use=yes
15985 echo "configure: failed program was:" >&5
15986 cat conftest.$ac_ext >&5
15988 glibcpp_cv_func_log10f_use=no
15992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15993 ac_cpp='$CPP $CPPFLAGS'
15994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15996 cross_compiling=$ac_cv_prog_cc_cross
16002 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
16004 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
16005 for ac_func in log10f
16007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16008 echo "configure:16009: checking for $ac_func" >&5
16009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16010 echo $ac_n "(cached) $ac_c" 1>&6
16012 cat > conftest.$ac_ext <<EOF
16013 #line 16014 "configure"
16014 #include "confdefs.h"
16015 /* System header to define __stub macros and hopefully few prototypes,
16016 which can conflict with char $ac_func(); below. */
16017 #include <assert.h>
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 /* We use char because int might match the return type of a gcc2
16020 builtin and then its argument prototype would still apply. */
16025 /* The GNU C library defines this for functions which it implements
16026 to always fail with ENOSYS. Some functions are actually named
16027 something starting with __ and the normal name is an alias. */
16028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16036 if { (eval echo configure:16037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16038 eval "ac_cv_func_$ac_func=yes"
16040 echo "configure: failed program was:" >&5
16041 cat conftest.$ac_ext >&5
16043 eval "ac_cv_func_$ac_func=no"
16048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16049 echo "$ac_t""yes" 1>&6
16050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16051 cat >> confdefs.h <<EOF
16052 #define $ac_tr_func 1
16056 echo "$ac_t""no" 1>&6
16062 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16063 echo "configure:16064: checking for _log10f declaration" >&5
16064 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16065 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16066 echo $ac_n "(cached) $ac_c" 1>&6
16071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16072 ac_cpp='$CXXCPP $CPPFLAGS'
16073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16075 cross_compiling=$ac_cv_prog_cxx_cross
16077 cat > conftest.$ac_ext <<EOF
16078 #line 16079 "configure"
16079 #include "confdefs.h"
16081 #ifdef HAVE_IEEEFP_H
16082 #include <ieeefp.h>
16089 if { (eval echo configure:16090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16091 glibcpp_cv_func__log10f_use=yes
16093 echo "configure: failed program was:" >&5
16094 cat conftest.$ac_ext >&5
16096 glibcpp_cv_func__log10f_use=no
16100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16101 ac_cpp='$CPP $CPPFLAGS'
16102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16104 cross_compiling=$ac_cv_prog_cc_cross
16110 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16112 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16113 for ac_func in _log10f
16115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16116 echo "configure:16117: checking for $ac_func" >&5
16117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16118 echo $ac_n "(cached) $ac_c" 1>&6
16120 cat > conftest.$ac_ext <<EOF
16121 #line 16122 "configure"
16122 #include "confdefs.h"
16123 /* System header to define __stub macros and hopefully few prototypes,
16124 which can conflict with char $ac_func(); below. */
16125 #include <assert.h>
16126 /* Override any gcc2 internal prototype to avoid an error. */
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16133 /* The GNU C library defines this for functions which it implements
16134 to always fail with ENOSYS. Some functions are actually named
16135 something starting with __ and the normal name is an alias. */
16136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16144 if { (eval echo configure:16145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16146 eval "ac_cv_func_$ac_func=yes"
16148 echo "configure: failed program was:" >&5
16149 cat conftest.$ac_ext >&5
16151 eval "ac_cv_func_$ac_func=no"
16156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16157 echo "$ac_t""yes" 1>&6
16158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16159 cat >> confdefs.h <<EOF
16160 #define $ac_tr_func 1
16164 echo "$ac_t""no" 1>&6
16173 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16174 echo "configure:16175: checking for modff declaration" >&5
16175 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16176 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16183 ac_cpp='$CXXCPP $CPPFLAGS'
16184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16186 cross_compiling=$ac_cv_prog_cxx_cross
16188 cat > conftest.$ac_ext <<EOF
16189 #line 16190 "configure"
16190 #include "confdefs.h"
16196 if { (eval echo configure:16197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16198 glibcpp_cv_func_modff_use=yes
16200 echo "configure: failed program was:" >&5
16201 cat conftest.$ac_ext >&5
16203 glibcpp_cv_func_modff_use=no
16207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16211 cross_compiling=$ac_cv_prog_cc_cross
16217 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16219 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16220 for ac_func in modff
16222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16223 echo "configure:16224: checking for $ac_func" >&5
16224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16225 echo $ac_n "(cached) $ac_c" 1>&6
16227 cat > conftest.$ac_ext <<EOF
16228 #line 16229 "configure"
16229 #include "confdefs.h"
16230 /* System header to define __stub macros and hopefully few prototypes,
16231 which can conflict with char $ac_func(); below. */
16232 #include <assert.h>
16233 /* Override any gcc2 internal prototype to avoid an error. */
16234 /* We use char because int might match the return type of a gcc2
16235 builtin and then its argument prototype would still apply. */
16240 /* The GNU C library defines this for functions which it implements
16241 to always fail with ENOSYS. Some functions are actually named
16242 something starting with __ and the normal name is an alias. */
16243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 if { (eval echo configure:16252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16253 eval "ac_cv_func_$ac_func=yes"
16255 echo "configure: failed program was:" >&5
16256 cat conftest.$ac_ext >&5
16258 eval "ac_cv_func_$ac_func=no"
16263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16264 echo "$ac_t""yes" 1>&6
16265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16266 cat >> confdefs.h <<EOF
16267 #define $ac_tr_func 1
16271 echo "$ac_t""no" 1>&6
16277 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16278 echo "configure:16279: checking for _modff declaration" >&5
16279 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16280 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16281 echo $ac_n "(cached) $ac_c" 1>&6
16286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16287 ac_cpp='$CXXCPP $CPPFLAGS'
16288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16290 cross_compiling=$ac_cv_prog_cxx_cross
16292 cat > conftest.$ac_ext <<EOF
16293 #line 16294 "configure"
16294 #include "confdefs.h"
16300 if { (eval echo configure:16301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16302 glibcpp_cv_func__modff_use=yes
16304 echo "configure: failed program was:" >&5
16305 cat conftest.$ac_ext >&5
16307 glibcpp_cv_func__modff_use=no
16311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16315 cross_compiling=$ac_cv_prog_cc_cross
16321 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16323 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16324 for ac_func in _modff
16326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16327 echo "configure:16328: checking for $ac_func" >&5
16328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16329 echo $ac_n "(cached) $ac_c" 1>&6
16331 cat > conftest.$ac_ext <<EOF
16332 #line 16333 "configure"
16333 #include "confdefs.h"
16334 /* System header to define __stub macros and hopefully few prototypes,
16335 which can conflict with char $ac_func(); below. */
16336 #include <assert.h>
16337 /* Override any gcc2 internal prototype to avoid an error. */
16338 /* We use char because int might match the return type of a gcc2
16339 builtin and then its argument prototype would still apply. */
16344 /* The GNU C library defines this for functions which it implements
16345 to always fail with ENOSYS. Some functions are actually named
16346 something starting with __ and the normal name is an alias. */
16347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16355 if { (eval echo configure:16356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16357 eval "ac_cv_func_$ac_func=yes"
16359 echo "configure: failed program was:" >&5
16360 cat conftest.$ac_ext >&5
16362 eval "ac_cv_func_$ac_func=no"
16367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16368 echo "$ac_t""yes" 1>&6
16369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16370 cat >> confdefs.h <<EOF
16371 #define $ac_tr_func 1
16375 echo "$ac_t""no" 1>&6
16384 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16385 echo "configure:16386: checking for powf declaration" >&5
16386 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16387 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16388 echo $ac_n "(cached) $ac_c" 1>&6
16393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16394 ac_cpp='$CXXCPP $CPPFLAGS'
16395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16397 cross_compiling=$ac_cv_prog_cxx_cross
16399 cat > conftest.$ac_ext <<EOF
16400 #line 16401 "configure"
16401 #include "confdefs.h"
16407 if { (eval echo configure:16408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16409 glibcpp_cv_func_powf_use=yes
16411 echo "configure: failed program was:" >&5
16412 cat conftest.$ac_ext >&5
16414 glibcpp_cv_func_powf_use=no
16418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16419 ac_cpp='$CPP $CPPFLAGS'
16420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16422 cross_compiling=$ac_cv_prog_cc_cross
16428 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16430 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16431 for ac_func in powf
16433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16434 echo "configure:16435: checking for $ac_func" >&5
16435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16436 echo $ac_n "(cached) $ac_c" 1>&6
16438 cat > conftest.$ac_ext <<EOF
16439 #line 16440 "configure"
16440 #include "confdefs.h"
16441 /* System header to define __stub macros and hopefully few prototypes,
16442 which can conflict with char $ac_func(); below. */
16443 #include <assert.h>
16444 /* Override any gcc2 internal prototype to avoid an error. */
16445 /* We use char because int might match the return type of a gcc2
16446 builtin and then its argument prototype would still apply. */
16451 /* The GNU C library defines this for functions which it implements
16452 to always fail with ENOSYS. Some functions are actually named
16453 something starting with __ and the normal name is an alias. */
16454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16462 if { (eval echo configure:16463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16464 eval "ac_cv_func_$ac_func=yes"
16466 echo "configure: failed program was:" >&5
16467 cat conftest.$ac_ext >&5
16469 eval "ac_cv_func_$ac_func=no"
16474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16475 echo "$ac_t""yes" 1>&6
16476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16477 cat >> confdefs.h <<EOF
16478 #define $ac_tr_func 1
16482 echo "$ac_t""no" 1>&6
16488 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16489 echo "configure:16490: checking for _powf declaration" >&5
16490 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16491 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16492 echo $ac_n "(cached) $ac_c" 1>&6
16497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16501 cross_compiling=$ac_cv_prog_cxx_cross
16503 cat > conftest.$ac_ext <<EOF
16504 #line 16505 "configure"
16505 #include "confdefs.h"
16511 if { (eval echo configure:16512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16513 glibcpp_cv_func__powf_use=yes
16515 echo "configure: failed program was:" >&5
16516 cat conftest.$ac_ext >&5
16518 glibcpp_cv_func__powf_use=no
16522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16526 cross_compiling=$ac_cv_prog_cc_cross
16532 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16534 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16535 for ac_func in _powf
16537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16538 echo "configure:16539: checking for $ac_func" >&5
16539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16540 echo $ac_n "(cached) $ac_c" 1>&6
16542 cat > conftest.$ac_ext <<EOF
16543 #line 16544 "configure"
16544 #include "confdefs.h"
16545 /* System header to define __stub macros and hopefully few prototypes,
16546 which can conflict with char $ac_func(); below. */
16547 #include <assert.h>
16548 /* Override any gcc2 internal prototype to avoid an error. */
16549 /* We use char because int might match the return type of a gcc2
16550 builtin and then its argument prototype would still apply. */
16555 /* The GNU C library defines this for functions which it implements
16556 to always fail with ENOSYS. Some functions are actually named
16557 something starting with __ and the normal name is an alias. */
16558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16566 if { (eval echo configure:16567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16568 eval "ac_cv_func_$ac_func=yes"
16570 echo "configure: failed program was:" >&5
16571 cat conftest.$ac_ext >&5
16573 eval "ac_cv_func_$ac_func=no"
16578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16579 echo "$ac_t""yes" 1>&6
16580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16581 cat >> confdefs.h <<EOF
16582 #define $ac_tr_func 1
16586 echo "$ac_t""no" 1>&6
16595 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16596 echo "configure:16597: checking for sqrtf declaration" >&5
16597 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16598 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16605 ac_cpp='$CXXCPP $CPPFLAGS'
16606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16608 cross_compiling=$ac_cv_prog_cxx_cross
16610 cat > conftest.$ac_ext <<EOF
16611 #line 16612 "configure"
16612 #include "confdefs.h"
16614 #ifdef HAVE_IEEEFP_H
16615 #include <ieeefp.h>
16622 if { (eval echo configure:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16624 glibcpp_cv_func_sqrtf_use=yes
16626 echo "configure: failed program was:" >&5
16627 cat conftest.$ac_ext >&5
16629 glibcpp_cv_func_sqrtf_use=no
16633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16634 ac_cpp='$CPP $CPPFLAGS'
16635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16637 cross_compiling=$ac_cv_prog_cc_cross
16643 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16645 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16646 for ac_func in sqrtf
16648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16649 echo "configure:16650: checking for $ac_func" >&5
16650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16651 echo $ac_n "(cached) $ac_c" 1>&6
16653 cat > conftest.$ac_ext <<EOF
16654 #line 16655 "configure"
16655 #include "confdefs.h"
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func(); below. */
16658 #include <assert.h>
16659 /* Override any gcc2 internal prototype to avoid an error. */
16660 /* We use char because int might match the return type of a gcc2
16661 builtin and then its argument prototype would still apply. */
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16677 if { (eval echo configure:16678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16679 eval "ac_cv_func_$ac_func=yes"
16681 echo "configure: failed program was:" >&5
16682 cat conftest.$ac_ext >&5
16684 eval "ac_cv_func_$ac_func=no"
16689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16690 echo "$ac_t""yes" 1>&6
16691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16692 cat >> confdefs.h <<EOF
16693 #define $ac_tr_func 1
16697 echo "$ac_t""no" 1>&6
16703 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16704 echo "configure:16705: checking for _sqrtf declaration" >&5
16705 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16706 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16707 echo $ac_n "(cached) $ac_c" 1>&6
16712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16713 ac_cpp='$CXXCPP $CPPFLAGS'
16714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16716 cross_compiling=$ac_cv_prog_cxx_cross
16718 cat > conftest.$ac_ext <<EOF
16719 #line 16720 "configure"
16720 #include "confdefs.h"
16722 #ifdef HAVE_IEEEFP_H
16723 #include <ieeefp.h>
16730 if { (eval echo configure:16731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16732 glibcpp_cv_func__sqrtf_use=yes
16734 echo "configure: failed program was:" >&5
16735 cat conftest.$ac_ext >&5
16737 glibcpp_cv_func__sqrtf_use=no
16741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16742 ac_cpp='$CPP $CPPFLAGS'
16743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16745 cross_compiling=$ac_cv_prog_cc_cross
16751 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16753 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16754 for ac_func in _sqrtf
16756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16757 echo "configure:16758: checking for $ac_func" >&5
16758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16759 echo $ac_n "(cached) $ac_c" 1>&6
16761 cat > conftest.$ac_ext <<EOF
16762 #line 16763 "configure"
16763 #include "confdefs.h"
16764 /* System header to define __stub macros and hopefully few prototypes,
16765 which can conflict with char $ac_func(); below. */
16766 #include <assert.h>
16767 /* Override any gcc2 internal prototype to avoid an error. */
16768 /* We use char because int might match the return type of a gcc2
16769 builtin and then its argument prototype would still apply. */
16774 /* The GNU C library defines this for functions which it implements
16775 to always fail with ENOSYS. Some functions are actually named
16776 something starting with __ and the normal name is an alias. */
16777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16785 if { (eval echo configure:16786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16787 eval "ac_cv_func_$ac_func=yes"
16789 echo "configure: failed program was:" >&5
16790 cat conftest.$ac_ext >&5
16792 eval "ac_cv_func_$ac_func=no"
16797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16798 echo "$ac_t""yes" 1>&6
16799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16800 cat >> confdefs.h <<EOF
16801 #define $ac_tr_func 1
16805 echo "$ac_t""no" 1>&6
16814 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16815 echo "configure:16816: checking for sincosf declaration" >&5
16816 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16817 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16818 echo $ac_n "(cached) $ac_c" 1>&6
16823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16824 ac_cpp='$CXXCPP $CPPFLAGS'
16825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16827 cross_compiling=$ac_cv_prog_cxx_cross
16829 cat > conftest.$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16837 if { (eval echo configure:16838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16839 glibcpp_cv_func_sincosf_use=yes
16841 echo "configure: failed program was:" >&5
16842 cat conftest.$ac_ext >&5
16844 glibcpp_cv_func_sincosf_use=no
16848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16849 ac_cpp='$CPP $CPPFLAGS'
16850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16852 cross_compiling=$ac_cv_prog_cc_cross
16858 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16860 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16861 for ac_func in sincosf
16863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16864 echo "configure:16865: checking for $ac_func" >&5
16865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16866 echo $ac_n "(cached) $ac_c" 1>&6
16868 cat > conftest.$ac_ext <<EOF
16869 #line 16870 "configure"
16870 #include "confdefs.h"
16871 /* System header to define __stub macros and hopefully few prototypes,
16872 which can conflict with char $ac_func(); below. */
16873 #include <assert.h>
16874 /* Override any gcc2 internal prototype to avoid an error. */
16875 /* We use char because int might match the return type of a gcc2
16876 builtin and then its argument prototype would still apply. */
16881 /* The GNU C library defines this for functions which it implements
16882 to always fail with ENOSYS. Some functions are actually named
16883 something starting with __ and the normal name is an alias. */
16884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16892 if { (eval echo configure:16893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16894 eval "ac_cv_func_$ac_func=yes"
16896 echo "configure: failed program was:" >&5
16897 cat conftest.$ac_ext >&5
16899 eval "ac_cv_func_$ac_func=no"
16904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16905 echo "$ac_t""yes" 1>&6
16906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16907 cat >> confdefs.h <<EOF
16908 #define $ac_tr_func 1
16912 echo "$ac_t""no" 1>&6
16918 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
16919 echo "configure:16920: checking for _sincosf declaration" >&5
16920 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
16921 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16928 ac_cpp='$CXXCPP $CPPFLAGS'
16929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16931 cross_compiling=$ac_cv_prog_cxx_cross
16933 cat > conftest.$ac_ext <<EOF
16934 #line 16935 "configure"
16935 #include "confdefs.h"
16941 if { (eval echo configure:16942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16943 glibcpp_cv_func__sincosf_use=yes
16945 echo "configure: failed program was:" >&5
16946 cat conftest.$ac_ext >&5
16948 glibcpp_cv_func__sincosf_use=no
16952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp='$CPP $CPPFLAGS'
16954 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling=$ac_cv_prog_cc_cross
16962 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16964 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16965 for ac_func in _sincosf
16967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16968 echo "configure:16969: checking for $ac_func" >&5
16969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16970 echo $ac_n "(cached) $ac_c" 1>&6
16972 cat > conftest.$ac_ext <<EOF
16973 #line 16974 "configure"
16974 #include "confdefs.h"
16975 /* System header to define __stub macros and hopefully few prototypes,
16976 which can conflict with char $ac_func(); below. */
16977 #include <assert.h>
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 if { (eval echo configure:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16998 eval "ac_cv_func_$ac_func=yes"
17000 echo "configure: failed program was:" >&5
17001 cat conftest.$ac_ext >&5
17003 eval "ac_cv_func_$ac_func=no"
17008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17010 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17011 cat >> confdefs.h <<EOF
17012 #define $ac_tr_func 1
17016 echo "$ac_t""no" 1>&6
17025 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
17026 echo "configure:17027: checking for finitef declaration" >&5
17027 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
17028 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17035 ac_cpp='$CXXCPP $CPPFLAGS'
17036 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17037 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17038 cross_compiling=$ac_cv_prog_cxx_cross
17040 cat > conftest.$ac_ext <<EOF
17041 #line 17042 "configure"
17042 #include "confdefs.h"
17044 #ifdef HAVE_IEEEFP_H
17045 #include <ieeefp.h>
17052 if { (eval echo configure:17053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17054 glibcpp_cv_func_finitef_use=yes
17056 echo "configure: failed program was:" >&5
17057 cat conftest.$ac_ext >&5
17059 glibcpp_cv_func_finitef_use=no
17063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17067 cross_compiling=$ac_cv_prog_cc_cross
17073 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17075 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17076 for ac_func in finitef
17078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17079 echo "configure:17080: checking for $ac_func" >&5
17080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17081 echo $ac_n "(cached) $ac_c" 1>&6
17083 cat > conftest.$ac_ext <<EOF
17084 #line 17085 "configure"
17085 #include "confdefs.h"
17086 /* System header to define __stub macros and hopefully few prototypes,
17087 which can conflict with char $ac_func(); below. */
17088 #include <assert.h>
17089 /* Override any gcc2 internal prototype to avoid an error. */
17090 /* We use char because int might match the return type of a gcc2
17091 builtin and then its argument prototype would still apply. */
17096 /* The GNU C library defines this for functions which it implements
17097 to always fail with ENOSYS. Some functions are actually named
17098 something starting with __ and the normal name is an alias. */
17099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17107 if { (eval echo configure:17108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17109 eval "ac_cv_func_$ac_func=yes"
17111 echo "configure: failed program was:" >&5
17112 cat conftest.$ac_ext >&5
17114 eval "ac_cv_func_$ac_func=no"
17119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17120 echo "$ac_t""yes" 1>&6
17121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17122 cat >> confdefs.h <<EOF
17123 #define $ac_tr_func 1
17127 echo "$ac_t""no" 1>&6
17133 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17134 echo "configure:17135: checking for _finitef declaration" >&5
17135 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17136 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17137 echo $ac_n "(cached) $ac_c" 1>&6
17142 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17143 ac_cpp='$CXXCPP $CPPFLAGS'
17144 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17145 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17146 cross_compiling=$ac_cv_prog_cxx_cross
17148 cat > conftest.$ac_ext <<EOF
17149 #line 17150 "configure"
17150 #include "confdefs.h"
17152 #ifdef HAVE_IEEEFP_H
17153 #include <ieeefp.h>
17160 if { (eval echo configure:17161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17162 glibcpp_cv_func__finitef_use=yes
17164 echo "configure: failed program was:" >&5
17165 cat conftest.$ac_ext >&5
17167 glibcpp_cv_func__finitef_use=no
17171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17175 cross_compiling=$ac_cv_prog_cc_cross
17181 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17183 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17184 for ac_func in _finitef
17186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17187 echo "configure:17188: checking for $ac_func" >&5
17188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17189 echo $ac_n "(cached) $ac_c" 1>&6
17191 cat > conftest.$ac_ext <<EOF
17192 #line 17193 "configure"
17193 #include "confdefs.h"
17194 /* System header to define __stub macros and hopefully few prototypes,
17195 which can conflict with char $ac_func(); below. */
17196 #include <assert.h>
17197 /* Override any gcc2 internal prototype to avoid an error. */
17198 /* We use char because int might match the return type of a gcc2
17199 builtin and then its argument prototype would still apply. */
17204 /* The GNU C library defines this for functions which it implements
17205 to always fail with ENOSYS. Some functions are actually named
17206 something starting with __ and the normal name is an alias. */
17207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17215 if { (eval echo configure:17216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17217 eval "ac_cv_func_$ac_func=yes"
17219 echo "configure: failed program was:" >&5
17220 cat conftest.$ac_ext >&5
17222 eval "ac_cv_func_$ac_func=no"
17227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17228 echo "$ac_t""yes" 1>&6
17229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17230 cat >> confdefs.h <<EOF
17231 #define $ac_tr_func 1
17235 echo "$ac_t""no" 1>&6
17244 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17245 echo "configure:17246: checking for long double trig functions" >&5
17246 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17247 echo $ac_n "(cached) $ac_c" 1>&6
17252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17253 ac_cpp='$CXXCPP $CPPFLAGS'
17254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17256 cross_compiling=$ac_cv_prog_cxx_cross
17258 cat > conftest.$ac_ext <<EOF
17259 #line 17260 "configure"
17260 #include "confdefs.h"
17263 `for x in acosl asinl atanl \
17265 coshl sinhl tanhl; do echo "$x (0);"; done`
17268 if { (eval echo configure:17269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17270 glibcpp_cv_func_long_double_trig_use=yes
17272 echo "configure: failed program was:" >&5
17273 cat conftest.$ac_ext >&5
17275 glibcpp_cv_func_long_double_trig_use=no
17279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17280 ac_cpp='$CPP $CPPFLAGS'
17281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17283 cross_compiling=$ac_cv_prog_cc_cross
17287 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17288 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17289 for ac_func in acosl asinl atanl \
17293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17294 echo "configure:17295: checking for $ac_func" >&5
17295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17296 echo $ac_n "(cached) $ac_c" 1>&6
17298 cat > conftest.$ac_ext <<EOF
17299 #line 17300 "configure"
17300 #include "confdefs.h"
17301 /* System header to define __stub macros and hopefully few prototypes,
17302 which can conflict with char $ac_func(); below. */
17303 #include <assert.h>
17304 /* Override any gcc2 internal prototype to avoid an error. */
17305 /* We use char because int might match the return type of a gcc2
17306 builtin and then its argument prototype would still apply. */
17311 /* The GNU C library defines this for functions which it implements
17312 to always fail with ENOSYS. Some functions are actually named
17313 something starting with __ and the normal name is an alias. */
17314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17322 if { (eval echo configure:17323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17324 eval "ac_cv_func_$ac_func=yes"
17326 echo "configure: failed program was:" >&5
17327 cat conftest.$ac_ext >&5
17329 eval "ac_cv_func_$ac_func=no"
17334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17335 echo "$ac_t""yes" 1>&6
17336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17337 cat >> confdefs.h <<EOF
17338 #define $ac_tr_func 1
17342 echo "$ac_t""no" 1>&6
17349 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17350 echo "configure:17351: checking for long double round functions" >&5
17351 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17352 echo $ac_n "(cached) $ac_c" 1>&6
17357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17358 ac_cpp='$CXXCPP $CPPFLAGS'
17359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17361 cross_compiling=$ac_cv_prog_cxx_cross
17363 cat > conftest.$ac_ext <<EOF
17364 #line 17365 "configure"
17365 #include "confdefs.h"
17368 `for x in ceill floorl; do echo "$x (0);"; done`
17371 if { (eval echo configure:17372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17373 glibcpp_cv_func_long_double_round_use=yes
17375 echo "configure: failed program was:" >&5
17376 cat conftest.$ac_ext >&5
17378 glibcpp_cv_func_long_double_round_use=no
17382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17386 cross_compiling=$ac_cv_prog_cc_cross
17390 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17391 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17392 for ac_func in ceill floorl
17394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17395 echo "configure:17396: checking for $ac_func" >&5
17396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17397 echo $ac_n "(cached) $ac_c" 1>&6
17399 cat > conftest.$ac_ext <<EOF
17400 #line 17401 "configure"
17401 #include "confdefs.h"
17402 /* System header to define __stub macros and hopefully few prototypes,
17403 which can conflict with char $ac_func(); below. */
17404 #include <assert.h>
17405 /* Override any gcc2 internal prototype to avoid an error. */
17406 /* We use char because int might match the return type of a gcc2
17407 builtin and then its argument prototype would still apply. */
17412 /* The GNU C library defines this for functions which it implements
17413 to always fail with ENOSYS. Some functions are actually named
17414 something starting with __ and the normal name is an alias. */
17415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17423 if { (eval echo configure:17424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17425 eval "ac_cv_func_$ac_func=yes"
17427 echo "configure: failed program was:" >&5
17428 cat conftest.$ac_ext >&5
17430 eval "ac_cv_func_$ac_func=no"
17435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17436 echo "$ac_t""yes" 1>&6
17437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17438 cat >> confdefs.h <<EOF
17439 #define $ac_tr_func 1
17443 echo "$ac_t""no" 1>&6
17451 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17452 echo "configure:17453: checking for isnanl declaration" >&5
17453 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17454 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17455 echo $ac_n "(cached) $ac_c" 1>&6
17460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17461 ac_cpp='$CXXCPP $CPPFLAGS'
17462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17464 cross_compiling=$ac_cv_prog_cxx_cross
17466 cat > conftest.$ac_ext <<EOF
17467 #line 17468 "configure"
17468 #include "confdefs.h"
17470 #ifdef HAVE_IEEEFP_H
17471 #include <ieeefp.h>
17478 if { (eval echo configure:17479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17480 glibcpp_cv_func_isnanl_use=yes
17482 echo "configure: failed program was:" >&5
17483 cat conftest.$ac_ext >&5
17485 glibcpp_cv_func_isnanl_use=no
17489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17493 cross_compiling=$ac_cv_prog_cc_cross
17499 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17501 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17502 for ac_func in isnanl
17504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17505 echo "configure:17506: checking for $ac_func" >&5
17506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17507 echo $ac_n "(cached) $ac_c" 1>&6
17509 cat > conftest.$ac_ext <<EOF
17510 #line 17511 "configure"
17511 #include "confdefs.h"
17512 /* System header to define __stub macros and hopefully few prototypes,
17513 which can conflict with char $ac_func(); below. */
17514 #include <assert.h>
17515 /* Override any gcc2 internal prototype to avoid an error. */
17516 /* We use char because int might match the return type of a gcc2
17517 builtin and then its argument prototype would still apply. */
17522 /* The GNU C library defines this for functions which it implements
17523 to always fail with ENOSYS. Some functions are actually named
17524 something starting with __ and the normal name is an alias. */
17525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17533 if { (eval echo configure:17534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17535 eval "ac_cv_func_$ac_func=yes"
17537 echo "configure: failed program was:" >&5
17538 cat conftest.$ac_ext >&5
17540 eval "ac_cv_func_$ac_func=no"
17545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17546 echo "$ac_t""yes" 1>&6
17547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17548 cat >> confdefs.h <<EOF
17549 #define $ac_tr_func 1
17553 echo "$ac_t""no" 1>&6
17559 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17560 echo "configure:17561: checking for _isnanl declaration" >&5
17561 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17562 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17563 echo $ac_n "(cached) $ac_c" 1>&6
17568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17569 ac_cpp='$CXXCPP $CPPFLAGS'
17570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17572 cross_compiling=$ac_cv_prog_cxx_cross
17574 cat > conftest.$ac_ext <<EOF
17575 #line 17576 "configure"
17576 #include "confdefs.h"
17578 #ifdef HAVE_IEEEFP_H
17579 #include <ieeefp.h>
17586 if { (eval echo configure:17587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17588 glibcpp_cv_func__isnanl_use=yes
17590 echo "configure: failed program was:" >&5
17591 cat conftest.$ac_ext >&5
17593 glibcpp_cv_func__isnanl_use=no
17597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17598 ac_cpp='$CPP $CPPFLAGS'
17599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17601 cross_compiling=$ac_cv_prog_cc_cross
17607 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17609 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17610 for ac_func in _isnanl
17612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17613 echo "configure:17614: checking for $ac_func" >&5
17614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17615 echo $ac_n "(cached) $ac_c" 1>&6
17617 cat > conftest.$ac_ext <<EOF
17618 #line 17619 "configure"
17619 #include "confdefs.h"
17620 /* System header to define __stub macros and hopefully few prototypes,
17621 which can conflict with char $ac_func(); below. */
17622 #include <assert.h>
17623 /* Override any gcc2 internal prototype to avoid an error. */
17624 /* We use char because int might match the return type of a gcc2
17625 builtin and then its argument prototype would still apply. */
17630 /* The GNU C library defines this for functions which it implements
17631 to always fail with ENOSYS. Some functions are actually named
17632 something starting with __ and the normal name is an alias. */
17633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17641 if { (eval echo configure:17642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17643 eval "ac_cv_func_$ac_func=yes"
17645 echo "configure: failed program was:" >&5
17646 cat conftest.$ac_ext >&5
17648 eval "ac_cv_func_$ac_func=no"
17653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17654 echo "$ac_t""yes" 1>&6
17655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17656 cat >> confdefs.h <<EOF
17657 #define $ac_tr_func 1
17661 echo "$ac_t""no" 1>&6
17670 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17671 echo "configure:17672: checking for isinfl declaration" >&5
17672 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17673 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17674 echo $ac_n "(cached) $ac_c" 1>&6
17679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17680 ac_cpp='$CXXCPP $CPPFLAGS'
17681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17683 cross_compiling=$ac_cv_prog_cxx_cross
17685 cat > conftest.$ac_ext <<EOF
17686 #line 17687 "configure"
17687 #include "confdefs.h"
17689 #ifdef HAVE_IEEEFP_H
17690 #include <ieeefp.h>
17697 if { (eval echo configure:17698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17699 glibcpp_cv_func_isinfl_use=yes
17701 echo "configure: failed program was:" >&5
17702 cat conftest.$ac_ext >&5
17704 glibcpp_cv_func_isinfl_use=no
17708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17712 cross_compiling=$ac_cv_prog_cc_cross
17718 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17720 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17721 for ac_func in isinfl
17723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17724 echo "configure:17725: checking for $ac_func" >&5
17725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17728 cat > conftest.$ac_ext <<EOF
17729 #line 17730 "configure"
17730 #include "confdefs.h"
17731 /* System header to define __stub macros and hopefully few prototypes,
17732 which can conflict with char $ac_func(); below. */
17733 #include <assert.h>
17734 /* Override any gcc2 internal prototype to avoid an error. */
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17741 /* The GNU C library defines this for functions which it implements
17742 to always fail with ENOSYS. Some functions are actually named
17743 something starting with __ and the normal name is an alias. */
17744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17752 if { (eval echo configure:17753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17754 eval "ac_cv_func_$ac_func=yes"
17756 echo "configure: failed program was:" >&5
17757 cat conftest.$ac_ext >&5
17759 eval "ac_cv_func_$ac_func=no"
17764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17765 echo "$ac_t""yes" 1>&6
17766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17767 cat >> confdefs.h <<EOF
17768 #define $ac_tr_func 1
17772 echo "$ac_t""no" 1>&6
17778 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17779 echo "configure:17780: checking for _isinfl declaration" >&5
17780 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17781 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17782 echo $ac_n "(cached) $ac_c" 1>&6
17787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17788 ac_cpp='$CXXCPP $CPPFLAGS'
17789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17791 cross_compiling=$ac_cv_prog_cxx_cross
17793 cat > conftest.$ac_ext <<EOF
17794 #line 17795 "configure"
17795 #include "confdefs.h"
17797 #ifdef HAVE_IEEEFP_H
17798 #include <ieeefp.h>
17805 if { (eval echo configure:17806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17807 glibcpp_cv_func__isinfl_use=yes
17809 echo "configure: failed program was:" >&5
17810 cat conftest.$ac_ext >&5
17812 glibcpp_cv_func__isinfl_use=no
17816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17817 ac_cpp='$CPP $CPPFLAGS'
17818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17820 cross_compiling=$ac_cv_prog_cc_cross
17826 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17828 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17829 for ac_func in _isinfl
17831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17832 echo "configure:17833: checking for $ac_func" >&5
17833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17834 echo $ac_n "(cached) $ac_c" 1>&6
17836 cat > conftest.$ac_ext <<EOF
17837 #line 17838 "configure"
17838 #include "confdefs.h"
17839 /* System header to define __stub macros and hopefully few prototypes,
17840 which can conflict with char $ac_func(); below. */
17841 #include <assert.h>
17842 /* Override any gcc2 internal prototype to avoid an error. */
17843 /* We use char because int might match the return type of a gcc2
17844 builtin and then its argument prototype would still apply. */
17849 /* The GNU C library defines this for functions which it implements
17850 to always fail with ENOSYS. Some functions are actually named
17851 something starting with __ and the normal name is an alias. */
17852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17860 if { (eval echo configure:17861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17862 eval "ac_cv_func_$ac_func=yes"
17864 echo "configure: failed program was:" >&5
17865 cat conftest.$ac_ext >&5
17867 eval "ac_cv_func_$ac_func=no"
17872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17873 echo "$ac_t""yes" 1>&6
17874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17875 cat >> confdefs.h <<EOF
17876 #define $ac_tr_func 1
17880 echo "$ac_t""no" 1>&6
17889 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
17890 echo "configure:17891: checking for copysignl declaration" >&5
17891 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17892 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17893 echo $ac_n "(cached) $ac_c" 1>&6
17898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17899 ac_cpp='$CXXCPP $CPPFLAGS'
17900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17902 cross_compiling=$ac_cv_prog_cxx_cross
17904 cat > conftest.$ac_ext <<EOF
17905 #line 17906 "configure"
17906 #include "confdefs.h"
17912 if { (eval echo configure:17913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17914 glibcpp_cv_func_copysignl_use=yes
17916 echo "configure: failed program was:" >&5
17917 cat conftest.$ac_ext >&5
17919 glibcpp_cv_func_copysignl_use=no
17923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17927 cross_compiling=$ac_cv_prog_cc_cross
17933 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
17935 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
17936 for ac_func in copysignl
17938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17939 echo "configure:17940: checking for $ac_func" >&5
17940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17941 echo $ac_n "(cached) $ac_c" 1>&6
17943 cat > conftest.$ac_ext <<EOF
17944 #line 17945 "configure"
17945 #include "confdefs.h"
17946 /* System header to define __stub macros and hopefully few prototypes,
17947 which can conflict with char $ac_func(); below. */
17948 #include <assert.h>
17949 /* Override any gcc2 internal prototype to avoid an error. */
17950 /* We use char because int might match the return type of a gcc2
17951 builtin and then its argument prototype would still apply. */
17956 /* The GNU C library defines this for functions which it implements
17957 to always fail with ENOSYS. Some functions are actually named
17958 something starting with __ and the normal name is an alias. */
17959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17967 if { (eval echo configure:17968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17969 eval "ac_cv_func_$ac_func=yes"
17971 echo "configure: failed program was:" >&5
17972 cat conftest.$ac_ext >&5
17974 eval "ac_cv_func_$ac_func=no"
17979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17980 echo "$ac_t""yes" 1>&6
17981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17982 cat >> confdefs.h <<EOF
17983 #define $ac_tr_func 1
17987 echo "$ac_t""no" 1>&6
17993 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
17994 echo "configure:17995: checking for _copysignl declaration" >&5
17995 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17996 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17997 echo $ac_n "(cached) $ac_c" 1>&6
18002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18006 cross_compiling=$ac_cv_prog_cxx_cross
18008 cat > conftest.$ac_ext <<EOF
18009 #line 18010 "configure"
18010 #include "confdefs.h"
18016 if { (eval echo configure:18017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18018 glibcpp_cv_func__copysignl_use=yes
18020 echo "configure: failed program was:" >&5
18021 cat conftest.$ac_ext >&5
18023 glibcpp_cv_func__copysignl_use=no
18027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18028 ac_cpp='$CPP $CPPFLAGS'
18029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18031 cross_compiling=$ac_cv_prog_cc_cross
18037 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
18039 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
18040 for ac_func in _copysignl
18042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18043 echo "configure:18044: checking for $ac_func" >&5
18044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18045 echo $ac_n "(cached) $ac_c" 1>&6
18047 cat > conftest.$ac_ext <<EOF
18048 #line 18049 "configure"
18049 #include "confdefs.h"
18050 /* System header to define __stub macros and hopefully few prototypes,
18051 which can conflict with char $ac_func(); below. */
18052 #include <assert.h>
18053 /* Override any gcc2 internal prototype to avoid an error. */
18054 /* We use char because int might match the return type of a gcc2
18055 builtin and then its argument prototype would still apply. */
18060 /* The GNU C library defines this for functions which it implements
18061 to always fail with ENOSYS. Some functions are actually named
18062 something starting with __ and the normal name is an alias. */
18063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18071 if { (eval echo configure:18072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18073 eval "ac_cv_func_$ac_func=yes"
18075 echo "configure: failed program was:" >&5
18076 cat conftest.$ac_ext >&5
18078 eval "ac_cv_func_$ac_func=no"
18083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18084 echo "$ac_t""yes" 1>&6
18085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18086 cat >> confdefs.h <<EOF
18087 #define $ac_tr_func 1
18091 echo "$ac_t""no" 1>&6
18100 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18101 echo "configure:18102: checking for atan2l declaration" >&5
18102 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18103 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18104 echo $ac_n "(cached) $ac_c" 1>&6
18109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18110 ac_cpp='$CXXCPP $CPPFLAGS'
18111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18113 cross_compiling=$ac_cv_prog_cxx_cross
18115 cat > conftest.$ac_ext <<EOF
18116 #line 18117 "configure"
18117 #include "confdefs.h"
18123 if { (eval echo configure:18124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18125 glibcpp_cv_func_atan2l_use=yes
18127 echo "configure: failed program was:" >&5
18128 cat conftest.$ac_ext >&5
18130 glibcpp_cv_func_atan2l_use=no
18134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18135 ac_cpp='$CPP $CPPFLAGS'
18136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18138 cross_compiling=$ac_cv_prog_cc_cross
18144 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18146 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18147 for ac_func in atan2l
18149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18150 echo "configure:18151: checking for $ac_func" >&5
18151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18152 echo $ac_n "(cached) $ac_c" 1>&6
18154 cat > conftest.$ac_ext <<EOF
18155 #line 18156 "configure"
18156 #include "confdefs.h"
18157 /* System header to define __stub macros and hopefully few prototypes,
18158 which can conflict with char $ac_func(); below. */
18159 #include <assert.h>
18160 /* Override any gcc2 internal prototype to avoid an error. */
18161 /* We use char because int might match the return type of a gcc2
18162 builtin and then its argument prototype would still apply. */
18167 /* The GNU C library defines this for functions which it implements
18168 to always fail with ENOSYS. Some functions are actually named
18169 something starting with __ and the normal name is an alias. */
18170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18178 if { (eval echo configure:18179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18180 eval "ac_cv_func_$ac_func=yes"
18182 echo "configure: failed program was:" >&5
18183 cat conftest.$ac_ext >&5
18185 eval "ac_cv_func_$ac_func=no"
18190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18191 echo "$ac_t""yes" 1>&6
18192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18193 cat >> confdefs.h <<EOF
18194 #define $ac_tr_func 1
18198 echo "$ac_t""no" 1>&6
18204 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18205 echo "configure:18206: checking for _atan2l declaration" >&5
18206 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18207 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18208 echo $ac_n "(cached) $ac_c" 1>&6
18213 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18214 ac_cpp='$CXXCPP $CPPFLAGS'
18215 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18216 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18217 cross_compiling=$ac_cv_prog_cxx_cross
18219 cat > conftest.$ac_ext <<EOF
18220 #line 18221 "configure"
18221 #include "confdefs.h"
18227 if { (eval echo configure:18228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18229 glibcpp_cv_func__atan2l_use=yes
18231 echo "configure: failed program was:" >&5
18232 cat conftest.$ac_ext >&5
18234 glibcpp_cv_func__atan2l_use=no
18238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18239 ac_cpp='$CPP $CPPFLAGS'
18240 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18241 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18242 cross_compiling=$ac_cv_prog_cc_cross
18248 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18250 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18251 for ac_func in _atan2l
18253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18254 echo "configure:18255: checking for $ac_func" >&5
18255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18256 echo $ac_n "(cached) $ac_c" 1>&6
18258 cat > conftest.$ac_ext <<EOF
18259 #line 18260 "configure"
18260 #include "confdefs.h"
18261 /* System header to define __stub macros and hopefully few prototypes,
18262 which can conflict with char $ac_func(); below. */
18263 #include <assert.h>
18264 /* Override any gcc2 internal prototype to avoid an error. */
18265 /* We use char because int might match the return type of a gcc2
18266 builtin and then its argument prototype would still apply. */
18271 /* The GNU C library defines this for functions which it implements
18272 to always fail with ENOSYS. Some functions are actually named
18273 something starting with __ and the normal name is an alias. */
18274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18282 if { (eval echo configure:18283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18284 eval "ac_cv_func_$ac_func=yes"
18286 echo "configure: failed program was:" >&5
18287 cat conftest.$ac_ext >&5
18289 eval "ac_cv_func_$ac_func=no"
18294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18295 echo "$ac_t""yes" 1>&6
18296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18297 cat >> confdefs.h <<EOF
18298 #define $ac_tr_func 1
18302 echo "$ac_t""no" 1>&6
18311 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18312 echo "configure:18313: checking for expl declaration" >&5
18313 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18314 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18315 echo $ac_n "(cached) $ac_c" 1>&6
18320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18321 ac_cpp='$CXXCPP $CPPFLAGS'
18322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18324 cross_compiling=$ac_cv_prog_cxx_cross
18326 cat > conftest.$ac_ext <<EOF
18327 #line 18328 "configure"
18328 #include "confdefs.h"
18330 #ifdef HAVE_IEEEFP_H
18331 #include <ieeefp.h>
18338 if { (eval echo configure:18339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18340 glibcpp_cv_func_expl_use=yes
18342 echo "configure: failed program was:" >&5
18343 cat conftest.$ac_ext >&5
18345 glibcpp_cv_func_expl_use=no
18349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18350 ac_cpp='$CPP $CPPFLAGS'
18351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18353 cross_compiling=$ac_cv_prog_cc_cross
18359 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18361 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18362 for ac_func in expl
18364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18365 echo "configure:18366: checking for $ac_func" >&5
18366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18367 echo $ac_n "(cached) $ac_c" 1>&6
18369 cat > conftest.$ac_ext <<EOF
18370 #line 18371 "configure"
18371 #include "confdefs.h"
18372 /* System header to define __stub macros and hopefully few prototypes,
18373 which can conflict with char $ac_func(); below. */
18374 #include <assert.h>
18375 /* Override any gcc2 internal prototype to avoid an error. */
18376 /* We use char because int might match the return type of a gcc2
18377 builtin and then its argument prototype would still apply. */
18382 /* The GNU C library defines this for functions which it implements
18383 to always fail with ENOSYS. Some functions are actually named
18384 something starting with __ and the normal name is an alias. */
18385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18393 if { (eval echo configure:18394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18395 eval "ac_cv_func_$ac_func=yes"
18397 echo "configure: failed program was:" >&5
18398 cat conftest.$ac_ext >&5
18400 eval "ac_cv_func_$ac_func=no"
18405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18406 echo "$ac_t""yes" 1>&6
18407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18408 cat >> confdefs.h <<EOF
18409 #define $ac_tr_func 1
18413 echo "$ac_t""no" 1>&6
18419 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18420 echo "configure:18421: checking for _expl declaration" >&5
18421 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18422 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18423 echo $ac_n "(cached) $ac_c" 1>&6
18428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18429 ac_cpp='$CXXCPP $CPPFLAGS'
18430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18432 cross_compiling=$ac_cv_prog_cxx_cross
18434 cat > conftest.$ac_ext <<EOF
18435 #line 18436 "configure"
18436 #include "confdefs.h"
18438 #ifdef HAVE_IEEEFP_H
18439 #include <ieeefp.h>
18446 if { (eval echo configure:18447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18448 glibcpp_cv_func__expl_use=yes
18450 echo "configure: failed program was:" >&5
18451 cat conftest.$ac_ext >&5
18453 glibcpp_cv_func__expl_use=no
18457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18458 ac_cpp='$CPP $CPPFLAGS'
18459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18461 cross_compiling=$ac_cv_prog_cc_cross
18467 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18469 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18470 for ac_func in _expl
18472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18473 echo "configure:18474: checking for $ac_func" >&5
18474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18475 echo $ac_n "(cached) $ac_c" 1>&6
18477 cat > conftest.$ac_ext <<EOF
18478 #line 18479 "configure"
18479 #include "confdefs.h"
18480 /* System header to define __stub macros and hopefully few prototypes,
18481 which can conflict with char $ac_func(); below. */
18482 #include <assert.h>
18483 /* Override any gcc2 internal prototype to avoid an error. */
18484 /* We use char because int might match the return type of a gcc2
18485 builtin and then its argument prototype would still apply. */
18490 /* The GNU C library defines this for functions which it implements
18491 to always fail with ENOSYS. Some functions are actually named
18492 something starting with __ and the normal name is an alias. */
18493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18501 if { (eval echo configure:18502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18503 eval "ac_cv_func_$ac_func=yes"
18505 echo "configure: failed program was:" >&5
18506 cat conftest.$ac_ext >&5
18508 eval "ac_cv_func_$ac_func=no"
18513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18514 echo "$ac_t""yes" 1>&6
18515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18516 cat >> confdefs.h <<EOF
18517 #define $ac_tr_func 1
18521 echo "$ac_t""no" 1>&6
18530 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18531 echo "configure:18532: checking for fabsl declaration" >&5
18532 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18533 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18534 echo $ac_n "(cached) $ac_c" 1>&6
18539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18540 ac_cpp='$CXXCPP $CPPFLAGS'
18541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18543 cross_compiling=$ac_cv_prog_cxx_cross
18545 cat > conftest.$ac_ext <<EOF
18546 #line 18547 "configure"
18547 #include "confdefs.h"
18549 #ifdef HAVE_IEEEFP_H
18550 #include <ieeefp.h>
18557 if { (eval echo configure:18558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18559 glibcpp_cv_func_fabsl_use=yes
18561 echo "configure: failed program was:" >&5
18562 cat conftest.$ac_ext >&5
18564 glibcpp_cv_func_fabsl_use=no
18568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18569 ac_cpp='$CPP $CPPFLAGS'
18570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18572 cross_compiling=$ac_cv_prog_cc_cross
18578 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18580 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18581 for ac_func in fabsl
18583 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18584 echo "configure:18585: checking for $ac_func" >&5
18585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18586 echo $ac_n "(cached) $ac_c" 1>&6
18588 cat > conftest.$ac_ext <<EOF
18589 #line 18590 "configure"
18590 #include "confdefs.h"
18591 /* System header to define __stub macros and hopefully few prototypes,
18592 which can conflict with char $ac_func(); below. */
18593 #include <assert.h>
18594 /* Override any gcc2 internal prototype to avoid an error. */
18595 /* We use char because int might match the return type of a gcc2
18596 builtin and then its argument prototype would still apply. */
18601 /* The GNU C library defines this for functions which it implements
18602 to always fail with ENOSYS. Some functions are actually named
18603 something starting with __ and the normal name is an alias. */
18604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18612 if { (eval echo configure:18613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18614 eval "ac_cv_func_$ac_func=yes"
18616 echo "configure: failed program was:" >&5
18617 cat conftest.$ac_ext >&5
18619 eval "ac_cv_func_$ac_func=no"
18624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18625 echo "$ac_t""yes" 1>&6
18626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18627 cat >> confdefs.h <<EOF
18628 #define $ac_tr_func 1
18632 echo "$ac_t""no" 1>&6
18638 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18639 echo "configure:18640: checking for _fabsl declaration" >&5
18640 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18641 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18642 echo $ac_n "(cached) $ac_c" 1>&6
18647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18648 ac_cpp='$CXXCPP $CPPFLAGS'
18649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18651 cross_compiling=$ac_cv_prog_cxx_cross
18653 cat > conftest.$ac_ext <<EOF
18654 #line 18655 "configure"
18655 #include "confdefs.h"
18657 #ifdef HAVE_IEEEFP_H
18658 #include <ieeefp.h>
18665 if { (eval echo configure:18666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18667 glibcpp_cv_func__fabsl_use=yes
18669 echo "configure: failed program was:" >&5
18670 cat conftest.$ac_ext >&5
18672 glibcpp_cv_func__fabsl_use=no
18676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18680 cross_compiling=$ac_cv_prog_cc_cross
18686 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18688 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18689 for ac_func in _fabsl
18691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18692 echo "configure:18693: checking for $ac_func" >&5
18693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18694 echo $ac_n "(cached) $ac_c" 1>&6
18696 cat > conftest.$ac_ext <<EOF
18697 #line 18698 "configure"
18698 #include "confdefs.h"
18699 /* System header to define __stub macros and hopefully few prototypes,
18700 which can conflict with char $ac_func(); below. */
18701 #include <assert.h>
18702 /* Override any gcc2 internal prototype to avoid an error. */
18703 /* We use char because int might match the return type of a gcc2
18704 builtin and then its argument prototype would still apply. */
18709 /* The GNU C library defines this for functions which it implements
18710 to always fail with ENOSYS. Some functions are actually named
18711 something starting with __ and the normal name is an alias. */
18712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18720 if { (eval echo configure:18721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18722 eval "ac_cv_func_$ac_func=yes"
18724 echo "configure: failed program was:" >&5
18725 cat conftest.$ac_ext >&5
18727 eval "ac_cv_func_$ac_func=no"
18732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18733 echo "$ac_t""yes" 1>&6
18734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18735 cat >> confdefs.h <<EOF
18736 #define $ac_tr_func 1
18740 echo "$ac_t""no" 1>&6
18749 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18750 echo "configure:18751: checking for fmodl declaration" >&5
18751 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18752 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18753 echo $ac_n "(cached) $ac_c" 1>&6
18758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18759 ac_cpp='$CXXCPP $CPPFLAGS'
18760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18762 cross_compiling=$ac_cv_prog_cxx_cross
18764 cat > conftest.$ac_ext <<EOF
18765 #line 18766 "configure"
18766 #include "confdefs.h"
18772 if { (eval echo configure:18773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18774 glibcpp_cv_func_fmodl_use=yes
18776 echo "configure: failed program was:" >&5
18777 cat conftest.$ac_ext >&5
18779 glibcpp_cv_func_fmodl_use=no
18783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18784 ac_cpp='$CPP $CPPFLAGS'
18785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18787 cross_compiling=$ac_cv_prog_cc_cross
18793 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18795 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18796 for ac_func in fmodl
18798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18799 echo "configure:18800: checking for $ac_func" >&5
18800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18801 echo $ac_n "(cached) $ac_c" 1>&6
18803 cat > conftest.$ac_ext <<EOF
18804 #line 18805 "configure"
18805 #include "confdefs.h"
18806 /* System header to define __stub macros and hopefully few prototypes,
18807 which can conflict with char $ac_func(); below. */
18808 #include <assert.h>
18809 /* Override any gcc2 internal prototype to avoid an error. */
18810 /* We use char because int might match the return type of a gcc2
18811 builtin and then its argument prototype would still apply. */
18816 /* The GNU C library defines this for functions which it implements
18817 to always fail with ENOSYS. Some functions are actually named
18818 something starting with __ and the normal name is an alias. */
18819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18827 if { (eval echo configure:18828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18829 eval "ac_cv_func_$ac_func=yes"
18831 echo "configure: failed program was:" >&5
18832 cat conftest.$ac_ext >&5
18834 eval "ac_cv_func_$ac_func=no"
18839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18840 echo "$ac_t""yes" 1>&6
18841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18842 cat >> confdefs.h <<EOF
18843 #define $ac_tr_func 1
18847 echo "$ac_t""no" 1>&6
18853 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
18854 echo "configure:18855: checking for _fmodl declaration" >&5
18855 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18856 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18857 echo $ac_n "(cached) $ac_c" 1>&6
18862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18863 ac_cpp='$CXXCPP $CPPFLAGS'
18864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18866 cross_compiling=$ac_cv_prog_cxx_cross
18868 cat > conftest.$ac_ext <<EOF
18869 #line 18870 "configure"
18870 #include "confdefs.h"
18876 if { (eval echo configure:18877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18878 glibcpp_cv_func__fmodl_use=yes
18880 echo "configure: failed program was:" >&5
18881 cat conftest.$ac_ext >&5
18883 glibcpp_cv_func__fmodl_use=no
18887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18888 ac_cpp='$CPP $CPPFLAGS'
18889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18891 cross_compiling=$ac_cv_prog_cc_cross
18897 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
18899 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
18900 for ac_func in _fmodl
18902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18903 echo "configure:18904: checking for $ac_func" >&5
18904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18905 echo $ac_n "(cached) $ac_c" 1>&6
18907 cat > conftest.$ac_ext <<EOF
18908 #line 18909 "configure"
18909 #include "confdefs.h"
18910 /* System header to define __stub macros and hopefully few prototypes,
18911 which can conflict with char $ac_func(); below. */
18912 #include <assert.h>
18913 /* Override any gcc2 internal prototype to avoid an error. */
18914 /* We use char because int might match the return type of a gcc2
18915 builtin and then its argument prototype would still apply. */
18920 /* The GNU C library defines this for functions which it implements
18921 to always fail with ENOSYS. Some functions are actually named
18922 something starting with __ and the normal name is an alias. */
18923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18931 if { (eval echo configure:18932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18933 eval "ac_cv_func_$ac_func=yes"
18935 echo "configure: failed program was:" >&5
18936 cat conftest.$ac_ext >&5
18938 eval "ac_cv_func_$ac_func=no"
18943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18944 echo "$ac_t""yes" 1>&6
18945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18946 cat >> confdefs.h <<EOF
18947 #define $ac_tr_func 1
18951 echo "$ac_t""no" 1>&6
18960 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
18961 echo "configure:18962: checking for frexpl declaration" >&5
18962 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18963 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18964 echo $ac_n "(cached) $ac_c" 1>&6
18969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18973 cross_compiling=$ac_cv_prog_cxx_cross
18975 cat > conftest.$ac_ext <<EOF
18976 #line 18977 "configure"
18977 #include "confdefs.h"
18983 if { (eval echo configure:18984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18985 glibcpp_cv_func_frexpl_use=yes
18987 echo "configure: failed program was:" >&5
18988 cat conftest.$ac_ext >&5
18990 glibcpp_cv_func_frexpl_use=no
18994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18998 cross_compiling=$ac_cv_prog_cc_cross
19004 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
19006 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
19007 for ac_func in frexpl
19009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19010 echo "configure:19011: checking for $ac_func" >&5
19011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19012 echo $ac_n "(cached) $ac_c" 1>&6
19014 cat > conftest.$ac_ext <<EOF
19015 #line 19016 "configure"
19016 #include "confdefs.h"
19017 /* System header to define __stub macros and hopefully few prototypes,
19018 which can conflict with char $ac_func(); below. */
19019 #include <assert.h>
19020 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19027 /* The GNU C library defines this for functions which it implements
19028 to always fail with ENOSYS. Some functions are actually named
19029 something starting with __ and the normal name is an alias. */
19030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 if { (eval echo configure:19039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19040 eval "ac_cv_func_$ac_func=yes"
19042 echo "configure: failed program was:" >&5
19043 cat conftest.$ac_ext >&5
19045 eval "ac_cv_func_$ac_func=no"
19050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19051 echo "$ac_t""yes" 1>&6
19052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19053 cat >> confdefs.h <<EOF
19054 #define $ac_tr_func 1
19058 echo "$ac_t""no" 1>&6
19064 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19065 echo "configure:19066: checking for _frexpl declaration" >&5
19066 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19067 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19068 echo $ac_n "(cached) $ac_c" 1>&6
19073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19074 ac_cpp='$CXXCPP $CPPFLAGS'
19075 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19076 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19077 cross_compiling=$ac_cv_prog_cxx_cross
19079 cat > conftest.$ac_ext <<EOF
19080 #line 19081 "configure"
19081 #include "confdefs.h"
19087 if { (eval echo configure:19088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19089 glibcpp_cv_func__frexpl_use=yes
19091 echo "configure: failed program was:" >&5
19092 cat conftest.$ac_ext >&5
19094 glibcpp_cv_func__frexpl_use=no
19098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19099 ac_cpp='$CPP $CPPFLAGS'
19100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19102 cross_compiling=$ac_cv_prog_cc_cross
19108 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19110 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19111 for ac_func in _frexpl
19113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19114 echo "configure:19115: checking for $ac_func" >&5
19115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19116 echo $ac_n "(cached) $ac_c" 1>&6
19118 cat > conftest.$ac_ext <<EOF
19119 #line 19120 "configure"
19120 #include "confdefs.h"
19121 /* System header to define __stub macros and hopefully few prototypes,
19122 which can conflict with char $ac_func(); below. */
19123 #include <assert.h>
19124 /* Override any gcc2 internal prototype to avoid an error. */
19125 /* We use char because int might match the return type of a gcc2
19126 builtin and then its argument prototype would still apply. */
19131 /* The GNU C library defines this for functions which it implements
19132 to always fail with ENOSYS. Some functions are actually named
19133 something starting with __ and the normal name is an alias. */
19134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19142 if { (eval echo configure:19143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19144 eval "ac_cv_func_$ac_func=yes"
19146 echo "configure: failed program was:" >&5
19147 cat conftest.$ac_ext >&5
19149 eval "ac_cv_func_$ac_func=no"
19154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19155 echo "$ac_t""yes" 1>&6
19156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19157 cat >> confdefs.h <<EOF
19158 #define $ac_tr_func 1
19162 echo "$ac_t""no" 1>&6
19171 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19172 echo "configure:19173: checking for hypotl declaration" >&5
19173 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19174 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19175 echo $ac_n "(cached) $ac_c" 1>&6
19180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19181 ac_cpp='$CXXCPP $CPPFLAGS'
19182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19184 cross_compiling=$ac_cv_prog_cxx_cross
19186 cat > conftest.$ac_ext <<EOF
19187 #line 19188 "configure"
19188 #include "confdefs.h"
19194 if { (eval echo configure:19195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19196 glibcpp_cv_func_hypotl_use=yes
19198 echo "configure: failed program was:" >&5
19199 cat conftest.$ac_ext >&5
19201 glibcpp_cv_func_hypotl_use=no
19205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19206 ac_cpp='$CPP $CPPFLAGS'
19207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19209 cross_compiling=$ac_cv_prog_cc_cross
19215 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19217 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19218 for ac_func in hypotl
19220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19221 echo "configure:19222: checking for $ac_func" >&5
19222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19223 echo $ac_n "(cached) $ac_c" 1>&6
19225 cat > conftest.$ac_ext <<EOF
19226 #line 19227 "configure"
19227 #include "confdefs.h"
19228 /* System header to define __stub macros and hopefully few prototypes,
19229 which can conflict with char $ac_func(); below. */
19230 #include <assert.h>
19231 /* Override any gcc2 internal prototype to avoid an error. */
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19238 /* The GNU C library defines this for functions which it implements
19239 to always fail with ENOSYS. Some functions are actually named
19240 something starting with __ and the normal name is an alias. */
19241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19249 if { (eval echo configure:19250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19251 eval "ac_cv_func_$ac_func=yes"
19253 echo "configure: failed program was:" >&5
19254 cat conftest.$ac_ext >&5
19256 eval "ac_cv_func_$ac_func=no"
19261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19262 echo "$ac_t""yes" 1>&6
19263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19264 cat >> confdefs.h <<EOF
19265 #define $ac_tr_func 1
19269 echo "$ac_t""no" 1>&6
19275 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19276 echo "configure:19277: checking for _hypotl declaration" >&5
19277 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19278 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19279 echo $ac_n "(cached) $ac_c" 1>&6
19284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19288 cross_compiling=$ac_cv_prog_cxx_cross
19290 cat > conftest.$ac_ext <<EOF
19291 #line 19292 "configure"
19292 #include "confdefs.h"
19298 if { (eval echo configure:19299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19300 glibcpp_cv_func__hypotl_use=yes
19302 echo "configure: failed program was:" >&5
19303 cat conftest.$ac_ext >&5
19305 glibcpp_cv_func__hypotl_use=no
19309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19310 ac_cpp='$CPP $CPPFLAGS'
19311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19313 cross_compiling=$ac_cv_prog_cc_cross
19319 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19321 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19322 for ac_func in _hypotl
19324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19325 echo "configure:19326: checking for $ac_func" >&5
19326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19327 echo $ac_n "(cached) $ac_c" 1>&6
19329 cat > conftest.$ac_ext <<EOF
19330 #line 19331 "configure"
19331 #include "confdefs.h"
19332 /* System header to define __stub macros and hopefully few prototypes,
19333 which can conflict with char $ac_func(); below. */
19334 #include <assert.h>
19335 /* Override any gcc2 internal prototype to avoid an error. */
19336 /* We use char because int might match the return type of a gcc2
19337 builtin and then its argument prototype would still apply. */
19342 /* The GNU C library defines this for functions which it implements
19343 to always fail with ENOSYS. Some functions are actually named
19344 something starting with __ and the normal name is an alias. */
19345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19353 if { (eval echo configure:19354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19355 eval "ac_cv_func_$ac_func=yes"
19357 echo "configure: failed program was:" >&5
19358 cat conftest.$ac_ext >&5
19360 eval "ac_cv_func_$ac_func=no"
19365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19366 echo "$ac_t""yes" 1>&6
19367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19368 cat >> confdefs.h <<EOF
19369 #define $ac_tr_func 1
19373 echo "$ac_t""no" 1>&6
19382 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19383 echo "configure:19384: checking for ldexpl declaration" >&5
19384 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19385 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19386 echo $ac_n "(cached) $ac_c" 1>&6
19391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19392 ac_cpp='$CXXCPP $CPPFLAGS'
19393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19395 cross_compiling=$ac_cv_prog_cxx_cross
19397 cat > conftest.$ac_ext <<EOF
19398 #line 19399 "configure"
19399 #include "confdefs.h"
19405 if { (eval echo configure:19406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19407 glibcpp_cv_func_ldexpl_use=yes
19409 echo "configure: failed program was:" >&5
19410 cat conftest.$ac_ext >&5
19412 glibcpp_cv_func_ldexpl_use=no
19416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19417 ac_cpp='$CPP $CPPFLAGS'
19418 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19419 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19420 cross_compiling=$ac_cv_prog_cc_cross
19426 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19428 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19429 for ac_func in ldexpl
19431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19432 echo "configure:19433: checking for $ac_func" >&5
19433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19434 echo $ac_n "(cached) $ac_c" 1>&6
19436 cat > conftest.$ac_ext <<EOF
19437 #line 19438 "configure"
19438 #include "confdefs.h"
19439 /* System header to define __stub macros and hopefully few prototypes,
19440 which can conflict with char $ac_func(); below. */
19441 #include <assert.h>
19442 /* Override any gcc2 internal prototype to avoid an error. */
19443 /* We use char because int might match the return type of a gcc2
19444 builtin and then its argument prototype would still apply. */
19449 /* The GNU C library defines this for functions which it implements
19450 to always fail with ENOSYS. Some functions are actually named
19451 something starting with __ and the normal name is an alias. */
19452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19460 if { (eval echo configure:19461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19462 eval "ac_cv_func_$ac_func=yes"
19464 echo "configure: failed program was:" >&5
19465 cat conftest.$ac_ext >&5
19467 eval "ac_cv_func_$ac_func=no"
19472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19473 echo "$ac_t""yes" 1>&6
19474 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19475 cat >> confdefs.h <<EOF
19476 #define $ac_tr_func 1
19480 echo "$ac_t""no" 1>&6
19486 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19487 echo "configure:19488: checking for _ldexpl declaration" >&5
19488 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19489 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19490 echo $ac_n "(cached) $ac_c" 1>&6
19495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19496 ac_cpp='$CXXCPP $CPPFLAGS'
19497 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19498 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19499 cross_compiling=$ac_cv_prog_cxx_cross
19501 cat > conftest.$ac_ext <<EOF
19502 #line 19503 "configure"
19503 #include "confdefs.h"
19509 if { (eval echo configure:19510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19511 glibcpp_cv_func__ldexpl_use=yes
19513 echo "configure: failed program was:" >&5
19514 cat conftest.$ac_ext >&5
19516 glibcpp_cv_func__ldexpl_use=no
19520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19521 ac_cpp='$CPP $CPPFLAGS'
19522 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19523 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19524 cross_compiling=$ac_cv_prog_cc_cross
19530 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19532 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19533 for ac_func in _ldexpl
19535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19536 echo "configure:19537: checking for $ac_func" >&5
19537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19538 echo $ac_n "(cached) $ac_c" 1>&6
19540 cat > conftest.$ac_ext <<EOF
19541 #line 19542 "configure"
19542 #include "confdefs.h"
19543 /* System header to define __stub macros and hopefully few prototypes,
19544 which can conflict with char $ac_func(); below. */
19545 #include <assert.h>
19546 /* Override any gcc2 internal prototype to avoid an error. */
19547 /* We use char because int might match the return type of a gcc2
19548 builtin and then its argument prototype would still apply. */
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19564 if { (eval echo configure:19565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19566 eval "ac_cv_func_$ac_func=yes"
19568 echo "configure: failed program was:" >&5
19569 cat conftest.$ac_ext >&5
19571 eval "ac_cv_func_$ac_func=no"
19576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19577 echo "$ac_t""yes" 1>&6
19578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19579 cat >> confdefs.h <<EOF
19580 #define $ac_tr_func 1
19584 echo "$ac_t""no" 1>&6
19593 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19594 echo "configure:19595: checking for logl declaration" >&5
19595 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19596 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19597 echo $ac_n "(cached) $ac_c" 1>&6
19602 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19603 ac_cpp='$CXXCPP $CPPFLAGS'
19604 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19605 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19606 cross_compiling=$ac_cv_prog_cxx_cross
19608 cat > conftest.$ac_ext <<EOF
19609 #line 19610 "configure"
19610 #include "confdefs.h"
19612 #ifdef HAVE_IEEEFP_H
19613 #include <ieeefp.h>
19620 if { (eval echo configure:19621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19622 glibcpp_cv_func_logl_use=yes
19624 echo "configure: failed program was:" >&5
19625 cat conftest.$ac_ext >&5
19627 glibcpp_cv_func_logl_use=no
19631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19632 ac_cpp='$CPP $CPPFLAGS'
19633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19635 cross_compiling=$ac_cv_prog_cc_cross
19641 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19643 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19644 for ac_func in logl
19646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19647 echo "configure:19648: checking for $ac_func" >&5
19648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19649 echo $ac_n "(cached) $ac_c" 1>&6
19651 cat > conftest.$ac_ext <<EOF
19652 #line 19653 "configure"
19653 #include "confdefs.h"
19654 /* System header to define __stub macros and hopefully few prototypes,
19655 which can conflict with char $ac_func(); below. */
19656 #include <assert.h>
19657 /* Override any gcc2 internal prototype to avoid an error. */
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19664 /* The GNU C library defines this for functions which it implements
19665 to always fail with ENOSYS. Some functions are actually named
19666 something starting with __ and the normal name is an alias. */
19667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19675 if { (eval echo configure:19676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19677 eval "ac_cv_func_$ac_func=yes"
19679 echo "configure: failed program was:" >&5
19680 cat conftest.$ac_ext >&5
19682 eval "ac_cv_func_$ac_func=no"
19687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19688 echo "$ac_t""yes" 1>&6
19689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19690 cat >> confdefs.h <<EOF
19691 #define $ac_tr_func 1
19695 echo "$ac_t""no" 1>&6
19701 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19702 echo "configure:19703: checking for _logl declaration" >&5
19703 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19704 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19705 echo $ac_n "(cached) $ac_c" 1>&6
19710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19713 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19714 cross_compiling=$ac_cv_prog_cxx_cross
19716 cat > conftest.$ac_ext <<EOF
19717 #line 19718 "configure"
19718 #include "confdefs.h"
19720 #ifdef HAVE_IEEEFP_H
19721 #include <ieeefp.h>
19728 if { (eval echo configure:19729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19730 glibcpp_cv_func__logl_use=yes
19732 echo "configure: failed program was:" >&5
19733 cat conftest.$ac_ext >&5
19735 glibcpp_cv_func__logl_use=no
19739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19740 ac_cpp='$CPP $CPPFLAGS'
19741 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19742 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19743 cross_compiling=$ac_cv_prog_cc_cross
19749 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19751 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19752 for ac_func in _logl
19754 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19755 echo "configure:19756: checking for $ac_func" >&5
19756 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19757 echo $ac_n "(cached) $ac_c" 1>&6
19759 cat > conftest.$ac_ext <<EOF
19760 #line 19761 "configure"
19761 #include "confdefs.h"
19762 /* System header to define __stub macros and hopefully few prototypes,
19763 which can conflict with char $ac_func(); below. */
19764 #include <assert.h>
19765 /* Override any gcc2 internal prototype to avoid an error. */
19766 /* We use char because int might match the return type of a gcc2
19767 builtin and then its argument prototype would still apply. */
19772 /* The GNU C library defines this for functions which it implements
19773 to always fail with ENOSYS. Some functions are actually named
19774 something starting with __ and the normal name is an alias. */
19775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19783 if { (eval echo configure:19784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19785 eval "ac_cv_func_$ac_func=yes"
19787 echo "configure: failed program was:" >&5
19788 cat conftest.$ac_ext >&5
19790 eval "ac_cv_func_$ac_func=no"
19795 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19796 echo "$ac_t""yes" 1>&6
19797 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19798 cat >> confdefs.h <<EOF
19799 #define $ac_tr_func 1
19803 echo "$ac_t""no" 1>&6
19812 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19813 echo "configure:19814: checking for log10l declaration" >&5
19814 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19815 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19816 echo $ac_n "(cached) $ac_c" 1>&6
19821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19822 ac_cpp='$CXXCPP $CPPFLAGS'
19823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19825 cross_compiling=$ac_cv_prog_cxx_cross
19827 cat > conftest.$ac_ext <<EOF
19828 #line 19829 "configure"
19829 #include "confdefs.h"
19831 #ifdef HAVE_IEEEFP_H
19832 #include <ieeefp.h>
19839 if { (eval echo configure:19840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19841 glibcpp_cv_func_log10l_use=yes
19843 echo "configure: failed program was:" >&5
19844 cat conftest.$ac_ext >&5
19846 glibcpp_cv_func_log10l_use=no
19850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19851 ac_cpp='$CPP $CPPFLAGS'
19852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19854 cross_compiling=$ac_cv_prog_cc_cross
19860 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19862 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19863 for ac_func in log10l
19865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19866 echo "configure:19867: checking for $ac_func" >&5
19867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19868 echo $ac_n "(cached) $ac_c" 1>&6
19870 cat > conftest.$ac_ext <<EOF
19871 #line 19872 "configure"
19872 #include "confdefs.h"
19873 /* System header to define __stub macros and hopefully few prototypes,
19874 which can conflict with char $ac_func(); below. */
19875 #include <assert.h>
19876 /* Override any gcc2 internal prototype to avoid an error. */
19877 /* We use char because int might match the return type of a gcc2
19878 builtin and then its argument prototype would still apply. */
19883 /* The GNU C library defines this for functions which it implements
19884 to always fail with ENOSYS. Some functions are actually named
19885 something starting with __ and the normal name is an alias. */
19886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19894 if { (eval echo configure:19895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19896 eval "ac_cv_func_$ac_func=yes"
19898 echo "configure: failed program was:" >&5
19899 cat conftest.$ac_ext >&5
19901 eval "ac_cv_func_$ac_func=no"
19906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19907 echo "$ac_t""yes" 1>&6
19908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19909 cat >> confdefs.h <<EOF
19910 #define $ac_tr_func 1
19914 echo "$ac_t""no" 1>&6
19920 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
19921 echo "configure:19922: checking for _log10l declaration" >&5
19922 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
19923 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
19924 echo $ac_n "(cached) $ac_c" 1>&6
19929 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19930 ac_cpp='$CXXCPP $CPPFLAGS'
19931 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19932 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19933 cross_compiling=$ac_cv_prog_cxx_cross
19935 cat > conftest.$ac_ext <<EOF
19936 #line 19937 "configure"
19937 #include "confdefs.h"
19939 #ifdef HAVE_IEEEFP_H
19940 #include <ieeefp.h>
19947 if { (eval echo configure:19948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19949 glibcpp_cv_func__log10l_use=yes
19951 echo "configure: failed program was:" >&5
19952 cat conftest.$ac_ext >&5
19954 glibcpp_cv_func__log10l_use=no
19958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19959 ac_cpp='$CPP $CPPFLAGS'
19960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19962 cross_compiling=$ac_cv_prog_cc_cross
19968 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19970 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19971 for ac_func in _log10l
19973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19974 echo "configure:19975: checking for $ac_func" >&5
19975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19976 echo $ac_n "(cached) $ac_c" 1>&6
19978 cat > conftest.$ac_ext <<EOF
19979 #line 19980 "configure"
19980 #include "confdefs.h"
19981 /* System header to define __stub macros and hopefully few prototypes,
19982 which can conflict with char $ac_func(); below. */
19983 #include <assert.h>
19984 /* Override any gcc2 internal prototype to avoid an error. */
19985 /* We use char because int might match the return type of a gcc2
19986 builtin and then its argument prototype would still apply. */
19991 /* The GNU C library defines this for functions which it implements
19992 to always fail with ENOSYS. Some functions are actually named
19993 something starting with __ and the normal name is an alias. */
19994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20002 if { (eval echo configure:20003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20004 eval "ac_cv_func_$ac_func=yes"
20006 echo "configure: failed program was:" >&5
20007 cat conftest.$ac_ext >&5
20009 eval "ac_cv_func_$ac_func=no"
20014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20015 echo "$ac_t""yes" 1>&6
20016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20017 cat >> confdefs.h <<EOF
20018 #define $ac_tr_func 1
20022 echo "$ac_t""no" 1>&6
20031 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
20032 echo "configure:20033: checking for modfl declaration" >&5
20033 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
20034 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
20035 echo $ac_n "(cached) $ac_c" 1>&6
20040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20041 ac_cpp='$CXXCPP $CPPFLAGS'
20042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20044 cross_compiling=$ac_cv_prog_cxx_cross
20046 cat > conftest.$ac_ext <<EOF
20047 #line 20048 "configure"
20048 #include "confdefs.h"
20054 if { (eval echo configure:20055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20056 glibcpp_cv_func_modfl_use=yes
20058 echo "configure: failed program was:" >&5
20059 cat conftest.$ac_ext >&5
20061 glibcpp_cv_func_modfl_use=no
20065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20066 ac_cpp='$CPP $CPPFLAGS'
20067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20069 cross_compiling=$ac_cv_prog_cc_cross
20075 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20077 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20078 for ac_func in modfl
20080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20081 echo "configure:20082: checking for $ac_func" >&5
20082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20083 echo $ac_n "(cached) $ac_c" 1>&6
20085 cat > conftest.$ac_ext <<EOF
20086 #line 20087 "configure"
20087 #include "confdefs.h"
20088 /* System header to define __stub macros and hopefully few prototypes,
20089 which can conflict with char $ac_func(); below. */
20090 #include <assert.h>
20091 /* Override any gcc2 internal prototype to avoid an error. */
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20098 /* The GNU C library defines this for functions which it implements
20099 to always fail with ENOSYS. Some functions are actually named
20100 something starting with __ and the normal name is an alias. */
20101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20109 if { (eval echo configure:20110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20111 eval "ac_cv_func_$ac_func=yes"
20113 echo "configure: failed program was:" >&5
20114 cat conftest.$ac_ext >&5
20116 eval "ac_cv_func_$ac_func=no"
20121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20122 echo "$ac_t""yes" 1>&6
20123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20124 cat >> confdefs.h <<EOF
20125 #define $ac_tr_func 1
20129 echo "$ac_t""no" 1>&6
20135 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20136 echo "configure:20137: checking for _modfl declaration" >&5
20137 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20138 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20139 echo $ac_n "(cached) $ac_c" 1>&6
20144 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20145 ac_cpp='$CXXCPP $CPPFLAGS'
20146 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20147 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20148 cross_compiling=$ac_cv_prog_cxx_cross
20150 cat > conftest.$ac_ext <<EOF
20151 #line 20152 "configure"
20152 #include "confdefs.h"
20158 if { (eval echo configure:20159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20160 glibcpp_cv_func__modfl_use=yes
20162 echo "configure: failed program was:" >&5
20163 cat conftest.$ac_ext >&5
20165 glibcpp_cv_func__modfl_use=no
20169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20170 ac_cpp='$CPP $CPPFLAGS'
20171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20173 cross_compiling=$ac_cv_prog_cc_cross
20179 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20181 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20182 for ac_func in _modfl
20184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20185 echo "configure:20186: checking for $ac_func" >&5
20186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20187 echo $ac_n "(cached) $ac_c" 1>&6
20189 cat > conftest.$ac_ext <<EOF
20190 #line 20191 "configure"
20191 #include "confdefs.h"
20192 /* System header to define __stub macros and hopefully few prototypes,
20193 which can conflict with char $ac_func(); below. */
20194 #include <assert.h>
20195 /* Override any gcc2 internal prototype to avoid an error. */
20196 /* We use char because int might match the return type of a gcc2
20197 builtin and then its argument prototype would still apply. */
20202 /* The GNU C library defines this for functions which it implements
20203 to always fail with ENOSYS. Some functions are actually named
20204 something starting with __ and the normal name is an alias. */
20205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20213 if { (eval echo configure:20214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20215 eval "ac_cv_func_$ac_func=yes"
20217 echo "configure: failed program was:" >&5
20218 cat conftest.$ac_ext >&5
20220 eval "ac_cv_func_$ac_func=no"
20225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20226 echo "$ac_t""yes" 1>&6
20227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20228 cat >> confdefs.h <<EOF
20229 #define $ac_tr_func 1
20233 echo "$ac_t""no" 1>&6
20242 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20243 echo "configure:20244: checking for powl declaration" >&5
20244 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20245 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20246 echo $ac_n "(cached) $ac_c" 1>&6
20251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20252 ac_cpp='$CXXCPP $CPPFLAGS'
20253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20255 cross_compiling=$ac_cv_prog_cxx_cross
20257 cat > conftest.$ac_ext <<EOF
20258 #line 20259 "configure"
20259 #include "confdefs.h"
20265 if { (eval echo configure:20266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20267 glibcpp_cv_func_powl_use=yes
20269 echo "configure: failed program was:" >&5
20270 cat conftest.$ac_ext >&5
20272 glibcpp_cv_func_powl_use=no
20276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20277 ac_cpp='$CPP $CPPFLAGS'
20278 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20279 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20280 cross_compiling=$ac_cv_prog_cc_cross
20286 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20288 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20289 for ac_func in powl
20291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20292 echo "configure:20293: checking for $ac_func" >&5
20293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20294 echo $ac_n "(cached) $ac_c" 1>&6
20296 cat > conftest.$ac_ext <<EOF
20297 #line 20298 "configure"
20298 #include "confdefs.h"
20299 /* System header to define __stub macros and hopefully few prototypes,
20300 which can conflict with char $ac_func(); below. */
20301 #include <assert.h>
20302 /* Override any gcc2 internal prototype to avoid an error. */
20303 /* We use char because int might match the return type of a gcc2
20304 builtin and then its argument prototype would still apply. */
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20320 if { (eval echo configure:20321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20322 eval "ac_cv_func_$ac_func=yes"
20324 echo "configure: failed program was:" >&5
20325 cat conftest.$ac_ext >&5
20327 eval "ac_cv_func_$ac_func=no"
20332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20333 echo "$ac_t""yes" 1>&6
20334 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20335 cat >> confdefs.h <<EOF
20336 #define $ac_tr_func 1
20340 echo "$ac_t""no" 1>&6
20346 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20347 echo "configure:20348: checking for _powl declaration" >&5
20348 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20349 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20350 echo $ac_n "(cached) $ac_c" 1>&6
20355 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20356 ac_cpp='$CXXCPP $CPPFLAGS'
20357 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20358 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20359 cross_compiling=$ac_cv_prog_cxx_cross
20361 cat > conftest.$ac_ext <<EOF
20362 #line 20363 "configure"
20363 #include "confdefs.h"
20369 if { (eval echo configure:20370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20371 glibcpp_cv_func__powl_use=yes
20373 echo "configure: failed program was:" >&5
20374 cat conftest.$ac_ext >&5
20376 glibcpp_cv_func__powl_use=no
20380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20381 ac_cpp='$CPP $CPPFLAGS'
20382 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20383 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20384 cross_compiling=$ac_cv_prog_cc_cross
20390 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20392 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20393 for ac_func in _powl
20395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20396 echo "configure:20397: checking for $ac_func" >&5
20397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20398 echo $ac_n "(cached) $ac_c" 1>&6
20400 cat > conftest.$ac_ext <<EOF
20401 #line 20402 "configure"
20402 #include "confdefs.h"
20403 /* System header to define __stub macros and hopefully few prototypes,
20404 which can conflict with char $ac_func(); below. */
20405 #include <assert.h>
20406 /* Override any gcc2 internal prototype to avoid an error. */
20407 /* We use char because int might match the return type of a gcc2
20408 builtin and then its argument prototype would still apply. */
20413 /* The GNU C library defines this for functions which it implements
20414 to always fail with ENOSYS. Some functions are actually named
20415 something starting with __ and the normal name is an alias. */
20416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20424 if { (eval echo configure:20425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20426 eval "ac_cv_func_$ac_func=yes"
20428 echo "configure: failed program was:" >&5
20429 cat conftest.$ac_ext >&5
20431 eval "ac_cv_func_$ac_func=no"
20436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20437 echo "$ac_t""yes" 1>&6
20438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20439 cat >> confdefs.h <<EOF
20440 #define $ac_tr_func 1
20444 echo "$ac_t""no" 1>&6
20453 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20454 echo "configure:20455: checking for sqrtl declaration" >&5
20455 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20456 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20457 echo $ac_n "(cached) $ac_c" 1>&6
20462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20463 ac_cpp='$CXXCPP $CPPFLAGS'
20464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20466 cross_compiling=$ac_cv_prog_cxx_cross
20468 cat > conftest.$ac_ext <<EOF
20469 #line 20470 "configure"
20470 #include "confdefs.h"
20472 #ifdef HAVE_IEEEFP_H
20473 #include <ieeefp.h>
20480 if { (eval echo configure:20481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20482 glibcpp_cv_func_sqrtl_use=yes
20484 echo "configure: failed program was:" >&5
20485 cat conftest.$ac_ext >&5
20487 glibcpp_cv_func_sqrtl_use=no
20491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20492 ac_cpp='$CPP $CPPFLAGS'
20493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20495 cross_compiling=$ac_cv_prog_cc_cross
20501 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20503 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20504 for ac_func in sqrtl
20506 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20507 echo "configure:20508: checking for $ac_func" >&5
20508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20509 echo $ac_n "(cached) $ac_c" 1>&6
20511 cat > conftest.$ac_ext <<EOF
20512 #line 20513 "configure"
20513 #include "confdefs.h"
20514 /* System header to define __stub macros and hopefully few prototypes,
20515 which can conflict with char $ac_func(); below. */
20516 #include <assert.h>
20517 /* Override any gcc2 internal prototype to avoid an error. */
20518 /* We use char because int might match the return type of a gcc2
20519 builtin and then its argument prototype would still apply. */
20524 /* The GNU C library defines this for functions which it implements
20525 to always fail with ENOSYS. Some functions are actually named
20526 something starting with __ and the normal name is an alias. */
20527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20535 if { (eval echo configure:20536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20537 eval "ac_cv_func_$ac_func=yes"
20539 echo "configure: failed program was:" >&5
20540 cat conftest.$ac_ext >&5
20542 eval "ac_cv_func_$ac_func=no"
20547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20548 echo "$ac_t""yes" 1>&6
20549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20550 cat >> confdefs.h <<EOF
20551 #define $ac_tr_func 1
20555 echo "$ac_t""no" 1>&6
20561 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20562 echo "configure:20563: checking for _sqrtl declaration" >&5
20563 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20564 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20565 echo $ac_n "(cached) $ac_c" 1>&6
20570 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20571 ac_cpp='$CXXCPP $CPPFLAGS'
20572 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20573 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20574 cross_compiling=$ac_cv_prog_cxx_cross
20576 cat > conftest.$ac_ext <<EOF
20577 #line 20578 "configure"
20578 #include "confdefs.h"
20580 #ifdef HAVE_IEEEFP_H
20581 #include <ieeefp.h>
20588 if { (eval echo configure:20589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20590 glibcpp_cv_func__sqrtl_use=yes
20592 echo "configure: failed program was:" >&5
20593 cat conftest.$ac_ext >&5
20595 glibcpp_cv_func__sqrtl_use=no
20599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20600 ac_cpp='$CPP $CPPFLAGS'
20601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20603 cross_compiling=$ac_cv_prog_cc_cross
20609 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20611 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20612 for ac_func in _sqrtl
20614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20615 echo "configure:20616: checking for $ac_func" >&5
20616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20617 echo $ac_n "(cached) $ac_c" 1>&6
20619 cat > conftest.$ac_ext <<EOF
20620 #line 20621 "configure"
20621 #include "confdefs.h"
20622 /* System header to define __stub macros and hopefully few prototypes,
20623 which can conflict with char $ac_func(); below. */
20624 #include <assert.h>
20625 /* Override any gcc2 internal prototype to avoid an error. */
20626 /* We use char because int might match the return type of a gcc2
20627 builtin and then its argument prototype would still apply. */
20632 /* The GNU C library defines this for functions which it implements
20633 to always fail with ENOSYS. Some functions are actually named
20634 something starting with __ and the normal name is an alias. */
20635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20643 if { (eval echo configure:20644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20645 eval "ac_cv_func_$ac_func=yes"
20647 echo "configure: failed program was:" >&5
20648 cat conftest.$ac_ext >&5
20650 eval "ac_cv_func_$ac_func=no"
20655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20656 echo "$ac_t""yes" 1>&6
20657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20658 cat >> confdefs.h <<EOF
20659 #define $ac_tr_func 1
20663 echo "$ac_t""no" 1>&6
20672 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20673 echo "configure:20674: checking for sincosl declaration" >&5
20674 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20675 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20676 echo $ac_n "(cached) $ac_c" 1>&6
20681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20682 ac_cpp='$CXXCPP $CPPFLAGS'
20683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20685 cross_compiling=$ac_cv_prog_cxx_cross
20687 cat > conftest.$ac_ext <<EOF
20688 #line 20689 "configure"
20689 #include "confdefs.h"
20695 if { (eval echo configure:20696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20697 glibcpp_cv_func_sincosl_use=yes
20699 echo "configure: failed program was:" >&5
20700 cat conftest.$ac_ext >&5
20702 glibcpp_cv_func_sincosl_use=no
20706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20709 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20710 cross_compiling=$ac_cv_prog_cc_cross
20716 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20718 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20719 for ac_func in sincosl
20721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20722 echo "configure:20723: checking for $ac_func" >&5
20723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20724 echo $ac_n "(cached) $ac_c" 1>&6
20726 cat > conftest.$ac_ext <<EOF
20727 #line 20728 "configure"
20728 #include "confdefs.h"
20729 /* System header to define __stub macros and hopefully few prototypes,
20730 which can conflict with char $ac_func(); below. */
20731 #include <assert.h>
20732 /* Override any gcc2 internal prototype to avoid an error. */
20733 /* We use char because int might match the return type of a gcc2
20734 builtin and then its argument prototype would still apply. */
20739 /* The GNU C library defines this for functions which it implements
20740 to always fail with ENOSYS. Some functions are actually named
20741 something starting with __ and the normal name is an alias. */
20742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20750 if { (eval echo configure:20751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20752 eval "ac_cv_func_$ac_func=yes"
20754 echo "configure: failed program was:" >&5
20755 cat conftest.$ac_ext >&5
20757 eval "ac_cv_func_$ac_func=no"
20762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20763 echo "$ac_t""yes" 1>&6
20764 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20765 cat >> confdefs.h <<EOF
20766 #define $ac_tr_func 1
20770 echo "$ac_t""no" 1>&6
20776 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20777 echo "configure:20778: checking for _sincosl declaration" >&5
20778 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20779 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20780 echo $ac_n "(cached) $ac_c" 1>&6
20785 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20786 ac_cpp='$CXXCPP $CPPFLAGS'
20787 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20788 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20789 cross_compiling=$ac_cv_prog_cxx_cross
20791 cat > conftest.$ac_ext <<EOF
20792 #line 20793 "configure"
20793 #include "confdefs.h"
20799 if { (eval echo configure:20800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20801 glibcpp_cv_func__sincosl_use=yes
20803 echo "configure: failed program was:" >&5
20804 cat conftest.$ac_ext >&5
20806 glibcpp_cv_func__sincosl_use=no
20810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20811 ac_cpp='$CPP $CPPFLAGS'
20812 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20813 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20814 cross_compiling=$ac_cv_prog_cc_cross
20820 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20822 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20823 for ac_func in _sincosl
20825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20826 echo "configure:20827: checking for $ac_func" >&5
20827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20828 echo $ac_n "(cached) $ac_c" 1>&6
20830 cat > conftest.$ac_ext <<EOF
20831 #line 20832 "configure"
20832 #include "confdefs.h"
20833 /* System header to define __stub macros and hopefully few prototypes,
20834 which can conflict with char $ac_func(); below. */
20835 #include <assert.h>
20836 /* Override any gcc2 internal prototype to avoid an error. */
20837 /* We use char because int might match the return type of a gcc2
20838 builtin and then its argument prototype would still apply. */
20843 /* The GNU C library defines this for functions which it implements
20844 to always fail with ENOSYS. Some functions are actually named
20845 something starting with __ and the normal name is an alias. */
20846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20854 if { (eval echo configure:20855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20856 eval "ac_cv_func_$ac_func=yes"
20858 echo "configure: failed program was:" >&5
20859 cat conftest.$ac_ext >&5
20861 eval "ac_cv_func_$ac_func=no"
20866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20867 echo "$ac_t""yes" 1>&6
20868 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20869 cat >> confdefs.h <<EOF
20870 #define $ac_tr_func 1
20874 echo "$ac_t""no" 1>&6
20883 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
20884 echo "configure:20885: checking for finitel declaration" >&5
20885 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20886 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20887 echo $ac_n "(cached) $ac_c" 1>&6
20892 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20895 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20896 cross_compiling=$ac_cv_prog_cxx_cross
20898 cat > conftest.$ac_ext <<EOF
20899 #line 20900 "configure"
20900 #include "confdefs.h"
20902 #ifdef HAVE_IEEEFP_H
20903 #include <ieeefp.h>
20910 if { (eval echo configure:20911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20912 glibcpp_cv_func_finitel_use=yes
20914 echo "configure: failed program was:" >&5
20915 cat conftest.$ac_ext >&5
20917 glibcpp_cv_func_finitel_use=no
20921 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20922 ac_cpp='$CPP $CPPFLAGS'
20923 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20924 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20925 cross_compiling=$ac_cv_prog_cc_cross
20931 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
20933 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
20934 for ac_func in finitel
20936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20937 echo "configure:20938: checking for $ac_func" >&5
20938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20939 echo $ac_n "(cached) $ac_c" 1>&6
20941 cat > conftest.$ac_ext <<EOF
20942 #line 20943 "configure"
20943 #include "confdefs.h"
20944 /* System header to define __stub macros and hopefully few prototypes,
20945 which can conflict with char $ac_func(); below. */
20946 #include <assert.h>
20947 /* Override any gcc2 internal prototype to avoid an error. */
20948 /* We use char because int might match the return type of a gcc2
20949 builtin and then its argument prototype would still apply. */
20954 /* The GNU C library defines this for functions which it implements
20955 to always fail with ENOSYS. Some functions are actually named
20956 something starting with __ and the normal name is an alias. */
20957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20965 if { (eval echo configure:20966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20967 eval "ac_cv_func_$ac_func=yes"
20969 echo "configure: failed program was:" >&5
20970 cat conftest.$ac_ext >&5
20972 eval "ac_cv_func_$ac_func=no"
20977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20978 echo "$ac_t""yes" 1>&6
20979 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20980 cat >> confdefs.h <<EOF
20981 #define $ac_tr_func 1
20985 echo "$ac_t""no" 1>&6
20991 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
20992 echo "configure:20993: checking for _finitel declaration" >&5
20993 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20994 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20995 echo $ac_n "(cached) $ac_c" 1>&6
21000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21001 ac_cpp='$CXXCPP $CPPFLAGS'
21002 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21003 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21004 cross_compiling=$ac_cv_prog_cxx_cross
21006 cat > conftest.$ac_ext <<EOF
21007 #line 21008 "configure"
21008 #include "confdefs.h"
21010 #ifdef HAVE_IEEEFP_H
21011 #include <ieeefp.h>
21018 if { (eval echo configure:21019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21020 glibcpp_cv_func__finitel_use=yes
21022 echo "configure: failed program was:" >&5
21023 cat conftest.$ac_ext >&5
21025 glibcpp_cv_func__finitel_use=no
21029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21030 ac_cpp='$CPP $CPPFLAGS'
21031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21033 cross_compiling=$ac_cv_prog_cc_cross
21039 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
21041 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
21042 for ac_func in _finitel
21044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21045 echo "configure:21046: checking for $ac_func" >&5
21046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21047 echo $ac_n "(cached) $ac_c" 1>&6
21049 cat > conftest.$ac_ext <<EOF
21050 #line 21051 "configure"
21051 #include "confdefs.h"
21052 /* System header to define __stub macros and hopefully few prototypes,
21053 which can conflict with char $ac_func(); below. */
21054 #include <assert.h>
21055 /* Override any gcc2 internal prototype to avoid an error. */
21056 /* We use char because int might match the return type of a gcc2
21057 builtin and then its argument prototype would still apply. */
21062 /* The GNU C library defines this for functions which it implements
21063 to always fail with ENOSYS. Some functions are actually named
21064 something starting with __ and the normal name is an alias. */
21065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21073 if { (eval echo configure:21074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21075 eval "ac_cv_func_$ac_func=yes"
21077 echo "configure: failed program was:" >&5
21078 cat conftest.$ac_ext >&5
21080 eval "ac_cv_func_$ac_func=no"
21085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21086 echo "$ac_t""yes" 1>&6
21087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21088 cat >> confdefs.h <<EOF
21089 #define $ac_tr_func 1
21093 echo "$ac_t""no" 1>&6
21103 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21104 echo "configure:21105: checking for _float trig functions" >&5
21105 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21106 echo $ac_n "(cached) $ac_c" 1>&6
21111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21112 ac_cpp='$CXXCPP $CPPFLAGS'
21113 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21114 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21115 cross_compiling=$ac_cv_prog_cxx_cross
21117 cat > conftest.$ac_ext <<EOF
21118 #line 21119 "configure"
21119 #include "confdefs.h"
21122 `for x in _acosf _asinf _atanf \
21123 _cosf _sinf _tanf \
21124 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21127 if { (eval echo configure:21128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21129 glibcpp_cv_func__float_trig_use=yes
21131 echo "configure: failed program was:" >&5
21132 cat conftest.$ac_ext >&5
21134 glibcpp_cv_func__float_trig_use=no
21138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21142 cross_compiling=$ac_cv_prog_cc_cross
21146 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21147 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21148 for ac_func in _acosf _asinf _atanf \
21149 _cosf _sinf _tanf \
21150 _coshf _sinhf _tanhf
21152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21153 echo "configure:21154: checking for $ac_func" >&5
21154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21155 echo $ac_n "(cached) $ac_c" 1>&6
21157 cat > conftest.$ac_ext <<EOF
21158 #line 21159 "configure"
21159 #include "confdefs.h"
21160 /* System header to define __stub macros and hopefully few prototypes,
21161 which can conflict with char $ac_func(); below. */
21162 #include <assert.h>
21163 /* Override any gcc2 internal prototype to avoid an error. */
21164 /* We use char because int might match the return type of a gcc2
21165 builtin and then its argument prototype would still apply. */
21170 /* The GNU C library defines this for functions which it implements
21171 to always fail with ENOSYS. Some functions are actually named
21172 something starting with __ and the normal name is an alias. */
21173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21181 if { (eval echo configure:21182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21183 eval "ac_cv_func_$ac_func=yes"
21185 echo "configure: failed program was:" >&5
21186 cat conftest.$ac_ext >&5
21188 eval "ac_cv_func_$ac_func=no"
21193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21194 echo "$ac_t""yes" 1>&6
21195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21196 cat >> confdefs.h <<EOF
21197 #define $ac_tr_func 1
21201 echo "$ac_t""no" 1>&6
21208 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21209 echo "configure:21210: checking for _float round functions" >&5
21210 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
21211 echo $ac_n "(cached) $ac_c" 1>&6
21216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21220 cross_compiling=$ac_cv_prog_cxx_cross
21222 cat > conftest.$ac_ext <<EOF
21223 #line 21224 "configure"
21224 #include "confdefs.h"
21227 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21230 if { (eval echo configure:21231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21232 glibcpp_cv_func__float_round_use=yes
21234 echo "configure: failed program was:" >&5
21235 cat conftest.$ac_ext >&5
21237 glibcpp_cv_func__float_round_use=no
21241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21245 cross_compiling=$ac_cv_prog_cc_cross
21249 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21250 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21251 for ac_func in _ceilf _floorf
21253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21254 echo "configure:21255: checking for $ac_func" >&5
21255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21256 echo $ac_n "(cached) $ac_c" 1>&6
21258 cat > conftest.$ac_ext <<EOF
21259 #line 21260 "configure"
21260 #include "confdefs.h"
21261 /* System header to define __stub macros and hopefully few prototypes,
21262 which can conflict with char $ac_func(); below. */
21263 #include <assert.h>
21264 /* Override any gcc2 internal prototype to avoid an error. */
21265 /* We use char because int might match the return type of a gcc2
21266 builtin and then its argument prototype would still apply. */
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21282 if { (eval echo configure:21283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21284 eval "ac_cv_func_$ac_func=yes"
21286 echo "configure: failed program was:" >&5
21287 cat conftest.$ac_ext >&5
21289 eval "ac_cv_func_$ac_func=no"
21294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21295 echo "$ac_t""yes" 1>&6
21296 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21297 cat >> confdefs.h <<EOF
21298 #define $ac_tr_func 1
21302 echo "$ac_t""no" 1>&6
21310 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21311 echo "configure:21312: checking for _long double trig functions" >&5
21312 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21313 echo $ac_n "(cached) $ac_c" 1>&6
21318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21321 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21322 cross_compiling=$ac_cv_prog_cxx_cross
21324 cat > conftest.$ac_ext <<EOF
21325 #line 21326 "configure"
21326 #include "confdefs.h"
21329 `for x in _acosl _asinl _atanl \
21330 _cosl _sinl _tanl \
21331 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21334 if { (eval echo configure:21335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21336 glibcpp_cv_func__long_double_trig_use=yes
21338 echo "configure: failed program was:" >&5
21339 cat conftest.$ac_ext >&5
21341 glibcpp_cv_func__long_double_trig_use=no
21345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21346 ac_cpp='$CPP $CPPFLAGS'
21347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21349 cross_compiling=$ac_cv_prog_cc_cross
21353 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21354 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21355 for ac_func in _acosl _asinl _atanl \
21356 _cosl _sinl _tanl \
21357 _coshl _sinhl _tanhl
21359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21360 echo "configure:21361: checking for $ac_func" >&5
21361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21362 echo $ac_n "(cached) $ac_c" 1>&6
21364 cat > conftest.$ac_ext <<EOF
21365 #line 21366 "configure"
21366 #include "confdefs.h"
21367 /* System header to define __stub macros and hopefully few prototypes,
21368 which can conflict with char $ac_func(); below. */
21369 #include <assert.h>
21370 /* Override any gcc2 internal prototype to avoid an error. */
21371 /* We use char because int might match the return type of a gcc2
21372 builtin and then its argument prototype would still apply. */
21377 /* The GNU C library defines this for functions which it implements
21378 to always fail with ENOSYS. Some functions are actually named
21379 something starting with __ and the normal name is an alias. */
21380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21388 if { (eval echo configure:21389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21390 eval "ac_cv_func_$ac_func=yes"
21392 echo "configure: failed program was:" >&5
21393 cat conftest.$ac_ext >&5
21395 eval "ac_cv_func_$ac_func=no"
21400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21401 echo "$ac_t""yes" 1>&6
21402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21403 cat >> confdefs.h <<EOF
21404 #define $ac_tr_func 1
21408 echo "$ac_t""no" 1>&6
21415 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21416 echo "configure:21417: checking for _long double round functions" >&5
21417 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21418 echo $ac_n "(cached) $ac_c" 1>&6
21423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21424 ac_cpp='$CXXCPP $CPPFLAGS'
21425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21427 cross_compiling=$ac_cv_prog_cxx_cross
21429 cat > conftest.$ac_ext <<EOF
21430 #line 21431 "configure"
21431 #include "confdefs.h"
21434 `for x in _ceill _floorl; do echo "$x (0);"; done`
21437 if { (eval echo configure:21438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21439 glibcpp_cv_func__long_double_round_use=yes
21441 echo "configure: failed program was:" >&5
21442 cat conftest.$ac_ext >&5
21444 glibcpp_cv_func__long_double_round_use=no
21448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21452 cross_compiling=$ac_cv_prog_cc_cross
21456 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21457 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21458 for ac_func in _ceill _floorl
21460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21461 echo "configure:21462: checking for $ac_func" >&5
21462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21463 echo $ac_n "(cached) $ac_c" 1>&6
21465 cat > conftest.$ac_ext <<EOF
21466 #line 21467 "configure"
21467 #include "confdefs.h"
21468 /* System header to define __stub macros and hopefully few prototypes,
21469 which can conflict with char $ac_func(); below. */
21470 #include <assert.h>
21471 /* Override any gcc2 internal prototype to avoid an error. */
21472 /* We use char because int might match the return type of a gcc2
21473 builtin and then its argument prototype would still apply. */
21478 /* The GNU C library defines this for functions which it implements
21479 to always fail with ENOSYS. Some functions are actually named
21480 something starting with __ and the normal name is an alias. */
21481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21489 if { (eval echo configure:21490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21491 eval "ac_cv_func_$ac_func=yes"
21493 echo "configure: failed program was:" >&5
21494 cat conftest.$ac_ext >&5
21496 eval "ac_cv_func_$ac_func=no"
21501 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21502 echo "$ac_t""yes" 1>&6
21503 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21504 cat >> confdefs.h <<EOF
21505 #define $ac_tr_func 1
21509 echo "$ac_t""no" 1>&6
21516 LIBS="$ac_save_LIBS"
21517 CXXFLAGS="$ac_save_CXXFLAGS"
21520 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21521 echo "configure:21522: checking for main in -lm" >&5
21522 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21524 echo $ac_n "(cached) $ac_c" 1>&6
21526 ac_save_LIBS="$LIBS"
21528 cat > conftest.$ac_ext <<EOF
21529 #line 21530 "configure"
21530 #include "confdefs.h"
21536 if { (eval echo configure:21537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21538 eval "ac_cv_lib_$ac_lib_var=yes"
21540 echo "configure: failed program was:" >&5
21541 cat conftest.$ac_ext >&5
21543 eval "ac_cv_lib_$ac_lib_var=no"
21546 LIBS="$ac_save_LIBS"
21549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21550 echo "$ac_t""yes" 1>&6
21551 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21552 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21553 cat >> confdefs.h <<EOF
21554 #define $ac_tr_lib 1
21560 echo "$ac_t""no" 1>&6
21563 for ac_func in nan copysignf
21565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21566 echo "configure:21567: checking for $ac_func" >&5
21567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21568 echo $ac_n "(cached) $ac_c" 1>&6
21570 cat > conftest.$ac_ext <<EOF
21571 #line 21572 "configure"
21572 #include "confdefs.h"
21573 /* System header to define __stub macros and hopefully few prototypes,
21574 which can conflict with char $ac_func(); below. */
21575 #include <assert.h>
21576 /* Override any gcc2 internal prototype to avoid an error. */
21577 /* We use char because int might match the return type of a gcc2
21578 builtin and then its argument prototype would still apply. */
21583 /* The GNU C library defines this for functions which it implements
21584 to always fail with ENOSYS. Some functions are actually named
21585 something starting with __ and the normal name is an alias. */
21586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21594 if { (eval echo configure:21595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21596 eval "ac_cv_func_$ac_func=yes"
21598 echo "configure: failed program was:" >&5
21599 cat conftest.$ac_ext >&5
21601 eval "ac_cv_func_$ac_func=no"
21606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21607 echo "$ac_t""yes" 1>&6
21608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21609 cat >> confdefs.h <<EOF
21610 #define $ac_tr_func 1
21614 echo "$ac_t""no" 1>&6
21615 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21620 for ac_func in __signbit
21622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21623 echo "configure:21624: checking for $ac_func" >&5
21624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21625 echo $ac_n "(cached) $ac_c" 1>&6
21627 cat > conftest.$ac_ext <<EOF
21628 #line 21629 "configure"
21629 #include "confdefs.h"
21630 /* System header to define __stub macros and hopefully few prototypes,
21631 which can conflict with char $ac_func(); below. */
21632 #include <assert.h>
21633 /* Override any gcc2 internal prototype to avoid an error. */
21634 /* We use char because int might match the return type of a gcc2
21635 builtin and then its argument prototype would still apply. */
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21651 if { (eval echo configure:21652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21653 eval "ac_cv_func_$ac_func=yes"
21655 echo "configure: failed program was:" >&5
21656 cat conftest.$ac_ext >&5
21658 eval "ac_cv_func_$ac_func=no"
21663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21664 echo "$ac_t""yes" 1>&6
21665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21666 cat >> confdefs.h <<EOF
21667 #define $ac_tr_func 1
21671 echo "$ac_t""no" 1>&6
21672 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21676 for ac_func in __signbitf
21678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21679 echo "configure:21680: checking for $ac_func" >&5
21680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21681 echo $ac_n "(cached) $ac_c" 1>&6
21683 cat > conftest.$ac_ext <<EOF
21684 #line 21685 "configure"
21685 #include "confdefs.h"
21686 /* System header to define __stub macros and hopefully few prototypes,
21687 which can conflict with char $ac_func(); below. */
21688 #include <assert.h>
21689 /* Override any gcc2 internal prototype to avoid an error. */
21690 /* We use char because int might match the return type of a gcc2
21691 builtin and then its argument prototype would still apply. */
21696 /* The GNU C library defines this for functions which it implements
21697 to always fail with ENOSYS. Some functions are actually named
21698 something starting with __ and the normal name is an alias. */
21699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21707 if { (eval echo configure:21708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21709 eval "ac_cv_func_$ac_func=yes"
21711 echo "configure: failed program was:" >&5
21712 cat conftest.$ac_ext >&5
21714 eval "ac_cv_func_$ac_func=no"
21719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21720 echo "$ac_t""yes" 1>&6
21721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21722 cat >> confdefs.h <<EOF
21723 #define $ac_tr_func 1
21727 echo "$ac_t""no" 1>&6
21728 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21733 if test x$ac_cv_func_copysignl = x"yes"; then
21734 for ac_func in __signbitl
21736 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21737 echo "configure:21738: checking for $ac_func" >&5
21738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21739 echo $ac_n "(cached) $ac_c" 1>&6
21741 cat > conftest.$ac_ext <<EOF
21742 #line 21743 "configure"
21743 #include "confdefs.h"
21744 /* System header to define __stub macros and hopefully few prototypes,
21745 which can conflict with char $ac_func(); below. */
21746 #include <assert.h>
21747 /* Override any gcc2 internal prototype to avoid an error. */
21748 /* We use char because int might match the return type of a gcc2
21749 builtin and then its argument prototype would still apply. */
21754 /* The GNU C library defines this for functions which it implements
21755 to always fail with ENOSYS. Some functions are actually named
21756 something starting with __ and the normal name is an alias. */
21757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21765 if { (eval echo configure:21766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21767 eval "ac_cv_func_$ac_func=yes"
21769 echo "configure: failed program was:" >&5
21770 cat conftest.$ac_ext >&5
21772 eval "ac_cv_func_$ac_func=no"
21777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21778 echo "$ac_t""yes" 1>&6
21779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21780 cat >> confdefs.h <<EOF
21781 #define $ac_tr_func 1
21785 echo "$ac_t""no" 1>&6
21786 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21796 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21797 echo "configure:21798: checking for mbstate_t" >&5
21798 cat > conftest.$ac_ext <<EOF
21799 #line 21800 "configure"
21800 #include "confdefs.h"
21803 mbstate_t teststate;
21806 if { (eval echo configure:21807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21810 echo "configure: failed program was:" >&5
21811 cat conftest.$ac_ext >&5
21816 echo "$ac_t""$have_mbstate_t" 1>&6
21817 if test x"$have_mbstate_t" = xyes; then
21818 cat >> confdefs.h <<\EOF
21819 #define HAVE_MBSTATE_T 1
21824 for ac_hdr in wchar.h
21826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21828 echo "configure:21829: checking for $ac_hdr" >&5
21829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21830 echo $ac_n "(cached) $ac_c" 1>&6
21832 cat > conftest.$ac_ext <<EOF
21833 #line 21834 "configure"
21834 #include "confdefs.h"
21837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21838 { (eval echo configure:21839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21840 if test -z "$ac_err"; then
21842 eval "ac_cv_header_$ac_safe=yes"
21845 echo "configure: failed program was:" >&5
21846 cat conftest.$ac_ext >&5
21848 eval "ac_cv_header_$ac_safe=no"
21852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21853 echo "$ac_t""yes" 1>&6
21854 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21855 cat >> confdefs.h <<EOF
21856 #define $ac_tr_hdr 1
21860 echo "$ac_t""no" 1>&6
21865 for ac_hdr in wctype.h
21867 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21868 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21869 echo "configure:21870: checking for $ac_hdr" >&5
21870 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21871 echo $ac_n "(cached) $ac_c" 1>&6
21873 cat > conftest.$ac_ext <<EOF
21874 #line 21875 "configure"
21875 #include "confdefs.h"
21878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21879 { (eval echo configure:21880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21881 if test -z "$ac_err"; then
21883 eval "ac_cv_header_$ac_safe=yes"
21886 echo "configure: failed program was:" >&5
21887 cat conftest.$ac_ext >&5
21889 eval "ac_cv_header_$ac_safe=no"
21893 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21894 echo "$ac_t""yes" 1>&6
21895 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21896 cat >> confdefs.h <<EOF
21897 #define $ac_tr_hdr 1
21899 ac_has_wctype_h=yes
21901 echo "$ac_t""no" 1>&6
21907 if test x"$ac_has_wchar_h" = xyes &&
21908 test x"$ac_has_wctype_h" = xyes &&
21909 test x"$enable_c_mbchar" != xno; then
21911 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
21912 echo "configure:21913: checking for WCHAR_MIN and WCHAR_MAX" >&5
21913 cat > conftest.$ac_ext <<EOF
21914 #line 21915 "configure"
21915 #include "confdefs.h"
21918 int i = WCHAR_MIN; int j = WCHAR_MAX;
21921 if { (eval echo configure:21922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21923 has_wchar_minmax=yes
21925 echo "configure: failed program was:" >&5
21926 cat conftest.$ac_ext >&5
21928 has_wchar_minmax=no
21931 echo "$ac_t""$has_wchar_minmax" 1>&6
21933 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
21934 echo "configure:21935: checking for WEOF" >&5
21935 cat > conftest.$ac_ext <<EOF
21936 #line 21937 "configure"
21937 #include "confdefs.h"
21940 #include <stddef.h>
21945 if { (eval echo configure:21946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21949 echo "configure: failed program was:" >&5
21950 cat conftest.$ac_ext >&5
21955 echo "$ac_t""$has_weof" 1>&6
21958 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
21960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21961 echo "configure:21962: checking for $ac_func" >&5
21962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21963 echo $ac_n "(cached) $ac_c" 1>&6
21965 cat > conftest.$ac_ext <<EOF
21966 #line 21967 "configure"
21967 #include "confdefs.h"
21968 /* System header to define __stub macros and hopefully few prototypes,
21969 which can conflict with char $ac_func(); below. */
21970 #include <assert.h>
21971 /* Override any gcc2 internal prototype to avoid an error. */
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21978 /* The GNU C library defines this for functions which it implements
21979 to always fail with ENOSYS. Some functions are actually named
21980 something starting with __ and the normal name is an alias. */
21981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21989 if { (eval echo configure:21990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21991 eval "ac_cv_func_$ac_func=yes"
21993 echo "configure: failed program was:" >&5
21994 cat conftest.$ac_ext >&5
21996 eval "ac_cv_func_$ac_func=no"
22001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22002 echo "$ac_t""yes" 1>&6
22003 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22004 cat >> confdefs.h <<EOF
22005 #define $ac_tr_func 1
22009 echo "$ac_t""no" 1>&6
22016 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
22017 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22018 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22019 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22020 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22021 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22024 echo "configure:22025: checking for $ac_func" >&5
22025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22026 echo $ac_n "(cached) $ac_c" 1>&6
22028 cat > conftest.$ac_ext <<EOF
22029 #line 22030 "configure"
22030 #include "confdefs.h"
22031 /* System header to define __stub macros and hopefully few prototypes,
22032 which can conflict with char $ac_func(); below. */
22033 #include <assert.h>
22034 /* Override any gcc2 internal prototype to avoid an error. */
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22041 /* The GNU C library defines this for functions which it implements
22042 to always fail with ENOSYS. Some functions are actually named
22043 something starting with __ and the normal name is an alias. */
22044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22052 if { (eval echo configure:22053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22054 eval "ac_cv_func_$ac_func=yes"
22056 echo "configure: failed program was:" >&5
22057 cat conftest.$ac_ext >&5
22059 eval "ac_cv_func_$ac_func=no"
22064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22065 echo "$ac_t""yes" 1>&6
22066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22067 cat >> confdefs.h <<EOF
22068 #define $ac_tr_func 1
22072 echo "$ac_t""no" 1>&6
22079 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22080 echo "configure:22081: checking for ISO C99 wchar_t support" >&5
22081 if test x"$has_weof" = xyes &&
22082 test x"$has_wchar_minmax" = xyes &&
22083 test x"$ac_wfuncs" = xyes; then
22084 ac_isoC99_wchar_t=yes
22086 ac_isoC99_wchar_t=no
22088 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22090 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22091 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22092 echo "configure:22093: checking for iconv.h" >&5
22093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22094 echo $ac_n "(cached) $ac_c" 1>&6
22096 cat > conftest.$ac_ext <<EOF
22097 #line 22098 "configure"
22098 #include "confdefs.h"
22101 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22102 { (eval echo configure:22103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22104 if test -z "$ac_err"; then
22106 eval "ac_cv_header_$ac_safe=yes"
22109 echo "configure: failed program was:" >&5
22110 cat conftest.$ac_ext >&5
22112 eval "ac_cv_header_$ac_safe=no"
22116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22117 echo "$ac_t""yes" 1>&6
22120 echo "$ac_t""no" 1>&6
22124 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22125 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22126 echo "configure:22127: checking for langinfo.h" >&5
22127 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22128 echo $ac_n "(cached) $ac_c" 1>&6
22130 cat > conftest.$ac_ext <<EOF
22131 #line 22132 "configure"
22132 #include "confdefs.h"
22133 #include <langinfo.h>
22135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22136 { (eval echo configure:22137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22138 if test -z "$ac_err"; then
22140 eval "ac_cv_header_$ac_safe=yes"
22143 echo "configure: failed program was:" >&5
22144 cat conftest.$ac_ext >&5
22146 eval "ac_cv_header_$ac_safe=no"
22150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22151 echo "$ac_t""yes" 1>&6
22152 ac_has_langinfo_h=yes
22154 echo "$ac_t""no" 1>&6
22155 ac_has_langinfo_h=no
22159 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22160 echo "configure:22161: checking for iconv in -liconv" >&5
22161 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22163 echo $ac_n "(cached) $ac_c" 1>&6
22165 ac_save_LIBS="$LIBS"
22166 LIBS="-liconv $LIBS"
22167 cat > conftest.$ac_ext <<EOF
22168 #line 22169 "configure"
22169 #include "confdefs.h"
22170 /* Override any gcc2 internal prototype to avoid an error. */
22171 /* We use char because int might match the return type of a gcc2
22172 builtin and then its argument prototype would still apply. */
22179 if { (eval echo configure:22180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22181 eval "ac_cv_lib_$ac_lib_var=yes"
22183 echo "configure: failed program was:" >&5
22184 cat conftest.$ac_ext >&5
22186 eval "ac_cv_lib_$ac_lib_var=no"
22189 LIBS="$ac_save_LIBS"
22192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22193 echo "$ac_t""yes" 1>&6
22196 echo "$ac_t""no" 1>&6
22199 ac_save_LIBS="$LIBS"
22200 LIBS="$LIBS $libiconv"
22202 for ac_func in iconv_open iconv_close iconv nl_langinfo
22204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22205 echo "configure:22206: checking for $ac_func" >&5
22206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22207 echo $ac_n "(cached) $ac_c" 1>&6
22209 cat > conftest.$ac_ext <<EOF
22210 #line 22211 "configure"
22211 #include "confdefs.h"
22212 /* System header to define __stub macros and hopefully few prototypes,
22213 which can conflict with char $ac_func(); below. */
22214 #include <assert.h>
22215 /* Override any gcc2 internal prototype to avoid an error. */
22216 /* We use char because int might match the return type of a gcc2
22217 builtin and then its argument prototype would still apply. */
22222 /* The GNU C library defines this for functions which it implements
22223 to always fail with ENOSYS. Some functions are actually named
22224 something starting with __ and the normal name is an alias. */
22225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22233 if { (eval echo configure:22234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22235 eval "ac_cv_func_$ac_func=yes"
22237 echo "configure: failed program was:" >&5
22238 cat conftest.$ac_ext >&5
22240 eval "ac_cv_func_$ac_func=no"
22245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22246 echo "$ac_t""yes" 1>&6
22247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22248 cat >> confdefs.h <<EOF
22249 #define $ac_tr_func 1
22254 echo "$ac_t""no" 1>&6
22260 LIBS="$ac_save_LIBS"
22262 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22263 echo "configure:22264: checking for XPG2 wchar_t support" >&5
22264 if test x"$ac_has_iconv_h" = xyes &&
22265 test x"$ac_has_langinfo_h" = xyes &&
22266 test x"$ac_XPG2funcs" = xyes; then
22267 ac_XPG2_wchar_t=yes
22271 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22273 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22274 echo "configure:22275: checking for enabled wchar_t specializations" >&5
22275 if test x"$ac_isoC99_wchar_t" = xyes &&
22276 test x"$ac_XPG2_wchar_t" = xyes; then
22277 cat >> confdefs.h <<\EOF
22278 #define _GLIBCPP_USE_WCHAR_T 1
22281 echo "$ac_t"""yes"" 1>&6
22283 echo "$ac_t"""no"" 1>&6
22286 echo "configure: warning: wchar_t support disabled." 1>&2
22290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22291 ac_save_CXXFLAGS="$CXXFLAGS"
22292 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22295 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22296 echo "configure:22297: checking for strtold declaration" >&5
22297 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22298 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22299 echo $ac_n "(cached) $ac_c" 1>&6
22304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22305 ac_cpp='$CXXCPP $CPPFLAGS'
22306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22308 cross_compiling=$ac_cv_prog_cxx_cross
22310 cat > conftest.$ac_ext <<EOF
22311 #line 22312 "configure"
22312 #include "confdefs.h"
22313 #include <stdlib.h>
22318 if { (eval echo configure:22319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22320 glibcpp_cv_func_strtold_use=yes
22322 echo "configure: failed program was:" >&5
22323 cat conftest.$ac_ext >&5
22325 glibcpp_cv_func_strtold_use=no
22329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22330 ac_cpp='$CPP $CPPFLAGS'
22331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22333 cross_compiling=$ac_cv_prog_cc_cross
22339 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22340 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22341 for ac_func in strtold
22343 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22344 echo "configure:22345: checking for $ac_func" >&5
22345 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22346 echo $ac_n "(cached) $ac_c" 1>&6
22348 cat > conftest.$ac_ext <<EOF
22349 #line 22350 "configure"
22350 #include "confdefs.h"
22351 /* System header to define __stub macros and hopefully few prototypes,
22352 which can conflict with char $ac_func(); below. */
22353 #include <assert.h>
22354 /* Override any gcc2 internal prototype to avoid an error. */
22355 /* We use char because int might match the return type of a gcc2
22356 builtin and then its argument prototype would still apply. */
22361 /* The GNU C library defines this for functions which it implements
22362 to always fail with ENOSYS. Some functions are actually named
22363 something starting with __ and the normal name is an alias. */
22364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22372 if { (eval echo configure:22373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22374 eval "ac_cv_func_$ac_func=yes"
22376 echo "configure: failed program was:" >&5
22377 cat conftest.$ac_ext >&5
22379 eval "ac_cv_func_$ac_func=no"
22384 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22385 echo "$ac_t""yes" 1>&6
22386 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22387 cat >> confdefs.h <<EOF
22388 #define $ac_tr_func 1
22392 echo "$ac_t""no" 1>&6
22399 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22400 echo "configure:22401: checking for strtof declaration" >&5
22401 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22402 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22403 echo $ac_n "(cached) $ac_c" 1>&6
22408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22409 ac_cpp='$CXXCPP $CPPFLAGS'
22410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22412 cross_compiling=$ac_cv_prog_cxx_cross
22414 cat > conftest.$ac_ext <<EOF
22415 #line 22416 "configure"
22416 #include "confdefs.h"
22417 #include <stdlib.h>
22422 if { (eval echo configure:22423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22424 glibcpp_cv_func_strtof_use=yes
22426 echo "configure: failed program was:" >&5
22427 cat conftest.$ac_ext >&5
22429 glibcpp_cv_func_strtof_use=no
22433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22437 cross_compiling=$ac_cv_prog_cc_cross
22443 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22444 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22445 for ac_func in strtof
22447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22448 echo "configure:22449: checking for $ac_func" >&5
22449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22450 echo $ac_n "(cached) $ac_c" 1>&6
22452 cat > conftest.$ac_ext <<EOF
22453 #line 22454 "configure"
22454 #include "confdefs.h"
22455 /* System header to define __stub macros and hopefully few prototypes,
22456 which can conflict with char $ac_func(); below. */
22457 #include <assert.h>
22458 /* Override any gcc2 internal prototype to avoid an error. */
22459 /* We use char because int might match the return type of a gcc2
22460 builtin and then its argument prototype would still apply. */
22465 /* The GNU C library defines this for functions which it implements
22466 to always fail with ENOSYS. Some functions are actually named
22467 something starting with __ and the normal name is an alias. */
22468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22476 if { (eval echo configure:22477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22478 eval "ac_cv_func_$ac_func=yes"
22480 echo "configure: failed program was:" >&5
22481 cat conftest.$ac_ext >&5
22483 eval "ac_cv_func_$ac_func=no"
22488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22489 echo "$ac_t""yes" 1>&6
22490 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22491 cat >> confdefs.h <<EOF
22492 #define $ac_tr_func 1
22496 echo "$ac_t""no" 1>&6
22502 for ac_func in drand48
22504 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22505 echo "configure:22506: checking for $ac_func" >&5
22506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22507 echo $ac_n "(cached) $ac_c" 1>&6
22509 cat > conftest.$ac_ext <<EOF
22510 #line 22511 "configure"
22511 #include "confdefs.h"
22512 /* System header to define __stub macros and hopefully few prototypes,
22513 which can conflict with char $ac_func(); below. */
22514 #include <assert.h>
22515 /* Override any gcc2 internal prototype to avoid an error. */
22516 /* We use char because int might match the return type of a gcc2
22517 builtin and then its argument prototype would still apply. */
22522 /* The GNU C library defines this for functions which it implements
22523 to always fail with ENOSYS. Some functions are actually named
22524 something starting with __ and the normal name is an alias. */
22525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22533 if { (eval echo configure:22534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22535 eval "ac_cv_func_$ac_func=yes"
22537 echo "configure: failed program was:" >&5
22538 cat conftest.$ac_ext >&5
22540 eval "ac_cv_func_$ac_func=no"
22545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22546 echo "$ac_t""yes" 1>&6
22547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22548 cat >> confdefs.h <<EOF
22549 #define $ac_tr_func 1
22553 echo "$ac_t""no" 1>&6
22558 CXXFLAGS="$ac_save_CXXFLAGS"
22561 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22562 ac_save_CXXFLAGS="$CXXFLAGS"
22563 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22566 echo $ac_n "checking for isatty declaration""... $ac_c" 1>&6
22567 echo "configure:22568: checking for isatty declaration" >&5
22568 if test x${glibcpp_cv_func_isatty_use+set} != xset; then
22569 if eval "test \"`echo '$''{'glibcpp_cv_func_isatty_use'+set}'`\" = set"; then
22570 echo $ac_n "(cached) $ac_c" 1>&6
22575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22576 ac_cpp='$CXXCPP $CPPFLAGS'
22577 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22578 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22579 cross_compiling=$ac_cv_prog_cxx_cross
22581 cat > conftest.$ac_ext <<EOF
22582 #line 22583 "configure"
22583 #include "confdefs.h"
22584 #include <unistd.h>
22589 if { (eval echo configure:22590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22591 glibcpp_cv_func_isatty_use=yes
22593 echo "configure: failed program was:" >&5
22594 cat conftest.$ac_ext >&5
22596 glibcpp_cv_func_isatty_use=no
22600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22601 ac_cpp='$CPP $CPPFLAGS'
22602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22604 cross_compiling=$ac_cv_prog_cc_cross
22610 echo "$ac_t""$glibcpp_cv_func_isatty_use" 1>&6
22611 if test x$glibcpp_cv_func_isatty_use = x"yes"; then
22612 for ac_func in isatty
22614 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22615 echo "configure:22616: checking for $ac_func" >&5
22616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22617 echo $ac_n "(cached) $ac_c" 1>&6
22619 cat > conftest.$ac_ext <<EOF
22620 #line 22621 "configure"
22621 #include "confdefs.h"
22622 /* System header to define __stub macros and hopefully few prototypes,
22623 which can conflict with char $ac_func(); below. */
22624 #include <assert.h>
22625 /* Override any gcc2 internal prototype to avoid an error. */
22626 /* We use char because int might match the return type of a gcc2
22627 builtin and then its argument prototype would still apply. */
22632 /* The GNU C library defines this for functions which it implements
22633 to always fail with ENOSYS. Some functions are actually named
22634 something starting with __ and the normal name is an alias. */
22635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22643 if { (eval echo configure:22644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22645 eval "ac_cv_func_$ac_func=yes"
22647 echo "configure: failed program was:" >&5
22648 cat conftest.$ac_ext >&5
22650 eval "ac_cv_func_$ac_func=no"
22655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22656 echo "$ac_t""yes" 1>&6
22657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22658 cat >> confdefs.h <<EOF
22659 #define $ac_tr_func 1
22663 echo "$ac_t""no" 1>&6
22670 CXXFLAGS="$ac_save_CXXFLAGS"
22673 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22674 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22675 echo "configure:22676: checking for locale.h" >&5
22676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22677 echo $ac_n "(cached) $ac_c" 1>&6
22679 cat > conftest.$ac_ext <<EOF
22680 #line 22681 "configure"
22681 #include "confdefs.h"
22682 #include <locale.h>
22684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22685 { (eval echo configure:22686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22687 if test -z "$ac_err"; then
22689 eval "ac_cv_header_$ac_safe=yes"
22692 echo "configure: failed program was:" >&5
22693 cat conftest.$ac_ext >&5
22695 eval "ac_cv_header_$ac_safe=no"
22699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22700 echo "$ac_t""yes" 1>&6
22702 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22703 echo "configure:22704: checking for LC_MESSAGES" >&5
22704 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22705 echo $ac_n "(cached) $ac_c" 1>&6
22707 cat > conftest.$ac_ext <<EOF
22708 #line 22709 "configure"
22709 #include "confdefs.h"
22710 #include <locale.h>
22715 if { (eval echo configure:22716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22717 ac_cv_val_LC_MESSAGES=yes
22719 echo "configure: failed program was:" >&5
22720 cat conftest.$ac_ext >&5
22722 ac_cv_val_LC_MESSAGES=no
22727 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22728 if test $ac_cv_val_LC_MESSAGES = yes; then
22729 cat >> confdefs.h <<\EOF
22730 #define HAVE_LC_MESSAGES 1
22736 echo "$ac_t""no" 1>&6
22741 cat > conftest.$ac_ext <<EOF
22742 #line 22743 "configure"
22743 #include "confdefs.h"
22745 #include <setjmp.h>
22748 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22751 if { (eval echo configure:22752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22753 cat >> confdefs.h <<\EOF
22754 #define HAVE_SIGSETJMP 1
22759 echo "configure: failed program was:" >&5
22760 cat conftest.$ac_ext >&5
22764 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22766 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22767 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22768 echo "configure:22769: checking for $ac_hdr" >&5
22769 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22770 echo $ac_n "(cached) $ac_c" 1>&6
22772 cat > conftest.$ac_ext <<EOF
22773 #line 22774 "configure"
22774 #include "confdefs.h"
22777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22778 { (eval echo configure:22779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22780 if test -z "$ac_err"; then
22782 eval "ac_cv_header_$ac_safe=yes"
22785 echo "configure: failed program was:" >&5
22786 cat conftest.$ac_ext >&5
22788 eval "ac_cv_header_$ac_safe=no"
22792 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22793 echo "$ac_t""yes" 1>&6
22794 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22795 cat >> confdefs.h <<EOF
22796 #define $ac_tr_hdr 1
22800 echo "$ac_t""no" 1>&6
22804 for ac_func in getpagesize
22806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22807 echo "configure:22808: checking for $ac_func" >&5
22808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22809 echo $ac_n "(cached) $ac_c" 1>&6
22811 cat > conftest.$ac_ext <<EOF
22812 #line 22813 "configure"
22813 #include "confdefs.h"
22814 /* System header to define __stub macros and hopefully few prototypes,
22815 which can conflict with char $ac_func(); below. */
22816 #include <assert.h>
22817 /* Override any gcc2 internal prototype to avoid an error. */
22818 /* We use char because int might match the return type of a gcc2
22819 builtin and then its argument prototype would still apply. */
22824 /* The GNU C library defines this for functions which it implements
22825 to always fail with ENOSYS. Some functions are actually named
22826 something starting with __ and the normal name is an alias. */
22827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22835 if { (eval echo configure:22836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22837 eval "ac_cv_func_$ac_func=yes"
22839 echo "configure: failed program was:" >&5
22840 cat conftest.$ac_ext >&5
22842 eval "ac_cv_func_$ac_func=no"
22847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22848 echo "$ac_t""yes" 1>&6
22849 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22850 cat >> confdefs.h <<EOF
22851 #define $ac_tr_func 1
22855 echo "$ac_t""no" 1>&6
22859 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22860 echo "configure:22861: checking for working mmap" >&5
22861 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22862 echo $ac_n "(cached) $ac_c" 1>&6
22864 if test "$cross_compiling" = yes; then
22865 ac_cv_func_mmap_fixed_mapped=no
22867 cat > conftest.$ac_ext <<EOF
22868 #line 22869 "configure"
22869 #include "confdefs.h"
22871 /* Thanks to Mike Haertel and Jim Avera for this test.
22872 Here is a matrix of mmap possibilities:
22873 mmap private not fixed
22874 mmap private fixed at somewhere currently unmapped
22875 mmap private fixed at somewhere already mapped
22876 mmap shared not fixed
22877 mmap shared fixed at somewhere currently unmapped
22878 mmap shared fixed at somewhere already mapped
22879 For private mappings, we should verify that changes cannot be read()
22880 back from the file, nor mmap's back from the file at a different
22881 address. (There have been systems where private was not correctly
22882 implemented like the infamous i386 svr4.0, and systems where the
22883 VM page cache was not coherent with the filesystem buffer cache
22884 like early versions of FreeBSD and possibly contemporary NetBSD.)
22885 For shared mappings, we should conversely verify that changes get
22886 propogated back to all the places they're supposed to be.
22888 Grep wants private fixed already mapped.
22889 The main things grep needs to know about mmap are:
22890 * does it exist and is it safe to write into the mmap'd area
22891 * how to use it (BSD variants) */
22892 #include <sys/types.h>
22894 #include <sys/mman.h>
22896 #if HAVE_SYS_TYPES_H
22897 # include <sys/types.h>
22901 # include <stdlib.h>
22904 #if HAVE_SYS_STAT_H
22905 # include <sys/stat.h>
22909 # include <unistd.h>
22912 /* This mess was copied from the GNU getpagesize.h. */
22913 #ifndef HAVE_GETPAGESIZE
22915 /* Assume that all systems that can run configure have sys/param.h. */
22916 # ifndef HAVE_SYS_PARAM_H
22917 # define HAVE_SYS_PARAM_H 1
22920 # ifdef _SC_PAGESIZE
22921 # define getpagesize() sysconf(_SC_PAGESIZE)
22922 # else /* no _SC_PAGESIZE */
22923 # ifdef HAVE_SYS_PARAM_H
22924 # include <sys/param.h>
22925 # ifdef EXEC_PAGESIZE
22926 # define getpagesize() EXEC_PAGESIZE
22927 # else /* no EXEC_PAGESIZE */
22929 # define getpagesize() NBPG * CLSIZE
22932 # endif /* no CLSIZE */
22933 # else /* no NBPG */
22935 # define getpagesize() NBPC
22936 # else /* no NBPC */
22938 # define getpagesize() PAGESIZE
22939 # endif /* PAGESIZE */
22940 # endif /* no NBPC */
22941 # endif /* no NBPG */
22942 # endif /* no EXEC_PAGESIZE */
22943 # else /* no HAVE_SYS_PARAM_H */
22944 # define getpagesize() 8192 /* punt totally */
22945 # endif /* no HAVE_SYS_PARAM_H */
22946 # endif /* no _SC_PAGESIZE */
22948 #endif /* no HAVE_GETPAGESIZE */
22951 extern "C" { void *malloc(unsigned); }
22959 char *data, *data2, *data3;
22963 pagesize = getpagesize();
22966 * First, make a file with some known garbage in it.
22968 data = malloc(pagesize);
22971 for (i = 0; i < pagesize; ++i)
22972 *(data + i) = rand();
22974 fd = creat("conftestmmap", 0600);
22977 if (write(fd, data, pagesize) != pagesize)
22982 * Next, try to mmap the file at a fixed address which
22983 * already has something else allocated at it. If we can,
22984 * also make sure that we see the same garbage.
22986 fd = open("conftestmmap", O_RDWR);
22989 data2 = malloc(2 * pagesize);
22992 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22993 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
22994 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22996 for (i = 0; i < pagesize; ++i)
22997 if (*(data + i) != *(data2 + i))
23001 * Finally, make sure that changes to the mapped area
23002 * do not percolate back to the file as seen by read().
23003 * (This is a bug on some variants of i386 svr4.0.)
23005 for (i = 0; i < pagesize; ++i)
23006 *(data2 + i) = *(data2 + i) + 1;
23007 data3 = malloc(pagesize);
23010 if (read(fd, data3, pagesize) != pagesize)
23012 for (i = 0; i < pagesize; ++i)
23013 if (*(data + i) != *(data3 + i))
23016 unlink("conftestmmap");
23021 if { (eval echo configure:23022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23023 ac_cv_func_mmap_fixed_mapped=yes
23025 echo "configure: failed program was:" >&5
23026 cat conftest.$ac_ext >&5
23028 ac_cv_func_mmap_fixed_mapped=no
23035 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23036 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23037 cat >> confdefs.h <<\EOF
23038 #define HAVE_MMAP 1
23044 # Establish limits on memory usage during 'make check'
23047 setrlimit_have_headers=yes
23048 for ac_hdr in unistd.h sys/time.h sys/resource.h
23050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23052 echo "configure:23053: checking for $ac_hdr" >&5
23053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23054 echo $ac_n "(cached) $ac_c" 1>&6
23056 cat > conftest.$ac_ext <<EOF
23057 #line 23058 "configure"
23058 #include "confdefs.h"
23061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23062 { (eval echo configure:23063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23064 if test -z "$ac_err"; then
23066 eval "ac_cv_header_$ac_safe=yes"
23069 echo "configure: failed program was:" >&5
23070 cat conftest.$ac_ext >&5
23072 eval "ac_cv_header_$ac_safe=no"
23076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23077 echo "$ac_t""yes" 1>&6
23078 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23079 cat >> confdefs.h <<EOF
23080 #define $ac_tr_hdr 1
23084 echo "$ac_t""no" 1>&6
23085 setrlimit_have_headers=no
23089 # If don't have the headers, then we can't run the tests now, and we
23090 # won't be seeing any of these during testsuite compilation.
23091 if test $setrlimit_have_headers = yes; then
23092 # Can't do these in a loop, else the resulting syntax is wrong.
23094 cat > conftest.$ac_ext <<EOF
23095 #line 23096 "configure"
23096 #include "confdefs.h"
23097 #include <unistd.h>
23098 #include <sys/time.h>
23099 #include <sys/resource.h>
23102 int f = RLIMIT_DATA ;
23105 if { (eval echo configure:23106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23109 echo "configure: failed program was:" >&5
23110 cat conftest.$ac_ext >&5
23115 cat >> confdefs.h <<EOF
23116 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23121 cat > conftest.$ac_ext <<EOF
23122 #line 23123 "configure"
23123 #include "confdefs.h"
23124 #include <unistd.h>
23125 #include <sys/time.h>
23126 #include <sys/resource.h>
23129 int f = RLIMIT_RSS ;
23132 if { (eval echo configure:23133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23136 echo "configure: failed program was:" >&5
23137 cat conftest.$ac_ext >&5
23142 cat >> confdefs.h <<EOF
23143 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23148 cat > conftest.$ac_ext <<EOF
23149 #line 23150 "configure"
23150 #include "confdefs.h"
23151 #include <unistd.h>
23152 #include <sys/time.h>
23153 #include <sys/resource.h>
23156 int f = RLIMIT_VMEM ;
23159 if { (eval echo configure:23160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23163 echo "configure: failed program was:" >&5
23164 cat conftest.$ac_ext >&5
23169 cat >> confdefs.h <<EOF
23170 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23175 cat > conftest.$ac_ext <<EOF
23176 #line 23177 "configure"
23177 #include "confdefs.h"
23178 #include <unistd.h>
23179 #include <sys/time.h>
23180 #include <sys/resource.h>
23183 int f = RLIMIT_AS ;
23186 if { (eval echo configure:23187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23190 echo "configure: failed program was:" >&5
23191 cat conftest.$ac_ext >&5
23196 cat >> confdefs.h <<EOF
23197 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23202 # Check for rlimit, setrlimit.
23203 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23204 echo $ac_n "(cached) $ac_c" 1>&6
23207 cat > conftest.$ac_ext <<EOF
23208 #line 23209 "configure"
23209 #include "confdefs.h"
23210 #include <unistd.h>
23211 #include <sys/time.h>
23212 #include <sys/resource.h>
23215 struct rlimit r; setrlimit(0, &r);
23218 if { (eval echo configure:23219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23222 echo "configure: failed program was:" >&5
23223 cat conftest.$ac_ext >&5
23233 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23234 echo "configure:23235: checking for testsuite memory limit support" >&5
23235 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23237 cat >> confdefs.h <<\EOF
23238 #define _GLIBCPP_MEM_LIMITS 1
23244 echo "$ac_t""$ac_mem_limits" 1>&6
23247 # Look for setenv, so that extended locale tests can be performed.
23249 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23250 echo "configure:23251: checking for setenv declaration" >&5
23251 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23252 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23253 echo $ac_n "(cached) $ac_c" 1>&6
23258 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23261 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23262 cross_compiling=$ac_cv_prog_cxx_cross
23264 cat > conftest.$ac_ext <<EOF
23265 #line 23266 "configure"
23266 #include "confdefs.h"
23267 #include <stdlib.h>
23272 if { (eval echo configure:23273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23274 glibcpp_cv_func_setenv_use=yes
23276 echo "configure: failed program was:" >&5
23277 cat conftest.$ac_ext >&5
23279 glibcpp_cv_func_setenv_use=no
23283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23284 ac_cpp='$CPP $CPPFLAGS'
23285 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23286 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23287 cross_compiling=$ac_cv_prog_cc_cross
23293 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23294 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23295 for ac_func in setenv
23297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23298 echo "configure:23299: checking for $ac_func" >&5
23299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23300 echo $ac_n "(cached) $ac_c" 1>&6
23302 cat > conftest.$ac_ext <<EOF
23303 #line 23304 "configure"
23304 #include "confdefs.h"
23305 /* System header to define __stub macros and hopefully few prototypes,
23306 which can conflict with char $ac_func(); below. */
23307 #include <assert.h>
23308 /* Override any gcc2 internal prototype to avoid an error. */
23309 /* We use char because int might match the return type of a gcc2
23310 builtin and then its argument prototype would still apply. */
23315 /* The GNU C library defines this for functions which it implements
23316 to always fail with ENOSYS. Some functions are actually named
23317 something starting with __ and the normal name is an alias. */
23318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23326 if { (eval echo configure:23327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23328 eval "ac_cv_func_$ac_func=yes"
23330 echo "configure: failed program was:" >&5
23331 cat conftest.$ac_ext >&5
23333 eval "ac_cv_func_$ac_func=no"
23338 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23339 echo "$ac_t""yes" 1>&6
23340 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23341 cat >> confdefs.h <<EOF
23342 #define $ac_tr_func 1
23346 echo "$ac_t""no" 1>&6
23353 # Export file names for ABI checking.
23354 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23357 # Don't do ABI checking unless native.
23360 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23361 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23362 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23364 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23365 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23370 # This depends on the possibly-skipped linker test above.
23371 # Check whether --enable-symvers or --disable-symvers was given.
23372 if test "${enable_symvers+set}" = set; then
23373 enableval="$enable_symvers"
23374 case "$enableval" in
23375 yes) enable_symvers=yes ;;
23376 no) enable_symvers=no ;;
23377 # other names here, just as sanity checks
23378 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23379 gnu) enable_symvers=$enableval ;;
23380 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23386 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23387 # don't know enough about $LD to do tricks...
23388 if test x$enable_shared = xno ||
23390 test x$glibcpp_gnu_ld_version = x; then
23394 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23395 if test $enable_symvers != no; then
23396 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23397 echo "configure:23398: checking for shared libgcc" >&5
23398 ac_save_CFLAGS="$CFLAGS"
23400 cat > conftest.$ac_ext <<EOF
23401 #line 23402 "configure"
23402 #include "confdefs.h"
23408 if { (eval echo configure:23409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23410 glibcpp_shared_libgcc=yes
23412 echo "configure: failed program was:" >&5
23413 cat conftest.$ac_ext >&5
23415 glibcpp_shared_libgcc=no
23418 CFLAGS="$ac_save_CFLAGS"
23419 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23422 # For GNU ld, we need at least this version. It's 2.12 in the same format
23423 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23424 glibcpp_min_gnu_ld_version=21200
23426 # Check to see if unspecified "yes" value can win, given results
23428 if test $enable_symvers = yes ; then
23429 if test $with_gnu_ld = yes &&
23430 test $glibcpp_shared_libgcc = yes ;
23432 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23435 ac_test_CFLAGS="${CFLAGS+set}"
23436 ac_save_CFLAGS="$CFLAGS"
23437 CFLAGS='-shared -Wl,--version-script,conftest.map'
23440 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23442 cat > conftest.$ac_ext <<EOF
23443 #line 23444 "configure"
23444 #include "confdefs.h"
23450 if { (eval echo configure:23451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23454 echo "configure: failed program was:" >&5
23455 cat conftest.$ac_ext >&5
23458 if test "$ac_test_CFLAGS" = set; then
23459 CFLAGS="$ac_save_CFLAGS"
23461 # this is the suspicious part
23467 # just fail for now
23472 case $enable_symvers in
23474 LINKER_MAP=config/linker-map.dummy
23477 LINKER_MAP=config/linker-map.gnu
23478 cat >> confdefs.h <<\EOF
23479 #define _GLIBCPP_SYMVER 1
23488 if test $enable_symvers != no; then
23489 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23490 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23492 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23493 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23495 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23496 echo "configure:23497: checking versioning on shared library symbols" >&5
23497 echo "$ac_t""$enable_symvers" 1>&6
23500 # Propagate the target-specific source directories through the build chain.
23501 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23502 # uses it, and it only gets used in this file.)
23503 OS_INC_SRCDIR=config/${os_include_dir}
23504 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23508 # Set up cross-compile flags
23511 if test "$CANADIAN" = yes; then
23519 cat > confcache <<\EOF
23520 # This file is a shell script that caches the results of configure
23521 # tests run on this system so they can be shared between configure
23522 # scripts and configure runs. It is not useful on other systems.
23523 # If it contains results you don't want to keep, you may remove or edit it.
23525 # By default, configure uses ./config.cache as the cache file,
23526 # creating it if it does not exist already. You can give configure
23527 # the --cache-file=FILE option to use a different cache file; that is
23528 # what configure does when it calls configure scripts in
23529 # subdirectories, so they share the cache.
23530 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23531 # config.status only pays attention to the cache file if you give it the
23532 # --recheck option to rerun configure.
23535 # The following way of writing the cache mishandles newlines in values,
23536 # but we know of no workaround that is simple, portable, and efficient.
23537 # So, don't put newlines in cache variables' values.
23538 # Ultrix sh set writes to stderr and can't be redirected directly,
23539 # and sets the high bit in the cache file unless we assign to the vars.
23541 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23543 # `set' does not quote correctly, so add quotes (double-quote substitution
23544 # turns \\\\ into \\, and sed turns \\ into \).
23546 -e "s/'/'\\\\''/g" \
23547 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23550 # `set' quotes correctly as required by POSIX, so do not add quotes.
23551 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23554 if cmp -s $cache_file confcache; then
23557 if test -w $cache_file; then
23558 echo "updating cache $cache_file"
23559 cat confcache > $cache_file
23561 echo "not updating unwritable cache $cache_file"
23567 if test "${multilib}" = "yes"; then
23568 multilib_arg="--enable-multilib"
23573 # Export all the install information
23575 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23576 # exported correctly in GLIBCPP_CONFIGURE.
23577 glibcpp_toolexecdir=no
23578 glibcpp_toolexeclibdir=no
23579 glibcpp_prefixdir=${prefix}
23581 # Process the option --with-gxx-include-dir=<path to include-files directory>
23582 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23583 echo "configure:23584: checking for --with-gxx-include-dir" >&5
23584 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23585 if test "${with_gxx_include_dir+set}" = set; then
23586 withval="$with_gxx_include_dir"
23587 case "${withval}" in
23589 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23596 gxx_include_dir=${withval}
23603 echo "$ac_t""$gxx_include_dir" 1>&6
23605 # Process the option "--enable-version-specific-runtime-libs"
23606 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23607 echo "configure:23608: checking for --enable-version-specific-runtime-libs" >&5
23608 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23609 if test "${enable_version_specific_runtime_libs+set}" = set; then
23610 enableval="$enable_version_specific_runtime_libs"
23611 case "$enableval" in
23612 yes) version_specific_libs=yes ;;
23613 no) version_specific_libs=no ;;
23614 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23617 version_specific_libs=no
23619 # Option set, now we can test it.
23620 echo "$ac_t""$version_specific_libs" 1>&6
23622 # Default case for install directory for include files.
23623 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23624 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23627 # Version-specific runtime libs processing.
23628 if test $version_specific_libs = yes; then
23629 # Need the gcc compiler version to know where to install libraries
23630 # and header files if --enable-version-specific-runtime-libs option
23632 if test x"$gxx_include_dir" = x"no"; then
23633 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23635 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23636 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23639 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23640 # Install a library built with a cross compiler in tooldir, not libdir.
23641 if test x"$glibcpp_toolexecdir" = x"no"; then
23642 if test -n "$with_cross_host" &&
23643 test x"$with_cross_host" != x"no"; then
23644 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23645 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23647 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23648 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23652 echo $ac_n "checking for install location""... $ac_c" 1>&6
23653 echo "configure:23654: checking for install location" >&5
23654 echo "$ac_t""$gxx_include_dir" 1>&6
23662 # Export all the include and flag information to makefiles.
23664 # Root level of the build directory include sources.
23665 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23667 # Passed down for canadian crosses.
23668 if test x"$CANADIAN" = xyes; then
23669 TOPLEVEL_INCLUDES='-I$(includedir)'
23672 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23674 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23676 if test x"$need_libio" = xyes; then
23677 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23681 # Now, export this to all the little Makefiles....
23688 # Optimization flags that are probably a good idea for thrill-seekers. Just
23689 # uncomment the lines below and make, everything else is ready to go...
23690 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23694 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23698 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23699 grep "enable shared" > /dev/null; then
23700 LIBSUPCXX_PICFLAGS=-prefer-pic
23702 LIBSUPCXX_PICFLAGS=
23706 # Generate the various Makefiles, include files, and scripts.
23707 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23708 # and libsupc++/Makefile.am so that multilib installs will end up
23709 # installed in the correct place. To work around this not being passed
23710 # down from config-ml.in -> top_srcdir/Makefile.am ->
23711 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23713 cat > confcache <<\EOF
23714 # This file is a shell script that caches the results of configure
23715 # tests run on this system so they can be shared between configure
23716 # scripts and configure runs. It is not useful on other systems.
23717 # If it contains results you don't want to keep, you may remove or edit it.
23719 # By default, configure uses ./config.cache as the cache file,
23720 # creating it if it does not exist already. You can give configure
23721 # the --cache-file=FILE option to use a different cache file; that is
23722 # what configure does when it calls configure scripts in
23723 # subdirectories, so they share the cache.
23724 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23725 # config.status only pays attention to the cache file if you give it the
23726 # --recheck option to rerun configure.
23729 # The following way of writing the cache mishandles newlines in values,
23730 # but we know of no workaround that is simple, portable, and efficient.
23731 # So, don't put newlines in cache variables' values.
23732 # Ultrix sh set writes to stderr and can't be redirected directly,
23733 # and sets the high bit in the cache file unless we assign to the vars.
23735 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23737 # `set' does not quote correctly, so add quotes (double-quote substitution
23738 # turns \\\\ into \\, and sed turns \\ into \).
23740 -e "s/'/'\\\\''/g" \
23741 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23744 # `set' quotes correctly as required by POSIX, so do not add quotes.
23745 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23748 if cmp -s $cache_file confcache; then
23751 if test -w $cache_file; then
23752 echo "updating cache $cache_file"
23753 cat confcache > $cache_file
23755 echo "not updating unwritable cache $cache_file"
23760 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23762 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23763 # Let make expand exec_prefix.
23764 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23766 # Any assignment to VPATH causes Sun make to only execute
23767 # the first set of double-colon rules, so remove it if not needed.
23768 # If there is a colon in the path, we need to keep it.
23769 if test "x$srcdir" = x.; then
23770 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23773 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23775 DEFS=-DHAVE_CONFIG_H
23777 # Without the "./", some shells look in PATH for config.status.
23778 : ${CONFIG_STATUS=./config.status}
23780 echo creating $CONFIG_STATUS
23781 rm -f $CONFIG_STATUS
23782 cat > $CONFIG_STATUS <<EOF
23784 # Generated automatically by configure.
23785 # Run this file to recreate the current configuration.
23786 # This directory was configured as follows,
23787 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23789 # $0 $ac_configure_args
23791 # Compiler output produced by configure, useful for debugging
23792 # configure, is in ./config.log if it exists.
23794 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23797 case "\$ac_option" in
23798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23799 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23800 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23801 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23802 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23804 -help | --help | --hel | --he | --h)
23805 echo "\$ac_cs_usage"; exit 0 ;;
23806 *) echo "\$ac_cs_usage"; exit 1 ;;
23810 ac_given_srcdir=$srcdir
23811 ac_given_INSTALL="$INSTALL"
23813 trap 'rm -fr `echo "Makefile \
23814 include/Makefile src/Makefile \
23815 libmath/Makefile libio/Makefile libsupc++/Makefile \
23816 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23818 cat >> $CONFIG_STATUS <<EOF
23820 # Protect against being on the right side of a sed subst in config.status.
23821 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23822 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23826 s%@CFLAGS@%$CFLAGS%g
23827 s%@CPPFLAGS@%$CPPFLAGS%g
23828 s%@CXXFLAGS@%$CXXFLAGS%g
23829 s%@FFLAGS@%$FFLAGS%g
23831 s%@LDFLAGS@%$LDFLAGS%g
23833 s%@exec_prefix@%$exec_prefix%g
23834 s%@prefix@%$prefix%g
23835 s%@program_transform_name@%$program_transform_name%g
23836 s%@bindir@%$bindir%g
23837 s%@sbindir@%$sbindir%g
23838 s%@libexecdir@%$libexecdir%g
23839 s%@datadir@%$datadir%g
23840 s%@sysconfdir@%$sysconfdir%g
23841 s%@sharedstatedir@%$sharedstatedir%g
23842 s%@localstatedir@%$localstatedir%g
23843 s%@libdir@%$libdir%g
23844 s%@includedir@%$includedir%g
23845 s%@oldincludedir@%$oldincludedir%g
23846 s%@infodir@%$infodir%g
23847 s%@mandir@%$mandir%g
23848 s%@PACKAGE@%$PACKAGE%g
23849 s%@libtool_VERSION@%$libtool_VERSION%g
23850 s%@toplevel_srcdir@%$toplevel_srcdir%g
23852 s%@host_alias@%$host_alias%g
23853 s%@host_cpu@%$host_cpu%g
23854 s%@host_vendor@%$host_vendor%g
23855 s%@host_os@%$host_os%g
23856 s%@target@%$target%g
23857 s%@target_alias@%$target_alias%g
23858 s%@target_cpu@%$target_cpu%g
23859 s%@target_vendor@%$target_vendor%g
23860 s%@target_os@%$target_os%g
23862 s%@build_alias@%$build_alias%g
23863 s%@build_cpu@%$build_cpu%g
23864 s%@build_vendor@%$build_vendor%g
23865 s%@build_os@%$build_os%g
23866 s%@glibcpp_builddir@%$glibcpp_builddir%g
23867 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23870 s%@glibcpp_basedir@%$glibcpp_basedir%g
23872 s%@glibcpp_CXX@%$glibcpp_CXX%g
23875 s%@RANLIB@%$RANLIB%g
23876 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23877 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23878 s%@INSTALL_DATA@%$INSTALL_DATA%g
23879 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23880 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
23882 s%@EXEEXT@%$EXEEXT%g
23883 s%@VERSION@%$VERSION%g
23884 s%@ACLOCAL@%$ACLOCAL%g
23885 s%@AUTOCONF@%$AUTOCONF%g
23886 s%@AUTOMAKE@%$AUTOMAKE%g
23887 s%@AUTOHEADER@%$AUTOHEADER%g
23888 s%@MAKEINFO@%$MAKEINFO%g
23889 s%@SET_MAKE@%$SET_MAKE%g
23890 s%@OBJEXT@%$OBJEXT%g
23892 s%@LIBTOOL@%$LIBTOOL%g
23893 s%@CXXCPP@%$CXXCPP%g
23894 s%@enable_shared@%$enable_shared%g
23895 s%@enable_static@%$enable_static%g
23896 s%@ifGNUmake@%$ifGNUmake%g
23897 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
23899 s%@CSTDIO_H@%$CSTDIO_H%g
23900 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
23901 s%@CCODECVT_C@%$CCODECVT_C%g
23902 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
23903 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
23904 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
23905 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
23906 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
23907 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
23908 s%@libio_la@%$libio_la%g
23909 s%@check_msgfmt@%$check_msgfmt%g
23910 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
23911 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
23912 s%@glibcpp_localedir@%$glibcpp_localedir%g
23913 s%@USE_NLS@%$USE_NLS%g
23914 s%@CLOCALE_H@%$CLOCALE_H%g
23915 s%@CCODECVT_H@%$CCODECVT_H%g
23916 s%@CMESSAGES_H@%$CMESSAGES_H%g
23917 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
23918 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
23919 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
23920 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
23921 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
23922 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
23923 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
23924 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
23925 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
23926 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
23927 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
23928 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
23929 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
23930 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
23931 s%@WERROR@%$WERROR%g
23932 s%@baseline_file@%$baseline_file%g
23933 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
23934 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
23935 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
23936 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
23937 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
23938 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
23939 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
23940 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
23941 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
23942 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
23943 s%@gxx_include_dir@%$gxx_include_dir%g
23944 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
23945 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
23946 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
23947 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
23948 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
23949 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
23950 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
23951 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
23952 s%@WARN_FLAGS@%$WARN_FLAGS%g
23953 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
23958 cat >> $CONFIG_STATUS <<\EOF
23960 # Split the substitutions into bite-sized pieces for seds with
23961 # small command number limits, like on Digital OSF/1 and HP-UX.
23962 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
23963 ac_file=1 # Number of current file.
23964 ac_beg=1 # First line for current file.
23965 ac_end=$ac_max_sed_cmds # Line after last line for current file.
23968 while $ac_more_lines; do
23969 if test $ac_beg -gt 1; then
23970 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
23972 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
23974 if test ! -s conftest.s$ac_file; then
23975 ac_more_lines=false
23976 rm -f conftest.s$ac_file
23978 if test -z "$ac_sed_cmds"; then
23979 ac_sed_cmds="sed -f conftest.s$ac_file"
23981 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
23983 ac_file=`expr $ac_file + 1`
23985 ac_end=`expr $ac_end + $ac_max_sed_cmds`
23988 if test -z "$ac_sed_cmds"; then
23993 cat >> $CONFIG_STATUS <<EOF
23995 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
23996 include/Makefile src/Makefile \
23997 libmath/Makefile libio/Makefile libsupc++/Makefile \
23998 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
24000 cat >> $CONFIG_STATUS <<\EOF
24001 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
24002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24004 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24005 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24006 *) ac_file_in="${ac_file}.in" ;;
24009 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24011 # Remove last slash and all that follows it. Not all systems have dirname.
24012 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24013 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24014 # The file is in a subdirectory.
24015 test ! -d "$ac_dir" && mkdir "$ac_dir"
24016 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24017 # A "../" for each directory in $ac_dir_suffix.
24018 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24020 ac_dir_suffix= ac_dots=
24023 case "$ac_given_srcdir" in
24025 if test -z "$ac_dots"; then top_srcdir=.
24026 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24027 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24028 *) # Relative path.
24029 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24030 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24033 case "$ac_given_INSTALL" in
24034 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24035 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24038 echo creating "$ac_file"
24040 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24042 *Makefile*) ac_comsub="1i\\
24043 # $configure_input" ;;
24047 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24049 s%@configure_input@%$configure_input%g
24050 s%@srcdir@%$srcdir%g
24051 s%@top_srcdir@%$top_srcdir%g
24052 s%@INSTALL@%$INSTALL%g
24053 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24057 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24058 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24060 # ac_d sets the value in "#define NAME VALUE" lines.
24061 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24062 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
24065 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24066 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24067 ac_uB='\([ ]\)%\1#\2define\3'
24070 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24071 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24072 ac_eB='$%\1#\2define\3'
24076 if test "${CONFIG_HEADERS+set}" != set; then
24078 cat >> $CONFIG_STATUS <<EOF
24079 CONFIG_HEADERS="config.h"
24081 cat >> $CONFIG_STATUS <<\EOF
24083 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
24084 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24086 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24087 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24088 *) ac_file_in="${ac_file}.in" ;;
24091 echo creating $ac_file
24093 rm -f conftest.frag conftest.in conftest.out
24094 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24095 cat $ac_file_inputs > conftest.in
24099 # Transform confdefs.h into a sed script conftest.vals that substitutes
24100 # the proper values into config.h.in to produce config.h. And first:
24101 # Protect against being on the right side of a sed subst in config.status.
24102 # Protect against being in an unquoted here document in config.status.
24103 rm -f conftest.vals
24104 cat > conftest.hdr <<\EOF
24107 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24111 sed -n -f conftest.hdr confdefs.h > conftest.vals
24114 # This sed command replaces #undef with comments. This is necessary, for
24115 # example, in the case of _POSIX_SOURCE, which is predefined and required
24116 # on some systems where configure will not decide to define it.
24117 cat >> conftest.vals <<\EOF
24118 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24121 # Break up conftest.vals because some shells have a limit on
24122 # the size of here documents, and old seds have small limits too.
24124 rm -f conftest.tail
24127 ac_lines=`grep -c . conftest.vals`
24128 # grep -c gives empty output for an empty file on some AIX systems.
24129 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24130 # Write a limited-size here document to conftest.frag.
24131 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24132 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24134 sed -f conftest.frag conftest.in > conftest.out
24136 mv conftest.out conftest.in
24137 ' >> $CONFIG_STATUS
24138 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24139 rm -f conftest.vals
24140 mv conftest.tail conftest.vals
24142 rm -f conftest.vals
24144 cat >> $CONFIG_STATUS <<\EOF
24145 rm -f conftest.frag conftest.h
24146 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24147 cat conftest.in >> conftest.h
24149 if cmp -s $ac_file conftest.h 2>/dev/null; then
24150 echo "$ac_file is unchanged"
24153 # Remove last slash and all that follows it. Not all systems have dirname.
24154 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24155 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24156 # The file is in a subdirectory.
24157 test ! -d "$ac_dir" && mkdir "$ac_dir"
24160 mv conftest.h $ac_file
24166 cat >> $CONFIG_STATUS <<EOF
24167 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCODECVT_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $CLOCALE_INTERNAL_H $LINKER_MAP"
24168 ac_dests="src/basic_file.cc src/c++locale.cc src/codecvt_members.cc src/collate_members.cc src/ctype_members.cc src/messages_members.cc src/monetary_members.cc src/numeric_members.cc src/time_members.cc src/c++locale_internal.h src/linker.map"
24171 cat >> $CONFIG_STATUS <<\EOF
24172 srcdir=$ac_given_srcdir
24173 while test -n "$ac_sources"; do
24174 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
24175 set $ac_sources; ac_source=$1; shift; ac_sources=$*
24177 echo "linking $srcdir/$ac_source to $ac_dest"
24179 if test ! -r $srcdir/$ac_source; then
24180 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
24184 # Make relative symlinks.
24185 # Remove last slash and all that follows it. Not all systems have dirname.
24186 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
24187 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
24188 # The dest file is in a subdirectory.
24189 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
24190 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
24191 # A "../" for each directory in $ac_dest_dir_suffix.
24192 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
24194 ac_dest_dir_suffix= ac_dots=
24198 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
24199 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
24202 # Make a symlink if possible; otherwise try a hard link.
24203 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
24204 ln $srcdir/$ac_source $ac_dest; then :
24206 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
24210 cat >> $CONFIG_STATUS <<EOF
24215 with_multisubdir=${with_multisubdir}
24216 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24217 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24218 glibcpp_basedir=${glibcpp_basedir}
24223 cat >> $CONFIG_STATUS <<\EOF
24224 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24225 if test -n "$CONFIG_FILES"; then
24226 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24227 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24228 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24229 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24232 chmod +x testsuite_flags
24236 chmod +x $CONFIG_STATUS
24237 rm -fr confdefs* $ac_clean_files
24238 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24242 # Sanity checking & User-visible messages.
24243 # Checks down here, otherwise they get scrolled off before
24244 # the user will notice.
24246 # Trying to get more people to read documentation. Possibly remove
24247 # check and warn all the time. There is no "informational" AC_MSG_
24248 # macro, so these are going to be printed even when --quiet/--silent
24250 if test ! -f stamp-sanity-warned; then
24251 touch stamp-sanity-warned
24253 echo "Please make certain that you read the installation information here:"
24254 echo " faster => ${srcdir}/docs/html/install.html"
24255 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24257 echo "and the configuration information here:"
24258 echo " faster => ${srcdir}/docs/html/configopts.html"
24259 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24261 echo "before proceeding with ${_cv_gnu_make_command}."