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
2427 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2428 SAVE_CFLAGS="$CFLAGS"
2429 CFLAGS="$CFLAGS -belf"
2430 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2431 echo "configure:2432: checking whether the C compiler needs -belf" >&5
2432 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2433 echo $ac_n "(cached) $ac_c" 1>&6
2437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2438 ac_cpp='$CPP $CPPFLAGS'
2439 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2440 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2441 cross_compiling=$ac_cv_prog_cc_cross
2443 cat > conftest.$ac_ext <<EOF
2444 #line 2445 "configure"
2445 #include "confdefs.h"
2451 if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2453 lt_cv_cc_needs_belf=yes
2455 echo "configure: failed program was:" >&5
2456 cat conftest.$ac_ext >&5
2458 lt_cv_cc_needs_belf=no
2462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2463 ac_cpp='$CPP $CPPFLAGS'
2464 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2465 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2466 cross_compiling=$ac_cv_prog_cc_cross
2470 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2471 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2472 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2473 CFLAGS="$SAVE_CFLAGS"
2480 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2481 echo "configure:2482: checking how to run the C++ preprocessor" >&5
2482 if test -z "$CXXCPP"; then
2483 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2484 echo $ac_n "(cached) $ac_c" 1>&6
2487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2488 ac_cpp='$CXXCPP $CPPFLAGS'
2489 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2490 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2491 cross_compiling=$ac_cv_prog_cxx_cross
2492 CXXCPP="${CXX-g++} -E"
2493 cat > conftest.$ac_ext <<EOF
2494 #line 2495 "configure"
2495 #include "confdefs.h"
2498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2499 { (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2501 if test -z "$ac_err"; then
2505 echo "configure: failed program was:" >&5
2506 cat conftest.$ac_ext >&5
2511 ac_cv_prog_CXXCPP="$CXXCPP"
2513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2517 cross_compiling=$ac_cv_prog_cc_cross
2520 CXXCPP="$ac_cv_prog_CXXCPP"
2521 echo "$ac_t""$CXXCPP" 1>&6
2524 # Save cache, so that ltconfig can load it
2525 cat > confcache <<\EOF
2526 # This file is a shell script that caches the results of configure
2527 # tests run on this system so they can be shared between configure
2528 # scripts and configure runs. It is not useful on other systems.
2529 # If it contains results you don't want to keep, you may remove or edit it.
2531 # By default, configure uses ./config.cache as the cache file,
2532 # creating it if it does not exist already. You can give configure
2533 # the --cache-file=FILE option to use a different cache file; that is
2534 # what configure does when it calls configure scripts in
2535 # subdirectories, so they share the cache.
2536 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2537 # config.status only pays attention to the cache file if you give it the
2538 # --recheck option to rerun configure.
2541 # The following way of writing the cache mishandles newlines in values,
2542 # but we know of no workaround that is simple, portable, and efficient.
2543 # So, don't put newlines in cache variables' values.
2544 # Ultrix sh set writes to stderr and can't be redirected directly,
2545 # and sets the high bit in the cache file unless we assign to the vars.
2547 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2549 # `set' does not quote correctly, so add quotes (double-quote substitution
2550 # turns \\\\ into \\, and sed turns \\ into \).
2552 -e "s/'/'\\\\''/g" \
2553 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2556 # `set' quotes correctly as required by POSIX, so do not add quotes.
2557 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2560 if cmp -s $cache_file confcache; then
2563 if test -w $cache_file; then
2564 echo "updating cache $cache_file"
2565 cat confcache > $cache_file
2567 echo "not updating unwritable cache $cache_file"
2573 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2574 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2575 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2576 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2577 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2578 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2579 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2580 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2581 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2582 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2584 # Reload cache, that may have been modified by ltconfig
2585 if test -r "$cache_file"; then
2586 echo "loading cache $cache_file"
2589 echo "creating cache $cache_file"
2594 # This can be used to rebuild libtool when needed
2595 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2597 # Always use our own libtool.
2598 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2600 # Redirect the config.log output again, so that the ltconfig log is not
2601 # clobbered by the next message.
2602 exec 5>>./config.log
2606 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2608 lt_save_CFLAGS="$CFLAGS"
2609 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2610 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2611 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2612 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2613 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2614 deplibs_check_method="$deplibs_check_method" \
2615 file_magic_cmd="$file_magic_cmd" \
2616 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2617 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2618 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2620 CFLAGS="$lt_save_CFLAGS"
2622 # Redirect the config.log output again, so that the ltconfig log is not
2623 # clobbered by the next message.
2624 exec 5>>./config.log
2634 # Check for c++ or library specific bits that don't require linking.
2635 #GLIBCPP_CHECK_COMPILER_VERSION
2636 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2637 echo "configure:2638: checking for GNU make" >&5
2638 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2639 echo $ac_n "(cached) $ac_c" 1>&6
2641 _cv_gnu_make_command='' ;
2642 for a in "${MAKE-make}" make gmake gnumake ; do
2643 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2645 _cv_gnu_make_command=$a ;
2652 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2653 if test "x$_cv_gnu_make_command" != "x" ; then
2661 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2662 # Check whether --enable-debug or --disable-debug was given.
2663 if test "${enable_debug+set}" = set; then
2664 enableval="$enable_debug"
2665 case "${enableval}" in
2666 yes) enable_debug=yes ;;
2667 no) enable_debug=no ;;
2668 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2674 case "${enable_debug}" in
2676 DEBUG_FLAGS='-O0 -ggdb3'
2684 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2685 echo "configure:2686: checking how to run the C preprocessor" >&5
2686 # On Suns, sometimes $CPP names a directory.
2687 if test -n "$CPP" && test -d "$CPP"; then
2690 if test -z "$CPP"; then
2691 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2692 echo $ac_n "(cached) $ac_c" 1>&6
2694 # This must be in double quotes, not single quotes, because CPP may get
2695 # substituted into the Makefile and "${CC-cc}" will confuse make.
2697 # On the NeXT, cc -E runs the code through the compiler's parser,
2698 # not just through cpp.
2699 cat > conftest.$ac_ext <<EOF
2700 #line 2701 "configure"
2701 #include "confdefs.h"
2705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2706 { (eval echo configure:2707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2708 if test -z "$ac_err"; then
2712 echo "configure: failed program was:" >&5
2713 cat conftest.$ac_ext >&5
2715 CPP="${CC-cc} -E -traditional-cpp"
2716 cat > conftest.$ac_ext <<EOF
2717 #line 2718 "configure"
2718 #include "confdefs.h"
2722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2723 { (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2725 if test -z "$ac_err"; then
2729 echo "configure: failed program was:" >&5
2730 cat conftest.$ac_ext >&5
2732 CPP="${CC-cc} -nologo -E"
2733 cat > conftest.$ac_ext <<EOF
2734 #line 2735 "configure"
2735 #include "confdefs.h"
2739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2740 { (eval echo configure:2741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2742 if test -z "$ac_err"; then
2746 echo "configure: failed program was:" >&5
2747 cat conftest.$ac_ext >&5
2756 ac_cv_prog_CPP="$CPP"
2758 CPP="$ac_cv_prog_CPP"
2760 ac_cv_prog_CPP="$CPP"
2762 echo "$ac_t""$CPP" 1>&6
2765 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2766 echo "configure:2767: checking for cstdio to use" >&5
2767 # Check whether --enable-cstdio or --disable-cstdio was given.
2768 if test "${enable_cstdio+set}" = set; then
2769 enableval="$enable_cstdio"
2770 if test x$enable_cstdio = xno; then
2778 enable_cstdio_flag=$enable_cstdio
2780 case x${enable_cstdio_flag} in
2782 CSTDIO_H=config/io/c_io_libio.h
2783 BASIC_FILE_H=config/io/basic_file_libio.h
2784 BASIC_FILE_CC=config/io/basic_file_libio.cc
2785 echo "$ac_t""libio" 1>&6
2787 # see if we are on a system with libio native (ie, linux)
2788 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2789 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2790 echo "configure:2791: checking for libio.h" >&5
2791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2792 echo $ac_n "(cached) $ac_c" 1>&6
2794 cat > conftest.$ac_ext <<EOF
2795 #line 2796 "configure"
2796 #include "confdefs.h"
2799 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2800 { (eval echo configure:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2802 if test -z "$ac_err"; then
2804 eval "ac_cv_header_$ac_safe=yes"
2807 echo "configure: failed program was:" >&5
2808 cat conftest.$ac_ext >&5
2810 eval "ac_cv_header_$ac_safe=no"
2814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2815 echo "$ac_t""yes" 1>&6
2818 echo "$ac_t""no" 1>&6
2823 # Need to check and see what version of glibc is being used. If
2824 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2825 # compile most of libio for linux systems.
2826 if test x$has_libio = x"yes"; then
2829 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2830 echo "configure:2831: checking for glibc version >= 2.2" >&5
2831 cat > conftest.$ac_ext <<EOF
2832 #line 2833 "configure"
2833 #include "confdefs.h"
2835 #include <features.h>
2836 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2842 egrep "ok" >/dev/null 2>&1; then
2844 glibc_satisfactory=yes
2847 glibc_satisfactory=no
2851 echo "$ac_t""$glibc_satisfactory" 1>&6
2855 # XXX at the moment, admit defeat and force the recompilation
2856 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2857 glibc_satisfactory=no
2859 if test x$glibc_satisfactory = x"yes"; then
2864 # bkoz XXX need to add checks to enable this
2865 # pme XXX here's a first pass at such a check
2866 if test x$enable_c_mbchar != xno; then
2874 # Using libio, but <libio.h> doesn't exist on the target system. . .
2876 # bkoz XXX need to add checks to enable this
2877 # pme XXX here's a first pass at such a check
2878 if test x$enable_c_mbchar != xno; then
2885 xstdio | x | xno | xnone | xyes)
2887 CSTDIO_H=config/io/c_io_stdio.h
2888 BASIC_FILE_H=config/io/basic_file_stdio.h
2889 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2890 echo "$ac_t""stdio" 1>&6
2892 # We're not using stdio.
2897 echo "$enable_cstdio is an unknown io package" 1>&2
2905 # 2000-08-04 bkoz hack
2906 CCODECVT_C=config/io/c_io_libio_codecvt.c
2908 # 2000-08-04 bkoz hack
2912 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2913 GLIBCPP_BUILD_LIBIO_TRUE=
2914 GLIBCPP_BUILD_LIBIO_FALSE='#'
2916 GLIBCPP_BUILD_LIBIO_TRUE='#'
2917 GLIBCPP_BUILD_LIBIO_FALSE=
2921 if test "$need_libio" = yes; then
2922 GLIBCPP_NEED_LIBIO_TRUE=
2923 GLIBCPP_NEED_LIBIO_FALSE='#'
2925 GLIBCPP_NEED_LIBIO_TRUE='#'
2926 GLIBCPP_NEED_LIBIO_FALSE=
2930 if test "$need_wlibio" = yes; then
2931 GLIBCPP_NEED_WLIBIO_TRUE=
2932 GLIBCPP_NEED_WLIBIO_FALSE='#'
2934 GLIBCPP_NEED_WLIBIO_TRUE='#'
2935 GLIBCPP_NEED_WLIBIO_FALSE=
2937 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2938 libio_la=../libio/libio.la
2945 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2946 echo "configure:2947: checking for clocale to use" >&5
2947 # Check whether --enable-clocale or --disable-clocale was given.
2948 if test "${enable_clocale+set}" = set; then
2949 enableval="$enable_clocale"
2950 if test x$enable_clocale = xno; then
2958 enable_clocale_flag=$enable_clocale
2960 if test x$enable_clocale_flag = xno; then
2961 case x${target_os} in
2963 cat > conftest.$ac_ext <<EOF
2964 #line 2965 "configure"
2965 #include "confdefs.h"
2967 #include <features.h>
2968 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2974 egrep "_GLIBCPP_ok" >/dev/null 2>&1; then
2976 enable_clocale_flag=gnu
2979 enable_clocale_flag=generic
2984 # Test for bugs early in glibc-2.2.x series
2985 if test x$enable_clocale_flag = xgnu; then
2986 if test "$cross_compiling" = yes; then
2987 enable_clocale_flag=generic
2989 cat > conftest.$ac_ext <<EOF
2990 #line 2991 "configure"
2991 #include "confdefs.h"
2993 #define _GNU_SOURCE 1
2996 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
2997 extern __typeof(newlocale) __newlocale;
2998 extern __typeof(duplocale) __duplocale;
2999 extern __typeof(strcoll_l) __strcoll_l;
3003 const char __one[] = "Äuglein Augmen";
3004 const char __two[] = "Äuglein";
3009 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
3010 loc_dup = __duplocale(loc);
3011 i = __strcoll_l(__one, __two, loc);
3012 j = __strcoll_l(__one, __two, loc_dup);
3017 if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3019 enable_clocale_flag=gnu
3021 echo "configure: failed program was:" >&5
3022 cat conftest.$ac_ext >&5
3024 enable_clocale_flag=generic
3031 # ... at some point put __strxfrm_l tests in as well.
3034 enable_clocale_flag=generic
3039 # Check whether --enable-nls or --disable-nls was given.
3040 if test "${enable_nls+set}" = set; then
3041 enableval="$enable_nls"
3049 case x${enable_clocale_flag} in
3051 echo "$ac_t""generic" 1>&6
3053 CLOCALE_H=config/locale/generic/c_locale.h
3054 CLOCALE_CC=config/locale/generic/c_locale.cc
3055 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3056 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3057 CCOLLATE_CC=config/locale/generic/collate_members.cc
3058 CCTYPE_CC=config/locale/generic/ctype_members.cc
3059 CMESSAGES_H=config/locale/generic/messages_members.h
3060 CMESSAGES_CC=config/locale/generic/messages_members.cc
3061 CMONEY_CC=config/locale/generic/monetary_members.cc
3062 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3063 CTIME_CC=config/locale/generic/time_members.cc
3064 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3067 echo "$ac_t""gnu" 1>&6
3069 # Declare intention to use gettext, and add support for specific
3071 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3074 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3075 # Extract the first word of "msgfmt", so it can be a program name with args.
3076 set dummy msgfmt; ac_word=$2
3077 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3078 echo "configure:3079: checking for $ac_word" >&5
3079 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3080 echo $ac_n "(cached) $ac_c" 1>&6
3082 if test -n "$check_msgfmt"; then
3083 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3087 for ac_dir in $ac_dummy; do
3088 test -z "$ac_dir" && ac_dir=.
3089 if test -f $ac_dir/$ac_word; then
3090 ac_cv_prog_check_msgfmt="yes"
3095 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
3098 check_msgfmt="$ac_cv_prog_check_msgfmt"
3099 if test -n "$check_msgfmt"; then
3100 echo "$ac_t""$check_msgfmt" 1>&6
3102 echo "$ac_t""no" 1>&6
3105 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3108 # Export the build objects.
3109 for ling in $ALL_LINGUAS; do \
3110 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
3111 glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
3116 CLOCALE_H=config/locale/gnu/c_locale.h
3117 CLOCALE_CC=config/locale/gnu/c_locale.cc
3118 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3119 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3120 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3121 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3122 CMESSAGES_H=config/locale/gnu/messages_members.h
3123 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3124 CMONEY_CC=config/locale/gnu/monetary_members.cc
3125 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3126 CTIME_CC=config/locale/gnu/time_members.cc
3127 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3130 echo "$ac_t""generic" 1>&6
3132 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3133 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3134 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3135 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3136 CCOLLATE_CC=config/locale/generic/collate_members.cc
3137 CCTYPE_CC=config/locale/generic/ctype_members.cc
3138 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3139 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3140 CMONEY_CC=config/locale/generic/monetary_members.cc
3141 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3142 CTIME_CC=config/locale/generic/time_members.cc
3143 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3146 echo "$enable_clocale is an unknown locale package" 1>&2
3151 # This is where the testsuite looks for locale catalogs, using the
3152 # -DLOCALEDIR define during testsuite compilation.
3153 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3156 # For the time being, transform ctype_noninline.h to ctype_members_char.cc
3157 # CCTYPE_CHAR_CC=config/${os_include_dir}/ctype_noninline.h
3166 # AC_LINK_FILES($CCTYPE_CHAR_CC, src/ctype_members_char.cc)
3174 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3175 if test "${enable_c_mbchar+set}" = set; then
3176 enableval="$enable_c_mbchar"
3177 case "$enableval" in
3178 yes) enable_c_mbchar=yes ;;
3179 no) enable_c_mbchar=no ;;
3180 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
3187 # Check whether --enable-c99 or --disable-c99 was given.
3188 if test "${enable_c99+set}" = set; then
3189 enableval="$enable_c99"
3190 case "$enableval" in
3191 yes) enable_c99=yes ;;
3192 no) enable_c99=no ;;
3193 *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
3201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3202 ac_cpp='$CXXCPP $CPPFLAGS'
3203 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3204 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3205 cross_compiling=$ac_cv_prog_cxx_cross
3208 # Check for the existence of <math.h> functions used if C99 is enabled.
3210 echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
3211 echo "configure:3212: checking for ISO C99 support in <math.h>" >&5
3212 cat > conftest.$ac_ext <<EOF
3213 #line 3214 "configure"
3214 #include "confdefs.h"
3220 if { (eval echo configure:3221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3223 echo "configure: failed program was:" >&5
3224 cat conftest.$ac_ext >&5
3229 cat > conftest.$ac_ext <<EOF
3230 #line 3231 "configure"
3231 #include "confdefs.h"
3237 if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3240 echo "configure: failed program was:" >&5
3241 cat conftest.$ac_ext >&5
3246 cat > conftest.$ac_ext <<EOF
3247 #line 3248 "configure"
3248 #include "confdefs.h"
3254 if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3257 echo "configure: failed program was:" >&5
3258 cat conftest.$ac_ext >&5
3263 cat > conftest.$ac_ext <<EOF
3264 #line 3265 "configure"
3265 #include "confdefs.h"
3271 if { (eval echo configure:3272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3274 echo "configure: failed program was:" >&5
3275 cat conftest.$ac_ext >&5
3280 cat > conftest.$ac_ext <<EOF
3281 #line 3282 "configure"
3282 #include "confdefs.h"
3288 if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3291 echo "configure: failed program was:" >&5
3292 cat conftest.$ac_ext >&5
3297 cat > conftest.$ac_ext <<EOF
3298 #line 3299 "configure"
3299 #include "confdefs.h"
3305 if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3308 echo "configure: failed program was:" >&5
3309 cat conftest.$ac_ext >&5
3314 cat > conftest.$ac_ext <<EOF
3315 #line 3316 "configure"
3316 #include "confdefs.h"
3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3325 echo "configure: failed program was:" >&5
3326 cat conftest.$ac_ext >&5
3331 cat > conftest.$ac_ext <<EOF
3332 #line 3333 "configure"
3333 #include "confdefs.h"
3336 isgreaterequal(0.0,0.0);
3339 if { (eval echo configure:3340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3342 echo "configure: failed program was:" >&5
3343 cat conftest.$ac_ext >&5
3348 cat > conftest.$ac_ext <<EOF
3349 #line 3350 "configure"
3350 #include "confdefs.h"
3356 if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3359 echo "configure: failed program was:" >&5
3360 cat conftest.$ac_ext >&5
3365 cat > conftest.$ac_ext <<EOF
3366 #line 3367 "configure"
3367 #include "confdefs.h"
3370 islessequal(0.0,0.0);
3373 if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3376 echo "configure: failed program was:" >&5
3377 cat conftest.$ac_ext >&5
3382 cat > conftest.$ac_ext <<EOF
3383 #line 3384 "configure"
3384 #include "confdefs.h"
3387 islessgreater(0.0,0.0);
3390 if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3393 echo "configure: failed program was:" >&5
3394 cat conftest.$ac_ext >&5
3399 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure"
3401 #include "confdefs.h"
3404 isunordered(0.0,0.0);
3407 if { (eval echo configure:3408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3410 echo "configure: failed program was:" >&5
3411 cat conftest.$ac_ext >&5
3416 echo "$ac_t""$ac_c99_math" 1>&6
3418 # Check for the existence in <stdio.h> of vscanf, et. al.
3420 echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
3421 echo "configure:3422: checking for ISO C99 support in <stdio.h>" >&5
3422 cat > conftest.$ac_ext <<EOF
3423 #line 3424 "configure"
3424 #include "confdefs.h"
3427 snprintf("12", 0, "%i");
3430 if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3433 echo "configure: failed program was:" >&5
3434 cat conftest.$ac_ext >&5
3439 cat > conftest.$ac_ext <<EOF
3440 #line 3441 "configure"
3441 #include "confdefs.h"
3444 void foo(char* fmt, ...)
3445 {va_list args; va_start(args, fmt);
3446 vfscanf(stderr, "%i", args);}
3451 if { (eval echo configure:3452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3454 echo "configure: failed program was:" >&5
3455 cat conftest.$ac_ext >&5
3460 cat > conftest.$ac_ext <<EOF
3461 #line 3462 "configure"
3462 #include "confdefs.h"
3465 void foo(char* fmt, ...)
3466 {va_list args; va_start(args, fmt);
3467 vscanf("%i", args);}
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 vsnprintf(fmt, 0, "%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 vsscanf(fmt, "%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 echo "$ac_t""$ac_c99_stdio" 1>&6
3525 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3527 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3528 echo "configure:3529: checking for lldiv_t declaration" >&5
3529 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3530 echo $ac_n "(cached) $ac_c" 1>&6
3533 cat > conftest.$ac_ext <<EOF
3534 #line 3535 "configure"
3535 #include "confdefs.h"
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3545 echo "configure: failed program was:" >&5
3546 cat conftest.$ac_ext >&5
3554 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3556 echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
3557 echo "configure:3558: checking for ISO C99 support in <stdlib.h>" >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure"
3560 #include "confdefs.h"
3563 char* tmp; strtof("gnu", &tmp);
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569 echo "configure: failed program was:" >&5
3570 cat conftest.$ac_ext >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure"
3577 #include "confdefs.h"
3580 char* tmp; strtold("gnu", &tmp);
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure: failed program was:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure"
3594 #include "confdefs.h"
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure: failed program was:" >&5
3604 cat conftest.$ac_ext >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure"
3611 #include "confdefs.h"
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 echo "configure: failed program was:" >&5
3621 cat conftest.$ac_ext >&5
3626 cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure"
3628 #include "confdefs.h"
3634 if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3637 echo "configure: failed program was:" >&5
3638 cat conftest.$ac_ext >&5
3643 cat > conftest.$ac_ext <<EOF
3644 #line 3645 "configure"
3645 #include "confdefs.h"
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3654 echo "configure: failed program was:" >&5
3655 cat conftest.$ac_ext >&5
3660 if test x"$ac_c99_lldiv_t" = x"no"; then
3663 echo "$ac_t""$ac_c99_stdlib" 1>&6
3665 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3666 # XXX the wchar.h checks should be rolled into the general C99 bits.
3668 echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
3669 echo "configure:3670: checking for additional ISO C99 support in <wchar.h>" >&5
3670 cat > conftest.$ac_ext <<EOF
3671 #line 3672 "configure"
3672 #include "confdefs.h"
3675 wcstold(L"10.0", NULL);
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure: failed program was:" >&5
3682 cat conftest.$ac_ext >&5
3687 cat > conftest.$ac_ext <<EOF
3688 #line 3689 "configure"
3689 #include "confdefs.h"
3692 wcstoll(L"10", NULL, 10);
3695 if { (eval echo configure:3696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3698 echo "configure: failed program was:" >&5
3699 cat conftest.$ac_ext >&5
3704 cat > conftest.$ac_ext <<EOF
3705 #line 3706 "configure"
3706 #include "confdefs.h"
3709 wcstoull(L"10", NULL, 10);
3712 if { (eval echo configure:3713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3715 echo "configure: failed program was:" >&5
3716 cat conftest.$ac_ext >&5
3721 echo "$ac_t""$ac_c99_wchar" 1>&6
3723 echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
3724 echo "configure:3725: checking for enabled ISO C99 support" >&5
3725 if test x"$ac_c99_math" = x"no" ||
3726 test x"$ac_c99_stdio" = x"no" ||
3727 test x"$ac_c99_stdlib" = x"no" ||
3728 test x"$ac_c99_wchar" = x"no"; then
3731 echo "$ac_t""$enable_c99" 1>&6
3733 # Option parsed, now set things appropriately
3734 if test x"$enable_c99" = x"yes"; then
3735 cat >> confdefs.h <<\EOF
3736 #define _GLIBCPP_USE_C99 1
3742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3746 cross_compiling=$ac_cv_prog_cc_cross
3750 # Check whether --enable-long-long or --disable-long-long was given.
3751 if test "${enable_long_long+set}" = set; then
3752 enableval="$enable_long_long"
3753 case "$enableval" in
3754 yes) enable_long_long=yes ;;
3755 no) enable_long_long=no ;;
3756 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
3759 enable_long_long=yes
3764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3765 ac_cpp='$CXXCPP $CPPFLAGS'
3766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3768 cross_compiling=$ac_cv_prog_cxx_cross
3771 echo $ac_n "checking for enabled long long I/O support""... $ac_c" 1>&6
3772 echo "configure:3773: checking for enabled long long I/O support" >&5
3773 # iostreams require strtoll, strtoull to compile
3774 cat > conftest.$ac_ext <<EOF
3775 #line 3776 "configure"
3776 #include "confdefs.h"
3779 char* tmp; strtoll("gnu", &tmp, 10);
3782 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3785 echo "configure: failed program was:" >&5
3786 cat conftest.$ac_ext >&5
3791 cat > conftest.$ac_ext <<EOF
3792 #line 3793 "configure"
3793 #include "confdefs.h"
3796 char* tmp; strtoull("gnu", &tmp, 10);
3799 if { (eval echo configure:3800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3802 echo "configure: failed program was:" >&5
3803 cat conftest.$ac_ext >&5
3809 # Option parsed, now set things appropriately
3810 if test x"$enable_long_long" = xyes; then
3811 cat >> confdefs.h <<\EOF
3812 #define _GLIBCPP_USE_LONG_LONG 1
3816 echo "$ac_t""$enable_long_long" 1>&6
3819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3820 ac_cpp='$CPP $CPPFLAGS'
3821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3823 cross_compiling=$ac_cv_prog_cc_cross
3826 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3827 echo "configure:3828: checking for c header strategy to use" >&5
3828 # Check whether --enable-cheaders or --disable-cheaders was given.
3829 if test "${enable_cheaders+set}" = set; then
3830 enableval="$enable_cheaders"
3832 case "$enableval" in
3837 enable_cheaders=c_std
3840 enable_cheaders=c_shadow
3842 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3846 enable_cheaders=c_std
3849 echo "$ac_t""$enable_cheaders" 1>&6
3851 case "$enable_cheaders" in
3853 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3856 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3859 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3866 if test "$enable_cheaders" = c; then
3867 GLIBCPP_C_HEADERS_C_TRUE=
3868 GLIBCPP_C_HEADERS_C_FALSE='#'
3870 GLIBCPP_C_HEADERS_C_TRUE='#'
3871 GLIBCPP_C_HEADERS_C_FALSE=
3875 if test "$enable_cheaders" = c_std; then
3876 GLIBCPP_C_HEADERS_C_STD_TRUE=
3877 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3879 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3880 GLIBCPP_C_HEADERS_C_STD_FALSE=
3884 if test "$c_compatibility" = yes; then
3885 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3886 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3888 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3889 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3893 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3894 echo "configure:3895: checking for thread model used by GCC" >&5
3895 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3896 echo "$ac_t""$target_thread_file" 1>&6
3898 if test $target_thread_file != single; then
3899 cat >> confdefs.h <<\EOF
3900 #define HAVE_GTHR_DEFAULT 1
3903 cat >> confdefs.h <<\EOF
3904 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3909 glibcpp_thread_h=gthr-$target_thread_file.h
3912 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3913 if test "${enable_cxx_flags+set}" = set; then
3914 enableval="$enable_cxx_flags"
3915 case "x$enableval" in
3917 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3919 enable_cxx_flags='' ;;
3921 enable_cxx_flags="$enableval" ;;
3924 enable_cxx_flags='none'
3928 if test "$enable_cxx_flags" = "none"; then
3929 enable_cxx_flags='';
3932 if test -n "$enable_cxx_flags"; then
3933 for f in $enable_cxx_flags; do
3937 *) # and we're trying to pass /what/ exactly?
3938 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3942 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3946 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3947 echo "configure:3948: checking for exception model to use" >&5
3950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3951 ac_cpp='$CXXCPP $CPPFLAGS'
3952 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3953 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3954 cross_compiling=$ac_cv_prog_cxx_cross
3956 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3957 if test "${enable_sjlj_exceptions+set}" = set; then
3958 enableval="$enable_sjlj_exceptions"
3961 cat > conftest.$ac_ext << EOF
3962 #line 3963 "configure"
3971 old_CXXFLAGS="$CXXFLAGS"
3973 if { (eval echo configure:3974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3974 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3975 enable_sjlj_exceptions=yes
3976 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3977 enable_sjlj_exceptions=no
3980 CXXFLAGS="$old_CXXFLAGS"
3984 if test x$enable_sjlj_exceptions = xyes; then
3985 cat >> confdefs.h <<\EOF
3986 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3989 ac_exception_model_name=sjlj
3990 elif test x$enable_sjlj_exceptions = xno; then
3991 ac_exception_model_name="call frame"
3993 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3997 ac_cpp='$CPP $CPPFLAGS'
3998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4000 cross_compiling=$ac_cv_prog_cc_cross
4002 echo "$ac_t""$ac_exception_model_name" 1>&6
4005 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4006 echo "configure:4007: checking for use of libunwind" >&5
4007 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4008 if test "${enable_libunwind_exceptions+set}" = set; then
4009 enableval="$enable_libunwind_exceptions"
4010 use_libunwind_exceptions=$enableval
4012 use_libunwind_exceptions=no
4015 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4016 if test x"$use_libunwind_exceptions" = xyes; then
4017 LIBUNWIND_FLAG="-lunwind"
4023 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4024 if test "${enable_concept_checks+set}" = set; then
4025 enableval="$enable_concept_checks"
4026 case "$enableval" in
4027 yes) enable_concept_checks=yes ;;
4028 no) enable_concept_checks=no ;;
4029 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4032 enable_concept_checks=no
4034 if test x"$enable_concept_checks" = xyes; then
4035 cat >> confdefs.h <<\EOF
4036 #define _GLIBCPP_CONCEPT_CHECKS 1
4042 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4043 for ac_hdr in string.h stdlib.h
4045 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4046 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4047 echo "configure:4048: checking for $ac_hdr" >&5
4048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4049 echo $ac_n "(cached) $ac_c" 1>&6
4051 cat > conftest.$ac_ext <<EOF
4052 #line 4053 "configure"
4053 #include "confdefs.h"
4056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4057 { (eval echo configure:4058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4059 if test -z "$ac_err"; then
4061 eval "ac_cv_header_$ac_safe=yes"
4064 echo "configure: failed program was:" >&5
4065 cat conftest.$ac_ext >&5
4067 eval "ac_cv_header_$ac_safe=no"
4071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4072 echo "$ac_t""yes" 1>&6
4073 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4074 cat >> confdefs.h <<EOF
4075 #define $ac_tr_hdr 1
4079 echo "$ac_t""no" 1>&6
4084 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4086 # We are being configured with some form of cross compiler.
4087 GLIBCPP_IS_CROSS_COMPILING=1
4089 # This lets us hard-code the functionality we know we'll have in the cross
4090 # target environment. "Let" is a sugar-coated word placed on an especially
4091 # dull and tedious hack, actually.
4093 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4094 # that involve linking, can't be used:
4095 # "cannot open sim-crt0.o"
4096 # "cannot open crt0.o"
4097 # etc. All this is because there currently exists no unified, consistent
4098 # way for top level CC information to be passed down to target directories:
4099 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4100 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4101 # crosses can be removed.
4103 # If Canadian cross, then don't pick up tools from the build directory.
4104 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4105 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4111 # Construct crosses by hand, eliminating bits that need ld...
4112 # GLIBCPP_CHECK_COMPILER_FEATURES
4113 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4114 # GLIBCPP_CHECK_MATH_SUPPORT
4116 case "$target_alias" in
4118 os_include_dir="os/gnu-linux"
4119 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4120 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4121 fp.h locale.h float.h inttypes.h
4123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4125 echo "configure:4126: checking for $ac_hdr" >&5
4126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4127 echo $ac_n "(cached) $ac_c" 1>&6
4129 cat > conftest.$ac_ext <<EOF
4130 #line 4131 "configure"
4131 #include "confdefs.h"
4134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4135 { (eval echo configure:4136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4137 if test -z "$ac_err"; then
4139 eval "ac_cv_header_$ac_safe=yes"
4142 echo "configure: failed program was:" >&5
4143 cat conftest.$ac_ext >&5
4145 eval "ac_cv_header_$ac_safe=no"
4149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4150 echo "$ac_t""yes" 1>&6
4151 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4152 cat >> confdefs.h <<EOF
4153 #define $ac_tr_hdr 1
4157 echo "$ac_t""no" 1>&6
4161 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4164 # If we're not using GNU ld, then there's no point in even trying these
4165 # tests. Check for that first. We should have already tested for gld
4166 # by now (in libtool), but require it now just to be safe...
4167 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4168 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4171 # The name set by libtool depends on the version of libtool. Shame on us
4172 # for depending on an impl detail, but c'est la vie. Older versions used
4173 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4174 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4175 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4176 # set (hence we're using an older libtool), then set it.
4177 if test x${with_gnu_ld+set} != xset; then
4178 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4179 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4182 with_gnu_ld=$ac_cv_prog_gnu_ld
4186 # Start by getting the version number. I think the libtool test already
4187 # does some of this, but throws away the result.
4189 ldver=`$LD --version 2>/dev/null | head -1 | \
4190 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4192 glibcpp_gnu_ld_version=`echo $ldver | \
4193 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4195 # Set --gc-sections.
4196 if test "$with_gnu_ld" = "notbroken"; then
4197 # GNU ld it is! Joy and bunny rabbits!
4199 # All these tests are for C++; save the language and the compiler flags.
4200 # Need to do this so that g++ won't try to link in libstdc++
4201 ac_test_CFLAGS="${CFLAGS+set}"
4202 ac_save_CFLAGS="$CFLAGS"
4203 CFLAGS='-x c++ -Wl,--gc-sections'
4205 # Check for -Wl,--gc-sections
4206 # XXX This test is broken at the moment, as symbols required for
4207 # linking are now in libsupc++ (not built yet.....). In addition,
4208 # this test has cored on solaris in the past. In addition,
4209 # --gc-sections doesn't really work at the moment (keeps on discarding
4210 # used sections, first .eh_frame and now some of the glibc sections for
4211 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4212 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4213 echo "configure:4214: checking for ld that supports -Wl,--gc-sections" >&5
4214 if test "$cross_compiling" = yes; then
4215 ac_sectionLDflags=yes
4217 cat > conftest.$ac_ext <<EOF
4218 #line 4219 "configure"
4219 #include "confdefs.h"
4229 if { (eval echo configure:4230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4231 ac_sectionLDflags=yes
4233 echo "configure: failed program was:" >&5
4234 cat conftest.$ac_ext >&5
4236 ac_sectionLDflags=no
4241 if test "$ac_test_CFLAGS" = set; then
4242 CFLAGS="$ac_save_CFLAGS"
4244 # this is the suspicious part
4247 if test "$ac_sectionLDflags" = "yes"; then
4248 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4250 echo "$ac_t""$ac_sectionLDflags" 1>&6
4253 # Set linker optimization flags.
4254 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4255 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4262 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4263 echo "configure:4264: checking for main in -lm" >&5
4264 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4266 echo $ac_n "(cached) $ac_c" 1>&6
4268 ac_save_LIBS="$LIBS"
4270 cat > conftest.$ac_ext <<EOF
4271 #line 4272 "configure"
4272 #include "confdefs.h"
4278 if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4280 eval "ac_cv_lib_$ac_lib_var=yes"
4282 echo "configure: failed program was:" >&5
4283 cat conftest.$ac_ext >&5
4285 eval "ac_cv_lib_$ac_lib_var=no"
4288 LIBS="$ac_save_LIBS"
4291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4292 echo "$ac_t""yes" 1>&6
4293 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4294 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4295 cat >> confdefs.h <<EOF
4296 #define $ac_tr_lib 1
4302 echo "$ac_t""no" 1>&6
4305 for ac_func in nan copysignf
4307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4308 echo "configure:4309: checking for $ac_func" >&5
4309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4310 echo $ac_n "(cached) $ac_c" 1>&6
4312 cat > conftest.$ac_ext <<EOF
4313 #line 4314 "configure"
4314 #include "confdefs.h"
4315 /* System header to define __stub macros and hopefully few prototypes,
4316 which can conflict with char $ac_func(); below. */
4318 /* Override any gcc2 internal prototype to avoid an error. */
4319 /* We use char because int might match the return type of a gcc2
4320 builtin and then its argument prototype would still apply. */
4325 /* The GNU C library defines this for functions which it implements
4326 to always fail with ENOSYS. Some functions are actually named
4327 something starting with __ and the normal name is an alias. */
4328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4336 if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4338 eval "ac_cv_func_$ac_func=yes"
4340 echo "configure: failed program was:" >&5
4341 cat conftest.$ac_ext >&5
4343 eval "ac_cv_func_$ac_func=no"
4348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4349 echo "$ac_t""yes" 1>&6
4350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4351 cat >> confdefs.h <<EOF
4352 #define $ac_tr_func 1
4356 echo "$ac_t""no" 1>&6
4357 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4362 for ac_func in __signbit
4364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4365 echo "configure:4366: checking for $ac_func" >&5
4366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4367 echo $ac_n "(cached) $ac_c" 1>&6
4369 cat > conftest.$ac_ext <<EOF
4370 #line 4371 "configure"
4371 #include "confdefs.h"
4372 /* System header to define __stub macros and hopefully few prototypes,
4373 which can conflict with char $ac_func(); below. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4376 /* We use char because int might match the return type of a gcc2
4377 builtin and then its argument prototype would still apply. */
4382 /* The GNU C library defines this for functions which it implements
4383 to always fail with ENOSYS. Some functions are actually named
4384 something starting with __ and the normal name is an alias. */
4385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4393 if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4395 eval "ac_cv_func_$ac_func=yes"
4397 echo "configure: failed program was:" >&5
4398 cat conftest.$ac_ext >&5
4400 eval "ac_cv_func_$ac_func=no"
4405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4406 echo "$ac_t""yes" 1>&6
4407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4408 cat >> confdefs.h <<EOF
4409 #define $ac_tr_func 1
4413 echo "$ac_t""no" 1>&6
4414 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4418 for ac_func in __signbitf
4420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4421 echo "configure:4422: checking for $ac_func" >&5
4422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4423 echo $ac_n "(cached) $ac_c" 1>&6
4425 cat > conftest.$ac_ext <<EOF
4426 #line 4427 "configure"
4427 #include "confdefs.h"
4428 /* System header to define __stub macros and hopefully few prototypes,
4429 which can conflict with char $ac_func(); below. */
4431 /* Override any gcc2 internal prototype to avoid an error. */
4432 /* We use char because int might match the return type of a gcc2
4433 builtin and then its argument prototype would still apply. */
4438 /* The GNU C library defines this for functions which it implements
4439 to always fail with ENOSYS. Some functions are actually named
4440 something starting with __ and the normal name is an alias. */
4441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4449 if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4451 eval "ac_cv_func_$ac_func=yes"
4453 echo "configure: failed program was:" >&5
4454 cat conftest.$ac_ext >&5
4456 eval "ac_cv_func_$ac_func=no"
4461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4462 echo "$ac_t""yes" 1>&6
4463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4464 cat >> confdefs.h <<EOF
4465 #define $ac_tr_func 1
4469 echo "$ac_t""no" 1>&6
4470 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4475 if test x$ac_cv_func_copysignl = x"yes"; then
4476 for ac_func in __signbitl
4478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4479 echo "configure:4480: checking for $ac_func" >&5
4480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4481 echo $ac_n "(cached) $ac_c" 1>&6
4483 cat > conftest.$ac_ext <<EOF
4484 #line 4485 "configure"
4485 #include "confdefs.h"
4486 /* System header to define __stub macros and hopefully few prototypes,
4487 which can conflict with char $ac_func(); below. */
4489 /* Override any gcc2 internal prototype to avoid an error. */
4490 /* We use char because int might match the return type of a gcc2
4491 builtin and then its argument prototype would still apply. */
4496 /* The GNU C library defines this for functions which it implements
4497 to always fail with ENOSYS. Some functions are actually named
4498 something starting with __ and the normal name is an alias. */
4499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4507 if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4509 eval "ac_cv_func_$ac_func=yes"
4511 echo "configure: failed program was:" >&5
4512 cat conftest.$ac_ext >&5
4514 eval "ac_cv_func_$ac_func=no"
4519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4520 echo "$ac_t""yes" 1>&6
4521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4522 cat >> confdefs.h <<EOF
4523 #define $ac_tr_func 1
4527 echo "$ac_t""no" 1>&6
4528 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4538 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4539 echo "configure:4540: checking for mbstate_t" >&5
4540 cat > conftest.$ac_ext <<EOF
4541 #line 4542 "configure"
4542 #include "confdefs.h"
4545 mbstate_t teststate;
4548 if { (eval echo configure:4549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4552 echo "configure: failed program was:" >&5
4553 cat conftest.$ac_ext >&5
4558 echo "$ac_t""$have_mbstate_t" 1>&6
4559 if test x"$have_mbstate_t" = xyes; then
4560 cat >> confdefs.h <<\EOF
4561 #define HAVE_MBSTATE_T 1
4566 for ac_hdr in wchar.h
4568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4570 echo "configure:4571: checking for $ac_hdr" >&5
4571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4572 echo $ac_n "(cached) $ac_c" 1>&6
4574 cat > conftest.$ac_ext <<EOF
4575 #line 4576 "configure"
4576 #include "confdefs.h"
4579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4580 { (eval echo configure:4581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4582 if test -z "$ac_err"; then
4584 eval "ac_cv_header_$ac_safe=yes"
4587 echo "configure: failed program was:" >&5
4588 cat conftest.$ac_ext >&5
4590 eval "ac_cv_header_$ac_safe=no"
4594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4595 echo "$ac_t""yes" 1>&6
4596 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4597 cat >> confdefs.h <<EOF
4598 #define $ac_tr_hdr 1
4602 echo "$ac_t""no" 1>&6
4607 for ac_hdr in wctype.h
4609 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4610 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4611 echo "configure:4612: checking for $ac_hdr" >&5
4612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4613 echo $ac_n "(cached) $ac_c" 1>&6
4615 cat > conftest.$ac_ext <<EOF
4616 #line 4617 "configure"
4617 #include "confdefs.h"
4620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4621 { (eval echo configure:4622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4623 if test -z "$ac_err"; then
4625 eval "ac_cv_header_$ac_safe=yes"
4628 echo "configure: failed program was:" >&5
4629 cat conftest.$ac_ext >&5
4631 eval "ac_cv_header_$ac_safe=no"
4635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4636 echo "$ac_t""yes" 1>&6
4637 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4638 cat >> confdefs.h <<EOF
4639 #define $ac_tr_hdr 1
4643 echo "$ac_t""no" 1>&6
4649 if test x"$ac_has_wchar_h" = xyes &&
4650 test x"$ac_has_wctype_h" = xyes &&
4651 test x"$enable_c_mbchar" != xno; then
4653 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4654 echo "configure:4655: checking for WCHAR_MIN and WCHAR_MAX" >&5
4655 cat > conftest.$ac_ext <<EOF
4656 #line 4657 "configure"
4657 #include "confdefs.h"
4660 int i = WCHAR_MIN; int j = WCHAR_MAX;
4663 if { (eval echo configure:4664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4665 has_wchar_minmax=yes
4667 echo "configure: failed program was:" >&5
4668 cat conftest.$ac_ext >&5
4673 echo "$ac_t""$has_wchar_minmax" 1>&6
4675 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4676 echo "configure:4677: checking for WEOF" >&5
4677 cat > conftest.$ac_ext <<EOF
4678 #line 4679 "configure"
4679 #include "confdefs.h"
4687 if { (eval echo configure:4688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4691 echo "configure: failed program was:" >&5
4692 cat conftest.$ac_ext >&5
4697 echo "$ac_t""$has_weof" 1>&6
4700 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4702 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4703 echo "configure:4704: checking for $ac_func" >&5
4704 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4705 echo $ac_n "(cached) $ac_c" 1>&6
4707 cat > conftest.$ac_ext <<EOF
4708 #line 4709 "configure"
4709 #include "confdefs.h"
4710 /* System header to define __stub macros and hopefully few prototypes,
4711 which can conflict with char $ac_func(); below. */
4713 /* Override any gcc2 internal prototype to avoid an error. */
4714 /* We use char because int might match the return type of a gcc2
4715 builtin and then its argument prototype would still apply. */
4720 /* The GNU C library defines this for functions which it implements
4721 to always fail with ENOSYS. Some functions are actually named
4722 something starting with __ and the normal name is an alias. */
4723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4731 if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4733 eval "ac_cv_func_$ac_func=yes"
4735 echo "configure: failed program was:" >&5
4736 cat conftest.$ac_ext >&5
4738 eval "ac_cv_func_$ac_func=no"
4743 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4744 echo "$ac_t""yes" 1>&6
4745 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4746 cat >> confdefs.h <<EOF
4747 #define $ac_tr_func 1
4751 echo "$ac_t""no" 1>&6
4758 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4759 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4760 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4761 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4762 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4763 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4766 echo "configure:4767: checking for $ac_func" >&5
4767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4768 echo $ac_n "(cached) $ac_c" 1>&6
4770 cat > conftest.$ac_ext <<EOF
4771 #line 4772 "configure"
4772 #include "confdefs.h"
4773 /* System header to define __stub macros and hopefully few prototypes,
4774 which can conflict with char $ac_func(); below. */
4776 /* Override any gcc2 internal prototype to avoid an error. */
4777 /* We use char because int might match the return type of a gcc2
4778 builtin and then its argument prototype would still apply. */
4783 /* The GNU C library defines this for functions which it implements
4784 to always fail with ENOSYS. Some functions are actually named
4785 something starting with __ and the normal name is an alias. */
4786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4794 if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4796 eval "ac_cv_func_$ac_func=yes"
4798 echo "configure: failed program was:" >&5
4799 cat conftest.$ac_ext >&5
4801 eval "ac_cv_func_$ac_func=no"
4806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4807 echo "$ac_t""yes" 1>&6
4808 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4809 cat >> confdefs.h <<EOF
4810 #define $ac_tr_func 1
4814 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4822 echo "configure:4823: checking for ISO C99 wchar_t support" >&5
4823 if test x"$has_weof" = xyes &&
4824 test x"$has_wchar_minmax" = xyes &&
4825 test x"$ac_wfuncs" = xyes; then
4826 ac_isoC99_wchar_t=yes
4828 ac_isoC99_wchar_t=no
4830 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4832 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4833 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4834 echo "configure:4835: checking for iconv.h" >&5
4835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4836 echo $ac_n "(cached) $ac_c" 1>&6
4838 cat > conftest.$ac_ext <<EOF
4839 #line 4840 "configure"
4840 #include "confdefs.h"
4843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4844 { (eval echo configure:4845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4846 if test -z "$ac_err"; then
4848 eval "ac_cv_header_$ac_safe=yes"
4851 echo "configure: failed program was:" >&5
4852 cat conftest.$ac_ext >&5
4854 eval "ac_cv_header_$ac_safe=no"
4858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4859 echo "$ac_t""yes" 1>&6
4862 echo "$ac_t""no" 1>&6
4866 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4867 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4868 echo "configure:4869: checking for langinfo.h" >&5
4869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4870 echo $ac_n "(cached) $ac_c" 1>&6
4872 cat > conftest.$ac_ext <<EOF
4873 #line 4874 "configure"
4874 #include "confdefs.h"
4875 #include <langinfo.h>
4877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4878 { (eval echo configure:4879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4880 if test -z "$ac_err"; then
4882 eval "ac_cv_header_$ac_safe=yes"
4885 echo "configure: failed program was:" >&5
4886 cat conftest.$ac_ext >&5
4888 eval "ac_cv_header_$ac_safe=no"
4892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4893 echo "$ac_t""yes" 1>&6
4894 ac_has_langinfo_h=yes
4896 echo "$ac_t""no" 1>&6
4897 ac_has_langinfo_h=no
4901 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4902 echo "configure:4903: checking for iconv in -liconv" >&5
4903 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4905 echo $ac_n "(cached) $ac_c" 1>&6
4907 ac_save_LIBS="$LIBS"
4908 LIBS="-liconv $LIBS"
4909 cat > conftest.$ac_ext <<EOF
4910 #line 4911 "configure"
4911 #include "confdefs.h"
4912 /* Override any gcc2 internal prototype to avoid an error. */
4913 /* We use char because int might match the return type of a gcc2
4914 builtin and then its argument prototype would still apply. */
4921 if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4923 eval "ac_cv_lib_$ac_lib_var=yes"
4925 echo "configure: failed program was:" >&5
4926 cat conftest.$ac_ext >&5
4928 eval "ac_cv_lib_$ac_lib_var=no"
4931 LIBS="$ac_save_LIBS"
4934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4935 echo "$ac_t""yes" 1>&6
4938 echo "$ac_t""no" 1>&6
4941 ac_save_LIBS="$LIBS"
4942 LIBS="$LIBS $libiconv"
4944 for ac_func in iconv_open iconv_close iconv nl_langinfo
4946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4947 echo "configure:4948: checking for $ac_func" >&5
4948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4949 echo $ac_n "(cached) $ac_c" 1>&6
4951 cat > conftest.$ac_ext <<EOF
4952 #line 4953 "configure"
4953 #include "confdefs.h"
4954 /* System header to define __stub macros and hopefully few prototypes,
4955 which can conflict with char $ac_func(); below. */
4957 /* Override any gcc2 internal prototype to avoid an error. */
4958 /* We use char because int might match the return type of a gcc2
4959 builtin and then its argument prototype would still apply. */
4964 /* The GNU C library defines this for functions which it implements
4965 to always fail with ENOSYS. Some functions are actually named
4966 something starting with __ and the normal name is an alias. */
4967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4975 if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4977 eval "ac_cv_func_$ac_func=yes"
4979 echo "configure: failed program was:" >&5
4980 cat conftest.$ac_ext >&5
4982 eval "ac_cv_func_$ac_func=no"
4987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4988 echo "$ac_t""yes" 1>&6
4989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4990 cat >> confdefs.h <<EOF
4991 #define $ac_tr_func 1
4996 echo "$ac_t""no" 1>&6
5002 LIBS="$ac_save_LIBS"
5004 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5005 echo "configure:5006: checking for XPG2 wchar_t support" >&5
5006 if test x"$ac_has_iconv_h" = xyes &&
5007 test x"$ac_has_langinfo_h" = xyes &&
5008 test x"$ac_XPG2funcs" = xyes; then
5013 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5015 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5016 echo "configure:5017: checking for enabled wchar_t specializations" >&5
5017 if test x"$ac_isoC99_wchar_t" = xyes &&
5018 test x"$ac_XPG2_wchar_t" = xyes; then
5019 cat >> confdefs.h <<\EOF
5020 #define _GLIBCPP_USE_WCHAR_T 1
5023 echo "$ac_t"""yes"" 1>&6
5025 echo "$ac_t"""no"" 1>&6
5028 echo "configure: warning: wchar_t support disabled." 1>&2
5031 cat >> confdefs.h <<\EOF
5032 #define HAVE_COPYSIGN 1
5035 cat >> confdefs.h <<\EOF
5036 #define HAVE_COPYSIGNF 1
5039 cat >> confdefs.h <<\EOF
5040 #define HAVE_FINITE 1
5043 cat >> confdefs.h <<\EOF
5044 #define HAVE_FINITEF 1
5047 cat >> confdefs.h <<\EOF
5048 #define HAVE_FREXPF 1
5051 cat >> confdefs.h <<\EOF
5052 #define HAVE_HYPOTF 1
5055 cat >> confdefs.h <<\EOF
5056 #define HAVE_ISINF 1
5059 cat >> confdefs.h <<\EOF
5060 #define HAVE_ISINFF 1
5063 cat >> confdefs.h <<\EOF
5064 #define HAVE_ISNAN 1
5067 cat >> confdefs.h <<\EOF
5068 #define HAVE_ISNANF 1
5071 cat >> confdefs.h <<\EOF
5072 #define HAVE_SINCOS 1
5075 cat >> confdefs.h <<\EOF
5076 #define HAVE_SINCOSF 1
5079 if test x"long_double_math_on_this_cpu" = x"yes"; then
5080 cat >> confdefs.h <<\EOF
5081 #define HAVE_FINITEL 1
5084 cat >> confdefs.h <<\EOF
5085 #define HAVE_HYPOTL 1
5088 cat >> confdefs.h <<\EOF
5089 #define HAVE_ISINFL 1
5092 cat >> confdefs.h <<\EOF
5093 #define HAVE_ISNANL 1
5099 # Check for available headers.
5100 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5101 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5102 fp.h locale.h float.h inttypes.h
5104 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5106 echo "configure:5107: checking for $ac_hdr" >&5
5107 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5108 echo $ac_n "(cached) $ac_c" 1>&6
5110 cat > conftest.$ac_ext <<EOF
5111 #line 5112 "configure"
5112 #include "confdefs.h"
5115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5116 { (eval echo configure:5117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5118 if test -z "$ac_err"; then
5120 eval "ac_cv_header_$ac_safe=yes"
5123 echo "configure: failed program was:" >&5
5124 cat conftest.$ac_ext >&5
5126 eval "ac_cv_header_$ac_safe=no"
5130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5131 echo "$ac_t""yes" 1>&6
5132 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5133 cat >> confdefs.h <<EOF
5134 #define $ac_tr_hdr 1
5138 echo "$ac_t""no" 1>&6
5142 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5145 # If we're not using GNU ld, then there's no point in even trying these
5146 # tests. Check for that first. We should have already tested for gld
5147 # by now (in libtool), but require it now just to be safe...
5148 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5149 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5152 # The name set by libtool depends on the version of libtool. Shame on us
5153 # for depending on an impl detail, but c'est la vie. Older versions used
5154 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5155 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5156 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5157 # set (hence we're using an older libtool), then set it.
5158 if test x${with_gnu_ld+set} != xset; then
5159 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5160 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5163 with_gnu_ld=$ac_cv_prog_gnu_ld
5167 # Start by getting the version number. I think the libtool test already
5168 # does some of this, but throws away the result.
5170 ldver=`$LD --version 2>/dev/null | head -1 | \
5171 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5173 glibcpp_gnu_ld_version=`echo $ldver | \
5174 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5176 # Set --gc-sections.
5177 if test "$with_gnu_ld" = "notbroken"; then
5178 # GNU ld it is! Joy and bunny rabbits!
5180 # All these tests are for C++; save the language and the compiler flags.
5181 # Need to do this so that g++ won't try to link in libstdc++
5182 ac_test_CFLAGS="${CFLAGS+set}"
5183 ac_save_CFLAGS="$CFLAGS"
5184 CFLAGS='-x c++ -Wl,--gc-sections'
5186 # Check for -Wl,--gc-sections
5187 # XXX This test is broken at the moment, as symbols required for
5188 # linking are now in libsupc++ (not built yet.....). In addition,
5189 # this test has cored on solaris in the past. In addition,
5190 # --gc-sections doesn't really work at the moment (keeps on discarding
5191 # used sections, first .eh_frame and now some of the glibc sections for
5192 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5193 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5194 echo "configure:5195: checking for ld that supports -Wl,--gc-sections" >&5
5195 if test "$cross_compiling" = yes; then
5196 ac_sectionLDflags=yes
5198 cat > conftest.$ac_ext <<EOF
5199 #line 5200 "configure"
5200 #include "confdefs.h"
5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5212 ac_sectionLDflags=yes
5214 echo "configure: failed program was:" >&5
5215 cat conftest.$ac_ext >&5
5217 ac_sectionLDflags=no
5222 if test "$ac_test_CFLAGS" = set; then
5223 CFLAGS="$ac_save_CFLAGS"
5225 # this is the suspicious part
5228 if test "$ac_sectionLDflags" = "yes"; then
5229 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5231 echo "$ac_t""$ac_sectionLDflags" 1>&6
5234 # Set linker optimization flags.
5235 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5236 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5243 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5244 echo "configure:5245: checking for main in -lm" >&5
5245 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5246 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5247 echo $ac_n "(cached) $ac_c" 1>&6
5249 ac_save_LIBS="$LIBS"
5251 cat > conftest.$ac_ext <<EOF
5252 #line 5253 "configure"
5253 #include "confdefs.h"
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5261 eval "ac_cv_lib_$ac_lib_var=yes"
5263 echo "configure: failed program was:" >&5
5264 cat conftest.$ac_ext >&5
5266 eval "ac_cv_lib_$ac_lib_var=no"
5269 LIBS="$ac_save_LIBS"
5272 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5273 echo "$ac_t""yes" 1>&6
5274 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5275 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5276 cat >> confdefs.h <<EOF
5277 #define $ac_tr_lib 1
5283 echo "$ac_t""no" 1>&6
5286 for ac_func in nan copysignf
5288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5289 echo "configure:5290: checking for $ac_func" >&5
5290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5291 echo $ac_n "(cached) $ac_c" 1>&6
5293 cat > conftest.$ac_ext <<EOF
5294 #line 5295 "configure"
5295 #include "confdefs.h"
5296 /* System header to define __stub macros and hopefully few prototypes,
5297 which can conflict with char $ac_func(); below. */
5299 /* Override any gcc2 internal prototype to avoid an error. */
5300 /* We use char because int might match the return type of a gcc2
5301 builtin and then its argument prototype would still apply. */
5306 /* The GNU C library defines this for functions which it implements
5307 to always fail with ENOSYS. Some functions are actually named
5308 something starting with __ and the normal name is an alias. */
5309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5317 if { (eval echo configure:5318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5319 eval "ac_cv_func_$ac_func=yes"
5321 echo "configure: failed program was:" >&5
5322 cat conftest.$ac_ext >&5
5324 eval "ac_cv_func_$ac_func=no"
5329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5330 echo "$ac_t""yes" 1>&6
5331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5332 cat >> confdefs.h <<EOF
5333 #define $ac_tr_func 1
5337 echo "$ac_t""no" 1>&6
5338 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5343 for ac_func in __signbit
5345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5346 echo "configure:5347: checking for $ac_func" >&5
5347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5348 echo $ac_n "(cached) $ac_c" 1>&6
5350 cat > conftest.$ac_ext <<EOF
5351 #line 5352 "configure"
5352 #include "confdefs.h"
5353 /* System header to define __stub macros and hopefully few prototypes,
5354 which can conflict with char $ac_func(); below. */
5356 /* Override any gcc2 internal prototype to avoid an error. */
5357 /* We use char because int might match the return type of a gcc2
5358 builtin and then its argument prototype would still apply. */
5363 /* The GNU C library defines this for functions which it implements
5364 to always fail with ENOSYS. Some functions are actually named
5365 something starting with __ and the normal name is an alias. */
5366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5374 if { (eval echo configure:5375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5376 eval "ac_cv_func_$ac_func=yes"
5378 echo "configure: failed program was:" >&5
5379 cat conftest.$ac_ext >&5
5381 eval "ac_cv_func_$ac_func=no"
5386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5387 echo "$ac_t""yes" 1>&6
5388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5389 cat >> confdefs.h <<EOF
5390 #define $ac_tr_func 1
5394 echo "$ac_t""no" 1>&6
5395 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5399 for ac_func in __signbitf
5401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5402 echo "configure:5403: checking for $ac_func" >&5
5403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5404 echo $ac_n "(cached) $ac_c" 1>&6
5406 cat > conftest.$ac_ext <<EOF
5407 #line 5408 "configure"
5408 #include "confdefs.h"
5409 /* System header to define __stub macros and hopefully few prototypes,
5410 which can conflict with char $ac_func(); below. */
5412 /* Override any gcc2 internal prototype to avoid an error. */
5413 /* We use char because int might match the return type of a gcc2
5414 builtin and then its argument prototype would still apply. */
5419 /* The GNU C library defines this for functions which it implements
5420 to always fail with ENOSYS. Some functions are actually named
5421 something starting with __ and the normal name is an alias. */
5422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5432 eval "ac_cv_func_$ac_func=yes"
5434 echo "configure: failed program was:" >&5
5435 cat conftest.$ac_ext >&5
5437 eval "ac_cv_func_$ac_func=no"
5442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5443 echo "$ac_t""yes" 1>&6
5444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5445 cat >> confdefs.h <<EOF
5446 #define $ac_tr_func 1
5450 echo "$ac_t""no" 1>&6
5451 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5456 if test x$ac_cv_func_copysignl = x"yes"; then
5457 for ac_func in __signbitl
5459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5460 echo "configure:5461: checking for $ac_func" >&5
5461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5462 echo $ac_n "(cached) $ac_c" 1>&6
5464 cat > conftest.$ac_ext <<EOF
5465 #line 5466 "configure"
5466 #include "confdefs.h"
5467 /* System header to define __stub macros and hopefully few prototypes,
5468 which can conflict with char $ac_func(); below. */
5470 /* Override any gcc2 internal prototype to avoid an error. */
5471 /* We use char because int might match the return type of a gcc2
5472 builtin and then its argument prototype would still apply. */
5477 /* The GNU C library defines this for functions which it implements
5478 to always fail with ENOSYS. Some functions are actually named
5479 something starting with __ and the normal name is an alias. */
5480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5488 if { (eval echo configure:5489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5490 eval "ac_cv_func_$ac_func=yes"
5492 echo "configure: failed program was:" >&5
5493 cat conftest.$ac_ext >&5
5495 eval "ac_cv_func_$ac_func=no"
5500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5501 echo "$ac_t""yes" 1>&6
5502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5503 cat >> confdefs.h <<EOF
5504 #define $ac_tr_func 1
5508 echo "$ac_t""no" 1>&6
5509 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5519 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5520 echo "configure:5521: checking for mbstate_t" >&5
5521 cat > conftest.$ac_ext <<EOF
5522 #line 5523 "configure"
5523 #include "confdefs.h"
5526 mbstate_t teststate;
5529 if { (eval echo configure:5530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5533 echo "configure: failed program was:" >&5
5534 cat conftest.$ac_ext >&5
5539 echo "$ac_t""$have_mbstate_t" 1>&6
5540 if test x"$have_mbstate_t" = xyes; then
5541 cat >> confdefs.h <<\EOF
5542 #define HAVE_MBSTATE_T 1
5547 for ac_hdr in wchar.h
5549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5551 echo "configure:5552: checking for $ac_hdr" >&5
5552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5553 echo $ac_n "(cached) $ac_c" 1>&6
5555 cat > conftest.$ac_ext <<EOF
5556 #line 5557 "configure"
5557 #include "confdefs.h"
5560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5561 { (eval echo configure:5562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5563 if test -z "$ac_err"; then
5565 eval "ac_cv_header_$ac_safe=yes"
5568 echo "configure: failed program was:" >&5
5569 cat conftest.$ac_ext >&5
5571 eval "ac_cv_header_$ac_safe=no"
5575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5576 echo "$ac_t""yes" 1>&6
5577 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5578 cat >> confdefs.h <<EOF
5579 #define $ac_tr_hdr 1
5583 echo "$ac_t""no" 1>&6
5588 for ac_hdr in wctype.h
5590 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5592 echo "configure:5593: checking for $ac_hdr" >&5
5593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5594 echo $ac_n "(cached) $ac_c" 1>&6
5596 cat > conftest.$ac_ext <<EOF
5597 #line 5598 "configure"
5598 #include "confdefs.h"
5601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5602 { (eval echo configure:5603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5604 if test -z "$ac_err"; then
5606 eval "ac_cv_header_$ac_safe=yes"
5609 echo "configure: failed program was:" >&5
5610 cat conftest.$ac_ext >&5
5612 eval "ac_cv_header_$ac_safe=no"
5616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5617 echo "$ac_t""yes" 1>&6
5618 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5619 cat >> confdefs.h <<EOF
5620 #define $ac_tr_hdr 1
5624 echo "$ac_t""no" 1>&6
5630 if test x"$ac_has_wchar_h" = xyes &&
5631 test x"$ac_has_wctype_h" = xyes &&
5632 test x"$enable_c_mbchar" != xno; then
5634 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5635 echo "configure:5636: checking for WCHAR_MIN and WCHAR_MAX" >&5
5636 cat > conftest.$ac_ext <<EOF
5637 #line 5638 "configure"
5638 #include "confdefs.h"
5641 int i = WCHAR_MIN; int j = WCHAR_MAX;
5644 if { (eval echo configure:5645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5646 has_wchar_minmax=yes
5648 echo "configure: failed program was:" >&5
5649 cat conftest.$ac_ext >&5
5654 echo "$ac_t""$has_wchar_minmax" 1>&6
5656 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5657 echo "configure:5658: checking for WEOF" >&5
5658 cat > conftest.$ac_ext <<EOF
5659 #line 5660 "configure"
5660 #include "confdefs.h"
5668 if { (eval echo configure:5669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5672 echo "configure: failed program was:" >&5
5673 cat conftest.$ac_ext >&5
5678 echo "$ac_t""$has_weof" 1>&6
5681 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5684 echo "configure:5685: checking for $ac_func" >&5
5685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5686 echo $ac_n "(cached) $ac_c" 1>&6
5688 cat > conftest.$ac_ext <<EOF
5689 #line 5690 "configure"
5690 #include "confdefs.h"
5691 /* System header to define __stub macros and hopefully few prototypes,
5692 which can conflict with char $ac_func(); below. */
5694 /* Override any gcc2 internal prototype to avoid an error. */
5695 /* We use char because int might match the return type of a gcc2
5696 builtin and then its argument prototype would still apply. */
5701 /* The GNU C library defines this for functions which it implements
5702 to always fail with ENOSYS. Some functions are actually named
5703 something starting with __ and the normal name is an alias. */
5704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5712 if { (eval echo configure:5713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5714 eval "ac_cv_func_$ac_func=yes"
5716 echo "configure: failed program was:" >&5
5717 cat conftest.$ac_ext >&5
5719 eval "ac_cv_func_$ac_func=no"
5724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5725 echo "$ac_t""yes" 1>&6
5726 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5727 cat >> confdefs.h <<EOF
5728 #define $ac_tr_func 1
5732 echo "$ac_t""no" 1>&6
5739 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5740 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5741 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5742 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5743 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5744 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5747 echo "configure:5748: checking for $ac_func" >&5
5748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5749 echo $ac_n "(cached) $ac_c" 1>&6
5751 cat > conftest.$ac_ext <<EOF
5752 #line 5753 "configure"
5753 #include "confdefs.h"
5754 /* System header to define __stub macros and hopefully few prototypes,
5755 which can conflict with char $ac_func(); below. */
5757 /* Override any gcc2 internal prototype to avoid an error. */
5758 /* We use char because int might match the return type of a gcc2
5759 builtin and then its argument prototype would still apply. */
5764 /* The GNU C library defines this for functions which it implements
5765 to always fail with ENOSYS. Some functions are actually named
5766 something starting with __ and the normal name is an alias. */
5767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5777 eval "ac_cv_func_$ac_func=yes"
5779 echo "configure: failed program was:" >&5
5780 cat conftest.$ac_ext >&5
5782 eval "ac_cv_func_$ac_func=no"
5787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5788 echo "$ac_t""yes" 1>&6
5789 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5790 cat >> confdefs.h <<EOF
5791 #define $ac_tr_func 1
5795 echo "$ac_t""no" 1>&6
5802 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5803 echo "configure:5804: checking for ISO C99 wchar_t support" >&5
5804 if test x"$has_weof" = xyes &&
5805 test x"$has_wchar_minmax" = xyes &&
5806 test x"$ac_wfuncs" = xyes; then
5807 ac_isoC99_wchar_t=yes
5809 ac_isoC99_wchar_t=no
5811 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5813 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5814 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5815 echo "configure:5816: checking for iconv.h" >&5
5816 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5817 echo $ac_n "(cached) $ac_c" 1>&6
5819 cat > conftest.$ac_ext <<EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5825 { (eval echo configure:5826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5827 if test -z "$ac_err"; then
5829 eval "ac_cv_header_$ac_safe=yes"
5832 echo "configure: failed program was:" >&5
5833 cat conftest.$ac_ext >&5
5835 eval "ac_cv_header_$ac_safe=no"
5839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5840 echo "$ac_t""yes" 1>&6
5843 echo "$ac_t""no" 1>&6
5847 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5848 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5849 echo "configure:5850: checking for langinfo.h" >&5
5850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5851 echo $ac_n "(cached) $ac_c" 1>&6
5853 cat > conftest.$ac_ext <<EOF
5854 #line 5855 "configure"
5855 #include "confdefs.h"
5856 #include <langinfo.h>
5858 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5859 { (eval echo configure:5860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5860 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5861 if test -z "$ac_err"; then
5863 eval "ac_cv_header_$ac_safe=yes"
5866 echo "configure: failed program was:" >&5
5867 cat conftest.$ac_ext >&5
5869 eval "ac_cv_header_$ac_safe=no"
5873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5874 echo "$ac_t""yes" 1>&6
5875 ac_has_langinfo_h=yes
5877 echo "$ac_t""no" 1>&6
5878 ac_has_langinfo_h=no
5882 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5883 echo "configure:5884: checking for iconv in -liconv" >&5
5884 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5888 ac_save_LIBS="$LIBS"
5889 LIBS="-liconv $LIBS"
5890 cat > conftest.$ac_ext <<EOF
5891 #line 5892 "configure"
5892 #include "confdefs.h"
5893 /* Override any gcc2 internal prototype to avoid an error. */
5894 /* We use char because int might match the return type of a gcc2
5895 builtin and then its argument prototype would still apply. */
5902 if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5904 eval "ac_cv_lib_$ac_lib_var=yes"
5906 echo "configure: failed program was:" >&5
5907 cat conftest.$ac_ext >&5
5909 eval "ac_cv_lib_$ac_lib_var=no"
5912 LIBS="$ac_save_LIBS"
5915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5916 echo "$ac_t""yes" 1>&6
5919 echo "$ac_t""no" 1>&6
5922 ac_save_LIBS="$LIBS"
5923 LIBS="$LIBS $libiconv"
5925 for ac_func in iconv_open iconv_close iconv nl_langinfo
5927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5928 echo "configure:5929: checking for $ac_func" >&5
5929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5930 echo $ac_n "(cached) $ac_c" 1>&6
5932 cat > conftest.$ac_ext <<EOF
5933 #line 5934 "configure"
5934 #include "confdefs.h"
5935 /* System header to define __stub macros and hopefully few prototypes,
5936 which can conflict with char $ac_func(); below. */
5938 /* Override any gcc2 internal prototype to avoid an error. */
5939 /* We use char because int might match the return type of a gcc2
5940 builtin and then its argument prototype would still apply. */
5945 /* The GNU C library defines this for functions which it implements
5946 to always fail with ENOSYS. Some functions are actually named
5947 something starting with __ and the normal name is an alias. */
5948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5956 if { (eval echo configure:5957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5958 eval "ac_cv_func_$ac_func=yes"
5960 echo "configure: failed program was:" >&5
5961 cat conftest.$ac_ext >&5
5963 eval "ac_cv_func_$ac_func=no"
5968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5969 echo "$ac_t""yes" 1>&6
5970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5971 cat >> confdefs.h <<EOF
5972 #define $ac_tr_func 1
5977 echo "$ac_t""no" 1>&6
5983 LIBS="$ac_save_LIBS"
5985 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5986 echo "configure:5987: checking for XPG2 wchar_t support" >&5
5987 if test x"$ac_has_iconv_h" = xyes &&
5988 test x"$ac_has_langinfo_h" = xyes &&
5989 test x"$ac_XPG2funcs" = xyes; then
5994 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5996 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5997 echo "configure:5998: checking for enabled wchar_t specializations" >&5
5998 if test x"$ac_isoC99_wchar_t" = xyes &&
5999 test x"$ac_XPG2_wchar_t" = xyes; then
6000 cat >> confdefs.h <<\EOF
6001 #define _GLIBCPP_USE_WCHAR_T 1
6004 echo "$ac_t"""yes"" 1>&6
6006 echo "$ac_t"""no"" 1>&6
6009 echo "configure: warning: wchar_t support disabled." 1>&2
6012 os_include_dir="os/hpux"
6013 cat >> confdefs.h <<\EOF
6014 #define HAVE_COPYSIGN 1
6017 cat >> confdefs.h <<\EOF
6018 #define HAVE_COPYSIGNF 1
6021 cat >> confdefs.h <<\EOF
6022 #define HAVE_FREXPF 1
6025 cat >> confdefs.h <<\EOF
6026 #define HAVE_HYPOT 1
6029 case "$target_alias" in
6031 cat >> confdefs.h <<\EOF
6032 #define HAVE_FINITE 1
6035 cat >> confdefs.h <<\EOF
6036 #define HAVE_FINITEF 1
6039 cat >> confdefs.h <<\EOF
6040 #define HAVE_ISINF 1
6043 cat >> confdefs.h <<\EOF
6044 #define HAVE_ISINFF 1
6047 cat >> confdefs.h <<\EOF
6048 #define HAVE_ISNAN 1
6051 cat >> confdefs.h <<\EOF
6052 #define HAVE_ISNANF 1
6060 # Check for available headers.
6061 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6062 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6063 fp.h locale.h float.h inttypes.h
6065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6067 echo "configure:6068: checking for $ac_hdr" >&5
6068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6069 echo $ac_n "(cached) $ac_c" 1>&6
6071 cat > conftest.$ac_ext <<EOF
6072 #line 6073 "configure"
6073 #include "confdefs.h"
6076 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6077 { (eval echo configure:6078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6079 if test -z "$ac_err"; then
6081 eval "ac_cv_header_$ac_safe=yes"
6084 echo "configure: failed program was:" >&5
6085 cat conftest.$ac_ext >&5
6087 eval "ac_cv_header_$ac_safe=no"
6091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6092 echo "$ac_t""yes" 1>&6
6093 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6094 cat >> confdefs.h <<EOF
6095 #define $ac_tr_hdr 1
6099 echo "$ac_t""no" 1>&6
6103 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6106 # If we're not using GNU ld, then there's no point in even trying these
6107 # tests. Check for that first. We should have already tested for gld
6108 # by now (in libtool), but require it now just to be safe...
6109 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6110 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6113 # The name set by libtool depends on the version of libtool. Shame on us
6114 # for depending on an impl detail, but c'est la vie. Older versions used
6115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6118 # set (hence we're using an older libtool), then set it.
6119 if test x${with_gnu_ld+set} != xset; then
6120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6121 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6124 with_gnu_ld=$ac_cv_prog_gnu_ld
6128 # Start by getting the version number. I think the libtool test already
6129 # does some of this, but throws away the result.
6131 ldver=`$LD --version 2>/dev/null | head -1 | \
6132 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6134 glibcpp_gnu_ld_version=`echo $ldver | \
6135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6137 # Set --gc-sections.
6138 if test "$with_gnu_ld" = "notbroken"; then
6139 # GNU ld it is! Joy and bunny rabbits!
6141 # All these tests are for C++; save the language and the compiler flags.
6142 # Need to do this so that g++ won't try to link in libstdc++
6143 ac_test_CFLAGS="${CFLAGS+set}"
6144 ac_save_CFLAGS="$CFLAGS"
6145 CFLAGS='-x c++ -Wl,--gc-sections'
6147 # Check for -Wl,--gc-sections
6148 # XXX This test is broken at the moment, as symbols required for
6149 # linking are now in libsupc++ (not built yet.....). In addition,
6150 # this test has cored on solaris in the past. In addition,
6151 # --gc-sections doesn't really work at the moment (keeps on discarding
6152 # used sections, first .eh_frame and now some of the glibc sections for
6153 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6154 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6155 echo "configure:6156: checking for ld that supports -Wl,--gc-sections" >&5
6156 if test "$cross_compiling" = yes; then
6157 ac_sectionLDflags=yes
6159 cat > conftest.$ac_ext <<EOF
6160 #line 6161 "configure"
6161 #include "confdefs.h"
6171 if { (eval echo configure:6172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6173 ac_sectionLDflags=yes
6175 echo "configure: failed program was:" >&5
6176 cat conftest.$ac_ext >&5
6178 ac_sectionLDflags=no
6183 if test "$ac_test_CFLAGS" = set; then
6184 CFLAGS="$ac_save_CFLAGS"
6186 # this is the suspicious part
6189 if test "$ac_sectionLDflags" = "yes"; then
6190 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6192 echo "$ac_t""$ac_sectionLDflags" 1>&6
6195 # Set linker optimization flags.
6196 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6197 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6204 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6205 echo "configure:6206: checking for main in -lm" >&5
6206 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6208 echo $ac_n "(cached) $ac_c" 1>&6
6210 ac_save_LIBS="$LIBS"
6212 cat > conftest.$ac_ext <<EOF
6213 #line 6214 "configure"
6214 #include "confdefs.h"
6220 if { (eval echo configure:6221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6222 eval "ac_cv_lib_$ac_lib_var=yes"
6224 echo "configure: failed program was:" >&5
6225 cat conftest.$ac_ext >&5
6227 eval "ac_cv_lib_$ac_lib_var=no"
6230 LIBS="$ac_save_LIBS"
6233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6234 echo "$ac_t""yes" 1>&6
6235 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6236 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6237 cat >> confdefs.h <<EOF
6238 #define $ac_tr_lib 1
6244 echo "$ac_t""no" 1>&6
6247 for ac_func in nan copysignf
6249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6250 echo "configure:6251: checking for $ac_func" >&5
6251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6252 echo $ac_n "(cached) $ac_c" 1>&6
6254 cat > conftest.$ac_ext <<EOF
6255 #line 6256 "configure"
6256 #include "confdefs.h"
6257 /* System header to define __stub macros and hopefully few prototypes,
6258 which can conflict with char $ac_func(); below. */
6260 /* Override any gcc2 internal prototype to avoid an error. */
6261 /* We use char because int might match the return type of a gcc2
6262 builtin and then its argument prototype would still apply. */
6267 /* The GNU C library defines this for functions which it implements
6268 to always fail with ENOSYS. Some functions are actually named
6269 something starting with __ and the normal name is an alias. */
6270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6278 if { (eval echo configure:6279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6280 eval "ac_cv_func_$ac_func=yes"
6282 echo "configure: failed program was:" >&5
6283 cat conftest.$ac_ext >&5
6285 eval "ac_cv_func_$ac_func=no"
6290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6291 echo "$ac_t""yes" 1>&6
6292 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6293 cat >> confdefs.h <<EOF
6294 #define $ac_tr_func 1
6298 echo "$ac_t""no" 1>&6
6299 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6304 for ac_func in __signbit
6306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6307 echo "configure:6308: checking for $ac_func" >&5
6308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6309 echo $ac_n "(cached) $ac_c" 1>&6
6311 cat > conftest.$ac_ext <<EOF
6312 #line 6313 "configure"
6313 #include "confdefs.h"
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func(); below. */
6317 /* Override any gcc2 internal prototype to avoid an error. */
6318 /* We use char because int might match the return type of a gcc2
6319 builtin and then its argument prototype would still apply. */
6324 /* The GNU C library defines this for functions which it implements
6325 to always fail with ENOSYS. Some functions are actually named
6326 something starting with __ and the normal name is an alias. */
6327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6335 if { (eval echo configure:6336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6337 eval "ac_cv_func_$ac_func=yes"
6339 echo "configure: failed program was:" >&5
6340 cat conftest.$ac_ext >&5
6342 eval "ac_cv_func_$ac_func=no"
6347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6348 echo "$ac_t""yes" 1>&6
6349 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6350 cat >> confdefs.h <<EOF
6351 #define $ac_tr_func 1
6355 echo "$ac_t""no" 1>&6
6356 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6360 for ac_func in __signbitf
6362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6363 echo "configure:6364: checking for $ac_func" >&5
6364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6365 echo $ac_n "(cached) $ac_c" 1>&6
6367 cat > conftest.$ac_ext <<EOF
6368 #line 6369 "configure"
6369 #include "confdefs.h"
6370 /* System header to define __stub macros and hopefully few prototypes,
6371 which can conflict with char $ac_func(); below. */
6373 /* Override any gcc2 internal prototype to avoid an error. */
6374 /* We use char because int might match the return type of a gcc2
6375 builtin and then its argument prototype would still apply. */
6380 /* The GNU C library defines this for functions which it implements
6381 to always fail with ENOSYS. Some functions are actually named
6382 something starting with __ and the normal name is an alias. */
6383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6391 if { (eval echo configure:6392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6393 eval "ac_cv_func_$ac_func=yes"
6395 echo "configure: failed program was:" >&5
6396 cat conftest.$ac_ext >&5
6398 eval "ac_cv_func_$ac_func=no"
6403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6404 echo "$ac_t""yes" 1>&6
6405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6406 cat >> confdefs.h <<EOF
6407 #define $ac_tr_func 1
6411 echo "$ac_t""no" 1>&6
6412 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6417 if test x$ac_cv_func_copysignl = x"yes"; then
6418 for ac_func in __signbitl
6420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6421 echo "configure:6422: checking for $ac_func" >&5
6422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6423 echo $ac_n "(cached) $ac_c" 1>&6
6425 cat > conftest.$ac_ext <<EOF
6426 #line 6427 "configure"
6427 #include "confdefs.h"
6428 /* System header to define __stub macros and hopefully few prototypes,
6429 which can conflict with char $ac_func(); below. */
6431 /* Override any gcc2 internal prototype to avoid an error. */
6432 /* We use char because int might match the return type of a gcc2
6433 builtin and then its argument prototype would still apply. */
6438 /* The GNU C library defines this for functions which it implements
6439 to always fail with ENOSYS. Some functions are actually named
6440 something starting with __ and the normal name is an alias. */
6441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6449 if { (eval echo configure:6450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6451 eval "ac_cv_func_$ac_func=yes"
6453 echo "configure: failed program was:" >&5
6454 cat conftest.$ac_ext >&5
6456 eval "ac_cv_func_$ac_func=no"
6461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6462 echo "$ac_t""yes" 1>&6
6463 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6464 cat >> confdefs.h <<EOF
6465 #define $ac_tr_func 1
6469 echo "$ac_t""no" 1>&6
6470 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6480 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6481 echo "configure:6482: checking for mbstate_t" >&5
6482 cat > conftest.$ac_ext <<EOF
6483 #line 6484 "configure"
6484 #include "confdefs.h"
6487 mbstate_t teststate;
6490 if { (eval echo configure:6491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6494 echo "configure: failed program was:" >&5
6495 cat conftest.$ac_ext >&5
6500 echo "$ac_t""$have_mbstate_t" 1>&6
6501 if test x"$have_mbstate_t" = xyes; then
6502 cat >> confdefs.h <<\EOF
6503 #define HAVE_MBSTATE_T 1
6508 for ac_hdr in wchar.h
6510 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6511 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6512 echo "configure:6513: checking for $ac_hdr" >&5
6513 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6514 echo $ac_n "(cached) $ac_c" 1>&6
6516 cat > conftest.$ac_ext <<EOF
6517 #line 6518 "configure"
6518 #include "confdefs.h"
6521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6522 { (eval echo configure:6523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6524 if test -z "$ac_err"; then
6526 eval "ac_cv_header_$ac_safe=yes"
6529 echo "configure: failed program was:" >&5
6530 cat conftest.$ac_ext >&5
6532 eval "ac_cv_header_$ac_safe=no"
6536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6537 echo "$ac_t""yes" 1>&6
6538 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6539 cat >> confdefs.h <<EOF
6540 #define $ac_tr_hdr 1
6544 echo "$ac_t""no" 1>&6
6549 for ac_hdr in wctype.h
6551 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6553 echo "configure:6554: checking for $ac_hdr" >&5
6554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6555 echo $ac_n "(cached) $ac_c" 1>&6
6557 cat > conftest.$ac_ext <<EOF
6558 #line 6559 "configure"
6559 #include "confdefs.h"
6562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6563 { (eval echo configure:6564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6565 if test -z "$ac_err"; then
6567 eval "ac_cv_header_$ac_safe=yes"
6570 echo "configure: failed program was:" >&5
6571 cat conftest.$ac_ext >&5
6573 eval "ac_cv_header_$ac_safe=no"
6577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6578 echo "$ac_t""yes" 1>&6
6579 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6580 cat >> confdefs.h <<EOF
6581 #define $ac_tr_hdr 1
6585 echo "$ac_t""no" 1>&6
6591 if test x"$ac_has_wchar_h" = xyes &&
6592 test x"$ac_has_wctype_h" = xyes &&
6593 test x"$enable_c_mbchar" != xno; then
6595 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6596 echo "configure:6597: checking for WCHAR_MIN and WCHAR_MAX" >&5
6597 cat > conftest.$ac_ext <<EOF
6598 #line 6599 "configure"
6599 #include "confdefs.h"
6602 int i = WCHAR_MIN; int j = WCHAR_MAX;
6605 if { (eval echo configure:6606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6607 has_wchar_minmax=yes
6609 echo "configure: failed program was:" >&5
6610 cat conftest.$ac_ext >&5
6615 echo "$ac_t""$has_wchar_minmax" 1>&6
6617 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6618 echo "configure:6619: checking for WEOF" >&5
6619 cat > conftest.$ac_ext <<EOF
6620 #line 6621 "configure"
6621 #include "confdefs.h"
6629 if { (eval echo configure:6630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6633 echo "configure: failed program was:" >&5
6634 cat conftest.$ac_ext >&5
6639 echo "$ac_t""$has_weof" 1>&6
6642 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6645 echo "configure:6646: checking for $ac_func" >&5
6646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6647 echo $ac_n "(cached) $ac_c" 1>&6
6649 cat > conftest.$ac_ext <<EOF
6650 #line 6651 "configure"
6651 #include "confdefs.h"
6652 /* System header to define __stub macros and hopefully few prototypes,
6653 which can conflict with char $ac_func(); below. */
6655 /* Override any gcc2 internal prototype to avoid an error. */
6656 /* We use char because int might match the return type of a gcc2
6657 builtin and then its argument prototype would still apply. */
6662 /* The GNU C library defines this for functions which it implements
6663 to always fail with ENOSYS. Some functions are actually named
6664 something starting with __ and the normal name is an alias. */
6665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6675 eval "ac_cv_func_$ac_func=yes"
6677 echo "configure: failed program was:" >&5
6678 cat conftest.$ac_ext >&5
6680 eval "ac_cv_func_$ac_func=no"
6685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6686 echo "$ac_t""yes" 1>&6
6687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6688 cat >> confdefs.h <<EOF
6689 #define $ac_tr_func 1
6693 echo "$ac_t""no" 1>&6
6700 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6701 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6702 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6703 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6704 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6705 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6708 echo "configure:6709: checking for $ac_func" >&5
6709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6710 echo $ac_n "(cached) $ac_c" 1>&6
6712 cat > conftest.$ac_ext <<EOF
6713 #line 6714 "configure"
6714 #include "confdefs.h"
6715 /* System header to define __stub macros and hopefully few prototypes,
6716 which can conflict with char $ac_func(); below. */
6718 /* Override any gcc2 internal prototype to avoid an error. */
6719 /* We use char because int might match the return type of a gcc2
6720 builtin and then its argument prototype would still apply. */
6725 /* The GNU C library defines this for functions which it implements
6726 to always fail with ENOSYS. Some functions are actually named
6727 something starting with __ and the normal name is an alias. */
6728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6736 if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6738 eval "ac_cv_func_$ac_func=yes"
6740 echo "configure: failed program was:" >&5
6741 cat conftest.$ac_ext >&5
6743 eval "ac_cv_func_$ac_func=no"
6748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6749 echo "$ac_t""yes" 1>&6
6750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6751 cat >> confdefs.h <<EOF
6752 #define $ac_tr_func 1
6756 echo "$ac_t""no" 1>&6
6763 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6764 echo "configure:6765: checking for ISO C99 wchar_t support" >&5
6765 if test x"$has_weof" = xyes &&
6766 test x"$has_wchar_minmax" = xyes &&
6767 test x"$ac_wfuncs" = xyes; then
6768 ac_isoC99_wchar_t=yes
6770 ac_isoC99_wchar_t=no
6772 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6774 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6775 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6776 echo "configure:6777: checking for iconv.h" >&5
6777 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6778 echo $ac_n "(cached) $ac_c" 1>&6
6780 cat > conftest.$ac_ext <<EOF
6781 #line 6782 "configure"
6782 #include "confdefs.h"
6785 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6786 { (eval echo configure:6787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6787 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6788 if test -z "$ac_err"; then
6790 eval "ac_cv_header_$ac_safe=yes"
6793 echo "configure: failed program was:" >&5
6794 cat conftest.$ac_ext >&5
6796 eval "ac_cv_header_$ac_safe=no"
6800 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6801 echo "$ac_t""yes" 1>&6
6804 echo "$ac_t""no" 1>&6
6808 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6809 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6810 echo "configure:6811: checking for langinfo.h" >&5
6811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6812 echo $ac_n "(cached) $ac_c" 1>&6
6814 cat > conftest.$ac_ext <<EOF
6815 #line 6816 "configure"
6816 #include "confdefs.h"
6817 #include <langinfo.h>
6819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6820 { (eval echo configure:6821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6822 if test -z "$ac_err"; then
6824 eval "ac_cv_header_$ac_safe=yes"
6827 echo "configure: failed program was:" >&5
6828 cat conftest.$ac_ext >&5
6830 eval "ac_cv_header_$ac_safe=no"
6834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6835 echo "$ac_t""yes" 1>&6
6836 ac_has_langinfo_h=yes
6838 echo "$ac_t""no" 1>&6
6839 ac_has_langinfo_h=no
6843 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6844 echo "configure:6845: checking for iconv in -liconv" >&5
6845 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6847 echo $ac_n "(cached) $ac_c" 1>&6
6849 ac_save_LIBS="$LIBS"
6850 LIBS="-liconv $LIBS"
6851 cat > conftest.$ac_ext <<EOF
6852 #line 6853 "configure"
6853 #include "confdefs.h"
6854 /* Override any gcc2 internal prototype to avoid an error. */
6855 /* We use char because int might match the return type of a gcc2
6856 builtin and then its argument prototype would still apply. */
6863 if { (eval echo configure:6864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6865 eval "ac_cv_lib_$ac_lib_var=yes"
6867 echo "configure: failed program was:" >&5
6868 cat conftest.$ac_ext >&5
6870 eval "ac_cv_lib_$ac_lib_var=no"
6873 LIBS="$ac_save_LIBS"
6876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6877 echo "$ac_t""yes" 1>&6
6880 echo "$ac_t""no" 1>&6
6883 ac_save_LIBS="$LIBS"
6884 LIBS="$LIBS $libiconv"
6886 for ac_func in iconv_open iconv_close iconv nl_langinfo
6888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6889 echo "configure:6890: checking for $ac_func" >&5
6890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6891 echo $ac_n "(cached) $ac_c" 1>&6
6893 cat > conftest.$ac_ext <<EOF
6894 #line 6895 "configure"
6895 #include "confdefs.h"
6896 /* System header to define __stub macros and hopefully few prototypes,
6897 which can conflict with char $ac_func(); below. */
6899 /* Override any gcc2 internal prototype to avoid an error. */
6900 /* We use char because int might match the return type of a gcc2
6901 builtin and then its argument prototype would still apply. */
6906 /* The GNU C library defines this for functions which it implements
6907 to always fail with ENOSYS. Some functions are actually named
6908 something starting with __ and the normal name is an alias. */
6909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6917 if { (eval echo configure:6918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6919 eval "ac_cv_func_$ac_func=yes"
6921 echo "configure: failed program was:" >&5
6922 cat conftest.$ac_ext >&5
6924 eval "ac_cv_func_$ac_func=no"
6929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6930 echo "$ac_t""yes" 1>&6
6931 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6932 cat >> confdefs.h <<EOF
6933 #define $ac_tr_func 1
6938 echo "$ac_t""no" 1>&6
6944 LIBS="$ac_save_LIBS"
6946 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6947 echo "configure:6948: checking for XPG2 wchar_t support" >&5
6948 if test x"$ac_has_iconv_h" = xyes &&
6949 test x"$ac_has_langinfo_h" = xyes &&
6950 test x"$ac_XPG2funcs" = xyes; then
6955 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6957 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6958 echo "configure:6959: checking for enabled wchar_t specializations" >&5
6959 if test x"$ac_isoC99_wchar_t" = xyes &&
6960 test x"$ac_XPG2_wchar_t" = xyes; then
6961 cat >> confdefs.h <<\EOF
6962 #define _GLIBCPP_USE_WCHAR_T 1
6965 echo "$ac_t"""yes"" 1>&6
6967 echo "$ac_t"""no"" 1>&6
6970 echo "configure: warning: wchar_t support disabled." 1>&2
6973 os_include_dir="os/bsd/netbsd"
6974 cat >> confdefs.h <<\EOF
6975 #define HAVE_COPYSIGN 1
6978 cat >> confdefs.h <<\EOF
6979 #define HAVE_COPYSIGNF 1
6982 cat >> confdefs.h <<\EOF
6983 #define HAVE_FINITEF 1
6986 cat >> confdefs.h <<\EOF
6987 #define HAVE_FINITE 1
6990 cat >> confdefs.h <<\EOF
6991 #define HAVE_FREXPF 1
6994 cat >> confdefs.h <<\EOF
6995 #define HAVE_HYPOTF 1
6998 cat >> confdefs.h <<\EOF
6999 #define HAVE_ISINF 1
7002 cat >> confdefs.h <<\EOF
7003 #define HAVE_ISINFF 1
7006 cat >> confdefs.h <<\EOF
7007 #define HAVE_ISNAN 1
7010 cat >> confdefs.h <<\EOF
7011 #define HAVE_ISNANF 1
7014 if test x"long_double_math_on_this_cpu" = x"yes"; then
7015 cat >> confdefs.h <<\EOF
7016 #define HAVE_FINITEL 1
7019 cat >> confdefs.h <<\EOF
7020 #define HAVE_ISINFL 1
7023 cat >> confdefs.h <<\EOF
7024 #define HAVE_ISNANL 1
7030 for ac_hdr in sys/types.h locale.h float.h
7032 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7033 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7034 echo "configure:7035: checking for $ac_hdr" >&5
7035 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7036 echo $ac_n "(cached) $ac_c" 1>&6
7038 cat > conftest.$ac_ext <<EOF
7039 #line 7040 "configure"
7040 #include "confdefs.h"
7043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7044 { (eval echo configure:7045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7046 if test -z "$ac_err"; then
7048 eval "ac_cv_header_$ac_safe=yes"
7051 echo "configure: failed program was:" >&5
7052 cat conftest.$ac_ext >&5
7054 eval "ac_cv_header_$ac_safe=no"
7058 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7059 echo "$ac_t""yes" 1>&6
7060 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7061 cat >> confdefs.h <<EOF
7062 #define $ac_tr_hdr 1
7066 echo "$ac_t""no" 1>&6
7071 # If we're not using GNU ld, then there's no point in even trying these
7072 # tests. Check for that first. We should have already tested for gld
7073 # by now (in libtool), but require it now just to be safe...
7074 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7075 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7078 # The name set by libtool depends on the version of libtool. Shame on us
7079 # for depending on an impl detail, but c'est la vie. Older versions used
7080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7083 # set (hence we're using an older libtool), then set it.
7084 if test x${with_gnu_ld+set} != xset; then
7085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7089 with_gnu_ld=$ac_cv_prog_gnu_ld
7093 # Start by getting the version number. I think the libtool test already
7094 # does some of this, but throws away the result.
7096 ldver=`$LD --version 2>/dev/null | head -1 | \
7097 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7099 glibcpp_gnu_ld_version=`echo $ldver | \
7100 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7102 # Set --gc-sections.
7103 if test "$with_gnu_ld" = "notbroken"; then
7104 # GNU ld it is! Joy and bunny rabbits!
7106 # All these tests are for C++; save the language and the compiler flags.
7107 # Need to do this so that g++ won't try to link in libstdc++
7108 ac_test_CFLAGS="${CFLAGS+set}"
7109 ac_save_CFLAGS="$CFLAGS"
7110 CFLAGS='-x c++ -Wl,--gc-sections'
7112 # Check for -Wl,--gc-sections
7113 # XXX This test is broken at the moment, as symbols required for
7114 # linking are now in libsupc++ (not built yet.....). In addition,
7115 # this test has cored on solaris in the past. In addition,
7116 # --gc-sections doesn't really work at the moment (keeps on discarding
7117 # used sections, first .eh_frame and now some of the glibc sections for
7118 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7119 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7120 echo "configure:7121: checking for ld that supports -Wl,--gc-sections" >&5
7121 if test "$cross_compiling" = yes; then
7122 ac_sectionLDflags=yes
7124 cat > conftest.$ac_ext <<EOF
7125 #line 7126 "configure"
7126 #include "confdefs.h"
7136 if { (eval echo configure:7137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7138 ac_sectionLDflags=yes
7140 echo "configure: failed program was:" >&5
7141 cat conftest.$ac_ext >&5
7143 ac_sectionLDflags=no
7148 if test "$ac_test_CFLAGS" = set; then
7149 CFLAGS="$ac_save_CFLAGS"
7151 # this is the suspicious part
7154 if test "$ac_sectionLDflags" = "yes"; then
7155 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7157 echo "$ac_t""$ac_sectionLDflags" 1>&6
7160 # Set linker optimization flags.
7161 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
7162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7169 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
7170 echo "configure:7171: checking for main in -lm" >&5
7171 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7172 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7173 echo $ac_n "(cached) $ac_c" 1>&6
7175 ac_save_LIBS="$LIBS"
7177 cat > conftest.$ac_ext <<EOF
7178 #line 7179 "configure"
7179 #include "confdefs.h"
7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7187 eval "ac_cv_lib_$ac_lib_var=yes"
7189 echo "configure: failed program was:" >&5
7190 cat conftest.$ac_ext >&5
7192 eval "ac_cv_lib_$ac_lib_var=no"
7195 LIBS="$ac_save_LIBS"
7198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7199 echo "$ac_t""yes" 1>&6
7200 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7201 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7202 cat >> confdefs.h <<EOF
7203 #define $ac_tr_lib 1
7209 echo "$ac_t""no" 1>&6
7212 for ac_func in nan copysignf
7214 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7215 echo "configure:7216: checking for $ac_func" >&5
7216 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7217 echo $ac_n "(cached) $ac_c" 1>&6
7219 cat > conftest.$ac_ext <<EOF
7220 #line 7221 "configure"
7221 #include "confdefs.h"
7222 /* System header to define __stub macros and hopefully few prototypes,
7223 which can conflict with char $ac_func(); below. */
7225 /* Override any gcc2 internal prototype to avoid an error. */
7226 /* We use char because int might match the return type of a gcc2
7227 builtin and then its argument prototype would still apply. */
7232 /* The GNU C library defines this for functions which it implements
7233 to always fail with ENOSYS. Some functions are actually named
7234 something starting with __ and the normal name is an alias. */
7235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7245 eval "ac_cv_func_$ac_func=yes"
7247 echo "configure: failed program was:" >&5
7248 cat conftest.$ac_ext >&5
7250 eval "ac_cv_func_$ac_func=no"
7255 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7256 echo "$ac_t""yes" 1>&6
7257 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7258 cat >> confdefs.h <<EOF
7259 #define $ac_tr_func 1
7263 echo "$ac_t""no" 1>&6
7264 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
7269 for ac_func in __signbit
7271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7272 echo "configure:7273: checking for $ac_func" >&5
7273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7274 echo $ac_n "(cached) $ac_c" 1>&6
7276 cat > conftest.$ac_ext <<EOF
7277 #line 7278 "configure"
7278 #include "confdefs.h"
7279 /* System header to define __stub macros and hopefully few prototypes,
7280 which can conflict with char $ac_func(); below. */
7282 /* Override any gcc2 internal prototype to avoid an error. */
7283 /* We use char because int might match the return type of a gcc2
7284 builtin and then its argument prototype would still apply. */
7289 /* The GNU C library defines this for functions which it implements
7290 to always fail with ENOSYS. Some functions are actually named
7291 something starting with __ and the normal name is an alias. */
7292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7300 if { (eval echo configure:7301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7302 eval "ac_cv_func_$ac_func=yes"
7304 echo "configure: failed program was:" >&5
7305 cat conftest.$ac_ext >&5
7307 eval "ac_cv_func_$ac_func=no"
7312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7313 echo "$ac_t""yes" 1>&6
7314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7315 cat >> confdefs.h <<EOF
7316 #define $ac_tr_func 1
7320 echo "$ac_t""no" 1>&6
7321 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
7325 for ac_func in __signbitf
7327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7328 echo "configure:7329: checking for $ac_func" >&5
7329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7330 echo $ac_n "(cached) $ac_c" 1>&6
7332 cat > conftest.$ac_ext <<EOF
7333 #line 7334 "configure"
7334 #include "confdefs.h"
7335 /* System header to define __stub macros and hopefully few prototypes,
7336 which can conflict with char $ac_func(); below. */
7338 /* Override any gcc2 internal prototype to avoid an error. */
7339 /* We use char because int might match the return type of a gcc2
7340 builtin and then its argument prototype would still apply. */
7345 /* The GNU C library defines this for functions which it implements
7346 to always fail with ENOSYS. Some functions are actually named
7347 something starting with __ and the normal name is an alias. */
7348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7356 if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7358 eval "ac_cv_func_$ac_func=yes"
7360 echo "configure: failed program was:" >&5
7361 cat conftest.$ac_ext >&5
7363 eval "ac_cv_func_$ac_func=no"
7368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7369 echo "$ac_t""yes" 1>&6
7370 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7371 cat >> confdefs.h <<EOF
7372 #define $ac_tr_func 1
7376 echo "$ac_t""no" 1>&6
7377 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
7382 if test x$ac_cv_func_copysignl = x"yes"; then
7383 for ac_func in __signbitl
7385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7386 echo "configure:7387: checking for $ac_func" >&5
7387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7388 echo $ac_n "(cached) $ac_c" 1>&6
7390 cat > conftest.$ac_ext <<EOF
7391 #line 7392 "configure"
7392 #include "confdefs.h"
7393 /* System header to define __stub macros and hopefully few prototypes,
7394 which can conflict with char $ac_func(); below. */
7396 /* Override any gcc2 internal prototype to avoid an error. */
7397 /* We use char because int might match the return type of a gcc2
7398 builtin and then its argument prototype would still apply. */
7403 /* The GNU C library defines this for functions which it implements
7404 to always fail with ENOSYS. Some functions are actually named
7405 something starting with __ and the normal name is an alias. */
7406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7414 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7416 eval "ac_cv_func_$ac_func=yes"
7418 echo "configure: failed program was:" >&5
7419 cat conftest.$ac_ext >&5
7421 eval "ac_cv_func_$ac_func=no"
7426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7427 echo "$ac_t""yes" 1>&6
7428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7429 cat >> confdefs.h <<EOF
7430 #define $ac_tr_func 1
7434 echo "$ac_t""no" 1>&6
7435 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
7445 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
7446 echo "configure:7447: checking for mbstate_t" >&5
7447 cat > conftest.$ac_ext <<EOF
7448 #line 7449 "configure"
7449 #include "confdefs.h"
7452 mbstate_t teststate;
7455 if { (eval echo configure:7456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7459 echo "configure: failed program was:" >&5
7460 cat conftest.$ac_ext >&5
7465 echo "$ac_t""$have_mbstate_t" 1>&6
7466 if test x"$have_mbstate_t" = xyes; then
7467 cat >> confdefs.h <<\EOF
7468 #define HAVE_MBSTATE_T 1
7473 for ac_hdr in wchar.h
7475 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7476 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7477 echo "configure:7478: checking for $ac_hdr" >&5
7478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7479 echo $ac_n "(cached) $ac_c" 1>&6
7481 cat > conftest.$ac_ext <<EOF
7482 #line 7483 "configure"
7483 #include "confdefs.h"
7486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7487 { (eval echo configure:7488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7489 if test -z "$ac_err"; then
7491 eval "ac_cv_header_$ac_safe=yes"
7494 echo "configure: failed program was:" >&5
7495 cat conftest.$ac_ext >&5
7497 eval "ac_cv_header_$ac_safe=no"
7501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7502 echo "$ac_t""yes" 1>&6
7503 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7504 cat >> confdefs.h <<EOF
7505 #define $ac_tr_hdr 1
7509 echo "$ac_t""no" 1>&6
7514 for ac_hdr in wctype.h
7516 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7518 echo "configure:7519: checking for $ac_hdr" >&5
7519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7520 echo $ac_n "(cached) $ac_c" 1>&6
7522 cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure"
7524 #include "confdefs.h"
7527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7528 { (eval echo configure:7529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7530 if test -z "$ac_err"; then
7532 eval "ac_cv_header_$ac_safe=yes"
7535 echo "configure: failed program was:" >&5
7536 cat conftest.$ac_ext >&5
7538 eval "ac_cv_header_$ac_safe=no"
7542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7543 echo "$ac_t""yes" 1>&6
7544 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7545 cat >> confdefs.h <<EOF
7546 #define $ac_tr_hdr 1
7550 echo "$ac_t""no" 1>&6
7556 if test x"$ac_has_wchar_h" = xyes &&
7557 test x"$ac_has_wctype_h" = xyes &&
7558 test x"$enable_c_mbchar" != xno; then
7560 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
7561 echo "configure:7562: checking for WCHAR_MIN and WCHAR_MAX" >&5
7562 cat > conftest.$ac_ext <<EOF
7563 #line 7564 "configure"
7564 #include "confdefs.h"
7567 int i = WCHAR_MIN; int j = WCHAR_MAX;
7570 if { (eval echo configure:7571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7572 has_wchar_minmax=yes
7574 echo "configure: failed program was:" >&5
7575 cat conftest.$ac_ext >&5
7580 echo "$ac_t""$has_wchar_minmax" 1>&6
7582 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
7583 echo "configure:7584: checking for WEOF" >&5
7584 cat > conftest.$ac_ext <<EOF
7585 #line 7586 "configure"
7586 #include "confdefs.h"
7594 if { (eval echo configure:7595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7598 echo "configure: failed program was:" >&5
7599 cat conftest.$ac_ext >&5
7604 echo "$ac_t""$has_weof" 1>&6
7607 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7610 echo "configure:7611: checking for $ac_func" >&5
7611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7612 echo $ac_n "(cached) $ac_c" 1>&6
7614 cat > conftest.$ac_ext <<EOF
7615 #line 7616 "configure"
7616 #include "confdefs.h"
7617 /* System header to define __stub macros and hopefully few prototypes,
7618 which can conflict with char $ac_func(); below. */
7620 /* Override any gcc2 internal prototype to avoid an error. */
7621 /* We use char because int might match the return type of a gcc2
7622 builtin and then its argument prototype would still apply. */
7627 /* The GNU C library defines this for functions which it implements
7628 to always fail with ENOSYS. Some functions are actually named
7629 something starting with __ and the normal name is an alias. */
7630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7640 eval "ac_cv_func_$ac_func=yes"
7642 echo "configure: failed program was:" >&5
7643 cat conftest.$ac_ext >&5
7645 eval "ac_cv_func_$ac_func=no"
7650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7651 echo "$ac_t""yes" 1>&6
7652 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7653 cat >> confdefs.h <<EOF
7654 #define $ac_tr_func 1
7658 echo "$ac_t""no" 1>&6
7665 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7666 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7667 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7668 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7669 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7670 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7673 echo "configure:7674: checking for $ac_func" >&5
7674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7675 echo $ac_n "(cached) $ac_c" 1>&6
7677 cat > conftest.$ac_ext <<EOF
7678 #line 7679 "configure"
7679 #include "confdefs.h"
7680 /* System header to define __stub macros and hopefully few prototypes,
7681 which can conflict with char $ac_func(); below. */
7683 /* Override any gcc2 internal prototype to avoid an error. */
7684 /* We use char because int might match the return type of a gcc2
7685 builtin and then its argument prototype would still apply. */
7690 /* The GNU C library defines this for functions which it implements
7691 to always fail with ENOSYS. Some functions are actually named
7692 something starting with __ and the normal name is an alias. */
7693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7701 if { (eval echo configure:7702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7703 eval "ac_cv_func_$ac_func=yes"
7705 echo "configure: failed program was:" >&5
7706 cat conftest.$ac_ext >&5
7708 eval "ac_cv_func_$ac_func=no"
7713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7714 echo "$ac_t""yes" 1>&6
7715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7716 cat >> confdefs.h <<EOF
7717 #define $ac_tr_func 1
7721 echo "$ac_t""no" 1>&6
7728 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
7729 echo "configure:7730: checking for ISO C99 wchar_t support" >&5
7730 if test x"$has_weof" = xyes &&
7731 test x"$has_wchar_minmax" = xyes &&
7732 test x"$ac_wfuncs" = xyes; then
7733 ac_isoC99_wchar_t=yes
7735 ac_isoC99_wchar_t=no
7737 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7739 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
7740 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
7741 echo "configure:7742: checking for iconv.h" >&5
7742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7743 echo $ac_n "(cached) $ac_c" 1>&6
7745 cat > conftest.$ac_ext <<EOF
7746 #line 7747 "configure"
7747 #include "confdefs.h"
7750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7751 { (eval echo configure:7752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7753 if test -z "$ac_err"; then
7755 eval "ac_cv_header_$ac_safe=yes"
7758 echo "configure: failed program was:" >&5
7759 cat conftest.$ac_ext >&5
7761 eval "ac_cv_header_$ac_safe=no"
7765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7766 echo "$ac_t""yes" 1>&6
7769 echo "$ac_t""no" 1>&6
7773 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
7774 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
7775 echo "configure:7776: checking for langinfo.h" >&5
7776 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7777 echo $ac_n "(cached) $ac_c" 1>&6
7779 cat > conftest.$ac_ext <<EOF
7780 #line 7781 "configure"
7781 #include "confdefs.h"
7782 #include <langinfo.h>
7784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7785 { (eval echo configure:7786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7787 if test -z "$ac_err"; then
7789 eval "ac_cv_header_$ac_safe=yes"
7792 echo "configure: failed program was:" >&5
7793 cat conftest.$ac_ext >&5
7795 eval "ac_cv_header_$ac_safe=no"
7799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7800 echo "$ac_t""yes" 1>&6
7801 ac_has_langinfo_h=yes
7803 echo "$ac_t""no" 1>&6
7804 ac_has_langinfo_h=no
7808 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
7809 echo "configure:7810: checking for iconv in -liconv" >&5
7810 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7812 echo $ac_n "(cached) $ac_c" 1>&6
7814 ac_save_LIBS="$LIBS"
7815 LIBS="-liconv $LIBS"
7816 cat > conftest.$ac_ext <<EOF
7817 #line 7818 "configure"
7818 #include "confdefs.h"
7819 /* Override any gcc2 internal prototype to avoid an error. */
7820 /* We use char because int might match the return type of a gcc2
7821 builtin and then its argument prototype would still apply. */
7828 if { (eval echo configure:7829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7830 eval "ac_cv_lib_$ac_lib_var=yes"
7832 echo "configure: failed program was:" >&5
7833 cat conftest.$ac_ext >&5
7835 eval "ac_cv_lib_$ac_lib_var=no"
7838 LIBS="$ac_save_LIBS"
7841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7842 echo "$ac_t""yes" 1>&6
7845 echo "$ac_t""no" 1>&6
7848 ac_save_LIBS="$LIBS"
7849 LIBS="$LIBS $libiconv"
7851 for ac_func in iconv_open iconv_close iconv nl_langinfo
7853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7854 echo "configure:7855: checking for $ac_func" >&5
7855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7856 echo $ac_n "(cached) $ac_c" 1>&6
7858 cat > conftest.$ac_ext <<EOF
7859 #line 7860 "configure"
7860 #include "confdefs.h"
7861 /* System header to define __stub macros and hopefully few prototypes,
7862 which can conflict with char $ac_func(); below. */
7864 /* Override any gcc2 internal prototype to avoid an error. */
7865 /* We use char because int might match the return type of a gcc2
7866 builtin and then its argument prototype would still apply. */
7871 /* The GNU C library defines this for functions which it implements
7872 to always fail with ENOSYS. Some functions are actually named
7873 something starting with __ and the normal name is an alias. */
7874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7882 if { (eval echo configure:7883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7884 eval "ac_cv_func_$ac_func=yes"
7886 echo "configure: failed program was:" >&5
7887 cat conftest.$ac_ext >&5
7889 eval "ac_cv_func_$ac_func=no"
7894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7895 echo "$ac_t""yes" 1>&6
7896 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7897 cat >> confdefs.h <<EOF
7898 #define $ac_tr_func 1
7903 echo "$ac_t""no" 1>&6
7909 LIBS="$ac_save_LIBS"
7911 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
7912 echo "configure:7913: checking for XPG2 wchar_t support" >&5
7913 if test x"$ac_has_iconv_h" = xyes &&
7914 test x"$ac_has_langinfo_h" = xyes &&
7915 test x"$ac_XPG2funcs" = xyes; then
7920 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7922 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
7923 echo "configure:7924: checking for enabled wchar_t specializations" >&5
7924 if test x"$ac_isoC99_wchar_t" = xyes &&
7925 test x"$ac_XPG2_wchar_t" = xyes; then
7926 cat >> confdefs.h <<\EOF
7927 #define _GLIBCPP_USE_WCHAR_T 1
7930 echo "$ac_t"""yes"" 1>&6
7932 echo "$ac_t"""no"" 1>&6
7935 echo "configure: warning: wchar_t support disabled." 1>&2
7938 os_include_dir="os/mingw32"
7941 os_include_dir="os/windiss"
7944 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7947 # If we're not using GNU ld, then there's no point in even trying these
7948 # tests. Check for that first. We should have already tested for gld
7949 # by now (in libtool), but require it now just to be safe...
7950 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7951 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7954 # The name set by libtool depends on the version of libtool. Shame on us
7955 # for depending on an impl detail, but c'est la vie. Older versions used
7956 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7957 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7958 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7959 # set (hence we're using an older libtool), then set it.
7960 if test x${with_gnu_ld+set} != xset; then
7961 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7962 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7965 with_gnu_ld=$ac_cv_prog_gnu_ld
7969 # Start by getting the version number. I think the libtool test already
7970 # does some of this, but throws away the result.
7972 ldver=`$LD --version 2>/dev/null | head -1 | \
7973 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7975 glibcpp_gnu_ld_version=`echo $ldver | \
7976 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7978 # Set --gc-sections.
7979 if test "$with_gnu_ld" = "notbroken"; then
7980 # GNU ld it is! Joy and bunny rabbits!
7982 # All these tests are for C++; save the language and the compiler flags.
7983 # Need to do this so that g++ won't try to link in libstdc++
7984 ac_test_CFLAGS="${CFLAGS+set}"
7985 ac_save_CFLAGS="$CFLAGS"
7986 CFLAGS='-x c++ -Wl,--gc-sections'
7988 # Check for -Wl,--gc-sections
7989 # XXX This test is broken at the moment, as symbols required for
7990 # linking are now in libsupc++ (not built yet.....). In addition,
7991 # this test has cored on solaris in the past. In addition,
7992 # --gc-sections doesn't really work at the moment (keeps on discarding
7993 # used sections, first .eh_frame and now some of the glibc sections for
7994 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7995 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
7996 echo "configure:7997: checking for ld that supports -Wl,--gc-sections" >&5
7997 if test "$cross_compiling" = yes; then
7998 ac_sectionLDflags=yes
8000 cat > conftest.$ac_ext <<EOF
8001 #line 8002 "configure"
8002 #include "confdefs.h"
8012 if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8014 ac_sectionLDflags=yes
8016 echo "configure: failed program was:" >&5
8017 cat conftest.$ac_ext >&5
8019 ac_sectionLDflags=no
8024 if test "$ac_test_CFLAGS" = set; then
8025 CFLAGS="$ac_save_CFLAGS"
8027 # this is the suspicious part
8030 if test "$ac_sectionLDflags" = "yes"; then
8031 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8033 echo "$ac_t""$ac_sectionLDflags" 1>&6
8036 # Set linker optimization flags.
8037 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8038 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8045 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8046 echo "configure:8047: checking for main in -lm" >&5
8047 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8049 echo $ac_n "(cached) $ac_c" 1>&6
8051 ac_save_LIBS="$LIBS"
8053 cat > conftest.$ac_ext <<EOF
8054 #line 8055 "configure"
8055 #include "confdefs.h"
8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8063 eval "ac_cv_lib_$ac_lib_var=yes"
8065 echo "configure: failed program was:" >&5
8066 cat conftest.$ac_ext >&5
8068 eval "ac_cv_lib_$ac_lib_var=no"
8071 LIBS="$ac_save_LIBS"
8074 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8075 echo "$ac_t""yes" 1>&6
8076 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8077 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8078 cat >> confdefs.h <<EOF
8079 #define $ac_tr_lib 1
8085 echo "$ac_t""no" 1>&6
8088 for ac_func in nan copysignf
8090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8091 echo "configure:8092: checking for $ac_func" >&5
8092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8095 cat > conftest.$ac_ext <<EOF
8096 #line 8097 "configure"
8097 #include "confdefs.h"
8098 /* System header to define __stub macros and hopefully few prototypes,
8099 which can conflict with char $ac_func(); below. */
8101 /* Override any gcc2 internal prototype to avoid an error. */
8102 /* We use char because int might match the return type of a gcc2
8103 builtin and then its argument prototype would still apply. */
8108 /* The GNU C library defines this for functions which it implements
8109 to always fail with ENOSYS. Some functions are actually named
8110 something starting with __ and the normal name is an alias. */
8111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8121 eval "ac_cv_func_$ac_func=yes"
8123 echo "configure: failed program was:" >&5
8124 cat conftest.$ac_ext >&5
8126 eval "ac_cv_func_$ac_func=no"
8131 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8132 echo "$ac_t""yes" 1>&6
8133 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8134 cat >> confdefs.h <<EOF
8135 #define $ac_tr_func 1
8139 echo "$ac_t""no" 1>&6
8140 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8145 for ac_func in __signbit
8147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8148 echo "configure:8149: checking for $ac_func" >&5
8149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8150 echo $ac_n "(cached) $ac_c" 1>&6
8152 cat > conftest.$ac_ext <<EOF
8153 #line 8154 "configure"
8154 #include "confdefs.h"
8155 /* System header to define __stub macros and hopefully few prototypes,
8156 which can conflict with char $ac_func(); below. */
8158 /* Override any gcc2 internal prototype to avoid an error. */
8159 /* We use char because int might match the return type of a gcc2
8160 builtin and then its argument prototype would still apply. */
8165 /* The GNU C library defines this for functions which it implements
8166 to always fail with ENOSYS. Some functions are actually named
8167 something starting with __ and the normal name is an alias. */
8168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8176 if { (eval echo configure:8177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8178 eval "ac_cv_func_$ac_func=yes"
8180 echo "configure: failed program was:" >&5
8181 cat conftest.$ac_ext >&5
8183 eval "ac_cv_func_$ac_func=no"
8188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8189 echo "$ac_t""yes" 1>&6
8190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8191 cat >> confdefs.h <<EOF
8192 #define $ac_tr_func 1
8196 echo "$ac_t""no" 1>&6
8197 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8201 for ac_func in __signbitf
8203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8204 echo "configure:8205: checking for $ac_func" >&5
8205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8206 echo $ac_n "(cached) $ac_c" 1>&6
8208 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8211 /* System header to define __stub macros and hopefully few prototypes,
8212 which can conflict with char $ac_func(); below. */
8214 /* Override any gcc2 internal prototype to avoid an error. */
8215 /* We use char because int might match the return type of a gcc2
8216 builtin and then its argument prototype would still apply. */
8221 /* The GNU C library defines this for functions which it implements
8222 to always fail with ENOSYS. Some functions are actually named
8223 something starting with __ and the normal name is an alias. */
8224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8232 if { (eval echo configure:8233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8234 eval "ac_cv_func_$ac_func=yes"
8236 echo "configure: failed program was:" >&5
8237 cat conftest.$ac_ext >&5
8239 eval "ac_cv_func_$ac_func=no"
8244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8245 echo "$ac_t""yes" 1>&6
8246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8247 cat >> confdefs.h <<EOF
8248 #define $ac_tr_func 1
8252 echo "$ac_t""no" 1>&6
8253 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8258 if test x$ac_cv_func_copysignl = x"yes"; then
8259 for ac_func in __signbitl
8261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8262 echo "configure:8263: checking for $ac_func" >&5
8263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8264 echo $ac_n "(cached) $ac_c" 1>&6
8266 cat > conftest.$ac_ext <<EOF
8267 #line 8268 "configure"
8268 #include "confdefs.h"
8269 /* System header to define __stub macros and hopefully few prototypes,
8270 which can conflict with char $ac_func(); below. */
8272 /* Override any gcc2 internal prototype to avoid an error. */
8273 /* We use char because int might match the return type of a gcc2
8274 builtin and then its argument prototype would still apply. */
8279 /* The GNU C library defines this for functions which it implements
8280 to always fail with ENOSYS. Some functions are actually named
8281 something starting with __ and the normal name is an alias. */
8282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8290 if { (eval echo configure:8291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8292 eval "ac_cv_func_$ac_func=yes"
8294 echo "configure: failed program was:" >&5
8295 cat conftest.$ac_ext >&5
8297 eval "ac_cv_func_$ac_func=no"
8302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8303 echo "$ac_t""yes" 1>&6
8304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8305 cat >> confdefs.h <<EOF
8306 #define $ac_tr_func 1
8310 echo "$ac_t""no" 1>&6
8311 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8321 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8322 echo "configure:8323: checking for mbstate_t" >&5
8323 cat > conftest.$ac_ext <<EOF
8324 #line 8325 "configure"
8325 #include "confdefs.h"
8328 mbstate_t teststate;
8331 if { (eval echo configure:8332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8335 echo "configure: failed program was:" >&5
8336 cat conftest.$ac_ext >&5
8341 echo "$ac_t""$have_mbstate_t" 1>&6
8342 if test x"$have_mbstate_t" = xyes; then
8343 cat >> confdefs.h <<\EOF
8344 #define HAVE_MBSTATE_T 1
8349 for ac_hdr in wchar.h
8351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8352 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8353 echo "configure:8354: checking for $ac_hdr" >&5
8354 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8355 echo $ac_n "(cached) $ac_c" 1>&6
8357 cat > conftest.$ac_ext <<EOF
8358 #line 8359 "configure"
8359 #include "confdefs.h"
8362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8363 { (eval echo configure:8364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8365 if test -z "$ac_err"; then
8367 eval "ac_cv_header_$ac_safe=yes"
8370 echo "configure: failed program was:" >&5
8371 cat conftest.$ac_ext >&5
8373 eval "ac_cv_header_$ac_safe=no"
8377 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8378 echo "$ac_t""yes" 1>&6
8379 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8380 cat >> confdefs.h <<EOF
8381 #define $ac_tr_hdr 1
8385 echo "$ac_t""no" 1>&6
8390 for ac_hdr in wctype.h
8392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8394 echo "configure:8395: checking for $ac_hdr" >&5
8395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8396 echo $ac_n "(cached) $ac_c" 1>&6
8398 cat > conftest.$ac_ext <<EOF
8399 #line 8400 "configure"
8400 #include "confdefs.h"
8403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8404 { (eval echo configure:8405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8406 if test -z "$ac_err"; then
8408 eval "ac_cv_header_$ac_safe=yes"
8411 echo "configure: failed program was:" >&5
8412 cat conftest.$ac_ext >&5
8414 eval "ac_cv_header_$ac_safe=no"
8418 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8419 echo "$ac_t""yes" 1>&6
8420 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8421 cat >> confdefs.h <<EOF
8422 #define $ac_tr_hdr 1
8426 echo "$ac_t""no" 1>&6
8432 if test x"$ac_has_wchar_h" = xyes &&
8433 test x"$ac_has_wctype_h" = xyes &&
8434 test x"$enable_c_mbchar" != xno; then
8436 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8437 echo "configure:8438: checking for WCHAR_MIN and WCHAR_MAX" >&5
8438 cat > conftest.$ac_ext <<EOF
8439 #line 8440 "configure"
8440 #include "confdefs.h"
8443 int i = WCHAR_MIN; int j = WCHAR_MAX;
8446 if { (eval echo configure:8447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8448 has_wchar_minmax=yes
8450 echo "configure: failed program was:" >&5
8451 cat conftest.$ac_ext >&5
8456 echo "$ac_t""$has_wchar_minmax" 1>&6
8458 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8459 echo "configure:8460: checking for WEOF" >&5
8460 cat > conftest.$ac_ext <<EOF
8461 #line 8462 "configure"
8462 #include "confdefs.h"
8470 if { (eval echo configure:8471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8474 echo "configure: failed program was:" >&5
8475 cat conftest.$ac_ext >&5
8480 echo "$ac_t""$has_weof" 1>&6
8483 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8486 echo "configure:8487: checking for $ac_func" >&5
8487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8488 echo $ac_n "(cached) $ac_c" 1>&6
8490 cat > conftest.$ac_ext <<EOF
8491 #line 8492 "configure"
8492 #include "confdefs.h"
8493 /* System header to define __stub macros and hopefully few prototypes,
8494 which can conflict with char $ac_func(); below. */
8496 /* Override any gcc2 internal prototype to avoid an error. */
8497 /* We use char because int might match the return type of a gcc2
8498 builtin and then its argument prototype would still apply. */
8503 /* The GNU C library defines this for functions which it implements
8504 to always fail with ENOSYS. Some functions are actually named
8505 something starting with __ and the normal name is an alias. */
8506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8514 if { (eval echo configure:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8516 eval "ac_cv_func_$ac_func=yes"
8518 echo "configure: failed program was:" >&5
8519 cat conftest.$ac_ext >&5
8521 eval "ac_cv_func_$ac_func=no"
8526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8527 echo "$ac_t""yes" 1>&6
8528 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8529 cat >> confdefs.h <<EOF
8530 #define $ac_tr_func 1
8534 echo "$ac_t""no" 1>&6
8541 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8542 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8543 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8544 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8545 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8546 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8549 echo "configure:8550: checking for $ac_func" >&5
8550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8551 echo $ac_n "(cached) $ac_c" 1>&6
8553 cat > conftest.$ac_ext <<EOF
8554 #line 8555 "configure"
8555 #include "confdefs.h"
8556 /* System header to define __stub macros and hopefully few prototypes,
8557 which can conflict with char $ac_func(); below. */
8559 /* Override any gcc2 internal prototype to avoid an error. */
8560 /* We use char because int might match the return type of a gcc2
8561 builtin and then its argument prototype would still apply. */
8566 /* The GNU C library defines this for functions which it implements
8567 to always fail with ENOSYS. Some functions are actually named
8568 something starting with __ and the normal name is an alias. */
8569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8577 if { (eval echo configure:8578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8579 eval "ac_cv_func_$ac_func=yes"
8581 echo "configure: failed program was:" >&5
8582 cat conftest.$ac_ext >&5
8584 eval "ac_cv_func_$ac_func=no"
8589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8590 echo "$ac_t""yes" 1>&6
8591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8592 cat >> confdefs.h <<EOF
8593 #define $ac_tr_func 1
8597 echo "$ac_t""no" 1>&6
8604 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8605 echo "configure:8606: checking for ISO C99 wchar_t support" >&5
8606 if test x"$has_weof" = xyes &&
8607 test x"$has_wchar_minmax" = xyes &&
8608 test x"$ac_wfuncs" = xyes; then
8609 ac_isoC99_wchar_t=yes
8611 ac_isoC99_wchar_t=no
8613 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8615 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8616 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8617 echo "configure:8618: checking for iconv.h" >&5
8618 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8619 echo $ac_n "(cached) $ac_c" 1>&6
8621 cat > conftest.$ac_ext <<EOF
8622 #line 8623 "configure"
8623 #include "confdefs.h"
8626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8627 { (eval echo configure:8628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8629 if test -z "$ac_err"; then
8631 eval "ac_cv_header_$ac_safe=yes"
8634 echo "configure: failed program was:" >&5
8635 cat conftest.$ac_ext >&5
8637 eval "ac_cv_header_$ac_safe=no"
8641 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8642 echo "$ac_t""yes" 1>&6
8645 echo "$ac_t""no" 1>&6
8649 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8650 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8651 echo "configure:8652: checking for langinfo.h" >&5
8652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8653 echo $ac_n "(cached) $ac_c" 1>&6
8655 cat > conftest.$ac_ext <<EOF
8656 #line 8657 "configure"
8657 #include "confdefs.h"
8658 #include <langinfo.h>
8660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8661 { (eval echo configure:8662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8663 if test -z "$ac_err"; then
8665 eval "ac_cv_header_$ac_safe=yes"
8668 echo "configure: failed program was:" >&5
8669 cat conftest.$ac_ext >&5
8671 eval "ac_cv_header_$ac_safe=no"
8675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8676 echo "$ac_t""yes" 1>&6
8677 ac_has_langinfo_h=yes
8679 echo "$ac_t""no" 1>&6
8680 ac_has_langinfo_h=no
8684 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8685 echo "configure:8686: checking for iconv in -liconv" >&5
8686 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8687 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8688 echo $ac_n "(cached) $ac_c" 1>&6
8690 ac_save_LIBS="$LIBS"
8691 LIBS="-liconv $LIBS"
8692 cat > conftest.$ac_ext <<EOF
8693 #line 8694 "configure"
8694 #include "confdefs.h"
8695 /* Override any gcc2 internal prototype to avoid an error. */
8696 /* We use char because int might match the return type of a gcc2
8697 builtin and then its argument prototype would still apply. */
8704 if { (eval echo configure:8705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8706 eval "ac_cv_lib_$ac_lib_var=yes"
8708 echo "configure: failed program was:" >&5
8709 cat conftest.$ac_ext >&5
8711 eval "ac_cv_lib_$ac_lib_var=no"
8714 LIBS="$ac_save_LIBS"
8717 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8718 echo "$ac_t""yes" 1>&6
8721 echo "$ac_t""no" 1>&6
8724 ac_save_LIBS="$LIBS"
8725 LIBS="$LIBS $libiconv"
8727 for ac_func in iconv_open iconv_close iconv nl_langinfo
8729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8730 echo "configure:8731: checking for $ac_func" >&5
8731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8734 cat > conftest.$ac_ext <<EOF
8735 #line 8736 "configure"
8736 #include "confdefs.h"
8737 /* System header to define __stub macros and hopefully few prototypes,
8738 which can conflict with char $ac_func(); below. */
8740 /* Override any gcc2 internal prototype to avoid an error. */
8741 /* We use char because int might match the return type of a gcc2
8742 builtin and then its argument prototype would still apply. */
8747 /* The GNU C library defines this for functions which it implements
8748 to always fail with ENOSYS. Some functions are actually named
8749 something starting with __ and the normal name is an alias. */
8750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8758 if { (eval echo configure:8759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8760 eval "ac_cv_func_$ac_func=yes"
8762 echo "configure: failed program was:" >&5
8763 cat conftest.$ac_ext >&5
8765 eval "ac_cv_func_$ac_func=no"
8770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8771 echo "$ac_t""yes" 1>&6
8772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8773 cat >> confdefs.h <<EOF
8774 #define $ac_tr_func 1
8779 echo "$ac_t""no" 1>&6
8785 LIBS="$ac_save_LIBS"
8787 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8788 echo "configure:8789: checking for XPG2 wchar_t support" >&5
8789 if test x"$ac_has_iconv_h" = xyes &&
8790 test x"$ac_has_langinfo_h" = xyes &&
8791 test x"$ac_XPG2funcs" = xyes; then
8796 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8798 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8799 echo "configure:8800: checking for enabled wchar_t specializations" >&5
8800 if test x"$ac_isoC99_wchar_t" = xyes &&
8801 test x"$ac_XPG2_wchar_t" = xyes; then
8802 cat >> confdefs.h <<\EOF
8803 #define _GLIBCPP_USE_WCHAR_T 1
8806 echo "$ac_t"""yes"" 1>&6
8808 echo "$ac_t"""no"" 1>&6
8811 echo "configure: warning: wchar_t support disabled." 1>&2
8814 os_include_dir="os/qnx/qnx6.1"
8815 cat >> confdefs.h <<\EOF
8819 cat >> confdefs.h <<\EOF
8823 cat >> confdefs.h <<\EOF
8824 #define HAVE_COSHF 1
8827 cat >> confdefs.h <<\EOF
8828 #define HAVE_COSHL 1
8831 cat >> confdefs.h <<\EOF
8835 cat >> confdefs.h <<\EOF
8839 cat >> confdefs.h <<\EOF
8840 #define HAVE_LOG10F 1
8843 cat >> confdefs.h <<\EOF
8844 #define HAVE_LOG10L 1
8847 cat >> confdefs.h <<\EOF
8851 cat >> confdefs.h <<\EOF
8855 cat >> confdefs.h <<\EOF
8856 #define HAVE_SINHF 1
8859 cat >> confdefs.h <<\EOF
8860 #define HAVE_SINHL 1
8865 os_include_dir="os/newlib"
8866 cat >> confdefs.h <<\EOF
8867 #define HAVE_HYPOT 1
8873 case "$target_alias" in
8877 cat >> confdefs.h <<\EOF
8878 #define HAVE_ACOSF 1
8881 cat >> confdefs.h <<\EOF
8882 #define HAVE_ASINF 1
8885 cat >> confdefs.h <<\EOF
8886 #define HAVE_ATAN2F 1
8889 cat >> confdefs.h <<\EOF
8890 #define HAVE_ATANF 1
8893 cat >> confdefs.h <<\EOF
8894 #define HAVE_CEILF 1
8897 cat >> confdefs.h <<\EOF
8898 #define HAVE_COPYSIGN 1
8901 cat >> confdefs.h <<\EOF
8902 #define HAVE_COPYSIGNF 1
8905 cat >> confdefs.h <<\EOF
8909 cat >> confdefs.h <<\EOF
8910 #define HAVE_COSHF 1
8913 cat >> confdefs.h <<\EOF
8917 cat >> confdefs.h <<\EOF
8918 #define HAVE_FABSF 1
8921 cat >> confdefs.h <<\EOF
8922 #define HAVE_FLOORF 1
8925 cat >> confdefs.h <<\EOF
8926 #define HAVE_FMODF 1
8929 cat >> confdefs.h <<\EOF
8930 #define HAVE_FREXPF 1
8933 cat >> confdefs.h <<\EOF
8934 #define HAVE_LDEXPF 1
8937 cat >> confdefs.h <<\EOF
8938 #define HAVE_LOG10F 1
8941 cat >> confdefs.h <<\EOF
8945 cat >> confdefs.h <<\EOF
8946 #define HAVE_MODFF 1
8949 cat >> confdefs.h <<\EOF
8953 cat >> confdefs.h <<\EOF
8957 cat >> confdefs.h <<\EOF
8958 #define HAVE_SINHF 1
8961 cat >> confdefs.h <<\EOF
8962 #define HAVE_SQRTF 1
8965 cat >> confdefs.h <<\EOF
8969 cat >> confdefs.h <<\EOF
8970 #define HAVE_TANHF 1
8975 # GLIBCPP_CHECK_STDLIB_SUPPORT
8976 cat >> confdefs.h <<\EOF
8977 #define HAVE_STRTOF 1
8980 cat >> confdefs.h <<\EOF
8981 #define HAVE_STRTOLD 1
8985 cat >> confdefs.h <<\EOF
8990 cat >> confdefs.h <<\EOF
8991 #define HAVE_ACOSF 1
8994 cat >> confdefs.h <<\EOF
8995 #define HAVE_ASINF 1
8998 cat >> confdefs.h <<\EOF
8999 #define HAVE_ATAN2F 1
9002 cat >> confdefs.h <<\EOF
9003 #define HAVE_ATANF 1
9006 cat >> confdefs.h <<\EOF
9007 #define HAVE_CEILF 1
9010 cat >> confdefs.h <<\EOF
9011 #define HAVE_COPYSIGN 1
9014 cat >> confdefs.h <<\EOF
9015 #define HAVE_COPYSIGNF 1
9018 cat >> confdefs.h <<\EOF
9022 cat >> confdefs.h <<\EOF
9023 #define HAVE_COSHF 1
9026 cat >> confdefs.h <<\EOF
9030 cat >> confdefs.h <<\EOF
9031 #define HAVE_FABSF 1
9034 cat >> confdefs.h <<\EOF
9035 #define HAVE_FLOORF 1
9038 cat >> confdefs.h <<\EOF
9039 #define HAVE_FMODF 1
9042 cat >> confdefs.h <<\EOF
9043 #define HAVE_FREXPF 1
9046 cat >> confdefs.h <<\EOF
9047 #define HAVE_LDEXPF 1
9050 cat >> confdefs.h <<\EOF
9051 #define HAVE_LOG10F 1
9054 cat >> confdefs.h <<\EOF
9058 cat >> confdefs.h <<\EOF
9059 #define HAVE_MODFF 1
9062 cat >> confdefs.h <<\EOF
9066 cat >> confdefs.h <<\EOF
9070 cat >> confdefs.h <<\EOF
9071 #define HAVE_SINHF 1
9074 cat >> confdefs.h <<\EOF
9075 #define HAVE_SQRTF 1
9078 cat >> confdefs.h <<\EOF
9082 cat >> confdefs.h <<\EOF
9083 #define HAVE_TANHF 1
9089 # At some point, we should differentiate between architectures
9090 # like x86, which have long double versions, and alpha/powerpc/etc.,
9091 # which don't. For the time being, punt.
9092 if test x"long_double_math_on_this_cpu" = x"yes"; then
9093 cat >> confdefs.h <<\EOF
9094 #define HAVE_ACOSL 1
9097 cat >> confdefs.h <<\EOF
9098 #define HAVE_ASINL 1
9101 cat >> confdefs.h <<\EOF
9102 #define HAVE_ATAN2L 1
9105 cat >> confdefs.h <<\EOF
9106 #define HAVE_ATANL 1
9109 cat >> confdefs.h <<\EOF
9110 #define HAVE_CEILL 1
9113 cat >> confdefs.h <<\EOF
9114 #define HAVE_COPYSIGNL 1
9117 cat >> confdefs.h <<\EOF
9121 cat >> confdefs.h <<\EOF
9122 #define HAVE_COSHL 1
9125 cat >> confdefs.h <<\EOF
9129 cat >> confdefs.h <<\EOF
9130 #define HAVE_FABSL 1
9133 cat >> confdefs.h <<\EOF
9134 #define HAVE_FLOORL 1
9137 cat >> confdefs.h <<\EOF
9138 #define HAVE_FMODL 1
9141 cat >> confdefs.h <<\EOF
9142 #define HAVE_FREXPL 1
9145 cat >> confdefs.h <<\EOF
9146 #define HAVE_LDEXPL 1
9149 cat >> confdefs.h <<\EOF
9150 #define HAVE_LOG10L 1
9153 cat >> confdefs.h <<\EOF
9157 cat >> confdefs.h <<\EOF
9158 #define HAVE_MODFL 1
9161 cat >> confdefs.h <<\EOF
9165 cat >> confdefs.h <<\EOF
9166 #define HAVE_SINCOSL 1
9169 cat >> confdefs.h <<\EOF
9173 cat >> confdefs.h <<\EOF
9174 #define HAVE_SINHL 1
9177 cat >> confdefs.h <<\EOF
9178 #define HAVE_SQRTL 1
9181 cat >> confdefs.h <<\EOF
9185 cat >> confdefs.h <<\EOF
9186 #define HAVE_TANHL 1
9193 # We are being configured natively. We can do more elaborate tests
9194 # that include AC_TRY_COMPILE now, as the linker is assumed to be
9196 GLIBCPP_IS_CROSS_COMPILING=0
9199 # Check for available headers.
9200 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9201 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
9203 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9204 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9205 echo "configure:9206: checking for $ac_hdr" >&5
9206 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9209 cat > conftest.$ac_ext <<EOF
9210 #line 9211 "configure"
9211 #include "confdefs.h"
9214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9215 { (eval echo configure:9216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9217 if test -z "$ac_err"; then
9219 eval "ac_cv_header_$ac_safe=yes"
9222 echo "configure: failed program was:" >&5
9223 cat conftest.$ac_ext >&5
9225 eval "ac_cv_header_$ac_safe=no"
9229 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9230 echo "$ac_t""yes" 1>&6
9231 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9232 cat >> confdefs.h <<EOF
9233 #define $ac_tr_hdr 1
9237 echo "$ac_t""no" 1>&6
9243 # All these tests are for C++; save the language and the compiler flags.
9244 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9245 # found in GLIBCPP_CONFIGURE.
9248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9249 ac_cpp='$CXXCPP $CPPFLAGS'
9250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9252 cross_compiling=$ac_cv_prog_cxx_cross
9254 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9255 ac_save_CXXFLAGS="$CXXFLAGS"
9257 # Check for maintainer-mode bits.
9258 if test x"$USE_MAINTAINER_MODE" = xno; then
9264 # Check for -ffunction-sections -fdata-sections
9265 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
9266 echo "configure:9267: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9267 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9268 cat > conftest.$ac_ext <<EOF
9269 #line 9270 "configure"
9270 #include "confdefs.h"
9277 if { (eval echo configure:9278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9281 echo "configure: failed program was:" >&5
9282 cat conftest.$ac_ext >&5
9287 if test "$ac_test_CXXFLAGS" = set; then
9288 CXXFLAGS="$ac_save_CXXFLAGS"
9290 # this is the suspicious part
9293 if test x"$ac_fdsections" = x"yes" &&
9294 test x"$enable_debug" = x"no"; then
9295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9297 echo "$ac_t""$ac_fdsections" 1>&6
9300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9301 ac_cpp='$CPP $CPPFLAGS'
9302 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9303 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9304 cross_compiling=$ac_cv_prog_cc_cross
9310 # If we're not using GNU ld, then there's no point in even trying these
9311 # tests. Check for that first. We should have already tested for gld
9312 # by now (in libtool), but require it now just to be safe...
9313 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9314 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9317 # The name set by libtool depends on the version of libtool. Shame on us
9318 # for depending on an impl detail, but c'est la vie. Older versions used
9319 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9320 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9321 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9322 # set (hence we're using an older libtool), then set it.
9323 if test x${with_gnu_ld+set} != xset; then
9324 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9325 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
9328 with_gnu_ld=$ac_cv_prog_gnu_ld
9332 # Start by getting the version number. I think the libtool test already
9333 # does some of this, but throws away the result.
9335 ldver=`$LD --version 2>/dev/null | head -1 | \
9336 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9338 glibcpp_gnu_ld_version=`echo $ldver | \
9339 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9341 # Set --gc-sections.
9342 if test "$with_gnu_ld" = "notbroken"; then
9343 # GNU ld it is! Joy and bunny rabbits!
9345 # All these tests are for C++; save the language and the compiler flags.
9346 # Need to do this so that g++ won't try to link in libstdc++
9347 ac_test_CFLAGS="${CFLAGS+set}"
9348 ac_save_CFLAGS="$CFLAGS"
9349 CFLAGS='-x c++ -Wl,--gc-sections'
9351 # Check for -Wl,--gc-sections
9352 # XXX This test is broken at the moment, as symbols required for
9353 # linking are now in libsupc++ (not built yet.....). In addition,
9354 # this test has cored on solaris in the past. In addition,
9355 # --gc-sections doesn't really work at the moment (keeps on discarding
9356 # used sections, first .eh_frame and now some of the glibc sections for
9357 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9358 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
9359 echo "configure:9360: checking for ld that supports -Wl,--gc-sections" >&5
9360 if test "$cross_compiling" = yes; then
9361 ac_sectionLDflags=yes
9363 cat > conftest.$ac_ext <<EOF
9364 #line 9365 "configure"
9365 #include "confdefs.h"
9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9377 ac_sectionLDflags=yes
9379 echo "configure: failed program was:" >&5
9380 cat conftest.$ac_ext >&5
9382 ac_sectionLDflags=no
9387 if test "$ac_test_CFLAGS" = set; then
9388 CFLAGS="$ac_save_CFLAGS"
9390 # this is the suspicious part
9393 if test "$ac_sectionLDflags" = "yes"; then
9394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9396 echo "$ac_t""$ac_sectionLDflags" 1>&6
9399 # Set linker optimization flags.
9400 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9401 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9409 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
9410 echo "configure:9411: checking for __builtin_abs declaration" >&5
9411 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9412 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9413 echo $ac_n "(cached) $ac_c" 1>&6
9418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9419 ac_cpp='$CXXCPP $CPPFLAGS'
9420 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9421 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9422 cross_compiling=$ac_cv_prog_cxx_cross
9424 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure"
9426 #include "confdefs.h"
9432 if { (eval echo configure:9433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9434 glibcpp_cv_func___builtin_abs_use=yes
9436 echo "configure: failed program was:" >&5
9437 cat conftest.$ac_ext >&5
9439 glibcpp_cv_func___builtin_abs_use=no
9443 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9444 ac_cpp='$CPP $CPPFLAGS'
9445 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9446 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9447 cross_compiling=$ac_cv_prog_cc_cross
9453 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9454 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9455 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
9456 echo "configure:9457: checking for __builtin_abs linkage" >&5
9457 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9458 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9462 cat > conftest.$ac_ext <<EOF
9463 #line 9464 "configure"
9464 #include "confdefs.h"
9470 if { (eval echo configure:9471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9472 glibcpp_cv_func___builtin_abs_link=yes
9474 echo "configure: failed program was:" >&5
9475 cat conftest.$ac_ext >&5
9477 glibcpp_cv_func___builtin_abs_link=no
9484 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9485 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9486 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9487 cat >> confdefs.h <<EOF
9488 #define ${ac_tr_func} 1
9495 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
9496 echo "configure:9497: checking for __builtin_fabsf declaration" >&5
9497 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9498 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9499 echo $ac_n "(cached) $ac_c" 1>&6
9504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9505 ac_cpp='$CXXCPP $CPPFLAGS'
9506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9508 cross_compiling=$ac_cv_prog_cxx_cross
9510 cat > conftest.$ac_ext <<EOF
9511 #line 9512 "configure"
9512 #include "confdefs.h"
9518 if { (eval echo configure:9519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9520 glibcpp_cv_func___builtin_fabsf_use=yes
9522 echo "configure: failed program was:" >&5
9523 cat conftest.$ac_ext >&5
9525 glibcpp_cv_func___builtin_fabsf_use=no
9529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9530 ac_cpp='$CPP $CPPFLAGS'
9531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9533 cross_compiling=$ac_cv_prog_cc_cross
9539 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9540 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9541 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
9542 echo "configure:9543: checking for __builtin_fabsf linkage" >&5
9543 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9544 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9545 echo $ac_n "(cached) $ac_c" 1>&6
9548 cat > conftest.$ac_ext <<EOF
9549 #line 9550 "configure"
9550 #include "confdefs.h"
9556 if { (eval echo configure:9557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9558 glibcpp_cv_func___builtin_fabsf_link=yes
9560 echo "configure: failed program was:" >&5
9561 cat conftest.$ac_ext >&5
9563 glibcpp_cv_func___builtin_fabsf_link=no
9570 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9571 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9572 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9573 cat >> confdefs.h <<EOF
9574 #define ${ac_tr_func} 1
9581 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
9582 echo "configure:9583: checking for __builtin_fabs declaration" >&5
9583 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9584 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9585 echo $ac_n "(cached) $ac_c" 1>&6
9590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9591 ac_cpp='$CXXCPP $CPPFLAGS'
9592 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9593 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9594 cross_compiling=$ac_cv_prog_cxx_cross
9596 cat > conftest.$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9604 if { (eval echo configure:9605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9606 glibcpp_cv_func___builtin_fabs_use=yes
9608 echo "configure: failed program was:" >&5
9609 cat conftest.$ac_ext >&5
9611 glibcpp_cv_func___builtin_fabs_use=no
9615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9616 ac_cpp='$CPP $CPPFLAGS'
9617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9619 cross_compiling=$ac_cv_prog_cc_cross
9625 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9626 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9627 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
9628 echo "configure:9629: checking for __builtin_fabs linkage" >&5
9629 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9630 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9631 echo $ac_n "(cached) $ac_c" 1>&6
9634 cat > conftest.$ac_ext <<EOF
9635 #line 9636 "configure"
9636 #include "confdefs.h"
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9644 glibcpp_cv_func___builtin_fabs_link=yes
9646 echo "configure: failed program was:" >&5
9647 cat conftest.$ac_ext >&5
9649 glibcpp_cv_func___builtin_fabs_link=no
9656 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9657 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9658 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9659 cat >> confdefs.h <<EOF
9660 #define ${ac_tr_func} 1
9667 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
9668 echo "configure:9669: checking for __builtin_fabsl declaration" >&5
9669 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9670 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9677 ac_cpp='$CXXCPP $CPPFLAGS'
9678 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9679 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9680 cross_compiling=$ac_cv_prog_cxx_cross
9682 cat > conftest.$ac_ext <<EOF
9683 #line 9684 "configure"
9684 #include "confdefs.h"
9690 if { (eval echo configure:9691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9692 glibcpp_cv_func___builtin_fabsl_use=yes
9694 echo "configure: failed program was:" >&5
9695 cat conftest.$ac_ext >&5
9697 glibcpp_cv_func___builtin_fabsl_use=no
9701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9702 ac_cpp='$CPP $CPPFLAGS'
9703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9705 cross_compiling=$ac_cv_prog_cc_cross
9711 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9712 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9713 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
9714 echo "configure:9715: checking for __builtin_fabsl linkage" >&5
9715 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9716 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9720 cat > conftest.$ac_ext <<EOF
9721 #line 9722 "configure"
9722 #include "confdefs.h"
9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9730 glibcpp_cv_func___builtin_fabsl_link=yes
9732 echo "configure: failed program was:" >&5
9733 cat conftest.$ac_ext >&5
9735 glibcpp_cv_func___builtin_fabsl_link=no
9742 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9743 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9744 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9745 cat >> confdefs.h <<EOF
9746 #define ${ac_tr_func} 1
9753 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
9754 echo "configure:9755: checking for __builtin_labs declaration" >&5
9755 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9756 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9757 echo $ac_n "(cached) $ac_c" 1>&6
9762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9763 ac_cpp='$CXXCPP $CPPFLAGS'
9764 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9765 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9766 cross_compiling=$ac_cv_prog_cxx_cross
9768 cat > conftest.$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9776 if { (eval echo configure:9777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9778 glibcpp_cv_func___builtin_labs_use=yes
9780 echo "configure: failed program was:" >&5
9781 cat conftest.$ac_ext >&5
9783 glibcpp_cv_func___builtin_labs_use=no
9787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9788 ac_cpp='$CPP $CPPFLAGS'
9789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9791 cross_compiling=$ac_cv_prog_cc_cross
9797 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9798 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9799 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
9800 echo "configure:9801: checking for __builtin_labs linkage" >&5
9801 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9802 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9806 cat > conftest.$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9814 if { (eval echo configure:9815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9816 glibcpp_cv_func___builtin_labs_link=yes
9818 echo "configure: failed program was:" >&5
9819 cat conftest.$ac_ext >&5
9821 glibcpp_cv_func___builtin_labs_link=no
9828 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9829 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9830 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9831 cat >> confdefs.h <<EOF
9832 #define ${ac_tr_func} 1
9840 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
9841 echo "configure:9842: checking for __builtin_sqrtf declaration" >&5
9842 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9843 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9844 echo $ac_n "(cached) $ac_c" 1>&6
9849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9850 ac_cpp='$CXXCPP $CPPFLAGS'
9851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9853 cross_compiling=$ac_cv_prog_cxx_cross
9855 cat > conftest.$ac_ext <<EOF
9856 #line 9857 "configure"
9857 #include "confdefs.h"
9863 if { (eval echo configure:9864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9865 glibcpp_cv_func___builtin_sqrtf_use=yes
9867 echo "configure: failed program was:" >&5
9868 cat conftest.$ac_ext >&5
9870 glibcpp_cv_func___builtin_sqrtf_use=no
9874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9875 ac_cpp='$CPP $CPPFLAGS'
9876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9878 cross_compiling=$ac_cv_prog_cc_cross
9884 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9885 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9886 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
9887 echo "configure:9888: checking for __builtin_sqrtf linkage" >&5
9888 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9889 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9890 echo $ac_n "(cached) $ac_c" 1>&6
9893 cat > conftest.$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9901 if { (eval echo configure:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9903 glibcpp_cv_func___builtin_sqrtf_link=yes
9905 echo "configure: failed program was:" >&5
9906 cat conftest.$ac_ext >&5
9908 glibcpp_cv_func___builtin_sqrtf_link=no
9915 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9916 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9917 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9918 cat >> confdefs.h <<EOF
9919 #define ${ac_tr_func} 1
9926 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
9927 echo "configure:9928: checking for __builtin_sqrt declaration" >&5
9928 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9929 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9930 echo $ac_n "(cached) $ac_c" 1>&6
9935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9936 ac_cpp='$CXXCPP $CPPFLAGS'
9937 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9938 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9939 cross_compiling=$ac_cv_prog_cxx_cross
9941 cat > conftest.$ac_ext <<EOF
9942 #line 9943 "configure"
9943 #include "confdefs.h"
9949 if { (eval echo configure:9950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9951 glibcpp_cv_func___builtin_sqrt_use=yes
9953 echo "configure: failed program was:" >&5
9954 cat conftest.$ac_ext >&5
9956 glibcpp_cv_func___builtin_sqrt_use=no
9960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9961 ac_cpp='$CPP $CPPFLAGS'
9962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9964 cross_compiling=$ac_cv_prog_cc_cross
9970 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9971 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9972 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
9973 echo "configure:9974: checking for __builtin_sqrt linkage" >&5
9974 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9975 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9976 echo $ac_n "(cached) $ac_c" 1>&6
9979 cat > conftest.$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9987 if { (eval echo configure:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9989 glibcpp_cv_func___builtin_sqrt_link=yes
9991 echo "configure: failed program was:" >&5
9992 cat conftest.$ac_ext >&5
9994 glibcpp_cv_func___builtin_sqrt_link=no
10001 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
10002 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
10003 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10004 cat >> confdefs.h <<EOF
10005 #define ${ac_tr_func} 1
10012 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
10013 echo "configure:10014: checking for __builtin_sqrtl declaration" >&5
10014 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
10015 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10022 ac_cpp='$CXXCPP $CPPFLAGS'
10023 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10024 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10025 cross_compiling=$ac_cv_prog_cxx_cross
10027 cat > conftest.$ac_ext <<EOF
10028 #line 10029 "configure"
10029 #include "confdefs.h"
10032 __builtin_sqrtl(0);
10035 if { (eval echo configure:10036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10037 glibcpp_cv_func___builtin_sqrtl_use=yes
10039 echo "configure: failed program was:" >&5
10040 cat conftest.$ac_ext >&5
10042 glibcpp_cv_func___builtin_sqrtl_use=no
10046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10047 ac_cpp='$CPP $CPPFLAGS'
10048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10050 cross_compiling=$ac_cv_prog_cc_cross
10056 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
10057 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
10058 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
10059 echo "configure:10060: checking for __builtin_sqrtl linkage" >&5
10060 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
10061 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
10062 echo $ac_n "(cached) $ac_c" 1>&6
10065 cat > conftest.$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10070 __builtin_sqrtl(0);
10073 if { (eval echo configure:10074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10075 glibcpp_cv_func___builtin_sqrtl_link=yes
10077 echo "configure: failed program was:" >&5
10078 cat conftest.$ac_ext >&5
10080 glibcpp_cv_func___builtin_sqrtl_link=no
10087 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
10088 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
10089 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10090 cat >> confdefs.h <<EOF
10091 #define ${ac_tr_func} 1
10099 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
10100 echo "configure:10101: checking for __builtin_sinf declaration" >&5
10101 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
10102 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
10103 echo $ac_n "(cached) $ac_c" 1>&6
10108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10109 ac_cpp='$CXXCPP $CPPFLAGS'
10110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10112 cross_compiling=$ac_cv_prog_cxx_cross
10114 cat > conftest.$ac_ext <<EOF
10115 #line 10116 "configure"
10116 #include "confdefs.h"
10122 if { (eval echo configure:10123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10124 glibcpp_cv_func___builtin_sinf_use=yes
10126 echo "configure: failed program was:" >&5
10127 cat conftest.$ac_ext >&5
10129 glibcpp_cv_func___builtin_sinf_use=no
10133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10134 ac_cpp='$CPP $CPPFLAGS'
10135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10137 cross_compiling=$ac_cv_prog_cc_cross
10143 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
10144 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
10145 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
10146 echo "configure:10147: checking for __builtin_sinf linkage" >&5
10147 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
10148 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
10149 echo $ac_n "(cached) $ac_c" 1>&6
10152 cat > conftest.$ac_ext <<EOF
10153 #line 10154 "configure"
10154 #include "confdefs.h"
10160 if { (eval echo configure:10161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10162 glibcpp_cv_func___builtin_sinf_link=yes
10164 echo "configure: failed program was:" >&5
10165 cat conftest.$ac_ext >&5
10167 glibcpp_cv_func___builtin_sinf_link=no
10174 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
10175 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
10176 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10177 cat >> confdefs.h <<EOF
10178 #define ${ac_tr_func} 1
10185 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
10186 echo "configure:10187: checking for __builtin_sin declaration" >&5
10187 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
10188 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
10189 echo $ac_n "(cached) $ac_c" 1>&6
10194 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10195 ac_cpp='$CXXCPP $CPPFLAGS'
10196 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10197 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10198 cross_compiling=$ac_cv_prog_cxx_cross
10200 cat > conftest.$ac_ext <<EOF
10201 #line 10202 "configure"
10202 #include "confdefs.h"
10208 if { (eval echo configure:10209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10210 glibcpp_cv_func___builtin_sin_use=yes
10212 echo "configure: failed program was:" >&5
10213 cat conftest.$ac_ext >&5
10215 glibcpp_cv_func___builtin_sin_use=no
10219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10220 ac_cpp='$CPP $CPPFLAGS'
10221 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10222 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10223 cross_compiling=$ac_cv_prog_cc_cross
10229 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10230 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10231 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
10232 echo "configure:10233: checking for __builtin_sin linkage" >&5
10233 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10234 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10235 echo $ac_n "(cached) $ac_c" 1>&6
10238 cat > conftest.$ac_ext <<EOF
10239 #line 10240 "configure"
10240 #include "confdefs.h"
10246 if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10248 glibcpp_cv_func___builtin_sin_link=yes
10250 echo "configure: failed program was:" >&5
10251 cat conftest.$ac_ext >&5
10253 glibcpp_cv_func___builtin_sin_link=no
10260 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10261 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10262 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10263 cat >> confdefs.h <<EOF
10264 #define ${ac_tr_func} 1
10271 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
10272 echo "configure:10273: checking for __builtin_sinl declaration" >&5
10273 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10274 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10275 echo $ac_n "(cached) $ac_c" 1>&6
10280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10281 ac_cpp='$CXXCPP $CPPFLAGS'
10282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10284 cross_compiling=$ac_cv_prog_cxx_cross
10286 cat > conftest.$ac_ext <<EOF
10287 #line 10288 "configure"
10288 #include "confdefs.h"
10294 if { (eval echo configure:10295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10296 glibcpp_cv_func___builtin_sinl_use=yes
10298 echo "configure: failed program was:" >&5
10299 cat conftest.$ac_ext >&5
10301 glibcpp_cv_func___builtin_sinl_use=no
10305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10306 ac_cpp='$CPP $CPPFLAGS'
10307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10309 cross_compiling=$ac_cv_prog_cc_cross
10315 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10316 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10317 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
10318 echo "configure:10319: checking for __builtin_sinl linkage" >&5
10319 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10320 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10321 echo $ac_n "(cached) $ac_c" 1>&6
10324 cat > conftest.$ac_ext <<EOF
10325 #line 10326 "configure"
10326 #include "confdefs.h"
10332 if { (eval echo configure:10333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10334 glibcpp_cv_func___builtin_sinl_link=yes
10336 echo "configure: failed program was:" >&5
10337 cat conftest.$ac_ext >&5
10339 glibcpp_cv_func___builtin_sinl_link=no
10346 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10347 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10348 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10349 cat >> confdefs.h <<EOF
10350 #define ${ac_tr_func} 1
10358 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
10359 echo "configure:10360: checking for __builtin_cosf declaration" >&5
10360 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10361 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10362 echo $ac_n "(cached) $ac_c" 1>&6
10367 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10368 ac_cpp='$CXXCPP $CPPFLAGS'
10369 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10370 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10371 cross_compiling=$ac_cv_prog_cxx_cross
10373 cat > conftest.$ac_ext <<EOF
10374 #line 10375 "configure"
10375 #include "confdefs.h"
10381 if { (eval echo configure:10382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10383 glibcpp_cv_func___builtin_cosf_use=yes
10385 echo "configure: failed program was:" >&5
10386 cat conftest.$ac_ext >&5
10388 glibcpp_cv_func___builtin_cosf_use=no
10392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10393 ac_cpp='$CPP $CPPFLAGS'
10394 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10395 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10396 cross_compiling=$ac_cv_prog_cc_cross
10402 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10403 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10404 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
10405 echo "configure:10406: checking for __builtin_cosf linkage" >&5
10406 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10407 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10408 echo $ac_n "(cached) $ac_c" 1>&6
10411 cat > conftest.$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10421 glibcpp_cv_func___builtin_cosf_link=yes
10423 echo "configure: failed program was:" >&5
10424 cat conftest.$ac_ext >&5
10426 glibcpp_cv_func___builtin_cosf_link=no
10433 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10434 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10435 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10436 cat >> confdefs.h <<EOF
10437 #define ${ac_tr_func} 1
10444 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
10445 echo "configure:10446: checking for __builtin_cos declaration" >&5
10446 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10447 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10448 echo $ac_n "(cached) $ac_c" 1>&6
10453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10454 ac_cpp='$CXXCPP $CPPFLAGS'
10455 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10456 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10457 cross_compiling=$ac_cv_prog_cxx_cross
10459 cat > conftest.$ac_ext <<EOF
10460 #line 10461 "configure"
10461 #include "confdefs.h"
10467 if { (eval echo configure:10468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10469 glibcpp_cv_func___builtin_cos_use=yes
10471 echo "configure: failed program was:" >&5
10472 cat conftest.$ac_ext >&5
10474 glibcpp_cv_func___builtin_cos_use=no
10478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10479 ac_cpp='$CPP $CPPFLAGS'
10480 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10481 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10482 cross_compiling=$ac_cv_prog_cc_cross
10488 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10489 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10490 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
10491 echo "configure:10492: checking for __builtin_cos linkage" >&5
10492 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10493 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10494 echo $ac_n "(cached) $ac_c" 1>&6
10497 cat > conftest.$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10505 if { (eval echo configure:10506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10507 glibcpp_cv_func___builtin_cos_link=yes
10509 echo "configure: failed program was:" >&5
10510 cat conftest.$ac_ext >&5
10512 glibcpp_cv_func___builtin_cos_link=no
10519 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10520 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10521 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10522 cat >> confdefs.h <<EOF
10523 #define ${ac_tr_func} 1
10530 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
10531 echo "configure:10532: checking for __builtin_cosl declaration" >&5
10532 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10533 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10534 echo $ac_n "(cached) $ac_c" 1>&6
10539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10540 ac_cpp='$CXXCPP $CPPFLAGS'
10541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10543 cross_compiling=$ac_cv_prog_cxx_cross
10545 cat > conftest.$ac_ext <<EOF
10546 #line 10547 "configure"
10547 #include "confdefs.h"
10553 if { (eval echo configure:10554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10555 glibcpp_cv_func___builtin_cosl_use=yes
10557 echo "configure: failed program was:" >&5
10558 cat conftest.$ac_ext >&5
10560 glibcpp_cv_func___builtin_cosl_use=no
10564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10565 ac_cpp='$CPP $CPPFLAGS'
10566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10568 cross_compiling=$ac_cv_prog_cc_cross
10574 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10575 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10576 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
10577 echo "configure:10578: checking for __builtin_cosl linkage" >&5
10578 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10579 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10580 echo $ac_n "(cached) $ac_c" 1>&6
10583 cat > conftest.$ac_ext <<EOF
10584 #line 10585 "configure"
10585 #include "confdefs.h"
10591 if { (eval echo configure:10592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10593 glibcpp_cv_func___builtin_cosl_link=yes
10595 echo "configure: failed program was:" >&5
10596 cat conftest.$ac_ext >&5
10598 glibcpp_cv_func___builtin_cosl_link=no
10605 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10606 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10607 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10608 cat >> confdefs.h <<EOF
10609 #define ${ac_tr_func} 1
10617 if test x$dummyvar = x"yes"; then
10618 cat >> confdefs.h <<\EOF
10619 #define HAVE___BUILTIN_ABS 1
10622 cat >> confdefs.h <<\EOF
10623 #define HAVE___BUILTIN_LABS 1
10626 cat >> confdefs.h <<\EOF
10627 #define HAVE___BUILTIN_COS 1
10630 cat >> confdefs.h <<\EOF
10631 #define HAVE___BUILTIN_COSF 1
10634 cat >> confdefs.h <<\EOF
10635 #define HAVE___BUILTIN_COSL 1
10638 cat >> confdefs.h <<\EOF
10639 #define HAVE___BUILTIN_FABS 1
10642 cat >> confdefs.h <<\EOF
10643 #define HAVE___BUILTIN_FABSF 1
10646 cat >> confdefs.h <<\EOF
10647 #define HAVE___BUILTIN_FABSL 1
10650 cat >> confdefs.h <<\EOF
10651 #define HAVE___BUILTIN_SIN 1
10654 cat >> confdefs.h <<\EOF
10655 #define HAVE___BUILTIN_SINF 1
10658 cat >> confdefs.h <<\EOF
10659 #define HAVE___BUILTIN_SINL 1
10662 cat >> confdefs.h <<\EOF
10663 #define HAVE___BUILTIN_SQRT 1
10666 cat >> confdefs.h <<\EOF
10667 #define HAVE___BUILTIN_SQRTF 1
10670 cat >> confdefs.h <<\EOF
10671 #define HAVE___BUILTIN_SQRTL 1
10677 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10678 ac_save_CXXFLAGS="$CXXFLAGS"
10679 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10681 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
10682 echo "configure:10683: checking for sin in -lm" >&5
10683 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10685 echo $ac_n "(cached) $ac_c" 1>&6
10687 ac_save_LIBS="$LIBS"
10689 cat > conftest.$ac_ext <<EOF
10690 #line 10691 "configure"
10691 #include "confdefs.h"
10692 /* Override any gcc2 internal prototype to avoid an error. */
10693 /* We use char because int might match the return type of a gcc2
10694 builtin and then its argument prototype would still apply. */
10701 if { (eval echo configure:10702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10703 eval "ac_cv_lib_$ac_lib_var=yes"
10705 echo "configure: failed program was:" >&5
10706 cat conftest.$ac_ext >&5
10708 eval "ac_cv_lib_$ac_lib_var=no"
10711 LIBS="$ac_save_LIBS"
10714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10715 echo "$ac_t""yes" 1>&6
10718 echo "$ac_t""no" 1>&6
10721 ac_save_LIBS="$LIBS"
10726 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
10727 echo "configure:10728: checking for isinf declaration" >&5
10728 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10729 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10730 echo $ac_n "(cached) $ac_c" 1>&6
10735 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10736 ac_cpp='$CXXCPP $CPPFLAGS'
10737 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10738 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10739 cross_compiling=$ac_cv_prog_cxx_cross
10741 cat > conftest.$ac_ext <<EOF
10742 #line 10743 "configure"
10743 #include "confdefs.h"
10745 #ifdef HAVE_IEEEFP_H
10746 #include <ieeefp.h>
10753 if { (eval echo configure:10754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10755 glibcpp_cv_func_isinf_use=yes
10757 echo "configure: failed program was:" >&5
10758 cat conftest.$ac_ext >&5
10760 glibcpp_cv_func_isinf_use=no
10764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10765 ac_cpp='$CPP $CPPFLAGS'
10766 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10767 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10768 cross_compiling=$ac_cv_prog_cc_cross
10774 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10776 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10777 for ac_func in isinf
10779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10780 echo "configure:10781: checking for $ac_func" >&5
10781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10782 echo $ac_n "(cached) $ac_c" 1>&6
10784 cat > conftest.$ac_ext <<EOF
10785 #line 10786 "configure"
10786 #include "confdefs.h"
10787 /* System header to define __stub macros and hopefully few prototypes,
10788 which can conflict with char $ac_func(); below. */
10789 #include <assert.h>
10790 /* Override any gcc2 internal prototype to avoid an error. */
10791 /* We use char because int might match the return type of a gcc2
10792 builtin and then its argument prototype would still apply. */
10797 /* The GNU C library defines this for functions which it implements
10798 to always fail with ENOSYS. Some functions are actually named
10799 something starting with __ and the normal name is an alias. */
10800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10808 if { (eval echo configure:10809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10810 eval "ac_cv_func_$ac_func=yes"
10812 echo "configure: failed program was:" >&5
10813 cat conftest.$ac_ext >&5
10815 eval "ac_cv_func_$ac_func=no"
10820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10821 echo "$ac_t""yes" 1>&6
10822 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10823 cat >> confdefs.h <<EOF
10824 #define $ac_tr_func 1
10828 echo "$ac_t""no" 1>&6
10834 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
10835 echo "configure:10836: checking for _isinf declaration" >&5
10836 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10837 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10838 echo $ac_n "(cached) $ac_c" 1>&6
10843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10844 ac_cpp='$CXXCPP $CPPFLAGS'
10845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10847 cross_compiling=$ac_cv_prog_cxx_cross
10849 cat > conftest.$ac_ext <<EOF
10850 #line 10851 "configure"
10851 #include "confdefs.h"
10853 #ifdef HAVE_IEEEFP_H
10854 #include <ieeefp.h>
10861 if { (eval echo configure:10862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10863 glibcpp_cv_func__isinf_use=yes
10865 echo "configure: failed program was:" >&5
10866 cat conftest.$ac_ext >&5
10868 glibcpp_cv_func__isinf_use=no
10872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10873 ac_cpp='$CPP $CPPFLAGS'
10874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10876 cross_compiling=$ac_cv_prog_cc_cross
10882 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10884 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10885 for ac_func in _isinf
10887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10888 echo "configure:10889: checking for $ac_func" >&5
10889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10890 echo $ac_n "(cached) $ac_c" 1>&6
10892 cat > conftest.$ac_ext <<EOF
10893 #line 10894 "configure"
10894 #include "confdefs.h"
10895 /* System header to define __stub macros and hopefully few prototypes,
10896 which can conflict with char $ac_func(); below. */
10897 #include <assert.h>
10898 /* Override any gcc2 internal prototype to avoid an error. */
10899 /* We use char because int might match the return type of a gcc2
10900 builtin and then its argument prototype would still apply. */
10905 /* The GNU C library defines this for functions which it implements
10906 to always fail with ENOSYS. Some functions are actually named
10907 something starting with __ and the normal name is an alias. */
10908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10918 eval "ac_cv_func_$ac_func=yes"
10920 echo "configure: failed program was:" >&5
10921 cat conftest.$ac_ext >&5
10923 eval "ac_cv_func_$ac_func=no"
10928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10929 echo "$ac_t""yes" 1>&6
10930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10931 cat >> confdefs.h <<EOF
10932 #define $ac_tr_func 1
10936 echo "$ac_t""no" 1>&6
10945 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
10946 echo "configure:10947: checking for isnan declaration" >&5
10947 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10948 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10949 echo $ac_n "(cached) $ac_c" 1>&6
10954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10955 ac_cpp='$CXXCPP $CPPFLAGS'
10956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10958 cross_compiling=$ac_cv_prog_cxx_cross
10960 cat > conftest.$ac_ext <<EOF
10961 #line 10962 "configure"
10962 #include "confdefs.h"
10964 #ifdef HAVE_IEEEFP_H
10965 #include <ieeefp.h>
10972 if { (eval echo configure:10973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10974 glibcpp_cv_func_isnan_use=yes
10976 echo "configure: failed program was:" >&5
10977 cat conftest.$ac_ext >&5
10979 glibcpp_cv_func_isnan_use=no
10983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10984 ac_cpp='$CPP $CPPFLAGS'
10985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10987 cross_compiling=$ac_cv_prog_cc_cross
10993 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10995 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10996 for ac_func in isnan
10998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10999 echo "configure:11000: checking for $ac_func" >&5
11000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11001 echo $ac_n "(cached) $ac_c" 1>&6
11003 cat > conftest.$ac_ext <<EOF
11004 #line 11005 "configure"
11005 #include "confdefs.h"
11006 /* System header to define __stub macros and hopefully few prototypes,
11007 which can conflict with char $ac_func(); below. */
11008 #include <assert.h>
11009 /* Override any gcc2 internal prototype to avoid an error. */
11010 /* We use char because int might match the return type of a gcc2
11011 builtin and then its argument prototype would still apply. */
11016 /* The GNU C library defines this for functions which it implements
11017 to always fail with ENOSYS. Some functions are actually named
11018 something starting with __ and the normal name is an alias. */
11019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11027 if { (eval echo configure:11028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11029 eval "ac_cv_func_$ac_func=yes"
11031 echo "configure: failed program was:" >&5
11032 cat conftest.$ac_ext >&5
11034 eval "ac_cv_func_$ac_func=no"
11039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11040 echo "$ac_t""yes" 1>&6
11041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11042 cat >> confdefs.h <<EOF
11043 #define $ac_tr_func 1
11047 echo "$ac_t""no" 1>&6
11053 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
11054 echo "configure:11055: checking for _isnan declaration" >&5
11055 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11056 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11057 echo $ac_n "(cached) $ac_c" 1>&6
11062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11063 ac_cpp='$CXXCPP $CPPFLAGS'
11064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11066 cross_compiling=$ac_cv_prog_cxx_cross
11068 cat > conftest.$ac_ext <<EOF
11069 #line 11070 "configure"
11070 #include "confdefs.h"
11072 #ifdef HAVE_IEEEFP_H
11073 #include <ieeefp.h>
11080 if { (eval echo configure:11081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11082 glibcpp_cv_func__isnan_use=yes
11084 echo "configure: failed program was:" >&5
11085 cat conftest.$ac_ext >&5
11087 glibcpp_cv_func__isnan_use=no
11091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11092 ac_cpp='$CPP $CPPFLAGS'
11093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11095 cross_compiling=$ac_cv_prog_cc_cross
11101 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11103 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11104 for ac_func in _isnan
11106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11107 echo "configure:11108: checking for $ac_func" >&5
11108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11109 echo $ac_n "(cached) $ac_c" 1>&6
11111 cat > conftest.$ac_ext <<EOF
11112 #line 11113 "configure"
11113 #include "confdefs.h"
11114 /* System header to define __stub macros and hopefully few prototypes,
11115 which can conflict with char $ac_func(); below. */
11116 #include <assert.h>
11117 /* Override any gcc2 internal prototype to avoid an error. */
11118 /* We use char because int might match the return type of a gcc2
11119 builtin and then its argument prototype would still apply. */
11124 /* The GNU C library defines this for functions which it implements
11125 to always fail with ENOSYS. Some functions are actually named
11126 something starting with __ and the normal name is an alias. */
11127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11135 if { (eval echo configure:11136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11137 eval "ac_cv_func_$ac_func=yes"
11139 echo "configure: failed program was:" >&5
11140 cat conftest.$ac_ext >&5
11142 eval "ac_cv_func_$ac_func=no"
11147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11148 echo "$ac_t""yes" 1>&6
11149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11150 cat >> confdefs.h <<EOF
11151 #define $ac_tr_func 1
11155 echo "$ac_t""no" 1>&6
11164 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
11165 echo "configure:11166: checking for finite declaration" >&5
11166 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11167 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11168 echo $ac_n "(cached) $ac_c" 1>&6
11173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11174 ac_cpp='$CXXCPP $CPPFLAGS'
11175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11177 cross_compiling=$ac_cv_prog_cxx_cross
11179 cat > conftest.$ac_ext <<EOF
11180 #line 11181 "configure"
11181 #include "confdefs.h"
11183 #ifdef HAVE_IEEEFP_H
11184 #include <ieeefp.h>
11191 if { (eval echo configure:11192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11193 glibcpp_cv_func_finite_use=yes
11195 echo "configure: failed program was:" >&5
11196 cat conftest.$ac_ext >&5
11198 glibcpp_cv_func_finite_use=no
11202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11203 ac_cpp='$CPP $CPPFLAGS'
11204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11206 cross_compiling=$ac_cv_prog_cc_cross
11212 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11214 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11215 for ac_func in finite
11217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11218 echo "configure:11219: checking for $ac_func" >&5
11219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11220 echo $ac_n "(cached) $ac_c" 1>&6
11222 cat > conftest.$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11225 /* System header to define __stub macros and hopefully few prototypes,
11226 which can conflict with char $ac_func(); below. */
11227 #include <assert.h>
11228 /* Override any gcc2 internal prototype to avoid an error. */
11229 /* We use char because int might match the return type of a gcc2
11230 builtin and then its argument prototype would still apply. */
11235 /* The GNU C library defines this for functions which it implements
11236 to always fail with ENOSYS. Some functions are actually named
11237 something starting with __ and the normal name is an alias. */
11238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11246 if { (eval echo configure:11247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11248 eval "ac_cv_func_$ac_func=yes"
11250 echo "configure: failed program was:" >&5
11251 cat conftest.$ac_ext >&5
11253 eval "ac_cv_func_$ac_func=no"
11258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11259 echo "$ac_t""yes" 1>&6
11260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11261 cat >> confdefs.h <<EOF
11262 #define $ac_tr_func 1
11266 echo "$ac_t""no" 1>&6
11272 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
11273 echo "configure:11274: checking for _finite declaration" >&5
11274 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11275 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11276 echo $ac_n "(cached) $ac_c" 1>&6
11281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11282 ac_cpp='$CXXCPP $CPPFLAGS'
11283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11285 cross_compiling=$ac_cv_prog_cxx_cross
11287 cat > conftest.$ac_ext <<EOF
11288 #line 11289 "configure"
11289 #include "confdefs.h"
11291 #ifdef HAVE_IEEEFP_H
11292 #include <ieeefp.h>
11299 if { (eval echo configure:11300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11301 glibcpp_cv_func__finite_use=yes
11303 echo "configure: failed program was:" >&5
11304 cat conftest.$ac_ext >&5
11306 glibcpp_cv_func__finite_use=no
11310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11311 ac_cpp='$CPP $CPPFLAGS'
11312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11314 cross_compiling=$ac_cv_prog_cc_cross
11320 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11322 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11323 for ac_func in _finite
11325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11326 echo "configure:11327: checking for $ac_func" >&5
11327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11328 echo $ac_n "(cached) $ac_c" 1>&6
11330 cat > conftest.$ac_ext <<EOF
11331 #line 11332 "configure"
11332 #include "confdefs.h"
11333 /* System header to define __stub macros and hopefully few prototypes,
11334 which can conflict with char $ac_func(); below. */
11335 #include <assert.h>
11336 /* Override any gcc2 internal prototype to avoid an error. */
11337 /* We use char because int might match the return type of a gcc2
11338 builtin and then its argument prototype would still apply. */
11343 /* The GNU C library defines this for functions which it implements
11344 to always fail with ENOSYS. Some functions are actually named
11345 something starting with __ and the normal name is an alias. */
11346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11354 if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11356 eval "ac_cv_func_$ac_func=yes"
11358 echo "configure: failed program was:" >&5
11359 cat conftest.$ac_ext >&5
11361 eval "ac_cv_func_$ac_func=no"
11366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11367 echo "$ac_t""yes" 1>&6
11368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11369 cat >> confdefs.h <<EOF
11370 #define $ac_tr_func 1
11374 echo "$ac_t""no" 1>&6
11383 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
11384 echo "configure:11385: checking for copysign declaration" >&5
11385 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11386 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11387 echo $ac_n "(cached) $ac_c" 1>&6
11392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11393 ac_cpp='$CXXCPP $CPPFLAGS'
11394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11396 cross_compiling=$ac_cv_prog_cxx_cross
11398 cat > conftest.$ac_ext <<EOF
11399 #line 11400 "configure"
11400 #include "confdefs.h"
11406 if { (eval echo configure:11407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11408 glibcpp_cv_func_copysign_use=yes
11410 echo "configure: failed program was:" >&5
11411 cat conftest.$ac_ext >&5
11413 glibcpp_cv_func_copysign_use=no
11417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11418 ac_cpp='$CPP $CPPFLAGS'
11419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11421 cross_compiling=$ac_cv_prog_cc_cross
11427 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11429 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11430 for ac_func in copysign
11432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11433 echo "configure:11434: checking for $ac_func" >&5
11434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11435 echo $ac_n "(cached) $ac_c" 1>&6
11437 cat > conftest.$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11440 /* System header to define __stub macros and hopefully few prototypes,
11441 which can conflict with char $ac_func(); below. */
11442 #include <assert.h>
11443 /* Override any gcc2 internal prototype to avoid an error. */
11444 /* We use char because int might match the return type of a gcc2
11445 builtin and then its argument prototype would still apply. */
11450 /* The GNU C library defines this for functions which it implements
11451 to always fail with ENOSYS. Some functions are actually named
11452 something starting with __ and the normal name is an alias. */
11453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11463 eval "ac_cv_func_$ac_func=yes"
11465 echo "configure: failed program was:" >&5
11466 cat conftest.$ac_ext >&5
11468 eval "ac_cv_func_$ac_func=no"
11473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11474 echo "$ac_t""yes" 1>&6
11475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11476 cat >> confdefs.h <<EOF
11477 #define $ac_tr_func 1
11481 echo "$ac_t""no" 1>&6
11487 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
11488 echo "configure:11489: checking for _copysign declaration" >&5
11489 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11490 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11491 echo $ac_n "(cached) $ac_c" 1>&6
11496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11497 ac_cpp='$CXXCPP $CPPFLAGS'
11498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11500 cross_compiling=$ac_cv_prog_cxx_cross
11502 cat > conftest.$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11510 if { (eval echo configure:11511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11512 glibcpp_cv_func__copysign_use=yes
11514 echo "configure: failed program was:" >&5
11515 cat conftest.$ac_ext >&5
11517 glibcpp_cv_func__copysign_use=no
11521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11522 ac_cpp='$CPP $CPPFLAGS'
11523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11525 cross_compiling=$ac_cv_prog_cc_cross
11531 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11533 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11534 for ac_func in _copysign
11536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11537 echo "configure:11538: checking for $ac_func" >&5
11538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11539 echo $ac_n "(cached) $ac_c" 1>&6
11541 cat > conftest.$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11544 /* System header to define __stub macros and hopefully few prototypes,
11545 which can conflict with char $ac_func(); below. */
11546 #include <assert.h>
11547 /* Override any gcc2 internal prototype to avoid an error. */
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11554 /* The GNU C library defines this for functions which it implements
11555 to always fail with ENOSYS. Some functions are actually named
11556 something starting with __ and the normal name is an alias. */
11557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11565 if { (eval echo configure:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11567 eval "ac_cv_func_$ac_func=yes"
11569 echo "configure: failed program was:" >&5
11570 cat conftest.$ac_ext >&5
11572 eval "ac_cv_func_$ac_func=no"
11577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11578 echo "$ac_t""yes" 1>&6
11579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11580 cat >> confdefs.h <<EOF
11581 #define $ac_tr_func 1
11585 echo "$ac_t""no" 1>&6
11594 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
11595 echo "configure:11596: checking for sincos declaration" >&5
11596 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11597 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11598 echo $ac_n "(cached) $ac_c" 1>&6
11603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11604 ac_cpp='$CXXCPP $CPPFLAGS'
11605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11607 cross_compiling=$ac_cv_prog_cxx_cross
11609 cat > conftest.$ac_ext <<EOF
11610 #line 11611 "configure"
11611 #include "confdefs.h"
11617 if { (eval echo configure:11618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11619 glibcpp_cv_func_sincos_use=yes
11621 echo "configure: failed program was:" >&5
11622 cat conftest.$ac_ext >&5
11624 glibcpp_cv_func_sincos_use=no
11628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11629 ac_cpp='$CPP $CPPFLAGS'
11630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11632 cross_compiling=$ac_cv_prog_cc_cross
11638 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11640 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11641 for ac_func in sincos
11643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11644 echo "configure:11645: checking for $ac_func" >&5
11645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11646 echo $ac_n "(cached) $ac_c" 1>&6
11648 cat > conftest.$ac_ext <<EOF
11649 #line 11650 "configure"
11650 #include "confdefs.h"
11651 /* System header to define __stub macros and hopefully few prototypes,
11652 which can conflict with char $ac_func(); below. */
11653 #include <assert.h>
11654 /* Override any gcc2 internal prototype to avoid an error. */
11655 /* We use char because int might match the return type of a gcc2
11656 builtin and then its argument prototype would still apply. */
11661 /* The GNU C library defines this for functions which it implements
11662 to always fail with ENOSYS. Some functions are actually named
11663 something starting with __ and the normal name is an alias. */
11664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11674 eval "ac_cv_func_$ac_func=yes"
11676 echo "configure: failed program was:" >&5
11677 cat conftest.$ac_ext >&5
11679 eval "ac_cv_func_$ac_func=no"
11684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11685 echo "$ac_t""yes" 1>&6
11686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11687 cat >> confdefs.h <<EOF
11688 #define $ac_tr_func 1
11692 echo "$ac_t""no" 1>&6
11698 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
11699 echo "configure:11700: checking for _sincos declaration" >&5
11700 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11701 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11702 echo $ac_n "(cached) $ac_c" 1>&6
11707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11708 ac_cpp='$CXXCPP $CPPFLAGS'
11709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11711 cross_compiling=$ac_cv_prog_cxx_cross
11713 cat > conftest.$ac_ext <<EOF
11714 #line 11715 "configure"
11715 #include "confdefs.h"
11721 if { (eval echo configure:11722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11723 glibcpp_cv_func__sincos_use=yes
11725 echo "configure: failed program was:" >&5
11726 cat conftest.$ac_ext >&5
11728 glibcpp_cv_func__sincos_use=no
11732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11733 ac_cpp='$CPP $CPPFLAGS'
11734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11736 cross_compiling=$ac_cv_prog_cc_cross
11742 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11744 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11745 for ac_func in _sincos
11747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11748 echo "configure:11749: checking for $ac_func" >&5
11749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11750 echo $ac_n "(cached) $ac_c" 1>&6
11752 cat > conftest.$ac_ext <<EOF
11753 #line 11754 "configure"
11754 #include "confdefs.h"
11755 /* System header to define __stub macros and hopefully few prototypes,
11756 which can conflict with char $ac_func(); below. */
11757 #include <assert.h>
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 /* We use char because int might match the return type of a gcc2
11760 builtin and then its argument prototype would still apply. */
11765 /* The GNU C library defines this for functions which it implements
11766 to always fail with ENOSYS. Some functions are actually named
11767 something starting with __ and the normal name is an alias. */
11768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11778 eval "ac_cv_func_$ac_func=yes"
11780 echo "configure: failed program was:" >&5
11781 cat conftest.$ac_ext >&5
11783 eval "ac_cv_func_$ac_func=no"
11788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11789 echo "$ac_t""yes" 1>&6
11790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11791 cat >> confdefs.h <<EOF
11792 #define $ac_tr_func 1
11796 echo "$ac_t""no" 1>&6
11805 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
11806 echo "configure:11807: checking for fpclass declaration" >&5
11807 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11808 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11809 echo $ac_n "(cached) $ac_c" 1>&6
11814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11815 ac_cpp='$CXXCPP $CPPFLAGS'
11816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11818 cross_compiling=$ac_cv_prog_cxx_cross
11820 cat > conftest.$ac_ext <<EOF
11821 #line 11822 "configure"
11822 #include "confdefs.h"
11824 #ifdef HAVE_IEEEFP_H
11825 #include <ieeefp.h>
11832 if { (eval echo configure:11833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11834 glibcpp_cv_func_fpclass_use=yes
11836 echo "configure: failed program was:" >&5
11837 cat conftest.$ac_ext >&5
11839 glibcpp_cv_func_fpclass_use=no
11843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11844 ac_cpp='$CPP $CPPFLAGS'
11845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11847 cross_compiling=$ac_cv_prog_cc_cross
11853 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11855 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11856 for ac_func in fpclass
11858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11859 echo "configure:11860: checking for $ac_func" >&5
11860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11861 echo $ac_n "(cached) $ac_c" 1>&6
11863 cat > conftest.$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11866 /* System header to define __stub macros and hopefully few prototypes,
11867 which can conflict with char $ac_func(); below. */
11868 #include <assert.h>
11869 /* Override any gcc2 internal prototype to avoid an error. */
11870 /* We use char because int might match the return type of a gcc2
11871 builtin and then its argument prototype would still apply. */
11876 /* The GNU C library defines this for functions which it implements
11877 to always fail with ENOSYS. Some functions are actually named
11878 something starting with __ and the normal name is an alias. */
11879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11887 if { (eval echo configure:11888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11889 eval "ac_cv_func_$ac_func=yes"
11891 echo "configure: failed program was:" >&5
11892 cat conftest.$ac_ext >&5
11894 eval "ac_cv_func_$ac_func=no"
11899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11900 echo "$ac_t""yes" 1>&6
11901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11902 cat >> confdefs.h <<EOF
11903 #define $ac_tr_func 1
11907 echo "$ac_t""no" 1>&6
11913 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
11914 echo "configure:11915: checking for _fpclass declaration" >&5
11915 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11916 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11917 echo $ac_n "(cached) $ac_c" 1>&6
11922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11923 ac_cpp='$CXXCPP $CPPFLAGS'
11924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11926 cross_compiling=$ac_cv_prog_cxx_cross
11928 cat > conftest.$ac_ext <<EOF
11929 #line 11930 "configure"
11930 #include "confdefs.h"
11932 #ifdef HAVE_IEEEFP_H
11933 #include <ieeefp.h>
11940 if { (eval echo configure:11941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11942 glibcpp_cv_func__fpclass_use=yes
11944 echo "configure: failed program was:" >&5
11945 cat conftest.$ac_ext >&5
11947 glibcpp_cv_func__fpclass_use=no
11951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11952 ac_cpp='$CPP $CPPFLAGS'
11953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11955 cross_compiling=$ac_cv_prog_cc_cross
11961 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11963 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11964 for ac_func in _fpclass
11966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11967 echo "configure:11968: checking for $ac_func" >&5
11968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11969 echo $ac_n "(cached) $ac_c" 1>&6
11971 cat > conftest.$ac_ext <<EOF
11972 #line 11973 "configure"
11973 #include "confdefs.h"
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func(); below. */
11976 #include <assert.h>
11977 /* Override any gcc2 internal prototype to avoid an error. */
11978 /* We use char because int might match the return type of a gcc2
11979 builtin and then its argument prototype would still apply. */
11984 /* The GNU C library defines this for functions which it implements
11985 to always fail with ENOSYS. Some functions are actually named
11986 something starting with __ and the normal name is an alias. */
11987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11995 if { (eval echo configure:11996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11997 eval "ac_cv_func_$ac_func=yes"
11999 echo "configure: failed program was:" >&5
12000 cat conftest.$ac_ext >&5
12002 eval "ac_cv_func_$ac_func=no"
12007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12008 echo "$ac_t""yes" 1>&6
12009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12010 cat >> confdefs.h <<EOF
12011 #define $ac_tr_func 1
12015 echo "$ac_t""no" 1>&6
12024 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
12025 echo "configure:12026: checking for qfpclass declaration" >&5
12026 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12027 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12028 echo $ac_n "(cached) $ac_c" 1>&6
12033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12034 ac_cpp='$CXXCPP $CPPFLAGS'
12035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12037 cross_compiling=$ac_cv_prog_cxx_cross
12039 cat > conftest.$ac_ext <<EOF
12040 #line 12041 "configure"
12041 #include "confdefs.h"
12043 #ifdef HAVE_IEEEFP_H
12044 #include <ieeefp.h>
12051 if { (eval echo configure:12052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12053 glibcpp_cv_func_qfpclass_use=yes
12055 echo "configure: failed program was:" >&5
12056 cat conftest.$ac_ext >&5
12058 glibcpp_cv_func_qfpclass_use=no
12062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12063 ac_cpp='$CPP $CPPFLAGS'
12064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12066 cross_compiling=$ac_cv_prog_cc_cross
12072 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12074 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12075 for ac_func in qfpclass
12077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12078 echo "configure:12079: checking for $ac_func" >&5
12079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12080 echo $ac_n "(cached) $ac_c" 1>&6
12082 cat > conftest.$ac_ext <<EOF
12083 #line 12084 "configure"
12084 #include "confdefs.h"
12085 /* System header to define __stub macros and hopefully few prototypes,
12086 which can conflict with char $ac_func(); below. */
12087 #include <assert.h>
12088 /* Override any gcc2 internal prototype to avoid an error. */
12089 /* We use char because int might match the return type of a gcc2
12090 builtin and then its argument prototype would still apply. */
12095 /* The GNU C library defines this for functions which it implements
12096 to always fail with ENOSYS. Some functions are actually named
12097 something starting with __ and the normal name is an alias. */
12098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12106 if { (eval echo configure:12107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12108 eval "ac_cv_func_$ac_func=yes"
12110 echo "configure: failed program was:" >&5
12111 cat conftest.$ac_ext >&5
12113 eval "ac_cv_func_$ac_func=no"
12118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12119 echo "$ac_t""yes" 1>&6
12120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12121 cat >> confdefs.h <<EOF
12122 #define $ac_tr_func 1
12126 echo "$ac_t""no" 1>&6
12132 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
12133 echo "configure:12134: checking for _qfpclass declaration" >&5
12134 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12135 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12136 echo $ac_n "(cached) $ac_c" 1>&6
12141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12142 ac_cpp='$CXXCPP $CPPFLAGS'
12143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12145 cross_compiling=$ac_cv_prog_cxx_cross
12147 cat > conftest.$ac_ext <<EOF
12148 #line 12149 "configure"
12149 #include "confdefs.h"
12151 #ifdef HAVE_IEEEFP_H
12152 #include <ieeefp.h>
12159 if { (eval echo configure:12160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12161 glibcpp_cv_func__qfpclass_use=yes
12163 echo "configure: failed program was:" >&5
12164 cat conftest.$ac_ext >&5
12166 glibcpp_cv_func__qfpclass_use=no
12170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12171 ac_cpp='$CPP $CPPFLAGS'
12172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12174 cross_compiling=$ac_cv_prog_cc_cross
12180 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12182 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12183 for ac_func in _qfpclass
12185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12186 echo "configure:12187: checking for $ac_func" >&5
12187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12188 echo $ac_n "(cached) $ac_c" 1>&6
12190 cat > conftest.$ac_ext <<EOF
12191 #line 12192 "configure"
12192 #include "confdefs.h"
12193 /* System header to define __stub macros and hopefully few prototypes,
12194 which can conflict with char $ac_func(); below. */
12195 #include <assert.h>
12196 /* Override any gcc2 internal prototype to avoid an error. */
12197 /* We use char because int might match the return type of a gcc2
12198 builtin and then its argument prototype would still apply. */
12203 /* The GNU C library defines this for functions which it implements
12204 to always fail with ENOSYS. Some functions are actually named
12205 something starting with __ and the normal name is an alias. */
12206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12214 if { (eval echo configure:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12216 eval "ac_cv_func_$ac_func=yes"
12218 echo "configure: failed program was:" >&5
12219 cat conftest.$ac_ext >&5
12221 eval "ac_cv_func_$ac_func=no"
12226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12227 echo "$ac_t""yes" 1>&6
12228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12229 cat >> confdefs.h <<EOF
12230 #define $ac_tr_func 1
12234 echo "$ac_t""no" 1>&6
12243 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
12244 echo "configure:12245: checking for hypot declaration" >&5
12245 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12246 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12247 echo $ac_n "(cached) $ac_c" 1>&6
12252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12253 ac_cpp='$CXXCPP $CPPFLAGS'
12254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12256 cross_compiling=$ac_cv_prog_cxx_cross
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12266 if { (eval echo configure:12267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12268 glibcpp_cv_func_hypot_use=yes
12270 echo "configure: failed program was:" >&5
12271 cat conftest.$ac_ext >&5
12273 glibcpp_cv_func_hypot_use=no
12277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12278 ac_cpp='$CPP $CPPFLAGS'
12279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12281 cross_compiling=$ac_cv_prog_cc_cross
12287 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12289 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12290 for ac_func in hypot
12292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12293 echo "configure:12294: checking for $ac_func" >&5
12294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12295 echo $ac_n "(cached) $ac_c" 1>&6
12297 cat > conftest.$ac_ext <<EOF
12298 #line 12299 "configure"
12299 #include "confdefs.h"
12300 /* System header to define __stub macros and hopefully few prototypes,
12301 which can conflict with char $ac_func(); below. */
12302 #include <assert.h>
12303 /* Override any gcc2 internal prototype to avoid an error. */
12304 /* We use char because int might match the return type of a gcc2
12305 builtin and then its argument prototype would still apply. */
12310 /* The GNU C library defines this for functions which it implements
12311 to always fail with ENOSYS. Some functions are actually named
12312 something starting with __ and the normal name is an alias. */
12313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12321 if { (eval echo configure:12322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12323 eval "ac_cv_func_$ac_func=yes"
12325 echo "configure: failed program was:" >&5
12326 cat conftest.$ac_ext >&5
12328 eval "ac_cv_func_$ac_func=no"
12333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12334 echo "$ac_t""yes" 1>&6
12335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12336 cat >> confdefs.h <<EOF
12337 #define $ac_tr_func 1
12341 echo "$ac_t""no" 1>&6
12347 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
12348 echo "configure:12349: checking for _hypot declaration" >&5
12349 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12350 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12351 echo $ac_n "(cached) $ac_c" 1>&6
12356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12357 ac_cpp='$CXXCPP $CPPFLAGS'
12358 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12359 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12360 cross_compiling=$ac_cv_prog_cxx_cross
12362 cat > conftest.$ac_ext <<EOF
12363 #line 12364 "configure"
12364 #include "confdefs.h"
12370 if { (eval echo configure:12371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12372 glibcpp_cv_func__hypot_use=yes
12374 echo "configure: failed program was:" >&5
12375 cat conftest.$ac_ext >&5
12377 glibcpp_cv_func__hypot_use=no
12381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12382 ac_cpp='$CPP $CPPFLAGS'
12383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12385 cross_compiling=$ac_cv_prog_cc_cross
12391 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12393 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12394 for ac_func in _hypot
12396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12397 echo "configure:12398: checking for $ac_func" >&5
12398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12401 cat > conftest.$ac_ext <<EOF
12402 #line 12403 "configure"
12403 #include "confdefs.h"
12404 /* System header to define __stub macros and hopefully few prototypes,
12405 which can conflict with char $ac_func(); below. */
12406 #include <assert.h>
12407 /* Override any gcc2 internal prototype to avoid an error. */
12408 /* We use char because int might match the return type of a gcc2
12409 builtin and then its argument prototype would still apply. */
12414 /* The GNU C library defines this for functions which it implements
12415 to always fail with ENOSYS. Some functions are actually named
12416 something starting with __ and the normal name is an alias. */
12417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12425 if { (eval echo configure:12426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12427 eval "ac_cv_func_$ac_func=yes"
12429 echo "configure: failed program was:" >&5
12430 cat conftest.$ac_ext >&5
12432 eval "ac_cv_func_$ac_func=no"
12437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12438 echo "$ac_t""yes" 1>&6
12439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12440 cat >> confdefs.h <<EOF
12441 #define $ac_tr_func 1
12445 echo "$ac_t""no" 1>&6
12454 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
12455 echo "configure:12456: checking for float trig functions" >&5
12456 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12457 echo $ac_n "(cached) $ac_c" 1>&6
12462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12463 ac_cpp='$CXXCPP $CPPFLAGS'
12464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12466 cross_compiling=$ac_cv_prog_cxx_cross
12468 cat > conftest.$ac_ext <<EOF
12469 #line 12470 "configure"
12470 #include "confdefs.h"
12473 `for x in acosf asinf atanf \
12475 coshf sinhf tanhf; do echo "$x (0);"; done`
12478 if { (eval echo configure:12479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12480 glibcpp_cv_func_float_trig_use=yes
12482 echo "configure: failed program was:" >&5
12483 cat conftest.$ac_ext >&5
12485 glibcpp_cv_func_float_trig_use=no
12489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12490 ac_cpp='$CPP $CPPFLAGS'
12491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12493 cross_compiling=$ac_cv_prog_cc_cross
12497 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12498 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12499 for ac_func in acosf asinf atanf \
12503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12504 echo "configure:12505: checking for $ac_func" >&5
12505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12506 echo $ac_n "(cached) $ac_c" 1>&6
12508 cat > conftest.$ac_ext <<EOF
12509 #line 12510 "configure"
12510 #include "confdefs.h"
12511 /* System header to define __stub macros and hopefully few prototypes,
12512 which can conflict with char $ac_func(); below. */
12513 #include <assert.h>
12514 /* Override any gcc2 internal prototype to avoid an error. */
12515 /* We use char because int might match the return type of a gcc2
12516 builtin and then its argument prototype would still apply. */
12521 /* The GNU C library defines this for functions which it implements
12522 to always fail with ENOSYS. Some functions are actually named
12523 something starting with __ and the normal name is an alias. */
12524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12532 if { (eval echo configure:12533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12534 eval "ac_cv_func_$ac_func=yes"
12536 echo "configure: failed program was:" >&5
12537 cat conftest.$ac_ext >&5
12539 eval "ac_cv_func_$ac_func=no"
12544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12545 echo "$ac_t""yes" 1>&6
12546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12547 cat >> confdefs.h <<EOF
12548 #define $ac_tr_func 1
12552 echo "$ac_t""no" 1>&6
12559 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
12560 echo "configure:12561: checking for float round functions" >&5
12561 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12562 echo $ac_n "(cached) $ac_c" 1>&6
12567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12568 ac_cpp='$CXXCPP $CPPFLAGS'
12569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12571 cross_compiling=$ac_cv_prog_cxx_cross
12573 cat > conftest.$ac_ext <<EOF
12574 #line 12575 "configure"
12575 #include "confdefs.h"
12578 `for x in ceilf floorf; do echo "$x (0);"; done`
12581 if { (eval echo configure:12582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12583 glibcpp_cv_func_float_round_use=yes
12585 echo "configure: failed program was:" >&5
12586 cat conftest.$ac_ext >&5
12588 glibcpp_cv_func_float_round_use=no
12592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12593 ac_cpp='$CPP $CPPFLAGS'
12594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12596 cross_compiling=$ac_cv_prog_cc_cross
12600 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12601 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12602 for ac_func in ceilf floorf
12604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12605 echo "configure:12606: checking for $ac_func" >&5
12606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12607 echo $ac_n "(cached) $ac_c" 1>&6
12609 cat > conftest.$ac_ext <<EOF
12610 #line 12611 "configure"
12611 #include "confdefs.h"
12612 /* System header to define __stub macros and hopefully few prototypes,
12613 which can conflict with char $ac_func(); below. */
12614 #include <assert.h>
12615 /* Override any gcc2 internal prototype to avoid an error. */
12616 /* We use char because int might match the return type of a gcc2
12617 builtin and then its argument prototype would still apply. */
12622 /* The GNU C library defines this for functions which it implements
12623 to always fail with ENOSYS. Some functions are actually named
12624 something starting with __ and the normal name is an alias. */
12625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12633 if { (eval echo configure:12634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12635 eval "ac_cv_func_$ac_func=yes"
12637 echo "configure: failed program was:" >&5
12638 cat conftest.$ac_ext >&5
12640 eval "ac_cv_func_$ac_func=no"
12645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12646 echo "$ac_t""yes" 1>&6
12647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12648 cat >> confdefs.h <<EOF
12649 #define $ac_tr_func 1
12653 echo "$ac_t""no" 1>&6
12661 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
12662 echo "configure:12663: checking for expf declaration" >&5
12663 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12664 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12665 echo $ac_n "(cached) $ac_c" 1>&6
12670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12671 ac_cpp='$CXXCPP $CPPFLAGS'
12672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12674 cross_compiling=$ac_cv_prog_cxx_cross
12676 cat > conftest.$ac_ext <<EOF
12677 #line 12678 "configure"
12678 #include "confdefs.h"
12680 #ifdef HAVE_IEEEFP_H
12681 #include <ieeefp.h>
12688 if { (eval echo configure:12689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12690 glibcpp_cv_func_expf_use=yes
12692 echo "configure: failed program was:" >&5
12693 cat conftest.$ac_ext >&5
12695 glibcpp_cv_func_expf_use=no
12699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12700 ac_cpp='$CPP $CPPFLAGS'
12701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12703 cross_compiling=$ac_cv_prog_cc_cross
12709 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12711 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12712 for ac_func in expf
12714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12715 echo "configure:12716: checking for $ac_func" >&5
12716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12717 echo $ac_n "(cached) $ac_c" 1>&6
12719 cat > conftest.$ac_ext <<EOF
12720 #line 12721 "configure"
12721 #include "confdefs.h"
12722 /* System header to define __stub macros and hopefully few prototypes,
12723 which can conflict with char $ac_func(); below. */
12724 #include <assert.h>
12725 /* Override any gcc2 internal prototype to avoid an error. */
12726 /* We use char because int might match the return type of a gcc2
12727 builtin and then its argument prototype would still apply. */
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12745 eval "ac_cv_func_$ac_func=yes"
12747 echo "configure: failed program was:" >&5
12748 cat conftest.$ac_ext >&5
12750 eval "ac_cv_func_$ac_func=no"
12755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12756 echo "$ac_t""yes" 1>&6
12757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12758 cat >> confdefs.h <<EOF
12759 #define $ac_tr_func 1
12763 echo "$ac_t""no" 1>&6
12769 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
12770 echo "configure:12771: checking for _expf declaration" >&5
12771 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12772 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12773 echo $ac_n "(cached) $ac_c" 1>&6
12778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12779 ac_cpp='$CXXCPP $CPPFLAGS'
12780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12782 cross_compiling=$ac_cv_prog_cxx_cross
12784 cat > conftest.$ac_ext <<EOF
12785 #line 12786 "configure"
12786 #include "confdefs.h"
12788 #ifdef HAVE_IEEEFP_H
12789 #include <ieeefp.h>
12796 if { (eval echo configure:12797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12798 glibcpp_cv_func__expf_use=yes
12800 echo "configure: failed program was:" >&5
12801 cat conftest.$ac_ext >&5
12803 glibcpp_cv_func__expf_use=no
12807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12808 ac_cpp='$CPP $CPPFLAGS'
12809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12811 cross_compiling=$ac_cv_prog_cc_cross
12817 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12819 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12820 for ac_func in _expf
12822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12823 echo "configure:12824: checking for $ac_func" >&5
12824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12825 echo $ac_n "(cached) $ac_c" 1>&6
12827 cat > conftest.$ac_ext <<EOF
12828 #line 12829 "configure"
12829 #include "confdefs.h"
12830 /* System header to define __stub macros and hopefully few prototypes,
12831 which can conflict with char $ac_func(); below. */
12832 #include <assert.h>
12833 /* Override any gcc2 internal prototype to avoid an error. */
12834 /* We use char because int might match the return type of a gcc2
12835 builtin and then its argument prototype would still apply. */
12840 /* The GNU C library defines this for functions which it implements
12841 to always fail with ENOSYS. Some functions are actually named
12842 something starting with __ and the normal name is an alias. */
12843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12851 if { (eval echo configure:12852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12853 eval "ac_cv_func_$ac_func=yes"
12855 echo "configure: failed program was:" >&5
12856 cat conftest.$ac_ext >&5
12858 eval "ac_cv_func_$ac_func=no"
12863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12864 echo "$ac_t""yes" 1>&6
12865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12866 cat >> confdefs.h <<EOF
12867 #define $ac_tr_func 1
12871 echo "$ac_t""no" 1>&6
12880 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
12881 echo "configure:12882: checking for isnanf declaration" >&5
12882 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12883 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12884 echo $ac_n "(cached) $ac_c" 1>&6
12889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12890 ac_cpp='$CXXCPP $CPPFLAGS'
12891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12893 cross_compiling=$ac_cv_prog_cxx_cross
12895 cat > conftest.$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12899 #ifdef HAVE_IEEEFP_H
12900 #include <ieeefp.h>
12907 if { (eval echo configure:12908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12909 glibcpp_cv_func_isnanf_use=yes
12911 echo "configure: failed program was:" >&5
12912 cat conftest.$ac_ext >&5
12914 glibcpp_cv_func_isnanf_use=no
12918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12919 ac_cpp='$CPP $CPPFLAGS'
12920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12922 cross_compiling=$ac_cv_prog_cc_cross
12928 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12930 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12931 for ac_func in isnanf
12933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12934 echo "configure:12935: checking for $ac_func" >&5
12935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12936 echo $ac_n "(cached) $ac_c" 1>&6
12938 cat > conftest.$ac_ext <<EOF
12939 #line 12940 "configure"
12940 #include "confdefs.h"
12941 /* System header to define __stub macros and hopefully few prototypes,
12942 which can conflict with char $ac_func(); below. */
12943 #include <assert.h>
12944 /* Override any gcc2 internal prototype to avoid an error. */
12945 /* We use char because int might match the return type of a gcc2
12946 builtin and then its argument prototype would still apply. */
12951 /* The GNU C library defines this for functions which it implements
12952 to always fail with ENOSYS. Some functions are actually named
12953 something starting with __ and the normal name is an alias. */
12954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12962 if { (eval echo configure:12963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12964 eval "ac_cv_func_$ac_func=yes"
12966 echo "configure: failed program was:" >&5
12967 cat conftest.$ac_ext >&5
12969 eval "ac_cv_func_$ac_func=no"
12974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12975 echo "$ac_t""yes" 1>&6
12976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12977 cat >> confdefs.h <<EOF
12978 #define $ac_tr_func 1
12982 echo "$ac_t""no" 1>&6
12988 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
12989 echo "configure:12990: checking for _isnanf declaration" >&5
12990 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12991 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12998 ac_cpp='$CXXCPP $CPPFLAGS'
12999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13001 cross_compiling=$ac_cv_prog_cxx_cross
13003 cat > conftest.$ac_ext <<EOF
13004 #line 13005 "configure"
13005 #include "confdefs.h"
13007 #ifdef HAVE_IEEEFP_H
13008 #include <ieeefp.h>
13015 if { (eval echo configure:13016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13017 glibcpp_cv_func__isnanf_use=yes
13019 echo "configure: failed program was:" >&5
13020 cat conftest.$ac_ext >&5
13022 glibcpp_cv_func__isnanf_use=no
13026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13027 ac_cpp='$CPP $CPPFLAGS'
13028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13030 cross_compiling=$ac_cv_prog_cc_cross
13036 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13038 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13039 for ac_func in _isnanf
13041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13042 echo "configure:13043: checking for $ac_func" >&5
13043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13044 echo $ac_n "(cached) $ac_c" 1>&6
13046 cat > conftest.$ac_ext <<EOF
13047 #line 13048 "configure"
13048 #include "confdefs.h"
13049 /* System header to define __stub macros and hopefully few prototypes,
13050 which can conflict with char $ac_func(); below. */
13051 #include <assert.h>
13052 /* Override any gcc2 internal prototype to avoid an error. */
13053 /* We use char because int might match the return type of a gcc2
13054 builtin and then its argument prototype would still apply. */
13059 /* The GNU C library defines this for functions which it implements
13060 to always fail with ENOSYS. Some functions are actually named
13061 something starting with __ and the normal name is an alias. */
13062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13070 if { (eval echo configure:13071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13072 eval "ac_cv_func_$ac_func=yes"
13074 echo "configure: failed program was:" >&5
13075 cat conftest.$ac_ext >&5
13077 eval "ac_cv_func_$ac_func=no"
13082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13083 echo "$ac_t""yes" 1>&6
13084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13085 cat >> confdefs.h <<EOF
13086 #define $ac_tr_func 1
13090 echo "$ac_t""no" 1>&6
13099 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
13100 echo "configure:13101: checking for isinff declaration" >&5
13101 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13102 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13103 echo $ac_n "(cached) $ac_c" 1>&6
13108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13109 ac_cpp='$CXXCPP $CPPFLAGS'
13110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13112 cross_compiling=$ac_cv_prog_cxx_cross
13114 cat > conftest.$ac_ext <<EOF
13115 #line 13116 "configure"
13116 #include "confdefs.h"
13118 #ifdef HAVE_IEEEFP_H
13119 #include <ieeefp.h>
13126 if { (eval echo configure:13127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13128 glibcpp_cv_func_isinff_use=yes
13130 echo "configure: failed program was:" >&5
13131 cat conftest.$ac_ext >&5
13133 glibcpp_cv_func_isinff_use=no
13137 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13138 ac_cpp='$CPP $CPPFLAGS'
13139 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13140 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13141 cross_compiling=$ac_cv_prog_cc_cross
13147 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13149 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13150 for ac_func in isinff
13152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13153 echo "configure:13154: checking for $ac_func" >&5
13154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13155 echo $ac_n "(cached) $ac_c" 1>&6
13157 cat > conftest.$ac_ext <<EOF
13158 #line 13159 "configure"
13159 #include "confdefs.h"
13160 /* System header to define __stub macros and hopefully few prototypes,
13161 which can conflict with char $ac_func(); below. */
13162 #include <assert.h>
13163 /* Override any gcc2 internal prototype to avoid an error. */
13164 /* We use char because int might match the return type of a gcc2
13165 builtin and then its argument prototype would still apply. */
13170 /* The GNU C library defines this for functions which it implements
13171 to always fail with ENOSYS. Some functions are actually named
13172 something starting with __ and the normal name is an alias. */
13173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13181 if { (eval echo configure:13182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13183 eval "ac_cv_func_$ac_func=yes"
13185 echo "configure: failed program was:" >&5
13186 cat conftest.$ac_ext >&5
13188 eval "ac_cv_func_$ac_func=no"
13193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13194 echo "$ac_t""yes" 1>&6
13195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13196 cat >> confdefs.h <<EOF
13197 #define $ac_tr_func 1
13201 echo "$ac_t""no" 1>&6
13207 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
13208 echo "configure:13209: checking for _isinff declaration" >&5
13209 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13210 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13211 echo $ac_n "(cached) $ac_c" 1>&6
13216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13217 ac_cpp='$CXXCPP $CPPFLAGS'
13218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13220 cross_compiling=$ac_cv_prog_cxx_cross
13222 cat > conftest.$ac_ext <<EOF
13223 #line 13224 "configure"
13224 #include "confdefs.h"
13226 #ifdef HAVE_IEEEFP_H
13227 #include <ieeefp.h>
13234 if { (eval echo configure:13235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13236 glibcpp_cv_func__isinff_use=yes
13238 echo "configure: failed program was:" >&5
13239 cat conftest.$ac_ext >&5
13241 glibcpp_cv_func__isinff_use=no
13245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13246 ac_cpp='$CPP $CPPFLAGS'
13247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13249 cross_compiling=$ac_cv_prog_cc_cross
13255 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13257 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13258 for ac_func in _isinff
13260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13261 echo "configure:13262: checking for $ac_func" >&5
13262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13263 echo $ac_n "(cached) $ac_c" 1>&6
13265 cat > conftest.$ac_ext <<EOF
13266 #line 13267 "configure"
13267 #include "confdefs.h"
13268 /* System header to define __stub macros and hopefully few prototypes,
13269 which can conflict with char $ac_func(); below. */
13270 #include <assert.h>
13271 /* Override any gcc2 internal prototype to avoid an error. */
13272 /* We use char because int might match the return type of a gcc2
13273 builtin and then its argument prototype would still apply. */
13278 /* The GNU C library defines this for functions which it implements
13279 to always fail with ENOSYS. Some functions are actually named
13280 something starting with __ and the normal name is an alias. */
13281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13289 if { (eval echo configure:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13291 eval "ac_cv_func_$ac_func=yes"
13293 echo "configure: failed program was:" >&5
13294 cat conftest.$ac_ext >&5
13296 eval "ac_cv_func_$ac_func=no"
13301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13302 echo "$ac_t""yes" 1>&6
13303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13304 cat >> confdefs.h <<EOF
13305 #define $ac_tr_func 1
13309 echo "$ac_t""no" 1>&6
13318 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
13319 echo "configure:13320: checking for atan2f declaration" >&5
13320 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13321 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13322 echo $ac_n "(cached) $ac_c" 1>&6
13327 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13328 ac_cpp='$CXXCPP $CPPFLAGS'
13329 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13330 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13331 cross_compiling=$ac_cv_prog_cxx_cross
13333 cat > conftest.$ac_ext <<EOF
13334 #line 13335 "configure"
13335 #include "confdefs.h"
13341 if { (eval echo configure:13342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13343 glibcpp_cv_func_atan2f_use=yes
13345 echo "configure: failed program was:" >&5
13346 cat conftest.$ac_ext >&5
13348 glibcpp_cv_func_atan2f_use=no
13352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13353 ac_cpp='$CPP $CPPFLAGS'
13354 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13355 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13356 cross_compiling=$ac_cv_prog_cc_cross
13362 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13364 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13365 for ac_func in atan2f
13367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13368 echo "configure:13369: checking for $ac_func" >&5
13369 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13370 echo $ac_n "(cached) $ac_c" 1>&6
13372 cat > conftest.$ac_ext <<EOF
13373 #line 13374 "configure"
13374 #include "confdefs.h"
13375 /* System header to define __stub macros and hopefully few prototypes,
13376 which can conflict with char $ac_func(); below. */
13377 #include <assert.h>
13378 /* Override any gcc2 internal prototype to avoid an error. */
13379 /* We use char because int might match the return type of a gcc2
13380 builtin and then its argument prototype would still apply. */
13385 /* The GNU C library defines this for functions which it implements
13386 to always fail with ENOSYS. Some functions are actually named
13387 something starting with __ and the normal name is an alias. */
13388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13396 if { (eval echo configure:13397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13398 eval "ac_cv_func_$ac_func=yes"
13400 echo "configure: failed program was:" >&5
13401 cat conftest.$ac_ext >&5
13403 eval "ac_cv_func_$ac_func=no"
13408 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13409 echo "$ac_t""yes" 1>&6
13410 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13411 cat >> confdefs.h <<EOF
13412 #define $ac_tr_func 1
13416 echo "$ac_t""no" 1>&6
13422 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
13423 echo "configure:13424: checking for _atan2f declaration" >&5
13424 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13425 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13426 echo $ac_n "(cached) $ac_c" 1>&6
13431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13432 ac_cpp='$CXXCPP $CPPFLAGS'
13433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13435 cross_compiling=$ac_cv_prog_cxx_cross
13437 cat > conftest.$ac_ext <<EOF
13438 #line 13439 "configure"
13439 #include "confdefs.h"
13445 if { (eval echo configure:13446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13447 glibcpp_cv_func__atan2f_use=yes
13449 echo "configure: failed program was:" >&5
13450 cat conftest.$ac_ext >&5
13452 glibcpp_cv_func__atan2f_use=no
13456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13457 ac_cpp='$CPP $CPPFLAGS'
13458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13460 cross_compiling=$ac_cv_prog_cc_cross
13466 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13468 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13469 for ac_func in _atan2f
13471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13472 echo "configure:13473: checking for $ac_func" >&5
13473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13474 echo $ac_n "(cached) $ac_c" 1>&6
13476 cat > conftest.$ac_ext <<EOF
13477 #line 13478 "configure"
13478 #include "confdefs.h"
13479 /* System header to define __stub macros and hopefully few prototypes,
13480 which can conflict with char $ac_func(); below. */
13481 #include <assert.h>
13482 /* Override any gcc2 internal prototype to avoid an error. */
13483 /* We use char because int might match the return type of a gcc2
13484 builtin and then its argument prototype would still apply. */
13489 /* The GNU C library defines this for functions which it implements
13490 to always fail with ENOSYS. Some functions are actually named
13491 something starting with __ and the normal name is an alias. */
13492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13500 if { (eval echo configure:13501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13502 eval "ac_cv_func_$ac_func=yes"
13504 echo "configure: failed program was:" >&5
13505 cat conftest.$ac_ext >&5
13507 eval "ac_cv_func_$ac_func=no"
13512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13513 echo "$ac_t""yes" 1>&6
13514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13515 cat >> confdefs.h <<EOF
13516 #define $ac_tr_func 1
13520 echo "$ac_t""no" 1>&6
13529 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
13530 echo "configure:13531: checking for fabsf declaration" >&5
13531 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13532 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13533 echo $ac_n "(cached) $ac_c" 1>&6
13538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13539 ac_cpp='$CXXCPP $CPPFLAGS'
13540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13542 cross_compiling=$ac_cv_prog_cxx_cross
13544 cat > conftest.$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13548 #ifdef HAVE_IEEEFP_H
13549 #include <ieeefp.h>
13556 if { (eval echo configure:13557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13558 glibcpp_cv_func_fabsf_use=yes
13560 echo "configure: failed program was:" >&5
13561 cat conftest.$ac_ext >&5
13563 glibcpp_cv_func_fabsf_use=no
13567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13568 ac_cpp='$CPP $CPPFLAGS'
13569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13571 cross_compiling=$ac_cv_prog_cc_cross
13577 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13579 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13580 for ac_func in fabsf
13582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13583 echo "configure:13584: checking for $ac_func" >&5
13584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13585 echo $ac_n "(cached) $ac_c" 1>&6
13587 cat > conftest.$ac_ext <<EOF
13588 #line 13589 "configure"
13589 #include "confdefs.h"
13590 /* System header to define __stub macros and hopefully few prototypes,
13591 which can conflict with char $ac_func(); below. */
13592 #include <assert.h>
13593 /* Override any gcc2 internal prototype to avoid an error. */
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13600 /* The GNU C library defines this for functions which it implements
13601 to always fail with ENOSYS. Some functions are actually named
13602 something starting with __ and the normal name is an alias. */
13603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13611 if { (eval echo configure:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13613 eval "ac_cv_func_$ac_func=yes"
13615 echo "configure: failed program was:" >&5
13616 cat conftest.$ac_ext >&5
13618 eval "ac_cv_func_$ac_func=no"
13623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13624 echo "$ac_t""yes" 1>&6
13625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13626 cat >> confdefs.h <<EOF
13627 #define $ac_tr_func 1
13631 echo "$ac_t""no" 1>&6
13637 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
13638 echo "configure:13639: checking for _fabsf declaration" >&5
13639 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13640 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13647 ac_cpp='$CXXCPP $CPPFLAGS'
13648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13650 cross_compiling=$ac_cv_prog_cxx_cross
13652 cat > conftest.$ac_ext <<EOF
13653 #line 13654 "configure"
13654 #include "confdefs.h"
13656 #ifdef HAVE_IEEEFP_H
13657 #include <ieeefp.h>
13664 if { (eval echo configure:13665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13666 glibcpp_cv_func__fabsf_use=yes
13668 echo "configure: failed program was:" >&5
13669 cat conftest.$ac_ext >&5
13671 glibcpp_cv_func__fabsf_use=no
13675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13676 ac_cpp='$CPP $CPPFLAGS'
13677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13679 cross_compiling=$ac_cv_prog_cc_cross
13685 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13687 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13688 for ac_func in _fabsf
13690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13691 echo "configure:13692: checking for $ac_func" >&5
13692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13693 echo $ac_n "(cached) $ac_c" 1>&6
13695 cat > conftest.$ac_ext <<EOF
13696 #line 13697 "configure"
13697 #include "confdefs.h"
13698 /* System header to define __stub macros and hopefully few prototypes,
13699 which can conflict with char $ac_func(); below. */
13700 #include <assert.h>
13701 /* Override any gcc2 internal prototype to avoid an error. */
13702 /* We use char because int might match the return type of a gcc2
13703 builtin and then its argument prototype would still apply. */
13708 /* The GNU C library defines this for functions which it implements
13709 to always fail with ENOSYS. Some functions are actually named
13710 something starting with __ and the normal name is an alias. */
13711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13719 if { (eval echo configure:13720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13721 eval "ac_cv_func_$ac_func=yes"
13723 echo "configure: failed program was:" >&5
13724 cat conftest.$ac_ext >&5
13726 eval "ac_cv_func_$ac_func=no"
13731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13732 echo "$ac_t""yes" 1>&6
13733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13734 cat >> confdefs.h <<EOF
13735 #define $ac_tr_func 1
13739 echo "$ac_t""no" 1>&6
13748 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
13749 echo "configure:13750: checking for fmodf declaration" >&5
13750 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13751 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13752 echo $ac_n "(cached) $ac_c" 1>&6
13757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13758 ac_cpp='$CXXCPP $CPPFLAGS'
13759 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13760 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13761 cross_compiling=$ac_cv_prog_cxx_cross
13763 cat > conftest.$ac_ext <<EOF
13764 #line 13765 "configure"
13765 #include "confdefs.h"
13771 if { (eval echo configure:13772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13773 glibcpp_cv_func_fmodf_use=yes
13775 echo "configure: failed program was:" >&5
13776 cat conftest.$ac_ext >&5
13778 glibcpp_cv_func_fmodf_use=no
13782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13783 ac_cpp='$CPP $CPPFLAGS'
13784 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13785 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13786 cross_compiling=$ac_cv_prog_cc_cross
13792 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13794 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13795 for ac_func in fmodf
13797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13798 echo "configure:13799: checking for $ac_func" >&5
13799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13800 echo $ac_n "(cached) $ac_c" 1>&6
13802 cat > conftest.$ac_ext <<EOF
13803 #line 13804 "configure"
13804 #include "confdefs.h"
13805 /* System header to define __stub macros and hopefully few prototypes,
13806 which can conflict with char $ac_func(); below. */
13807 #include <assert.h>
13808 /* Override any gcc2 internal prototype to avoid an error. */
13809 /* We use char because int might match the return type of a gcc2
13810 builtin and then its argument prototype would still apply. */
13815 /* The GNU C library defines this for functions which it implements
13816 to always fail with ENOSYS. Some functions are actually named
13817 something starting with __ and the normal name is an alias. */
13818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13826 if { (eval echo configure:13827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13828 eval "ac_cv_func_$ac_func=yes"
13830 echo "configure: failed program was:" >&5
13831 cat conftest.$ac_ext >&5
13833 eval "ac_cv_func_$ac_func=no"
13838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13839 echo "$ac_t""yes" 1>&6
13840 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13841 cat >> confdefs.h <<EOF
13842 #define $ac_tr_func 1
13846 echo "$ac_t""no" 1>&6
13852 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
13853 echo "configure:13854: checking for _fmodf declaration" >&5
13854 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13855 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13861 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13862 ac_cpp='$CXXCPP $CPPFLAGS'
13863 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13864 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13865 cross_compiling=$ac_cv_prog_cxx_cross
13867 cat > conftest.$ac_ext <<EOF
13868 #line 13869 "configure"
13869 #include "confdefs.h"
13875 if { (eval echo configure:13876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13877 glibcpp_cv_func__fmodf_use=yes
13879 echo "configure: failed program was:" >&5
13880 cat conftest.$ac_ext >&5
13882 glibcpp_cv_func__fmodf_use=no
13886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13887 ac_cpp='$CPP $CPPFLAGS'
13888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13890 cross_compiling=$ac_cv_prog_cc_cross
13896 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13898 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13899 for ac_func in _fmodf
13901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13902 echo "configure:13903: checking for $ac_func" >&5
13903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13904 echo $ac_n "(cached) $ac_c" 1>&6
13906 cat > conftest.$ac_ext <<EOF
13907 #line 13908 "configure"
13908 #include "confdefs.h"
13909 /* System header to define __stub macros and hopefully few prototypes,
13910 which can conflict with char $ac_func(); below. */
13911 #include <assert.h>
13912 /* Override any gcc2 internal prototype to avoid an error. */
13913 /* We use char because int might match the return type of a gcc2
13914 builtin and then its argument prototype would still apply. */
13919 /* The GNU C library defines this for functions which it implements
13920 to always fail with ENOSYS. Some functions are actually named
13921 something starting with __ and the normal name is an alias. */
13922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13930 if { (eval echo configure:13931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13932 eval "ac_cv_func_$ac_func=yes"
13934 echo "configure: failed program was:" >&5
13935 cat conftest.$ac_ext >&5
13937 eval "ac_cv_func_$ac_func=no"
13942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13943 echo "$ac_t""yes" 1>&6
13944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13945 cat >> confdefs.h <<EOF
13946 #define $ac_tr_func 1
13950 echo "$ac_t""no" 1>&6
13959 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
13960 echo "configure:13961: checking for frexpf declaration" >&5
13961 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13962 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13963 echo $ac_n "(cached) $ac_c" 1>&6
13968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13969 ac_cpp='$CXXCPP $CPPFLAGS'
13970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13972 cross_compiling=$ac_cv_prog_cxx_cross
13974 cat > conftest.$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13982 if { (eval echo configure:13983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13984 glibcpp_cv_func_frexpf_use=yes
13986 echo "configure: failed program was:" >&5
13987 cat conftest.$ac_ext >&5
13989 glibcpp_cv_func_frexpf_use=no
13993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13994 ac_cpp='$CPP $CPPFLAGS'
13995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13997 cross_compiling=$ac_cv_prog_cc_cross
14003 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14005 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14006 for ac_func in frexpf
14008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14009 echo "configure:14010: checking for $ac_func" >&5
14010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14011 echo $ac_n "(cached) $ac_c" 1>&6
14013 cat > conftest.$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14016 /* System header to define __stub macros and hopefully few prototypes,
14017 which can conflict with char $ac_func(); below. */
14018 #include <assert.h>
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 /* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14026 /* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14037 if { (eval echo configure:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14039 eval "ac_cv_func_$ac_func=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.$ac_ext >&5
14044 eval "ac_cv_func_$ac_func=no"
14049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14052 cat >> confdefs.h <<EOF
14053 #define $ac_tr_func 1
14057 echo "$ac_t""no" 1>&6
14063 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
14064 echo "configure:14065: checking for _frexpf declaration" >&5
14065 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14066 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14073 ac_cpp='$CXXCPP $CPPFLAGS'
14074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14076 cross_compiling=$ac_cv_prog_cxx_cross
14078 cat > conftest.$ac_ext <<EOF
14079 #line 14080 "configure"
14080 #include "confdefs.h"
14086 if { (eval echo configure:14087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14088 glibcpp_cv_func__frexpf_use=yes
14090 echo "configure: failed program was:" >&5
14091 cat conftest.$ac_ext >&5
14093 glibcpp_cv_func__frexpf_use=no
14097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14098 ac_cpp='$CPP $CPPFLAGS'
14099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14101 cross_compiling=$ac_cv_prog_cc_cross
14107 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14109 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14110 for ac_func in _frexpf
14112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14113 echo "configure:14114: checking for $ac_func" >&5
14114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14115 echo $ac_n "(cached) $ac_c" 1>&6
14117 cat > conftest.$ac_ext <<EOF
14118 #line 14119 "configure"
14119 #include "confdefs.h"
14120 /* System header to define __stub macros and hopefully few prototypes,
14121 which can conflict with char $ac_func(); below. */
14122 #include <assert.h>
14123 /* Override any gcc2 internal prototype to avoid an error. */
14124 /* We use char because int might match the return type of a gcc2
14125 builtin and then its argument prototype would still apply. */
14130 /* The GNU C library defines this for functions which it implements
14131 to always fail with ENOSYS. Some functions are actually named
14132 something starting with __ and the normal name is an alias. */
14133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14141 if { (eval echo configure:14142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14143 eval "ac_cv_func_$ac_func=yes"
14145 echo "configure: failed program was:" >&5
14146 cat conftest.$ac_ext >&5
14148 eval "ac_cv_func_$ac_func=no"
14153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14154 echo "$ac_t""yes" 1>&6
14155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14156 cat >> confdefs.h <<EOF
14157 #define $ac_tr_func 1
14161 echo "$ac_t""no" 1>&6
14170 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
14171 echo "configure:14172: checking for hypotf declaration" >&5
14172 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14173 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14180 ac_cpp='$CXXCPP $CPPFLAGS'
14181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14183 cross_compiling=$ac_cv_prog_cxx_cross
14185 cat > conftest.$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14193 if { (eval echo configure:14194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14195 glibcpp_cv_func_hypotf_use=yes
14197 echo "configure: failed program was:" >&5
14198 cat conftest.$ac_ext >&5
14200 glibcpp_cv_func_hypotf_use=no
14204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14205 ac_cpp='$CPP $CPPFLAGS'
14206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14208 cross_compiling=$ac_cv_prog_cc_cross
14214 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14216 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14217 for ac_func in hypotf
14219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14220 echo "configure:14221: checking for $ac_func" >&5
14221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14222 echo $ac_n "(cached) $ac_c" 1>&6
14224 cat > conftest.$ac_ext <<EOF
14225 #line 14226 "configure"
14226 #include "confdefs.h"
14227 /* System header to define __stub macros and hopefully few prototypes,
14228 which can conflict with char $ac_func(); below. */
14229 #include <assert.h>
14230 /* Override any gcc2 internal prototype to avoid an error. */
14231 /* We use char because int might match the return type of a gcc2
14232 builtin and then its argument prototype would still apply. */
14237 /* The GNU C library defines this for functions which it implements
14238 to always fail with ENOSYS. Some functions are actually named
14239 something starting with __ and the normal name is an alias. */
14240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14248 if { (eval echo configure:14249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14250 eval "ac_cv_func_$ac_func=yes"
14252 echo "configure: failed program was:" >&5
14253 cat conftest.$ac_ext >&5
14255 eval "ac_cv_func_$ac_func=no"
14260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14261 echo "$ac_t""yes" 1>&6
14262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14263 cat >> confdefs.h <<EOF
14264 #define $ac_tr_func 1
14268 echo "$ac_t""no" 1>&6
14274 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
14275 echo "configure:14276: checking for _hypotf declaration" >&5
14276 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14277 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14278 echo $ac_n "(cached) $ac_c" 1>&6
14283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14284 ac_cpp='$CXXCPP $CPPFLAGS'
14285 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14286 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14287 cross_compiling=$ac_cv_prog_cxx_cross
14289 cat > conftest.$ac_ext <<EOF
14290 #line 14291 "configure"
14291 #include "confdefs.h"
14297 if { (eval echo configure:14298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14299 glibcpp_cv_func__hypotf_use=yes
14301 echo "configure: failed program was:" >&5
14302 cat conftest.$ac_ext >&5
14304 glibcpp_cv_func__hypotf_use=no
14308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14309 ac_cpp='$CPP $CPPFLAGS'
14310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14312 cross_compiling=$ac_cv_prog_cc_cross
14318 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14320 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14321 for ac_func in _hypotf
14323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14324 echo "configure:14325: checking for $ac_func" >&5
14325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14326 echo $ac_n "(cached) $ac_c" 1>&6
14328 cat > conftest.$ac_ext <<EOF
14329 #line 14330 "configure"
14330 #include "confdefs.h"
14331 /* System header to define __stub macros and hopefully few prototypes,
14332 which can conflict with char $ac_func(); below. */
14333 #include <assert.h>
14334 /* Override any gcc2 internal prototype to avoid an error. */
14335 /* We use char because int might match the return type of a gcc2
14336 builtin and then its argument prototype would still apply. */
14341 /* The GNU C library defines this for functions which it implements
14342 to always fail with ENOSYS. Some functions are actually named
14343 something starting with __ and the normal name is an alias. */
14344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14352 if { (eval echo configure:14353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14354 eval "ac_cv_func_$ac_func=yes"
14356 echo "configure: failed program was:" >&5
14357 cat conftest.$ac_ext >&5
14359 eval "ac_cv_func_$ac_func=no"
14364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14365 echo "$ac_t""yes" 1>&6
14366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14367 cat >> confdefs.h <<EOF
14368 #define $ac_tr_func 1
14372 echo "$ac_t""no" 1>&6
14381 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
14382 echo "configure:14383: checking for ldexpf declaration" >&5
14383 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14384 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14385 echo $ac_n "(cached) $ac_c" 1>&6
14390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14391 ac_cpp='$CXXCPP $CPPFLAGS'
14392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14394 cross_compiling=$ac_cv_prog_cxx_cross
14396 cat > conftest.$ac_ext <<EOF
14397 #line 14398 "configure"
14398 #include "confdefs.h"
14404 if { (eval echo configure:14405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14406 glibcpp_cv_func_ldexpf_use=yes
14408 echo "configure: failed program was:" >&5
14409 cat conftest.$ac_ext >&5
14411 glibcpp_cv_func_ldexpf_use=no
14415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14416 ac_cpp='$CPP $CPPFLAGS'
14417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14419 cross_compiling=$ac_cv_prog_cc_cross
14425 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14427 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14428 for ac_func in ldexpf
14430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14431 echo "configure:14432: checking for $ac_func" >&5
14432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14433 echo $ac_n "(cached) $ac_c" 1>&6
14435 cat > conftest.$ac_ext <<EOF
14436 #line 14437 "configure"
14437 #include "confdefs.h"
14438 /* System header to define __stub macros and hopefully few prototypes,
14439 which can conflict with char $ac_func(); below. */
14440 #include <assert.h>
14441 /* Override any gcc2 internal prototype to avoid an error. */
14442 /* We use char because int might match the return type of a gcc2
14443 builtin and then its argument prototype would still apply. */
14448 /* The GNU C library defines this for functions which it implements
14449 to always fail with ENOSYS. Some functions are actually named
14450 something starting with __ and the normal name is an alias. */
14451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14459 if { (eval echo configure:14460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14461 eval "ac_cv_func_$ac_func=yes"
14463 echo "configure: failed program was:" >&5
14464 cat conftest.$ac_ext >&5
14466 eval "ac_cv_func_$ac_func=no"
14471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14472 echo "$ac_t""yes" 1>&6
14473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14474 cat >> confdefs.h <<EOF
14475 #define $ac_tr_func 1
14479 echo "$ac_t""no" 1>&6
14485 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
14486 echo "configure:14487: checking for _ldexpf declaration" >&5
14487 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14488 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14489 echo $ac_n "(cached) $ac_c" 1>&6
14494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14495 ac_cpp='$CXXCPP $CPPFLAGS'
14496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14498 cross_compiling=$ac_cv_prog_cxx_cross
14500 cat > conftest.$ac_ext <<EOF
14501 #line 14502 "configure"
14502 #include "confdefs.h"
14508 if { (eval echo configure:14509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14510 glibcpp_cv_func__ldexpf_use=yes
14512 echo "configure: failed program was:" >&5
14513 cat conftest.$ac_ext >&5
14515 glibcpp_cv_func__ldexpf_use=no
14519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14520 ac_cpp='$CPP $CPPFLAGS'
14521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14523 cross_compiling=$ac_cv_prog_cc_cross
14529 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14531 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14532 for ac_func in _ldexpf
14534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14535 echo "configure:14536: checking for $ac_func" >&5
14536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14537 echo $ac_n "(cached) $ac_c" 1>&6
14539 cat > conftest.$ac_ext <<EOF
14540 #line 14541 "configure"
14541 #include "confdefs.h"
14542 /* System header to define __stub macros and hopefully few prototypes,
14543 which can conflict with char $ac_func(); below. */
14544 #include <assert.h>
14545 /* Override any gcc2 internal prototype to avoid an error. */
14546 /* We use char because int might match the return type of a gcc2
14547 builtin and then its argument prototype would still apply. */
14552 /* The GNU C library defines this for functions which it implements
14553 to always fail with ENOSYS. Some functions are actually named
14554 something starting with __ and the normal name is an alias. */
14555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14563 if { (eval echo configure:14564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14565 eval "ac_cv_func_$ac_func=yes"
14567 echo "configure: failed program was:" >&5
14568 cat conftest.$ac_ext >&5
14570 eval "ac_cv_func_$ac_func=no"
14575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14576 echo "$ac_t""yes" 1>&6
14577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14578 cat >> confdefs.h <<EOF
14579 #define $ac_tr_func 1
14583 echo "$ac_t""no" 1>&6
14592 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
14593 echo "configure:14594: checking for logf declaration" >&5
14594 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14595 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14596 echo $ac_n "(cached) $ac_c" 1>&6
14601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14602 ac_cpp='$CXXCPP $CPPFLAGS'
14603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14605 cross_compiling=$ac_cv_prog_cxx_cross
14607 cat > conftest.$ac_ext <<EOF
14608 #line 14609 "configure"
14609 #include "confdefs.h"
14611 #ifdef HAVE_IEEEFP_H
14612 #include <ieeefp.h>
14619 if { (eval echo configure:14620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14621 glibcpp_cv_func_logf_use=yes
14623 echo "configure: failed program was:" >&5
14624 cat conftest.$ac_ext >&5
14626 glibcpp_cv_func_logf_use=no
14630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14631 ac_cpp='$CPP $CPPFLAGS'
14632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14634 cross_compiling=$ac_cv_prog_cc_cross
14640 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14642 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14643 for ac_func in logf
14645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14646 echo "configure:14647: checking for $ac_func" >&5
14647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14648 echo $ac_n "(cached) $ac_c" 1>&6
14650 cat > conftest.$ac_ext <<EOF
14651 #line 14652 "configure"
14652 #include "confdefs.h"
14653 /* System header to define __stub macros and hopefully few prototypes,
14654 which can conflict with char $ac_func(); below. */
14655 #include <assert.h>
14656 /* Override any gcc2 internal prototype to avoid an error. */
14657 /* We use char because int might match the return type of a gcc2
14658 builtin and then its argument prototype would still apply. */
14663 /* The GNU C library defines this for functions which it implements
14664 to always fail with ENOSYS. Some functions are actually named
14665 something starting with __ and the normal name is an alias. */
14666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14674 if { (eval echo configure:14675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14676 eval "ac_cv_func_$ac_func=yes"
14678 echo "configure: failed program was:" >&5
14679 cat conftest.$ac_ext >&5
14681 eval "ac_cv_func_$ac_func=no"
14686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14687 echo "$ac_t""yes" 1>&6
14688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14689 cat >> confdefs.h <<EOF
14690 #define $ac_tr_func 1
14694 echo "$ac_t""no" 1>&6
14700 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
14701 echo "configure:14702: checking for _logf declaration" >&5
14702 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14703 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14704 echo $ac_n "(cached) $ac_c" 1>&6
14709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14710 ac_cpp='$CXXCPP $CPPFLAGS'
14711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14713 cross_compiling=$ac_cv_prog_cxx_cross
14715 cat > conftest.$ac_ext <<EOF
14716 #line 14717 "configure"
14717 #include "confdefs.h"
14719 #ifdef HAVE_IEEEFP_H
14720 #include <ieeefp.h>
14727 if { (eval echo configure:14728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14729 glibcpp_cv_func__logf_use=yes
14731 echo "configure: failed program was:" >&5
14732 cat conftest.$ac_ext >&5
14734 glibcpp_cv_func__logf_use=no
14738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14739 ac_cpp='$CPP $CPPFLAGS'
14740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14742 cross_compiling=$ac_cv_prog_cc_cross
14748 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14750 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14751 for ac_func in _logf
14753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14754 echo "configure:14755: checking for $ac_func" >&5
14755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14756 echo $ac_n "(cached) $ac_c" 1>&6
14758 cat > conftest.$ac_ext <<EOF
14759 #line 14760 "configure"
14760 #include "confdefs.h"
14761 /* System header to define __stub macros and hopefully few prototypes,
14762 which can conflict with char $ac_func(); below. */
14763 #include <assert.h>
14764 /* Override any gcc2 internal prototype to avoid an error. */
14765 /* We use char because int might match the return type of a gcc2
14766 builtin and then its argument prototype would still apply. */
14771 /* The GNU C library defines this for functions which it implements
14772 to always fail with ENOSYS. Some functions are actually named
14773 something starting with __ and the normal name is an alias. */
14774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14782 if { (eval echo configure:14783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14784 eval "ac_cv_func_$ac_func=yes"
14786 echo "configure: failed program was:" >&5
14787 cat conftest.$ac_ext >&5
14789 eval "ac_cv_func_$ac_func=no"
14794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14795 echo "$ac_t""yes" 1>&6
14796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14797 cat >> confdefs.h <<EOF
14798 #define $ac_tr_func 1
14802 echo "$ac_t""no" 1>&6
14811 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
14812 echo "configure:14813: checking for log10f declaration" >&5
14813 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14814 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14815 echo $ac_n "(cached) $ac_c" 1>&6
14820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14821 ac_cpp='$CXXCPP $CPPFLAGS'
14822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14824 cross_compiling=$ac_cv_prog_cxx_cross
14826 cat > conftest.$ac_ext <<EOF
14827 #line 14828 "configure"
14828 #include "confdefs.h"
14830 #ifdef HAVE_IEEEFP_H
14831 #include <ieeefp.h>
14838 if { (eval echo configure:14839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14840 glibcpp_cv_func_log10f_use=yes
14842 echo "configure: failed program was:" >&5
14843 cat conftest.$ac_ext >&5
14845 glibcpp_cv_func_log10f_use=no
14849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14850 ac_cpp='$CPP $CPPFLAGS'
14851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14853 cross_compiling=$ac_cv_prog_cc_cross
14859 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14861 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14862 for ac_func in log10f
14864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14865 echo "configure:14866: checking for $ac_func" >&5
14866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14867 echo $ac_n "(cached) $ac_c" 1>&6
14869 cat > conftest.$ac_ext <<EOF
14870 #line 14871 "configure"
14871 #include "confdefs.h"
14872 /* System header to define __stub macros and hopefully few prototypes,
14873 which can conflict with char $ac_func(); below. */
14874 #include <assert.h>
14875 /* Override any gcc2 internal prototype to avoid an error. */
14876 /* We use char because int might match the return type of a gcc2
14877 builtin and then its argument prototype would still apply. */
14882 /* The GNU C library defines this for functions which it implements
14883 to always fail with ENOSYS. Some functions are actually named
14884 something starting with __ and the normal name is an alias. */
14885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14893 if { (eval echo configure:14894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14895 eval "ac_cv_func_$ac_func=yes"
14897 echo "configure: failed program was:" >&5
14898 cat conftest.$ac_ext >&5
14900 eval "ac_cv_func_$ac_func=no"
14905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14906 echo "$ac_t""yes" 1>&6
14907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14908 cat >> confdefs.h <<EOF
14909 #define $ac_tr_func 1
14913 echo "$ac_t""no" 1>&6
14919 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
14920 echo "configure:14921: checking for _log10f declaration" >&5
14921 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14922 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14923 echo $ac_n "(cached) $ac_c" 1>&6
14928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14932 cross_compiling=$ac_cv_prog_cxx_cross
14934 cat > conftest.$ac_ext <<EOF
14935 #line 14936 "configure"
14936 #include "confdefs.h"
14938 #ifdef HAVE_IEEEFP_H
14939 #include <ieeefp.h>
14946 if { (eval echo configure:14947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14948 glibcpp_cv_func__log10f_use=yes
14950 echo "configure: failed program was:" >&5
14951 cat conftest.$ac_ext >&5
14953 glibcpp_cv_func__log10f_use=no
14957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14958 ac_cpp='$CPP $CPPFLAGS'
14959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14961 cross_compiling=$ac_cv_prog_cc_cross
14967 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14969 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14970 for ac_func in _log10f
14972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14973 echo "configure:14974: checking for $ac_func" >&5
14974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14975 echo $ac_n "(cached) $ac_c" 1>&6
14977 cat > conftest.$ac_ext <<EOF
14978 #line 14979 "configure"
14979 #include "confdefs.h"
14980 /* System header to define __stub macros and hopefully few prototypes,
14981 which can conflict with char $ac_func(); below. */
14982 #include <assert.h>
14983 /* Override any gcc2 internal prototype to avoid an error. */
14984 /* We use char because int might match the return type of a gcc2
14985 builtin and then its argument prototype would still apply. */
14990 /* The GNU C library defines this for functions which it implements
14991 to always fail with ENOSYS. Some functions are actually named
14992 something starting with __ and the normal name is an alias. */
14993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15001 if { (eval echo configure:15002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15003 eval "ac_cv_func_$ac_func=yes"
15005 echo "configure: failed program was:" >&5
15006 cat conftest.$ac_ext >&5
15008 eval "ac_cv_func_$ac_func=no"
15013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15014 echo "$ac_t""yes" 1>&6
15015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15016 cat >> confdefs.h <<EOF
15017 #define $ac_tr_func 1
15021 echo "$ac_t""no" 1>&6
15030 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
15031 echo "configure:15032: checking for modff declaration" >&5
15032 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15033 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15034 echo $ac_n "(cached) $ac_c" 1>&6
15039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15040 ac_cpp='$CXXCPP $CPPFLAGS'
15041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15043 cross_compiling=$ac_cv_prog_cxx_cross
15045 cat > conftest.$ac_ext <<EOF
15046 #line 15047 "configure"
15047 #include "confdefs.h"
15053 if { (eval echo configure:15054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15055 glibcpp_cv_func_modff_use=yes
15057 echo "configure: failed program was:" >&5
15058 cat conftest.$ac_ext >&5
15060 glibcpp_cv_func_modff_use=no
15064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15065 ac_cpp='$CPP $CPPFLAGS'
15066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15068 cross_compiling=$ac_cv_prog_cc_cross
15074 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15076 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15077 for ac_func in modff
15079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15080 echo "configure:15081: checking for $ac_func" >&5
15081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15082 echo $ac_n "(cached) $ac_c" 1>&6
15084 cat > conftest.$ac_ext <<EOF
15085 #line 15086 "configure"
15086 #include "confdefs.h"
15087 /* System header to define __stub macros and hopefully few prototypes,
15088 which can conflict with char $ac_func(); below. */
15089 #include <assert.h>
15090 /* Override any gcc2 internal prototype to avoid an error. */
15091 /* We use char because int might match the return type of a gcc2
15092 builtin and then its argument prototype would still apply. */
15097 /* The GNU C library defines this for functions which it implements
15098 to always fail with ENOSYS. Some functions are actually named
15099 something starting with __ and the normal name is an alias. */
15100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15108 if { (eval echo configure:15109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15110 eval "ac_cv_func_$ac_func=yes"
15112 echo "configure: failed program was:" >&5
15113 cat conftest.$ac_ext >&5
15115 eval "ac_cv_func_$ac_func=no"
15120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15121 echo "$ac_t""yes" 1>&6
15122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15123 cat >> confdefs.h <<EOF
15124 #define $ac_tr_func 1
15128 echo "$ac_t""no" 1>&6
15134 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
15135 echo "configure:15136: checking for _modff declaration" >&5
15136 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15137 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15138 echo $ac_n "(cached) $ac_c" 1>&6
15143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15144 ac_cpp='$CXXCPP $CPPFLAGS'
15145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15147 cross_compiling=$ac_cv_prog_cxx_cross
15149 cat > conftest.$ac_ext <<EOF
15150 #line 15151 "configure"
15151 #include "confdefs.h"
15157 if { (eval echo configure:15158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15159 glibcpp_cv_func__modff_use=yes
15161 echo "configure: failed program was:" >&5
15162 cat conftest.$ac_ext >&5
15164 glibcpp_cv_func__modff_use=no
15168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15171 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15172 cross_compiling=$ac_cv_prog_cc_cross
15178 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15180 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15181 for ac_func in _modff
15183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15184 echo "configure:15185: checking for $ac_func" >&5
15185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15186 echo $ac_n "(cached) $ac_c" 1>&6
15188 cat > conftest.$ac_ext <<EOF
15189 #line 15190 "configure"
15190 #include "confdefs.h"
15191 /* System header to define __stub macros and hopefully few prototypes,
15192 which can conflict with char $ac_func(); below. */
15193 #include <assert.h>
15194 /* Override any gcc2 internal prototype to avoid an error. */
15195 /* We use char because int might match the return type of a gcc2
15196 builtin and then its argument prototype would still apply. */
15201 /* The GNU C library defines this for functions which it implements
15202 to always fail with ENOSYS. Some functions are actually named
15203 something starting with __ and the normal name is an alias. */
15204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15212 if { (eval echo configure:15213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15214 eval "ac_cv_func_$ac_func=yes"
15216 echo "configure: failed program was:" >&5
15217 cat conftest.$ac_ext >&5
15219 eval "ac_cv_func_$ac_func=no"
15224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15225 echo "$ac_t""yes" 1>&6
15226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15227 cat >> confdefs.h <<EOF
15228 #define $ac_tr_func 1
15232 echo "$ac_t""no" 1>&6
15241 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
15242 echo "configure:15243: checking for powf declaration" >&5
15243 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15244 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15245 echo $ac_n "(cached) $ac_c" 1>&6
15250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15251 ac_cpp='$CXXCPP $CPPFLAGS'
15252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15254 cross_compiling=$ac_cv_prog_cxx_cross
15256 cat > conftest.$ac_ext <<EOF
15257 #line 15258 "configure"
15258 #include "confdefs.h"
15264 if { (eval echo configure:15265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15266 glibcpp_cv_func_powf_use=yes
15268 echo "configure: failed program was:" >&5
15269 cat conftest.$ac_ext >&5
15271 glibcpp_cv_func_powf_use=no
15275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15276 ac_cpp='$CPP $CPPFLAGS'
15277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15279 cross_compiling=$ac_cv_prog_cc_cross
15285 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15287 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15288 for ac_func in powf
15290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15291 echo "configure:15292: checking for $ac_func" >&5
15292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15293 echo $ac_n "(cached) $ac_c" 1>&6
15295 cat > conftest.$ac_ext <<EOF
15296 #line 15297 "configure"
15297 #include "confdefs.h"
15298 /* System header to define __stub macros and hopefully few prototypes,
15299 which can conflict with char $ac_func(); below. */
15300 #include <assert.h>
15301 /* Override any gcc2 internal prototype to avoid an error. */
15302 /* We use char because int might match the return type of a gcc2
15303 builtin and then its argument prototype would still apply. */
15308 /* The GNU C library defines this for functions which it implements
15309 to always fail with ENOSYS. Some functions are actually named
15310 something starting with __ and the normal name is an alias. */
15311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15319 if { (eval echo configure:15320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15321 eval "ac_cv_func_$ac_func=yes"
15323 echo "configure: failed program was:" >&5
15324 cat conftest.$ac_ext >&5
15326 eval "ac_cv_func_$ac_func=no"
15331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15332 echo "$ac_t""yes" 1>&6
15333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15334 cat >> confdefs.h <<EOF
15335 #define $ac_tr_func 1
15339 echo "$ac_t""no" 1>&6
15345 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
15346 echo "configure:15347: checking for _powf declaration" >&5
15347 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15348 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15349 echo $ac_n "(cached) $ac_c" 1>&6
15354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15355 ac_cpp='$CXXCPP $CPPFLAGS'
15356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15358 cross_compiling=$ac_cv_prog_cxx_cross
15360 cat > conftest.$ac_ext <<EOF
15361 #line 15362 "configure"
15362 #include "confdefs.h"
15368 if { (eval echo configure:15369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15370 glibcpp_cv_func__powf_use=yes
15372 echo "configure: failed program was:" >&5
15373 cat conftest.$ac_ext >&5
15375 glibcpp_cv_func__powf_use=no
15379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15380 ac_cpp='$CPP $CPPFLAGS'
15381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15383 cross_compiling=$ac_cv_prog_cc_cross
15389 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15391 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15392 for ac_func in _powf
15394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15395 echo "configure:15396: checking for $ac_func" >&5
15396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15397 echo $ac_n "(cached) $ac_c" 1>&6
15399 cat > conftest.$ac_ext <<EOF
15400 #line 15401 "configure"
15401 #include "confdefs.h"
15402 /* System header to define __stub macros and hopefully few prototypes,
15403 which can conflict with char $ac_func(); below. */
15404 #include <assert.h>
15405 /* Override any gcc2 internal prototype to avoid an error. */
15406 /* We use char because int might match the return type of a gcc2
15407 builtin and then its argument prototype would still apply. */
15412 /* The GNU C library defines this for functions which it implements
15413 to always fail with ENOSYS. Some functions are actually named
15414 something starting with __ and the normal name is an alias. */
15415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15423 if { (eval echo configure:15424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15425 eval "ac_cv_func_$ac_func=yes"
15427 echo "configure: failed program was:" >&5
15428 cat conftest.$ac_ext >&5
15430 eval "ac_cv_func_$ac_func=no"
15435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15436 echo "$ac_t""yes" 1>&6
15437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15438 cat >> confdefs.h <<EOF
15439 #define $ac_tr_func 1
15443 echo "$ac_t""no" 1>&6
15452 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
15453 echo "configure:15454: checking for sqrtf declaration" >&5
15454 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15455 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15456 echo $ac_n "(cached) $ac_c" 1>&6
15461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15462 ac_cpp='$CXXCPP $CPPFLAGS'
15463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15465 cross_compiling=$ac_cv_prog_cxx_cross
15467 cat > conftest.$ac_ext <<EOF
15468 #line 15469 "configure"
15469 #include "confdefs.h"
15471 #ifdef HAVE_IEEEFP_H
15472 #include <ieeefp.h>
15479 if { (eval echo configure:15480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15481 glibcpp_cv_func_sqrtf_use=yes
15483 echo "configure: failed program was:" >&5
15484 cat conftest.$ac_ext >&5
15486 glibcpp_cv_func_sqrtf_use=no
15490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15491 ac_cpp='$CPP $CPPFLAGS'
15492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15494 cross_compiling=$ac_cv_prog_cc_cross
15500 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15502 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15503 for ac_func in sqrtf
15505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15506 echo "configure:15507: checking for $ac_func" >&5
15507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 cat > conftest.$ac_ext <<EOF
15511 #line 15512 "configure"
15512 #include "confdefs.h"
15513 /* System header to define __stub macros and hopefully few prototypes,
15514 which can conflict with char $ac_func(); below. */
15515 #include <assert.h>
15516 /* Override any gcc2 internal prototype to avoid an error. */
15517 /* We use char because int might match the return type of a gcc2
15518 builtin and then its argument prototype would still apply. */
15523 /* The GNU C library defines this for functions which it implements
15524 to always fail with ENOSYS. Some functions are actually named
15525 something starting with __ and the normal name is an alias. */
15526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15534 if { (eval echo configure:15535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15536 eval "ac_cv_func_$ac_func=yes"
15538 echo "configure: failed program was:" >&5
15539 cat conftest.$ac_ext >&5
15541 eval "ac_cv_func_$ac_func=no"
15546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15547 echo "$ac_t""yes" 1>&6
15548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15549 cat >> confdefs.h <<EOF
15550 #define $ac_tr_func 1
15554 echo "$ac_t""no" 1>&6
15560 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
15561 echo "configure:15562: checking for _sqrtf declaration" >&5
15562 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15563 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15564 echo $ac_n "(cached) $ac_c" 1>&6
15569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15570 ac_cpp='$CXXCPP $CPPFLAGS'
15571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15573 cross_compiling=$ac_cv_prog_cxx_cross
15575 cat > conftest.$ac_ext <<EOF
15576 #line 15577 "configure"
15577 #include "confdefs.h"
15579 #ifdef HAVE_IEEEFP_H
15580 #include <ieeefp.h>
15587 if { (eval echo configure:15588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15589 glibcpp_cv_func__sqrtf_use=yes
15591 echo "configure: failed program was:" >&5
15592 cat conftest.$ac_ext >&5
15594 glibcpp_cv_func__sqrtf_use=no
15598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15602 cross_compiling=$ac_cv_prog_cc_cross
15608 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15610 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15611 for ac_func in _sqrtf
15613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15614 echo "configure:15615: checking for $ac_func" >&5
15615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15616 echo $ac_n "(cached) $ac_c" 1>&6
15618 cat > conftest.$ac_ext <<EOF
15619 #line 15620 "configure"
15620 #include "confdefs.h"
15621 /* System header to define __stub macros and hopefully few prototypes,
15622 which can conflict with char $ac_func(); below. */
15623 #include <assert.h>
15624 /* Override any gcc2 internal prototype to avoid an error. */
15625 /* We use char because int might match the return type of a gcc2
15626 builtin and then its argument prototype would still apply. */
15631 /* The GNU C library defines this for functions which it implements
15632 to always fail with ENOSYS. Some functions are actually named
15633 something starting with __ and the normal name is an alias. */
15634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15642 if { (eval echo configure:15643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15644 eval "ac_cv_func_$ac_func=yes"
15646 echo "configure: failed program was:" >&5
15647 cat conftest.$ac_ext >&5
15649 eval "ac_cv_func_$ac_func=no"
15654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15655 echo "$ac_t""yes" 1>&6
15656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15657 cat >> confdefs.h <<EOF
15658 #define $ac_tr_func 1
15662 echo "$ac_t""no" 1>&6
15671 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
15672 echo "configure:15673: checking for sincosf declaration" >&5
15673 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15674 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15675 echo $ac_n "(cached) $ac_c" 1>&6
15680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15681 ac_cpp='$CXXCPP $CPPFLAGS'
15682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15684 cross_compiling=$ac_cv_prog_cxx_cross
15686 cat > conftest.$ac_ext <<EOF
15687 #line 15688 "configure"
15688 #include "confdefs.h"
15694 if { (eval echo configure:15695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15696 glibcpp_cv_func_sincosf_use=yes
15698 echo "configure: failed program was:" >&5
15699 cat conftest.$ac_ext >&5
15701 glibcpp_cv_func_sincosf_use=no
15705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15709 cross_compiling=$ac_cv_prog_cc_cross
15715 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15717 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15718 for ac_func in sincosf
15720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15721 echo "configure:15722: checking for $ac_func" >&5
15722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15723 echo $ac_n "(cached) $ac_c" 1>&6
15725 cat > conftest.$ac_ext <<EOF
15726 #line 15727 "configure"
15727 #include "confdefs.h"
15728 /* System header to define __stub macros and hopefully few prototypes,
15729 which can conflict with char $ac_func(); below. */
15730 #include <assert.h>
15731 /* Override any gcc2 internal prototype to avoid an error. */
15732 /* We use char because int might match the return type of a gcc2
15733 builtin and then its argument prototype would still apply. */
15738 /* The GNU C library defines this for functions which it implements
15739 to always fail with ENOSYS. Some functions are actually named
15740 something starting with __ and the normal name is an alias. */
15741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15749 if { (eval echo configure:15750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15751 eval "ac_cv_func_$ac_func=yes"
15753 echo "configure: failed program was:" >&5
15754 cat conftest.$ac_ext >&5
15756 eval "ac_cv_func_$ac_func=no"
15761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15762 echo "$ac_t""yes" 1>&6
15763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15764 cat >> confdefs.h <<EOF
15765 #define $ac_tr_func 1
15769 echo "$ac_t""no" 1>&6
15775 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
15776 echo "configure:15777: checking for _sincosf declaration" >&5
15777 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15778 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15779 echo $ac_n "(cached) $ac_c" 1>&6
15784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15785 ac_cpp='$CXXCPP $CPPFLAGS'
15786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15788 cross_compiling=$ac_cv_prog_cxx_cross
15790 cat > conftest.$ac_ext <<EOF
15791 #line 15792 "configure"
15792 #include "confdefs.h"
15798 if { (eval echo configure:15799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15800 glibcpp_cv_func__sincosf_use=yes
15802 echo "configure: failed program was:" >&5
15803 cat conftest.$ac_ext >&5
15805 glibcpp_cv_func__sincosf_use=no
15809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15810 ac_cpp='$CPP $CPPFLAGS'
15811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15813 cross_compiling=$ac_cv_prog_cc_cross
15819 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15821 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15822 for ac_func in _sincosf
15824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15825 echo "configure:15826: checking for $ac_func" >&5
15826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15827 echo $ac_n "(cached) $ac_c" 1>&6
15829 cat > conftest.$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15832 /* System header to define __stub macros and hopefully few prototypes,
15833 which can conflict with char $ac_func(); below. */
15834 #include <assert.h>
15835 /* Override any gcc2 internal prototype to avoid an error. */
15836 /* We use char because int might match the return type of a gcc2
15837 builtin and then its argument prototype would still apply. */
15842 /* The GNU C library defines this for functions which it implements
15843 to always fail with ENOSYS. Some functions are actually named
15844 something starting with __ and the normal name is an alias. */
15845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15853 if { (eval echo configure:15854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15855 eval "ac_cv_func_$ac_func=yes"
15857 echo "configure: failed program was:" >&5
15858 cat conftest.$ac_ext >&5
15860 eval "ac_cv_func_$ac_func=no"
15865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15868 cat >> confdefs.h <<EOF
15869 #define $ac_tr_func 1
15873 echo "$ac_t""no" 1>&6
15882 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
15883 echo "configure:15884: checking for finitef declaration" >&5
15884 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15885 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15886 echo $ac_n "(cached) $ac_c" 1>&6
15891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15892 ac_cpp='$CXXCPP $CPPFLAGS'
15893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15895 cross_compiling=$ac_cv_prog_cxx_cross
15897 cat > conftest.$ac_ext <<EOF
15898 #line 15899 "configure"
15899 #include "confdefs.h"
15901 #ifdef HAVE_IEEEFP_H
15902 #include <ieeefp.h>
15909 if { (eval echo configure:15910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15911 glibcpp_cv_func_finitef_use=yes
15913 echo "configure: failed program was:" >&5
15914 cat conftest.$ac_ext >&5
15916 glibcpp_cv_func_finitef_use=no
15920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15921 ac_cpp='$CPP $CPPFLAGS'
15922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15924 cross_compiling=$ac_cv_prog_cc_cross
15930 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15932 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15933 for ac_func in finitef
15935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15936 echo "configure:15937: checking for $ac_func" >&5
15937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15938 echo $ac_n "(cached) $ac_c" 1>&6
15940 cat > conftest.$ac_ext <<EOF
15941 #line 15942 "configure"
15942 #include "confdefs.h"
15943 /* System header to define __stub macros and hopefully few prototypes,
15944 which can conflict with char $ac_func(); below. */
15945 #include <assert.h>
15946 /* Override any gcc2 internal prototype to avoid an error. */
15947 /* We use char because int might match the return type of a gcc2
15948 builtin and then its argument prototype would still apply. */
15953 /* The GNU C library defines this for functions which it implements
15954 to always fail with ENOSYS. Some functions are actually named
15955 something starting with __ and the normal name is an alias. */
15956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15964 if { (eval echo configure:15965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15966 eval "ac_cv_func_$ac_func=yes"
15968 echo "configure: failed program was:" >&5
15969 cat conftest.$ac_ext >&5
15971 eval "ac_cv_func_$ac_func=no"
15976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15977 echo "$ac_t""yes" 1>&6
15978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15979 cat >> confdefs.h <<EOF
15980 #define $ac_tr_func 1
15984 echo "$ac_t""no" 1>&6
15990 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
15991 echo "configure:15992: checking for _finitef declaration" >&5
15992 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15993 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15994 echo $ac_n "(cached) $ac_c" 1>&6
15999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16000 ac_cpp='$CXXCPP $CPPFLAGS'
16001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16003 cross_compiling=$ac_cv_prog_cxx_cross
16005 cat > conftest.$ac_ext <<EOF
16006 #line 16007 "configure"
16007 #include "confdefs.h"
16009 #ifdef HAVE_IEEEFP_H
16010 #include <ieeefp.h>
16017 if { (eval echo configure:16018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16019 glibcpp_cv_func__finitef_use=yes
16021 echo "configure: failed program was:" >&5
16022 cat conftest.$ac_ext >&5
16024 glibcpp_cv_func__finitef_use=no
16028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16032 cross_compiling=$ac_cv_prog_cc_cross
16038 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16040 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16041 for ac_func in _finitef
16043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16044 echo "configure:16045: checking for $ac_func" >&5
16045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16046 echo $ac_n "(cached) $ac_c" 1>&6
16048 cat > conftest.$ac_ext <<EOF
16049 #line 16050 "configure"
16050 #include "confdefs.h"
16051 /* System header to define __stub macros and hopefully few prototypes,
16052 which can conflict with char $ac_func(); below. */
16053 #include <assert.h>
16054 /* Override any gcc2 internal prototype to avoid an error. */
16055 /* We use char because int might match the return type of a gcc2
16056 builtin and then its argument prototype would still apply. */
16061 /* The GNU C library defines this for functions which it implements
16062 to always fail with ENOSYS. Some functions are actually named
16063 something starting with __ and the normal name is an alias. */
16064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16072 if { (eval echo configure:16073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16074 eval "ac_cv_func_$ac_func=yes"
16076 echo "configure: failed program was:" >&5
16077 cat conftest.$ac_ext >&5
16079 eval "ac_cv_func_$ac_func=no"
16084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16085 echo "$ac_t""yes" 1>&6
16086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16087 cat >> confdefs.h <<EOF
16088 #define $ac_tr_func 1
16092 echo "$ac_t""no" 1>&6
16101 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
16102 echo "configure:16103: checking for long double trig functions" >&5
16103 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16104 echo $ac_n "(cached) $ac_c" 1>&6
16109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16110 ac_cpp='$CXXCPP $CPPFLAGS'
16111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16113 cross_compiling=$ac_cv_prog_cxx_cross
16115 cat > conftest.$ac_ext <<EOF
16116 #line 16117 "configure"
16117 #include "confdefs.h"
16120 `for x in acosl asinl atanl \
16122 coshl sinhl tanhl; do echo "$x (0);"; done`
16125 if { (eval echo configure:16126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16127 glibcpp_cv_func_long_double_trig_use=yes
16129 echo "configure: failed program was:" >&5
16130 cat conftest.$ac_ext >&5
16132 glibcpp_cv_func_long_double_trig_use=no
16136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16137 ac_cpp='$CPP $CPPFLAGS'
16138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16140 cross_compiling=$ac_cv_prog_cc_cross
16144 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16145 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16146 for ac_func in acosl asinl atanl \
16150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16151 echo "configure:16152: checking for $ac_func" >&5
16152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16153 echo $ac_n "(cached) $ac_c" 1>&6
16155 cat > conftest.$ac_ext <<EOF
16156 #line 16157 "configure"
16157 #include "confdefs.h"
16158 /* System header to define __stub macros and hopefully few prototypes,
16159 which can conflict with char $ac_func(); below. */
16160 #include <assert.h>
16161 /* Override any gcc2 internal prototype to avoid an error. */
16162 /* We use char because int might match the return type of a gcc2
16163 builtin and then its argument prototype would still apply. */
16168 /* The GNU C library defines this for functions which it implements
16169 to always fail with ENOSYS. Some functions are actually named
16170 something starting with __ and the normal name is an alias. */
16171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16179 if { (eval echo configure:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16181 eval "ac_cv_func_$ac_func=yes"
16183 echo "configure: failed program was:" >&5
16184 cat conftest.$ac_ext >&5
16186 eval "ac_cv_func_$ac_func=no"
16191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16192 echo "$ac_t""yes" 1>&6
16193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16194 cat >> confdefs.h <<EOF
16195 #define $ac_tr_func 1
16199 echo "$ac_t""no" 1>&6
16206 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
16207 echo "configure:16208: checking for long double round functions" >&5
16208 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16209 echo $ac_n "(cached) $ac_c" 1>&6
16214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16215 ac_cpp='$CXXCPP $CPPFLAGS'
16216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16218 cross_compiling=$ac_cv_prog_cxx_cross
16220 cat > conftest.$ac_ext <<EOF
16221 #line 16222 "configure"
16222 #include "confdefs.h"
16225 `for x in ceill floorl; do echo "$x (0);"; done`
16228 if { (eval echo configure:16229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16230 glibcpp_cv_func_long_double_round_use=yes
16232 echo "configure: failed program was:" >&5
16233 cat conftest.$ac_ext >&5
16235 glibcpp_cv_func_long_double_round_use=no
16239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16240 ac_cpp='$CPP $CPPFLAGS'
16241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16243 cross_compiling=$ac_cv_prog_cc_cross
16247 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16248 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16249 for ac_func in ceill floorl
16251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16252 echo "configure:16253: checking for $ac_func" >&5
16253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16254 echo $ac_n "(cached) $ac_c" 1>&6
16256 cat > conftest.$ac_ext <<EOF
16257 #line 16258 "configure"
16258 #include "confdefs.h"
16259 /* System header to define __stub macros and hopefully few prototypes,
16260 which can conflict with char $ac_func(); below. */
16261 #include <assert.h>
16262 /* Override any gcc2 internal prototype to avoid an error. */
16263 /* We use char because int might match the return type of a gcc2
16264 builtin and then its argument prototype would still apply. */
16269 /* The GNU C library defines this for functions which it implements
16270 to always fail with ENOSYS. Some functions are actually named
16271 something starting with __ and the normal name is an alias. */
16272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16280 if { (eval echo configure:16281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16282 eval "ac_cv_func_$ac_func=yes"
16284 echo "configure: failed program was:" >&5
16285 cat conftest.$ac_ext >&5
16287 eval "ac_cv_func_$ac_func=no"
16292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16293 echo "$ac_t""yes" 1>&6
16294 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16295 cat >> confdefs.h <<EOF
16296 #define $ac_tr_func 1
16300 echo "$ac_t""no" 1>&6
16308 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
16309 echo "configure:16310: checking for isnanl declaration" >&5
16310 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16311 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16312 echo $ac_n "(cached) $ac_c" 1>&6
16317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16318 ac_cpp='$CXXCPP $CPPFLAGS'
16319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16321 cross_compiling=$ac_cv_prog_cxx_cross
16323 cat > conftest.$ac_ext <<EOF
16324 #line 16325 "configure"
16325 #include "confdefs.h"
16327 #ifdef HAVE_IEEEFP_H
16328 #include <ieeefp.h>
16335 if { (eval echo configure:16336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16337 glibcpp_cv_func_isnanl_use=yes
16339 echo "configure: failed program was:" >&5
16340 cat conftest.$ac_ext >&5
16342 glibcpp_cv_func_isnanl_use=no
16346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16347 ac_cpp='$CPP $CPPFLAGS'
16348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16350 cross_compiling=$ac_cv_prog_cc_cross
16356 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16358 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16359 for ac_func in isnanl
16361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16362 echo "configure:16363: checking for $ac_func" >&5
16363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16364 echo $ac_n "(cached) $ac_c" 1>&6
16366 cat > conftest.$ac_ext <<EOF
16367 #line 16368 "configure"
16368 #include "confdefs.h"
16369 /* System header to define __stub macros and hopefully few prototypes,
16370 which can conflict with char $ac_func(); below. */
16371 #include <assert.h>
16372 /* Override any gcc2 internal prototype to avoid an error. */
16373 /* We use char because int might match the return type of a gcc2
16374 builtin and then its argument prototype would still apply. */
16379 /* The GNU C library defines this for functions which it implements
16380 to always fail with ENOSYS. Some functions are actually named
16381 something starting with __ and the normal name is an alias. */
16382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16390 if { (eval echo configure:16391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16392 eval "ac_cv_func_$ac_func=yes"
16394 echo "configure: failed program was:" >&5
16395 cat conftest.$ac_ext >&5
16397 eval "ac_cv_func_$ac_func=no"
16402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16403 echo "$ac_t""yes" 1>&6
16404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16405 cat >> confdefs.h <<EOF
16406 #define $ac_tr_func 1
16410 echo "$ac_t""no" 1>&6
16416 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
16417 echo "configure:16418: checking for _isnanl declaration" >&5
16418 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16419 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16420 echo $ac_n "(cached) $ac_c" 1>&6
16425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16426 ac_cpp='$CXXCPP $CPPFLAGS'
16427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16429 cross_compiling=$ac_cv_prog_cxx_cross
16431 cat > conftest.$ac_ext <<EOF
16432 #line 16433 "configure"
16433 #include "confdefs.h"
16435 #ifdef HAVE_IEEEFP_H
16436 #include <ieeefp.h>
16443 if { (eval echo configure:16444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16445 glibcpp_cv_func__isnanl_use=yes
16447 echo "configure: failed program was:" >&5
16448 cat conftest.$ac_ext >&5
16450 glibcpp_cv_func__isnanl_use=no
16454 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16455 ac_cpp='$CPP $CPPFLAGS'
16456 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16457 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16458 cross_compiling=$ac_cv_prog_cc_cross
16464 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16466 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16467 for ac_func in _isnanl
16469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16470 echo "configure:16471: checking for $ac_func" >&5
16471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16472 echo $ac_n "(cached) $ac_c" 1>&6
16474 cat > conftest.$ac_ext <<EOF
16475 #line 16476 "configure"
16476 #include "confdefs.h"
16477 /* System header to define __stub macros and hopefully few prototypes,
16478 which can conflict with char $ac_func(); below. */
16479 #include <assert.h>
16480 /* Override any gcc2 internal prototype to avoid an error. */
16481 /* We use char because int might match the return type of a gcc2
16482 builtin and then its argument prototype would still apply. */
16487 /* The GNU C library defines this for functions which it implements
16488 to always fail with ENOSYS. Some functions are actually named
16489 something starting with __ and the normal name is an alias. */
16490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16498 if { (eval echo configure:16499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16500 eval "ac_cv_func_$ac_func=yes"
16502 echo "configure: failed program was:" >&5
16503 cat conftest.$ac_ext >&5
16505 eval "ac_cv_func_$ac_func=no"
16510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16511 echo "$ac_t""yes" 1>&6
16512 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16513 cat >> confdefs.h <<EOF
16514 #define $ac_tr_func 1
16518 echo "$ac_t""no" 1>&6
16527 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
16528 echo "configure:16529: checking for isinfl declaration" >&5
16529 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16530 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16531 echo $ac_n "(cached) $ac_c" 1>&6
16536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16537 ac_cpp='$CXXCPP $CPPFLAGS'
16538 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16539 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16540 cross_compiling=$ac_cv_prog_cxx_cross
16542 cat > conftest.$ac_ext <<EOF
16543 #line 16544 "configure"
16544 #include "confdefs.h"
16546 #ifdef HAVE_IEEEFP_H
16547 #include <ieeefp.h>
16554 if { (eval echo configure:16555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16556 glibcpp_cv_func_isinfl_use=yes
16558 echo "configure: failed program was:" >&5
16559 cat conftest.$ac_ext >&5
16561 glibcpp_cv_func_isinfl_use=no
16565 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16566 ac_cpp='$CPP $CPPFLAGS'
16567 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16568 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16569 cross_compiling=$ac_cv_prog_cc_cross
16575 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16577 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16578 for ac_func in isinfl
16580 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16581 echo "configure:16582: checking for $ac_func" >&5
16582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16583 echo $ac_n "(cached) $ac_c" 1>&6
16585 cat > conftest.$ac_ext <<EOF
16586 #line 16587 "configure"
16587 #include "confdefs.h"
16588 /* System header to define __stub macros and hopefully few prototypes,
16589 which can conflict with char $ac_func(); below. */
16590 #include <assert.h>
16591 /* Override any gcc2 internal prototype to avoid an error. */
16592 /* We use char because int might match the return type of a gcc2
16593 builtin and then its argument prototype would still apply. */
16598 /* The GNU C library defines this for functions which it implements
16599 to always fail with ENOSYS. Some functions are actually named
16600 something starting with __ and the normal name is an alias. */
16601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16609 if { (eval echo configure:16610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16611 eval "ac_cv_func_$ac_func=yes"
16613 echo "configure: failed program was:" >&5
16614 cat conftest.$ac_ext >&5
16616 eval "ac_cv_func_$ac_func=no"
16621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16622 echo "$ac_t""yes" 1>&6
16623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16624 cat >> confdefs.h <<EOF
16625 #define $ac_tr_func 1
16629 echo "$ac_t""no" 1>&6
16635 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
16636 echo "configure:16637: checking for _isinfl declaration" >&5
16637 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16638 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16639 echo $ac_n "(cached) $ac_c" 1>&6
16644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16645 ac_cpp='$CXXCPP $CPPFLAGS'
16646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16648 cross_compiling=$ac_cv_prog_cxx_cross
16650 cat > conftest.$ac_ext <<EOF
16651 #line 16652 "configure"
16652 #include "confdefs.h"
16654 #ifdef HAVE_IEEEFP_H
16655 #include <ieeefp.h>
16662 if { (eval echo configure:16663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16664 glibcpp_cv_func__isinfl_use=yes
16666 echo "configure: failed program was:" >&5
16667 cat conftest.$ac_ext >&5
16669 glibcpp_cv_func__isinfl_use=no
16673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16674 ac_cpp='$CPP $CPPFLAGS'
16675 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16676 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16677 cross_compiling=$ac_cv_prog_cc_cross
16683 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16685 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16686 for ac_func in _isinfl
16688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16689 echo "configure:16690: checking for $ac_func" >&5
16690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16691 echo $ac_n "(cached) $ac_c" 1>&6
16693 cat > conftest.$ac_ext <<EOF
16694 #line 16695 "configure"
16695 #include "confdefs.h"
16696 /* System header to define __stub macros and hopefully few prototypes,
16697 which can conflict with char $ac_func(); below. */
16698 #include <assert.h>
16699 /* Override any gcc2 internal prototype to avoid an error. */
16700 /* We use char because int might match the return type of a gcc2
16701 builtin and then its argument prototype would still apply. */
16706 /* The GNU C library defines this for functions which it implements
16707 to always fail with ENOSYS. Some functions are actually named
16708 something starting with __ and the normal name is an alias. */
16709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16717 if { (eval echo configure:16718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16719 eval "ac_cv_func_$ac_func=yes"
16721 echo "configure: failed program was:" >&5
16722 cat conftest.$ac_ext >&5
16724 eval "ac_cv_func_$ac_func=no"
16729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16730 echo "$ac_t""yes" 1>&6
16731 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16732 cat >> confdefs.h <<EOF
16733 #define $ac_tr_func 1
16737 echo "$ac_t""no" 1>&6
16746 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
16747 echo "configure:16748: checking for copysignl declaration" >&5
16748 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16749 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16750 echo $ac_n "(cached) $ac_c" 1>&6
16755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16756 ac_cpp='$CXXCPP $CPPFLAGS'
16757 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16758 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16759 cross_compiling=$ac_cv_prog_cxx_cross
16761 cat > conftest.$ac_ext <<EOF
16762 #line 16763 "configure"
16763 #include "confdefs.h"
16769 if { (eval echo configure:16770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16771 glibcpp_cv_func_copysignl_use=yes
16773 echo "configure: failed program was:" >&5
16774 cat conftest.$ac_ext >&5
16776 glibcpp_cv_func_copysignl_use=no
16780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16781 ac_cpp='$CPP $CPPFLAGS'
16782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16784 cross_compiling=$ac_cv_prog_cc_cross
16790 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16792 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16793 for ac_func in copysignl
16795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16796 echo "configure:16797: checking for $ac_func" >&5
16797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16798 echo $ac_n "(cached) $ac_c" 1>&6
16800 cat > conftest.$ac_ext <<EOF
16801 #line 16802 "configure"
16802 #include "confdefs.h"
16803 /* System header to define __stub macros and hopefully few prototypes,
16804 which can conflict with char $ac_func(); below. */
16805 #include <assert.h>
16806 /* Override any gcc2 internal prototype to avoid an error. */
16807 /* We use char because int might match the return type of a gcc2
16808 builtin and then its argument prototype would still apply. */
16813 /* The GNU C library defines this for functions which it implements
16814 to always fail with ENOSYS. Some functions are actually named
16815 something starting with __ and the normal name is an alias. */
16816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16824 if { (eval echo configure:16825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16826 eval "ac_cv_func_$ac_func=yes"
16828 echo "configure: failed program was:" >&5
16829 cat conftest.$ac_ext >&5
16831 eval "ac_cv_func_$ac_func=no"
16836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16837 echo "$ac_t""yes" 1>&6
16838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16839 cat >> confdefs.h <<EOF
16840 #define $ac_tr_func 1
16844 echo "$ac_t""no" 1>&6
16850 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
16851 echo "configure:16852: checking for _copysignl declaration" >&5
16852 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16853 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16854 echo $ac_n "(cached) $ac_c" 1>&6
16859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16863 cross_compiling=$ac_cv_prog_cxx_cross
16865 cat > conftest.$ac_ext <<EOF
16866 #line 16867 "configure"
16867 #include "confdefs.h"
16873 if { (eval echo configure:16874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16875 glibcpp_cv_func__copysignl_use=yes
16877 echo "configure: failed program was:" >&5
16878 cat conftest.$ac_ext >&5
16880 glibcpp_cv_func__copysignl_use=no
16884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16885 ac_cpp='$CPP $CPPFLAGS'
16886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16888 cross_compiling=$ac_cv_prog_cc_cross
16894 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16896 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16897 for ac_func in _copysignl
16899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16900 echo "configure:16901: checking for $ac_func" >&5
16901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16902 echo $ac_n "(cached) $ac_c" 1>&6
16904 cat > conftest.$ac_ext <<EOF
16905 #line 16906 "configure"
16906 #include "confdefs.h"
16907 /* System header to define __stub macros and hopefully few prototypes,
16908 which can conflict with char $ac_func(); below. */
16909 #include <assert.h>
16910 /* Override any gcc2 internal prototype to avoid an error. */
16911 /* We use char because int might match the return type of a gcc2
16912 builtin and then its argument prototype would still apply. */
16917 /* The GNU C library defines this for functions which it implements
16918 to always fail with ENOSYS. Some functions are actually named
16919 something starting with __ and the normal name is an alias. */
16920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16928 if { (eval echo configure:16929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16930 eval "ac_cv_func_$ac_func=yes"
16932 echo "configure: failed program was:" >&5
16933 cat conftest.$ac_ext >&5
16935 eval "ac_cv_func_$ac_func=no"
16940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16941 echo "$ac_t""yes" 1>&6
16942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16943 cat >> confdefs.h <<EOF
16944 #define $ac_tr_func 1
16948 echo "$ac_t""no" 1>&6
16957 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
16958 echo "configure:16959: checking for atan2l declaration" >&5
16959 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16960 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16961 echo $ac_n "(cached) $ac_c" 1>&6
16966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16967 ac_cpp='$CXXCPP $CPPFLAGS'
16968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16970 cross_compiling=$ac_cv_prog_cxx_cross
16972 cat > conftest.$ac_ext <<EOF
16973 #line 16974 "configure"
16974 #include "confdefs.h"
16980 if { (eval echo configure:16981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16982 glibcpp_cv_func_atan2l_use=yes
16984 echo "configure: failed program was:" >&5
16985 cat conftest.$ac_ext >&5
16987 glibcpp_cv_func_atan2l_use=no
16991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16992 ac_cpp='$CPP $CPPFLAGS'
16993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16995 cross_compiling=$ac_cv_prog_cc_cross
17001 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17003 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17004 for ac_func in atan2l
17006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17007 echo "configure:17008: checking for $ac_func" >&5
17008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17009 echo $ac_n "(cached) $ac_c" 1>&6
17011 cat > conftest.$ac_ext <<EOF
17012 #line 17013 "configure"
17013 #include "confdefs.h"
17014 /* System header to define __stub macros and hopefully few prototypes,
17015 which can conflict with char $ac_func(); below. */
17016 #include <assert.h>
17017 /* Override any gcc2 internal prototype to avoid an error. */
17018 /* We use char because int might match the return type of a gcc2
17019 builtin and then its argument prototype would still apply. */
17024 /* The GNU C library defines this for functions which it implements
17025 to always fail with ENOSYS. Some functions are actually named
17026 something starting with __ and the normal name is an alias. */
17027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17035 if { (eval echo configure:17036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17037 eval "ac_cv_func_$ac_func=yes"
17039 echo "configure: failed program was:" >&5
17040 cat conftest.$ac_ext >&5
17042 eval "ac_cv_func_$ac_func=no"
17047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17048 echo "$ac_t""yes" 1>&6
17049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17050 cat >> confdefs.h <<EOF
17051 #define $ac_tr_func 1
17055 echo "$ac_t""no" 1>&6
17061 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
17062 echo "configure:17063: checking for _atan2l declaration" >&5
17063 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17064 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17065 echo $ac_n "(cached) $ac_c" 1>&6
17070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17071 ac_cpp='$CXXCPP $CPPFLAGS'
17072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17074 cross_compiling=$ac_cv_prog_cxx_cross
17076 cat > conftest.$ac_ext <<EOF
17077 #line 17078 "configure"
17078 #include "confdefs.h"
17084 if { (eval echo configure:17085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17086 glibcpp_cv_func__atan2l_use=yes
17088 echo "configure: failed program was:" >&5
17089 cat conftest.$ac_ext >&5
17091 glibcpp_cv_func__atan2l_use=no
17095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17096 ac_cpp='$CPP $CPPFLAGS'
17097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17099 cross_compiling=$ac_cv_prog_cc_cross
17105 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17107 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17108 for ac_func in _atan2l
17110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17111 echo "configure:17112: checking for $ac_func" >&5
17112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17113 echo $ac_n "(cached) $ac_c" 1>&6
17115 cat > conftest.$ac_ext <<EOF
17116 #line 17117 "configure"
17117 #include "confdefs.h"
17118 /* System header to define __stub macros and hopefully few prototypes,
17119 which can conflict with char $ac_func(); below. */
17120 #include <assert.h>
17121 /* Override any gcc2 internal prototype to avoid an error. */
17122 /* We use char because int might match the return type of a gcc2
17123 builtin and then its argument prototype would still apply. */
17128 /* The GNU C library defines this for functions which it implements
17129 to always fail with ENOSYS. Some functions are actually named
17130 something starting with __ and the normal name is an alias. */
17131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17139 if { (eval echo configure:17140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17141 eval "ac_cv_func_$ac_func=yes"
17143 echo "configure: failed program was:" >&5
17144 cat conftest.$ac_ext >&5
17146 eval "ac_cv_func_$ac_func=no"
17151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17152 echo "$ac_t""yes" 1>&6
17153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17154 cat >> confdefs.h <<EOF
17155 #define $ac_tr_func 1
17159 echo "$ac_t""no" 1>&6
17168 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
17169 echo "configure:17170: checking for expl declaration" >&5
17170 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17171 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17172 echo $ac_n "(cached) $ac_c" 1>&6
17177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17178 ac_cpp='$CXXCPP $CPPFLAGS'
17179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17181 cross_compiling=$ac_cv_prog_cxx_cross
17183 cat > conftest.$ac_ext <<EOF
17184 #line 17185 "configure"
17185 #include "confdefs.h"
17187 #ifdef HAVE_IEEEFP_H
17188 #include <ieeefp.h>
17195 if { (eval echo configure:17196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17197 glibcpp_cv_func_expl_use=yes
17199 echo "configure: failed program was:" >&5
17200 cat conftest.$ac_ext >&5
17202 glibcpp_cv_func_expl_use=no
17206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17210 cross_compiling=$ac_cv_prog_cc_cross
17216 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17218 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17219 for ac_func in expl
17221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17222 echo "configure:17223: checking for $ac_func" >&5
17223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17224 echo $ac_n "(cached) $ac_c" 1>&6
17226 cat > conftest.$ac_ext <<EOF
17227 #line 17228 "configure"
17228 #include "confdefs.h"
17229 /* System header to define __stub macros and hopefully few prototypes,
17230 which can conflict with char $ac_func(); below. */
17231 #include <assert.h>
17232 /* Override any gcc2 internal prototype to avoid an error. */
17233 /* We use char because int might match the return type of a gcc2
17234 builtin and then its argument prototype would still apply. */
17239 /* The GNU C library defines this for functions which it implements
17240 to always fail with ENOSYS. Some functions are actually named
17241 something starting with __ and the normal name is an alias. */
17242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17250 if { (eval echo configure:17251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17252 eval "ac_cv_func_$ac_func=yes"
17254 echo "configure: failed program was:" >&5
17255 cat conftest.$ac_ext >&5
17257 eval "ac_cv_func_$ac_func=no"
17262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17263 echo "$ac_t""yes" 1>&6
17264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17265 cat >> confdefs.h <<EOF
17266 #define $ac_tr_func 1
17270 echo "$ac_t""no" 1>&6
17276 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
17277 echo "configure:17278: checking for _expl declaration" >&5
17278 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17279 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17280 echo $ac_n "(cached) $ac_c" 1>&6
17285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17286 ac_cpp='$CXXCPP $CPPFLAGS'
17287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17289 cross_compiling=$ac_cv_prog_cxx_cross
17291 cat > conftest.$ac_ext <<EOF
17292 #line 17293 "configure"
17293 #include "confdefs.h"
17295 #ifdef HAVE_IEEEFP_H
17296 #include <ieeefp.h>
17303 if { (eval echo configure:17304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17305 glibcpp_cv_func__expl_use=yes
17307 echo "configure: failed program was:" >&5
17308 cat conftest.$ac_ext >&5
17310 glibcpp_cv_func__expl_use=no
17314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17318 cross_compiling=$ac_cv_prog_cc_cross
17324 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17326 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17327 for ac_func in _expl
17329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17330 echo "configure:17331: checking for $ac_func" >&5
17331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17332 echo $ac_n "(cached) $ac_c" 1>&6
17334 cat > conftest.$ac_ext <<EOF
17335 #line 17336 "configure"
17336 #include "confdefs.h"
17337 /* System header to define __stub macros and hopefully few prototypes,
17338 which can conflict with char $ac_func(); below. */
17339 #include <assert.h>
17340 /* Override any gcc2 internal prototype to avoid an error. */
17341 /* We use char because int might match the return type of a gcc2
17342 builtin and then its argument prototype would still apply. */
17347 /* The GNU C library defines this for functions which it implements
17348 to always fail with ENOSYS. Some functions are actually named
17349 something starting with __ and the normal name is an alias. */
17350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17358 if { (eval echo configure:17359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17360 eval "ac_cv_func_$ac_func=yes"
17362 echo "configure: failed program was:" >&5
17363 cat conftest.$ac_ext >&5
17365 eval "ac_cv_func_$ac_func=no"
17370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17371 echo "$ac_t""yes" 1>&6
17372 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17373 cat >> confdefs.h <<EOF
17374 #define $ac_tr_func 1
17378 echo "$ac_t""no" 1>&6
17387 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
17388 echo "configure:17389: checking for fabsl declaration" >&5
17389 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17390 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17391 echo $ac_n "(cached) $ac_c" 1>&6
17396 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17397 ac_cpp='$CXXCPP $CPPFLAGS'
17398 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17399 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17400 cross_compiling=$ac_cv_prog_cxx_cross
17402 cat > conftest.$ac_ext <<EOF
17403 #line 17404 "configure"
17404 #include "confdefs.h"
17406 #ifdef HAVE_IEEEFP_H
17407 #include <ieeefp.h>
17414 if { (eval echo configure:17415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17416 glibcpp_cv_func_fabsl_use=yes
17418 echo "configure: failed program was:" >&5
17419 cat conftest.$ac_ext >&5
17421 glibcpp_cv_func_fabsl_use=no
17425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17426 ac_cpp='$CPP $CPPFLAGS'
17427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17429 cross_compiling=$ac_cv_prog_cc_cross
17435 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17437 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17438 for ac_func in fabsl
17440 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17441 echo "configure:17442: checking for $ac_func" >&5
17442 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17443 echo $ac_n "(cached) $ac_c" 1>&6
17445 cat > conftest.$ac_ext <<EOF
17446 #line 17447 "configure"
17447 #include "confdefs.h"
17448 /* System header to define __stub macros and hopefully few prototypes,
17449 which can conflict with char $ac_func(); below. */
17450 #include <assert.h>
17451 /* Override any gcc2 internal prototype to avoid an error. */
17452 /* We use char because int might match the return type of a gcc2
17453 builtin and then its argument prototype would still apply. */
17458 /* The GNU C library defines this for functions which it implements
17459 to always fail with ENOSYS. Some functions are actually named
17460 something starting with __ and the normal name is an alias. */
17461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17469 if { (eval echo configure:17470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17471 eval "ac_cv_func_$ac_func=yes"
17473 echo "configure: failed program was:" >&5
17474 cat conftest.$ac_ext >&5
17476 eval "ac_cv_func_$ac_func=no"
17481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17482 echo "$ac_t""yes" 1>&6
17483 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17484 cat >> confdefs.h <<EOF
17485 #define $ac_tr_func 1
17489 echo "$ac_t""no" 1>&6
17495 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
17496 echo "configure:17497: checking for _fabsl declaration" >&5
17497 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17498 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17499 echo $ac_n "(cached) $ac_c" 1>&6
17504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17505 ac_cpp='$CXXCPP $CPPFLAGS'
17506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17508 cross_compiling=$ac_cv_prog_cxx_cross
17510 cat > conftest.$ac_ext <<EOF
17511 #line 17512 "configure"
17512 #include "confdefs.h"
17514 #ifdef HAVE_IEEEFP_H
17515 #include <ieeefp.h>
17522 if { (eval echo configure:17523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17524 glibcpp_cv_func__fabsl_use=yes
17526 echo "configure: failed program was:" >&5
17527 cat conftest.$ac_ext >&5
17529 glibcpp_cv_func__fabsl_use=no
17533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17534 ac_cpp='$CPP $CPPFLAGS'
17535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17537 cross_compiling=$ac_cv_prog_cc_cross
17543 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17545 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17546 for ac_func in _fabsl
17548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17549 echo "configure:17550: checking for $ac_func" >&5
17550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17551 echo $ac_n "(cached) $ac_c" 1>&6
17553 cat > conftest.$ac_ext <<EOF
17554 #line 17555 "configure"
17555 #include "confdefs.h"
17556 /* System header to define __stub macros and hopefully few prototypes,
17557 which can conflict with char $ac_func(); below. */
17558 #include <assert.h>
17559 /* Override any gcc2 internal prototype to avoid an error. */
17560 /* We use char because int might match the return type of a gcc2
17561 builtin and then its argument prototype would still apply. */
17566 /* The GNU C library defines this for functions which it implements
17567 to always fail with ENOSYS. Some functions are actually named
17568 something starting with __ and the normal name is an alias. */
17569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17577 if { (eval echo configure:17578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17579 eval "ac_cv_func_$ac_func=yes"
17581 echo "configure: failed program was:" >&5
17582 cat conftest.$ac_ext >&5
17584 eval "ac_cv_func_$ac_func=no"
17589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17590 echo "$ac_t""yes" 1>&6
17591 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17592 cat >> confdefs.h <<EOF
17593 #define $ac_tr_func 1
17597 echo "$ac_t""no" 1>&6
17606 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
17607 echo "configure:17608: checking for fmodl declaration" >&5
17608 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17609 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17610 echo $ac_n "(cached) $ac_c" 1>&6
17615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17616 ac_cpp='$CXXCPP $CPPFLAGS'
17617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17619 cross_compiling=$ac_cv_prog_cxx_cross
17621 cat > conftest.$ac_ext <<EOF
17622 #line 17623 "configure"
17623 #include "confdefs.h"
17629 if { (eval echo configure:17630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17631 glibcpp_cv_func_fmodl_use=yes
17633 echo "configure: failed program was:" >&5
17634 cat conftest.$ac_ext >&5
17636 glibcpp_cv_func_fmodl_use=no
17640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17641 ac_cpp='$CPP $CPPFLAGS'
17642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17644 cross_compiling=$ac_cv_prog_cc_cross
17650 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17652 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17653 for ac_func in fmodl
17655 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17656 echo "configure:17657: checking for $ac_func" >&5
17657 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17658 echo $ac_n "(cached) $ac_c" 1>&6
17660 cat > conftest.$ac_ext <<EOF
17661 #line 17662 "configure"
17662 #include "confdefs.h"
17663 /* System header to define __stub macros and hopefully few prototypes,
17664 which can conflict with char $ac_func(); below. */
17665 #include <assert.h>
17666 /* Override any gcc2 internal prototype to avoid an error. */
17667 /* We use char because int might match the return type of a gcc2
17668 builtin and then its argument prototype would still apply. */
17673 /* The GNU C library defines this for functions which it implements
17674 to always fail with ENOSYS. Some functions are actually named
17675 something starting with __ and the normal name is an alias. */
17676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17684 if { (eval echo configure:17685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17686 eval "ac_cv_func_$ac_func=yes"
17688 echo "configure: failed program was:" >&5
17689 cat conftest.$ac_ext >&5
17691 eval "ac_cv_func_$ac_func=no"
17696 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17697 echo "$ac_t""yes" 1>&6
17698 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17699 cat >> confdefs.h <<EOF
17700 #define $ac_tr_func 1
17704 echo "$ac_t""no" 1>&6
17710 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
17711 echo "configure:17712: checking for _fmodl declaration" >&5
17712 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17713 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17714 echo $ac_n "(cached) $ac_c" 1>&6
17719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17720 ac_cpp='$CXXCPP $CPPFLAGS'
17721 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17722 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17723 cross_compiling=$ac_cv_prog_cxx_cross
17725 cat > conftest.$ac_ext <<EOF
17726 #line 17727 "configure"
17727 #include "confdefs.h"
17733 if { (eval echo configure:17734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17735 glibcpp_cv_func__fmodl_use=yes
17737 echo "configure: failed program was:" >&5
17738 cat conftest.$ac_ext >&5
17740 glibcpp_cv_func__fmodl_use=no
17744 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17745 ac_cpp='$CPP $CPPFLAGS'
17746 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17747 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17748 cross_compiling=$ac_cv_prog_cc_cross
17754 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17756 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17757 for ac_func in _fmodl
17759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17760 echo "configure:17761: checking for $ac_func" >&5
17761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17762 echo $ac_n "(cached) $ac_c" 1>&6
17764 cat > conftest.$ac_ext <<EOF
17765 #line 17766 "configure"
17766 #include "confdefs.h"
17767 /* System header to define __stub macros and hopefully few prototypes,
17768 which can conflict with char $ac_func(); below. */
17769 #include <assert.h>
17770 /* Override any gcc2 internal prototype to avoid an error. */
17771 /* We use char because int might match the return type of a gcc2
17772 builtin and then its argument prototype would still apply. */
17777 /* The GNU C library defines this for functions which it implements
17778 to always fail with ENOSYS. Some functions are actually named
17779 something starting with __ and the normal name is an alias. */
17780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17788 if { (eval echo configure:17789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17790 eval "ac_cv_func_$ac_func=yes"
17792 echo "configure: failed program was:" >&5
17793 cat conftest.$ac_ext >&5
17795 eval "ac_cv_func_$ac_func=no"
17800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17801 echo "$ac_t""yes" 1>&6
17802 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17803 cat >> confdefs.h <<EOF
17804 #define $ac_tr_func 1
17808 echo "$ac_t""no" 1>&6
17817 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
17818 echo "configure:17819: checking for frexpl declaration" >&5
17819 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17820 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17821 echo $ac_n "(cached) $ac_c" 1>&6
17826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17827 ac_cpp='$CXXCPP $CPPFLAGS'
17828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17830 cross_compiling=$ac_cv_prog_cxx_cross
17832 cat > conftest.$ac_ext <<EOF
17833 #line 17834 "configure"
17834 #include "confdefs.h"
17840 if { (eval echo configure:17841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17842 glibcpp_cv_func_frexpl_use=yes
17844 echo "configure: failed program was:" >&5
17845 cat conftest.$ac_ext >&5
17847 glibcpp_cv_func_frexpl_use=no
17851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17852 ac_cpp='$CPP $CPPFLAGS'
17853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17855 cross_compiling=$ac_cv_prog_cc_cross
17861 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17863 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17864 for ac_func in frexpl
17866 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17867 echo "configure:17868: checking for $ac_func" >&5
17868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17869 echo $ac_n "(cached) $ac_c" 1>&6
17871 cat > conftest.$ac_ext <<EOF
17872 #line 17873 "configure"
17873 #include "confdefs.h"
17874 /* System header to define __stub macros and hopefully few prototypes,
17875 which can conflict with char $ac_func(); below. */
17876 #include <assert.h>
17877 /* Override any gcc2 internal prototype to avoid an error. */
17878 /* We use char because int might match the return type of a gcc2
17879 builtin and then its argument prototype would still apply. */
17884 /* The GNU C library defines this for functions which it implements
17885 to always fail with ENOSYS. Some functions are actually named
17886 something starting with __ and the normal name is an alias. */
17887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17895 if { (eval echo configure:17896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17897 eval "ac_cv_func_$ac_func=yes"
17899 echo "configure: failed program was:" >&5
17900 cat conftest.$ac_ext >&5
17902 eval "ac_cv_func_$ac_func=no"
17907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17908 echo "$ac_t""yes" 1>&6
17909 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17910 cat >> confdefs.h <<EOF
17911 #define $ac_tr_func 1
17915 echo "$ac_t""no" 1>&6
17921 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
17922 echo "configure:17923: checking for _frexpl declaration" >&5
17923 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17924 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17925 echo $ac_n "(cached) $ac_c" 1>&6
17930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17931 ac_cpp='$CXXCPP $CPPFLAGS'
17932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17934 cross_compiling=$ac_cv_prog_cxx_cross
17936 cat > conftest.$ac_ext <<EOF
17937 #line 17938 "configure"
17938 #include "confdefs.h"
17944 if { (eval echo configure:17945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17946 glibcpp_cv_func__frexpl_use=yes
17948 echo "configure: failed program was:" >&5
17949 cat conftest.$ac_ext >&5
17951 glibcpp_cv_func__frexpl_use=no
17955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17958 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17959 cross_compiling=$ac_cv_prog_cc_cross
17965 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17967 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17968 for ac_func in _frexpl
17970 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17971 echo "configure:17972: checking for $ac_func" >&5
17972 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17973 echo $ac_n "(cached) $ac_c" 1>&6
17975 cat > conftest.$ac_ext <<EOF
17976 #line 17977 "configure"
17977 #include "confdefs.h"
17978 /* System header to define __stub macros and hopefully few prototypes,
17979 which can conflict with char $ac_func(); below. */
17980 #include <assert.h>
17981 /* Override any gcc2 internal prototype to avoid an error. */
17982 /* We use char because int might match the return type of a gcc2
17983 builtin and then its argument prototype would still apply. */
17988 /* The GNU C library defines this for functions which it implements
17989 to always fail with ENOSYS. Some functions are actually named
17990 something starting with __ and the normal name is an alias. */
17991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17999 if { (eval echo configure:18000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18001 eval "ac_cv_func_$ac_func=yes"
18003 echo "configure: failed program was:" >&5
18004 cat conftest.$ac_ext >&5
18006 eval "ac_cv_func_$ac_func=no"
18011 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18012 echo "$ac_t""yes" 1>&6
18013 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18014 cat >> confdefs.h <<EOF
18015 #define $ac_tr_func 1
18019 echo "$ac_t""no" 1>&6
18028 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
18029 echo "configure:18030: checking for hypotl declaration" >&5
18030 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18031 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18032 echo $ac_n "(cached) $ac_c" 1>&6
18037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18038 ac_cpp='$CXXCPP $CPPFLAGS'
18039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18041 cross_compiling=$ac_cv_prog_cxx_cross
18043 cat > conftest.$ac_ext <<EOF
18044 #line 18045 "configure"
18045 #include "confdefs.h"
18051 if { (eval echo configure:18052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18053 glibcpp_cv_func_hypotl_use=yes
18055 echo "configure: failed program was:" >&5
18056 cat conftest.$ac_ext >&5
18058 glibcpp_cv_func_hypotl_use=no
18062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18063 ac_cpp='$CPP $CPPFLAGS'
18064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18066 cross_compiling=$ac_cv_prog_cc_cross
18072 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18074 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18075 for ac_func in hypotl
18077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18078 echo "configure:18079: checking for $ac_func" >&5
18079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18080 echo $ac_n "(cached) $ac_c" 1>&6
18082 cat > conftest.$ac_ext <<EOF
18083 #line 18084 "configure"
18084 #include "confdefs.h"
18085 /* System header to define __stub macros and hopefully few prototypes,
18086 which can conflict with char $ac_func(); below. */
18087 #include <assert.h>
18088 /* Override any gcc2 internal prototype to avoid an error. */
18089 /* We use char because int might match the return type of a gcc2
18090 builtin and then its argument prototype would still apply. */
18095 /* The GNU C library defines this for functions which it implements
18096 to always fail with ENOSYS. Some functions are actually named
18097 something starting with __ and the normal name is an alias. */
18098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18106 if { (eval echo configure:18107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18108 eval "ac_cv_func_$ac_func=yes"
18110 echo "configure: failed program was:" >&5
18111 cat conftest.$ac_ext >&5
18113 eval "ac_cv_func_$ac_func=no"
18118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18119 echo "$ac_t""yes" 1>&6
18120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18121 cat >> confdefs.h <<EOF
18122 #define $ac_tr_func 1
18126 echo "$ac_t""no" 1>&6
18132 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
18133 echo "configure:18134: checking for _hypotl declaration" >&5
18134 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18135 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18136 echo $ac_n "(cached) $ac_c" 1>&6
18141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18142 ac_cpp='$CXXCPP $CPPFLAGS'
18143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18145 cross_compiling=$ac_cv_prog_cxx_cross
18147 cat > conftest.$ac_ext <<EOF
18148 #line 18149 "configure"
18149 #include "confdefs.h"
18155 if { (eval echo configure:18156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18157 glibcpp_cv_func__hypotl_use=yes
18159 echo "configure: failed program was:" >&5
18160 cat conftest.$ac_ext >&5
18162 glibcpp_cv_func__hypotl_use=no
18166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18167 ac_cpp='$CPP $CPPFLAGS'
18168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18170 cross_compiling=$ac_cv_prog_cc_cross
18176 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18178 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18179 for ac_func in _hypotl
18181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18182 echo "configure:18183: checking for $ac_func" >&5
18183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18184 echo $ac_n "(cached) $ac_c" 1>&6
18186 cat > conftest.$ac_ext <<EOF
18187 #line 18188 "configure"
18188 #include "confdefs.h"
18189 /* System header to define __stub macros and hopefully few prototypes,
18190 which can conflict with char $ac_func(); below. */
18191 #include <assert.h>
18192 /* Override any gcc2 internal prototype to avoid an error. */
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18199 /* The GNU C library defines this for functions which it implements
18200 to always fail with ENOSYS. Some functions are actually named
18201 something starting with __ and the normal name is an alias. */
18202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18210 if { (eval echo configure:18211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18212 eval "ac_cv_func_$ac_func=yes"
18214 echo "configure: failed program was:" >&5
18215 cat conftest.$ac_ext >&5
18217 eval "ac_cv_func_$ac_func=no"
18222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18223 echo "$ac_t""yes" 1>&6
18224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18225 cat >> confdefs.h <<EOF
18226 #define $ac_tr_func 1
18230 echo "$ac_t""no" 1>&6
18239 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
18240 echo "configure:18241: checking for ldexpl declaration" >&5
18241 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18242 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18243 echo $ac_n "(cached) $ac_c" 1>&6
18248 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18249 ac_cpp='$CXXCPP $CPPFLAGS'
18250 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18251 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18252 cross_compiling=$ac_cv_prog_cxx_cross
18254 cat > conftest.$ac_ext <<EOF
18255 #line 18256 "configure"
18256 #include "confdefs.h"
18262 if { (eval echo configure:18263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18264 glibcpp_cv_func_ldexpl_use=yes
18266 echo "configure: failed program was:" >&5
18267 cat conftest.$ac_ext >&5
18269 glibcpp_cv_func_ldexpl_use=no
18273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18274 ac_cpp='$CPP $CPPFLAGS'
18275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18277 cross_compiling=$ac_cv_prog_cc_cross
18283 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18285 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18286 for ac_func in ldexpl
18288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18289 echo "configure:18290: checking for $ac_func" >&5
18290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18291 echo $ac_n "(cached) $ac_c" 1>&6
18293 cat > conftest.$ac_ext <<EOF
18294 #line 18295 "configure"
18295 #include "confdefs.h"
18296 /* System header to define __stub macros and hopefully few prototypes,
18297 which can conflict with char $ac_func(); below. */
18298 #include <assert.h>
18299 /* Override any gcc2 internal prototype to avoid an error. */
18300 /* We use char because int might match the return type of a gcc2
18301 builtin and then its argument prototype would still apply. */
18306 /* The GNU C library defines this for functions which it implements
18307 to always fail with ENOSYS. Some functions are actually named
18308 something starting with __ and the normal name is an alias. */
18309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18317 if { (eval echo configure:18318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18319 eval "ac_cv_func_$ac_func=yes"
18321 echo "configure: failed program was:" >&5
18322 cat conftest.$ac_ext >&5
18324 eval "ac_cv_func_$ac_func=no"
18329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18330 echo "$ac_t""yes" 1>&6
18331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18332 cat >> confdefs.h <<EOF
18333 #define $ac_tr_func 1
18337 echo "$ac_t""no" 1>&6
18343 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
18344 echo "configure:18345: checking for _ldexpl declaration" >&5
18345 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18346 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18347 echo $ac_n "(cached) $ac_c" 1>&6
18352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18353 ac_cpp='$CXXCPP $CPPFLAGS'
18354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18356 cross_compiling=$ac_cv_prog_cxx_cross
18358 cat > conftest.$ac_ext <<EOF
18359 #line 18360 "configure"
18360 #include "confdefs.h"
18366 if { (eval echo configure:18367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18368 glibcpp_cv_func__ldexpl_use=yes
18370 echo "configure: failed program was:" >&5
18371 cat conftest.$ac_ext >&5
18373 glibcpp_cv_func__ldexpl_use=no
18377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18378 ac_cpp='$CPP $CPPFLAGS'
18379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18381 cross_compiling=$ac_cv_prog_cc_cross
18387 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18389 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18390 for ac_func in _ldexpl
18392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18393 echo "configure:18394: checking for $ac_func" >&5
18394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18395 echo $ac_n "(cached) $ac_c" 1>&6
18397 cat > conftest.$ac_ext <<EOF
18398 #line 18399 "configure"
18399 #include "confdefs.h"
18400 /* System header to define __stub macros and hopefully few prototypes,
18401 which can conflict with char $ac_func(); below. */
18402 #include <assert.h>
18403 /* Override any gcc2 internal prototype to avoid an error. */
18404 /* We use char because int might match the return type of a gcc2
18405 builtin and then its argument prototype would still apply. */
18410 /* The GNU C library defines this for functions which it implements
18411 to always fail with ENOSYS. Some functions are actually named
18412 something starting with __ and the normal name is an alias. */
18413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18421 if { (eval echo configure:18422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18423 eval "ac_cv_func_$ac_func=yes"
18425 echo "configure: failed program was:" >&5
18426 cat conftest.$ac_ext >&5
18428 eval "ac_cv_func_$ac_func=no"
18433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18434 echo "$ac_t""yes" 1>&6
18435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18436 cat >> confdefs.h <<EOF
18437 #define $ac_tr_func 1
18441 echo "$ac_t""no" 1>&6
18450 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
18451 echo "configure:18452: checking for logl declaration" >&5
18452 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18453 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18454 echo $ac_n "(cached) $ac_c" 1>&6
18459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18460 ac_cpp='$CXXCPP $CPPFLAGS'
18461 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18462 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18463 cross_compiling=$ac_cv_prog_cxx_cross
18465 cat > conftest.$ac_ext <<EOF
18466 #line 18467 "configure"
18467 #include "confdefs.h"
18469 #ifdef HAVE_IEEEFP_H
18470 #include <ieeefp.h>
18477 if { (eval echo configure:18478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18479 glibcpp_cv_func_logl_use=yes
18481 echo "configure: failed program was:" >&5
18482 cat conftest.$ac_ext >&5
18484 glibcpp_cv_func_logl_use=no
18488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18489 ac_cpp='$CPP $CPPFLAGS'
18490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18492 cross_compiling=$ac_cv_prog_cc_cross
18498 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18500 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18501 for ac_func in logl
18503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18504 echo "configure:18505: checking for $ac_func" >&5
18505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18506 echo $ac_n "(cached) $ac_c" 1>&6
18508 cat > conftest.$ac_ext <<EOF
18509 #line 18510 "configure"
18510 #include "confdefs.h"
18511 /* System header to define __stub macros and hopefully few prototypes,
18512 which can conflict with char $ac_func(); below. */
18513 #include <assert.h>
18514 /* Override any gcc2 internal prototype to avoid an error. */
18515 /* We use char because int might match the return type of a gcc2
18516 builtin and then its argument prototype would still apply. */
18521 /* The GNU C library defines this for functions which it implements
18522 to always fail with ENOSYS. Some functions are actually named
18523 something starting with __ and the normal name is an alias. */
18524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18532 if { (eval echo configure:18533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18534 eval "ac_cv_func_$ac_func=yes"
18536 echo "configure: failed program was:" >&5
18537 cat conftest.$ac_ext >&5
18539 eval "ac_cv_func_$ac_func=no"
18544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18545 echo "$ac_t""yes" 1>&6
18546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18547 cat >> confdefs.h <<EOF
18548 #define $ac_tr_func 1
18552 echo "$ac_t""no" 1>&6
18558 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
18559 echo "configure:18560: checking for _logl declaration" >&5
18560 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18561 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18562 echo $ac_n "(cached) $ac_c" 1>&6
18567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18568 ac_cpp='$CXXCPP $CPPFLAGS'
18569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18571 cross_compiling=$ac_cv_prog_cxx_cross
18573 cat > conftest.$ac_ext <<EOF
18574 #line 18575 "configure"
18575 #include "confdefs.h"
18577 #ifdef HAVE_IEEEFP_H
18578 #include <ieeefp.h>
18585 if { (eval echo configure:18586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18587 glibcpp_cv_func__logl_use=yes
18589 echo "configure: failed program was:" >&5
18590 cat conftest.$ac_ext >&5
18592 glibcpp_cv_func__logl_use=no
18596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18600 cross_compiling=$ac_cv_prog_cc_cross
18606 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18608 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18609 for ac_func in _logl
18611 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18612 echo "configure:18613: checking for $ac_func" >&5
18613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18614 echo $ac_n "(cached) $ac_c" 1>&6
18616 cat > conftest.$ac_ext <<EOF
18617 #line 18618 "configure"
18618 #include "confdefs.h"
18619 /* System header to define __stub macros and hopefully few prototypes,
18620 which can conflict with char $ac_func(); below. */
18621 #include <assert.h>
18622 /* Override any gcc2 internal prototype to avoid an error. */
18623 /* We use char because int might match the return type of a gcc2
18624 builtin and then its argument prototype would still apply. */
18629 /* The GNU C library defines this for functions which it implements
18630 to always fail with ENOSYS. Some functions are actually named
18631 something starting with __ and the normal name is an alias. */
18632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18640 if { (eval echo configure:18641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18642 eval "ac_cv_func_$ac_func=yes"
18644 echo "configure: failed program was:" >&5
18645 cat conftest.$ac_ext >&5
18647 eval "ac_cv_func_$ac_func=no"
18652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18653 echo "$ac_t""yes" 1>&6
18654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18655 cat >> confdefs.h <<EOF
18656 #define $ac_tr_func 1
18660 echo "$ac_t""no" 1>&6
18669 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
18670 echo "configure:18671: checking for log10l declaration" >&5
18671 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18672 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18673 echo $ac_n "(cached) $ac_c" 1>&6
18678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18679 ac_cpp='$CXXCPP $CPPFLAGS'
18680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18682 cross_compiling=$ac_cv_prog_cxx_cross
18684 cat > conftest.$ac_ext <<EOF
18685 #line 18686 "configure"
18686 #include "confdefs.h"
18688 #ifdef HAVE_IEEEFP_H
18689 #include <ieeefp.h>
18696 if { (eval echo configure:18697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18698 glibcpp_cv_func_log10l_use=yes
18700 echo "configure: failed program was:" >&5
18701 cat conftest.$ac_ext >&5
18703 glibcpp_cv_func_log10l_use=no
18707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18708 ac_cpp='$CPP $CPPFLAGS'
18709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18711 cross_compiling=$ac_cv_prog_cc_cross
18717 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18719 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18720 for ac_func in log10l
18722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18723 echo "configure:18724: checking for $ac_func" >&5
18724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18725 echo $ac_n "(cached) $ac_c" 1>&6
18727 cat > conftest.$ac_ext <<EOF
18728 #line 18729 "configure"
18729 #include "confdefs.h"
18730 /* System header to define __stub macros and hopefully few prototypes,
18731 which can conflict with char $ac_func(); below. */
18732 #include <assert.h>
18733 /* Override any gcc2 internal prototype to avoid an error. */
18734 /* We use char because int might match the return type of a gcc2
18735 builtin and then its argument prototype would still apply. */
18740 /* The GNU C library defines this for functions which it implements
18741 to always fail with ENOSYS. Some functions are actually named
18742 something starting with __ and the normal name is an alias. */
18743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18751 if { (eval echo configure:18752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18753 eval "ac_cv_func_$ac_func=yes"
18755 echo "configure: failed program was:" >&5
18756 cat conftest.$ac_ext >&5
18758 eval "ac_cv_func_$ac_func=no"
18763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18764 echo "$ac_t""yes" 1>&6
18765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18766 cat >> confdefs.h <<EOF
18767 #define $ac_tr_func 1
18771 echo "$ac_t""no" 1>&6
18777 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
18778 echo "configure:18779: checking for _log10l declaration" >&5
18779 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18780 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18781 echo $ac_n "(cached) $ac_c" 1>&6
18786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18787 ac_cpp='$CXXCPP $CPPFLAGS'
18788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18790 cross_compiling=$ac_cv_prog_cxx_cross
18792 cat > conftest.$ac_ext <<EOF
18793 #line 18794 "configure"
18794 #include "confdefs.h"
18796 #ifdef HAVE_IEEEFP_H
18797 #include <ieeefp.h>
18804 if { (eval echo configure:18805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18806 glibcpp_cv_func__log10l_use=yes
18808 echo "configure: failed program was:" >&5
18809 cat conftest.$ac_ext >&5
18811 glibcpp_cv_func__log10l_use=no
18815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18816 ac_cpp='$CPP $CPPFLAGS'
18817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18819 cross_compiling=$ac_cv_prog_cc_cross
18825 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18827 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18828 for ac_func in _log10l
18830 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18831 echo "configure:18832: checking for $ac_func" >&5
18832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18833 echo $ac_n "(cached) $ac_c" 1>&6
18835 cat > conftest.$ac_ext <<EOF
18836 #line 18837 "configure"
18837 #include "confdefs.h"
18838 /* System header to define __stub macros and hopefully few prototypes,
18839 which can conflict with char $ac_func(); below. */
18840 #include <assert.h>
18841 /* Override any gcc2 internal prototype to avoid an error. */
18842 /* We use char because int might match the return type of a gcc2
18843 builtin and then its argument prototype would still apply. */
18848 /* The GNU C library defines this for functions which it implements
18849 to always fail with ENOSYS. Some functions are actually named
18850 something starting with __ and the normal name is an alias. */
18851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18859 if { (eval echo configure:18860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18861 eval "ac_cv_func_$ac_func=yes"
18863 echo "configure: failed program was:" >&5
18864 cat conftest.$ac_ext >&5
18866 eval "ac_cv_func_$ac_func=no"
18871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18872 echo "$ac_t""yes" 1>&6
18873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18874 cat >> confdefs.h <<EOF
18875 #define $ac_tr_func 1
18879 echo "$ac_t""no" 1>&6
18888 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
18889 echo "configure:18890: checking for modfl declaration" >&5
18890 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18891 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18892 echo $ac_n "(cached) $ac_c" 1>&6
18897 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18898 ac_cpp='$CXXCPP $CPPFLAGS'
18899 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18900 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18901 cross_compiling=$ac_cv_prog_cxx_cross
18903 cat > conftest.$ac_ext <<EOF
18904 #line 18905 "configure"
18905 #include "confdefs.h"
18911 if { (eval echo configure:18912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18913 glibcpp_cv_func_modfl_use=yes
18915 echo "configure: failed program was:" >&5
18916 cat conftest.$ac_ext >&5
18918 glibcpp_cv_func_modfl_use=no
18922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18923 ac_cpp='$CPP $CPPFLAGS'
18924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18926 cross_compiling=$ac_cv_prog_cc_cross
18932 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18934 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18935 for ac_func in modfl
18937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18938 echo "configure:18939: checking for $ac_func" >&5
18939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18940 echo $ac_n "(cached) $ac_c" 1>&6
18942 cat > conftest.$ac_ext <<EOF
18943 #line 18944 "configure"
18944 #include "confdefs.h"
18945 /* System header to define __stub macros and hopefully few prototypes,
18946 which can conflict with char $ac_func(); below. */
18947 #include <assert.h>
18948 /* Override any gcc2 internal prototype to avoid an error. */
18949 /* We use char because int might match the return type of a gcc2
18950 builtin and then its argument prototype would still apply. */
18955 /* The GNU C library defines this for functions which it implements
18956 to always fail with ENOSYS. Some functions are actually named
18957 something starting with __ and the normal name is an alias. */
18958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18966 if { (eval echo configure:18967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18968 eval "ac_cv_func_$ac_func=yes"
18970 echo "configure: failed program was:" >&5
18971 cat conftest.$ac_ext >&5
18973 eval "ac_cv_func_$ac_func=no"
18978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18979 echo "$ac_t""yes" 1>&6
18980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18981 cat >> confdefs.h <<EOF
18982 #define $ac_tr_func 1
18986 echo "$ac_t""no" 1>&6
18992 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
18993 echo "configure:18994: checking for _modfl declaration" >&5
18994 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18995 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18996 echo $ac_n "(cached) $ac_c" 1>&6
19001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19002 ac_cpp='$CXXCPP $CPPFLAGS'
19003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19005 cross_compiling=$ac_cv_prog_cxx_cross
19007 cat > conftest.$ac_ext <<EOF
19008 #line 19009 "configure"
19009 #include "confdefs.h"
19015 if { (eval echo configure:19016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19017 glibcpp_cv_func__modfl_use=yes
19019 echo "configure: failed program was:" >&5
19020 cat conftest.$ac_ext >&5
19022 glibcpp_cv_func__modfl_use=no
19026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19027 ac_cpp='$CPP $CPPFLAGS'
19028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19030 cross_compiling=$ac_cv_prog_cc_cross
19036 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19038 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19039 for ac_func in _modfl
19041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19042 echo "configure:19043: checking for $ac_func" >&5
19043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19044 echo $ac_n "(cached) $ac_c" 1>&6
19046 cat > conftest.$ac_ext <<EOF
19047 #line 19048 "configure"
19048 #include "confdefs.h"
19049 /* System header to define __stub macros and hopefully few prototypes,
19050 which can conflict with char $ac_func(); below. */
19051 #include <assert.h>
19052 /* Override any gcc2 internal prototype to avoid an error. */
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19059 /* The GNU C library defines this for functions which it implements
19060 to always fail with ENOSYS. Some functions are actually named
19061 something starting with __ and the normal name is an alias. */
19062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19070 if { (eval echo configure:19071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19072 eval "ac_cv_func_$ac_func=yes"
19074 echo "configure: failed program was:" >&5
19075 cat conftest.$ac_ext >&5
19077 eval "ac_cv_func_$ac_func=no"
19082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19083 echo "$ac_t""yes" 1>&6
19084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19085 cat >> confdefs.h <<EOF
19086 #define $ac_tr_func 1
19090 echo "$ac_t""no" 1>&6
19099 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
19100 echo "configure:19101: checking for powl declaration" >&5
19101 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19102 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19103 echo $ac_n "(cached) $ac_c" 1>&6
19108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19109 ac_cpp='$CXXCPP $CPPFLAGS'
19110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19112 cross_compiling=$ac_cv_prog_cxx_cross
19114 cat > conftest.$ac_ext <<EOF
19115 #line 19116 "configure"
19116 #include "confdefs.h"
19122 if { (eval echo configure:19123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19124 glibcpp_cv_func_powl_use=yes
19126 echo "configure: failed program was:" >&5
19127 cat conftest.$ac_ext >&5
19129 glibcpp_cv_func_powl_use=no
19133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19137 cross_compiling=$ac_cv_prog_cc_cross
19143 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19145 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19146 for ac_func in powl
19148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19149 echo "configure:19150: checking for $ac_func" >&5
19150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19151 echo $ac_n "(cached) $ac_c" 1>&6
19153 cat > conftest.$ac_ext <<EOF
19154 #line 19155 "configure"
19155 #include "confdefs.h"
19156 /* System header to define __stub macros and hopefully few prototypes,
19157 which can conflict with char $ac_func(); below. */
19158 #include <assert.h>
19159 /* Override any gcc2 internal prototype to avoid an error. */
19160 /* We use char because int might match the return type of a gcc2
19161 builtin and then its argument prototype would still apply. */
19166 /* The GNU C library defines this for functions which it implements
19167 to always fail with ENOSYS. Some functions are actually named
19168 something starting with __ and the normal name is an alias. */
19169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19177 if { (eval echo configure:19178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19179 eval "ac_cv_func_$ac_func=yes"
19181 echo "configure: failed program was:" >&5
19182 cat conftest.$ac_ext >&5
19184 eval "ac_cv_func_$ac_func=no"
19189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19190 echo "$ac_t""yes" 1>&6
19191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19192 cat >> confdefs.h <<EOF
19193 #define $ac_tr_func 1
19197 echo "$ac_t""no" 1>&6
19203 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
19204 echo "configure:19205: checking for _powl declaration" >&5
19205 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19206 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19207 echo $ac_n "(cached) $ac_c" 1>&6
19212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19213 ac_cpp='$CXXCPP $CPPFLAGS'
19214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19216 cross_compiling=$ac_cv_prog_cxx_cross
19218 cat > conftest.$ac_ext <<EOF
19219 #line 19220 "configure"
19220 #include "confdefs.h"
19226 if { (eval echo configure:19227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19228 glibcpp_cv_func__powl_use=yes
19230 echo "configure: failed program was:" >&5
19231 cat conftest.$ac_ext >&5
19233 glibcpp_cv_func__powl_use=no
19237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19238 ac_cpp='$CPP $CPPFLAGS'
19239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19241 cross_compiling=$ac_cv_prog_cc_cross
19247 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19249 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19250 for ac_func in _powl
19252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19253 echo "configure:19254: checking for $ac_func" >&5
19254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19255 echo $ac_n "(cached) $ac_c" 1>&6
19257 cat > conftest.$ac_ext <<EOF
19258 #line 19259 "configure"
19259 #include "confdefs.h"
19260 /* System header to define __stub macros and hopefully few prototypes,
19261 which can conflict with char $ac_func(); below. */
19262 #include <assert.h>
19263 /* Override any gcc2 internal prototype to avoid an error. */
19264 /* We use char because int might match the return type of a gcc2
19265 builtin and then its argument prototype would still apply. */
19270 /* The GNU C library defines this for functions which it implements
19271 to always fail with ENOSYS. Some functions are actually named
19272 something starting with __ and the normal name is an alias. */
19273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19281 if { (eval echo configure:19282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19283 eval "ac_cv_func_$ac_func=yes"
19285 echo "configure: failed program was:" >&5
19286 cat conftest.$ac_ext >&5
19288 eval "ac_cv_func_$ac_func=no"
19293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19294 echo "$ac_t""yes" 1>&6
19295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19296 cat >> confdefs.h <<EOF
19297 #define $ac_tr_func 1
19301 echo "$ac_t""no" 1>&6
19310 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
19311 echo "configure:19312: checking for sqrtl declaration" >&5
19312 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19313 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19314 echo $ac_n "(cached) $ac_c" 1>&6
19319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19320 ac_cpp='$CXXCPP $CPPFLAGS'
19321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19323 cross_compiling=$ac_cv_prog_cxx_cross
19325 cat > conftest.$ac_ext <<EOF
19326 #line 19327 "configure"
19327 #include "confdefs.h"
19329 #ifdef HAVE_IEEEFP_H
19330 #include <ieeefp.h>
19337 if { (eval echo configure:19338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19339 glibcpp_cv_func_sqrtl_use=yes
19341 echo "configure: failed program was:" >&5
19342 cat conftest.$ac_ext >&5
19344 glibcpp_cv_func_sqrtl_use=no
19348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19349 ac_cpp='$CPP $CPPFLAGS'
19350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19352 cross_compiling=$ac_cv_prog_cc_cross
19358 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19360 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19361 for ac_func in sqrtl
19363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19364 echo "configure:19365: checking for $ac_func" >&5
19365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19366 echo $ac_n "(cached) $ac_c" 1>&6
19368 cat > conftest.$ac_ext <<EOF
19369 #line 19370 "configure"
19370 #include "confdefs.h"
19371 /* System header to define __stub macros and hopefully few prototypes,
19372 which can conflict with char $ac_func(); below. */
19373 #include <assert.h>
19374 /* Override any gcc2 internal prototype to avoid an error. */
19375 /* We use char because int might match the return type of a gcc2
19376 builtin and then its argument prototype would still apply. */
19381 /* The GNU C library defines this for functions which it implements
19382 to always fail with ENOSYS. Some functions are actually named
19383 something starting with __ and the normal name is an alias. */
19384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19392 if { (eval echo configure:19393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19394 eval "ac_cv_func_$ac_func=yes"
19396 echo "configure: failed program was:" >&5
19397 cat conftest.$ac_ext >&5
19399 eval "ac_cv_func_$ac_func=no"
19404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19405 echo "$ac_t""yes" 1>&6
19406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19407 cat >> confdefs.h <<EOF
19408 #define $ac_tr_func 1
19412 echo "$ac_t""no" 1>&6
19418 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
19419 echo "configure:19420: checking for _sqrtl declaration" >&5
19420 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19421 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19422 echo $ac_n "(cached) $ac_c" 1>&6
19427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19428 ac_cpp='$CXXCPP $CPPFLAGS'
19429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19431 cross_compiling=$ac_cv_prog_cxx_cross
19433 cat > conftest.$ac_ext <<EOF
19434 #line 19435 "configure"
19435 #include "confdefs.h"
19437 #ifdef HAVE_IEEEFP_H
19438 #include <ieeefp.h>
19445 if { (eval echo configure:19446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19447 glibcpp_cv_func__sqrtl_use=yes
19449 echo "configure: failed program was:" >&5
19450 cat conftest.$ac_ext >&5
19452 glibcpp_cv_func__sqrtl_use=no
19456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19460 cross_compiling=$ac_cv_prog_cc_cross
19466 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19468 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19469 for ac_func in _sqrtl
19471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19472 echo "configure:19473: checking for $ac_func" >&5
19473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19474 echo $ac_n "(cached) $ac_c" 1>&6
19476 cat > conftest.$ac_ext <<EOF
19477 #line 19478 "configure"
19478 #include "confdefs.h"
19479 /* System header to define __stub macros and hopefully few prototypes,
19480 which can conflict with char $ac_func(); below. */
19481 #include <assert.h>
19482 /* Override any gcc2 internal prototype to avoid an error. */
19483 /* We use char because int might match the return type of a gcc2
19484 builtin and then its argument prototype would still apply. */
19489 /* The GNU C library defines this for functions which it implements
19490 to always fail with ENOSYS. Some functions are actually named
19491 something starting with __ and the normal name is an alias. */
19492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19500 if { (eval echo configure:19501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19502 eval "ac_cv_func_$ac_func=yes"
19504 echo "configure: failed program was:" >&5
19505 cat conftest.$ac_ext >&5
19507 eval "ac_cv_func_$ac_func=no"
19512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19513 echo "$ac_t""yes" 1>&6
19514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19515 cat >> confdefs.h <<EOF
19516 #define $ac_tr_func 1
19520 echo "$ac_t""no" 1>&6
19529 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
19530 echo "configure:19531: checking for sincosl declaration" >&5
19531 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19532 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19533 echo $ac_n "(cached) $ac_c" 1>&6
19538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19539 ac_cpp='$CXXCPP $CPPFLAGS'
19540 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19541 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19542 cross_compiling=$ac_cv_prog_cxx_cross
19544 cat > conftest.$ac_ext <<EOF
19545 #line 19546 "configure"
19546 #include "confdefs.h"
19552 if { (eval echo configure:19553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19554 glibcpp_cv_func_sincosl_use=yes
19556 echo "configure: failed program was:" >&5
19557 cat conftest.$ac_ext >&5
19559 glibcpp_cv_func_sincosl_use=no
19563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19564 ac_cpp='$CPP $CPPFLAGS'
19565 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19566 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19567 cross_compiling=$ac_cv_prog_cc_cross
19573 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19575 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19576 for ac_func in sincosl
19578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19579 echo "configure:19580: checking for $ac_func" >&5
19580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19581 echo $ac_n "(cached) $ac_c" 1>&6
19583 cat > conftest.$ac_ext <<EOF
19584 #line 19585 "configure"
19585 #include "confdefs.h"
19586 /* System header to define __stub macros and hopefully few prototypes,
19587 which can conflict with char $ac_func(); below. */
19588 #include <assert.h>
19589 /* Override any gcc2 internal prototype to avoid an error. */
19590 /* We use char because int might match the return type of a gcc2
19591 builtin and then its argument prototype would still apply. */
19596 /* The GNU C library defines this for functions which it implements
19597 to always fail with ENOSYS. Some functions are actually named
19598 something starting with __ and the normal name is an alias. */
19599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19607 if { (eval echo configure:19608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19609 eval "ac_cv_func_$ac_func=yes"
19611 echo "configure: failed program was:" >&5
19612 cat conftest.$ac_ext >&5
19614 eval "ac_cv_func_$ac_func=no"
19619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19620 echo "$ac_t""yes" 1>&6
19621 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19622 cat >> confdefs.h <<EOF
19623 #define $ac_tr_func 1
19627 echo "$ac_t""no" 1>&6
19633 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
19634 echo "configure:19635: checking for _sincosl declaration" >&5
19635 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19636 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19637 echo $ac_n "(cached) $ac_c" 1>&6
19642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19643 ac_cpp='$CXXCPP $CPPFLAGS'
19644 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19645 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19646 cross_compiling=$ac_cv_prog_cxx_cross
19648 cat > conftest.$ac_ext <<EOF
19649 #line 19650 "configure"
19650 #include "confdefs.h"
19656 if { (eval echo configure:19657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19658 glibcpp_cv_func__sincosl_use=yes
19660 echo "configure: failed program was:" >&5
19661 cat conftest.$ac_ext >&5
19663 glibcpp_cv_func__sincosl_use=no
19667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19668 ac_cpp='$CPP $CPPFLAGS'
19669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19671 cross_compiling=$ac_cv_prog_cc_cross
19677 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19679 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19680 for ac_func in _sincosl
19682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19683 echo "configure:19684: checking for $ac_func" >&5
19684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19685 echo $ac_n "(cached) $ac_c" 1>&6
19687 cat > conftest.$ac_ext <<EOF
19688 #line 19689 "configure"
19689 #include "confdefs.h"
19690 /* System header to define __stub macros and hopefully few prototypes,
19691 which can conflict with char $ac_func(); below. */
19692 #include <assert.h>
19693 /* Override any gcc2 internal prototype to avoid an error. */
19694 /* We use char because int might match the return type of a gcc2
19695 builtin and then its argument prototype would still apply. */
19700 /* The GNU C library defines this for functions which it implements
19701 to always fail with ENOSYS. Some functions are actually named
19702 something starting with __ and the normal name is an alias. */
19703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19711 if { (eval echo configure:19712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19713 eval "ac_cv_func_$ac_func=yes"
19715 echo "configure: failed program was:" >&5
19716 cat conftest.$ac_ext >&5
19718 eval "ac_cv_func_$ac_func=no"
19723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19724 echo "$ac_t""yes" 1>&6
19725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19726 cat >> confdefs.h <<EOF
19727 #define $ac_tr_func 1
19731 echo "$ac_t""no" 1>&6
19740 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
19741 echo "configure:19742: checking for finitel declaration" >&5
19742 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19743 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19744 echo $ac_n "(cached) $ac_c" 1>&6
19749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19750 ac_cpp='$CXXCPP $CPPFLAGS'
19751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19753 cross_compiling=$ac_cv_prog_cxx_cross
19755 cat > conftest.$ac_ext <<EOF
19756 #line 19757 "configure"
19757 #include "confdefs.h"
19759 #ifdef HAVE_IEEEFP_H
19760 #include <ieeefp.h>
19767 if { (eval echo configure:19768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19769 glibcpp_cv_func_finitel_use=yes
19771 echo "configure: failed program was:" >&5
19772 cat conftest.$ac_ext >&5
19774 glibcpp_cv_func_finitel_use=no
19778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19779 ac_cpp='$CPP $CPPFLAGS'
19780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19782 cross_compiling=$ac_cv_prog_cc_cross
19788 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19790 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19791 for ac_func in finitel
19793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19794 echo "configure:19795: checking for $ac_func" >&5
19795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19796 echo $ac_n "(cached) $ac_c" 1>&6
19798 cat > conftest.$ac_ext <<EOF
19799 #line 19800 "configure"
19800 #include "confdefs.h"
19801 /* System header to define __stub macros and hopefully few prototypes,
19802 which can conflict with char $ac_func(); below. */
19803 #include <assert.h>
19804 /* Override any gcc2 internal prototype to avoid an error. */
19805 /* We use char because int might match the return type of a gcc2
19806 builtin and then its argument prototype would still apply. */
19811 /* The GNU C library defines this for functions which it implements
19812 to always fail with ENOSYS. Some functions are actually named
19813 something starting with __ and the normal name is an alias. */
19814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19822 if { (eval echo configure:19823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19824 eval "ac_cv_func_$ac_func=yes"
19826 echo "configure: failed program was:" >&5
19827 cat conftest.$ac_ext >&5
19829 eval "ac_cv_func_$ac_func=no"
19834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19835 echo "$ac_t""yes" 1>&6
19836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19837 cat >> confdefs.h <<EOF
19838 #define $ac_tr_func 1
19842 echo "$ac_t""no" 1>&6
19848 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
19849 echo "configure:19850: checking for _finitel declaration" >&5
19850 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19851 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19852 echo $ac_n "(cached) $ac_c" 1>&6
19857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19858 ac_cpp='$CXXCPP $CPPFLAGS'
19859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19861 cross_compiling=$ac_cv_prog_cxx_cross
19863 cat > conftest.$ac_ext <<EOF
19864 #line 19865 "configure"
19865 #include "confdefs.h"
19867 #ifdef HAVE_IEEEFP_H
19868 #include <ieeefp.h>
19875 if { (eval echo configure:19876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19877 glibcpp_cv_func__finitel_use=yes
19879 echo "configure: failed program was:" >&5
19880 cat conftest.$ac_ext >&5
19882 glibcpp_cv_func__finitel_use=no
19886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19887 ac_cpp='$CPP $CPPFLAGS'
19888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19890 cross_compiling=$ac_cv_prog_cc_cross
19896 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19898 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19899 for ac_func in _finitel
19901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19902 echo "configure:19903: checking for $ac_func" >&5
19903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19904 echo $ac_n "(cached) $ac_c" 1>&6
19906 cat > conftest.$ac_ext <<EOF
19907 #line 19908 "configure"
19908 #include "confdefs.h"
19909 /* System header to define __stub macros and hopefully few prototypes,
19910 which can conflict with char $ac_func(); below. */
19911 #include <assert.h>
19912 /* Override any gcc2 internal prototype to avoid an error. */
19913 /* We use char because int might match the return type of a gcc2
19914 builtin and then its argument prototype would still apply. */
19919 /* The GNU C library defines this for functions which it implements
19920 to always fail with ENOSYS. Some functions are actually named
19921 something starting with __ and the normal name is an alias. */
19922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19930 if { (eval echo configure:19931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19932 eval "ac_cv_func_$ac_func=yes"
19934 echo "configure: failed program was:" >&5
19935 cat conftest.$ac_ext >&5
19937 eval "ac_cv_func_$ac_func=no"
19942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19943 echo "$ac_t""yes" 1>&6
19944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19945 cat >> confdefs.h <<EOF
19946 #define $ac_tr_func 1
19950 echo "$ac_t""no" 1>&6
19960 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
19961 echo "configure:19962: checking for _float trig functions" >&5
19962 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19963 echo $ac_n "(cached) $ac_c" 1>&6
19968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19969 ac_cpp='$CXXCPP $CPPFLAGS'
19970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19972 cross_compiling=$ac_cv_prog_cxx_cross
19974 cat > conftest.$ac_ext <<EOF
19975 #line 19976 "configure"
19976 #include "confdefs.h"
19979 `for x in _acosf _asinf _atanf \
19980 _cosf _sinf _tanf \
19981 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19984 if { (eval echo configure:19985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19986 glibcpp_cv_func__float_trig_use=yes
19988 echo "configure: failed program was:" >&5
19989 cat conftest.$ac_ext >&5
19991 glibcpp_cv_func__float_trig_use=no
19995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19996 ac_cpp='$CPP $CPPFLAGS'
19997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19999 cross_compiling=$ac_cv_prog_cc_cross
20003 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20004 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20005 for ac_func in _acosf _asinf _atanf \
20006 _cosf _sinf _tanf \
20007 _coshf _sinhf _tanhf
20009 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20010 echo "configure:20011: checking for $ac_func" >&5
20011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20012 echo $ac_n "(cached) $ac_c" 1>&6
20014 cat > conftest.$ac_ext <<EOF
20015 #line 20016 "configure"
20016 #include "confdefs.h"
20017 /* System header to define __stub macros and hopefully few prototypes,
20018 which can conflict with char $ac_func(); below. */
20019 #include <assert.h>
20020 /* Override any gcc2 internal prototype to avoid an error. */
20021 /* We use char because int might match the return type of a gcc2
20022 builtin and then its argument prototype would still apply. */
20027 /* The GNU C library defines this for functions which it implements
20028 to always fail with ENOSYS. Some functions are actually named
20029 something starting with __ and the normal name is an alias. */
20030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20038 if { (eval echo configure:20039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20040 eval "ac_cv_func_$ac_func=yes"
20042 echo "configure: failed program was:" >&5
20043 cat conftest.$ac_ext >&5
20045 eval "ac_cv_func_$ac_func=no"
20050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20051 echo "$ac_t""yes" 1>&6
20052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20053 cat >> confdefs.h <<EOF
20054 #define $ac_tr_func 1
20058 echo "$ac_t""no" 1>&6
20065 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
20066 echo "configure:20067: checking for _float round functions" >&5
20067 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20068 echo $ac_n "(cached) $ac_c" 1>&6
20073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20076 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20077 cross_compiling=$ac_cv_prog_cxx_cross
20079 cat > conftest.$ac_ext <<EOF
20080 #line 20081 "configure"
20081 #include "confdefs.h"
20084 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20087 if { (eval echo configure:20088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20089 glibcpp_cv_func__float_round_use=yes
20091 echo "configure: failed program was:" >&5
20092 cat conftest.$ac_ext >&5
20094 glibcpp_cv_func__float_round_use=no
20098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20099 ac_cpp='$CPP $CPPFLAGS'
20100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20102 cross_compiling=$ac_cv_prog_cc_cross
20106 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20107 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20108 for ac_func in _ceilf _floorf
20110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20111 echo "configure:20112: checking for $ac_func" >&5
20112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20113 echo $ac_n "(cached) $ac_c" 1>&6
20115 cat > conftest.$ac_ext <<EOF
20116 #line 20117 "configure"
20117 #include "confdefs.h"
20118 /* System header to define __stub macros and hopefully few prototypes,
20119 which can conflict with char $ac_func(); below. */
20120 #include <assert.h>
20121 /* Override any gcc2 internal prototype to avoid an error. */
20122 /* We use char because int might match the return type of a gcc2
20123 builtin and then its argument prototype would still apply. */
20128 /* The GNU C library defines this for functions which it implements
20129 to always fail with ENOSYS. Some functions are actually named
20130 something starting with __ and the normal name is an alias. */
20131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20139 if { (eval echo configure:20140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20141 eval "ac_cv_func_$ac_func=yes"
20143 echo "configure: failed program was:" >&5
20144 cat conftest.$ac_ext >&5
20146 eval "ac_cv_func_$ac_func=no"
20151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20152 echo "$ac_t""yes" 1>&6
20153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20154 cat >> confdefs.h <<EOF
20155 #define $ac_tr_func 1
20159 echo "$ac_t""no" 1>&6
20167 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
20168 echo "configure:20169: checking for _long double trig functions" >&5
20169 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20170 echo $ac_n "(cached) $ac_c" 1>&6
20175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20176 ac_cpp='$CXXCPP $CPPFLAGS'
20177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20179 cross_compiling=$ac_cv_prog_cxx_cross
20181 cat > conftest.$ac_ext <<EOF
20182 #line 20183 "configure"
20183 #include "confdefs.h"
20186 `for x in _acosl _asinl _atanl \
20187 _cosl _sinl _tanl \
20188 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20191 if { (eval echo configure:20192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20193 glibcpp_cv_func__long_double_trig_use=yes
20195 echo "configure: failed program was:" >&5
20196 cat conftest.$ac_ext >&5
20198 glibcpp_cv_func__long_double_trig_use=no
20202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20206 cross_compiling=$ac_cv_prog_cc_cross
20210 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20211 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20212 for ac_func in _acosl _asinl _atanl \
20213 _cosl _sinl _tanl \
20214 _coshl _sinhl _tanhl
20216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20217 echo "configure:20218: checking for $ac_func" >&5
20218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20219 echo $ac_n "(cached) $ac_c" 1>&6
20221 cat > conftest.$ac_ext <<EOF
20222 #line 20223 "configure"
20223 #include "confdefs.h"
20224 /* System header to define __stub macros and hopefully few prototypes,
20225 which can conflict with char $ac_func(); below. */
20226 #include <assert.h>
20227 /* Override any gcc2 internal prototype to avoid an error. */
20228 /* We use char because int might match the return type of a gcc2
20229 builtin and then its argument prototype would still apply. */
20234 /* The GNU C library defines this for functions which it implements
20235 to always fail with ENOSYS. Some functions are actually named
20236 something starting with __ and the normal name is an alias. */
20237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20245 if { (eval echo configure:20246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20247 eval "ac_cv_func_$ac_func=yes"
20249 echo "configure: failed program was:" >&5
20250 cat conftest.$ac_ext >&5
20252 eval "ac_cv_func_$ac_func=no"
20257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20258 echo "$ac_t""yes" 1>&6
20259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20260 cat >> confdefs.h <<EOF
20261 #define $ac_tr_func 1
20265 echo "$ac_t""no" 1>&6
20272 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
20273 echo "configure:20274: checking for _long double round functions" >&5
20274 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20275 echo $ac_n "(cached) $ac_c" 1>&6
20280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20283 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20284 cross_compiling=$ac_cv_prog_cxx_cross
20286 cat > conftest.$ac_ext <<EOF
20287 #line 20288 "configure"
20288 #include "confdefs.h"
20291 `for x in _ceill _floorl; do echo "$x (0);"; done`
20294 if { (eval echo configure:20295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20296 glibcpp_cv_func__long_double_round_use=yes
20298 echo "configure: failed program was:" >&5
20299 cat conftest.$ac_ext >&5
20301 glibcpp_cv_func__long_double_round_use=no
20305 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20306 ac_cpp='$CPP $CPPFLAGS'
20307 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20308 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20309 cross_compiling=$ac_cv_prog_cc_cross
20313 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20314 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20315 for ac_func in _ceill _floorl
20317 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20318 echo "configure:20319: checking for $ac_func" >&5
20319 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20320 echo $ac_n "(cached) $ac_c" 1>&6
20322 cat > conftest.$ac_ext <<EOF
20323 #line 20324 "configure"
20324 #include "confdefs.h"
20325 /* System header to define __stub macros and hopefully few prototypes,
20326 which can conflict with char $ac_func(); below. */
20327 #include <assert.h>
20328 /* Override any gcc2 internal prototype to avoid an error. */
20329 /* We use char because int might match the return type of a gcc2
20330 builtin and then its argument prototype would still apply. */
20335 /* The GNU C library defines this for functions which it implements
20336 to always fail with ENOSYS. Some functions are actually named
20337 something starting with __ and the normal name is an alias. */
20338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20346 if { (eval echo configure:20347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20348 eval "ac_cv_func_$ac_func=yes"
20350 echo "configure: failed program was:" >&5
20351 cat conftest.$ac_ext >&5
20353 eval "ac_cv_func_$ac_func=no"
20358 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20359 echo "$ac_t""yes" 1>&6
20360 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20361 cat >> confdefs.h <<EOF
20362 #define $ac_tr_func 1
20366 echo "$ac_t""no" 1>&6
20373 LIBS="$ac_save_LIBS"
20374 CXXFLAGS="$ac_save_CXXFLAGS"
20377 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
20378 echo "configure:20379: checking for main in -lm" >&5
20379 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20380 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20381 echo $ac_n "(cached) $ac_c" 1>&6
20383 ac_save_LIBS="$LIBS"
20385 cat > conftest.$ac_ext <<EOF
20386 #line 20387 "configure"
20387 #include "confdefs.h"
20393 if { (eval echo configure:20394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20395 eval "ac_cv_lib_$ac_lib_var=yes"
20397 echo "configure: failed program was:" >&5
20398 cat conftest.$ac_ext >&5
20400 eval "ac_cv_lib_$ac_lib_var=no"
20403 LIBS="$ac_save_LIBS"
20406 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20407 echo "$ac_t""yes" 1>&6
20408 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20409 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20410 cat >> confdefs.h <<EOF
20411 #define $ac_tr_lib 1
20417 echo "$ac_t""no" 1>&6
20420 for ac_func in nan copysignf
20422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20423 echo "configure:20424: checking for $ac_func" >&5
20424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20425 echo $ac_n "(cached) $ac_c" 1>&6
20427 cat > conftest.$ac_ext <<EOF
20428 #line 20429 "configure"
20429 #include "confdefs.h"
20430 /* System header to define __stub macros and hopefully few prototypes,
20431 which can conflict with char $ac_func(); below. */
20432 #include <assert.h>
20433 /* Override any gcc2 internal prototype to avoid an error. */
20434 /* We use char because int might match the return type of a gcc2
20435 builtin and then its argument prototype would still apply. */
20440 /* The GNU C library defines this for functions which it implements
20441 to always fail with ENOSYS. Some functions are actually named
20442 something starting with __ and the normal name is an alias. */
20443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20451 if { (eval echo configure:20452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20453 eval "ac_cv_func_$ac_func=yes"
20455 echo "configure: failed program was:" >&5
20456 cat conftest.$ac_ext >&5
20458 eval "ac_cv_func_$ac_func=no"
20463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20464 echo "$ac_t""yes" 1>&6
20465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20466 cat >> confdefs.h <<EOF
20467 #define $ac_tr_func 1
20471 echo "$ac_t""no" 1>&6
20472 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
20477 for ac_func in __signbit
20479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20480 echo "configure:20481: checking for $ac_func" >&5
20481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20482 echo $ac_n "(cached) $ac_c" 1>&6
20484 cat > conftest.$ac_ext <<EOF
20485 #line 20486 "configure"
20486 #include "confdefs.h"
20487 /* System header to define __stub macros and hopefully few prototypes,
20488 which can conflict with char $ac_func(); below. */
20489 #include <assert.h>
20490 /* Override any gcc2 internal prototype to avoid an error. */
20491 /* We use char because int might match the return type of a gcc2
20492 builtin and then its argument prototype would still apply. */
20497 /* The GNU C library defines this for functions which it implements
20498 to always fail with ENOSYS. Some functions are actually named
20499 something starting with __ and the normal name is an alias. */
20500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20508 if { (eval echo configure:20509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20510 eval "ac_cv_func_$ac_func=yes"
20512 echo "configure: failed program was:" >&5
20513 cat conftest.$ac_ext >&5
20515 eval "ac_cv_func_$ac_func=no"
20520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20521 echo "$ac_t""yes" 1>&6
20522 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20523 cat >> confdefs.h <<EOF
20524 #define $ac_tr_func 1
20528 echo "$ac_t""no" 1>&6
20529 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
20533 for ac_func in __signbitf
20535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20536 echo "configure:20537: checking for $ac_func" >&5
20537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20538 echo $ac_n "(cached) $ac_c" 1>&6
20540 cat > conftest.$ac_ext <<EOF
20541 #line 20542 "configure"
20542 #include "confdefs.h"
20543 /* System header to define __stub macros and hopefully few prototypes,
20544 which can conflict with char $ac_func(); below. */
20545 #include <assert.h>
20546 /* Override any gcc2 internal prototype to avoid an error. */
20547 /* We use char because int might match the return type of a gcc2
20548 builtin and then its argument prototype would still apply. */
20553 /* The GNU C library defines this for functions which it implements
20554 to always fail with ENOSYS. Some functions are actually named
20555 something starting with __ and the normal name is an alias. */
20556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20564 if { (eval echo configure:20565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20566 eval "ac_cv_func_$ac_func=yes"
20568 echo "configure: failed program was:" >&5
20569 cat conftest.$ac_ext >&5
20571 eval "ac_cv_func_$ac_func=no"
20576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20577 echo "$ac_t""yes" 1>&6
20578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20579 cat >> confdefs.h <<EOF
20580 #define $ac_tr_func 1
20584 echo "$ac_t""no" 1>&6
20585 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
20590 if test x$ac_cv_func_copysignl = x"yes"; then
20591 for ac_func in __signbitl
20593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20594 echo "configure:20595: checking for $ac_func" >&5
20595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20596 echo $ac_n "(cached) $ac_c" 1>&6
20598 cat > conftest.$ac_ext <<EOF
20599 #line 20600 "configure"
20600 #include "confdefs.h"
20601 /* System header to define __stub macros and hopefully few prototypes,
20602 which can conflict with char $ac_func(); below. */
20603 #include <assert.h>
20604 /* Override any gcc2 internal prototype to avoid an error. */
20605 /* We use char because int might match the return type of a gcc2
20606 builtin and then its argument prototype would still apply. */
20611 /* The GNU C library defines this for functions which it implements
20612 to always fail with ENOSYS. Some functions are actually named
20613 something starting with __ and the normal name is an alias. */
20614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20622 if { (eval echo configure:20623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20624 eval "ac_cv_func_$ac_func=yes"
20626 echo "configure: failed program was:" >&5
20627 cat conftest.$ac_ext >&5
20629 eval "ac_cv_func_$ac_func=no"
20634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20635 echo "$ac_t""yes" 1>&6
20636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20637 cat >> confdefs.h <<EOF
20638 #define $ac_tr_func 1
20642 echo "$ac_t""no" 1>&6
20643 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
20653 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
20654 echo "configure:20655: checking for mbstate_t" >&5
20655 cat > conftest.$ac_ext <<EOF
20656 #line 20657 "configure"
20657 #include "confdefs.h"
20660 mbstate_t teststate;
20663 if { (eval echo configure:20664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20667 echo "configure: failed program was:" >&5
20668 cat conftest.$ac_ext >&5
20673 echo "$ac_t""$have_mbstate_t" 1>&6
20674 if test x"$have_mbstate_t" = xyes; then
20675 cat >> confdefs.h <<\EOF
20676 #define HAVE_MBSTATE_T 1
20681 for ac_hdr in wchar.h
20683 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20684 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20685 echo "configure:20686: checking for $ac_hdr" >&5
20686 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20687 echo $ac_n "(cached) $ac_c" 1>&6
20689 cat > conftest.$ac_ext <<EOF
20690 #line 20691 "configure"
20691 #include "confdefs.h"
20694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20695 { (eval echo configure:20696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20697 if test -z "$ac_err"; then
20699 eval "ac_cv_header_$ac_safe=yes"
20702 echo "configure: failed program was:" >&5
20703 cat conftest.$ac_ext >&5
20705 eval "ac_cv_header_$ac_safe=no"
20709 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20710 echo "$ac_t""yes" 1>&6
20711 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20712 cat >> confdefs.h <<EOF
20713 #define $ac_tr_hdr 1
20717 echo "$ac_t""no" 1>&6
20722 for ac_hdr in wctype.h
20724 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20725 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20726 echo "configure:20727: checking for $ac_hdr" >&5
20727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20728 echo $ac_n "(cached) $ac_c" 1>&6
20730 cat > conftest.$ac_ext <<EOF
20731 #line 20732 "configure"
20732 #include "confdefs.h"
20735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20736 { (eval echo configure:20737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20738 if test -z "$ac_err"; then
20740 eval "ac_cv_header_$ac_safe=yes"
20743 echo "configure: failed program was:" >&5
20744 cat conftest.$ac_ext >&5
20746 eval "ac_cv_header_$ac_safe=no"
20750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20751 echo "$ac_t""yes" 1>&6
20752 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20753 cat >> confdefs.h <<EOF
20754 #define $ac_tr_hdr 1
20756 ac_has_wctype_h=yes
20758 echo "$ac_t""no" 1>&6
20764 if test x"$ac_has_wchar_h" = xyes &&
20765 test x"$ac_has_wctype_h" = xyes &&
20766 test x"$enable_c_mbchar" != xno; then
20768 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
20769 echo "configure:20770: checking for WCHAR_MIN and WCHAR_MAX" >&5
20770 cat > conftest.$ac_ext <<EOF
20771 #line 20772 "configure"
20772 #include "confdefs.h"
20775 int i = WCHAR_MIN; int j = WCHAR_MAX;
20778 if { (eval echo configure:20779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20780 has_wchar_minmax=yes
20782 echo "configure: failed program was:" >&5
20783 cat conftest.$ac_ext >&5
20785 has_wchar_minmax=no
20788 echo "$ac_t""$has_wchar_minmax" 1>&6
20790 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
20791 echo "configure:20792: checking for WEOF" >&5
20792 cat > conftest.$ac_ext <<EOF
20793 #line 20794 "configure"
20794 #include "confdefs.h"
20797 #include <stddef.h>
20802 if { (eval echo configure:20803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20806 echo "configure: failed program was:" >&5
20807 cat conftest.$ac_ext >&5
20812 echo "$ac_t""$has_weof" 1>&6
20815 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20818 echo "configure:20819: checking for $ac_func" >&5
20819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20820 echo $ac_n "(cached) $ac_c" 1>&6
20822 cat > conftest.$ac_ext <<EOF
20823 #line 20824 "configure"
20824 #include "confdefs.h"
20825 /* System header to define __stub macros and hopefully few prototypes,
20826 which can conflict with char $ac_func(); below. */
20827 #include <assert.h>
20828 /* Override any gcc2 internal prototype to avoid an error. */
20829 /* We use char because int might match the return type of a gcc2
20830 builtin and then its argument prototype would still apply. */
20835 /* The GNU C library defines this for functions which it implements
20836 to always fail with ENOSYS. Some functions are actually named
20837 something starting with __ and the normal name is an alias. */
20838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20846 if { (eval echo configure:20847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20848 eval "ac_cv_func_$ac_func=yes"
20850 echo "configure: failed program was:" >&5
20851 cat conftest.$ac_ext >&5
20853 eval "ac_cv_func_$ac_func=no"
20858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20859 echo "$ac_t""yes" 1>&6
20860 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20861 cat >> confdefs.h <<EOF
20862 #define $ac_tr_func 1
20866 echo "$ac_t""no" 1>&6
20873 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20874 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20875 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20876 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20877 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20878 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20881 echo "configure:20882: checking for $ac_func" >&5
20882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20883 echo $ac_n "(cached) $ac_c" 1>&6
20885 cat > conftest.$ac_ext <<EOF
20886 #line 20887 "configure"
20887 #include "confdefs.h"
20888 /* System header to define __stub macros and hopefully few prototypes,
20889 which can conflict with char $ac_func(); below. */
20890 #include <assert.h>
20891 /* Override any gcc2 internal prototype to avoid an error. */
20892 /* We use char because int might match the return type of a gcc2
20893 builtin and then its argument prototype would still apply. */
20898 /* The GNU C library defines this for functions which it implements
20899 to always fail with ENOSYS. Some functions are actually named
20900 something starting with __ and the normal name is an alias. */
20901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20909 if { (eval echo configure:20910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20911 eval "ac_cv_func_$ac_func=yes"
20913 echo "configure: failed program was:" >&5
20914 cat conftest.$ac_ext >&5
20916 eval "ac_cv_func_$ac_func=no"
20921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20922 echo "$ac_t""yes" 1>&6
20923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20924 cat >> confdefs.h <<EOF
20925 #define $ac_tr_func 1
20929 echo "$ac_t""no" 1>&6
20936 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
20937 echo "configure:20938: checking for ISO C99 wchar_t support" >&5
20938 if test x"$has_weof" = xyes &&
20939 test x"$has_wchar_minmax" = xyes &&
20940 test x"$ac_wfuncs" = xyes; then
20941 ac_isoC99_wchar_t=yes
20943 ac_isoC99_wchar_t=no
20945 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20947 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
20948 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
20949 echo "configure:20950: checking for iconv.h" >&5
20950 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20951 echo $ac_n "(cached) $ac_c" 1>&6
20953 cat > conftest.$ac_ext <<EOF
20954 #line 20955 "configure"
20955 #include "confdefs.h"
20958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20959 { (eval echo configure:20960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20961 if test -z "$ac_err"; then
20963 eval "ac_cv_header_$ac_safe=yes"
20966 echo "configure: failed program was:" >&5
20967 cat conftest.$ac_ext >&5
20969 eval "ac_cv_header_$ac_safe=no"
20973 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20974 echo "$ac_t""yes" 1>&6
20977 echo "$ac_t""no" 1>&6
20981 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
20982 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
20983 echo "configure:20984: checking for langinfo.h" >&5
20984 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20985 echo $ac_n "(cached) $ac_c" 1>&6
20987 cat > conftest.$ac_ext <<EOF
20988 #line 20989 "configure"
20989 #include "confdefs.h"
20990 #include <langinfo.h>
20992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20993 { (eval echo configure:20994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20995 if test -z "$ac_err"; then
20997 eval "ac_cv_header_$ac_safe=yes"
21000 echo "configure: failed program was:" >&5
21001 cat conftest.$ac_ext >&5
21003 eval "ac_cv_header_$ac_safe=no"
21007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21008 echo "$ac_t""yes" 1>&6
21009 ac_has_langinfo_h=yes
21011 echo "$ac_t""no" 1>&6
21012 ac_has_langinfo_h=no
21016 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
21017 echo "configure:21018: checking for iconv in -liconv" >&5
21018 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
21019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21020 echo $ac_n "(cached) $ac_c" 1>&6
21022 ac_save_LIBS="$LIBS"
21023 LIBS="-liconv $LIBS"
21024 cat > conftest.$ac_ext <<EOF
21025 #line 21026 "configure"
21026 #include "confdefs.h"
21027 /* Override any gcc2 internal prototype to avoid an error. */
21028 /* We use char because int might match the return type of a gcc2
21029 builtin and then its argument prototype would still apply. */
21036 if { (eval echo configure:21037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21038 eval "ac_cv_lib_$ac_lib_var=yes"
21040 echo "configure: failed program was:" >&5
21041 cat conftest.$ac_ext >&5
21043 eval "ac_cv_lib_$ac_lib_var=no"
21046 LIBS="$ac_save_LIBS"
21049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21050 echo "$ac_t""yes" 1>&6
21053 echo "$ac_t""no" 1>&6
21056 ac_save_LIBS="$LIBS"
21057 LIBS="$LIBS $libiconv"
21059 for ac_func in iconv_open iconv_close iconv nl_langinfo
21061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21062 echo "configure:21063: checking for $ac_func" >&5
21063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21064 echo $ac_n "(cached) $ac_c" 1>&6
21066 cat > conftest.$ac_ext <<EOF
21067 #line 21068 "configure"
21068 #include "confdefs.h"
21069 /* System header to define __stub macros and hopefully few prototypes,
21070 which can conflict with char $ac_func(); below. */
21071 #include <assert.h>
21072 /* Override any gcc2 internal prototype to avoid an error. */
21073 /* We use char because int might match the return type of a gcc2
21074 builtin and then its argument prototype would still apply. */
21079 /* The GNU C library defines this for functions which it implements
21080 to always fail with ENOSYS. Some functions are actually named
21081 something starting with __ and the normal name is an alias. */
21082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21090 if { (eval echo configure:21091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21092 eval "ac_cv_func_$ac_func=yes"
21094 echo "configure: failed program was:" >&5
21095 cat conftest.$ac_ext >&5
21097 eval "ac_cv_func_$ac_func=no"
21102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21103 echo "$ac_t""yes" 1>&6
21104 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21105 cat >> confdefs.h <<EOF
21106 #define $ac_tr_func 1
21111 echo "$ac_t""no" 1>&6
21117 LIBS="$ac_save_LIBS"
21119 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
21120 echo "configure:21121: checking for XPG2 wchar_t support" >&5
21121 if test x"$ac_has_iconv_h" = xyes &&
21122 test x"$ac_has_langinfo_h" = xyes &&
21123 test x"$ac_XPG2funcs" = xyes; then
21124 ac_XPG2_wchar_t=yes
21128 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
21130 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
21131 echo "configure:21132: checking for enabled wchar_t specializations" >&5
21132 if test x"$ac_isoC99_wchar_t" = xyes &&
21133 test x"$ac_XPG2_wchar_t" = xyes; then
21134 cat >> confdefs.h <<\EOF
21135 #define _GLIBCPP_USE_WCHAR_T 1
21138 echo "$ac_t"""yes"" 1>&6
21140 echo "$ac_t"""no"" 1>&6
21143 echo "configure: warning: wchar_t support disabled." 1>&2
21147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21148 ac_save_CXXFLAGS="$CXXFLAGS"
21149 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
21152 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
21153 echo "configure:21154: checking for strtold declaration" >&5
21154 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
21155 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
21156 echo $ac_n "(cached) $ac_c" 1>&6
21161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21164 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21165 cross_compiling=$ac_cv_prog_cxx_cross
21167 cat > conftest.$ac_ext <<EOF
21168 #line 21169 "configure"
21169 #include "confdefs.h"
21170 #include <stdlib.h>
21175 if { (eval echo configure:21176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21177 glibcpp_cv_func_strtold_use=yes
21179 echo "configure: failed program was:" >&5
21180 cat conftest.$ac_ext >&5
21182 glibcpp_cv_func_strtold_use=no
21186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21187 ac_cpp='$CPP $CPPFLAGS'
21188 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21189 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21190 cross_compiling=$ac_cv_prog_cc_cross
21196 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
21197 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
21198 for ac_func in strtold
21200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21201 echo "configure:21202: checking for $ac_func" >&5
21202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21203 echo $ac_n "(cached) $ac_c" 1>&6
21205 cat > conftest.$ac_ext <<EOF
21206 #line 21207 "configure"
21207 #include "confdefs.h"
21208 /* System header to define __stub macros and hopefully few prototypes,
21209 which can conflict with char $ac_func(); below. */
21210 #include <assert.h>
21211 /* Override any gcc2 internal prototype to avoid an error. */
21212 /* We use char because int might match the return type of a gcc2
21213 builtin and then its argument prototype would still apply. */
21218 /* The GNU C library defines this for functions which it implements
21219 to always fail with ENOSYS. Some functions are actually named
21220 something starting with __ and the normal name is an alias. */
21221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21229 if { (eval echo configure:21230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21231 eval "ac_cv_func_$ac_func=yes"
21233 echo "configure: failed program was:" >&5
21234 cat conftest.$ac_ext >&5
21236 eval "ac_cv_func_$ac_func=no"
21241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21242 echo "$ac_t""yes" 1>&6
21243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21244 cat >> confdefs.h <<EOF
21245 #define $ac_tr_func 1
21249 echo "$ac_t""no" 1>&6
21256 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
21257 echo "configure:21258: checking for strtof declaration" >&5
21258 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21259 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21260 echo $ac_n "(cached) $ac_c" 1>&6
21265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21266 ac_cpp='$CXXCPP $CPPFLAGS'
21267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21269 cross_compiling=$ac_cv_prog_cxx_cross
21271 cat > conftest.$ac_ext <<EOF
21272 #line 21273 "configure"
21273 #include "confdefs.h"
21274 #include <stdlib.h>
21279 if { (eval echo configure:21280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21281 glibcpp_cv_func_strtof_use=yes
21283 echo "configure: failed program was:" >&5
21284 cat conftest.$ac_ext >&5
21286 glibcpp_cv_func_strtof_use=no
21290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21294 cross_compiling=$ac_cv_prog_cc_cross
21300 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21301 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21302 for ac_func in strtof
21304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21305 echo "configure:21306: checking for $ac_func" >&5
21306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21307 echo $ac_n "(cached) $ac_c" 1>&6
21309 cat > conftest.$ac_ext <<EOF
21310 #line 21311 "configure"
21311 #include "confdefs.h"
21312 /* System header to define __stub macros and hopefully few prototypes,
21313 which can conflict with char $ac_func(); below. */
21314 #include <assert.h>
21315 /* Override any gcc2 internal prototype to avoid an error. */
21316 /* We use char because int might match the return type of a gcc2
21317 builtin and then its argument prototype would still apply. */
21322 /* The GNU C library defines this for functions which it implements
21323 to always fail with ENOSYS. Some functions are actually named
21324 something starting with __ and the normal name is an alias. */
21325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21333 if { (eval echo configure:21334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21335 eval "ac_cv_func_$ac_func=yes"
21337 echo "configure: failed program was:" >&5
21338 cat conftest.$ac_ext >&5
21340 eval "ac_cv_func_$ac_func=no"
21345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21346 echo "$ac_t""yes" 1>&6
21347 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21348 cat >> confdefs.h <<EOF
21349 #define $ac_tr_func 1
21353 echo "$ac_t""no" 1>&6
21359 for ac_func in drand48
21361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21362 echo "configure:21363: checking for $ac_func" >&5
21363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21364 echo $ac_n "(cached) $ac_c" 1>&6
21366 cat > conftest.$ac_ext <<EOF
21367 #line 21368 "configure"
21368 #include "confdefs.h"
21369 /* System header to define __stub macros and hopefully few prototypes,
21370 which can conflict with char $ac_func(); below. */
21371 #include <assert.h>
21372 /* Override any gcc2 internal prototype to avoid an error. */
21373 /* We use char because int might match the return type of a gcc2
21374 builtin and then its argument prototype would still apply. */
21379 /* The GNU C library defines this for functions which it implements
21380 to always fail with ENOSYS. Some functions are actually named
21381 something starting with __ and the normal name is an alias. */
21382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21390 if { (eval echo configure:21391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21392 eval "ac_cv_func_$ac_func=yes"
21394 echo "configure: failed program was:" >&5
21395 cat conftest.$ac_ext >&5
21397 eval "ac_cv_func_$ac_func=no"
21402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21403 echo "$ac_t""yes" 1>&6
21404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21405 cat >> confdefs.h <<EOF
21406 #define $ac_tr_func 1
21410 echo "$ac_t""no" 1>&6
21415 CXXFLAGS="$ac_save_CXXFLAGS"
21418 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
21419 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
21420 echo "configure:21421: checking for locale.h" >&5
21421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21422 echo $ac_n "(cached) $ac_c" 1>&6
21424 cat > conftest.$ac_ext <<EOF
21425 #line 21426 "configure"
21426 #include "confdefs.h"
21427 #include <locale.h>
21429 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21430 { (eval echo configure:21431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21431 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21432 if test -z "$ac_err"; then
21434 eval "ac_cv_header_$ac_safe=yes"
21437 echo "configure: failed program was:" >&5
21438 cat conftest.$ac_ext >&5
21440 eval "ac_cv_header_$ac_safe=no"
21444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21445 echo "$ac_t""yes" 1>&6
21447 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21448 echo "configure:21449: checking for LC_MESSAGES" >&5
21449 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21450 echo $ac_n "(cached) $ac_c" 1>&6
21452 cat > conftest.$ac_ext <<EOF
21453 #line 21454 "configure"
21454 #include "confdefs.h"
21455 #include <locale.h>
21460 if { (eval echo configure:21461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21462 ac_cv_val_LC_MESSAGES=yes
21464 echo "configure: failed program was:" >&5
21465 cat conftest.$ac_ext >&5
21467 ac_cv_val_LC_MESSAGES=no
21472 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21473 if test $ac_cv_val_LC_MESSAGES = yes; then
21474 cat >> confdefs.h <<\EOF
21475 #define HAVE_LC_MESSAGES 1
21481 echo "$ac_t""no" 1>&6
21486 cat > conftest.$ac_ext <<EOF
21487 #line 21488 "configure"
21488 #include "confdefs.h"
21490 #include <setjmp.h>
21493 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21496 if { (eval echo configure:21497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21498 cat >> confdefs.h <<\EOF
21499 #define HAVE_SIGSETJMP 1
21504 echo "configure: failed program was:" >&5
21505 cat conftest.$ac_ext >&5
21509 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
21511 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21513 echo "configure:21514: checking for $ac_hdr" >&5
21514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21515 echo $ac_n "(cached) $ac_c" 1>&6
21517 cat > conftest.$ac_ext <<EOF
21518 #line 21519 "configure"
21519 #include "confdefs.h"
21522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21523 { (eval echo configure:21524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21525 if test -z "$ac_err"; then
21527 eval "ac_cv_header_$ac_safe=yes"
21530 echo "configure: failed program was:" >&5
21531 cat conftest.$ac_ext >&5
21533 eval "ac_cv_header_$ac_safe=no"
21537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21538 echo "$ac_t""yes" 1>&6
21539 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21540 cat >> confdefs.h <<EOF
21541 #define $ac_tr_hdr 1
21545 echo "$ac_t""no" 1>&6
21549 for ac_func in getpagesize
21551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21552 echo "configure:21553: checking for $ac_func" >&5
21553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21554 echo $ac_n "(cached) $ac_c" 1>&6
21556 cat > conftest.$ac_ext <<EOF
21557 #line 21558 "configure"
21558 #include "confdefs.h"
21559 /* System header to define __stub macros and hopefully few prototypes,
21560 which can conflict with char $ac_func(); below. */
21561 #include <assert.h>
21562 /* Override any gcc2 internal prototype to avoid an error. */
21563 /* We use char because int might match the return type of a gcc2
21564 builtin and then its argument prototype would still apply. */
21569 /* The GNU C library defines this for functions which it implements
21570 to always fail with ENOSYS. Some functions are actually named
21571 something starting with __ and the normal name is an alias. */
21572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21580 if { (eval echo configure:21581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21582 eval "ac_cv_func_$ac_func=yes"
21584 echo "configure: failed program was:" >&5
21585 cat conftest.$ac_ext >&5
21587 eval "ac_cv_func_$ac_func=no"
21592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21593 echo "$ac_t""yes" 1>&6
21594 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21595 cat >> confdefs.h <<EOF
21596 #define $ac_tr_func 1
21600 echo "$ac_t""no" 1>&6
21604 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
21605 echo "configure:21606: checking for working mmap" >&5
21606 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21607 echo $ac_n "(cached) $ac_c" 1>&6
21609 if test "$cross_compiling" = yes; then
21610 ac_cv_func_mmap_fixed_mapped=no
21612 cat > conftest.$ac_ext <<EOF
21613 #line 21614 "configure"
21614 #include "confdefs.h"
21616 /* Thanks to Mike Haertel and Jim Avera for this test.
21617 Here is a matrix of mmap possibilities:
21618 mmap private not fixed
21619 mmap private fixed at somewhere currently unmapped
21620 mmap private fixed at somewhere already mapped
21621 mmap shared not fixed
21622 mmap shared fixed at somewhere currently unmapped
21623 mmap shared fixed at somewhere already mapped
21624 For private mappings, we should verify that changes cannot be read()
21625 back from the file, nor mmap's back from the file at a different
21626 address. (There have been systems where private was not correctly
21627 implemented like the infamous i386 svr4.0, and systems where the
21628 VM page cache was not coherent with the filesystem buffer cache
21629 like early versions of FreeBSD and possibly contemporary NetBSD.)
21630 For shared mappings, we should conversely verify that changes get
21631 propogated back to all the places they're supposed to be.
21633 Grep wants private fixed already mapped.
21634 The main things grep needs to know about mmap are:
21635 * does it exist and is it safe to write into the mmap'd area
21636 * how to use it (BSD variants) */
21637 #include <sys/types.h>
21639 #include <sys/mman.h>
21641 #if HAVE_SYS_TYPES_H
21642 # include <sys/types.h>
21646 # include <stdlib.h>
21649 #if HAVE_SYS_STAT_H
21650 # include <sys/stat.h>
21654 # include <unistd.h>
21657 /* This mess was copied from the GNU getpagesize.h. */
21658 #ifndef HAVE_GETPAGESIZE
21660 /* Assume that all systems that can run configure have sys/param.h. */
21661 # ifndef HAVE_SYS_PARAM_H
21662 # define HAVE_SYS_PARAM_H 1
21665 # ifdef _SC_PAGESIZE
21666 # define getpagesize() sysconf(_SC_PAGESIZE)
21667 # else /* no _SC_PAGESIZE */
21668 # ifdef HAVE_SYS_PARAM_H
21669 # include <sys/param.h>
21670 # ifdef EXEC_PAGESIZE
21671 # define getpagesize() EXEC_PAGESIZE
21672 # else /* no EXEC_PAGESIZE */
21674 # define getpagesize() NBPG * CLSIZE
21677 # endif /* no CLSIZE */
21678 # else /* no NBPG */
21680 # define getpagesize() NBPC
21681 # else /* no NBPC */
21683 # define getpagesize() PAGESIZE
21684 # endif /* PAGESIZE */
21685 # endif /* no NBPC */
21686 # endif /* no NBPG */
21687 # endif /* no EXEC_PAGESIZE */
21688 # else /* no HAVE_SYS_PARAM_H */
21689 # define getpagesize() 8192 /* punt totally */
21690 # endif /* no HAVE_SYS_PARAM_H */
21691 # endif /* no _SC_PAGESIZE */
21693 #endif /* no HAVE_GETPAGESIZE */
21696 extern "C" { void *malloc(unsigned); }
21704 char *data, *data2, *data3;
21708 pagesize = getpagesize();
21711 * First, make a file with some known garbage in it.
21713 data = malloc(pagesize);
21716 for (i = 0; i < pagesize; ++i)
21717 *(data + i) = rand();
21719 fd = creat("conftestmmap", 0600);
21722 if (write(fd, data, pagesize) != pagesize)
21727 * Next, try to mmap the file at a fixed address which
21728 * already has something else allocated at it. If we can,
21729 * also make sure that we see the same garbage.
21731 fd = open("conftestmmap", O_RDWR);
21734 data2 = malloc(2 * pagesize);
21737 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21738 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21739 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21741 for (i = 0; i < pagesize; ++i)
21742 if (*(data + i) != *(data2 + i))
21746 * Finally, make sure that changes to the mapped area
21747 * do not percolate back to the file as seen by read().
21748 * (This is a bug on some variants of i386 svr4.0.)
21750 for (i = 0; i < pagesize; ++i)
21751 *(data2 + i) = *(data2 + i) + 1;
21752 data3 = malloc(pagesize);
21755 if (read(fd, data3, pagesize) != pagesize)
21757 for (i = 0; i < pagesize; ++i)
21758 if (*(data + i) != *(data3 + i))
21761 unlink("conftestmmap");
21766 if { (eval echo configure:21767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21768 ac_cv_func_mmap_fixed_mapped=yes
21770 echo "configure: failed program was:" >&5
21771 cat conftest.$ac_ext >&5
21773 ac_cv_func_mmap_fixed_mapped=no
21780 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21781 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21782 cat >> confdefs.h <<\EOF
21783 #define HAVE_MMAP 1
21789 # Establish limits on memory usage during 'make check'
21792 setrlimit_have_headers=yes
21793 for ac_hdr in unistd.h sys/time.h sys/resource.h
21795 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21796 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21797 echo "configure:21798: checking for $ac_hdr" >&5
21798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21799 echo $ac_n "(cached) $ac_c" 1>&6
21801 cat > conftest.$ac_ext <<EOF
21802 #line 21803 "configure"
21803 #include "confdefs.h"
21806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21807 { (eval echo configure:21808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21809 if test -z "$ac_err"; then
21811 eval "ac_cv_header_$ac_safe=yes"
21814 echo "configure: failed program was:" >&5
21815 cat conftest.$ac_ext >&5
21817 eval "ac_cv_header_$ac_safe=no"
21821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21822 echo "$ac_t""yes" 1>&6
21823 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21824 cat >> confdefs.h <<EOF
21825 #define $ac_tr_hdr 1
21829 echo "$ac_t""no" 1>&6
21830 setrlimit_have_headers=no
21834 # If don't have the headers, then we can't run the tests now, and we
21835 # won't be seeing any of these during testsuite compilation.
21836 if test $setrlimit_have_headers = yes; then
21837 # Can't do these in a loop, else the resulting syntax is wrong.
21839 cat > conftest.$ac_ext <<EOF
21840 #line 21841 "configure"
21841 #include "confdefs.h"
21842 #include <unistd.h>
21843 #include <sys/time.h>
21844 #include <sys/resource.h>
21847 int f = RLIMIT_DATA ;
21850 if { (eval echo configure:21851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21854 echo "configure: failed program was:" >&5
21855 cat conftest.$ac_ext >&5
21860 cat >> confdefs.h <<EOF
21861 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21866 cat > conftest.$ac_ext <<EOF
21867 #line 21868 "configure"
21868 #include "confdefs.h"
21869 #include <unistd.h>
21870 #include <sys/time.h>
21871 #include <sys/resource.h>
21874 int f = RLIMIT_RSS ;
21877 if { (eval echo configure:21878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21881 echo "configure: failed program was:" >&5
21882 cat conftest.$ac_ext >&5
21887 cat >> confdefs.h <<EOF
21888 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21893 cat > conftest.$ac_ext <<EOF
21894 #line 21895 "configure"
21895 #include "confdefs.h"
21896 #include <unistd.h>
21897 #include <sys/time.h>
21898 #include <sys/resource.h>
21901 int f = RLIMIT_VMEM ;
21904 if { (eval echo configure:21905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21908 echo "configure: failed program was:" >&5
21909 cat conftest.$ac_ext >&5
21914 cat >> confdefs.h <<EOF
21915 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21920 cat > conftest.$ac_ext <<EOF
21921 #line 21922 "configure"
21922 #include "confdefs.h"
21923 #include <unistd.h>
21924 #include <sys/time.h>
21925 #include <sys/resource.h>
21928 int f = RLIMIT_AS ;
21931 if { (eval echo configure:21932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21935 echo "configure: failed program was:" >&5
21936 cat conftest.$ac_ext >&5
21941 cat >> confdefs.h <<EOF
21942 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21947 # Check for rlimit, setrlimit.
21948 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21949 echo $ac_n "(cached) $ac_c" 1>&6
21952 cat > conftest.$ac_ext <<EOF
21953 #line 21954 "configure"
21954 #include "confdefs.h"
21955 #include <unistd.h>
21956 #include <sys/time.h>
21957 #include <sys/resource.h>
21960 struct rlimit r; setrlimit(0, &r);
21963 if { (eval echo configure:21964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21967 echo "configure: failed program was:" >&5
21968 cat conftest.$ac_ext >&5
21978 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
21979 echo "configure:21980: checking for testsuite memory limit support" >&5
21980 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21982 cat >> confdefs.h <<\EOF
21983 #define _GLIBCPP_MEM_LIMITS 1
21989 echo "$ac_t""$ac_mem_limits" 1>&6
21992 # Look for setenv, so that extended locale tests can be performed.
21994 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
21995 echo "configure:21996: checking for setenv declaration" >&5
21996 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21997 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21998 echo $ac_n "(cached) $ac_c" 1>&6
22003 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22006 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22007 cross_compiling=$ac_cv_prog_cxx_cross
22009 cat > conftest.$ac_ext <<EOF
22010 #line 22011 "configure"
22011 #include "confdefs.h"
22012 #include <stdlib.h>
22017 if { (eval echo configure:22018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22019 glibcpp_cv_func_setenv_use=yes
22021 echo "configure: failed program was:" >&5
22022 cat conftest.$ac_ext >&5
22024 glibcpp_cv_func_setenv_use=no
22028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22032 cross_compiling=$ac_cv_prog_cc_cross
22038 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
22039 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
22040 for ac_func in setenv
22042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22043 echo "configure:22044: checking for $ac_func" >&5
22044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22045 echo $ac_n "(cached) $ac_c" 1>&6
22047 cat > conftest.$ac_ext <<EOF
22048 #line 22049 "configure"
22049 #include "confdefs.h"
22050 /* System header to define __stub macros and hopefully few prototypes,
22051 which can conflict with char $ac_func(); below. */
22052 #include <assert.h>
22053 /* Override any gcc2 internal prototype to avoid an error. */
22054 /* We use char because int might match the return type of a gcc2
22055 builtin and then its argument prototype would still apply. */
22060 /* The GNU C library defines this for functions which it implements
22061 to always fail with ENOSYS. Some functions are actually named
22062 something starting with __ and the normal name is an alias. */
22063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22071 if { (eval echo configure:22072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22073 eval "ac_cv_func_$ac_func=yes"
22075 echo "configure: failed program was:" >&5
22076 cat conftest.$ac_ext >&5
22078 eval "ac_cv_func_$ac_func=no"
22083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22084 echo "$ac_t""yes" 1>&6
22085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22086 cat >> confdefs.h <<EOF
22087 #define $ac_tr_func 1
22091 echo "$ac_t""no" 1>&6
22098 # Export file names for ABI checking.
22099 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
22102 # Don't do ABI checking unless native.
22105 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
22106 GLIBCPP_BUILD_ABI_CHECK_TRUE=
22107 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
22109 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
22110 GLIBCPP_BUILD_ABI_CHECK_FALSE=
22115 # This depends on the possibly-skipped linker test above.
22116 # Check whether --enable-symvers or --disable-symvers was given.
22117 if test "${enable_symvers+set}" = set; then
22118 enableval="$enable_symvers"
22119 case "$enableval" in
22120 yes) enable_symvers=yes ;;
22121 no) enable_symvers=no ;;
22122 # other names here, just as sanity checks
22123 #gnu|sun|etcetera) enable_symvers=$enableval ;;
22124 gnu) enable_symvers=$enableval ;;
22125 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
22131 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
22132 # don't know enough about $LD to do tricks...
22133 if test x$enable_shared = xno ||
22135 test x$glibcpp_gnu_ld_version = x; then
22139 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
22140 if test $enable_symvers != no; then
22141 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
22142 echo "configure:22143: checking for shared libgcc" >&5
22143 ac_save_CFLAGS="$CFLAGS"
22145 cat > conftest.$ac_ext <<EOF
22146 #line 22147 "configure"
22147 #include "confdefs.h"
22153 if { (eval echo configure:22154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22155 glibcpp_shared_libgcc=yes
22157 echo "configure: failed program was:" >&5
22158 cat conftest.$ac_ext >&5
22160 glibcpp_shared_libgcc=no
22163 CFLAGS="$ac_save_CFLAGS"
22164 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
22167 # For GNU ld, we need at least this version. It's 2.12 in the same format
22168 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
22169 glibcpp_min_gnu_ld_version=21200
22171 # Check to see if unspecified "yes" value can win, given results
22173 if test $enable_symvers = yes ; then
22174 if test $with_gnu_ld = yes &&
22175 test $glibcpp_shared_libgcc = yes ;
22177 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
22180 ac_test_CFLAGS="${CFLAGS+set}"
22181 ac_save_CFLAGS="$CFLAGS"
22182 CFLAGS='-shared -Wl,--version-script,conftest.map'
22185 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
22187 cat > conftest.$ac_ext <<EOF
22188 #line 22189 "configure"
22189 #include "confdefs.h"
22195 if { (eval echo configure:22196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22199 echo "configure: failed program was:" >&5
22200 cat conftest.$ac_ext >&5
22203 if test "$ac_test_CFLAGS" = set; then
22204 CFLAGS="$ac_save_CFLAGS"
22206 # this is the suspicious part
22212 # just fail for now
22217 case $enable_symvers in
22219 LINKER_MAP=config/linker-map.dummy
22222 LINKER_MAP=config/linker-map.gnu
22229 if test $enable_symvers != no; then
22230 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
22231 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
22233 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
22234 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
22236 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
22237 echo "configure:22238: checking versioning on shared library symbols" >&5
22238 echo "$ac_t""$enable_symvers" 1>&6
22241 # Propagate the target-specific source directories through the build chain.
22242 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH and
22243 # CPULIMITSH [might] use it, and they only get used here.)
22244 OS_INC_SRCDIR=config/${os_include_dir}
22245 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
22246 CPU_LIMITS_INC_SRCDIR=config/${CPULIMITSH}
22251 # Set up cross-compile flags
22254 if test "$CANADIAN" = yes; then
22262 cat > confcache <<\EOF
22263 # This file is a shell script that caches the results of configure
22264 # tests run on this system so they can be shared between configure
22265 # scripts and configure runs. It is not useful on other systems.
22266 # If it contains results you don't want to keep, you may remove or edit it.
22268 # By default, configure uses ./config.cache as the cache file,
22269 # creating it if it does not exist already. You can give configure
22270 # the --cache-file=FILE option to use a different cache file; that is
22271 # what configure does when it calls configure scripts in
22272 # subdirectories, so they share the cache.
22273 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22274 # config.status only pays attention to the cache file if you give it the
22275 # --recheck option to rerun configure.
22278 # The following way of writing the cache mishandles newlines in values,
22279 # but we know of no workaround that is simple, portable, and efficient.
22280 # So, don't put newlines in cache variables' values.
22281 # Ultrix sh set writes to stderr and can't be redirected directly,
22282 # and sets the high bit in the cache file unless we assign to the vars.
22284 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22286 # `set' does not quote correctly, so add quotes (double-quote substitution
22287 # turns \\\\ into \\, and sed turns \\ into \).
22289 -e "s/'/'\\\\''/g" \
22290 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22293 # `set' quotes correctly as required by POSIX, so do not add quotes.
22294 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22297 if cmp -s $cache_file confcache; then
22300 if test -w $cache_file; then
22301 echo "updating cache $cache_file"
22302 cat confcache > $cache_file
22304 echo "not updating unwritable cache $cache_file"
22310 if test "${multilib}" = "yes"; then
22311 multilib_arg="--enable-multilib"
22316 # Export all the install information
22318 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22319 # exported correctly in GLIBCPP_CONFIGURE.
22320 glibcpp_toolexecdir=no
22321 glibcpp_toolexeclibdir=no
22322 glibcpp_prefixdir=${prefix}
22324 # Process the option --with-gxx-include-dir=<path to include-files directory>
22325 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
22326 echo "configure:22327: checking for --with-gxx-include-dir" >&5
22327 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22328 if test "${with_gxx_include_dir+set}" = set; then
22329 withval="$with_gxx_include_dir"
22330 case "${withval}" in
22332 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
22339 gxx_include_dir=${withval}
22346 echo "$ac_t""$gxx_include_dir" 1>&6
22348 # Process the option "--enable-version-specific-runtime-libs"
22349 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
22350 echo "configure:22351: checking for --enable-version-specific-runtime-libs" >&5
22351 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22352 if test "${enable_version_specific_runtime_libs+set}" = set; then
22353 enableval="$enable_version_specific_runtime_libs"
22354 case "$enableval" in
22355 yes) version_specific_libs=yes ;;
22356 no) version_specific_libs=no ;;
22357 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
22360 version_specific_libs=no
22362 # Option set, now we can test it.
22363 echo "$ac_t""$version_specific_libs" 1>&6
22365 # Default case for install directory for include files.
22366 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22367 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22370 # Version-specific runtime libs processing.
22371 if test $version_specific_libs = yes; then
22372 # Need the gcc compiler version to know where to install libraries
22373 # and header files if --enable-version-specific-runtime-libs option
22375 if test x"$gxx_include_dir" = x"no"; then
22376 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22378 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22379 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22382 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22383 # Install a library built with a cross compiler in tooldir, not libdir.
22384 if test x"$glibcpp_toolexecdir" = x"no"; then
22385 if test -n "$with_cross_host" &&
22386 test x"$with_cross_host" != x"no"; then
22387 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22388 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22390 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22391 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22395 echo $ac_n "checking for install location""... $ac_c" 1>&6
22396 echo "configure:22397: checking for install location" >&5
22397 echo "$ac_t""$gxx_include_dir" 1>&6
22405 # Export all the include and flag information to makefiles.
22407 # Root level of the build directory include sources.
22408 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
22410 # Passed down for canadian crosses.
22411 if test x"$CANADIAN" = xyes; then
22412 TOPLEVEL_INCLUDES='-I$(includedir)'
22415 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22417 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22419 if test x"$need_libio" = xyes; then
22420 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22424 # Now, export this to all the little Makefiles....
22431 # Optimization flags that are probably a good idea for thrill-seekers. Just
22432 # uncomment the lines below and make, everything else is ready to go...
22433 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22437 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22441 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22442 grep "enable shared" > /dev/null; then
22443 LIBSUPCXX_PICFLAGS=-prefer-pic
22445 LIBSUPCXX_PICFLAGS=
22449 # Generate the various Makefiles, include files, and scripts.
22450 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22451 # and libsupc++/Makefile.am so that multilib installs will end up
22452 # installed in the correct place. To work around this not being passed
22453 # down from config-ml.in -> top_srcdir/Makefile.am ->
22454 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22456 cat > confcache <<\EOF
22457 # This file is a shell script that caches the results of configure
22458 # tests run on this system so they can be shared between configure
22459 # scripts and configure runs. It is not useful on other systems.
22460 # If it contains results you don't want to keep, you may remove or edit it.
22462 # By default, configure uses ./config.cache as the cache file,
22463 # creating it if it does not exist already. You can give configure
22464 # the --cache-file=FILE option to use a different cache file; that is
22465 # what configure does when it calls configure scripts in
22466 # subdirectories, so they share the cache.
22467 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22468 # config.status only pays attention to the cache file if you give it the
22469 # --recheck option to rerun configure.
22472 # The following way of writing the cache mishandles newlines in values,
22473 # but we know of no workaround that is simple, portable, and efficient.
22474 # So, don't put newlines in cache variables' values.
22475 # Ultrix sh set writes to stderr and can't be redirected directly,
22476 # and sets the high bit in the cache file unless we assign to the vars.
22478 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22480 # `set' does not quote correctly, so add quotes (double-quote substitution
22481 # turns \\\\ into \\, and sed turns \\ into \).
22483 -e "s/'/'\\\\''/g" \
22484 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22487 # `set' quotes correctly as required by POSIX, so do not add quotes.
22488 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22491 if cmp -s $cache_file confcache; then
22494 if test -w $cache_file; then
22495 echo "updating cache $cache_file"
22496 cat confcache > $cache_file
22498 echo "not updating unwritable cache $cache_file"
22503 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22505 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22506 # Let make expand exec_prefix.
22507 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22509 # Any assignment to VPATH causes Sun make to only execute
22510 # the first set of double-colon rules, so remove it if not needed.
22511 # If there is a colon in the path, we need to keep it.
22512 if test "x$srcdir" = x.; then
22513 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22516 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22518 DEFS=-DHAVE_CONFIG_H
22520 # Without the "./", some shells look in PATH for config.status.
22521 : ${CONFIG_STATUS=./config.status}
22523 echo creating $CONFIG_STATUS
22524 rm -f $CONFIG_STATUS
22525 cat > $CONFIG_STATUS <<EOF
22527 # Generated automatically by configure.
22528 # Run this file to recreate the current configuration.
22529 # This directory was configured as follows,
22530 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22532 # $0 $ac_configure_args
22534 # Compiler output produced by configure, useful for debugging
22535 # configure, is in ./config.log if it exists.
22537 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22540 case "\$ac_option" in
22541 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22542 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22543 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22544 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22545 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22547 -help | --help | --hel | --he | --h)
22548 echo "\$ac_cs_usage"; exit 0 ;;
22549 *) echo "\$ac_cs_usage"; exit 1 ;;
22553 ac_given_srcdir=$srcdir
22554 ac_given_INSTALL="$INSTALL"
22556 trap 'rm -fr `echo "Makefile \
22557 include/Makefile src/Makefile \
22558 libmath/Makefile libio/Makefile libsupc++/Makefile \
22559 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22561 cat >> $CONFIG_STATUS <<EOF
22563 # Protect against being on the right side of a sed subst in config.status.
22564 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22565 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22569 s%@CFLAGS@%$CFLAGS%g
22570 s%@CPPFLAGS@%$CPPFLAGS%g
22571 s%@CXXFLAGS@%$CXXFLAGS%g
22572 s%@FFLAGS@%$FFLAGS%g
22574 s%@LDFLAGS@%$LDFLAGS%g
22576 s%@exec_prefix@%$exec_prefix%g
22577 s%@prefix@%$prefix%g
22578 s%@program_transform_name@%$program_transform_name%g
22579 s%@bindir@%$bindir%g
22580 s%@sbindir@%$sbindir%g
22581 s%@libexecdir@%$libexecdir%g
22582 s%@datadir@%$datadir%g
22583 s%@sysconfdir@%$sysconfdir%g
22584 s%@sharedstatedir@%$sharedstatedir%g
22585 s%@localstatedir@%$localstatedir%g
22586 s%@libdir@%$libdir%g
22587 s%@includedir@%$includedir%g
22588 s%@oldincludedir@%$oldincludedir%g
22589 s%@infodir@%$infodir%g
22590 s%@mandir@%$mandir%g
22591 s%@PACKAGE@%$PACKAGE%g
22592 s%@libtool_VERSION@%$libtool_VERSION%g
22593 s%@toplevel_srcdir@%$toplevel_srcdir%g
22595 s%@host_alias@%$host_alias%g
22596 s%@host_cpu@%$host_cpu%g
22597 s%@host_vendor@%$host_vendor%g
22598 s%@host_os@%$host_os%g
22599 s%@target@%$target%g
22600 s%@target_alias@%$target_alias%g
22601 s%@target_cpu@%$target_cpu%g
22602 s%@target_vendor@%$target_vendor%g
22603 s%@target_os@%$target_os%g
22605 s%@build_alias@%$build_alias%g
22606 s%@build_cpu@%$build_cpu%g
22607 s%@build_vendor@%$build_vendor%g
22608 s%@build_os@%$build_os%g
22609 s%@glibcpp_builddir@%$glibcpp_builddir%g
22610 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22613 s%@glibcpp_basedir@%$glibcpp_basedir%g
22615 s%@glibcpp_CXX@%$glibcpp_CXX%g
22618 s%@RANLIB@%$RANLIB%g
22619 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22620 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22621 s%@INSTALL_DATA@%$INSTALL_DATA%g
22622 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22623 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22625 s%@EXEEXT@%$EXEEXT%g
22626 s%@VERSION@%$VERSION%g
22627 s%@ACLOCAL@%$ACLOCAL%g
22628 s%@AUTOCONF@%$AUTOCONF%g
22629 s%@AUTOMAKE@%$AUTOMAKE%g
22630 s%@AUTOHEADER@%$AUTOHEADER%g
22631 s%@MAKEINFO@%$MAKEINFO%g
22632 s%@SET_MAKE@%$SET_MAKE%g
22633 s%@OBJEXT@%$OBJEXT%g
22635 s%@LIBTOOL@%$LIBTOOL%g
22636 s%@CXXCPP@%$CXXCPP%g
22637 s%@enable_shared@%$enable_shared%g
22638 s%@enable_static@%$enable_static%g
22639 s%@ifGNUmake@%$ifGNUmake%g
22640 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22642 s%@CSTDIO_H@%$CSTDIO_H%g
22643 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22644 s%@CCODECVT_C@%$CCODECVT_C%g
22645 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22646 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22647 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22648 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22649 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22650 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22651 s%@libio_la@%$libio_la%g
22652 s%@check_msgfmt@%$check_msgfmt%g
22653 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22654 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22655 s%@glibcpp_localedir@%$glibcpp_localedir%g
22656 s%@USE_NLS@%$USE_NLS%g
22657 s%@CLOCALE_H@%$CLOCALE_H%g
22658 s%@CCODECVT_H@%$CCODECVT_H%g
22659 s%@CMESSAGES_H@%$CMESSAGES_H%g
22660 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22661 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22662 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22663 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22664 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22665 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22666 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22667 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22668 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22669 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22670 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22671 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22672 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22673 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22674 s%@WERROR@%$WERROR%g
22675 s%@baseline_file@%$baseline_file%g
22676 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
22677 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
22678 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22679 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22680 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22681 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22682 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22683 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22684 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22685 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22686 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22687 s%@gxx_include_dir@%$gxx_include_dir%g
22688 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22689 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22690 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22691 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22692 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22693 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22694 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22695 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22696 s%@WARN_FLAGS@%$WARN_FLAGS%g
22697 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22702 cat >> $CONFIG_STATUS <<\EOF
22704 # Split the substitutions into bite-sized pieces for seds with
22705 # small command number limits, like on Digital OSF/1 and HP-UX.
22706 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22707 ac_file=1 # Number of current file.
22708 ac_beg=1 # First line for current file.
22709 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22712 while $ac_more_lines; do
22713 if test $ac_beg -gt 1; then
22714 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
22716 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
22718 if test ! -s conftest.s$ac_file; then
22719 ac_more_lines=false
22720 rm -f conftest.s$ac_file
22722 if test -z "$ac_sed_cmds"; then
22723 ac_sed_cmds="sed -f conftest.s$ac_file"
22725 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
22727 ac_file=`expr $ac_file + 1`
22729 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22732 if test -z "$ac_sed_cmds"; then
22737 cat >> $CONFIG_STATUS <<EOF
22739 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22740 include/Makefile src/Makefile \
22741 libmath/Makefile libio/Makefile libsupc++/Makefile \
22742 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
22744 cat >> $CONFIG_STATUS <<\EOF
22745 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
22746 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22748 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22749 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22750 *) ac_file_in="${ac_file}.in" ;;
22753 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22755 # Remove last slash and all that follows it. Not all systems have dirname.
22756 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22757 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22758 # The file is in a subdirectory.
22759 test ! -d "$ac_dir" && mkdir "$ac_dir"
22760 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22761 # A "../" for each directory in $ac_dir_suffix.
22762 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22764 ac_dir_suffix= ac_dots=
22767 case "$ac_given_srcdir" in
22769 if test -z "$ac_dots"; then top_srcdir=.
22770 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22771 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22772 *) # Relative path.
22773 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22774 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22777 case "$ac_given_INSTALL" in
22778 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22779 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22782 echo creating "$ac_file"
22784 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22786 *Makefile*) ac_comsub="1i\\
22787 # $configure_input" ;;
22791 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22793 s%@configure_input@%$configure_input%g
22794 s%@srcdir@%$srcdir%g
22795 s%@top_srcdir@%$top_srcdir%g
22796 s%@INSTALL@%$INSTALL%g
22797 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22801 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22802 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22804 # ac_d sets the value in "#define NAME VALUE" lines.
22805 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22806 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
22809 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22810 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22811 ac_uB='\([ ]\)%\1#\2define\3'
22814 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22815 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22816 ac_eB='$%\1#\2define\3'
22820 if test "${CONFIG_HEADERS+set}" != set; then
22822 cat >> $CONFIG_STATUS <<EOF
22823 CONFIG_HEADERS="config.h"
22825 cat >> $CONFIG_STATUS <<\EOF
22827 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
22828 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22830 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22831 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22832 *) ac_file_in="${ac_file}.in" ;;
22835 echo creating $ac_file
22837 rm -f conftest.frag conftest.in conftest.out
22838 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22839 cat $ac_file_inputs > conftest.in
22843 # Transform confdefs.h into a sed script conftest.vals that substitutes
22844 # the proper values into config.h.in to produce config.h. And first:
22845 # Protect against being on the right side of a sed subst in config.status.
22846 # Protect against being in an unquoted here document in config.status.
22847 rm -f conftest.vals
22848 cat > conftest.hdr <<\EOF
22851 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22855 sed -n -f conftest.hdr confdefs.h > conftest.vals
22858 # This sed command replaces #undef with comments. This is necessary, for
22859 # example, in the case of _POSIX_SOURCE, which is predefined and required
22860 # on some systems where configure will not decide to define it.
22861 cat >> conftest.vals <<\EOF
22862 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22865 # Break up conftest.vals because some shells have a limit on
22866 # the size of here documents, and old seds have small limits too.
22868 rm -f conftest.tail
22871 ac_lines=`grep -c . conftest.vals`
22872 # grep -c gives empty output for an empty file on some AIX systems.
22873 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22874 # Write a limited-size here document to conftest.frag.
22875 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22876 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22878 sed -f conftest.frag conftest.in > conftest.out
22880 mv conftest.out conftest.in
22881 ' >> $CONFIG_STATUS
22882 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22883 rm -f conftest.vals
22884 mv conftest.tail conftest.vals
22886 rm -f conftest.vals
22888 cat >> $CONFIG_STATUS <<\EOF
22889 rm -f conftest.frag conftest.h
22890 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22891 cat conftest.in >> conftest.h
22893 if cmp -s $ac_file conftest.h 2>/dev/null; then
22894 echo "$ac_file is unchanged"
22897 # Remove last slash and all that follows it. Not all systems have dirname.
22898 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22899 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22900 # The file is in a subdirectory.
22901 test ! -d "$ac_dir" && mkdir "$ac_dir"
22904 mv conftest.h $ac_file
22910 cat >> $CONFIG_STATUS <<EOF
22911 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"
22912 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"
22915 cat >> $CONFIG_STATUS <<\EOF
22916 srcdir=$ac_given_srcdir
22917 while test -n "$ac_sources"; do
22918 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22919 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22921 echo "linking $srcdir/$ac_source to $ac_dest"
22923 if test ! -r $srcdir/$ac_source; then
22924 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22928 # Make relative symlinks.
22929 # Remove last slash and all that follows it. Not all systems have dirname.
22930 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
22931 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22932 # The dest file is in a subdirectory.
22933 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22934 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
22935 # A "../" for each directory in $ac_dest_dir_suffix.
22936 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
22938 ac_dest_dir_suffix= ac_dots=
22942 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22943 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22946 # Make a symlink if possible; otherwise try a hard link.
22947 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22948 ln $srcdir/$ac_source $ac_dest; then :
22950 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22954 cat >> $CONFIG_STATUS <<EOF
22959 with_multisubdir=${with_multisubdir}
22960 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22961 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22962 glibcpp_basedir=${glibcpp_basedir}
22967 cat >> $CONFIG_STATUS <<\EOF
22968 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22969 if test -n "$CONFIG_FILES"; then
22970 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22971 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22972 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22973 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22976 chmod +x testsuite_flags
22980 chmod +x $CONFIG_STATUS
22981 rm -fr confdefs* $ac_clean_files
22982 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22986 # Sanity checking & User-visible messages.
22987 # Checks down here, otherwise they get scrolled off before
22988 # the user will notice.
22990 # Trying to get more people to read documentation. Possibly remove
22991 # check and warn all the time. There is no "informational" AC_MSG_
22992 # macro, so these are going to be printed even when --quiet/--silent
22994 if test ! -f stamp-sanity-warned; then
22995 touch stamp-sanity-warned
22997 echo "Please make certain that you read the installation information here:"
22998 echo " faster => ${srcdir}/docs/html/install.html"
22999 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
23001 echo "and the configuration information here:"
23002 echo " faster => ${srcdir}/docs/html/configopts.html"
23003 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
23005 echo "before proceeding with ${_cv_gnu_make_command}."