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
3839 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3843 enable_cheaders=c_std
3846 echo "$ac_t""$enable_cheaders" 1>&6
3848 case "$enable_cheaders" in
3850 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3853 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3860 if test "$enable_cheaders" = c; then
3861 GLIBCPP_C_HEADERS_C_TRUE=
3862 GLIBCPP_C_HEADERS_C_FALSE='#'
3864 GLIBCPP_C_HEADERS_C_TRUE='#'
3865 GLIBCPP_C_HEADERS_C_FALSE=
3869 if test "$enable_cheaders" = c_std; then
3870 GLIBCPP_C_HEADERS_C_STD_TRUE=
3871 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3873 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3874 GLIBCPP_C_HEADERS_C_STD_FALSE=
3878 if test "$c_compatibility" = yes; then
3879 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3880 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3882 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3883 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3887 echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
3888 echo "configure:3889: checking for thread model used by GCC" >&5
3889 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3890 echo "$ac_t""$target_thread_file" 1>&6
3892 if test $target_thread_file != single; then
3893 cat >> confdefs.h <<\EOF
3894 #define HAVE_GTHR_DEFAULT 1
3897 cat >> confdefs.h <<\EOF
3898 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3903 glibcpp_thread_h=gthr-$target_thread_file.h
3906 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3907 if test "${enable_cxx_flags+set}" = set; then
3908 enableval="$enable_cxx_flags"
3909 case "x$enableval" in
3911 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3913 enable_cxx_flags='' ;;
3915 enable_cxx_flags="$enableval" ;;
3918 enable_cxx_flags='none'
3922 if test "$enable_cxx_flags" = "none"; then
3923 enable_cxx_flags='';
3926 if test -n "$enable_cxx_flags"; then
3927 for f in $enable_cxx_flags; do
3931 *) # and we're trying to pass /what/ exactly?
3932 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3936 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3940 echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
3941 echo "configure:3942: checking for exception model to use" >&5
3944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3945 ac_cpp='$CXXCPP $CPPFLAGS'
3946 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3947 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3948 cross_compiling=$ac_cv_prog_cxx_cross
3950 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3951 if test "${enable_sjlj_exceptions+set}" = set; then
3952 enableval="$enable_sjlj_exceptions"
3955 cat > conftest.$ac_ext << EOF
3956 #line 3957 "configure"
3965 old_CXXFLAGS="$CXXFLAGS"
3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3968 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3969 enable_sjlj_exceptions=yes
3970 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3971 enable_sjlj_exceptions=no
3974 CXXFLAGS="$old_CXXFLAGS"
3978 if test x$enable_sjlj_exceptions = xyes; then
3979 cat >> confdefs.h <<\EOF
3980 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3983 ac_exception_model_name=sjlj
3984 elif test x$enable_sjlj_exceptions = xno; then
3985 ac_exception_model_name="call frame"
3987 { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
3990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3994 cross_compiling=$ac_cv_prog_cc_cross
3996 echo "$ac_t""$ac_exception_model_name" 1>&6
3999 echo $ac_n "checking for use of libunwind""... $ac_c" 1>&6
4000 echo "configure:4001: checking for use of libunwind" >&5
4001 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4002 if test "${enable_libunwind_exceptions+set}" = set; then
4003 enableval="$enable_libunwind_exceptions"
4004 use_libunwind_exceptions=$enableval
4006 use_libunwind_exceptions=no
4009 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4010 if test x"$use_libunwind_exceptions" = xyes; then
4011 LIBUNWIND_FLAG="-lunwind"
4017 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4018 if test "${enable_concept_checks+set}" = set; then
4019 enableval="$enable_concept_checks"
4020 case "$enableval" in
4021 yes) enable_concept_checks=yes ;;
4022 no) enable_concept_checks=no ;;
4023 *) { echo "configure: error: Unknown argument to enable/disable concept checks" 1>&2; exit 1; } ;;
4026 enable_concept_checks=no
4028 if test x"$enable_concept_checks" = xyes; then
4029 cat >> confdefs.h <<\EOF
4030 #define _GLIBCPP_CONCEPT_CHECKS 1
4036 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
4037 for ac_hdr in string.h stdlib.h
4039 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4041 echo "configure:4042: checking for $ac_hdr" >&5
4042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4043 echo $ac_n "(cached) $ac_c" 1>&6
4045 cat > conftest.$ac_ext <<EOF
4046 #line 4047 "configure"
4047 #include "confdefs.h"
4050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4051 { (eval echo configure:4052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4053 if test -z "$ac_err"; then
4055 eval "ac_cv_header_$ac_safe=yes"
4058 echo "configure: failed program was:" >&5
4059 cat conftest.$ac_ext >&5
4061 eval "ac_cv_header_$ac_safe=no"
4065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4066 echo "$ac_t""yes" 1>&6
4067 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4068 cat >> confdefs.h <<EOF
4069 #define $ac_tr_hdr 1
4073 echo "$ac_t""no" 1>&6
4078 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4080 # We are being configured with some form of cross compiler.
4081 GLIBCPP_IS_CROSS_COMPILING=1
4083 # This lets us hard-code the functionality we know we'll have in the cross
4084 # target environment. "Let" is a sugar-coated word placed on an especially
4085 # dull and tedious hack, actually.
4087 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4088 # that involve linking, can't be used:
4089 # "cannot open sim-crt0.o"
4090 # "cannot open crt0.o"
4091 # etc. All this is because there currently exists no unified, consistent
4092 # way for top level CC information to be passed down to target directories:
4093 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4094 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4095 # crosses can be removed.
4097 # If Canadian cross, then don't pick up tools from the build directory.
4098 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4099 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4105 # Construct crosses by hand, eliminating bits that need ld...
4106 # GLIBCPP_CHECK_COMPILER_FEATURES
4107 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4108 # GLIBCPP_CHECK_MATH_SUPPORT
4112 os_include_dir="os/gnu-linux"
4113 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4114 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4115 fp.h locale.h float.h inttypes.h
4117 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4118 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4119 echo "configure:4120: checking for $ac_hdr" >&5
4120 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4121 echo $ac_n "(cached) $ac_c" 1>&6
4123 cat > conftest.$ac_ext <<EOF
4124 #line 4125 "configure"
4125 #include "confdefs.h"
4128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4129 { (eval echo configure:4130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4131 if test -z "$ac_err"; then
4133 eval "ac_cv_header_$ac_safe=yes"
4136 echo "configure: failed program was:" >&5
4137 cat conftest.$ac_ext >&5
4139 eval "ac_cv_header_$ac_safe=no"
4143 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4144 echo "$ac_t""yes" 1>&6
4145 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4146 cat >> confdefs.h <<EOF
4147 #define $ac_tr_hdr 1
4151 echo "$ac_t""no" 1>&6
4155 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4158 # If we're not using GNU ld, then there's no point in even trying these
4159 # tests. Check for that first. We should have already tested for gld
4160 # by now (in libtool), but require it now just to be safe...
4161 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4162 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4165 # The name set by libtool depends on the version of libtool. Shame on us
4166 # for depending on an impl detail, but c'est la vie. Older versions used
4167 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4168 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4169 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4170 # set (hence we're using an older libtool), then set it.
4171 if test x${with_gnu_ld+set} != xset; then
4172 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4173 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
4176 with_gnu_ld=$ac_cv_prog_gnu_ld
4180 # Start by getting the version number. I think the libtool test already
4181 # does some of this, but throws away the result.
4183 ldver=`$LD --version 2>/dev/null | head -1 | \
4184 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4186 glibcpp_gnu_ld_version=`echo $ldver | \
4187 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4189 # Set --gc-sections.
4190 if test "$with_gnu_ld" = "notbroken"; then
4191 # GNU ld it is! Joy and bunny rabbits!
4193 # All these tests are for C++; save the language and the compiler flags.
4194 # Need to do this so that g++ won't try to link in libstdc++
4195 ac_test_CFLAGS="${CFLAGS+set}"
4196 ac_save_CFLAGS="$CFLAGS"
4197 CFLAGS='-x c++ -Wl,--gc-sections'
4199 # Check for -Wl,--gc-sections
4200 # XXX This test is broken at the moment, as symbols required for
4201 # linking are now in libsupc++ (not built yet.....). In addition,
4202 # this test has cored on solaris in the past. In addition,
4203 # --gc-sections doesn't really work at the moment (keeps on discarding
4204 # used sections, first .eh_frame and now some of the glibc sections for
4205 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4206 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4207 echo "configure:4208: checking for ld that supports -Wl,--gc-sections" >&5
4208 if test "$cross_compiling" = yes; then
4209 ac_sectionLDflags=yes
4211 cat > conftest.$ac_ext <<EOF
4212 #line 4213 "configure"
4213 #include "confdefs.h"
4223 if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4225 ac_sectionLDflags=yes
4227 echo "configure: failed program was:" >&5
4228 cat conftest.$ac_ext >&5
4230 ac_sectionLDflags=no
4235 if test "$ac_test_CFLAGS" = set; then
4236 CFLAGS="$ac_save_CFLAGS"
4238 # this is the suspicious part
4241 if test "$ac_sectionLDflags" = "yes"; then
4242 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4244 echo "$ac_t""$ac_sectionLDflags" 1>&6
4247 # Set linker optimization flags.
4248 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4249 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4256 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
4257 echo "configure:4258: checking for main in -lm" >&5
4258 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4259 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4260 echo $ac_n "(cached) $ac_c" 1>&6
4262 ac_save_LIBS="$LIBS"
4264 cat > conftest.$ac_ext <<EOF
4265 #line 4266 "configure"
4266 #include "confdefs.h"
4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4274 eval "ac_cv_lib_$ac_lib_var=yes"
4276 echo "configure: failed program was:" >&5
4277 cat conftest.$ac_ext >&5
4279 eval "ac_cv_lib_$ac_lib_var=no"
4282 LIBS="$ac_save_LIBS"
4285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4286 echo "$ac_t""yes" 1>&6
4287 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4288 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4289 cat >> confdefs.h <<EOF
4290 #define $ac_tr_lib 1
4296 echo "$ac_t""no" 1>&6
4299 for ac_func in nan copysignf
4301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4302 echo "configure:4303: checking for $ac_func" >&5
4303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4304 echo $ac_n "(cached) $ac_c" 1>&6
4306 cat > conftest.$ac_ext <<EOF
4307 #line 4308 "configure"
4308 #include "confdefs.h"
4309 /* System header to define __stub macros and hopefully few prototypes,
4310 which can conflict with char $ac_func(); below. */
4312 /* Override any gcc2 internal prototype to avoid an error. */
4313 /* We use char because int might match the return type of a gcc2
4314 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4330 if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4332 eval "ac_cv_func_$ac_func=yes"
4334 echo "configure: failed program was:" >&5
4335 cat conftest.$ac_ext >&5
4337 eval "ac_cv_func_$ac_func=no"
4342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4343 echo "$ac_t""yes" 1>&6
4344 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4345 cat >> confdefs.h <<EOF
4346 #define $ac_tr_func 1
4350 echo "$ac_t""no" 1>&6
4351 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
4356 for ac_func in __signbit
4358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4359 echo "configure:4360: checking for $ac_func" >&5
4360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4361 echo $ac_n "(cached) $ac_c" 1>&6
4363 cat > conftest.$ac_ext <<EOF
4364 #line 4365 "configure"
4365 #include "confdefs.h"
4366 /* System header to define __stub macros and hopefully few prototypes,
4367 which can conflict with char $ac_func(); below. */
4369 /* Override any gcc2 internal prototype to avoid an error. */
4370 /* We use char because int might match the return type of a gcc2
4371 builtin and then its argument prototype would still apply. */
4376 /* The GNU C library defines this for functions which it implements
4377 to always fail with ENOSYS. Some functions are actually named
4378 something starting with __ and the normal name is an alias. */
4379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4387 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4389 eval "ac_cv_func_$ac_func=yes"
4391 echo "configure: failed program was:" >&5
4392 cat conftest.$ac_ext >&5
4394 eval "ac_cv_func_$ac_func=no"
4399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4400 echo "$ac_t""yes" 1>&6
4401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4402 cat >> confdefs.h <<EOF
4403 #define $ac_tr_func 1
4407 echo "$ac_t""no" 1>&6
4408 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
4412 for ac_func in __signbitf
4414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4415 echo "configure:4416: checking for $ac_func" >&5
4416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4417 echo $ac_n "(cached) $ac_c" 1>&6
4419 cat > conftest.$ac_ext <<EOF
4420 #line 4421 "configure"
4421 #include "confdefs.h"
4422 /* System header to define __stub macros and hopefully few prototypes,
4423 which can conflict with char $ac_func(); below. */
4425 /* Override any gcc2 internal prototype to avoid an error. */
4426 /* We use char because int might match the return type of a gcc2
4427 builtin and then its argument prototype would still apply. */
4432 /* The GNU C library defines this for functions which it implements
4433 to always fail with ENOSYS. Some functions are actually named
4434 something starting with __ and the normal name is an alias. */
4435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4445 eval "ac_cv_func_$ac_func=yes"
4447 echo "configure: failed program was:" >&5
4448 cat conftest.$ac_ext >&5
4450 eval "ac_cv_func_$ac_func=no"
4455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4456 echo "$ac_t""yes" 1>&6
4457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4458 cat >> confdefs.h <<EOF
4459 #define $ac_tr_func 1
4463 echo "$ac_t""no" 1>&6
4464 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
4469 if test x$ac_cv_func_copysignl = x"yes"; then
4470 for ac_func in __signbitl
4472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4473 echo "configure:4474: checking for $ac_func" >&5
4474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4475 echo $ac_n "(cached) $ac_c" 1>&6
4477 cat > conftest.$ac_ext <<EOF
4478 #line 4479 "configure"
4479 #include "confdefs.h"
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char $ac_func(); below. */
4483 /* Override any gcc2 internal prototype to avoid an error. */
4484 /* We use char because int might match the return type of a gcc2
4485 builtin and then its argument prototype would still apply. */
4490 /* The GNU C library defines this for functions which it implements
4491 to always fail with ENOSYS. Some functions are actually named
4492 something starting with __ and the normal name is an alias. */
4493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4501 if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4503 eval "ac_cv_func_$ac_func=yes"
4505 echo "configure: failed program was:" >&5
4506 cat conftest.$ac_ext >&5
4508 eval "ac_cv_func_$ac_func=no"
4513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4514 echo "$ac_t""yes" 1>&6
4515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4516 cat >> confdefs.h <<EOF
4517 #define $ac_tr_func 1
4521 echo "$ac_t""no" 1>&6
4522 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
4532 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
4533 echo "configure:4534: checking for mbstate_t" >&5
4534 cat > conftest.$ac_ext <<EOF
4535 #line 4536 "configure"
4536 #include "confdefs.h"
4539 mbstate_t teststate;
4542 if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4546 echo "configure: failed program was:" >&5
4547 cat conftest.$ac_ext >&5
4552 echo "$ac_t""$have_mbstate_t" 1>&6
4553 if test x"$have_mbstate_t" = xyes; then
4554 cat >> confdefs.h <<\EOF
4555 #define HAVE_MBSTATE_T 1
4560 for ac_hdr in wchar.h
4562 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4563 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4564 echo "configure:4565: checking for $ac_hdr" >&5
4565 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4566 echo $ac_n "(cached) $ac_c" 1>&6
4568 cat > conftest.$ac_ext <<EOF
4569 #line 4570 "configure"
4570 #include "confdefs.h"
4573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4574 { (eval echo configure:4575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4576 if test -z "$ac_err"; then
4578 eval "ac_cv_header_$ac_safe=yes"
4581 echo "configure: failed program was:" >&5
4582 cat conftest.$ac_ext >&5
4584 eval "ac_cv_header_$ac_safe=no"
4588 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4589 echo "$ac_t""yes" 1>&6
4590 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4591 cat >> confdefs.h <<EOF
4592 #define $ac_tr_hdr 1
4596 echo "$ac_t""no" 1>&6
4601 for ac_hdr in wctype.h
4603 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4604 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4605 echo "configure:4606: checking for $ac_hdr" >&5
4606 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4607 echo $ac_n "(cached) $ac_c" 1>&6
4609 cat > conftest.$ac_ext <<EOF
4610 #line 4611 "configure"
4611 #include "confdefs.h"
4614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4615 { (eval echo configure:4616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4617 if test -z "$ac_err"; then
4619 eval "ac_cv_header_$ac_safe=yes"
4622 echo "configure: failed program was:" >&5
4623 cat conftest.$ac_ext >&5
4625 eval "ac_cv_header_$ac_safe=no"
4629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4630 echo "$ac_t""yes" 1>&6
4631 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4632 cat >> confdefs.h <<EOF
4633 #define $ac_tr_hdr 1
4637 echo "$ac_t""no" 1>&6
4643 if test x"$ac_has_wchar_h" = xyes &&
4644 test x"$ac_has_wctype_h" = xyes &&
4645 test x"$enable_c_mbchar" != xno; then
4647 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4648 echo "configure:4649: checking for WCHAR_MIN and WCHAR_MAX" >&5
4649 cat > conftest.$ac_ext <<EOF
4650 #line 4651 "configure"
4651 #include "confdefs.h"
4654 int i = WCHAR_MIN; int j = WCHAR_MAX;
4657 if { (eval echo configure:4658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4659 has_wchar_minmax=yes
4661 echo "configure: failed program was:" >&5
4662 cat conftest.$ac_ext >&5
4667 echo "$ac_t""$has_wchar_minmax" 1>&6
4669 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4670 echo "configure:4671: checking for WEOF" >&5
4671 cat > conftest.$ac_ext <<EOF
4672 #line 4673 "configure"
4673 #include "confdefs.h"
4681 if { (eval echo configure:4682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4685 echo "configure: failed program was:" >&5
4686 cat conftest.$ac_ext >&5
4691 echo "$ac_t""$has_weof" 1>&6
4694 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4697 echo "configure:4698: checking for $ac_func" >&5
4698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4699 echo $ac_n "(cached) $ac_c" 1>&6
4701 cat > conftest.$ac_ext <<EOF
4702 #line 4703 "configure"
4703 #include "confdefs.h"
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char $ac_func(); below. */
4707 /* Override any gcc2 internal prototype to avoid an error. */
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
4714 /* The GNU C library defines this for functions which it implements
4715 to always fail with ENOSYS. Some functions are actually named
4716 something starting with __ and the normal name is an alias. */
4717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4725 if { (eval echo configure:4726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4727 eval "ac_cv_func_$ac_func=yes"
4729 echo "configure: failed program was:" >&5
4730 cat conftest.$ac_ext >&5
4732 eval "ac_cv_func_$ac_func=no"
4737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4738 echo "$ac_t""yes" 1>&6
4739 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4740 cat >> confdefs.h <<EOF
4741 #define $ac_tr_func 1
4745 echo "$ac_t""no" 1>&6
4752 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4753 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4754 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4755 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4756 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4757 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4760 echo "configure:4761: checking for $ac_func" >&5
4761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4762 echo $ac_n "(cached) $ac_c" 1>&6
4764 cat > conftest.$ac_ext <<EOF
4765 #line 4766 "configure"
4766 #include "confdefs.h"
4767 /* System header to define __stub macros and hopefully few prototypes,
4768 which can conflict with char $ac_func(); below. */
4770 /* Override any gcc2 internal prototype to avoid an error. */
4771 /* We use char because int might match the return type of a gcc2
4772 builtin and then its argument prototype would still apply. */
4777 /* The GNU C library defines this for functions which it implements
4778 to always fail with ENOSYS. Some functions are actually named
4779 something starting with __ and the normal name is an alias. */
4780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4788 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4790 eval "ac_cv_func_$ac_func=yes"
4792 echo "configure: failed program was:" >&5
4793 cat conftest.$ac_ext >&5
4795 eval "ac_cv_func_$ac_func=no"
4800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4801 echo "$ac_t""yes" 1>&6
4802 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4803 cat >> confdefs.h <<EOF
4804 #define $ac_tr_func 1
4808 echo "$ac_t""no" 1>&6
4815 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4816 echo "configure:4817: checking for ISO C99 wchar_t support" >&5
4817 if test x"$has_weof" = xyes &&
4818 test x"$has_wchar_minmax" = xyes &&
4819 test x"$ac_wfuncs" = xyes; then
4820 ac_isoC99_wchar_t=yes
4822 ac_isoC99_wchar_t=no
4824 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4826 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4827 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4828 echo "configure:4829: checking for iconv.h" >&5
4829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4830 echo $ac_n "(cached) $ac_c" 1>&6
4832 cat > conftest.$ac_ext <<EOF
4833 #line 4834 "configure"
4834 #include "confdefs.h"
4837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4838 { (eval echo configure:4839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4840 if test -z "$ac_err"; then
4842 eval "ac_cv_header_$ac_safe=yes"
4845 echo "configure: failed program was:" >&5
4846 cat conftest.$ac_ext >&5
4848 eval "ac_cv_header_$ac_safe=no"
4852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4853 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4860 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4861 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4862 echo "configure:4863: checking for langinfo.h" >&5
4863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4864 echo $ac_n "(cached) $ac_c" 1>&6
4866 cat > conftest.$ac_ext <<EOF
4867 #line 4868 "configure"
4868 #include "confdefs.h"
4869 #include <langinfo.h>
4871 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4872 { (eval echo configure:4873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4873 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4874 if test -z "$ac_err"; then
4876 eval "ac_cv_header_$ac_safe=yes"
4879 echo "configure: failed program was:" >&5
4880 cat conftest.$ac_ext >&5
4882 eval "ac_cv_header_$ac_safe=no"
4886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4887 echo "$ac_t""yes" 1>&6
4888 ac_has_langinfo_h=yes
4890 echo "$ac_t""no" 1>&6
4891 ac_has_langinfo_h=no
4895 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4896 echo "configure:4897: checking for iconv in -liconv" >&5
4897 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4899 echo $ac_n "(cached) $ac_c" 1>&6
4901 ac_save_LIBS="$LIBS"
4902 LIBS="-liconv $LIBS"
4903 cat > conftest.$ac_ext <<EOF
4904 #line 4905 "configure"
4905 #include "confdefs.h"
4906 /* Override any gcc2 internal prototype to avoid an error. */
4907 /* We use char because int might match the return type of a gcc2
4908 builtin and then its argument prototype would still apply. */
4915 if { (eval echo configure:4916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4917 eval "ac_cv_lib_$ac_lib_var=yes"
4919 echo "configure: failed program was:" >&5
4920 cat conftest.$ac_ext >&5
4922 eval "ac_cv_lib_$ac_lib_var=no"
4925 LIBS="$ac_save_LIBS"
4928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4929 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4935 ac_save_LIBS="$LIBS"
4936 LIBS="$LIBS $libiconv"
4938 for ac_func in iconv_open iconv_close iconv nl_langinfo
4940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4941 echo "configure:4942: checking for $ac_func" >&5
4942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4943 echo $ac_n "(cached) $ac_c" 1>&6
4945 cat > conftest.$ac_ext <<EOF
4946 #line 4947 "configure"
4947 #include "confdefs.h"
4948 /* System header to define __stub macros and hopefully few prototypes,
4949 which can conflict with char $ac_func(); below. */
4951 /* Override any gcc2 internal prototype to avoid an error. */
4952 /* We use char because int might match the return type of a gcc2
4953 builtin and then its argument prototype would still apply. */
4958 /* The GNU C library defines this for functions which it implements
4959 to always fail with ENOSYS. Some functions are actually named
4960 something starting with __ and the normal name is an alias. */
4961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4969 if { (eval echo configure:4970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4971 eval "ac_cv_func_$ac_func=yes"
4973 echo "configure: failed program was:" >&5
4974 cat conftest.$ac_ext >&5
4976 eval "ac_cv_func_$ac_func=no"
4981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4982 echo "$ac_t""yes" 1>&6
4983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4984 cat >> confdefs.h <<EOF
4985 #define $ac_tr_func 1
4990 echo "$ac_t""no" 1>&6
4996 LIBS="$ac_save_LIBS"
4998 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4999 echo "configure:5000: checking for XPG2 wchar_t support" >&5
5000 if test x"$ac_has_iconv_h" = xyes &&
5001 test x"$ac_has_langinfo_h" = xyes &&
5002 test x"$ac_XPG2funcs" = xyes; then
5007 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5009 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5010 echo "configure:5011: checking for enabled wchar_t specializations" >&5
5011 if test x"$ac_isoC99_wchar_t" = xyes &&
5012 test x"$ac_XPG2_wchar_t" = xyes; then
5013 cat >> confdefs.h <<\EOF
5014 #define _GLIBCPP_USE_WCHAR_T 1
5017 echo "$ac_t"""yes"" 1>&6
5019 echo "$ac_t"""no"" 1>&6
5022 echo "configure: warning: wchar_t support disabled." 1>&2
5025 cat >> confdefs.h <<\EOF
5026 #define HAVE_COPYSIGN 1
5029 cat >> confdefs.h <<\EOF
5030 #define HAVE_COPYSIGNF 1
5033 cat >> confdefs.h <<\EOF
5034 #define HAVE_FINITE 1
5037 cat >> confdefs.h <<\EOF
5038 #define HAVE_FINITEF 1
5041 cat >> confdefs.h <<\EOF
5042 #define HAVE_FREXPF 1
5045 cat >> confdefs.h <<\EOF
5046 #define HAVE_HYPOTF 1
5049 cat >> confdefs.h <<\EOF
5050 #define HAVE_ISINF 1
5053 cat >> confdefs.h <<\EOF
5054 #define HAVE_ISINFF 1
5057 cat >> confdefs.h <<\EOF
5058 #define HAVE_ISNAN 1
5061 cat >> confdefs.h <<\EOF
5062 #define HAVE_ISNANF 1
5065 cat >> confdefs.h <<\EOF
5066 #define HAVE_SINCOS 1
5069 cat >> confdefs.h <<\EOF
5070 #define HAVE_SINCOSF 1
5073 if test x"long_double_math_on_this_cpu" = x"yes"; then
5074 cat >> confdefs.h <<\EOF
5075 #define HAVE_FINITEL 1
5078 cat >> confdefs.h <<\EOF
5079 #define HAVE_HYPOTL 1
5082 cat >> confdefs.h <<\EOF
5083 #define HAVE_ISINFL 1
5086 cat >> confdefs.h <<\EOF
5087 #define HAVE_ISNANL 1
5093 # Check for available headers.
5094 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5095 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5096 fp.h locale.h float.h inttypes.h
5098 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5099 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5100 echo "configure:5101: checking for $ac_hdr" >&5
5101 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5102 echo $ac_n "(cached) $ac_c" 1>&6
5104 cat > conftest.$ac_ext <<EOF
5105 #line 5106 "configure"
5106 #include "confdefs.h"
5109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5110 { (eval echo configure:5111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5112 if test -z "$ac_err"; then
5114 eval "ac_cv_header_$ac_safe=yes"
5117 echo "configure: failed program was:" >&5
5118 cat conftest.$ac_ext >&5
5120 eval "ac_cv_header_$ac_safe=no"
5124 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5125 echo "$ac_t""yes" 1>&6
5126 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5127 cat >> confdefs.h <<EOF
5128 #define $ac_tr_hdr 1
5132 echo "$ac_t""no" 1>&6
5136 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5139 # If we're not using GNU ld, then there's no point in even trying these
5140 # tests. Check for that first. We should have already tested for gld
5141 # by now (in libtool), but require it now just to be safe...
5142 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5143 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5146 # The name set by libtool depends on the version of libtool. Shame on us
5147 # for depending on an impl detail, but c'est la vie. Older versions used
5148 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5149 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5150 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5151 # set (hence we're using an older libtool), then set it.
5152 if test x${with_gnu_ld+set} != xset; then
5153 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5154 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
5157 with_gnu_ld=$ac_cv_prog_gnu_ld
5161 # Start by getting the version number. I think the libtool test already
5162 # does some of this, but throws away the result.
5164 ldver=`$LD --version 2>/dev/null | head -1 | \
5165 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5167 glibcpp_gnu_ld_version=`echo $ldver | \
5168 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5170 # Set --gc-sections.
5171 if test "$with_gnu_ld" = "notbroken"; then
5172 # GNU ld it is! Joy and bunny rabbits!
5174 # All these tests are for C++; save the language and the compiler flags.
5175 # Need to do this so that g++ won't try to link in libstdc++
5176 ac_test_CFLAGS="${CFLAGS+set}"
5177 ac_save_CFLAGS="$CFLAGS"
5178 CFLAGS='-x c++ -Wl,--gc-sections'
5180 # Check for -Wl,--gc-sections
5181 # XXX This test is broken at the moment, as symbols required for
5182 # linking are now in libsupc++ (not built yet.....). In addition,
5183 # this test has cored on solaris in the past. In addition,
5184 # --gc-sections doesn't really work at the moment (keeps on discarding
5185 # used sections, first .eh_frame and now some of the glibc sections for
5186 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5187 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
5188 echo "configure:5189: checking for ld that supports -Wl,--gc-sections" >&5
5189 if test "$cross_compiling" = yes; then
5190 ac_sectionLDflags=yes
5192 cat > conftest.$ac_ext <<EOF
5193 #line 5194 "configure"
5194 #include "confdefs.h"
5204 if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5206 ac_sectionLDflags=yes
5208 echo "configure: failed program was:" >&5
5209 cat conftest.$ac_ext >&5
5211 ac_sectionLDflags=no
5216 if test "$ac_test_CFLAGS" = set; then
5217 CFLAGS="$ac_save_CFLAGS"
5219 # this is the suspicious part
5222 if test "$ac_sectionLDflags" = "yes"; then
5223 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5225 echo "$ac_t""$ac_sectionLDflags" 1>&6
5228 # Set linker optimization flags.
5229 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
5230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5237 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
5238 echo "configure:5239: checking for main in -lm" >&5
5239 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5241 echo $ac_n "(cached) $ac_c" 1>&6
5243 ac_save_LIBS="$LIBS"
5245 cat > conftest.$ac_ext <<EOF
5246 #line 5247 "configure"
5247 #include "confdefs.h"
5253 if { (eval echo configure:5254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5255 eval "ac_cv_lib_$ac_lib_var=yes"
5257 echo "configure: failed program was:" >&5
5258 cat conftest.$ac_ext >&5
5260 eval "ac_cv_lib_$ac_lib_var=no"
5263 LIBS="$ac_save_LIBS"
5266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5267 echo "$ac_t""yes" 1>&6
5268 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5269 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5270 cat >> confdefs.h <<EOF
5271 #define $ac_tr_lib 1
5277 echo "$ac_t""no" 1>&6
5280 for ac_func in nan copysignf
5282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5283 echo "configure:5284: checking for $ac_func" >&5
5284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5285 echo $ac_n "(cached) $ac_c" 1>&6
5287 cat > conftest.$ac_ext <<EOF
5288 #line 5289 "configure"
5289 #include "confdefs.h"
5290 /* System header to define __stub macros and hopefully few prototypes,
5291 which can conflict with char $ac_func(); below. */
5293 /* Override any gcc2 internal prototype to avoid an error. */
5294 /* We use char because int might match the return type of a gcc2
5295 builtin and then its argument prototype would still apply. */
5300 /* The GNU C library defines this for functions which it implements
5301 to always fail with ENOSYS. Some functions are actually named
5302 something starting with __ and the normal name is an alias. */
5303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5311 if { (eval echo configure:5312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5313 eval "ac_cv_func_$ac_func=yes"
5315 echo "configure: failed program was:" >&5
5316 cat conftest.$ac_ext >&5
5318 eval "ac_cv_func_$ac_func=no"
5323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5324 echo "$ac_t""yes" 1>&6
5325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5326 cat >> confdefs.h <<EOF
5327 #define $ac_tr_func 1
5331 echo "$ac_t""no" 1>&6
5332 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
5337 for ac_func in __signbit
5339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5340 echo "configure:5341: checking for $ac_func" >&5
5341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5342 echo $ac_n "(cached) $ac_c" 1>&6
5344 cat > conftest.$ac_ext <<EOF
5345 #line 5346 "configure"
5346 #include "confdefs.h"
5347 /* System header to define __stub macros and hopefully few prototypes,
5348 which can conflict with char $ac_func(); below. */
5350 /* Override any gcc2 internal prototype to avoid an error. */
5351 /* We use char because int might match the return type of a gcc2
5352 builtin and then its argument prototype would still apply. */
5357 /* The GNU C library defines this for functions which it implements
5358 to always fail with ENOSYS. Some functions are actually named
5359 something starting with __ and the normal name is an alias. */
5360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5368 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5370 eval "ac_cv_func_$ac_func=yes"
5372 echo "configure: failed program was:" >&5
5373 cat conftest.$ac_ext >&5
5375 eval "ac_cv_func_$ac_func=no"
5380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5381 echo "$ac_t""yes" 1>&6
5382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5383 cat >> confdefs.h <<EOF
5384 #define $ac_tr_func 1
5388 echo "$ac_t""no" 1>&6
5389 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
5393 for ac_func in __signbitf
5395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5396 echo "configure:5397: checking for $ac_func" >&5
5397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5398 echo $ac_n "(cached) $ac_c" 1>&6
5400 cat > conftest.$ac_ext <<EOF
5401 #line 5402 "configure"
5402 #include "confdefs.h"
5403 /* System header to define __stub macros and hopefully few prototypes,
5404 which can conflict with char $ac_func(); below. */
5406 /* Override any gcc2 internal prototype to avoid an error. */
5407 /* We use char because int might match the return type of a gcc2
5408 builtin and then its argument prototype would still apply. */
5413 /* The GNU C library defines this for functions which it implements
5414 to always fail with ENOSYS. Some functions are actually named
5415 something starting with __ and the normal name is an alias. */
5416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5424 if { (eval echo configure:5425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5426 eval "ac_cv_func_$ac_func=yes"
5428 echo "configure: failed program was:" >&5
5429 cat conftest.$ac_ext >&5
5431 eval "ac_cv_func_$ac_func=no"
5436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5437 echo "$ac_t""yes" 1>&6
5438 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5439 cat >> confdefs.h <<EOF
5440 #define $ac_tr_func 1
5444 echo "$ac_t""no" 1>&6
5445 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
5450 if test x$ac_cv_func_copysignl = x"yes"; then
5451 for ac_func in __signbitl
5453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5454 echo "configure:5455: checking for $ac_func" >&5
5455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5456 echo $ac_n "(cached) $ac_c" 1>&6
5458 cat > conftest.$ac_ext <<EOF
5459 #line 5460 "configure"
5460 #include "confdefs.h"
5461 /* System header to define __stub macros and hopefully few prototypes,
5462 which can conflict with char $ac_func(); below. */
5464 /* Override any gcc2 internal prototype to avoid an error. */
5465 /* We use char because int might match the return type of a gcc2
5466 builtin and then its argument prototype would still apply. */
5471 /* The GNU C library defines this for functions which it implements
5472 to always fail with ENOSYS. Some functions are actually named
5473 something starting with __ and the normal name is an alias. */
5474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5482 if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5484 eval "ac_cv_func_$ac_func=yes"
5486 echo "configure: failed program was:" >&5
5487 cat conftest.$ac_ext >&5
5489 eval "ac_cv_func_$ac_func=no"
5494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5495 echo "$ac_t""yes" 1>&6
5496 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5497 cat >> confdefs.h <<EOF
5498 #define $ac_tr_func 1
5502 echo "$ac_t""no" 1>&6
5503 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
5513 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
5514 echo "configure:5515: checking for mbstate_t" >&5
5515 cat > conftest.$ac_ext <<EOF
5516 #line 5517 "configure"
5517 #include "confdefs.h"
5520 mbstate_t teststate;
5523 if { (eval echo configure:5524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5527 echo "configure: failed program was:" >&5
5528 cat conftest.$ac_ext >&5
5533 echo "$ac_t""$have_mbstate_t" 1>&6
5534 if test x"$have_mbstate_t" = xyes; then
5535 cat >> confdefs.h <<\EOF
5536 #define HAVE_MBSTATE_T 1
5541 for ac_hdr in wchar.h
5543 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5544 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5545 echo "configure:5546: checking for $ac_hdr" >&5
5546 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5547 echo $ac_n "(cached) $ac_c" 1>&6
5549 cat > conftest.$ac_ext <<EOF
5550 #line 5551 "configure"
5551 #include "confdefs.h"
5554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5555 { (eval echo configure:5556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5557 if test -z "$ac_err"; then
5559 eval "ac_cv_header_$ac_safe=yes"
5562 echo "configure: failed program was:" >&5
5563 cat conftest.$ac_ext >&5
5565 eval "ac_cv_header_$ac_safe=no"
5569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5570 echo "$ac_t""yes" 1>&6
5571 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5572 cat >> confdefs.h <<EOF
5573 #define $ac_tr_hdr 1
5577 echo "$ac_t""no" 1>&6
5582 for ac_hdr in wctype.h
5584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5586 echo "configure:5587: checking for $ac_hdr" >&5
5587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5588 echo $ac_n "(cached) $ac_c" 1>&6
5590 cat > conftest.$ac_ext <<EOF
5591 #line 5592 "configure"
5592 #include "confdefs.h"
5595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5596 { (eval echo configure:5597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5598 if test -z "$ac_err"; then
5600 eval "ac_cv_header_$ac_safe=yes"
5603 echo "configure: failed program was:" >&5
5604 cat conftest.$ac_ext >&5
5606 eval "ac_cv_header_$ac_safe=no"
5610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5611 echo "$ac_t""yes" 1>&6
5612 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5613 cat >> confdefs.h <<EOF
5614 #define $ac_tr_hdr 1
5618 echo "$ac_t""no" 1>&6
5624 if test x"$ac_has_wchar_h" = xyes &&
5625 test x"$ac_has_wctype_h" = xyes &&
5626 test x"$enable_c_mbchar" != xno; then
5628 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
5629 echo "configure:5630: checking for WCHAR_MIN and WCHAR_MAX" >&5
5630 cat > conftest.$ac_ext <<EOF
5631 #line 5632 "configure"
5632 #include "confdefs.h"
5635 int i = WCHAR_MIN; int j = WCHAR_MAX;
5638 if { (eval echo configure:5639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5640 has_wchar_minmax=yes
5642 echo "configure: failed program was:" >&5
5643 cat conftest.$ac_ext >&5
5648 echo "$ac_t""$has_wchar_minmax" 1>&6
5650 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
5651 echo "configure:5652: checking for WEOF" >&5
5652 cat > conftest.$ac_ext <<EOF
5653 #line 5654 "configure"
5654 #include "confdefs.h"
5662 if { (eval echo configure:5663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5666 echo "configure: failed program was:" >&5
5667 cat conftest.$ac_ext >&5
5672 echo "$ac_t""$has_weof" 1>&6
5675 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5678 echo "configure:5679: checking for $ac_func" >&5
5679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5680 echo $ac_n "(cached) $ac_c" 1>&6
5682 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure"
5684 #include "confdefs.h"
5685 /* System header to define __stub macros and hopefully few prototypes,
5686 which can conflict with char $ac_func(); below. */
5688 /* Override any gcc2 internal prototype to avoid an error. */
5689 /* We use char because int might match the return type of a gcc2
5690 builtin and then its argument prototype would still apply. */
5695 /* The GNU C library defines this for functions which it implements
5696 to always fail with ENOSYS. Some functions are actually named
5697 something starting with __ and the normal name is an alias. */
5698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5706 if { (eval echo configure:5707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5708 eval "ac_cv_func_$ac_func=yes"
5710 echo "configure: failed program was:" >&5
5711 cat conftest.$ac_ext >&5
5713 eval "ac_cv_func_$ac_func=no"
5718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5719 echo "$ac_t""yes" 1>&6
5720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5721 cat >> confdefs.h <<EOF
5722 #define $ac_tr_func 1
5726 echo "$ac_t""no" 1>&6
5733 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5734 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5735 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5736 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5737 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5738 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5740 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5741 echo "configure:5742: checking for $ac_func" >&5
5742 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5743 echo $ac_n "(cached) $ac_c" 1>&6
5745 cat > conftest.$ac_ext <<EOF
5746 #line 5747 "configure"
5747 #include "confdefs.h"
5748 /* System header to define __stub macros and hopefully few prototypes,
5749 which can conflict with char $ac_func(); below. */
5751 /* Override any gcc2 internal prototype to avoid an error. */
5752 /* We use char because int might match the return type of a gcc2
5753 builtin and then its argument prototype would still apply. */
5758 /* The GNU C library defines this for functions which it implements
5759 to always fail with ENOSYS. Some functions are actually named
5760 something starting with __ and the normal name is an alias. */
5761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5769 if { (eval echo configure:5770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5771 eval "ac_cv_func_$ac_func=yes"
5773 echo "configure: failed program was:" >&5
5774 cat conftest.$ac_ext >&5
5776 eval "ac_cv_func_$ac_func=no"
5781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5782 echo "$ac_t""yes" 1>&6
5783 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5784 cat >> confdefs.h <<EOF
5785 #define $ac_tr_func 1
5789 echo "$ac_t""no" 1>&6
5796 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
5797 echo "configure:5798: checking for ISO C99 wchar_t support" >&5
5798 if test x"$has_weof" = xyes &&
5799 test x"$has_wchar_minmax" = xyes &&
5800 test x"$ac_wfuncs" = xyes; then
5801 ac_isoC99_wchar_t=yes
5803 ac_isoC99_wchar_t=no
5805 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5807 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
5808 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
5809 echo "configure:5810: checking for iconv.h" >&5
5810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5811 echo $ac_n "(cached) $ac_c" 1>&6
5813 cat > conftest.$ac_ext <<EOF
5814 #line 5815 "configure"
5815 #include "confdefs.h"
5818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5819 { (eval echo configure:5820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5821 if test -z "$ac_err"; then
5823 eval "ac_cv_header_$ac_safe=yes"
5826 echo "configure: failed program was:" >&5
5827 cat conftest.$ac_ext >&5
5829 eval "ac_cv_header_$ac_safe=no"
5833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5834 echo "$ac_t""yes" 1>&6
5837 echo "$ac_t""no" 1>&6
5841 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
5842 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
5843 echo "configure:5844: checking for langinfo.h" >&5
5844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5845 echo $ac_n "(cached) $ac_c" 1>&6
5847 cat > conftest.$ac_ext <<EOF
5848 #line 5849 "configure"
5849 #include "confdefs.h"
5850 #include <langinfo.h>
5852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5853 { (eval echo configure:5854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5855 if test -z "$ac_err"; then
5857 eval "ac_cv_header_$ac_safe=yes"
5860 echo "configure: failed program was:" >&5
5861 cat conftest.$ac_ext >&5
5863 eval "ac_cv_header_$ac_safe=no"
5867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5868 echo "$ac_t""yes" 1>&6
5869 ac_has_langinfo_h=yes
5871 echo "$ac_t""no" 1>&6
5872 ac_has_langinfo_h=no
5876 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
5877 echo "configure:5878: checking for iconv in -liconv" >&5
5878 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5880 echo $ac_n "(cached) $ac_c" 1>&6
5882 ac_save_LIBS="$LIBS"
5883 LIBS="-liconv $LIBS"
5884 cat > conftest.$ac_ext <<EOF
5885 #line 5886 "configure"
5886 #include "confdefs.h"
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 /* We use char because int might match the return type of a gcc2
5889 builtin and then its argument prototype would still apply. */
5896 if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5898 eval "ac_cv_lib_$ac_lib_var=yes"
5900 echo "configure: failed program was:" >&5
5901 cat conftest.$ac_ext >&5
5903 eval "ac_cv_lib_$ac_lib_var=no"
5906 LIBS="$ac_save_LIBS"
5909 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5910 echo "$ac_t""yes" 1>&6
5913 echo "$ac_t""no" 1>&6
5916 ac_save_LIBS="$LIBS"
5917 LIBS="$LIBS $libiconv"
5919 for ac_func in iconv_open iconv_close iconv nl_langinfo
5921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5922 echo "configure:5923: checking for $ac_func" >&5
5923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6
5926 cat > conftest.$ac_ext <<EOF
5927 #line 5928 "configure"
5928 #include "confdefs.h"
5929 /* System header to define __stub macros and hopefully few prototypes,
5930 which can conflict with char $ac_func(); below. */
5932 /* Override any gcc2 internal prototype to avoid an error. */
5933 /* We use char because int might match the return type of a gcc2
5934 builtin and then its argument prototype would still apply. */
5939 /* The GNU C library defines this for functions which it implements
5940 to always fail with ENOSYS. Some functions are actually named
5941 something starting with __ and the normal name is an alias. */
5942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5950 if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5952 eval "ac_cv_func_$ac_func=yes"
5954 echo "configure: failed program was:" >&5
5955 cat conftest.$ac_ext >&5
5957 eval "ac_cv_func_$ac_func=no"
5962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5963 echo "$ac_t""yes" 1>&6
5964 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5965 cat >> confdefs.h <<EOF
5966 #define $ac_tr_func 1
5971 echo "$ac_t""no" 1>&6
5977 LIBS="$ac_save_LIBS"
5979 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
5980 echo "configure:5981: checking for XPG2 wchar_t support" >&5
5981 if test x"$ac_has_iconv_h" = xyes &&
5982 test x"$ac_has_langinfo_h" = xyes &&
5983 test x"$ac_XPG2funcs" = xyes; then
5988 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5990 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
5991 echo "configure:5992: checking for enabled wchar_t specializations" >&5
5992 if test x"$ac_isoC99_wchar_t" = xyes &&
5993 test x"$ac_XPG2_wchar_t" = xyes; then
5994 cat >> confdefs.h <<\EOF
5995 #define _GLIBCPP_USE_WCHAR_T 1
5998 echo "$ac_t"""yes"" 1>&6
6000 echo "$ac_t"""no"" 1>&6
6003 echo "configure: warning: wchar_t support disabled." 1>&2
6006 os_include_dir="os/hpux"
6007 cat >> confdefs.h <<\EOF
6008 #define HAVE_COPYSIGN 1
6011 cat >> confdefs.h <<\EOF
6012 #define HAVE_COPYSIGNF 1
6015 cat >> confdefs.h <<\EOF
6016 #define HAVE_FREXPF 1
6019 cat >> confdefs.h <<\EOF
6020 #define HAVE_HYPOT 1
6025 cat >> confdefs.h <<\EOF
6026 #define HAVE_FINITE 1
6029 cat >> confdefs.h <<\EOF
6030 #define HAVE_FINITEF 1
6033 cat >> confdefs.h <<\EOF
6034 #define HAVE_ISINF 1
6037 cat >> confdefs.h <<\EOF
6038 #define HAVE_ISINFF 1
6041 cat >> confdefs.h <<\EOF
6042 #define HAVE_ISNAN 1
6045 cat >> confdefs.h <<\EOF
6046 #define HAVE_ISNANF 1
6054 # Check for available headers.
6055 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6056 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6057 fp.h locale.h float.h inttypes.h
6059 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6060 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6061 echo "configure:6062: checking for $ac_hdr" >&5
6062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6063 echo $ac_n "(cached) $ac_c" 1>&6
6065 cat > conftest.$ac_ext <<EOF
6066 #line 6067 "configure"
6067 #include "confdefs.h"
6070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6071 { (eval echo configure:6072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6073 if test -z "$ac_err"; then
6075 eval "ac_cv_header_$ac_safe=yes"
6078 echo "configure: failed program was:" >&5
6079 cat conftest.$ac_ext >&5
6081 eval "ac_cv_header_$ac_safe=no"
6085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6086 echo "$ac_t""yes" 1>&6
6087 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6088 cat >> confdefs.h <<EOF
6089 #define $ac_tr_hdr 1
6093 echo "$ac_t""no" 1>&6
6097 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6100 # If we're not using GNU ld, then there's no point in even trying these
6101 # tests. Check for that first. We should have already tested for gld
6102 # by now (in libtool), but require it now just to be safe...
6103 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6104 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6107 # The name set by libtool depends on the version of libtool. Shame on us
6108 # for depending on an impl detail, but c'est la vie. Older versions used
6109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6112 # set (hence we're using an older libtool), then set it.
6113 if test x${with_gnu_ld+set} != xset; then
6114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6115 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
6118 with_gnu_ld=$ac_cv_prog_gnu_ld
6122 # Start by getting the version number. I think the libtool test already
6123 # does some of this, but throws away the result.
6125 ldver=`$LD --version 2>/dev/null | head -1 | \
6126 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6128 glibcpp_gnu_ld_version=`echo $ldver | \
6129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6131 # Set --gc-sections.
6132 if test "$with_gnu_ld" = "notbroken"; then
6133 # GNU ld it is! Joy and bunny rabbits!
6135 # All these tests are for C++; save the language and the compiler flags.
6136 # Need to do this so that g++ won't try to link in libstdc++
6137 ac_test_CFLAGS="${CFLAGS+set}"
6138 ac_save_CFLAGS="$CFLAGS"
6139 CFLAGS='-x c++ -Wl,--gc-sections'
6141 # Check for -Wl,--gc-sections
6142 # XXX This test is broken at the moment, as symbols required for
6143 # linking are now in libsupc++ (not built yet.....). In addition,
6144 # this test has cored on solaris in the past. In addition,
6145 # --gc-sections doesn't really work at the moment (keeps on discarding
6146 # used sections, first .eh_frame and now some of the glibc sections for
6147 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6148 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
6149 echo "configure:6150: checking for ld that supports -Wl,--gc-sections" >&5
6150 if test "$cross_compiling" = yes; then
6151 ac_sectionLDflags=yes
6153 cat > conftest.$ac_ext <<EOF
6154 #line 6155 "configure"
6155 #include "confdefs.h"
6165 if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6167 ac_sectionLDflags=yes
6169 echo "configure: failed program was:" >&5
6170 cat conftest.$ac_ext >&5
6172 ac_sectionLDflags=no
6177 if test "$ac_test_CFLAGS" = set; then
6178 CFLAGS="$ac_save_CFLAGS"
6180 # this is the suspicious part
6183 if test "$ac_sectionLDflags" = "yes"; then
6184 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6186 echo "$ac_t""$ac_sectionLDflags" 1>&6
6189 # Set linker optimization flags.
6190 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
6191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6198 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6199 echo "configure:6200: checking for main in -lm" >&5
6200 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6202 echo $ac_n "(cached) $ac_c" 1>&6
6204 ac_save_LIBS="$LIBS"
6206 cat > conftest.$ac_ext <<EOF
6207 #line 6208 "configure"
6208 #include "confdefs.h"
6214 if { (eval echo configure:6215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6216 eval "ac_cv_lib_$ac_lib_var=yes"
6218 echo "configure: failed program was:" >&5
6219 cat conftest.$ac_ext >&5
6221 eval "ac_cv_lib_$ac_lib_var=no"
6224 LIBS="$ac_save_LIBS"
6227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6228 echo "$ac_t""yes" 1>&6
6229 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6230 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6231 cat >> confdefs.h <<EOF
6232 #define $ac_tr_lib 1
6238 echo "$ac_t""no" 1>&6
6241 for ac_func in nan copysignf
6243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6244 echo "configure:6245: checking for $ac_func" >&5
6245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6246 echo $ac_n "(cached) $ac_c" 1>&6
6248 cat > conftest.$ac_ext <<EOF
6249 #line 6250 "configure"
6250 #include "confdefs.h"
6251 /* System header to define __stub macros and hopefully few prototypes,
6252 which can conflict with char $ac_func(); below. */
6254 /* Override any gcc2 internal prototype to avoid an error. */
6255 /* We use char because int might match the return type of a gcc2
6256 builtin and then its argument prototype would still apply. */
6261 /* The GNU C library defines this for functions which it implements
6262 to always fail with ENOSYS. Some functions are actually named
6263 something starting with __ and the normal name is an alias. */
6264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6272 if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6274 eval "ac_cv_func_$ac_func=yes"
6276 echo "configure: failed program was:" >&5
6277 cat conftest.$ac_ext >&5
6279 eval "ac_cv_func_$ac_func=no"
6284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6285 echo "$ac_t""yes" 1>&6
6286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6287 cat >> confdefs.h <<EOF
6288 #define $ac_tr_func 1
6292 echo "$ac_t""no" 1>&6
6293 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
6298 for ac_func in __signbit
6300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6301 echo "configure:6302: checking for $ac_func" >&5
6302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6303 echo $ac_n "(cached) $ac_c" 1>&6
6305 cat > conftest.$ac_ext <<EOF
6306 #line 6307 "configure"
6307 #include "confdefs.h"
6308 /* System header to define __stub macros and hopefully few prototypes,
6309 which can conflict with char $ac_func(); below. */
6311 /* Override any gcc2 internal prototype to avoid an error. */
6312 /* We use char because int might match the return type of a gcc2
6313 builtin and then its argument prototype would still apply. */
6318 /* The GNU C library defines this for functions which it implements
6319 to always fail with ENOSYS. Some functions are actually named
6320 something starting with __ and the normal name is an alias. */
6321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6329 if { (eval echo configure:6330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6331 eval "ac_cv_func_$ac_func=yes"
6333 echo "configure: failed program was:" >&5
6334 cat conftest.$ac_ext >&5
6336 eval "ac_cv_func_$ac_func=no"
6341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6342 echo "$ac_t""yes" 1>&6
6343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6344 cat >> confdefs.h <<EOF
6345 #define $ac_tr_func 1
6349 echo "$ac_t""no" 1>&6
6350 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
6354 for ac_func in __signbitf
6356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6357 echo "configure:6358: checking for $ac_func" >&5
6358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6359 echo $ac_n "(cached) $ac_c" 1>&6
6361 cat > conftest.$ac_ext <<EOF
6362 #line 6363 "configure"
6363 #include "confdefs.h"
6364 /* System header to define __stub macros and hopefully few prototypes,
6365 which can conflict with char $ac_func(); below. */
6367 /* Override any gcc2 internal prototype to avoid an error. */
6368 /* We use char because int might match the return type of a gcc2
6369 builtin and then its argument prototype would still apply. */
6374 /* The GNU C library defines this for functions which it implements
6375 to always fail with ENOSYS. Some functions are actually named
6376 something starting with __ and the normal name is an alias. */
6377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6387 eval "ac_cv_func_$ac_func=yes"
6389 echo "configure: failed program was:" >&5
6390 cat conftest.$ac_ext >&5
6392 eval "ac_cv_func_$ac_func=no"
6397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6398 echo "$ac_t""yes" 1>&6
6399 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6400 cat >> confdefs.h <<EOF
6401 #define $ac_tr_func 1
6405 echo "$ac_t""no" 1>&6
6406 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
6411 if test x$ac_cv_func_copysignl = x"yes"; then
6412 for ac_func in __signbitl
6414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6415 echo "configure:6416: checking for $ac_func" >&5
6416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6417 echo $ac_n "(cached) $ac_c" 1>&6
6419 cat > conftest.$ac_ext <<EOF
6420 #line 6421 "configure"
6421 #include "confdefs.h"
6422 /* System header to define __stub macros and hopefully few prototypes,
6423 which can conflict with char $ac_func(); below. */
6425 /* Override any gcc2 internal prototype to avoid an error. */
6426 /* We use char because int might match the return type of a gcc2
6427 builtin and then its argument prototype would still apply. */
6432 /* The GNU C library defines this for functions which it implements
6433 to always fail with ENOSYS. Some functions are actually named
6434 something starting with __ and the normal name is an alias. */
6435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6443 if { (eval echo configure:6444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445 eval "ac_cv_func_$ac_func=yes"
6447 echo "configure: failed program was:" >&5
6448 cat conftest.$ac_ext >&5
6450 eval "ac_cv_func_$ac_func=no"
6455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6456 echo "$ac_t""yes" 1>&6
6457 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6458 cat >> confdefs.h <<EOF
6459 #define $ac_tr_func 1
6463 echo "$ac_t""no" 1>&6
6464 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
6474 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
6475 echo "configure:6476: checking for mbstate_t" >&5
6476 cat > conftest.$ac_ext <<EOF
6477 #line 6478 "configure"
6478 #include "confdefs.h"
6481 mbstate_t teststate;
6484 if { (eval echo configure:6485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6488 echo "configure: failed program was:" >&5
6489 cat conftest.$ac_ext >&5
6494 echo "$ac_t""$have_mbstate_t" 1>&6
6495 if test x"$have_mbstate_t" = xyes; then
6496 cat >> confdefs.h <<\EOF
6497 #define HAVE_MBSTATE_T 1
6502 for ac_hdr in wchar.h
6504 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6505 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6506 echo "configure:6507: checking for $ac_hdr" >&5
6507 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6508 echo $ac_n "(cached) $ac_c" 1>&6
6510 cat > conftest.$ac_ext <<EOF
6511 #line 6512 "configure"
6512 #include "confdefs.h"
6515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6516 { (eval echo configure:6517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6518 if test -z "$ac_err"; then
6520 eval "ac_cv_header_$ac_safe=yes"
6523 echo "configure: failed program was:" >&5
6524 cat conftest.$ac_ext >&5
6526 eval "ac_cv_header_$ac_safe=no"
6530 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6531 echo "$ac_t""yes" 1>&6
6532 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6533 cat >> confdefs.h <<EOF
6534 #define $ac_tr_hdr 1
6538 echo "$ac_t""no" 1>&6
6543 for ac_hdr in wctype.h
6545 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6547 echo "configure:6548: checking for $ac_hdr" >&5
6548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6549 echo $ac_n "(cached) $ac_c" 1>&6
6551 cat > conftest.$ac_ext <<EOF
6552 #line 6553 "configure"
6553 #include "confdefs.h"
6556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6557 { (eval echo configure:6558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6559 if test -z "$ac_err"; then
6561 eval "ac_cv_header_$ac_safe=yes"
6564 echo "configure: failed program was:" >&5
6565 cat conftest.$ac_ext >&5
6567 eval "ac_cv_header_$ac_safe=no"
6571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6572 echo "$ac_t""yes" 1>&6
6573 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6574 cat >> confdefs.h <<EOF
6575 #define $ac_tr_hdr 1
6579 echo "$ac_t""no" 1>&6
6585 if test x"$ac_has_wchar_h" = xyes &&
6586 test x"$ac_has_wctype_h" = xyes &&
6587 test x"$enable_c_mbchar" != xno; then
6589 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
6590 echo "configure:6591: checking for WCHAR_MIN and WCHAR_MAX" >&5
6591 cat > conftest.$ac_ext <<EOF
6592 #line 6593 "configure"
6593 #include "confdefs.h"
6596 int i = WCHAR_MIN; int j = WCHAR_MAX;
6599 if { (eval echo configure:6600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6601 has_wchar_minmax=yes
6603 echo "configure: failed program was:" >&5
6604 cat conftest.$ac_ext >&5
6609 echo "$ac_t""$has_wchar_minmax" 1>&6
6611 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
6612 echo "configure:6613: checking for WEOF" >&5
6613 cat > conftest.$ac_ext <<EOF
6614 #line 6615 "configure"
6615 #include "confdefs.h"
6623 if { (eval echo configure:6624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6627 echo "configure: failed program was:" >&5
6628 cat conftest.$ac_ext >&5
6633 echo "$ac_t""$has_weof" 1>&6
6636 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6639 echo "configure:6640: checking for $ac_func" >&5
6640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6641 echo $ac_n "(cached) $ac_c" 1>&6
6643 cat > conftest.$ac_ext <<EOF
6644 #line 6645 "configure"
6645 #include "confdefs.h"
6646 /* System header to define __stub macros and hopefully few prototypes,
6647 which can conflict with char $ac_func(); below. */
6649 /* Override any gcc2 internal prototype to avoid an error. */
6650 /* We use char because int might match the return type of a gcc2
6651 builtin and then its argument prototype would still apply. */
6656 /* The GNU C library defines this for functions which it implements
6657 to always fail with ENOSYS. Some functions are actually named
6658 something starting with __ and the normal name is an alias. */
6659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6667 if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6669 eval "ac_cv_func_$ac_func=yes"
6671 echo "configure: failed program was:" >&5
6672 cat conftest.$ac_ext >&5
6674 eval "ac_cv_func_$ac_func=no"
6679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6680 echo "$ac_t""yes" 1>&6
6681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6682 cat >> confdefs.h <<EOF
6683 #define $ac_tr_func 1
6687 echo "$ac_t""no" 1>&6
6694 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6695 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6696 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6697 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6698 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6699 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6702 echo "configure:6703: checking for $ac_func" >&5
6703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6704 echo $ac_n "(cached) $ac_c" 1>&6
6706 cat > conftest.$ac_ext <<EOF
6707 #line 6708 "configure"
6708 #include "confdefs.h"
6709 /* System header to define __stub macros and hopefully few prototypes,
6710 which can conflict with char $ac_func(); below. */
6712 /* Override any gcc2 internal prototype to avoid an error. */
6713 /* We use char because int might match the return type of a gcc2
6714 builtin and then its argument prototype would still apply. */
6719 /* The GNU C library defines this for functions which it implements
6720 to always fail with ENOSYS. Some functions are actually named
6721 something starting with __ and the normal name is an alias. */
6722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6730 if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6732 eval "ac_cv_func_$ac_func=yes"
6734 echo "configure: failed program was:" >&5
6735 cat conftest.$ac_ext >&5
6737 eval "ac_cv_func_$ac_func=no"
6742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6743 echo "$ac_t""yes" 1>&6
6744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6745 cat >> confdefs.h <<EOF
6746 #define $ac_tr_func 1
6750 echo "$ac_t""no" 1>&6
6757 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
6758 echo "configure:6759: checking for ISO C99 wchar_t support" >&5
6759 if test x"$has_weof" = xyes &&
6760 test x"$has_wchar_minmax" = xyes &&
6761 test x"$ac_wfuncs" = xyes; then
6762 ac_isoC99_wchar_t=yes
6764 ac_isoC99_wchar_t=no
6766 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6768 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
6769 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
6770 echo "configure:6771: checking for iconv.h" >&5
6771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6772 echo $ac_n "(cached) $ac_c" 1>&6
6774 cat > conftest.$ac_ext <<EOF
6775 #line 6776 "configure"
6776 #include "confdefs.h"
6779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6780 { (eval echo configure:6781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6782 if test -z "$ac_err"; then
6784 eval "ac_cv_header_$ac_safe=yes"
6787 echo "configure: failed program was:" >&5
6788 cat conftest.$ac_ext >&5
6790 eval "ac_cv_header_$ac_safe=no"
6794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6795 echo "$ac_t""yes" 1>&6
6798 echo "$ac_t""no" 1>&6
6802 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
6803 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
6804 echo "configure:6805: checking for langinfo.h" >&5
6805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6806 echo $ac_n "(cached) $ac_c" 1>&6
6808 cat > conftest.$ac_ext <<EOF
6809 #line 6810 "configure"
6810 #include "confdefs.h"
6811 #include <langinfo.h>
6813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6814 { (eval echo configure:6815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6816 if test -z "$ac_err"; then
6818 eval "ac_cv_header_$ac_safe=yes"
6821 echo "configure: failed program was:" >&5
6822 cat conftest.$ac_ext >&5
6824 eval "ac_cv_header_$ac_safe=no"
6828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6829 echo "$ac_t""yes" 1>&6
6830 ac_has_langinfo_h=yes
6832 echo "$ac_t""no" 1>&6
6833 ac_has_langinfo_h=no
6837 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
6838 echo "configure:6839: checking for iconv in -liconv" >&5
6839 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6841 echo $ac_n "(cached) $ac_c" 1>&6
6843 ac_save_LIBS="$LIBS"
6844 LIBS="-liconv $LIBS"
6845 cat > conftest.$ac_ext <<EOF
6846 #line 6847 "configure"
6847 #include "confdefs.h"
6848 /* Override any gcc2 internal prototype to avoid an error. */
6849 /* We use char because int might match the return type of a gcc2
6850 builtin and then its argument prototype would still apply. */
6857 if { (eval echo configure:6858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6859 eval "ac_cv_lib_$ac_lib_var=yes"
6861 echo "configure: failed program was:" >&5
6862 cat conftest.$ac_ext >&5
6864 eval "ac_cv_lib_$ac_lib_var=no"
6867 LIBS="$ac_save_LIBS"
6870 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6871 echo "$ac_t""yes" 1>&6
6874 echo "$ac_t""no" 1>&6
6877 ac_save_LIBS="$LIBS"
6878 LIBS="$LIBS $libiconv"
6880 for ac_func in iconv_open iconv_close iconv nl_langinfo
6882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6883 echo "configure:6884: checking for $ac_func" >&5
6884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6885 echo $ac_n "(cached) $ac_c" 1>&6
6887 cat > conftest.$ac_ext <<EOF
6888 #line 6889 "configure"
6889 #include "confdefs.h"
6890 /* System header to define __stub macros and hopefully few prototypes,
6891 which can conflict with char $ac_func(); below. */
6893 /* Override any gcc2 internal prototype to avoid an error. */
6894 /* We use char because int might match the return type of a gcc2
6895 builtin and then its argument prototype would still apply. */
6900 /* The GNU C library defines this for functions which it implements
6901 to always fail with ENOSYS. Some functions are actually named
6902 something starting with __ and the normal name is an alias. */
6903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6911 if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6913 eval "ac_cv_func_$ac_func=yes"
6915 echo "configure: failed program was:" >&5
6916 cat conftest.$ac_ext >&5
6918 eval "ac_cv_func_$ac_func=no"
6923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6924 echo "$ac_t""yes" 1>&6
6925 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6926 cat >> confdefs.h <<EOF
6927 #define $ac_tr_func 1
6932 echo "$ac_t""no" 1>&6
6938 LIBS="$ac_save_LIBS"
6940 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
6941 echo "configure:6942: checking for XPG2 wchar_t support" >&5
6942 if test x"$ac_has_iconv_h" = xyes &&
6943 test x"$ac_has_langinfo_h" = xyes &&
6944 test x"$ac_XPG2funcs" = xyes; then
6949 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6951 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
6952 echo "configure:6953: checking for enabled wchar_t specializations" >&5
6953 if test x"$ac_isoC99_wchar_t" = xyes &&
6954 test x"$ac_XPG2_wchar_t" = xyes; then
6955 cat >> confdefs.h <<\EOF
6956 #define _GLIBCPP_USE_WCHAR_T 1
6959 echo "$ac_t"""yes"" 1>&6
6961 echo "$ac_t"""no"" 1>&6
6964 echo "configure: warning: wchar_t support disabled." 1>&2
6967 os_include_dir="os/bsd/netbsd"
6968 cat >> confdefs.h <<\EOF
6969 #define HAVE_COPYSIGN 1
6972 cat >> confdefs.h <<\EOF
6973 #define HAVE_COPYSIGNF 1
6976 cat >> confdefs.h <<\EOF
6977 #define HAVE_FINITEF 1
6980 cat >> confdefs.h <<\EOF
6981 #define HAVE_FINITE 1
6984 cat >> confdefs.h <<\EOF
6985 #define HAVE_FREXPF 1
6988 cat >> confdefs.h <<\EOF
6989 #define HAVE_HYPOTF 1
6992 cat >> confdefs.h <<\EOF
6993 #define HAVE_ISINF 1
6996 cat >> confdefs.h <<\EOF
6997 #define HAVE_ISINFF 1
7000 cat >> confdefs.h <<\EOF
7001 #define HAVE_ISNAN 1
7004 cat >> confdefs.h <<\EOF
7005 #define HAVE_ISNANF 1
7008 if test x"long_double_math_on_this_cpu" = x"yes"; then
7009 cat >> confdefs.h <<\EOF
7010 #define HAVE_FINITEL 1
7013 cat >> confdefs.h <<\EOF
7014 #define HAVE_ISINFL 1
7017 cat >> confdefs.h <<\EOF
7018 #define HAVE_ISNANL 1
7024 # Check for available headers.
7025 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7026 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7027 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7030 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7032 echo "configure:7033: checking for $ac_hdr" >&5
7033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7034 echo $ac_n "(cached) $ac_c" 1>&6
7036 cat > conftest.$ac_ext <<EOF
7037 #line 7038 "configure"
7038 #include "confdefs.h"
7041 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7042 { (eval echo configure:7043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7043 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7044 if test -z "$ac_err"; then
7046 eval "ac_cv_header_$ac_safe=yes"
7049 echo "configure: failed program was:" >&5
7050 cat conftest.$ac_ext >&5
7052 eval "ac_cv_header_$ac_safe=no"
7056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7057 echo "$ac_t""yes" 1>&6
7058 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7059 cat >> confdefs.h <<EOF
7060 #define $ac_tr_hdr 1
7064 echo "$ac_t""no" 1>&6
7068 SECTION_FLAGS='-ffunction-sections -fdata-sections'
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/bsd/freebsd"
7939 cat >> confdefs.h <<\EOF
7940 #define HAVE_LC_MESSAGES 1
7943 cat >> confdefs.h <<\EOF
7944 #define HAVE_DRAND48 1
7947 cat >> confdefs.h <<\EOF
7948 #define HAVE_GETPAGESIZE 1
7951 cat >> confdefs.h <<\EOF
7952 #define HAVE_SETENV 1
7955 cat >> confdefs.h <<\EOF
7956 #define HAVE_SIGSETJMP 1
7959 cat >> confdefs.h <<\EOF
7960 #define HAVE_COPYSIGN 1
7963 cat >> confdefs.h <<\EOF
7964 #define HAVE_COPYSIGNF 1
7967 cat >> confdefs.h <<\EOF
7968 #define HAVE_FINITEF 1
7971 cat >> confdefs.h <<\EOF
7972 #define HAVE_FINITE 1
7975 cat >> confdefs.h <<\EOF
7976 #define HAVE_FREXPF 1
7979 cat >> confdefs.h <<\EOF
7980 #define HAVE_HYPOT 1
7983 cat >> confdefs.h <<\EOF
7984 #define HAVE_HYPOTF 1
7987 cat >> confdefs.h <<\EOF
7988 #define HAVE_ISINF 1
7991 cat >> confdefs.h <<\EOF
7992 #define HAVE_ISNAN 1
7995 cat >> confdefs.h <<\EOF
7996 #define HAVE_ISNANF 1
7999 if test x"long_double_math_on_this_cpu" = x"yes"; then
8000 cat >> confdefs.h <<\EOF
8001 #define HAVE_FINITEL 1
8004 cat >> confdefs.h <<\EOF
8005 #define HAVE_ISINFL 1
8008 cat >> confdefs.h <<\EOF
8009 #define HAVE_ISNANL 1
8015 for ac_hdr in sys/types.h locale.h float.h
8017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8019 echo "configure:8020: checking for $ac_hdr" >&5
8020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8021 echo $ac_n "(cached) $ac_c" 1>&6
8023 cat > conftest.$ac_ext <<EOF
8024 #line 8025 "configure"
8025 #include "confdefs.h"
8028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8029 { (eval echo configure:8030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8031 if test -z "$ac_err"; then
8033 eval "ac_cv_header_$ac_safe=yes"
8036 echo "configure: failed program was:" >&5
8037 cat conftest.$ac_ext >&5
8039 eval "ac_cv_header_$ac_safe=no"
8043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8044 echo "$ac_t""yes" 1>&6
8045 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8046 cat >> confdefs.h <<EOF
8047 #define $ac_tr_hdr 1
8051 echo "$ac_t""no" 1>&6
8056 # If we're not using GNU ld, then there's no point in even trying these
8057 # tests. Check for that first. We should have already tested for gld
8058 # by now (in libtool), but require it now just to be safe...
8059 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8060 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8063 # The name set by libtool depends on the version of libtool. Shame on us
8064 # for depending on an impl detail, but c'est la vie. Older versions used
8065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8068 # set (hence we're using an older libtool), then set it.
8069 if test x${with_gnu_ld+set} != xset; then
8070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8074 with_gnu_ld=$ac_cv_prog_gnu_ld
8078 # Start by getting the version number. I think the libtool test already
8079 # does some of this, but throws away the result.
8081 ldver=`$LD --version 2>/dev/null | head -1 | \
8082 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8084 glibcpp_gnu_ld_version=`echo $ldver | \
8085 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8087 # Set --gc-sections.
8088 if test "$with_gnu_ld" = "notbroken"; then
8089 # GNU ld it is! Joy and bunny rabbits!
8091 # All these tests are for C++; save the language and the compiler flags.
8092 # Need to do this so that g++ won't try to link in libstdc++
8093 ac_test_CFLAGS="${CFLAGS+set}"
8094 ac_save_CFLAGS="$CFLAGS"
8095 CFLAGS='-x c++ -Wl,--gc-sections'
8097 # Check for -Wl,--gc-sections
8098 # XXX This test is broken at the moment, as symbols required for
8099 # linking are now in libsupc++ (not built yet.....). In addition,
8100 # this test has cored on solaris in the past. In addition,
8101 # --gc-sections doesn't really work at the moment (keeps on discarding
8102 # used sections, first .eh_frame and now some of the glibc sections for
8103 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8104 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8105 echo "configure:8106: checking for ld that supports -Wl,--gc-sections" >&5
8106 if test "$cross_compiling" = yes; then
8107 ac_sectionLDflags=yes
8109 cat > conftest.$ac_ext <<EOF
8110 #line 8111 "configure"
8111 #include "confdefs.h"
8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8123 ac_sectionLDflags=yes
8125 echo "configure: failed program was:" >&5
8126 cat conftest.$ac_ext >&5
8128 ac_sectionLDflags=no
8133 if test "$ac_test_CFLAGS" = set; then
8134 CFLAGS="$ac_save_CFLAGS"
8136 # this is the suspicious part
8139 if test "$ac_sectionLDflags" = "yes"; then
8140 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8142 echo "$ac_t""$ac_sectionLDflags" 1>&6
8145 # Set linker optimization flags.
8146 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
8147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8154 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
8155 echo "configure:8156: checking for main in -lm" >&5
8156 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8158 echo $ac_n "(cached) $ac_c" 1>&6
8160 ac_save_LIBS="$LIBS"
8162 cat > conftest.$ac_ext <<EOF
8163 #line 8164 "configure"
8164 #include "confdefs.h"
8170 if { (eval echo configure:8171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8172 eval "ac_cv_lib_$ac_lib_var=yes"
8174 echo "configure: failed program was:" >&5
8175 cat conftest.$ac_ext >&5
8177 eval "ac_cv_lib_$ac_lib_var=no"
8180 LIBS="$ac_save_LIBS"
8183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8184 echo "$ac_t""yes" 1>&6
8185 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8186 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8187 cat >> confdefs.h <<EOF
8188 #define $ac_tr_lib 1
8194 echo "$ac_t""no" 1>&6
8197 for ac_func in nan copysignf
8199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8200 echo "configure:8201: checking for $ac_func" >&5
8201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8202 echo $ac_n "(cached) $ac_c" 1>&6
8204 cat > conftest.$ac_ext <<EOF
8205 #line 8206 "configure"
8206 #include "confdefs.h"
8207 /* System header to define __stub macros and hopefully few prototypes,
8208 which can conflict with char $ac_func(); below. */
8210 /* Override any gcc2 internal prototype to avoid an error. */
8211 /* We use char because int might match the return type of a gcc2
8212 builtin and then its argument prototype would still apply. */
8217 /* The GNU C library defines this for functions which it implements
8218 to always fail with ENOSYS. Some functions are actually named
8219 something starting with __ and the normal name is an alias. */
8220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8228 if { (eval echo configure:8229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8230 eval "ac_cv_func_$ac_func=yes"
8232 echo "configure: failed program was:" >&5
8233 cat conftest.$ac_ext >&5
8235 eval "ac_cv_func_$ac_func=no"
8240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8241 echo "$ac_t""yes" 1>&6
8242 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8243 cat >> confdefs.h <<EOF
8244 #define $ac_tr_func 1
8248 echo "$ac_t""no" 1>&6
8249 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
8254 for ac_func in __signbit
8256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8257 echo "configure:8258: checking for $ac_func" >&5
8258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8259 echo $ac_n "(cached) $ac_c" 1>&6
8261 cat > conftest.$ac_ext <<EOF
8262 #line 8263 "configure"
8263 #include "confdefs.h"
8264 /* System header to define __stub macros and hopefully few prototypes,
8265 which can conflict with char $ac_func(); below. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8268 /* We use char because int might match the return type of a gcc2
8269 builtin and then its argument prototype would still apply. */
8274 /* The GNU C library defines this for functions which it implements
8275 to always fail with ENOSYS. Some functions are actually named
8276 something starting with __ and the normal name is an alias. */
8277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8285 if { (eval echo configure:8286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8287 eval "ac_cv_func_$ac_func=yes"
8289 echo "configure: failed program was:" >&5
8290 cat conftest.$ac_ext >&5
8292 eval "ac_cv_func_$ac_func=no"
8297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8298 echo "$ac_t""yes" 1>&6
8299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8300 cat >> confdefs.h <<EOF
8301 #define $ac_tr_func 1
8305 echo "$ac_t""no" 1>&6
8306 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
8310 for ac_func in __signbitf
8312 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8313 echo "configure:8314: checking for $ac_func" >&5
8314 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8315 echo $ac_n "(cached) $ac_c" 1>&6
8317 cat > conftest.$ac_ext <<EOF
8318 #line 8319 "configure"
8319 #include "confdefs.h"
8320 /* System header to define __stub macros and hopefully few prototypes,
8321 which can conflict with char $ac_func(); below. */
8323 /* Override any gcc2 internal prototype to avoid an error. */
8324 /* We use char because int might match the return type of a gcc2
8325 builtin and then its argument prototype would still apply. */
8330 /* The GNU C library defines this for functions which it implements
8331 to always fail with ENOSYS. Some functions are actually named
8332 something starting with __ and the normal name is an alias. */
8333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8341 if { (eval echo configure:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8343 eval "ac_cv_func_$ac_func=yes"
8345 echo "configure: failed program was:" >&5
8346 cat conftest.$ac_ext >&5
8348 eval "ac_cv_func_$ac_func=no"
8353 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8354 echo "$ac_t""yes" 1>&6
8355 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8356 cat >> confdefs.h <<EOF
8357 #define $ac_tr_func 1
8361 echo "$ac_t""no" 1>&6
8362 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
8367 if test x$ac_cv_func_copysignl = x"yes"; then
8368 for ac_func in __signbitl
8370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8371 echo "configure:8372: checking for $ac_func" >&5
8372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8375 cat > conftest.$ac_ext <<EOF
8376 #line 8377 "configure"
8377 #include "confdefs.h"
8378 /* System header to define __stub macros and hopefully few prototypes,
8379 which can conflict with char $ac_func(); below. */
8381 /* Override any gcc2 internal prototype to avoid an error. */
8382 /* We use char because int might match the return type of a gcc2
8383 builtin and then its argument prototype would still apply. */
8388 /* The GNU C library defines this for functions which it implements
8389 to always fail with ENOSYS. Some functions are actually named
8390 something starting with __ and the normal name is an alias. */
8391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8399 if { (eval echo configure:8400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8401 eval "ac_cv_func_$ac_func=yes"
8403 echo "configure: failed program was:" >&5
8404 cat conftest.$ac_ext >&5
8406 eval "ac_cv_func_$ac_func=no"
8411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8412 echo "$ac_t""yes" 1>&6
8413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8414 cat >> confdefs.h <<EOF
8415 #define $ac_tr_func 1
8419 echo "$ac_t""no" 1>&6
8420 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
8430 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
8431 echo "configure:8432: checking for mbstate_t" >&5
8432 cat > conftest.$ac_ext <<EOF
8433 #line 8434 "configure"
8434 #include "confdefs.h"
8437 mbstate_t teststate;
8440 if { (eval echo configure:8441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8444 echo "configure: failed program was:" >&5
8445 cat conftest.$ac_ext >&5
8450 echo "$ac_t""$have_mbstate_t" 1>&6
8451 if test x"$have_mbstate_t" = xyes; then
8452 cat >> confdefs.h <<\EOF
8453 #define HAVE_MBSTATE_T 1
8458 for ac_hdr in wchar.h
8460 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8461 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8462 echo "configure:8463: checking for $ac_hdr" >&5
8463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8464 echo $ac_n "(cached) $ac_c" 1>&6
8466 cat > conftest.$ac_ext <<EOF
8467 #line 8468 "configure"
8468 #include "confdefs.h"
8471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8472 { (eval echo configure:8473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8474 if test -z "$ac_err"; then
8476 eval "ac_cv_header_$ac_safe=yes"
8479 echo "configure: failed program was:" >&5
8480 cat conftest.$ac_ext >&5
8482 eval "ac_cv_header_$ac_safe=no"
8486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8487 echo "$ac_t""yes" 1>&6
8488 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8489 cat >> confdefs.h <<EOF
8490 #define $ac_tr_hdr 1
8494 echo "$ac_t""no" 1>&6
8499 for ac_hdr in wctype.h
8501 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8503 echo "configure:8504: checking for $ac_hdr" >&5
8504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8505 echo $ac_n "(cached) $ac_c" 1>&6
8507 cat > conftest.$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8513 { (eval echo configure:8514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8515 if test -z "$ac_err"; then
8517 eval "ac_cv_header_$ac_safe=yes"
8520 echo "configure: failed program was:" >&5
8521 cat conftest.$ac_ext >&5
8523 eval "ac_cv_header_$ac_safe=no"
8527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8528 echo "$ac_t""yes" 1>&6
8529 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8530 cat >> confdefs.h <<EOF
8531 #define $ac_tr_hdr 1
8535 echo "$ac_t""no" 1>&6
8541 if test x"$ac_has_wchar_h" = xyes &&
8542 test x"$ac_has_wctype_h" = xyes &&
8543 test x"$enable_c_mbchar" != xno; then
8545 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
8546 echo "configure:8547: checking for WCHAR_MIN and WCHAR_MAX" >&5
8547 cat > conftest.$ac_ext <<EOF
8548 #line 8549 "configure"
8549 #include "confdefs.h"
8552 int i = WCHAR_MIN; int j = WCHAR_MAX;
8555 if { (eval echo configure:8556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8557 has_wchar_minmax=yes
8559 echo "configure: failed program was:" >&5
8560 cat conftest.$ac_ext >&5
8565 echo "$ac_t""$has_wchar_minmax" 1>&6
8567 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
8568 echo "configure:8569: checking for WEOF" >&5
8569 cat > conftest.$ac_ext <<EOF
8570 #line 8571 "configure"
8571 #include "confdefs.h"
8579 if { (eval echo configure:8580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8583 echo "configure: failed program was:" >&5
8584 cat conftest.$ac_ext >&5
8589 echo "$ac_t""$has_weof" 1>&6
8592 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8594 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8595 echo "configure:8596: checking for $ac_func" >&5
8596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8597 echo $ac_n "(cached) $ac_c" 1>&6
8599 cat > conftest.$ac_ext <<EOF
8600 #line 8601 "configure"
8601 #include "confdefs.h"
8602 /* System header to define __stub macros and hopefully few prototypes,
8603 which can conflict with char $ac_func(); below. */
8605 /* Override any gcc2 internal prototype to avoid an error. */
8606 /* We use char because int might match the return type of a gcc2
8607 builtin and then its argument prototype would still apply. */
8612 /* The GNU C library defines this for functions which it implements
8613 to always fail with ENOSYS. Some functions are actually named
8614 something starting with __ and the normal name is an alias. */
8615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8623 if { (eval echo configure:8624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8625 eval "ac_cv_func_$ac_func=yes"
8627 echo "configure: failed program was:" >&5
8628 cat conftest.$ac_ext >&5
8630 eval "ac_cv_func_$ac_func=no"
8635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8636 echo "$ac_t""yes" 1>&6
8637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8638 cat >> confdefs.h <<EOF
8639 #define $ac_tr_func 1
8643 echo "$ac_t""no" 1>&6
8650 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8651 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8652 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8653 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8654 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8655 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8658 echo "configure:8659: checking for $ac_func" >&5
8659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8660 echo $ac_n "(cached) $ac_c" 1>&6
8662 cat > conftest.$ac_ext <<EOF
8663 #line 8664 "configure"
8664 #include "confdefs.h"
8665 /* System header to define __stub macros and hopefully few prototypes,
8666 which can conflict with char $ac_func(); below. */
8668 /* Override any gcc2 internal prototype to avoid an error. */
8669 /* We use char because int might match the return type of a gcc2
8670 builtin and then its argument prototype would still apply. */
8675 /* The GNU C library defines this for functions which it implements
8676 to always fail with ENOSYS. Some functions are actually named
8677 something starting with __ and the normal name is an alias. */
8678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8686 if { (eval echo configure:8687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8688 eval "ac_cv_func_$ac_func=yes"
8690 echo "configure: failed program was:" >&5
8691 cat conftest.$ac_ext >&5
8693 eval "ac_cv_func_$ac_func=no"
8698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8699 echo "$ac_t""yes" 1>&6
8700 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8701 cat >> confdefs.h <<EOF
8702 #define $ac_tr_func 1
8706 echo "$ac_t""no" 1>&6
8713 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
8714 echo "configure:8715: checking for ISO C99 wchar_t support" >&5
8715 if test x"$has_weof" = xyes &&
8716 test x"$has_wchar_minmax" = xyes &&
8717 test x"$ac_wfuncs" = xyes; then
8718 ac_isoC99_wchar_t=yes
8720 ac_isoC99_wchar_t=no
8722 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8724 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
8725 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
8726 echo "configure:8727: checking for iconv.h" >&5
8727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8730 cat > conftest.$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8736 { (eval echo configure:8737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8738 if test -z "$ac_err"; then
8740 eval "ac_cv_header_$ac_safe=yes"
8743 echo "configure: failed program was:" >&5
8744 cat conftest.$ac_ext >&5
8746 eval "ac_cv_header_$ac_safe=no"
8750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8751 echo "$ac_t""yes" 1>&6
8754 echo "$ac_t""no" 1>&6
8758 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
8759 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
8760 echo "configure:8761: checking for langinfo.h" >&5
8761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8762 echo $ac_n "(cached) $ac_c" 1>&6
8764 cat > conftest.$ac_ext <<EOF
8765 #line 8766 "configure"
8766 #include "confdefs.h"
8767 #include <langinfo.h>
8769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8770 { (eval echo configure:8771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8771 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8772 if test -z "$ac_err"; then
8774 eval "ac_cv_header_$ac_safe=yes"
8777 echo "configure: failed program was:" >&5
8778 cat conftest.$ac_ext >&5
8780 eval "ac_cv_header_$ac_safe=no"
8784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8785 echo "$ac_t""yes" 1>&6
8786 ac_has_langinfo_h=yes
8788 echo "$ac_t""no" 1>&6
8789 ac_has_langinfo_h=no
8793 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
8794 echo "configure:8795: checking for iconv in -liconv" >&5
8795 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8797 echo $ac_n "(cached) $ac_c" 1>&6
8799 ac_save_LIBS="$LIBS"
8800 LIBS="-liconv $LIBS"
8801 cat > conftest.$ac_ext <<EOF
8802 #line 8803 "configure"
8803 #include "confdefs.h"
8804 /* Override any gcc2 internal prototype to avoid an error. */
8805 /* We use char because int might match the return type of a gcc2
8806 builtin and then its argument prototype would still apply. */
8813 if { (eval echo configure:8814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8815 eval "ac_cv_lib_$ac_lib_var=yes"
8817 echo "configure: failed program was:" >&5
8818 cat conftest.$ac_ext >&5
8820 eval "ac_cv_lib_$ac_lib_var=no"
8823 LIBS="$ac_save_LIBS"
8826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8827 echo "$ac_t""yes" 1>&6
8830 echo "$ac_t""no" 1>&6
8833 ac_save_LIBS="$LIBS"
8834 LIBS="$LIBS $libiconv"
8836 for ac_func in iconv_open iconv_close iconv nl_langinfo
8838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8839 echo "configure:8840: checking for $ac_func" >&5
8840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8841 echo $ac_n "(cached) $ac_c" 1>&6
8843 cat > conftest.$ac_ext <<EOF
8844 #line 8845 "configure"
8845 #include "confdefs.h"
8846 /* System header to define __stub macros and hopefully few prototypes,
8847 which can conflict with char $ac_func(); below. */
8849 /* Override any gcc2 internal prototype to avoid an error. */
8850 /* We use char because int might match the return type of a gcc2
8851 builtin and then its argument prototype would still apply. */
8856 /* The GNU C library defines this for functions which it implements
8857 to always fail with ENOSYS. Some functions are actually named
8858 something starting with __ and the normal name is an alias. */
8859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8869 eval "ac_cv_func_$ac_func=yes"
8871 echo "configure: failed program was:" >&5
8872 cat conftest.$ac_ext >&5
8874 eval "ac_cv_func_$ac_func=no"
8879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8880 echo "$ac_t""yes" 1>&6
8881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8882 cat >> confdefs.h <<EOF
8883 #define $ac_tr_func 1
8888 echo "$ac_t""no" 1>&6
8894 LIBS="$ac_save_LIBS"
8896 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
8897 echo "configure:8898: checking for XPG2 wchar_t support" >&5
8898 if test x"$ac_has_iconv_h" = xyes &&
8899 test x"$ac_has_langinfo_h" = xyes &&
8900 test x"$ac_XPG2funcs" = xyes; then
8905 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8907 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
8908 echo "configure:8909: checking for enabled wchar_t specializations" >&5
8909 if test x"$ac_isoC99_wchar_t" = xyes &&
8910 test x"$ac_XPG2_wchar_t" = xyes; then
8911 cat >> confdefs.h <<\EOF
8912 #define _GLIBCPP_USE_WCHAR_T 1
8915 echo "$ac_t"""yes"" 1>&6
8917 echo "$ac_t"""no"" 1>&6
8920 echo "configure: warning: wchar_t support disabled." 1>&2
8923 os_include_dir="os/mingw32"
8926 os_include_dir="os/windiss"
8929 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8932 # If we're not using GNU ld, then there's no point in even trying these
8933 # tests. Check for that first. We should have already tested for gld
8934 # by now (in libtool), but require it now just to be safe...
8935 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8936 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8939 # The name set by libtool depends on the version of libtool. Shame on us
8940 # for depending on an impl detail, but c'est la vie. Older versions used
8941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8944 # set (hence we're using an older libtool), then set it.
8945 if test x${with_gnu_ld+set} != xset; then
8946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8950 with_gnu_ld=$ac_cv_prog_gnu_ld
8954 # Start by getting the version number. I think the libtool test already
8955 # does some of this, but throws away the result.
8957 ldver=`$LD --version 2>/dev/null | head -1 | \
8958 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8960 glibcpp_gnu_ld_version=`echo $ldver | \
8961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8963 # Set --gc-sections.
8964 if test "$with_gnu_ld" = "notbroken"; then
8965 # GNU ld it is! Joy and bunny rabbits!
8967 # All these tests are for C++; save the language and the compiler flags.
8968 # Need to do this so that g++ won't try to link in libstdc++
8969 ac_test_CFLAGS="${CFLAGS+set}"
8970 ac_save_CFLAGS="$CFLAGS"
8971 CFLAGS='-x c++ -Wl,--gc-sections'
8973 # Check for -Wl,--gc-sections
8974 # XXX This test is broken at the moment, as symbols required for
8975 # linking are now in libsupc++ (not built yet.....). In addition,
8976 # this test has cored on solaris in the past. In addition,
8977 # --gc-sections doesn't really work at the moment (keeps on discarding
8978 # used sections, first .eh_frame and now some of the glibc sections for
8979 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8980 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
8981 echo "configure:8982: checking for ld that supports -Wl,--gc-sections" >&5
8982 if test "$cross_compiling" = yes; then
8983 ac_sectionLDflags=yes
8985 cat > conftest.$ac_ext <<EOF
8986 #line 8987 "configure"
8987 #include "confdefs.h"
8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8999 ac_sectionLDflags=yes
9001 echo "configure: failed program was:" >&5
9002 cat conftest.$ac_ext >&5
9004 ac_sectionLDflags=no
9009 if test "$ac_test_CFLAGS" = set; then
9010 CFLAGS="$ac_save_CFLAGS"
9012 # this is the suspicious part
9015 if test "$ac_sectionLDflags" = "yes"; then
9016 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9018 echo "$ac_t""$ac_sectionLDflags" 1>&6
9021 # Set linker optimization flags.
9022 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
9023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9030 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
9031 echo "configure:9032: checking for main in -lm" >&5
9032 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9034 echo $ac_n "(cached) $ac_c" 1>&6
9036 ac_save_LIBS="$LIBS"
9038 cat > conftest.$ac_ext <<EOF
9039 #line 9040 "configure"
9040 #include "confdefs.h"
9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9048 eval "ac_cv_lib_$ac_lib_var=yes"
9050 echo "configure: failed program was:" >&5
9051 cat conftest.$ac_ext >&5
9053 eval "ac_cv_lib_$ac_lib_var=no"
9056 LIBS="$ac_save_LIBS"
9059 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9060 echo "$ac_t""yes" 1>&6
9061 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9062 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9063 cat >> confdefs.h <<EOF
9064 #define $ac_tr_lib 1
9070 echo "$ac_t""no" 1>&6
9073 for ac_func in nan copysignf
9075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9076 echo "configure:9077: checking for $ac_func" >&5
9077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9078 echo $ac_n "(cached) $ac_c" 1>&6
9080 cat > conftest.$ac_ext <<EOF
9081 #line 9082 "configure"
9082 #include "confdefs.h"
9083 /* System header to define __stub macros and hopefully few prototypes,
9084 which can conflict with char $ac_func(); below. */
9086 /* Override any gcc2 internal prototype to avoid an error. */
9087 /* We use char because int might match the return type of a gcc2
9088 builtin and then its argument prototype would still apply. */
9093 /* The GNU C library defines this for functions which it implements
9094 to always fail with ENOSYS. Some functions are actually named
9095 something starting with __ and the normal name is an alias. */
9096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9104 if { (eval echo configure:9105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9106 eval "ac_cv_func_$ac_func=yes"
9108 echo "configure: failed program was:" >&5
9109 cat conftest.$ac_ext >&5
9111 eval "ac_cv_func_$ac_func=no"
9116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9117 echo "$ac_t""yes" 1>&6
9118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9119 cat >> confdefs.h <<EOF
9120 #define $ac_tr_func 1
9124 echo "$ac_t""no" 1>&6
9125 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
9130 for ac_func in __signbit
9132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9133 echo "configure:9134: checking for $ac_func" >&5
9134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9135 echo $ac_n "(cached) $ac_c" 1>&6
9137 cat > conftest.$ac_ext <<EOF
9138 #line 9139 "configure"
9139 #include "confdefs.h"
9140 /* System header to define __stub macros and hopefully few prototypes,
9141 which can conflict with char $ac_func(); below. */
9143 /* Override any gcc2 internal prototype to avoid an error. */
9144 /* We use char because int might match the return type of a gcc2
9145 builtin and then its argument prototype would still apply. */
9150 /* The GNU C library defines this for functions which it implements
9151 to always fail with ENOSYS. Some functions are actually named
9152 something starting with __ and the normal name is an alias. */
9153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9161 if { (eval echo configure:9162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9163 eval "ac_cv_func_$ac_func=yes"
9165 echo "configure: failed program was:" >&5
9166 cat conftest.$ac_ext >&5
9168 eval "ac_cv_func_$ac_func=no"
9173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9174 echo "$ac_t""yes" 1>&6
9175 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9176 cat >> confdefs.h <<EOF
9177 #define $ac_tr_func 1
9181 echo "$ac_t""no" 1>&6
9182 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
9186 for ac_func in __signbitf
9188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9189 echo "configure:9190: checking for $ac_func" >&5
9190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9191 echo $ac_n "(cached) $ac_c" 1>&6
9193 cat > conftest.$ac_ext <<EOF
9194 #line 9195 "configure"
9195 #include "confdefs.h"
9196 /* System header to define __stub macros and hopefully few prototypes,
9197 which can conflict with char $ac_func(); below. */
9199 /* Override any gcc2 internal prototype to avoid an error. */
9200 /* We use char because int might match the return type of a gcc2
9201 builtin and then its argument prototype would still apply. */
9206 /* The GNU C library defines this for functions which it implements
9207 to always fail with ENOSYS. Some functions are actually named
9208 something starting with __ and the normal name is an alias. */
9209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9217 if { (eval echo configure:9218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9219 eval "ac_cv_func_$ac_func=yes"
9221 echo "configure: failed program was:" >&5
9222 cat conftest.$ac_ext >&5
9224 eval "ac_cv_func_$ac_func=no"
9229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9230 echo "$ac_t""yes" 1>&6
9231 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9232 cat >> confdefs.h <<EOF
9233 #define $ac_tr_func 1
9237 echo "$ac_t""no" 1>&6
9238 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
9243 if test x$ac_cv_func_copysignl = x"yes"; then
9244 for ac_func in __signbitl
9246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9247 echo "configure:9248: checking for $ac_func" >&5
9248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9249 echo $ac_n "(cached) $ac_c" 1>&6
9251 cat > conftest.$ac_ext <<EOF
9252 #line 9253 "configure"
9253 #include "confdefs.h"
9254 /* System header to define __stub macros and hopefully few prototypes,
9255 which can conflict with char $ac_func(); below. */
9257 /* Override any gcc2 internal prototype to avoid an error. */
9258 /* We use char because int might match the return type of a gcc2
9259 builtin and then its argument prototype would still apply. */
9264 /* The GNU C library defines this for functions which it implements
9265 to always fail with ENOSYS. Some functions are actually named
9266 something starting with __ and the normal name is an alias. */
9267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9275 if { (eval echo configure:9276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9277 eval "ac_cv_func_$ac_func=yes"
9279 echo "configure: failed program was:" >&5
9280 cat conftest.$ac_ext >&5
9282 eval "ac_cv_func_$ac_func=no"
9287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9288 echo "$ac_t""yes" 1>&6
9289 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9290 cat >> confdefs.h <<EOF
9291 #define $ac_tr_func 1
9295 echo "$ac_t""no" 1>&6
9296 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
9306 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
9307 echo "configure:9308: checking for mbstate_t" >&5
9308 cat > conftest.$ac_ext <<EOF
9309 #line 9310 "configure"
9310 #include "confdefs.h"
9313 mbstate_t teststate;
9316 if { (eval echo configure:9317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9320 echo "configure: failed program was:" >&5
9321 cat conftest.$ac_ext >&5
9326 echo "$ac_t""$have_mbstate_t" 1>&6
9327 if test x"$have_mbstate_t" = xyes; then
9328 cat >> confdefs.h <<\EOF
9329 #define HAVE_MBSTATE_T 1
9334 for ac_hdr in wchar.h
9336 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9337 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9338 echo "configure:9339: checking for $ac_hdr" >&5
9339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9342 cat > conftest.$ac_ext <<EOF
9343 #line 9344 "configure"
9344 #include "confdefs.h"
9347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9348 { (eval echo configure:9349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9350 if test -z "$ac_err"; then
9352 eval "ac_cv_header_$ac_safe=yes"
9355 echo "configure: failed program was:" >&5
9356 cat conftest.$ac_ext >&5
9358 eval "ac_cv_header_$ac_safe=no"
9362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9363 echo "$ac_t""yes" 1>&6
9364 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9365 cat >> confdefs.h <<EOF
9366 #define $ac_tr_hdr 1
9370 echo "$ac_t""no" 1>&6
9375 for ac_hdr in wctype.h
9377 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9378 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9379 echo "configure:9380: checking for $ac_hdr" >&5
9380 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9381 echo $ac_n "(cached) $ac_c" 1>&6
9383 cat > conftest.$ac_ext <<EOF
9384 #line 9385 "configure"
9385 #include "confdefs.h"
9388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9389 { (eval echo configure:9390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9391 if test -z "$ac_err"; then
9393 eval "ac_cv_header_$ac_safe=yes"
9396 echo "configure: failed program was:" >&5
9397 cat conftest.$ac_ext >&5
9399 eval "ac_cv_header_$ac_safe=no"
9403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9404 echo "$ac_t""yes" 1>&6
9405 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9406 cat >> confdefs.h <<EOF
9407 #define $ac_tr_hdr 1
9411 echo "$ac_t""no" 1>&6
9417 if test x"$ac_has_wchar_h" = xyes &&
9418 test x"$ac_has_wctype_h" = xyes &&
9419 test x"$enable_c_mbchar" != xno; then
9421 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
9422 echo "configure:9423: checking for WCHAR_MIN and WCHAR_MAX" >&5
9423 cat > conftest.$ac_ext <<EOF
9424 #line 9425 "configure"
9425 #include "confdefs.h"
9428 int i = WCHAR_MIN; int j = WCHAR_MAX;
9431 if { (eval echo configure:9432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9433 has_wchar_minmax=yes
9435 echo "configure: failed program was:" >&5
9436 cat conftest.$ac_ext >&5
9441 echo "$ac_t""$has_wchar_minmax" 1>&6
9443 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
9444 echo "configure:9445: checking for WEOF" >&5
9445 cat > conftest.$ac_ext <<EOF
9446 #line 9447 "configure"
9447 #include "confdefs.h"
9455 if { (eval echo configure:9456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9459 echo "configure: failed program was:" >&5
9460 cat conftest.$ac_ext >&5
9465 echo "$ac_t""$has_weof" 1>&6
9468 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9471 echo "configure:9472: checking for $ac_func" >&5
9472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9475 cat > conftest.$ac_ext <<EOF
9476 #line 9477 "configure"
9477 #include "confdefs.h"
9478 /* System header to define __stub macros and hopefully few prototypes,
9479 which can conflict with char $ac_func(); below. */
9481 /* Override any gcc2 internal prototype to avoid an error. */
9482 /* We use char because int might match the return type of a gcc2
9483 builtin and then its argument prototype would still apply. */
9488 /* The GNU C library defines this for functions which it implements
9489 to always fail with ENOSYS. Some functions are actually named
9490 something starting with __ and the normal name is an alias. */
9491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9501 eval "ac_cv_func_$ac_func=yes"
9503 echo "configure: failed program was:" >&5
9504 cat conftest.$ac_ext >&5
9506 eval "ac_cv_func_$ac_func=no"
9511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9512 echo "$ac_t""yes" 1>&6
9513 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9514 cat >> confdefs.h <<EOF
9515 #define $ac_tr_func 1
9519 echo "$ac_t""no" 1>&6
9526 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
9527 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9528 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9529 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9530 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9531 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9534 echo "configure:9535: checking for $ac_func" >&5
9535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9538 cat > conftest.$ac_ext <<EOF
9539 #line 9540 "configure"
9540 #include "confdefs.h"
9541 /* System header to define __stub macros and hopefully few prototypes,
9542 which can conflict with char $ac_func(); below. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9545 /* We use char because int might match the return type of a gcc2
9546 builtin and then its argument prototype would still apply. */
9551 /* The GNU C library defines this for functions which it implements
9552 to always fail with ENOSYS. Some functions are actually named
9553 something starting with __ and the normal name is an alias. */
9554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9562 if { (eval echo configure:9563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9564 eval "ac_cv_func_$ac_func=yes"
9566 echo "configure: failed program was:" >&5
9567 cat conftest.$ac_ext >&5
9569 eval "ac_cv_func_$ac_func=no"
9574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9575 echo "$ac_t""yes" 1>&6
9576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9577 cat >> confdefs.h <<EOF
9578 #define $ac_tr_func 1
9582 echo "$ac_t""no" 1>&6
9589 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
9590 echo "configure:9591: checking for ISO C99 wchar_t support" >&5
9591 if test x"$has_weof" = xyes &&
9592 test x"$has_wchar_minmax" = xyes &&
9593 test x"$ac_wfuncs" = xyes; then
9594 ac_isoC99_wchar_t=yes
9596 ac_isoC99_wchar_t=no
9598 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9600 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
9601 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
9602 echo "configure:9603: checking for iconv.h" >&5
9603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9604 echo $ac_n "(cached) $ac_c" 1>&6
9606 cat > conftest.$ac_ext <<EOF
9607 #line 9608 "configure"
9608 #include "confdefs.h"
9611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9612 { (eval echo configure:9613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9614 if test -z "$ac_err"; then
9616 eval "ac_cv_header_$ac_safe=yes"
9619 echo "configure: failed program was:" >&5
9620 cat conftest.$ac_ext >&5
9622 eval "ac_cv_header_$ac_safe=no"
9626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9627 echo "$ac_t""yes" 1>&6
9630 echo "$ac_t""no" 1>&6
9634 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
9635 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
9636 echo "configure:9637: checking for langinfo.h" >&5
9637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9638 echo $ac_n "(cached) $ac_c" 1>&6
9640 cat > conftest.$ac_ext <<EOF
9641 #line 9642 "configure"
9642 #include "confdefs.h"
9643 #include <langinfo.h>
9645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9646 { (eval echo configure:9647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9648 if test -z "$ac_err"; then
9650 eval "ac_cv_header_$ac_safe=yes"
9653 echo "configure: failed program was:" >&5
9654 cat conftest.$ac_ext >&5
9656 eval "ac_cv_header_$ac_safe=no"
9660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9661 echo "$ac_t""yes" 1>&6
9662 ac_has_langinfo_h=yes
9664 echo "$ac_t""no" 1>&6
9665 ac_has_langinfo_h=no
9669 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
9670 echo "configure:9671: checking for iconv in -liconv" >&5
9671 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9673 echo $ac_n "(cached) $ac_c" 1>&6
9675 ac_save_LIBS="$LIBS"
9676 LIBS="-liconv $LIBS"
9677 cat > conftest.$ac_ext <<EOF
9678 #line 9679 "configure"
9679 #include "confdefs.h"
9680 /* Override any gcc2 internal prototype to avoid an error. */
9681 /* We use char because int might match the return type of a gcc2
9682 builtin and then its argument prototype would still apply. */
9689 if { (eval echo configure:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9691 eval "ac_cv_lib_$ac_lib_var=yes"
9693 echo "configure: failed program was:" >&5
9694 cat conftest.$ac_ext >&5
9696 eval "ac_cv_lib_$ac_lib_var=no"
9699 LIBS="$ac_save_LIBS"
9702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9703 echo "$ac_t""yes" 1>&6
9706 echo "$ac_t""no" 1>&6
9709 ac_save_LIBS="$LIBS"
9710 LIBS="$LIBS $libiconv"
9712 for ac_func in iconv_open iconv_close iconv nl_langinfo
9714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9715 echo "configure:9716: checking for $ac_func" >&5
9716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9719 cat > conftest.$ac_ext <<EOF
9720 #line 9721 "configure"
9721 #include "confdefs.h"
9722 /* System header to define __stub macros and hopefully few prototypes,
9723 which can conflict with char $ac_func(); below. */
9725 /* Override any gcc2 internal prototype to avoid an error. */
9726 /* We use char because int might match the return type of a gcc2
9727 builtin and then its argument prototype would still apply. */
9732 /* The GNU C library defines this for functions which it implements
9733 to always fail with ENOSYS. Some functions are actually named
9734 something starting with __ and the normal name is an alias. */
9735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9743 if { (eval echo configure:9744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9745 eval "ac_cv_func_$ac_func=yes"
9747 echo "configure: failed program was:" >&5
9748 cat conftest.$ac_ext >&5
9750 eval "ac_cv_func_$ac_func=no"
9755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9756 echo "$ac_t""yes" 1>&6
9757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9758 cat >> confdefs.h <<EOF
9759 #define $ac_tr_func 1
9764 echo "$ac_t""no" 1>&6
9770 LIBS="$ac_save_LIBS"
9772 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
9773 echo "configure:9774: checking for XPG2 wchar_t support" >&5
9774 if test x"$ac_has_iconv_h" = xyes &&
9775 test x"$ac_has_langinfo_h" = xyes &&
9776 test x"$ac_XPG2funcs" = xyes; then
9781 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9783 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
9784 echo "configure:9785: checking for enabled wchar_t specializations" >&5
9785 if test x"$ac_isoC99_wchar_t" = xyes &&
9786 test x"$ac_XPG2_wchar_t" = xyes; then
9787 cat >> confdefs.h <<\EOF
9788 #define _GLIBCPP_USE_WCHAR_T 1
9791 echo "$ac_t"""yes"" 1>&6
9793 echo "$ac_t"""no"" 1>&6
9796 echo "configure: warning: wchar_t support disabled." 1>&2
9799 os_include_dir="os/qnx/qnx6.1"
9800 cat >> confdefs.h <<\EOF
9804 cat >> confdefs.h <<\EOF
9808 cat >> confdefs.h <<\EOF
9809 #define HAVE_COSHF 1
9812 cat >> confdefs.h <<\EOF
9813 #define HAVE_COSHL 1
9816 cat >> confdefs.h <<\EOF
9820 cat >> confdefs.h <<\EOF
9824 cat >> confdefs.h <<\EOF
9825 #define HAVE_LOG10F 1
9828 cat >> confdefs.h <<\EOF
9829 #define HAVE_LOG10L 1
9832 cat >> confdefs.h <<\EOF
9836 cat >> confdefs.h <<\EOF
9840 cat >> confdefs.h <<\EOF
9841 #define HAVE_SINHF 1
9844 cat >> confdefs.h <<\EOF
9845 #define HAVE_SINHL 1
9850 os_include_dir="os/newlib"
9851 cat >> confdefs.h <<\EOF
9852 #define HAVE_HYPOT 1
9862 cat >> confdefs.h <<\EOF
9863 #define HAVE_ACOSF 1
9866 cat >> confdefs.h <<\EOF
9867 #define HAVE_ASINF 1
9870 cat >> confdefs.h <<\EOF
9871 #define HAVE_ATAN2F 1
9874 cat >> confdefs.h <<\EOF
9875 #define HAVE_ATANF 1
9878 cat >> confdefs.h <<\EOF
9879 #define HAVE_CEILF 1
9882 cat >> confdefs.h <<\EOF
9883 #define HAVE_COPYSIGN 1
9886 cat >> confdefs.h <<\EOF
9887 #define HAVE_COPYSIGNF 1
9890 cat >> confdefs.h <<\EOF
9894 cat >> confdefs.h <<\EOF
9895 #define HAVE_COSHF 1
9898 cat >> confdefs.h <<\EOF
9902 cat >> confdefs.h <<\EOF
9903 #define HAVE_FABSF 1
9906 cat >> confdefs.h <<\EOF
9907 #define HAVE_FLOORF 1
9910 cat >> confdefs.h <<\EOF
9911 #define HAVE_FMODF 1
9914 cat >> confdefs.h <<\EOF
9915 #define HAVE_FREXPF 1
9918 cat >> confdefs.h <<\EOF
9919 #define HAVE_LDEXPF 1
9922 cat >> confdefs.h <<\EOF
9923 #define HAVE_LOG10F 1
9926 cat >> confdefs.h <<\EOF
9930 cat >> confdefs.h <<\EOF
9931 #define HAVE_MODFF 1
9934 cat >> confdefs.h <<\EOF
9938 cat >> confdefs.h <<\EOF
9942 cat >> confdefs.h <<\EOF
9943 #define HAVE_SINHF 1
9946 cat >> confdefs.h <<\EOF
9947 #define HAVE_SQRTF 1
9950 cat >> confdefs.h <<\EOF
9954 cat >> confdefs.h <<\EOF
9955 #define HAVE_TANHF 1
9960 # Must replicate generic section since we don't have strtof or strtold.
9961 cat >> confdefs.h <<\EOF
9965 cat >> confdefs.h <<\EOF
9966 #define HAVE_ACOSF 1
9969 cat >> confdefs.h <<\EOF
9970 #define HAVE_ASINF 1
9973 cat >> confdefs.h <<\EOF
9974 #define HAVE_ATAN2F 1
9977 cat >> confdefs.h <<\EOF
9978 #define HAVE_ATANF 1
9981 cat >> confdefs.h <<\EOF
9982 #define HAVE_CEILF 1
9985 cat >> confdefs.h <<\EOF
9986 #define HAVE_COPYSIGN 1
9989 cat >> confdefs.h <<\EOF
9990 #define HAVE_COPYSIGNF 1
9993 cat >> confdefs.h <<\EOF
9997 cat >> confdefs.h <<\EOF
9998 #define HAVE_COSHF 1
10001 cat >> confdefs.h <<\EOF
10002 #define HAVE_EXPF 1
10005 cat >> confdefs.h <<\EOF
10006 #define HAVE_FABSF 1
10009 cat >> confdefs.h <<\EOF
10010 #define HAVE_FLOORF 1
10013 cat >> confdefs.h <<\EOF
10014 #define HAVE_FMODF 1
10017 cat >> confdefs.h <<\EOF
10018 #define HAVE_FREXPF 1
10021 cat >> confdefs.h <<\EOF
10022 #define HAVE_LDEXPF 1
10025 cat >> confdefs.h <<\EOF
10026 #define HAVE_LOG10F 1
10029 cat >> confdefs.h <<\EOF
10030 #define HAVE_LOGF 1
10033 cat >> confdefs.h <<\EOF
10034 #define HAVE_MODFF 1
10037 cat >> confdefs.h <<\EOF
10038 #define HAVE_POWF 1
10041 cat >> confdefs.h <<\EOF
10042 #define HAVE_SINF 1
10045 cat >> confdefs.h <<\EOF
10046 #define HAVE_SINHF 1
10049 cat >> confdefs.h <<\EOF
10050 #define HAVE_SQRTF 1
10053 cat >> confdefs.h <<\EOF
10054 #define HAVE_TANF 1
10057 cat >> confdefs.h <<\EOF
10058 #define HAVE_TANHF 1
10063 # GLIBCPP_CHECK_STDLIB_SUPPORT
10064 cat >> confdefs.h <<\EOF
10065 #define HAVE_STRTOF 1
10068 cat >> confdefs.h <<\EOF
10069 #define HAVE_STRTOLD 1
10073 cat >> confdefs.h <<\EOF
10074 #define HAVE_MMAP 1
10078 cat >> confdefs.h <<\EOF
10079 #define HAVE_ACOSF 1
10082 cat >> confdefs.h <<\EOF
10083 #define HAVE_ASINF 1
10086 cat >> confdefs.h <<\EOF
10087 #define HAVE_ATAN2F 1
10090 cat >> confdefs.h <<\EOF
10091 #define HAVE_ATANF 1
10094 cat >> confdefs.h <<\EOF
10095 #define HAVE_CEILF 1
10098 cat >> confdefs.h <<\EOF
10099 #define HAVE_COPYSIGN 1
10102 cat >> confdefs.h <<\EOF
10103 #define HAVE_COPYSIGNF 1
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_COSF 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_COSHF 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_EXPF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_FABSF 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_FLOORF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_FMODF 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_FREXPF 1
10134 cat >> confdefs.h <<\EOF
10135 #define HAVE_LDEXPF 1
10138 cat >> confdefs.h <<\EOF
10139 #define HAVE_LOG10F 1
10142 cat >> confdefs.h <<\EOF
10143 #define HAVE_LOGF 1
10146 cat >> confdefs.h <<\EOF
10147 #define HAVE_MODFF 1
10150 cat >> confdefs.h <<\EOF
10151 #define HAVE_POWF 1
10154 cat >> confdefs.h <<\EOF
10155 #define HAVE_SINF 1
10158 cat >> confdefs.h <<\EOF
10159 #define HAVE_SINHF 1
10162 cat >> confdefs.h <<\EOF
10163 #define HAVE_SQRTF 1
10166 cat >> confdefs.h <<\EOF
10167 #define HAVE_TANF 1
10170 cat >> confdefs.h <<\EOF
10171 #define HAVE_TANHF 1
10177 # At some point, we should differentiate between architectures
10178 # like x86, which have long double versions, and alpha/powerpc/etc.,
10179 # which don't. For the time being, punt.
10180 if test x"long_double_math_on_this_cpu" = x"yes"; then
10181 cat >> confdefs.h <<\EOF
10182 #define HAVE_ACOSL 1
10185 cat >> confdefs.h <<\EOF
10186 #define HAVE_ASINL 1
10189 cat >> confdefs.h <<\EOF
10190 #define HAVE_ATAN2L 1
10193 cat >> confdefs.h <<\EOF
10194 #define HAVE_ATANL 1
10197 cat >> confdefs.h <<\EOF
10198 #define HAVE_CEILL 1
10201 cat >> confdefs.h <<\EOF
10202 #define HAVE_COPYSIGNL 1
10205 cat >> confdefs.h <<\EOF
10206 #define HAVE_COSL 1
10209 cat >> confdefs.h <<\EOF
10210 #define HAVE_COSHL 1
10213 cat >> confdefs.h <<\EOF
10214 #define HAVE_EXPL 1
10217 cat >> confdefs.h <<\EOF
10218 #define HAVE_FABSL 1
10221 cat >> confdefs.h <<\EOF
10222 #define HAVE_FLOORL 1
10225 cat >> confdefs.h <<\EOF
10226 #define HAVE_FMODL 1
10229 cat >> confdefs.h <<\EOF
10230 #define HAVE_FREXPL 1
10233 cat >> confdefs.h <<\EOF
10234 #define HAVE_LDEXPL 1
10237 cat >> confdefs.h <<\EOF
10238 #define HAVE_LOG10L 1
10241 cat >> confdefs.h <<\EOF
10242 #define HAVE_LOGL 1
10245 cat >> confdefs.h <<\EOF
10246 #define HAVE_MODFL 1
10249 cat >> confdefs.h <<\EOF
10250 #define HAVE_POWL 1
10253 cat >> confdefs.h <<\EOF
10254 #define HAVE_SINCOSL 1
10257 cat >> confdefs.h <<\EOF
10258 #define HAVE_SINL 1
10261 cat >> confdefs.h <<\EOF
10262 #define HAVE_SINHL 1
10265 cat >> confdefs.h <<\EOF
10266 #define HAVE_SQRTL 1
10269 cat >> confdefs.h <<\EOF
10270 #define HAVE_TANL 1
10273 cat >> confdefs.h <<\EOF
10274 #define HAVE_TANHL 1
10281 # We are being configured natively. We can do more elaborate tests
10282 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10284 GLIBCPP_IS_CROSS_COMPILING=0
10287 # Check for available headers.
10288 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10289 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
10291 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10292 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10293 echo "configure:10294: checking for $ac_hdr" >&5
10294 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10295 echo $ac_n "(cached) $ac_c" 1>&6
10297 cat > conftest.$ac_ext <<EOF
10298 #line 10299 "configure"
10299 #include "confdefs.h"
10302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10303 { (eval echo configure:10304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10305 if test -z "$ac_err"; then
10307 eval "ac_cv_header_$ac_safe=yes"
10310 echo "configure: failed program was:" >&5
10311 cat conftest.$ac_ext >&5
10313 eval "ac_cv_header_$ac_safe=no"
10317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10318 echo "$ac_t""yes" 1>&6
10319 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10320 cat >> confdefs.h <<EOF
10321 #define $ac_tr_hdr 1
10325 echo "$ac_t""no" 1>&6
10331 # All these tests are for C++; save the language and the compiler flags.
10332 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10333 # found in GLIBCPP_CONFIGURE.
10336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10337 ac_cpp='$CXXCPP $CPPFLAGS'
10338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10340 cross_compiling=$ac_cv_prog_cxx_cross
10342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10343 ac_save_CXXFLAGS="$CXXFLAGS"
10345 # Check for maintainer-mode bits.
10346 if test x"$USE_MAINTAINER_MODE" = xno; then
10352 # Check for -ffunction-sections -fdata-sections
10353 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
10354 echo "configure:10355: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
10355 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10356 cat > conftest.$ac_ext <<EOF
10357 #line 10358 "configure"
10358 #include "confdefs.h"
10365 if { (eval echo configure:10366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10369 echo "configure: failed program was:" >&5
10370 cat conftest.$ac_ext >&5
10375 if test "$ac_test_CXXFLAGS" = set; then
10376 CXXFLAGS="$ac_save_CXXFLAGS"
10378 # this is the suspicious part
10381 if test x"$ac_fdsections" = x"yes" &&
10382 test x"$enable_debug" = x"no"; then
10383 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10385 echo "$ac_t""$ac_fdsections" 1>&6
10388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10389 ac_cpp='$CPP $CPPFLAGS'
10390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10392 cross_compiling=$ac_cv_prog_cc_cross
10398 # If we're not using GNU ld, then there's no point in even trying these
10399 # tests. Check for that first. We should have already tested for gld
10400 # by now (in libtool), but require it now just to be safe...
10401 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10402 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10405 # The name set by libtool depends on the version of libtool. Shame on us
10406 # for depending on an impl detail, but c'est la vie. Older versions used
10407 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10408 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10409 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10410 # set (hence we're using an older libtool), then set it.
10411 if test x${with_gnu_ld+set} != xset; then
10412 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10413 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
10416 with_gnu_ld=$ac_cv_prog_gnu_ld
10420 # Start by getting the version number. I think the libtool test already
10421 # does some of this, but throws away the result.
10423 ldver=`$LD --version 2>/dev/null | head -1 | \
10424 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10426 glibcpp_gnu_ld_version=`echo $ldver | \
10427 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10429 # Set --gc-sections.
10430 if test "$with_gnu_ld" = "notbroken"; then
10431 # GNU ld it is! Joy and bunny rabbits!
10433 # All these tests are for C++; save the language and the compiler flags.
10434 # Need to do this so that g++ won't try to link in libstdc++
10435 ac_test_CFLAGS="${CFLAGS+set}"
10436 ac_save_CFLAGS="$CFLAGS"
10437 CFLAGS='-x c++ -Wl,--gc-sections'
10439 # Check for -Wl,--gc-sections
10440 # XXX This test is broken at the moment, as symbols required for
10441 # linking are now in libsupc++ (not built yet.....). In addition,
10442 # this test has cored on solaris in the past. In addition,
10443 # --gc-sections doesn't really work at the moment (keeps on discarding
10444 # used sections, first .eh_frame and now some of the glibc sections for
10445 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10446 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
10447 echo "configure:10448: checking for ld that supports -Wl,--gc-sections" >&5
10448 if test "$cross_compiling" = yes; then
10449 ac_sectionLDflags=yes
10451 cat > conftest.$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10463 if { (eval echo configure:10464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10465 ac_sectionLDflags=yes
10467 echo "configure: failed program was:" >&5
10468 cat conftest.$ac_ext >&5
10470 ac_sectionLDflags=no
10475 if test "$ac_test_CFLAGS" = set; then
10476 CFLAGS="$ac_save_CFLAGS"
10478 # this is the suspicious part
10481 if test "$ac_sectionLDflags" = "yes"; then
10482 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10484 echo "$ac_t""$ac_sectionLDflags" 1>&6
10487 # Set linker optimization flags.
10488 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
10489 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10497 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
10498 echo "configure:10499: checking for __builtin_abs declaration" >&5
10499 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
10500 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
10501 echo $ac_n "(cached) $ac_c" 1>&6
10506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10507 ac_cpp='$CXXCPP $CPPFLAGS'
10508 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10509 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10510 cross_compiling=$ac_cv_prog_cxx_cross
10512 cat > conftest.$ac_ext <<EOF
10513 #line 10514 "configure"
10514 #include "confdefs.h"
10520 if { (eval echo configure:10521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10522 glibcpp_cv_func___builtin_abs_use=yes
10524 echo "configure: failed program was:" >&5
10525 cat conftest.$ac_ext >&5
10527 glibcpp_cv_func___builtin_abs_use=no
10531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10532 ac_cpp='$CPP $CPPFLAGS'
10533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10535 cross_compiling=$ac_cv_prog_cc_cross
10541 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
10542 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
10543 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
10544 echo "configure:10545: checking for __builtin_abs linkage" >&5
10545 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
10546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
10547 echo $ac_n "(cached) $ac_c" 1>&6
10550 cat > conftest.$ac_ext <<EOF
10551 #line 10552 "configure"
10552 #include "confdefs.h"
10558 if { (eval echo configure:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10560 glibcpp_cv_func___builtin_abs_link=yes
10562 echo "configure: failed program was:" >&5
10563 cat conftest.$ac_ext >&5
10565 glibcpp_cv_func___builtin_abs_link=no
10572 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
10573 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
10574 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10575 cat >> confdefs.h <<EOF
10576 #define ${ac_tr_func} 1
10583 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
10584 echo "configure:10585: checking for __builtin_fabsf declaration" >&5
10585 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
10586 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
10587 echo $ac_n "(cached) $ac_c" 1>&6
10592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp='$CXXCPP $CPPFLAGS'
10594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling=$ac_cv_prog_cxx_cross
10598 cat > conftest.$ac_ext <<EOF
10599 #line 10600 "configure"
10600 #include "confdefs.h"
10603 __builtin_fabsf(0);
10606 if { (eval echo configure:10607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10608 glibcpp_cv_func___builtin_fabsf_use=yes
10610 echo "configure: failed program was:" >&5
10611 cat conftest.$ac_ext >&5
10613 glibcpp_cv_func___builtin_fabsf_use=no
10617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10618 ac_cpp='$CPP $CPPFLAGS'
10619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10620 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10621 cross_compiling=$ac_cv_prog_cc_cross
10627 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
10628 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
10629 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
10630 echo "configure:10631: checking for __builtin_fabsf linkage" >&5
10631 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
10632 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
10633 echo $ac_n "(cached) $ac_c" 1>&6
10636 cat > conftest.$ac_ext <<EOF
10637 #line 10638 "configure"
10638 #include "confdefs.h"
10641 __builtin_fabsf(0);
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10646 glibcpp_cv_func___builtin_fabsf_link=yes
10648 echo "configure: failed program was:" >&5
10649 cat conftest.$ac_ext >&5
10651 glibcpp_cv_func___builtin_fabsf_link=no
10658 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
10659 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
10660 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10661 cat >> confdefs.h <<EOF
10662 #define ${ac_tr_func} 1
10669 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
10670 echo "configure:10671: checking for __builtin_fabs declaration" >&5
10671 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
10672 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
10673 echo $ac_n "(cached) $ac_c" 1>&6
10678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10679 ac_cpp='$CXXCPP $CPPFLAGS'
10680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10682 cross_compiling=$ac_cv_prog_cxx_cross
10684 cat > conftest.$ac_ext <<EOF
10685 #line 10686 "configure"
10686 #include "confdefs.h"
10692 if { (eval echo configure:10693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10694 glibcpp_cv_func___builtin_fabs_use=yes
10696 echo "configure: failed program was:" >&5
10697 cat conftest.$ac_ext >&5
10699 glibcpp_cv_func___builtin_fabs_use=no
10703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10704 ac_cpp='$CPP $CPPFLAGS'
10705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10707 cross_compiling=$ac_cv_prog_cc_cross
10713 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
10714 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
10715 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
10716 echo "configure:10717: checking for __builtin_fabs linkage" >&5
10717 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
10718 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10722 cat > conftest.$ac_ext <<EOF
10723 #line 10724 "configure"
10724 #include "confdefs.h"
10730 if { (eval echo configure:10731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10732 glibcpp_cv_func___builtin_fabs_link=yes
10734 echo "configure: failed program was:" >&5
10735 cat conftest.$ac_ext >&5
10737 glibcpp_cv_func___builtin_fabs_link=no
10744 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
10745 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
10746 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10747 cat >> confdefs.h <<EOF
10748 #define ${ac_tr_func} 1
10755 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
10756 echo "configure:10757: checking for __builtin_fabsl declaration" >&5
10757 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
10758 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
10759 echo $ac_n "(cached) $ac_c" 1>&6
10764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10765 ac_cpp='$CXXCPP $CPPFLAGS'
10766 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10767 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10768 cross_compiling=$ac_cv_prog_cxx_cross
10770 cat > conftest.$ac_ext <<EOF
10771 #line 10772 "configure"
10772 #include "confdefs.h"
10775 __builtin_fabsl(0);
10778 if { (eval echo configure:10779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10780 glibcpp_cv_func___builtin_fabsl_use=yes
10782 echo "configure: failed program was:" >&5
10783 cat conftest.$ac_ext >&5
10785 glibcpp_cv_func___builtin_fabsl_use=no
10789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10790 ac_cpp='$CPP $CPPFLAGS'
10791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10793 cross_compiling=$ac_cv_prog_cc_cross
10799 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
10800 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
10801 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
10802 echo "configure:10803: checking for __builtin_fabsl linkage" >&5
10803 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
10804 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
10805 echo $ac_n "(cached) $ac_c" 1>&6
10808 cat > conftest.$ac_ext <<EOF
10809 #line 10810 "configure"
10810 #include "confdefs.h"
10813 __builtin_fabsl(0);
10816 if { (eval echo configure:10817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10818 glibcpp_cv_func___builtin_fabsl_link=yes
10820 echo "configure: failed program was:" >&5
10821 cat conftest.$ac_ext >&5
10823 glibcpp_cv_func___builtin_fabsl_link=no
10830 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
10831 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
10832 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10833 cat >> confdefs.h <<EOF
10834 #define ${ac_tr_func} 1
10841 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
10842 echo "configure:10843: checking for __builtin_labs declaration" >&5
10843 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
10844 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
10845 echo $ac_n "(cached) $ac_c" 1>&6
10850 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10851 ac_cpp='$CXXCPP $CPPFLAGS'
10852 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10853 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10854 cross_compiling=$ac_cv_prog_cxx_cross
10856 cat > conftest.$ac_ext <<EOF
10857 #line 10858 "configure"
10858 #include "confdefs.h"
10864 if { (eval echo configure:10865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10866 glibcpp_cv_func___builtin_labs_use=yes
10868 echo "configure: failed program was:" >&5
10869 cat conftest.$ac_ext >&5
10871 glibcpp_cv_func___builtin_labs_use=no
10875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10876 ac_cpp='$CPP $CPPFLAGS'
10877 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10878 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10879 cross_compiling=$ac_cv_prog_cc_cross
10885 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
10886 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
10887 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
10888 echo "configure:10889: checking for __builtin_labs linkage" >&5
10889 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
10890 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
10891 echo $ac_n "(cached) $ac_c" 1>&6
10894 cat > conftest.$ac_ext <<EOF
10895 #line 10896 "configure"
10896 #include "confdefs.h"
10902 if { (eval echo configure:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10904 glibcpp_cv_func___builtin_labs_link=yes
10906 echo "configure: failed program was:" >&5
10907 cat conftest.$ac_ext >&5
10909 glibcpp_cv_func___builtin_labs_link=no
10916 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
10917 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
10918 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10919 cat >> confdefs.h <<EOF
10920 #define ${ac_tr_func} 1
10928 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
10929 echo "configure:10930: checking for __builtin_sqrtf declaration" >&5
10930 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
10931 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
10932 echo $ac_n "(cached) $ac_c" 1>&6
10937 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10938 ac_cpp='$CXXCPP $CPPFLAGS'
10939 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10940 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10941 cross_compiling=$ac_cv_prog_cxx_cross
10943 cat > conftest.$ac_ext <<EOF
10944 #line 10945 "configure"
10945 #include "confdefs.h"
10948 __builtin_sqrtf(0);
10951 if { (eval echo configure:10952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10953 glibcpp_cv_func___builtin_sqrtf_use=yes
10955 echo "configure: failed program was:" >&5
10956 cat conftest.$ac_ext >&5
10958 glibcpp_cv_func___builtin_sqrtf_use=no
10962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10963 ac_cpp='$CPP $CPPFLAGS'
10964 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10965 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10966 cross_compiling=$ac_cv_prog_cc_cross
10972 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
10973 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
10974 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
10975 echo "configure:10976: checking for __builtin_sqrtf linkage" >&5
10976 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
10977 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
10978 echo $ac_n "(cached) $ac_c" 1>&6
10981 cat > conftest.$ac_ext <<EOF
10982 #line 10983 "configure"
10983 #include "confdefs.h"
10986 __builtin_sqrtf(0);
10989 if { (eval echo configure:10990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10991 glibcpp_cv_func___builtin_sqrtf_link=yes
10993 echo "configure: failed program was:" >&5
10994 cat conftest.$ac_ext >&5
10996 glibcpp_cv_func___builtin_sqrtf_link=no
11003 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
11004 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
11005 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11006 cat >> confdefs.h <<EOF
11007 #define ${ac_tr_func} 1
11014 echo $ac_n "checking for __builtin_sqrt declaration""... $ac_c" 1>&6
11015 echo "configure:11016: checking for __builtin_sqrt declaration" >&5
11016 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
11017 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
11018 echo $ac_n "(cached) $ac_c" 1>&6
11023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11024 ac_cpp='$CXXCPP $CPPFLAGS'
11025 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11026 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11027 cross_compiling=$ac_cv_prog_cxx_cross
11029 cat > conftest.$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11037 if { (eval echo configure:11038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11039 glibcpp_cv_func___builtin_sqrt_use=yes
11041 echo "configure: failed program was:" >&5
11042 cat conftest.$ac_ext >&5
11044 glibcpp_cv_func___builtin_sqrt_use=no
11048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11049 ac_cpp='$CPP $CPPFLAGS'
11050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11052 cross_compiling=$ac_cv_prog_cc_cross
11058 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
11059 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
11060 echo $ac_n "checking for __builtin_sqrt linkage""... $ac_c" 1>&6
11061 echo "configure:11062: checking for __builtin_sqrt linkage" >&5
11062 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
11063 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
11064 echo $ac_n "(cached) $ac_c" 1>&6
11067 cat > conftest.$ac_ext <<EOF
11068 #line 11069 "configure"
11069 #include "confdefs.h"
11075 if { (eval echo configure:11076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11077 glibcpp_cv_func___builtin_sqrt_link=yes
11079 echo "configure: failed program was:" >&5
11080 cat conftest.$ac_ext >&5
11082 glibcpp_cv_func___builtin_sqrt_link=no
11089 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
11090 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
11091 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11092 cat >> confdefs.h <<EOF
11093 #define ${ac_tr_func} 1
11100 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
11101 echo "configure:11102: checking for __builtin_sqrtl declaration" >&5
11102 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
11103 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
11104 echo $ac_n "(cached) $ac_c" 1>&6
11109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11110 ac_cpp='$CXXCPP $CPPFLAGS'
11111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11113 cross_compiling=$ac_cv_prog_cxx_cross
11115 cat > conftest.$ac_ext <<EOF
11116 #line 11117 "configure"
11117 #include "confdefs.h"
11120 __builtin_sqrtl(0);
11123 if { (eval echo configure:11124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11125 glibcpp_cv_func___builtin_sqrtl_use=yes
11127 echo "configure: failed program was:" >&5
11128 cat conftest.$ac_ext >&5
11130 glibcpp_cv_func___builtin_sqrtl_use=no
11134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11135 ac_cpp='$CPP $CPPFLAGS'
11136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11138 cross_compiling=$ac_cv_prog_cc_cross
11144 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
11145 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
11146 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
11147 echo "configure:11148: checking for __builtin_sqrtl linkage" >&5
11148 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
11149 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
11150 echo $ac_n "(cached) $ac_c" 1>&6
11153 cat > conftest.$ac_ext <<EOF
11154 #line 11155 "configure"
11155 #include "confdefs.h"
11158 __builtin_sqrtl(0);
11161 if { (eval echo configure:11162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11163 glibcpp_cv_func___builtin_sqrtl_link=yes
11165 echo "configure: failed program was:" >&5
11166 cat conftest.$ac_ext >&5
11168 glibcpp_cv_func___builtin_sqrtl_link=no
11175 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
11176 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
11177 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11178 cat >> confdefs.h <<EOF
11179 #define ${ac_tr_func} 1
11187 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
11188 echo "configure:11189: checking for __builtin_sinf declaration" >&5
11189 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
11190 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
11191 echo $ac_n "(cached) $ac_c" 1>&6
11196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11197 ac_cpp='$CXXCPP $CPPFLAGS'
11198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11200 cross_compiling=$ac_cv_prog_cxx_cross
11202 cat > conftest.$ac_ext <<EOF
11203 #line 11204 "configure"
11204 #include "confdefs.h"
11210 if { (eval echo configure:11211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11212 glibcpp_cv_func___builtin_sinf_use=yes
11214 echo "configure: failed program was:" >&5
11215 cat conftest.$ac_ext >&5
11217 glibcpp_cv_func___builtin_sinf_use=no
11221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11222 ac_cpp='$CPP $CPPFLAGS'
11223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11225 cross_compiling=$ac_cv_prog_cc_cross
11231 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
11232 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
11233 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
11234 echo "configure:11235: checking for __builtin_sinf linkage" >&5
11235 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
11236 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
11237 echo $ac_n "(cached) $ac_c" 1>&6
11240 cat > conftest.$ac_ext <<EOF
11241 #line 11242 "configure"
11242 #include "confdefs.h"
11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11250 glibcpp_cv_func___builtin_sinf_link=yes
11252 echo "configure: failed program was:" >&5
11253 cat conftest.$ac_ext >&5
11255 glibcpp_cv_func___builtin_sinf_link=no
11262 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
11263 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
11264 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11265 cat >> confdefs.h <<EOF
11266 #define ${ac_tr_func} 1
11273 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
11274 echo "configure:11275: checking for __builtin_sin declaration" >&5
11275 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
11276 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11283 ac_cpp='$CXXCPP $CPPFLAGS'
11284 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11285 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11286 cross_compiling=$ac_cv_prog_cxx_cross
11288 cat > conftest.$ac_ext <<EOF
11289 #line 11290 "configure"
11290 #include "confdefs.h"
11296 if { (eval echo configure:11297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11298 glibcpp_cv_func___builtin_sin_use=yes
11300 echo "configure: failed program was:" >&5
11301 cat conftest.$ac_ext >&5
11303 glibcpp_cv_func___builtin_sin_use=no
11307 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11308 ac_cpp='$CPP $CPPFLAGS'
11309 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11310 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11311 cross_compiling=$ac_cv_prog_cc_cross
11317 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
11318 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
11319 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
11320 echo "configure:11321: checking for __builtin_sin linkage" >&5
11321 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
11322 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
11323 echo $ac_n "(cached) $ac_c" 1>&6
11326 cat > conftest.$ac_ext <<EOF
11327 #line 11328 "configure"
11328 #include "confdefs.h"
11334 if { (eval echo configure:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11336 glibcpp_cv_func___builtin_sin_link=yes
11338 echo "configure: failed program was:" >&5
11339 cat conftest.$ac_ext >&5
11341 glibcpp_cv_func___builtin_sin_link=no
11348 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
11349 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
11350 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11351 cat >> confdefs.h <<EOF
11352 #define ${ac_tr_func} 1
11359 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
11360 echo "configure:11361: checking for __builtin_sinl declaration" >&5
11361 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
11362 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11369 ac_cpp='$CXXCPP $CPPFLAGS'
11370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11372 cross_compiling=$ac_cv_prog_cxx_cross
11374 cat > conftest.$ac_ext <<EOF
11375 #line 11376 "configure"
11376 #include "confdefs.h"
11382 if { (eval echo configure:11383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11384 glibcpp_cv_func___builtin_sinl_use=yes
11386 echo "configure: failed program was:" >&5
11387 cat conftest.$ac_ext >&5
11389 glibcpp_cv_func___builtin_sinl_use=no
11393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11394 ac_cpp='$CPP $CPPFLAGS'
11395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11397 cross_compiling=$ac_cv_prog_cc_cross
11403 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
11404 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
11405 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
11406 echo "configure:11407: checking for __builtin_sinl linkage" >&5
11407 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
11408 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11412 cat > conftest.$ac_ext <<EOF
11413 #line 11414 "configure"
11414 #include "confdefs.h"
11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11422 glibcpp_cv_func___builtin_sinl_link=yes
11424 echo "configure: failed program was:" >&5
11425 cat conftest.$ac_ext >&5
11427 glibcpp_cv_func___builtin_sinl_link=no
11434 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
11435 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
11436 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11437 cat >> confdefs.h <<EOF
11438 #define ${ac_tr_func} 1
11446 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
11447 echo "configure:11448: checking for __builtin_cosf declaration" >&5
11448 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
11449 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
11450 echo $ac_n "(cached) $ac_c" 1>&6
11455 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11456 ac_cpp='$CXXCPP $CPPFLAGS'
11457 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11458 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11459 cross_compiling=$ac_cv_prog_cxx_cross
11461 cat > conftest.$ac_ext <<EOF
11462 #line 11463 "configure"
11463 #include "confdefs.h"
11469 if { (eval echo configure:11470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11471 glibcpp_cv_func___builtin_cosf_use=yes
11473 echo "configure: failed program was:" >&5
11474 cat conftest.$ac_ext >&5
11476 glibcpp_cv_func___builtin_cosf_use=no
11480 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11481 ac_cpp='$CPP $CPPFLAGS'
11482 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11483 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11484 cross_compiling=$ac_cv_prog_cc_cross
11490 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
11491 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
11492 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
11493 echo "configure:11494: checking for __builtin_cosf linkage" >&5
11494 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
11495 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
11496 echo $ac_n "(cached) $ac_c" 1>&6
11499 cat > conftest.$ac_ext <<EOF
11500 #line 11501 "configure"
11501 #include "confdefs.h"
11507 if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11509 glibcpp_cv_func___builtin_cosf_link=yes
11511 echo "configure: failed program was:" >&5
11512 cat conftest.$ac_ext >&5
11514 glibcpp_cv_func___builtin_cosf_link=no
11521 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
11522 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
11523 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11524 cat >> confdefs.h <<EOF
11525 #define ${ac_tr_func} 1
11532 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
11533 echo "configure:11534: checking for __builtin_cos declaration" >&5
11534 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
11535 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
11536 echo $ac_n "(cached) $ac_c" 1>&6
11541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11542 ac_cpp='$CXXCPP $CPPFLAGS'
11543 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11544 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11545 cross_compiling=$ac_cv_prog_cxx_cross
11547 cat > conftest.$ac_ext <<EOF
11548 #line 11549 "configure"
11549 #include "confdefs.h"
11555 if { (eval echo configure:11556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11557 glibcpp_cv_func___builtin_cos_use=yes
11559 echo "configure: failed program was:" >&5
11560 cat conftest.$ac_ext >&5
11562 glibcpp_cv_func___builtin_cos_use=no
11566 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11567 ac_cpp='$CPP $CPPFLAGS'
11568 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11569 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11570 cross_compiling=$ac_cv_prog_cc_cross
11576 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
11577 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
11578 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
11579 echo "configure:11580: checking for __builtin_cos linkage" >&5
11580 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
11581 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
11582 echo $ac_n "(cached) $ac_c" 1>&6
11585 cat > conftest.$ac_ext <<EOF
11586 #line 11587 "configure"
11587 #include "confdefs.h"
11593 if { (eval echo configure:11594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11595 glibcpp_cv_func___builtin_cos_link=yes
11597 echo "configure: failed program was:" >&5
11598 cat conftest.$ac_ext >&5
11600 glibcpp_cv_func___builtin_cos_link=no
11607 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
11608 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
11609 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11610 cat >> confdefs.h <<EOF
11611 #define ${ac_tr_func} 1
11618 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
11619 echo "configure:11620: checking for __builtin_cosl declaration" >&5
11620 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
11621 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
11622 echo $ac_n "(cached) $ac_c" 1>&6
11627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11628 ac_cpp='$CXXCPP $CPPFLAGS'
11629 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11630 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11631 cross_compiling=$ac_cv_prog_cxx_cross
11633 cat > conftest.$ac_ext <<EOF
11634 #line 11635 "configure"
11635 #include "confdefs.h"
11641 if { (eval echo configure:11642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11643 glibcpp_cv_func___builtin_cosl_use=yes
11645 echo "configure: failed program was:" >&5
11646 cat conftest.$ac_ext >&5
11648 glibcpp_cv_func___builtin_cosl_use=no
11652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11653 ac_cpp='$CPP $CPPFLAGS'
11654 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11655 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11656 cross_compiling=$ac_cv_prog_cc_cross
11662 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
11663 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
11664 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
11665 echo "configure:11666: checking for __builtin_cosl linkage" >&5
11666 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
11667 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11671 cat > conftest.$ac_ext <<EOF
11672 #line 11673 "configure"
11673 #include "confdefs.h"
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11681 glibcpp_cv_func___builtin_cosl_link=yes
11683 echo "configure: failed program was:" >&5
11684 cat conftest.$ac_ext >&5
11686 glibcpp_cv_func___builtin_cosl_link=no
11693 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
11694 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
11695 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11696 cat >> confdefs.h <<EOF
11697 #define ${ac_tr_func} 1
11705 if test x$dummyvar = x"yes"; then
11706 cat >> confdefs.h <<\EOF
11707 #define HAVE___BUILTIN_ABS 1
11710 cat >> confdefs.h <<\EOF
11711 #define HAVE___BUILTIN_LABS 1
11714 cat >> confdefs.h <<\EOF
11715 #define HAVE___BUILTIN_COS 1
11718 cat >> confdefs.h <<\EOF
11719 #define HAVE___BUILTIN_COSF 1
11722 cat >> confdefs.h <<\EOF
11723 #define HAVE___BUILTIN_COSL 1
11726 cat >> confdefs.h <<\EOF
11727 #define HAVE___BUILTIN_FABS 1
11730 cat >> confdefs.h <<\EOF
11731 #define HAVE___BUILTIN_FABSF 1
11734 cat >> confdefs.h <<\EOF
11735 #define HAVE___BUILTIN_FABSL 1
11738 cat >> confdefs.h <<\EOF
11739 #define HAVE___BUILTIN_SIN 1
11742 cat >> confdefs.h <<\EOF
11743 #define HAVE___BUILTIN_SINF 1
11746 cat >> confdefs.h <<\EOF
11747 #define HAVE___BUILTIN_SINL 1
11750 cat >> confdefs.h <<\EOF
11751 #define HAVE___BUILTIN_SQRT 1
11754 cat >> confdefs.h <<\EOF
11755 #define HAVE___BUILTIN_SQRTF 1
11758 cat >> confdefs.h <<\EOF
11759 #define HAVE___BUILTIN_SQRTL 1
11765 ac_test_CXXFLAGS="${CXXFLAGS+set}"
11766 ac_save_CXXFLAGS="$CXXFLAGS"
11767 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
11769 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
11770 echo "configure:11771: checking for sin in -lm" >&5
11771 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
11772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11773 echo $ac_n "(cached) $ac_c" 1>&6
11775 ac_save_LIBS="$LIBS"
11777 cat > conftest.$ac_ext <<EOF
11778 #line 11779 "configure"
11779 #include "confdefs.h"
11780 /* Override any gcc2 internal prototype to avoid an error. */
11781 /* We use char because int might match the return type of a gcc2
11782 builtin and then its argument prototype would still apply. */
11789 if { (eval echo configure:11790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11791 eval "ac_cv_lib_$ac_lib_var=yes"
11793 echo "configure: failed program was:" >&5
11794 cat conftest.$ac_ext >&5
11796 eval "ac_cv_lib_$ac_lib_var=no"
11799 LIBS="$ac_save_LIBS"
11802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11803 echo "$ac_t""yes" 1>&6
11806 echo "$ac_t""no" 1>&6
11809 ac_save_LIBS="$LIBS"
11814 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
11815 echo "configure:11816: checking for isinf declaration" >&5
11816 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
11817 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
11818 echo $ac_n "(cached) $ac_c" 1>&6
11823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11824 ac_cpp='$CXXCPP $CPPFLAGS'
11825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11827 cross_compiling=$ac_cv_prog_cxx_cross
11829 cat > conftest.$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11833 #ifdef HAVE_IEEEFP_H
11834 #include <ieeefp.h>
11841 if { (eval echo configure:11842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11843 glibcpp_cv_func_isinf_use=yes
11845 echo "configure: failed program was:" >&5
11846 cat conftest.$ac_ext >&5
11848 glibcpp_cv_func_isinf_use=no
11852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11856 cross_compiling=$ac_cv_prog_cc_cross
11862 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
11864 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
11865 for ac_func in isinf
11867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11868 echo "configure:11869: checking for $ac_func" >&5
11869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11870 echo $ac_n "(cached) $ac_c" 1>&6
11872 cat > conftest.$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 /* System header to define __stub macros and hopefully few prototypes,
11876 which can conflict with char $ac_func(); below. */
11877 #include <assert.h>
11878 /* Override any gcc2 internal prototype to avoid an error. */
11879 /* We use char because int might match the return type of a gcc2
11880 builtin and then its argument prototype would still apply. */
11885 /* The GNU C library defines this for functions which it implements
11886 to always fail with ENOSYS. Some functions are actually named
11887 something starting with __ and the normal name is an alias. */
11888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11898 eval "ac_cv_func_$ac_func=yes"
11900 echo "configure: failed program was:" >&5
11901 cat conftest.$ac_ext >&5
11903 eval "ac_cv_func_$ac_func=no"
11908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11909 echo "$ac_t""yes" 1>&6
11910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11911 cat >> confdefs.h <<EOF
11912 #define $ac_tr_func 1
11916 echo "$ac_t""no" 1>&6
11922 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
11923 echo "configure:11924: checking for _isinf declaration" >&5
11924 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
11925 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
11926 echo $ac_n "(cached) $ac_c" 1>&6
11931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11932 ac_cpp='$CXXCPP $CPPFLAGS'
11933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11935 cross_compiling=$ac_cv_prog_cxx_cross
11937 cat > conftest.$ac_ext <<EOF
11938 #line 11939 "configure"
11939 #include "confdefs.h"
11941 #ifdef HAVE_IEEEFP_H
11942 #include <ieeefp.h>
11949 if { (eval echo configure:11950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11951 glibcpp_cv_func__isinf_use=yes
11953 echo "configure: failed program was:" >&5
11954 cat conftest.$ac_ext >&5
11956 glibcpp_cv_func__isinf_use=no
11960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11964 cross_compiling=$ac_cv_prog_cc_cross
11970 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11972 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11973 for ac_func in _isinf
11975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11976 echo "configure:11977: checking for $ac_func" >&5
11977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11978 echo $ac_n "(cached) $ac_c" 1>&6
11980 cat > conftest.$ac_ext <<EOF
11981 #line 11982 "configure"
11982 #include "confdefs.h"
11983 /* System header to define __stub macros and hopefully few prototypes,
11984 which can conflict with char $ac_func(); below. */
11985 #include <assert.h>
11986 /* Override any gcc2 internal prototype to avoid an error. */
11987 /* We use char because int might match the return type of a gcc2
11988 builtin and then its argument prototype would still apply. */
11993 /* The GNU C library defines this for functions which it implements
11994 to always fail with ENOSYS. Some functions are actually named
11995 something starting with __ and the normal name is an alias. */
11996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12004 if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12006 eval "ac_cv_func_$ac_func=yes"
12008 echo "configure: failed program was:" >&5
12009 cat conftest.$ac_ext >&5
12011 eval "ac_cv_func_$ac_func=no"
12016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12017 echo "$ac_t""yes" 1>&6
12018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12019 cat >> confdefs.h <<EOF
12020 #define $ac_tr_func 1
12024 echo "$ac_t""no" 1>&6
12033 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
12034 echo "configure:12035: checking for isnan declaration" >&5
12035 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
12036 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
12037 echo $ac_n "(cached) $ac_c" 1>&6
12042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12043 ac_cpp='$CXXCPP $CPPFLAGS'
12044 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12045 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12046 cross_compiling=$ac_cv_prog_cxx_cross
12048 cat > conftest.$ac_ext <<EOF
12049 #line 12050 "configure"
12050 #include "confdefs.h"
12052 #ifdef HAVE_IEEEFP_H
12053 #include <ieeefp.h>
12060 if { (eval echo configure:12061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12062 glibcpp_cv_func_isnan_use=yes
12064 echo "configure: failed program was:" >&5
12065 cat conftest.$ac_ext >&5
12067 glibcpp_cv_func_isnan_use=no
12071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12072 ac_cpp='$CPP $CPPFLAGS'
12073 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12074 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12075 cross_compiling=$ac_cv_prog_cc_cross
12081 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
12083 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
12084 for ac_func in isnan
12086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12087 echo "configure:12088: checking for $ac_func" >&5
12088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12089 echo $ac_n "(cached) $ac_c" 1>&6
12091 cat > conftest.$ac_ext <<EOF
12092 #line 12093 "configure"
12093 #include "confdefs.h"
12094 /* System header to define __stub macros and hopefully few prototypes,
12095 which can conflict with char $ac_func(); below. */
12096 #include <assert.h>
12097 /* Override any gcc2 internal prototype to avoid an error. */
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12104 /* The GNU C library defines this for functions which it implements
12105 to always fail with ENOSYS. Some functions are actually named
12106 something starting with __ and the normal name is an alias. */
12107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12115 if { (eval echo configure:12116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12117 eval "ac_cv_func_$ac_func=yes"
12119 echo "configure: failed program was:" >&5
12120 cat conftest.$ac_ext >&5
12122 eval "ac_cv_func_$ac_func=no"
12127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12128 echo "$ac_t""yes" 1>&6
12129 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12130 cat >> confdefs.h <<EOF
12131 #define $ac_tr_func 1
12135 echo "$ac_t""no" 1>&6
12141 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
12142 echo "configure:12143: checking for _isnan declaration" >&5
12143 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
12144 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
12145 echo $ac_n "(cached) $ac_c" 1>&6
12150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12151 ac_cpp='$CXXCPP $CPPFLAGS'
12152 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12153 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12154 cross_compiling=$ac_cv_prog_cxx_cross
12156 cat > conftest.$ac_ext <<EOF
12157 #line 12158 "configure"
12158 #include "confdefs.h"
12160 #ifdef HAVE_IEEEFP_H
12161 #include <ieeefp.h>
12168 if { (eval echo configure:12169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12170 glibcpp_cv_func__isnan_use=yes
12172 echo "configure: failed program was:" >&5
12173 cat conftest.$ac_ext >&5
12175 glibcpp_cv_func__isnan_use=no
12179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CPP $CPPFLAGS'
12181 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cc_cross
12189 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
12191 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
12192 for ac_func in _isnan
12194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12195 echo "configure:12196: checking for $ac_func" >&5
12196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12197 echo $ac_n "(cached) $ac_c" 1>&6
12199 cat > conftest.$ac_ext <<EOF
12200 #line 12201 "configure"
12201 #include "confdefs.h"
12202 /* System header to define __stub macros and hopefully few prototypes,
12203 which can conflict with char $ac_func(); below. */
12204 #include <assert.h>
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 /* We use char because int might match the return type of a gcc2
12207 builtin and then its argument prototype would still apply. */
12212 /* The GNU C library defines this for functions which it implements
12213 to always fail with ENOSYS. Some functions are actually named
12214 something starting with __ and the normal name is an alias. */
12215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12223 if { (eval echo configure:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12225 eval "ac_cv_func_$ac_func=yes"
12227 echo "configure: failed program was:" >&5
12228 cat conftest.$ac_ext >&5
12230 eval "ac_cv_func_$ac_func=no"
12235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12236 echo "$ac_t""yes" 1>&6
12237 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12238 cat >> confdefs.h <<EOF
12239 #define $ac_tr_func 1
12243 echo "$ac_t""no" 1>&6
12252 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
12253 echo "configure:12254: checking for finite declaration" >&5
12254 if test x${glibcpp_cv_func_finite_use+set} != xset; then
12255 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12262 ac_cpp='$CXXCPP $CPPFLAGS'
12263 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12264 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12265 cross_compiling=$ac_cv_prog_cxx_cross
12267 cat > conftest.$ac_ext <<EOF
12268 #line 12269 "configure"
12269 #include "confdefs.h"
12271 #ifdef HAVE_IEEEFP_H
12272 #include <ieeefp.h>
12279 if { (eval echo configure:12280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12281 glibcpp_cv_func_finite_use=yes
12283 echo "configure: failed program was:" >&5
12284 cat conftest.$ac_ext >&5
12286 glibcpp_cv_func_finite_use=no
12290 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12291 ac_cpp='$CPP $CPPFLAGS'
12292 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12293 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12294 cross_compiling=$ac_cv_prog_cc_cross
12300 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
12302 if test x$glibcpp_cv_func_finite_use = x"yes"; then
12303 for ac_func in finite
12305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12306 echo "configure:12307: checking for $ac_func" >&5
12307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char $ac_func(); below. */
12315 #include <assert.h>
12316 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 if { (eval echo configure:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12336 eval "ac_cv_func_$ac_func=yes"
12338 echo "configure: failed program was:" >&5
12339 cat conftest.$ac_ext >&5
12341 eval "ac_cv_func_$ac_func=no"
12346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12347 echo "$ac_t""yes" 1>&6
12348 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12349 cat >> confdefs.h <<EOF
12350 #define $ac_tr_func 1
12354 echo "$ac_t""no" 1>&6
12360 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
12361 echo "configure:12362: checking for _finite declaration" >&5
12362 if test x${glibcpp_cv_func__finite_use+set} != xset; then
12363 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
12364 echo $ac_n "(cached) $ac_c" 1>&6
12369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12370 ac_cpp='$CXXCPP $CPPFLAGS'
12371 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12372 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12373 cross_compiling=$ac_cv_prog_cxx_cross
12375 cat > conftest.$ac_ext <<EOF
12376 #line 12377 "configure"
12377 #include "confdefs.h"
12379 #ifdef HAVE_IEEEFP_H
12380 #include <ieeefp.h>
12387 if { (eval echo configure:12388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12389 glibcpp_cv_func__finite_use=yes
12391 echo "configure: failed program was:" >&5
12392 cat conftest.$ac_ext >&5
12394 glibcpp_cv_func__finite_use=no
12398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12399 ac_cpp='$CPP $CPPFLAGS'
12400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12402 cross_compiling=$ac_cv_prog_cc_cross
12408 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
12410 if test x$glibcpp_cv_func__finite_use = x"yes"; then
12411 for ac_func in _finite
12413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12414 echo "configure:12415: checking for $ac_func" >&5
12415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12416 echo $ac_n "(cached) $ac_c" 1>&6
12418 cat > conftest.$ac_ext <<EOF
12419 #line 12420 "configure"
12420 #include "confdefs.h"
12421 /* System header to define __stub macros and hopefully few prototypes,
12422 which can conflict with char $ac_func(); below. */
12423 #include <assert.h>
12424 /* Override any gcc2 internal prototype to avoid an error. */
12425 /* We use char because int might match the return type of a gcc2
12426 builtin and then its argument prototype would still apply. */
12431 /* The GNU C library defines this for functions which it implements
12432 to always fail with ENOSYS. Some functions are actually named
12433 something starting with __ and the normal name is an alias. */
12434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12442 if { (eval echo configure:12443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12444 eval "ac_cv_func_$ac_func=yes"
12446 echo "configure: failed program was:" >&5
12447 cat conftest.$ac_ext >&5
12449 eval "ac_cv_func_$ac_func=no"
12454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12455 echo "$ac_t""yes" 1>&6
12456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12457 cat >> confdefs.h <<EOF
12458 #define $ac_tr_func 1
12462 echo "$ac_t""no" 1>&6
12471 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
12472 echo "configure:12473: checking for copysign declaration" >&5
12473 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
12474 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
12475 echo $ac_n "(cached) $ac_c" 1>&6
12480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12481 ac_cpp='$CXXCPP $CPPFLAGS'
12482 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12483 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12484 cross_compiling=$ac_cv_prog_cxx_cross
12486 cat > conftest.$ac_ext <<EOF
12487 #line 12488 "configure"
12488 #include "confdefs.h"
12494 if { (eval echo configure:12495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12496 glibcpp_cv_func_copysign_use=yes
12498 echo "configure: failed program was:" >&5
12499 cat conftest.$ac_ext >&5
12501 glibcpp_cv_func_copysign_use=no
12505 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12509 cross_compiling=$ac_cv_prog_cc_cross
12515 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
12517 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
12518 for ac_func in copysign
12520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12521 echo "configure:12522: checking for $ac_func" >&5
12522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12523 echo $ac_n "(cached) $ac_c" 1>&6
12525 cat > conftest.$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12528 /* System header to define __stub macros and hopefully few prototypes,
12529 which can conflict with char $ac_func(); below. */
12530 #include <assert.h>
12531 /* Override any gcc2 internal prototype to avoid an error. */
12532 /* We use char because int might match the return type of a gcc2
12533 builtin and then its argument prototype would still apply. */
12538 /* The GNU C library defines this for functions which it implements
12539 to always fail with ENOSYS. Some functions are actually named
12540 something starting with __ and the normal name is an alias. */
12541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12549 if { (eval echo configure:12550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12551 eval "ac_cv_func_$ac_func=yes"
12553 echo "configure: failed program was:" >&5
12554 cat conftest.$ac_ext >&5
12556 eval "ac_cv_func_$ac_func=no"
12561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12562 echo "$ac_t""yes" 1>&6
12563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12564 cat >> confdefs.h <<EOF
12565 #define $ac_tr_func 1
12569 echo "$ac_t""no" 1>&6
12575 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
12576 echo "configure:12577: checking for _copysign declaration" >&5
12577 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
12578 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
12579 echo $ac_n "(cached) $ac_c" 1>&6
12584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12585 ac_cpp='$CXXCPP $CPPFLAGS'
12586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12588 cross_compiling=$ac_cv_prog_cxx_cross
12590 cat > conftest.$ac_ext <<EOF
12591 #line 12592 "configure"
12592 #include "confdefs.h"
12598 if { (eval echo configure:12599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12600 glibcpp_cv_func__copysign_use=yes
12602 echo "configure: failed program was:" >&5
12603 cat conftest.$ac_ext >&5
12605 glibcpp_cv_func__copysign_use=no
12609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12610 ac_cpp='$CPP $CPPFLAGS'
12611 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12612 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12613 cross_compiling=$ac_cv_prog_cc_cross
12619 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
12621 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
12622 for ac_func in _copysign
12624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12625 echo "configure:12626: checking for $ac_func" >&5
12626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12627 echo $ac_n "(cached) $ac_c" 1>&6
12629 cat > conftest.$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12632 /* System header to define __stub macros and hopefully few prototypes,
12633 which can conflict with char $ac_func(); below. */
12634 #include <assert.h>
12635 /* Override any gcc2 internal prototype to avoid an error. */
12636 /* We use char because int might match the return type of a gcc2
12637 builtin and then its argument prototype would still apply. */
12642 /* The GNU C library defines this for functions which it implements
12643 to always fail with ENOSYS. Some functions are actually named
12644 something starting with __ and the normal name is an alias. */
12645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12653 if { (eval echo configure:12654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12655 eval "ac_cv_func_$ac_func=yes"
12657 echo "configure: failed program was:" >&5
12658 cat conftest.$ac_ext >&5
12660 eval "ac_cv_func_$ac_func=no"
12665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12666 echo "$ac_t""yes" 1>&6
12667 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12668 cat >> confdefs.h <<EOF
12669 #define $ac_tr_func 1
12673 echo "$ac_t""no" 1>&6
12682 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
12683 echo "configure:12684: checking for sincos declaration" >&5
12684 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
12685 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
12686 echo $ac_n "(cached) $ac_c" 1>&6
12691 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12692 ac_cpp='$CXXCPP $CPPFLAGS'
12693 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12694 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12695 cross_compiling=$ac_cv_prog_cxx_cross
12697 cat > conftest.$ac_ext <<EOF
12698 #line 12699 "configure"
12699 #include "confdefs.h"
12705 if { (eval echo configure:12706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12707 glibcpp_cv_func_sincos_use=yes
12709 echo "configure: failed program was:" >&5
12710 cat conftest.$ac_ext >&5
12712 glibcpp_cv_func_sincos_use=no
12716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12717 ac_cpp='$CPP $CPPFLAGS'
12718 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12719 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12720 cross_compiling=$ac_cv_prog_cc_cross
12726 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
12728 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
12729 for ac_func in sincos
12731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12732 echo "configure:12733: checking for $ac_func" >&5
12733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12734 echo $ac_n "(cached) $ac_c" 1>&6
12736 cat > conftest.$ac_ext <<EOF
12737 #line 12738 "configure"
12738 #include "confdefs.h"
12739 /* System header to define __stub macros and hopefully few prototypes,
12740 which can conflict with char $ac_func(); below. */
12741 #include <assert.h>
12742 /* Override any gcc2 internal prototype to avoid an error. */
12743 /* We use char because int might match the return type of a gcc2
12744 builtin and then its argument prototype would still apply. */
12749 /* The GNU C library defines this for functions which it implements
12750 to always fail with ENOSYS. Some functions are actually named
12751 something starting with __ and the normal name is an alias. */
12752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12762 eval "ac_cv_func_$ac_func=yes"
12764 echo "configure: failed program was:" >&5
12765 cat conftest.$ac_ext >&5
12767 eval "ac_cv_func_$ac_func=no"
12772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12773 echo "$ac_t""yes" 1>&6
12774 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12775 cat >> confdefs.h <<EOF
12776 #define $ac_tr_func 1
12780 echo "$ac_t""no" 1>&6
12786 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
12787 echo "configure:12788: checking for _sincos declaration" >&5
12788 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
12789 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
12790 echo $ac_n "(cached) $ac_c" 1>&6
12795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12796 ac_cpp='$CXXCPP $CPPFLAGS'
12797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12799 cross_compiling=$ac_cv_prog_cxx_cross
12801 cat > conftest.$ac_ext <<EOF
12802 #line 12803 "configure"
12803 #include "confdefs.h"
12809 if { (eval echo configure:12810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12811 glibcpp_cv_func__sincos_use=yes
12813 echo "configure: failed program was:" >&5
12814 cat conftest.$ac_ext >&5
12816 glibcpp_cv_func__sincos_use=no
12820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12821 ac_cpp='$CPP $CPPFLAGS'
12822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12824 cross_compiling=$ac_cv_prog_cc_cross
12830 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
12832 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
12833 for ac_func in _sincos
12835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12836 echo "configure:12837: checking for $ac_func" >&5
12837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12838 echo $ac_n "(cached) $ac_c" 1>&6
12840 cat > conftest.$ac_ext <<EOF
12841 #line 12842 "configure"
12842 #include "confdefs.h"
12843 /* System header to define __stub macros and hopefully few prototypes,
12844 which can conflict with char $ac_func(); below. */
12845 #include <assert.h>
12846 /* Override any gcc2 internal prototype to avoid an error. */
12847 /* We use char because int might match the return type of a gcc2
12848 builtin and then its argument prototype would still apply. */
12853 /* The GNU C library defines this for functions which it implements
12854 to always fail with ENOSYS. Some functions are actually named
12855 something starting with __ and the normal name is an alias. */
12856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12864 if { (eval echo configure:12865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12866 eval "ac_cv_func_$ac_func=yes"
12868 echo "configure: failed program was:" >&5
12869 cat conftest.$ac_ext >&5
12871 eval "ac_cv_func_$ac_func=no"
12876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12877 echo "$ac_t""yes" 1>&6
12878 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12879 cat >> confdefs.h <<EOF
12880 #define $ac_tr_func 1
12884 echo "$ac_t""no" 1>&6
12893 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
12894 echo "configure:12895: checking for fpclass declaration" >&5
12895 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
12896 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
12897 echo $ac_n "(cached) $ac_c" 1>&6
12902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12903 ac_cpp='$CXXCPP $CPPFLAGS'
12904 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12905 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12906 cross_compiling=$ac_cv_prog_cxx_cross
12908 cat > conftest.$ac_ext <<EOF
12909 #line 12910 "configure"
12910 #include "confdefs.h"
12912 #ifdef HAVE_IEEEFP_H
12913 #include <ieeefp.h>
12920 if { (eval echo configure:12921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12922 glibcpp_cv_func_fpclass_use=yes
12924 echo "configure: failed program was:" >&5
12925 cat conftest.$ac_ext >&5
12927 glibcpp_cv_func_fpclass_use=no
12931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12935 cross_compiling=$ac_cv_prog_cc_cross
12941 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
12943 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
12944 for ac_func in fpclass
12946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12947 echo "configure:12948: checking for $ac_func" >&5
12948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12949 echo $ac_n "(cached) $ac_c" 1>&6
12951 cat > conftest.$ac_ext <<EOF
12952 #line 12953 "configure"
12953 #include "confdefs.h"
12954 /* System header to define __stub macros and hopefully few prototypes,
12955 which can conflict with char $ac_func(); below. */
12956 #include <assert.h>
12957 /* Override any gcc2 internal prototype to avoid an error. */
12958 /* We use char because int might match the return type of a gcc2
12959 builtin and then its argument prototype would still apply. */
12964 /* The GNU C library defines this for functions which it implements
12965 to always fail with ENOSYS. Some functions are actually named
12966 something starting with __ and the normal name is an alias. */
12967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12975 if { (eval echo configure:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12977 eval "ac_cv_func_$ac_func=yes"
12979 echo "configure: failed program was:" >&5
12980 cat conftest.$ac_ext >&5
12982 eval "ac_cv_func_$ac_func=no"
12987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12988 echo "$ac_t""yes" 1>&6
12989 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12990 cat >> confdefs.h <<EOF
12991 #define $ac_tr_func 1
12995 echo "$ac_t""no" 1>&6
13001 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
13002 echo "configure:13003: checking for _fpclass declaration" >&5
13003 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
13004 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
13005 echo $ac_n "(cached) $ac_c" 1>&6
13010 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13011 ac_cpp='$CXXCPP $CPPFLAGS'
13012 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13013 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13014 cross_compiling=$ac_cv_prog_cxx_cross
13016 cat > conftest.$ac_ext <<EOF
13017 #line 13018 "configure"
13018 #include "confdefs.h"
13020 #ifdef HAVE_IEEEFP_H
13021 #include <ieeefp.h>
13028 if { (eval echo configure:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13030 glibcpp_cv_func__fpclass_use=yes
13032 echo "configure: failed program was:" >&5
13033 cat conftest.$ac_ext >&5
13035 glibcpp_cv_func__fpclass_use=no
13039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13040 ac_cpp='$CPP $CPPFLAGS'
13041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13043 cross_compiling=$ac_cv_prog_cc_cross
13049 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
13051 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
13052 for ac_func in _fpclass
13054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13055 echo "configure:13056: checking for $ac_func" >&5
13056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13057 echo $ac_n "(cached) $ac_c" 1>&6
13059 cat > conftest.$ac_ext <<EOF
13060 #line 13061 "configure"
13061 #include "confdefs.h"
13062 /* System header to define __stub macros and hopefully few prototypes,
13063 which can conflict with char $ac_func(); below. */
13064 #include <assert.h>
13065 /* Override any gcc2 internal prototype to avoid an error. */
13066 /* We use char because int might match the return type of a gcc2
13067 builtin and then its argument prototype would still apply. */
13072 /* The GNU C library defines this for functions which it implements
13073 to always fail with ENOSYS. Some functions are actually named
13074 something starting with __ and the normal name is an alias. */
13075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13083 if { (eval echo configure:13084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13085 eval "ac_cv_func_$ac_func=yes"
13087 echo "configure: failed program was:" >&5
13088 cat conftest.$ac_ext >&5
13090 eval "ac_cv_func_$ac_func=no"
13095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13096 echo "$ac_t""yes" 1>&6
13097 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13098 cat >> confdefs.h <<EOF
13099 #define $ac_tr_func 1
13103 echo "$ac_t""no" 1>&6
13112 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
13113 echo "configure:13114: checking for qfpclass declaration" >&5
13114 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
13115 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
13116 echo $ac_n "(cached) $ac_c" 1>&6
13121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13122 ac_cpp='$CXXCPP $CPPFLAGS'
13123 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13124 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13125 cross_compiling=$ac_cv_prog_cxx_cross
13127 cat > conftest.$ac_ext <<EOF
13128 #line 13129 "configure"
13129 #include "confdefs.h"
13131 #ifdef HAVE_IEEEFP_H
13132 #include <ieeefp.h>
13139 if { (eval echo configure:13140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13141 glibcpp_cv_func_qfpclass_use=yes
13143 echo "configure: failed program was:" >&5
13144 cat conftest.$ac_ext >&5
13146 glibcpp_cv_func_qfpclass_use=no
13150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13151 ac_cpp='$CPP $CPPFLAGS'
13152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13154 cross_compiling=$ac_cv_prog_cc_cross
13160 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
13162 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
13163 for ac_func in qfpclass
13165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13166 echo "configure:13167: checking for $ac_func" >&5
13167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13168 echo $ac_n "(cached) $ac_c" 1>&6
13170 cat > conftest.$ac_ext <<EOF
13171 #line 13172 "configure"
13172 #include "confdefs.h"
13173 /* System header to define __stub macros and hopefully few prototypes,
13174 which can conflict with char $ac_func(); below. */
13175 #include <assert.h>
13176 /* Override any gcc2 internal prototype to avoid an error. */
13177 /* We use char because int might match the return type of a gcc2
13178 builtin and then its argument prototype would still apply. */
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13194 if { (eval echo configure:13195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13196 eval "ac_cv_func_$ac_func=yes"
13198 echo "configure: failed program was:" >&5
13199 cat conftest.$ac_ext >&5
13201 eval "ac_cv_func_$ac_func=no"
13206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13207 echo "$ac_t""yes" 1>&6
13208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13209 cat >> confdefs.h <<EOF
13210 #define $ac_tr_func 1
13214 echo "$ac_t""no" 1>&6
13220 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
13221 echo "configure:13222: checking for _qfpclass declaration" >&5
13222 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
13223 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
13224 echo $ac_n "(cached) $ac_c" 1>&6
13229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13230 ac_cpp='$CXXCPP $CPPFLAGS'
13231 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13232 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13233 cross_compiling=$ac_cv_prog_cxx_cross
13235 cat > conftest.$ac_ext <<EOF
13236 #line 13237 "configure"
13237 #include "confdefs.h"
13239 #ifdef HAVE_IEEEFP_H
13240 #include <ieeefp.h>
13247 if { (eval echo configure:13248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13249 glibcpp_cv_func__qfpclass_use=yes
13251 echo "configure: failed program was:" >&5
13252 cat conftest.$ac_ext >&5
13254 glibcpp_cv_func__qfpclass_use=no
13258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13259 ac_cpp='$CPP $CPPFLAGS'
13260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13262 cross_compiling=$ac_cv_prog_cc_cross
13268 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
13270 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
13271 for ac_func in _qfpclass
13273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13274 echo "configure:13275: checking for $ac_func" >&5
13275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13276 echo $ac_n "(cached) $ac_c" 1>&6
13278 cat > conftest.$ac_ext <<EOF
13279 #line 13280 "configure"
13280 #include "confdefs.h"
13281 /* System header to define __stub macros and hopefully few prototypes,
13282 which can conflict with char $ac_func(); below. */
13283 #include <assert.h>
13284 /* Override any gcc2 internal prototype to avoid an error. */
13285 /* We use char because int might match the return type of a gcc2
13286 builtin and then its argument prototype would still apply. */
13291 /* The GNU C library defines this for functions which it implements
13292 to always fail with ENOSYS. Some functions are actually named
13293 something starting with __ and the normal name is an alias. */
13294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13302 if { (eval echo configure:13303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13304 eval "ac_cv_func_$ac_func=yes"
13306 echo "configure: failed program was:" >&5
13307 cat conftest.$ac_ext >&5
13309 eval "ac_cv_func_$ac_func=no"
13314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13315 echo "$ac_t""yes" 1>&6
13316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13317 cat >> confdefs.h <<EOF
13318 #define $ac_tr_func 1
13322 echo "$ac_t""no" 1>&6
13331 echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
13332 echo "configure:13333: checking for hypot declaration" >&5
13333 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
13334 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
13335 echo $ac_n "(cached) $ac_c" 1>&6
13340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13341 ac_cpp='$CXXCPP $CPPFLAGS'
13342 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13343 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13344 cross_compiling=$ac_cv_prog_cxx_cross
13346 cat > conftest.$ac_ext <<EOF
13347 #line 13348 "configure"
13348 #include "confdefs.h"
13354 if { (eval echo configure:13355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13356 glibcpp_cv_func_hypot_use=yes
13358 echo "configure: failed program was:" >&5
13359 cat conftest.$ac_ext >&5
13361 glibcpp_cv_func_hypot_use=no
13365 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13366 ac_cpp='$CPP $CPPFLAGS'
13367 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13368 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13369 cross_compiling=$ac_cv_prog_cc_cross
13375 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
13377 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
13378 for ac_func in hypot
13380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13381 echo "configure:13382: checking for $ac_func" >&5
13382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13383 echo $ac_n "(cached) $ac_c" 1>&6
13385 cat > conftest.$ac_ext <<EOF
13386 #line 13387 "configure"
13387 #include "confdefs.h"
13388 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char $ac_func(); below. */
13390 #include <assert.h>
13391 /* Override any gcc2 internal prototype to avoid an error. */
13392 /* We use char because int might match the return type of a gcc2
13393 builtin and then its argument prototype would still apply. */
13398 /* The GNU C library defines this for functions which it implements
13399 to always fail with ENOSYS. Some functions are actually named
13400 something starting with __ and the normal name is an alias. */
13401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13409 if { (eval echo configure:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13411 eval "ac_cv_func_$ac_func=yes"
13413 echo "configure: failed program was:" >&5
13414 cat conftest.$ac_ext >&5
13416 eval "ac_cv_func_$ac_func=no"
13421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13422 echo "$ac_t""yes" 1>&6
13423 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13424 cat >> confdefs.h <<EOF
13425 #define $ac_tr_func 1
13429 echo "$ac_t""no" 1>&6
13435 echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
13436 echo "configure:13437: checking for _hypot declaration" >&5
13437 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
13438 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
13439 echo $ac_n "(cached) $ac_c" 1>&6
13444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13445 ac_cpp='$CXXCPP $CPPFLAGS'
13446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13448 cross_compiling=$ac_cv_prog_cxx_cross
13450 cat > conftest.$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13458 if { (eval echo configure:13459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13460 glibcpp_cv_func__hypot_use=yes
13462 echo "configure: failed program was:" >&5
13463 cat conftest.$ac_ext >&5
13465 glibcpp_cv_func__hypot_use=no
13469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13470 ac_cpp='$CPP $CPPFLAGS'
13471 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13472 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13473 cross_compiling=$ac_cv_prog_cc_cross
13479 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
13481 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
13482 for ac_func in _hypot
13484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13485 echo "configure:13486: checking for $ac_func" >&5
13486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13487 echo $ac_n "(cached) $ac_c" 1>&6
13489 cat > conftest.$ac_ext <<EOF
13490 #line 13491 "configure"
13491 #include "confdefs.h"
13492 /* System header to define __stub macros and hopefully few prototypes,
13493 which can conflict with char $ac_func(); below. */
13494 #include <assert.h>
13495 /* Override any gcc2 internal prototype to avoid an error. */
13496 /* We use char because int might match the return type of a gcc2
13497 builtin and then its argument prototype would still apply. */
13502 /* The GNU C library defines this for functions which it implements
13503 to always fail with ENOSYS. Some functions are actually named
13504 something starting with __ and the normal name is an alias. */
13505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13513 if { (eval echo configure:13514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13515 eval "ac_cv_func_$ac_func=yes"
13517 echo "configure: failed program was:" >&5
13518 cat conftest.$ac_ext >&5
13520 eval "ac_cv_func_$ac_func=no"
13525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13526 echo "$ac_t""yes" 1>&6
13527 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13528 cat >> confdefs.h <<EOF
13529 #define $ac_tr_func 1
13533 echo "$ac_t""no" 1>&6
13542 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
13543 echo "configure:13544: checking for float trig functions" >&5
13544 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
13545 echo $ac_n "(cached) $ac_c" 1>&6
13550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13551 ac_cpp='$CXXCPP $CPPFLAGS'
13552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13554 cross_compiling=$ac_cv_prog_cxx_cross
13556 cat > conftest.$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13561 `for x in acosf asinf atanf \
13563 coshf sinhf tanhf; do echo "$x (0);"; done`
13566 if { (eval echo configure:13567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13568 glibcpp_cv_func_float_trig_use=yes
13570 echo "configure: failed program was:" >&5
13571 cat conftest.$ac_ext >&5
13573 glibcpp_cv_func_float_trig_use=no
13577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13578 ac_cpp='$CPP $CPPFLAGS'
13579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13581 cross_compiling=$ac_cv_prog_cc_cross
13585 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
13586 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
13587 for ac_func in acosf asinf atanf \
13591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13592 echo "configure:13593: checking for $ac_func" >&5
13593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13594 echo $ac_n "(cached) $ac_c" 1>&6
13596 cat > conftest.$ac_ext <<EOF
13597 #line 13598 "configure"
13598 #include "confdefs.h"
13599 /* System header to define __stub macros and hopefully few prototypes,
13600 which can conflict with char $ac_func(); below. */
13601 #include <assert.h>
13602 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13609 /* The GNU C library defines this for functions which it implements
13610 to always fail with ENOSYS. Some functions are actually named
13611 something starting with __ and the normal name is an alias. */
13612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13620 if { (eval echo configure:13621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13622 eval "ac_cv_func_$ac_func=yes"
13624 echo "configure: failed program was:" >&5
13625 cat conftest.$ac_ext >&5
13627 eval "ac_cv_func_$ac_func=no"
13632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13633 echo "$ac_t""yes" 1>&6
13634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13635 cat >> confdefs.h <<EOF
13636 #define $ac_tr_func 1
13640 echo "$ac_t""no" 1>&6
13647 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
13648 echo "configure:13649: checking for float round functions" >&5
13649 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
13650 echo $ac_n "(cached) $ac_c" 1>&6
13655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13656 ac_cpp='$CXXCPP $CPPFLAGS'
13657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13659 cross_compiling=$ac_cv_prog_cxx_cross
13661 cat > conftest.$ac_ext <<EOF
13662 #line 13663 "configure"
13663 #include "confdefs.h"
13666 `for x in ceilf floorf; do echo "$x (0);"; done`
13669 if { (eval echo configure:13670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13671 glibcpp_cv_func_float_round_use=yes
13673 echo "configure: failed program was:" >&5
13674 cat conftest.$ac_ext >&5
13676 glibcpp_cv_func_float_round_use=no
13680 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13681 ac_cpp='$CPP $CPPFLAGS'
13682 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13683 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13684 cross_compiling=$ac_cv_prog_cc_cross
13688 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
13689 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
13690 for ac_func in ceilf floorf
13692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13693 echo "configure:13694: checking for $ac_func" >&5
13694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13695 echo $ac_n "(cached) $ac_c" 1>&6
13697 cat > conftest.$ac_ext <<EOF
13698 #line 13699 "configure"
13699 #include "confdefs.h"
13700 /* System header to define __stub macros and hopefully few prototypes,
13701 which can conflict with char $ac_func(); below. */
13702 #include <assert.h>
13703 /* Override any gcc2 internal prototype to avoid an error. */
13704 /* We use char because int might match the return type of a gcc2
13705 builtin and then its argument prototype would still apply. */
13710 /* The GNU C library defines this for functions which it implements
13711 to always fail with ENOSYS. Some functions are actually named
13712 something starting with __ and the normal name is an alias. */
13713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13721 if { (eval echo configure:13722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13723 eval "ac_cv_func_$ac_func=yes"
13725 echo "configure: failed program was:" >&5
13726 cat conftest.$ac_ext >&5
13728 eval "ac_cv_func_$ac_func=no"
13733 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13734 echo "$ac_t""yes" 1>&6
13735 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13736 cat >> confdefs.h <<EOF
13737 #define $ac_tr_func 1
13741 echo "$ac_t""no" 1>&6
13749 echo $ac_n "checking for expf declaration""... $ac_c" 1>&6
13750 echo "configure:13751: checking for expf declaration" >&5
13751 if test x${glibcpp_cv_func_expf_use+set} != xset; then
13752 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
13753 echo $ac_n "(cached) $ac_c" 1>&6
13758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13759 ac_cpp='$CXXCPP $CPPFLAGS'
13760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13762 cross_compiling=$ac_cv_prog_cxx_cross
13764 cat > conftest.$ac_ext <<EOF
13765 #line 13766 "configure"
13766 #include "confdefs.h"
13768 #ifdef HAVE_IEEEFP_H
13769 #include <ieeefp.h>
13776 if { (eval echo configure:13777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13778 glibcpp_cv_func_expf_use=yes
13780 echo "configure: failed program was:" >&5
13781 cat conftest.$ac_ext >&5
13783 glibcpp_cv_func_expf_use=no
13787 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13788 ac_cpp='$CPP $CPPFLAGS'
13789 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13790 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13791 cross_compiling=$ac_cv_prog_cc_cross
13797 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
13799 if test x$glibcpp_cv_func_expf_use = x"yes"; then
13800 for ac_func in expf
13802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13803 echo "configure:13804: checking for $ac_func" >&5
13804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13805 echo $ac_n "(cached) $ac_c" 1>&6
13807 cat > conftest.$ac_ext <<EOF
13808 #line 13809 "configure"
13809 #include "confdefs.h"
13810 /* System header to define __stub macros and hopefully few prototypes,
13811 which can conflict with char $ac_func(); below. */
13812 #include <assert.h>
13813 /* Override any gcc2 internal prototype to avoid an error. */
13814 /* We use char because int might match the return type of a gcc2
13815 builtin and then its argument prototype would still apply. */
13820 /* The GNU C library defines this for functions which it implements
13821 to always fail with ENOSYS. Some functions are actually named
13822 something starting with __ and the normal name is an alias. */
13823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13831 if { (eval echo configure:13832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13833 eval "ac_cv_func_$ac_func=yes"
13835 echo "configure: failed program was:" >&5
13836 cat conftest.$ac_ext >&5
13838 eval "ac_cv_func_$ac_func=no"
13843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13844 echo "$ac_t""yes" 1>&6
13845 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13846 cat >> confdefs.h <<EOF
13847 #define $ac_tr_func 1
13851 echo "$ac_t""no" 1>&6
13857 echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6
13858 echo "configure:13859: checking for _expf declaration" >&5
13859 if test x${glibcpp_cv_func__expf_use+set} != xset; then
13860 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13866 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13867 ac_cpp='$CXXCPP $CPPFLAGS'
13868 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13869 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13870 cross_compiling=$ac_cv_prog_cxx_cross
13872 cat > conftest.$ac_ext <<EOF
13873 #line 13874 "configure"
13874 #include "confdefs.h"
13876 #ifdef HAVE_IEEEFP_H
13877 #include <ieeefp.h>
13884 if { (eval echo configure:13885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13886 glibcpp_cv_func__expf_use=yes
13888 echo "configure: failed program was:" >&5
13889 cat conftest.$ac_ext >&5
13891 glibcpp_cv_func__expf_use=no
13895 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13896 ac_cpp='$CPP $CPPFLAGS'
13897 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13898 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13899 cross_compiling=$ac_cv_prog_cc_cross
13905 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
13907 if test x$glibcpp_cv_func__expf_use = x"yes"; then
13908 for ac_func in _expf
13910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13911 echo "configure:13912: checking for $ac_func" >&5
13912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13913 echo $ac_n "(cached) $ac_c" 1>&6
13915 cat > conftest.$ac_ext <<EOF
13916 #line 13917 "configure"
13917 #include "confdefs.h"
13918 /* System header to define __stub macros and hopefully few prototypes,
13919 which can conflict with char $ac_func(); below. */
13920 #include <assert.h>
13921 /* Override any gcc2 internal prototype to avoid an error. */
13922 /* We use char because int might match the return type of a gcc2
13923 builtin and then its argument prototype would still apply. */
13928 /* The GNU C library defines this for functions which it implements
13929 to always fail with ENOSYS. Some functions are actually named
13930 something starting with __ and the normal name is an alias. */
13931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13939 if { (eval echo configure:13940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13941 eval "ac_cv_func_$ac_func=yes"
13943 echo "configure: failed program was:" >&5
13944 cat conftest.$ac_ext >&5
13946 eval "ac_cv_func_$ac_func=no"
13951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13952 echo "$ac_t""yes" 1>&6
13953 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13954 cat >> confdefs.h <<EOF
13955 #define $ac_tr_func 1
13959 echo "$ac_t""no" 1>&6
13968 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
13969 echo "configure:13970: checking for isnanf declaration" >&5
13970 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13971 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13972 echo $ac_n "(cached) $ac_c" 1>&6
13977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13978 ac_cpp='$CXXCPP $CPPFLAGS'
13979 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13980 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13981 cross_compiling=$ac_cv_prog_cxx_cross
13983 cat > conftest.$ac_ext <<EOF
13984 #line 13985 "configure"
13985 #include "confdefs.h"
13987 #ifdef HAVE_IEEEFP_H
13988 #include <ieeefp.h>
13995 if { (eval echo configure:13996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13997 glibcpp_cv_func_isnanf_use=yes
13999 echo "configure: failed program was:" >&5
14000 cat conftest.$ac_ext >&5
14002 glibcpp_cv_func_isnanf_use=no
14006 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14007 ac_cpp='$CPP $CPPFLAGS'
14008 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14009 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14010 cross_compiling=$ac_cv_prog_cc_cross
14016 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
14018 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
14019 for ac_func in isnanf
14021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14022 echo "configure:14023: checking for $ac_func" >&5
14023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14024 echo $ac_n "(cached) $ac_c" 1>&6
14026 cat > conftest.$ac_ext <<EOF
14027 #line 14028 "configure"
14028 #include "confdefs.h"
14029 /* System header to define __stub macros and hopefully few prototypes,
14030 which can conflict with char $ac_func(); below. */
14031 #include <assert.h>
14032 /* Override any gcc2 internal prototype to avoid an error. */
14033 /* We use char because int might match the return type of a gcc2
14034 builtin and then its argument prototype would still apply. */
14039 /* The GNU C library defines this for functions which it implements
14040 to always fail with ENOSYS. Some functions are actually named
14041 something starting with __ and the normal name is an alias. */
14042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14050 if { (eval echo configure:14051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14052 eval "ac_cv_func_$ac_func=yes"
14054 echo "configure: failed program was:" >&5
14055 cat conftest.$ac_ext >&5
14057 eval "ac_cv_func_$ac_func=no"
14062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14063 echo "$ac_t""yes" 1>&6
14064 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14065 cat >> confdefs.h <<EOF
14066 #define $ac_tr_func 1
14070 echo "$ac_t""no" 1>&6
14076 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
14077 echo "configure:14078: checking for _isnanf declaration" >&5
14078 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
14079 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
14080 echo $ac_n "(cached) $ac_c" 1>&6
14085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14086 ac_cpp='$CXXCPP $CPPFLAGS'
14087 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14088 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14089 cross_compiling=$ac_cv_prog_cxx_cross
14091 cat > conftest.$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14095 #ifdef HAVE_IEEEFP_H
14096 #include <ieeefp.h>
14103 if { (eval echo configure:14104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14105 glibcpp_cv_func__isnanf_use=yes
14107 echo "configure: failed program was:" >&5
14108 cat conftest.$ac_ext >&5
14110 glibcpp_cv_func__isnanf_use=no
14114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14115 ac_cpp='$CPP $CPPFLAGS'
14116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14118 cross_compiling=$ac_cv_prog_cc_cross
14124 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
14126 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
14127 for ac_func in _isnanf
14129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14130 echo "configure:14131: checking for $ac_func" >&5
14131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14132 echo $ac_n "(cached) $ac_c" 1>&6
14134 cat > conftest.$ac_ext <<EOF
14135 #line 14136 "configure"
14136 #include "confdefs.h"
14137 /* System header to define __stub macros and hopefully few prototypes,
14138 which can conflict with char $ac_func(); below. */
14139 #include <assert.h>
14140 /* Override any gcc2 internal prototype to avoid an error. */
14141 /* We use char because int might match the return type of a gcc2
14142 builtin and then its argument prototype would still apply. */
14147 /* The GNU C library defines this for functions which it implements
14148 to always fail with ENOSYS. Some functions are actually named
14149 something starting with __ and the normal name is an alias. */
14150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14158 if { (eval echo configure:14159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14160 eval "ac_cv_func_$ac_func=yes"
14162 echo "configure: failed program was:" >&5
14163 cat conftest.$ac_ext >&5
14165 eval "ac_cv_func_$ac_func=no"
14170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14171 echo "$ac_t""yes" 1>&6
14172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14173 cat >> confdefs.h <<EOF
14174 #define $ac_tr_func 1
14178 echo "$ac_t""no" 1>&6
14187 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
14188 echo "configure:14189: checking for isinff declaration" >&5
14189 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
14190 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
14191 echo $ac_n "(cached) $ac_c" 1>&6
14196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14197 ac_cpp='$CXXCPP $CPPFLAGS'
14198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14200 cross_compiling=$ac_cv_prog_cxx_cross
14202 cat > conftest.$ac_ext <<EOF
14203 #line 14204 "configure"
14204 #include "confdefs.h"
14206 #ifdef HAVE_IEEEFP_H
14207 #include <ieeefp.h>
14214 if { (eval echo configure:14215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14216 glibcpp_cv_func_isinff_use=yes
14218 echo "configure: failed program was:" >&5
14219 cat conftest.$ac_ext >&5
14221 glibcpp_cv_func_isinff_use=no
14225 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14226 ac_cpp='$CPP $CPPFLAGS'
14227 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14228 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14229 cross_compiling=$ac_cv_prog_cc_cross
14235 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
14237 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
14238 for ac_func in isinff
14240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14241 echo "configure:14242: checking for $ac_func" >&5
14242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14243 echo $ac_n "(cached) $ac_c" 1>&6
14245 cat > conftest.$ac_ext <<EOF
14246 #line 14247 "configure"
14247 #include "confdefs.h"
14248 /* System header to define __stub macros and hopefully few prototypes,
14249 which can conflict with char $ac_func(); below. */
14250 #include <assert.h>
14251 /* Override any gcc2 internal prototype to avoid an error. */
14252 /* We use char because int might match the return type of a gcc2
14253 builtin and then its argument prototype would still apply. */
14258 /* The GNU C library defines this for functions which it implements
14259 to always fail with ENOSYS. Some functions are actually named
14260 something starting with __ and the normal name is an alias. */
14261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14269 if { (eval echo configure:14270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14271 eval "ac_cv_func_$ac_func=yes"
14273 echo "configure: failed program was:" >&5
14274 cat conftest.$ac_ext >&5
14276 eval "ac_cv_func_$ac_func=no"
14281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14282 echo "$ac_t""yes" 1>&6
14283 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14284 cat >> confdefs.h <<EOF
14285 #define $ac_tr_func 1
14289 echo "$ac_t""no" 1>&6
14295 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
14296 echo "configure:14297: checking for _isinff declaration" >&5
14297 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
14298 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
14299 echo $ac_n "(cached) $ac_c" 1>&6
14304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14308 cross_compiling=$ac_cv_prog_cxx_cross
14310 cat > conftest.$ac_ext <<EOF
14311 #line 14312 "configure"
14312 #include "confdefs.h"
14314 #ifdef HAVE_IEEEFP_H
14315 #include <ieeefp.h>
14322 if { (eval echo configure:14323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14324 glibcpp_cv_func__isinff_use=yes
14326 echo "configure: failed program was:" >&5
14327 cat conftest.$ac_ext >&5
14329 glibcpp_cv_func__isinff_use=no
14333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14334 ac_cpp='$CPP $CPPFLAGS'
14335 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14336 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14337 cross_compiling=$ac_cv_prog_cc_cross
14343 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
14345 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
14346 for ac_func in _isinff
14348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14349 echo "configure:14350: checking for $ac_func" >&5
14350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14351 echo $ac_n "(cached) $ac_c" 1>&6
14353 cat > conftest.$ac_ext <<EOF
14354 #line 14355 "configure"
14355 #include "confdefs.h"
14356 /* System header to define __stub macros and hopefully few prototypes,
14357 which can conflict with char $ac_func(); below. */
14358 #include <assert.h>
14359 /* Override any gcc2 internal prototype to avoid an error. */
14360 /* We use char because int might match the return type of a gcc2
14361 builtin and then its argument prototype would still apply. */
14366 /* The GNU C library defines this for functions which it implements
14367 to always fail with ENOSYS. Some functions are actually named
14368 something starting with __ and the normal name is an alias. */
14369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14377 if { (eval echo configure:14378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14379 eval "ac_cv_func_$ac_func=yes"
14381 echo "configure: failed program was:" >&5
14382 cat conftest.$ac_ext >&5
14384 eval "ac_cv_func_$ac_func=no"
14389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14390 echo "$ac_t""yes" 1>&6
14391 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14392 cat >> confdefs.h <<EOF
14393 #define $ac_tr_func 1
14397 echo "$ac_t""no" 1>&6
14406 echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
14407 echo "configure:14408: checking for atan2f declaration" >&5
14408 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
14409 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
14410 echo $ac_n "(cached) $ac_c" 1>&6
14415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14416 ac_cpp='$CXXCPP $CPPFLAGS'
14417 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14418 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14419 cross_compiling=$ac_cv_prog_cxx_cross
14421 cat > conftest.$ac_ext <<EOF
14422 #line 14423 "configure"
14423 #include "confdefs.h"
14429 if { (eval echo configure:14430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14431 glibcpp_cv_func_atan2f_use=yes
14433 echo "configure: failed program was:" >&5
14434 cat conftest.$ac_ext >&5
14436 glibcpp_cv_func_atan2f_use=no
14440 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14441 ac_cpp='$CPP $CPPFLAGS'
14442 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14443 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14444 cross_compiling=$ac_cv_prog_cc_cross
14450 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
14452 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
14453 for ac_func in atan2f
14455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14456 echo "configure:14457: checking for $ac_func" >&5
14457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14458 echo $ac_n "(cached) $ac_c" 1>&6
14460 cat > conftest.$ac_ext <<EOF
14461 #line 14462 "configure"
14462 #include "confdefs.h"
14463 /* System header to define __stub macros and hopefully few prototypes,
14464 which can conflict with char $ac_func(); below. */
14465 #include <assert.h>
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14473 /* The GNU C library defines this for functions which it implements
14474 to always fail with ENOSYS. Some functions are actually named
14475 something starting with __ and the normal name is an alias. */
14476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14484 if { (eval echo configure:14485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14486 eval "ac_cv_func_$ac_func=yes"
14488 echo "configure: failed program was:" >&5
14489 cat conftest.$ac_ext >&5
14491 eval "ac_cv_func_$ac_func=no"
14496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14497 echo "$ac_t""yes" 1>&6
14498 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14499 cat >> confdefs.h <<EOF
14500 #define $ac_tr_func 1
14504 echo "$ac_t""no" 1>&6
14510 echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
14511 echo "configure:14512: checking for _atan2f declaration" >&5
14512 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
14513 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
14514 echo $ac_n "(cached) $ac_c" 1>&6
14519 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14520 ac_cpp='$CXXCPP $CPPFLAGS'
14521 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14522 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14523 cross_compiling=$ac_cv_prog_cxx_cross
14525 cat > conftest.$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14533 if { (eval echo configure:14534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14535 glibcpp_cv_func__atan2f_use=yes
14537 echo "configure: failed program was:" >&5
14538 cat conftest.$ac_ext >&5
14540 glibcpp_cv_func__atan2f_use=no
14544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14545 ac_cpp='$CPP $CPPFLAGS'
14546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14548 cross_compiling=$ac_cv_prog_cc_cross
14554 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
14556 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
14557 for ac_func in _atan2f
14559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14560 echo "configure:14561: checking for $ac_func" >&5
14561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14562 echo $ac_n "(cached) $ac_c" 1>&6
14564 cat > conftest.$ac_ext <<EOF
14565 #line 14566 "configure"
14566 #include "confdefs.h"
14567 /* System header to define __stub macros and hopefully few prototypes,
14568 which can conflict with char $ac_func(); below. */
14569 #include <assert.h>
14570 /* Override any gcc2 internal prototype to avoid an error. */
14571 /* We use char because int might match the return type of a gcc2
14572 builtin and then its argument prototype would still apply. */
14577 /* The GNU C library defines this for functions which it implements
14578 to always fail with ENOSYS. Some functions are actually named
14579 something starting with __ and the normal name is an alias. */
14580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14588 if { (eval echo configure:14589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14590 eval "ac_cv_func_$ac_func=yes"
14592 echo "configure: failed program was:" >&5
14593 cat conftest.$ac_ext >&5
14595 eval "ac_cv_func_$ac_func=no"
14600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14601 echo "$ac_t""yes" 1>&6
14602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14603 cat >> confdefs.h <<EOF
14604 #define $ac_tr_func 1
14608 echo "$ac_t""no" 1>&6
14617 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
14618 echo "configure:14619: checking for fabsf declaration" >&5
14619 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
14620 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
14621 echo $ac_n "(cached) $ac_c" 1>&6
14626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14627 ac_cpp='$CXXCPP $CPPFLAGS'
14628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14630 cross_compiling=$ac_cv_prog_cxx_cross
14632 cat > conftest.$ac_ext <<EOF
14633 #line 14634 "configure"
14634 #include "confdefs.h"
14636 #ifdef HAVE_IEEEFP_H
14637 #include <ieeefp.h>
14644 if { (eval echo configure:14645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14646 glibcpp_cv_func_fabsf_use=yes
14648 echo "configure: failed program was:" >&5
14649 cat conftest.$ac_ext >&5
14651 glibcpp_cv_func_fabsf_use=no
14655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14656 ac_cpp='$CPP $CPPFLAGS'
14657 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14658 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14659 cross_compiling=$ac_cv_prog_cc_cross
14665 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
14667 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
14668 for ac_func in fabsf
14670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14671 echo "configure:14672: checking for $ac_func" >&5
14672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14673 echo $ac_n "(cached) $ac_c" 1>&6
14675 cat > conftest.$ac_ext <<EOF
14676 #line 14677 "configure"
14677 #include "confdefs.h"
14678 /* System header to define __stub macros and hopefully few prototypes,
14679 which can conflict with char $ac_func(); below. */
14680 #include <assert.h>
14681 /* Override any gcc2 internal prototype to avoid an error. */
14682 /* We use char because int might match the return type of a gcc2
14683 builtin and then its argument prototype would still apply. */
14688 /* The GNU C library defines this for functions which it implements
14689 to always fail with ENOSYS. Some functions are actually named
14690 something starting with __ and the normal name is an alias. */
14691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14699 if { (eval echo configure:14700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14701 eval "ac_cv_func_$ac_func=yes"
14703 echo "configure: failed program was:" >&5
14704 cat conftest.$ac_ext >&5
14706 eval "ac_cv_func_$ac_func=no"
14711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14712 echo "$ac_t""yes" 1>&6
14713 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14714 cat >> confdefs.h <<EOF
14715 #define $ac_tr_func 1
14719 echo "$ac_t""no" 1>&6
14725 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
14726 echo "configure:14727: checking for _fabsf declaration" >&5
14727 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
14728 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
14729 echo $ac_n "(cached) $ac_c" 1>&6
14734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14735 ac_cpp='$CXXCPP $CPPFLAGS'
14736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14738 cross_compiling=$ac_cv_prog_cxx_cross
14740 cat > conftest.$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14744 #ifdef HAVE_IEEEFP_H
14745 #include <ieeefp.h>
14752 if { (eval echo configure:14753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14754 glibcpp_cv_func__fabsf_use=yes
14756 echo "configure: failed program was:" >&5
14757 cat conftest.$ac_ext >&5
14759 glibcpp_cv_func__fabsf_use=no
14763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14764 ac_cpp='$CPP $CPPFLAGS'
14765 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14766 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14767 cross_compiling=$ac_cv_prog_cc_cross
14773 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
14775 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
14776 for ac_func in _fabsf
14778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14779 echo "configure:14780: checking for $ac_func" >&5
14780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14781 echo $ac_n "(cached) $ac_c" 1>&6
14783 cat > conftest.$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14786 /* System header to define __stub macros and hopefully few prototypes,
14787 which can conflict with char $ac_func(); below. */
14788 #include <assert.h>
14789 /* Override any gcc2 internal prototype to avoid an error. */
14790 /* We use char because int might match the return type of a gcc2
14791 builtin and then its argument prototype would still apply. */
14796 /* The GNU C library defines this for functions which it implements
14797 to always fail with ENOSYS. Some functions are actually named
14798 something starting with __ and the normal name is an alias. */
14799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14807 if { (eval echo configure:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14809 eval "ac_cv_func_$ac_func=yes"
14811 echo "configure: failed program was:" >&5
14812 cat conftest.$ac_ext >&5
14814 eval "ac_cv_func_$ac_func=no"
14819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14820 echo "$ac_t""yes" 1>&6
14821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14822 cat >> confdefs.h <<EOF
14823 #define $ac_tr_func 1
14827 echo "$ac_t""no" 1>&6
14836 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
14837 echo "configure:14838: checking for fmodf declaration" >&5
14838 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
14839 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
14840 echo $ac_n "(cached) $ac_c" 1>&6
14845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14848 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14849 cross_compiling=$ac_cv_prog_cxx_cross
14851 cat > conftest.$ac_ext <<EOF
14852 #line 14853 "configure"
14853 #include "confdefs.h"
14859 if { (eval echo configure:14860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14861 glibcpp_cv_func_fmodf_use=yes
14863 echo "configure: failed program was:" >&5
14864 cat conftest.$ac_ext >&5
14866 glibcpp_cv_func_fmodf_use=no
14870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14871 ac_cpp='$CPP $CPPFLAGS'
14872 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14873 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14874 cross_compiling=$ac_cv_prog_cc_cross
14880 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
14882 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
14883 for ac_func in fmodf
14885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14886 echo "configure:14887: checking for $ac_func" >&5
14887 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14888 echo $ac_n "(cached) $ac_c" 1>&6
14890 cat > conftest.$ac_ext <<EOF
14891 #line 14892 "configure"
14892 #include "confdefs.h"
14893 /* System header to define __stub macros and hopefully few prototypes,
14894 which can conflict with char $ac_func(); below. */
14895 #include <assert.h>
14896 /* Override any gcc2 internal prototype to avoid an error. */
14897 /* We use char because int might match the return type of a gcc2
14898 builtin and then its argument prototype would still apply. */
14903 /* The GNU C library defines this for functions which it implements
14904 to always fail with ENOSYS. Some functions are actually named
14905 something starting with __ and the normal name is an alias. */
14906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14914 if { (eval echo configure:14915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14916 eval "ac_cv_func_$ac_func=yes"
14918 echo "configure: failed program was:" >&5
14919 cat conftest.$ac_ext >&5
14921 eval "ac_cv_func_$ac_func=no"
14926 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14927 echo "$ac_t""yes" 1>&6
14928 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14929 cat >> confdefs.h <<EOF
14930 #define $ac_tr_func 1
14934 echo "$ac_t""no" 1>&6
14940 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
14941 echo "configure:14942: checking for _fmodf declaration" >&5
14942 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
14943 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
14944 echo $ac_n "(cached) $ac_c" 1>&6
14949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14950 ac_cpp='$CXXCPP $CPPFLAGS'
14951 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14952 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14953 cross_compiling=$ac_cv_prog_cxx_cross
14955 cat > conftest.$ac_ext <<EOF
14956 #line 14957 "configure"
14957 #include "confdefs.h"
14963 if { (eval echo configure:14964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14965 glibcpp_cv_func__fmodf_use=yes
14967 echo "configure: failed program was:" >&5
14968 cat conftest.$ac_ext >&5
14970 glibcpp_cv_func__fmodf_use=no
14974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14975 ac_cpp='$CPP $CPPFLAGS'
14976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14978 cross_compiling=$ac_cv_prog_cc_cross
14984 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14986 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14987 for ac_func in _fmodf
14989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14990 echo "configure:14991: checking for $ac_func" >&5
14991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14994 cat > conftest.$ac_ext <<EOF
14995 #line 14996 "configure"
14996 #include "confdefs.h"
14997 /* System header to define __stub macros and hopefully few prototypes,
14998 which can conflict with char $ac_func(); below. */
14999 #include <assert.h>
15000 /* Override any gcc2 internal prototype to avoid an error. */
15001 /* We use char because int might match the return type of a gcc2
15002 builtin and then its argument prototype would still apply. */
15007 /* The GNU C library defines this for functions which it implements
15008 to always fail with ENOSYS. Some functions are actually named
15009 something starting with __ and the normal name is an alias. */
15010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15018 if { (eval echo configure:15019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15020 eval "ac_cv_func_$ac_func=yes"
15022 echo "configure: failed program was:" >&5
15023 cat conftest.$ac_ext >&5
15025 eval "ac_cv_func_$ac_func=no"
15030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15031 echo "$ac_t""yes" 1>&6
15032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15033 cat >> confdefs.h <<EOF
15034 #define $ac_tr_func 1
15038 echo "$ac_t""no" 1>&6
15047 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
15048 echo "configure:15049: checking for frexpf declaration" >&5
15049 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
15050 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
15051 echo $ac_n "(cached) $ac_c" 1>&6
15056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15057 ac_cpp='$CXXCPP $CPPFLAGS'
15058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15060 cross_compiling=$ac_cv_prog_cxx_cross
15062 cat > conftest.$ac_ext <<EOF
15063 #line 15064 "configure"
15064 #include "confdefs.h"
15070 if { (eval echo configure:15071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15072 glibcpp_cv_func_frexpf_use=yes
15074 echo "configure: failed program was:" >&5
15075 cat conftest.$ac_ext >&5
15077 glibcpp_cv_func_frexpf_use=no
15081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15084 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15085 cross_compiling=$ac_cv_prog_cc_cross
15091 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
15093 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
15094 for ac_func in frexpf
15096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15097 echo "configure:15098: checking for $ac_func" >&5
15098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15099 echo $ac_n "(cached) $ac_c" 1>&6
15101 cat > conftest.$ac_ext <<EOF
15102 #line 15103 "configure"
15103 #include "confdefs.h"
15104 /* System header to define __stub macros and hopefully few prototypes,
15105 which can conflict with char $ac_func(); below. */
15106 #include <assert.h>
15107 /* Override any gcc2 internal prototype to avoid an error. */
15108 /* We use char because int might match the return type of a gcc2
15109 builtin and then its argument prototype would still apply. */
15114 /* The GNU C library defines this for functions which it implements
15115 to always fail with ENOSYS. Some functions are actually named
15116 something starting with __ and the normal name is an alias. */
15117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15125 if { (eval echo configure:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15127 eval "ac_cv_func_$ac_func=yes"
15129 echo "configure: failed program was:" >&5
15130 cat conftest.$ac_ext >&5
15132 eval "ac_cv_func_$ac_func=no"
15137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15139 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15140 cat >> confdefs.h <<EOF
15141 #define $ac_tr_func 1
15145 echo "$ac_t""no" 1>&6
15151 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
15152 echo "configure:15153: checking for _frexpf declaration" >&5
15153 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
15154 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
15155 echo $ac_n "(cached) $ac_c" 1>&6
15160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15161 ac_cpp='$CXXCPP $CPPFLAGS'
15162 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15163 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15164 cross_compiling=$ac_cv_prog_cxx_cross
15166 cat > conftest.$ac_ext <<EOF
15167 #line 15168 "configure"
15168 #include "confdefs.h"
15174 if { (eval echo configure:15175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15176 glibcpp_cv_func__frexpf_use=yes
15178 echo "configure: failed program was:" >&5
15179 cat conftest.$ac_ext >&5
15181 glibcpp_cv_func__frexpf_use=no
15185 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15186 ac_cpp='$CPP $CPPFLAGS'
15187 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15188 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15189 cross_compiling=$ac_cv_prog_cc_cross
15195 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
15197 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
15198 for ac_func in _frexpf
15200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15201 echo "configure:15202: checking for $ac_func" >&5
15202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15203 echo $ac_n "(cached) $ac_c" 1>&6
15205 cat > conftest.$ac_ext <<EOF
15206 #line 15207 "configure"
15207 #include "confdefs.h"
15208 /* System header to define __stub macros and hopefully few prototypes,
15209 which can conflict with char $ac_func(); below. */
15210 #include <assert.h>
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15218 /* The GNU C library defines this for functions which it implements
15219 to always fail with ENOSYS. Some functions are actually named
15220 something starting with __ and the normal name is an alias. */
15221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15229 if { (eval echo configure:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15231 eval "ac_cv_func_$ac_func=yes"
15233 echo "configure: failed program was:" >&5
15234 cat conftest.$ac_ext >&5
15236 eval "ac_cv_func_$ac_func=no"
15241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15242 echo "$ac_t""yes" 1>&6
15243 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15244 cat >> confdefs.h <<EOF
15245 #define $ac_tr_func 1
15249 echo "$ac_t""no" 1>&6
15258 echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
15259 echo "configure:15260: checking for hypotf declaration" >&5
15260 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
15261 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
15262 echo $ac_n "(cached) $ac_c" 1>&6
15267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp='$CXXCPP $CPPFLAGS'
15269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling=$ac_cv_prog_cxx_cross
15273 cat > conftest.$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15281 if { (eval echo configure:15282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15283 glibcpp_cv_func_hypotf_use=yes
15285 echo "configure: failed program was:" >&5
15286 cat conftest.$ac_ext >&5
15288 glibcpp_cv_func_hypotf_use=no
15292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15293 ac_cpp='$CPP $CPPFLAGS'
15294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15296 cross_compiling=$ac_cv_prog_cc_cross
15302 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
15304 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
15305 for ac_func in hypotf
15307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15308 echo "configure:15309: checking for $ac_func" >&5
15309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15310 echo $ac_n "(cached) $ac_c" 1>&6
15312 cat > conftest.$ac_ext <<EOF
15313 #line 15314 "configure"
15314 #include "confdefs.h"
15315 /* System header to define __stub macros and hopefully few prototypes,
15316 which can conflict with char $ac_func(); below. */
15317 #include <assert.h>
15318 /* Override any gcc2 internal prototype to avoid an error. */
15319 /* We use char because int might match the return type of a gcc2
15320 builtin and then its argument prototype would still apply. */
15325 /* The GNU C library defines this for functions which it implements
15326 to always fail with ENOSYS. Some functions are actually named
15327 something starting with __ and the normal name is an alias. */
15328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15336 if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15338 eval "ac_cv_func_$ac_func=yes"
15340 echo "configure: failed program was:" >&5
15341 cat conftest.$ac_ext >&5
15343 eval "ac_cv_func_$ac_func=no"
15348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15349 echo "$ac_t""yes" 1>&6
15350 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15351 cat >> confdefs.h <<EOF
15352 #define $ac_tr_func 1
15356 echo "$ac_t""no" 1>&6
15362 echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
15363 echo "configure:15364: checking for _hypotf declaration" >&5
15364 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
15365 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
15366 echo $ac_n "(cached) $ac_c" 1>&6
15371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15372 ac_cpp='$CXXCPP $CPPFLAGS'
15373 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15374 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15375 cross_compiling=$ac_cv_prog_cxx_cross
15377 cat > conftest.$ac_ext <<EOF
15378 #line 15379 "configure"
15379 #include "confdefs.h"
15385 if { (eval echo configure:15386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15387 glibcpp_cv_func__hypotf_use=yes
15389 echo "configure: failed program was:" >&5
15390 cat conftest.$ac_ext >&5
15392 glibcpp_cv_func__hypotf_use=no
15396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15397 ac_cpp='$CPP $CPPFLAGS'
15398 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15399 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15400 cross_compiling=$ac_cv_prog_cc_cross
15406 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
15408 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
15409 for ac_func in _hypotf
15411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15412 echo "configure:15413: checking for $ac_func" >&5
15413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15414 echo $ac_n "(cached) $ac_c" 1>&6
15416 cat > conftest.$ac_ext <<EOF
15417 #line 15418 "configure"
15418 #include "confdefs.h"
15419 /* System header to define __stub macros and hopefully few prototypes,
15420 which can conflict with char $ac_func(); below. */
15421 #include <assert.h>
15422 /* Override any gcc2 internal prototype to avoid an error. */
15423 /* We use char because int might match the return type of a gcc2
15424 builtin and then its argument prototype would still apply. */
15429 /* The GNU C library defines this for functions which it implements
15430 to always fail with ENOSYS. Some functions are actually named
15431 something starting with __ and the normal name is an alias. */
15432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15440 if { (eval echo configure:15441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15442 eval "ac_cv_func_$ac_func=yes"
15444 echo "configure: failed program was:" >&5
15445 cat conftest.$ac_ext >&5
15447 eval "ac_cv_func_$ac_func=no"
15452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15453 echo "$ac_t""yes" 1>&6
15454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15455 cat >> confdefs.h <<EOF
15456 #define $ac_tr_func 1
15460 echo "$ac_t""no" 1>&6
15469 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
15470 echo "configure:15471: checking for ldexpf declaration" >&5
15471 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
15472 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
15473 echo $ac_n "(cached) $ac_c" 1>&6
15478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15479 ac_cpp='$CXXCPP $CPPFLAGS'
15480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15482 cross_compiling=$ac_cv_prog_cxx_cross
15484 cat > conftest.$ac_ext <<EOF
15485 #line 15486 "configure"
15486 #include "confdefs.h"
15492 if { (eval echo configure:15493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15494 glibcpp_cv_func_ldexpf_use=yes
15496 echo "configure: failed program was:" >&5
15497 cat conftest.$ac_ext >&5
15499 glibcpp_cv_func_ldexpf_use=no
15503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15504 ac_cpp='$CPP $CPPFLAGS'
15505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15507 cross_compiling=$ac_cv_prog_cc_cross
15513 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
15515 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
15516 for ac_func in ldexpf
15518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15519 echo "configure:15520: checking for $ac_func" >&5
15520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15521 echo $ac_n "(cached) $ac_c" 1>&6
15523 cat > conftest.$ac_ext <<EOF
15524 #line 15525 "configure"
15525 #include "confdefs.h"
15526 /* System header to define __stub macros and hopefully few prototypes,
15527 which can conflict with char $ac_func(); below. */
15528 #include <assert.h>
15529 /* Override any gcc2 internal prototype to avoid an error. */
15530 /* We use char because int might match the return type of a gcc2
15531 builtin and then its argument prototype would still apply. */
15536 /* The GNU C library defines this for functions which it implements
15537 to always fail with ENOSYS. Some functions are actually named
15538 something starting with __ and the normal name is an alias. */
15539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15547 if { (eval echo configure:15548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15549 eval "ac_cv_func_$ac_func=yes"
15551 echo "configure: failed program was:" >&5
15552 cat conftest.$ac_ext >&5
15554 eval "ac_cv_func_$ac_func=no"
15559 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15560 echo "$ac_t""yes" 1>&6
15561 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15562 cat >> confdefs.h <<EOF
15563 #define $ac_tr_func 1
15567 echo "$ac_t""no" 1>&6
15573 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
15574 echo "configure:15575: checking for _ldexpf declaration" >&5
15575 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
15576 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
15577 echo $ac_n "(cached) $ac_c" 1>&6
15582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15583 ac_cpp='$CXXCPP $CPPFLAGS'
15584 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15585 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15586 cross_compiling=$ac_cv_prog_cxx_cross
15588 cat > conftest.$ac_ext <<EOF
15589 #line 15590 "configure"
15590 #include "confdefs.h"
15596 if { (eval echo configure:15597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15598 glibcpp_cv_func__ldexpf_use=yes
15600 echo "configure: failed program was:" >&5
15601 cat conftest.$ac_ext >&5
15603 glibcpp_cv_func__ldexpf_use=no
15607 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15610 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15611 cross_compiling=$ac_cv_prog_cc_cross
15617 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
15619 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
15620 for ac_func in _ldexpf
15622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15623 echo "configure:15624: checking for $ac_func" >&5
15624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15625 echo $ac_n "(cached) $ac_c" 1>&6
15627 cat > conftest.$ac_ext <<EOF
15628 #line 15629 "configure"
15629 #include "confdefs.h"
15630 /* System header to define __stub macros and hopefully few prototypes,
15631 which can conflict with char $ac_func(); below. */
15632 #include <assert.h>
15633 /* Override any gcc2 internal prototype to avoid an error. */
15634 /* We use char because int might match the return type of a gcc2
15635 builtin and then its argument prototype would still apply. */
15640 /* The GNU C library defines this for functions which it implements
15641 to always fail with ENOSYS. Some functions are actually named
15642 something starting with __ and the normal name is an alias. */
15643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15651 if { (eval echo configure:15652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15653 eval "ac_cv_func_$ac_func=yes"
15655 echo "configure: failed program was:" >&5
15656 cat conftest.$ac_ext >&5
15658 eval "ac_cv_func_$ac_func=no"
15663 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15664 echo "$ac_t""yes" 1>&6
15665 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15666 cat >> confdefs.h <<EOF
15667 #define $ac_tr_func 1
15671 echo "$ac_t""no" 1>&6
15680 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
15681 echo "configure:15682: checking for logf declaration" >&5
15682 if test x${glibcpp_cv_func_logf_use+set} != xset; then
15683 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
15684 echo $ac_n "(cached) $ac_c" 1>&6
15689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15690 ac_cpp='$CXXCPP $CPPFLAGS'
15691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15693 cross_compiling=$ac_cv_prog_cxx_cross
15695 cat > conftest.$ac_ext <<EOF
15696 #line 15697 "configure"
15697 #include "confdefs.h"
15699 #ifdef HAVE_IEEEFP_H
15700 #include <ieeefp.h>
15707 if { (eval echo configure:15708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15709 glibcpp_cv_func_logf_use=yes
15711 echo "configure: failed program was:" >&5
15712 cat conftest.$ac_ext >&5
15714 glibcpp_cv_func_logf_use=no
15718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15721 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15722 cross_compiling=$ac_cv_prog_cc_cross
15728 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
15730 if test x$glibcpp_cv_func_logf_use = x"yes"; then
15731 for ac_func in logf
15733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15734 echo "configure:15735: checking for $ac_func" >&5
15735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15736 echo $ac_n "(cached) $ac_c" 1>&6
15738 cat > conftest.$ac_ext <<EOF
15739 #line 15740 "configure"
15740 #include "confdefs.h"
15741 /* System header to define __stub macros and hopefully few prototypes,
15742 which can conflict with char $ac_func(); below. */
15743 #include <assert.h>
15744 /* Override any gcc2 internal prototype to avoid an error. */
15745 /* We use char because int might match the return type of a gcc2
15746 builtin and then its argument prototype would still apply. */
15751 /* The GNU C library defines this for functions which it implements
15752 to always fail with ENOSYS. Some functions are actually named
15753 something starting with __ and the normal name is an alias. */
15754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15762 if { (eval echo configure:15763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15764 eval "ac_cv_func_$ac_func=yes"
15766 echo "configure: failed program was:" >&5
15767 cat conftest.$ac_ext >&5
15769 eval "ac_cv_func_$ac_func=no"
15774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15775 echo "$ac_t""yes" 1>&6
15776 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15777 cat >> confdefs.h <<EOF
15778 #define $ac_tr_func 1
15782 echo "$ac_t""no" 1>&6
15788 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
15789 echo "configure:15790: checking for _logf declaration" >&5
15790 if test x${glibcpp_cv_func__logf_use+set} != xset; then
15791 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
15792 echo $ac_n "(cached) $ac_c" 1>&6
15797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15798 ac_cpp='$CXXCPP $CPPFLAGS'
15799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15801 cross_compiling=$ac_cv_prog_cxx_cross
15803 cat > conftest.$ac_ext <<EOF
15804 #line 15805 "configure"
15805 #include "confdefs.h"
15807 #ifdef HAVE_IEEEFP_H
15808 #include <ieeefp.h>
15815 if { (eval echo configure:15816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15817 glibcpp_cv_func__logf_use=yes
15819 echo "configure: failed program was:" >&5
15820 cat conftest.$ac_ext >&5
15822 glibcpp_cv_func__logf_use=no
15826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15827 ac_cpp='$CPP $CPPFLAGS'
15828 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15829 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15830 cross_compiling=$ac_cv_prog_cc_cross
15836 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
15838 if test x$glibcpp_cv_func__logf_use = x"yes"; then
15839 for ac_func in _logf
15841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15842 echo "configure:15843: checking for $ac_func" >&5
15843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15844 echo $ac_n "(cached) $ac_c" 1>&6
15846 cat > conftest.$ac_ext <<EOF
15847 #line 15848 "configure"
15848 #include "confdefs.h"
15849 /* System header to define __stub macros and hopefully few prototypes,
15850 which can conflict with char $ac_func(); below. */
15851 #include <assert.h>
15852 /* Override any gcc2 internal prototype to avoid an error. */
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15859 /* The GNU C library defines this for functions which it implements
15860 to always fail with ENOSYS. Some functions are actually named
15861 something starting with __ and the normal name is an alias. */
15862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15870 if { (eval echo configure:15871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15872 eval "ac_cv_func_$ac_func=yes"
15874 echo "configure: failed program was:" >&5
15875 cat conftest.$ac_ext >&5
15877 eval "ac_cv_func_$ac_func=no"
15882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15883 echo "$ac_t""yes" 1>&6
15884 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15885 cat >> confdefs.h <<EOF
15886 #define $ac_tr_func 1
15890 echo "$ac_t""no" 1>&6
15899 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
15900 echo "configure:15901: checking for log10f declaration" >&5
15901 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
15902 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
15903 echo $ac_n "(cached) $ac_c" 1>&6
15908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15909 ac_cpp='$CXXCPP $CPPFLAGS'
15910 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15911 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15912 cross_compiling=$ac_cv_prog_cxx_cross
15914 cat > conftest.$ac_ext <<EOF
15915 #line 15916 "configure"
15916 #include "confdefs.h"
15918 #ifdef HAVE_IEEEFP_H
15919 #include <ieeefp.h>
15926 if { (eval echo configure:15927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15928 glibcpp_cv_func_log10f_use=yes
15930 echo "configure: failed program was:" >&5
15931 cat conftest.$ac_ext >&5
15933 glibcpp_cv_func_log10f_use=no
15937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15938 ac_cpp='$CPP $CPPFLAGS'
15939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15941 cross_compiling=$ac_cv_prog_cc_cross
15947 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
15949 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
15950 for ac_func in log10f
15952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15953 echo "configure:15954: checking for $ac_func" >&5
15954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15955 echo $ac_n "(cached) $ac_c" 1>&6
15957 cat > conftest.$ac_ext <<EOF
15958 #line 15959 "configure"
15959 #include "confdefs.h"
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func(); below. */
15962 #include <assert.h>
15963 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15981 if { (eval echo configure:15982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15983 eval "ac_cv_func_$ac_func=yes"
15985 echo "configure: failed program was:" >&5
15986 cat conftest.$ac_ext >&5
15988 eval "ac_cv_func_$ac_func=no"
15993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15994 echo "$ac_t""yes" 1>&6
15995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15996 cat >> confdefs.h <<EOF
15997 #define $ac_tr_func 1
16001 echo "$ac_t""no" 1>&6
16007 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
16008 echo "configure:16009: checking for _log10f declaration" >&5
16009 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
16010 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
16011 echo $ac_n "(cached) $ac_c" 1>&6
16016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16017 ac_cpp='$CXXCPP $CPPFLAGS'
16018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16020 cross_compiling=$ac_cv_prog_cxx_cross
16022 cat > conftest.$ac_ext <<EOF
16023 #line 16024 "configure"
16024 #include "confdefs.h"
16026 #ifdef HAVE_IEEEFP_H
16027 #include <ieeefp.h>
16034 if { (eval echo configure:16035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16036 glibcpp_cv_func__log10f_use=yes
16038 echo "configure: failed program was:" >&5
16039 cat conftest.$ac_ext >&5
16041 glibcpp_cv_func__log10f_use=no
16045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16046 ac_cpp='$CPP $CPPFLAGS'
16047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16049 cross_compiling=$ac_cv_prog_cc_cross
16055 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
16057 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
16058 for ac_func in _log10f
16060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16061 echo "configure:16062: checking for $ac_func" >&5
16062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16063 echo $ac_n "(cached) $ac_c" 1>&6
16065 cat > conftest.$ac_ext <<EOF
16066 #line 16067 "configure"
16067 #include "confdefs.h"
16068 /* System header to define __stub macros and hopefully few prototypes,
16069 which can conflict with char $ac_func(); below. */
16070 #include <assert.h>
16071 /* Override any gcc2 internal prototype to avoid an error. */
16072 /* We use char because int might match the return type of a gcc2
16073 builtin and then its argument prototype would still apply. */
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16089 if { (eval echo configure:16090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16091 eval "ac_cv_func_$ac_func=yes"
16093 echo "configure: failed program was:" >&5
16094 cat conftest.$ac_ext >&5
16096 eval "ac_cv_func_$ac_func=no"
16101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16102 echo "$ac_t""yes" 1>&6
16103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16104 cat >> confdefs.h <<EOF
16105 #define $ac_tr_func 1
16109 echo "$ac_t""no" 1>&6
16118 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
16119 echo "configure:16120: checking for modff declaration" >&5
16120 if test x${glibcpp_cv_func_modff_use+set} != xset; then
16121 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
16122 echo $ac_n "(cached) $ac_c" 1>&6
16127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16128 ac_cpp='$CXXCPP $CPPFLAGS'
16129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16131 cross_compiling=$ac_cv_prog_cxx_cross
16133 cat > conftest.$ac_ext <<EOF
16134 #line 16135 "configure"
16135 #include "confdefs.h"
16141 if { (eval echo configure:16142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16143 glibcpp_cv_func_modff_use=yes
16145 echo "configure: failed program was:" >&5
16146 cat conftest.$ac_ext >&5
16148 glibcpp_cv_func_modff_use=no
16152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16153 ac_cpp='$CPP $CPPFLAGS'
16154 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16155 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16156 cross_compiling=$ac_cv_prog_cc_cross
16162 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
16164 if test x$glibcpp_cv_func_modff_use = x"yes"; then
16165 for ac_func in modff
16167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16168 echo "configure:16169: checking for $ac_func" >&5
16169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16170 echo $ac_n "(cached) $ac_c" 1>&6
16172 cat > conftest.$ac_ext <<EOF
16173 #line 16174 "configure"
16174 #include "confdefs.h"
16175 /* System header to define __stub macros and hopefully few prototypes,
16176 which can conflict with char $ac_func(); below. */
16177 #include <assert.h>
16178 /* Override any gcc2 internal prototype to avoid an error. */
16179 /* We use char because int might match the return type of a gcc2
16180 builtin and then its argument prototype would still apply. */
16185 /* The GNU C library defines this for functions which it implements
16186 to always fail with ENOSYS. Some functions are actually named
16187 something starting with __ and the normal name is an alias. */
16188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16196 if { (eval echo configure:16197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16198 eval "ac_cv_func_$ac_func=yes"
16200 echo "configure: failed program was:" >&5
16201 cat conftest.$ac_ext >&5
16203 eval "ac_cv_func_$ac_func=no"
16208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16209 echo "$ac_t""yes" 1>&6
16210 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16211 cat >> confdefs.h <<EOF
16212 #define $ac_tr_func 1
16216 echo "$ac_t""no" 1>&6
16222 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
16223 echo "configure:16224: checking for _modff declaration" >&5
16224 if test x${glibcpp_cv_func__modff_use+set} != xset; then
16225 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
16226 echo $ac_n "(cached) $ac_c" 1>&6
16231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16232 ac_cpp='$CXXCPP $CPPFLAGS'
16233 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16234 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16235 cross_compiling=$ac_cv_prog_cxx_cross
16237 cat > conftest.$ac_ext <<EOF
16238 #line 16239 "configure"
16239 #include "confdefs.h"
16245 if { (eval echo configure:16246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16247 glibcpp_cv_func__modff_use=yes
16249 echo "configure: failed program was:" >&5
16250 cat conftest.$ac_ext >&5
16252 glibcpp_cv_func__modff_use=no
16256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16257 ac_cpp='$CPP $CPPFLAGS'
16258 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16259 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16260 cross_compiling=$ac_cv_prog_cc_cross
16266 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
16268 if test x$glibcpp_cv_func__modff_use = x"yes"; then
16269 for ac_func in _modff
16271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16272 echo "configure:16273: checking for $ac_func" >&5
16273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16274 echo $ac_n "(cached) $ac_c" 1>&6
16276 cat > conftest.$ac_ext <<EOF
16277 #line 16278 "configure"
16278 #include "confdefs.h"
16279 /* System header to define __stub macros and hopefully few prototypes,
16280 which can conflict with char $ac_func(); below. */
16281 #include <assert.h>
16282 /* Override any gcc2 internal prototype to avoid an error. */
16283 /* We use char because int might match the return type of a gcc2
16284 builtin and then its argument prototype would still apply. */
16289 /* The GNU C library defines this for functions which it implements
16290 to always fail with ENOSYS. Some functions are actually named
16291 something starting with __ and the normal name is an alias. */
16292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16300 if { (eval echo configure:16301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16302 eval "ac_cv_func_$ac_func=yes"
16304 echo "configure: failed program was:" >&5
16305 cat conftest.$ac_ext >&5
16307 eval "ac_cv_func_$ac_func=no"
16312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16313 echo "$ac_t""yes" 1>&6
16314 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16315 cat >> confdefs.h <<EOF
16316 #define $ac_tr_func 1
16320 echo "$ac_t""no" 1>&6
16329 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
16330 echo "configure:16331: checking for powf declaration" >&5
16331 if test x${glibcpp_cv_func_powf_use+set} != xset; then
16332 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
16333 echo $ac_n "(cached) $ac_c" 1>&6
16338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16339 ac_cpp='$CXXCPP $CPPFLAGS'
16340 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16341 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16342 cross_compiling=$ac_cv_prog_cxx_cross
16344 cat > conftest.$ac_ext <<EOF
16345 #line 16346 "configure"
16346 #include "confdefs.h"
16352 if { (eval echo configure:16353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16354 glibcpp_cv_func_powf_use=yes
16356 echo "configure: failed program was:" >&5
16357 cat conftest.$ac_ext >&5
16359 glibcpp_cv_func_powf_use=no
16363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16366 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16367 cross_compiling=$ac_cv_prog_cc_cross
16373 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
16375 if test x$glibcpp_cv_func_powf_use = x"yes"; then
16376 for ac_func in powf
16378 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16379 echo "configure:16380: checking for $ac_func" >&5
16380 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16381 echo $ac_n "(cached) $ac_c" 1>&6
16383 cat > conftest.$ac_ext <<EOF
16384 #line 16385 "configure"
16385 #include "confdefs.h"
16386 /* System header to define __stub macros and hopefully few prototypes,
16387 which can conflict with char $ac_func(); below. */
16388 #include <assert.h>
16389 /* Override any gcc2 internal prototype to avoid an error. */
16390 /* We use char because int might match the return type of a gcc2
16391 builtin and then its argument prototype would still apply. */
16396 /* The GNU C library defines this for functions which it implements
16397 to always fail with ENOSYS. Some functions are actually named
16398 something starting with __ and the normal name is an alias. */
16399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16407 if { (eval echo configure:16408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16409 eval "ac_cv_func_$ac_func=yes"
16411 echo "configure: failed program was:" >&5
16412 cat conftest.$ac_ext >&5
16414 eval "ac_cv_func_$ac_func=no"
16419 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16420 echo "$ac_t""yes" 1>&6
16421 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16422 cat >> confdefs.h <<EOF
16423 #define $ac_tr_func 1
16427 echo "$ac_t""no" 1>&6
16433 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
16434 echo "configure:16435: checking for _powf declaration" >&5
16435 if test x${glibcpp_cv_func__powf_use+set} != xset; then
16436 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
16437 echo $ac_n "(cached) $ac_c" 1>&6
16442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16443 ac_cpp='$CXXCPP $CPPFLAGS'
16444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16446 cross_compiling=$ac_cv_prog_cxx_cross
16448 cat > conftest.$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16456 if { (eval echo configure:16457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16458 glibcpp_cv_func__powf_use=yes
16460 echo "configure: failed program was:" >&5
16461 cat conftest.$ac_ext >&5
16463 glibcpp_cv_func__powf_use=no
16467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16468 ac_cpp='$CPP $CPPFLAGS'
16469 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16470 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16471 cross_compiling=$ac_cv_prog_cc_cross
16477 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
16479 if test x$glibcpp_cv_func__powf_use = x"yes"; then
16480 for ac_func in _powf
16482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16483 echo "configure:16484: checking for $ac_func" >&5
16484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16485 echo $ac_n "(cached) $ac_c" 1>&6
16487 cat > conftest.$ac_ext <<EOF
16488 #line 16489 "configure"
16489 #include "confdefs.h"
16490 /* System header to define __stub macros and hopefully few prototypes,
16491 which can conflict with char $ac_func(); below. */
16492 #include <assert.h>
16493 /* Override any gcc2 internal prototype to avoid an error. */
16494 /* We use char because int might match the return type of a gcc2
16495 builtin and then its argument prototype would still apply. */
16500 /* The GNU C library defines this for functions which it implements
16501 to always fail with ENOSYS. Some functions are actually named
16502 something starting with __ and the normal name is an alias. */
16503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16511 if { (eval echo configure:16512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16513 eval "ac_cv_func_$ac_func=yes"
16515 echo "configure: failed program was:" >&5
16516 cat conftest.$ac_ext >&5
16518 eval "ac_cv_func_$ac_func=no"
16523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16524 echo "$ac_t""yes" 1>&6
16525 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16526 cat >> confdefs.h <<EOF
16527 #define $ac_tr_func 1
16531 echo "$ac_t""no" 1>&6
16540 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
16541 echo "configure:16542: checking for sqrtf declaration" >&5
16542 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
16543 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
16544 echo $ac_n "(cached) $ac_c" 1>&6
16549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16550 ac_cpp='$CXXCPP $CPPFLAGS'
16551 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16552 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16553 cross_compiling=$ac_cv_prog_cxx_cross
16555 cat > conftest.$ac_ext <<EOF
16556 #line 16557 "configure"
16557 #include "confdefs.h"
16559 #ifdef HAVE_IEEEFP_H
16560 #include <ieeefp.h>
16567 if { (eval echo configure:16568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16569 glibcpp_cv_func_sqrtf_use=yes
16571 echo "configure: failed program was:" >&5
16572 cat conftest.$ac_ext >&5
16574 glibcpp_cv_func_sqrtf_use=no
16578 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16579 ac_cpp='$CPP $CPPFLAGS'
16580 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16581 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16582 cross_compiling=$ac_cv_prog_cc_cross
16588 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
16590 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
16591 for ac_func in sqrtf
16593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16594 echo "configure:16595: checking for $ac_func" >&5
16595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16596 echo $ac_n "(cached) $ac_c" 1>&6
16598 cat > conftest.$ac_ext <<EOF
16599 #line 16600 "configure"
16600 #include "confdefs.h"
16601 /* System header to define __stub macros and hopefully few prototypes,
16602 which can conflict with char $ac_func(); below. */
16603 #include <assert.h>
16604 /* Override any gcc2 internal prototype to avoid an error. */
16605 /* We use char because int might match the return type of a gcc2
16606 builtin and then its argument prototype would still apply. */
16611 /* The GNU C library defines this for functions which it implements
16612 to always fail with ENOSYS. Some functions are actually named
16613 something starting with __ and the normal name is an alias. */
16614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16622 if { (eval echo configure:16623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16624 eval "ac_cv_func_$ac_func=yes"
16626 echo "configure: failed program was:" >&5
16627 cat conftest.$ac_ext >&5
16629 eval "ac_cv_func_$ac_func=no"
16634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16635 echo "$ac_t""yes" 1>&6
16636 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16637 cat >> confdefs.h <<EOF
16638 #define $ac_tr_func 1
16642 echo "$ac_t""no" 1>&6
16648 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
16649 echo "configure:16650: checking for _sqrtf declaration" >&5
16650 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
16651 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
16652 echo $ac_n "(cached) $ac_c" 1>&6
16657 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16658 ac_cpp='$CXXCPP $CPPFLAGS'
16659 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16660 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16661 cross_compiling=$ac_cv_prog_cxx_cross
16663 cat > conftest.$ac_ext <<EOF
16664 #line 16665 "configure"
16665 #include "confdefs.h"
16667 #ifdef HAVE_IEEEFP_H
16668 #include <ieeefp.h>
16675 if { (eval echo configure:16676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16677 glibcpp_cv_func__sqrtf_use=yes
16679 echo "configure: failed program was:" >&5
16680 cat conftest.$ac_ext >&5
16682 glibcpp_cv_func__sqrtf_use=no
16686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16687 ac_cpp='$CPP $CPPFLAGS'
16688 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16689 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16690 cross_compiling=$ac_cv_prog_cc_cross
16696 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
16698 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
16699 for ac_func in _sqrtf
16701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16702 echo "configure:16703: checking for $ac_func" >&5
16703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16704 echo $ac_n "(cached) $ac_c" 1>&6
16706 cat > conftest.$ac_ext <<EOF
16707 #line 16708 "configure"
16708 #include "confdefs.h"
16709 /* System header to define __stub macros and hopefully few prototypes,
16710 which can conflict with char $ac_func(); below. */
16711 #include <assert.h>
16712 /* Override any gcc2 internal prototype to avoid an error. */
16713 /* We use char because int might match the return type of a gcc2
16714 builtin and then its argument prototype would still apply. */
16719 /* The GNU C library defines this for functions which it implements
16720 to always fail with ENOSYS. Some functions are actually named
16721 something starting with __ and the normal name is an alias. */
16722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16730 if { (eval echo configure:16731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16732 eval "ac_cv_func_$ac_func=yes"
16734 echo "configure: failed program was:" >&5
16735 cat conftest.$ac_ext >&5
16737 eval "ac_cv_func_$ac_func=no"
16742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16743 echo "$ac_t""yes" 1>&6
16744 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16745 cat >> confdefs.h <<EOF
16746 #define $ac_tr_func 1
16750 echo "$ac_t""no" 1>&6
16759 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
16760 echo "configure:16761: checking for sincosf declaration" >&5
16761 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
16762 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
16763 echo $ac_n "(cached) $ac_c" 1>&6
16768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16769 ac_cpp='$CXXCPP $CPPFLAGS'
16770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16772 cross_compiling=$ac_cv_prog_cxx_cross
16774 cat > conftest.$ac_ext <<EOF
16775 #line 16776 "configure"
16776 #include "confdefs.h"
16782 if { (eval echo configure:16783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16784 glibcpp_cv_func_sincosf_use=yes
16786 echo "configure: failed program was:" >&5
16787 cat conftest.$ac_ext >&5
16789 glibcpp_cv_func_sincosf_use=no
16793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16794 ac_cpp='$CPP $CPPFLAGS'
16795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16797 cross_compiling=$ac_cv_prog_cc_cross
16803 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
16805 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
16806 for ac_func in sincosf
16808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16809 echo "configure:16810: checking for $ac_func" >&5
16810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16811 echo $ac_n "(cached) $ac_c" 1>&6
16813 cat > conftest.$ac_ext <<EOF
16814 #line 16815 "configure"
16815 #include "confdefs.h"
16816 /* System header to define __stub macros and hopefully few prototypes,
16817 which can conflict with char $ac_func(); below. */
16818 #include <assert.h>
16819 /* Override any gcc2 internal prototype to avoid an error. */
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16826 /* The GNU C library defines this for functions which it implements
16827 to always fail with ENOSYS. Some functions are actually named
16828 something starting with __ and the normal name is an alias. */
16829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16837 if { (eval echo configure:16838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16839 eval "ac_cv_func_$ac_func=yes"
16841 echo "configure: failed program was:" >&5
16842 cat conftest.$ac_ext >&5
16844 eval "ac_cv_func_$ac_func=no"
16849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16850 echo "$ac_t""yes" 1>&6
16851 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16852 cat >> confdefs.h <<EOF
16853 #define $ac_tr_func 1
16857 echo "$ac_t""no" 1>&6
16863 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
16864 echo "configure:16865: checking for _sincosf declaration" >&5
16865 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
16866 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
16867 echo $ac_n "(cached) $ac_c" 1>&6
16872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16873 ac_cpp='$CXXCPP $CPPFLAGS'
16874 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16875 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16876 cross_compiling=$ac_cv_prog_cxx_cross
16878 cat > conftest.$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16886 if { (eval echo configure:16887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16888 glibcpp_cv_func__sincosf_use=yes
16890 echo "configure: failed program was:" >&5
16891 cat conftest.$ac_ext >&5
16893 glibcpp_cv_func__sincosf_use=no
16897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16900 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16901 cross_compiling=$ac_cv_prog_cc_cross
16907 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
16909 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
16910 for ac_func in _sincosf
16912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16913 echo "configure:16914: checking for $ac_func" >&5
16914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16915 echo $ac_n "(cached) $ac_c" 1>&6
16917 cat > conftest.$ac_ext <<EOF
16918 #line 16919 "configure"
16919 #include "confdefs.h"
16920 /* System header to define __stub macros and hopefully few prototypes,
16921 which can conflict with char $ac_func(); below. */
16922 #include <assert.h>
16923 /* Override any gcc2 internal prototype to avoid an error. */
16924 /* We use char because int might match the return type of a gcc2
16925 builtin and then its argument prototype would still apply. */
16930 /* The GNU C library defines this for functions which it implements
16931 to always fail with ENOSYS. Some functions are actually named
16932 something starting with __ and the normal name is an alias. */
16933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16941 if { (eval echo configure:16942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16943 eval "ac_cv_func_$ac_func=yes"
16945 echo "configure: failed program was:" >&5
16946 cat conftest.$ac_ext >&5
16948 eval "ac_cv_func_$ac_func=no"
16953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16954 echo "$ac_t""yes" 1>&6
16955 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16956 cat >> confdefs.h <<EOF
16957 #define $ac_tr_func 1
16961 echo "$ac_t""no" 1>&6
16970 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
16971 echo "configure:16972: checking for finitef declaration" >&5
16972 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16973 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16974 echo $ac_n "(cached) $ac_c" 1>&6
16979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16980 ac_cpp='$CXXCPP $CPPFLAGS'
16981 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16982 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16983 cross_compiling=$ac_cv_prog_cxx_cross
16985 cat > conftest.$ac_ext <<EOF
16986 #line 16987 "configure"
16987 #include "confdefs.h"
16989 #ifdef HAVE_IEEEFP_H
16990 #include <ieeefp.h>
16997 if { (eval echo configure:16998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16999 glibcpp_cv_func_finitef_use=yes
17001 echo "configure: failed program was:" >&5
17002 cat conftest.$ac_ext >&5
17004 glibcpp_cv_func_finitef_use=no
17008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17009 ac_cpp='$CPP $CPPFLAGS'
17010 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17011 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17012 cross_compiling=$ac_cv_prog_cc_cross
17018 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
17020 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
17021 for ac_func in finitef
17023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17024 echo "configure:17025: checking for $ac_func" >&5
17025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17026 echo $ac_n "(cached) $ac_c" 1>&6
17028 cat > conftest.$ac_ext <<EOF
17029 #line 17030 "configure"
17030 #include "confdefs.h"
17031 /* System header to define __stub macros and hopefully few prototypes,
17032 which can conflict with char $ac_func(); below. */
17033 #include <assert.h>
17034 /* Override any gcc2 internal prototype to avoid an error. */
17035 /* We use char because int might match the return type of a gcc2
17036 builtin and then its argument prototype would still apply. */
17041 /* The GNU C library defines this for functions which it implements
17042 to always fail with ENOSYS. Some functions are actually named
17043 something starting with __ and the normal name is an alias. */
17044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17052 if { (eval echo configure:17053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17054 eval "ac_cv_func_$ac_func=yes"
17056 echo "configure: failed program was:" >&5
17057 cat conftest.$ac_ext >&5
17059 eval "ac_cv_func_$ac_func=no"
17064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17065 echo "$ac_t""yes" 1>&6
17066 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17067 cat >> confdefs.h <<EOF
17068 #define $ac_tr_func 1
17072 echo "$ac_t""no" 1>&6
17078 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
17079 echo "configure:17080: checking for _finitef declaration" >&5
17080 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
17081 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
17082 echo $ac_n "(cached) $ac_c" 1>&6
17087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17088 ac_cpp='$CXXCPP $CPPFLAGS'
17089 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17090 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17091 cross_compiling=$ac_cv_prog_cxx_cross
17093 cat > conftest.$ac_ext <<EOF
17094 #line 17095 "configure"
17095 #include "confdefs.h"
17097 #ifdef HAVE_IEEEFP_H
17098 #include <ieeefp.h>
17105 if { (eval echo configure:17106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17107 glibcpp_cv_func__finitef_use=yes
17109 echo "configure: failed program was:" >&5
17110 cat conftest.$ac_ext >&5
17112 glibcpp_cv_func__finitef_use=no
17116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17117 ac_cpp='$CPP $CPPFLAGS'
17118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17120 cross_compiling=$ac_cv_prog_cc_cross
17126 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
17128 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
17129 for ac_func in _finitef
17131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17132 echo "configure:17133: checking for $ac_func" >&5
17133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17134 echo $ac_n "(cached) $ac_c" 1>&6
17136 cat > conftest.$ac_ext <<EOF
17137 #line 17138 "configure"
17138 #include "confdefs.h"
17139 /* System header to define __stub macros and hopefully few prototypes,
17140 which can conflict with char $ac_func(); below. */
17141 #include <assert.h>
17142 /* Override any gcc2 internal prototype to avoid an error. */
17143 /* We use char because int might match the return type of a gcc2
17144 builtin and then its argument prototype would still apply. */
17149 /* The GNU C library defines this for functions which it implements
17150 to always fail with ENOSYS. Some functions are actually named
17151 something starting with __ and the normal name is an alias. */
17152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17160 if { (eval echo configure:17161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17162 eval "ac_cv_func_$ac_func=yes"
17164 echo "configure: failed program was:" >&5
17165 cat conftest.$ac_ext >&5
17167 eval "ac_cv_func_$ac_func=no"
17172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17173 echo "$ac_t""yes" 1>&6
17174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17175 cat >> confdefs.h <<EOF
17176 #define $ac_tr_func 1
17180 echo "$ac_t""no" 1>&6
17189 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
17190 echo "configure:17191: checking for long double trig functions" >&5
17191 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
17192 echo $ac_n "(cached) $ac_c" 1>&6
17197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17198 ac_cpp='$CXXCPP $CPPFLAGS'
17199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17201 cross_compiling=$ac_cv_prog_cxx_cross
17203 cat > conftest.$ac_ext <<EOF
17204 #line 17205 "configure"
17205 #include "confdefs.h"
17208 `for x in acosl asinl atanl \
17210 coshl sinhl tanhl; do echo "$x (0);"; done`
17213 if { (eval echo configure:17214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17215 glibcpp_cv_func_long_double_trig_use=yes
17217 echo "configure: failed program was:" >&5
17218 cat conftest.$ac_ext >&5
17220 glibcpp_cv_func_long_double_trig_use=no
17224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17227 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17228 cross_compiling=$ac_cv_prog_cc_cross
17232 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
17233 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
17234 for ac_func in acosl asinl atanl \
17238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17239 echo "configure:17240: checking for $ac_func" >&5
17240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17241 echo $ac_n "(cached) $ac_c" 1>&6
17243 cat > conftest.$ac_ext <<EOF
17244 #line 17245 "configure"
17245 #include "confdefs.h"
17246 /* System header to define __stub macros and hopefully few prototypes,
17247 which can conflict with char $ac_func(); below. */
17248 #include <assert.h>
17249 /* Override any gcc2 internal prototype to avoid an error. */
17250 /* We use char because int might match the return type of a gcc2
17251 builtin and then its argument prototype would still apply. */
17256 /* The GNU C library defines this for functions which it implements
17257 to always fail with ENOSYS. Some functions are actually named
17258 something starting with __ and the normal name is an alias. */
17259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17267 if { (eval echo configure:17268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17269 eval "ac_cv_func_$ac_func=yes"
17271 echo "configure: failed program was:" >&5
17272 cat conftest.$ac_ext >&5
17274 eval "ac_cv_func_$ac_func=no"
17279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17280 echo "$ac_t""yes" 1>&6
17281 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17282 cat >> confdefs.h <<EOF
17283 #define $ac_tr_func 1
17287 echo "$ac_t""no" 1>&6
17294 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
17295 echo "configure:17296: checking for long double round functions" >&5
17296 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
17297 echo $ac_n "(cached) $ac_c" 1>&6
17302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17303 ac_cpp='$CXXCPP $CPPFLAGS'
17304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17306 cross_compiling=$ac_cv_prog_cxx_cross
17308 cat > conftest.$ac_ext <<EOF
17309 #line 17310 "configure"
17310 #include "confdefs.h"
17313 `for x in ceill floorl; do echo "$x (0);"; done`
17316 if { (eval echo configure:17317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17318 glibcpp_cv_func_long_double_round_use=yes
17320 echo "configure: failed program was:" >&5
17321 cat conftest.$ac_ext >&5
17323 glibcpp_cv_func_long_double_round_use=no
17327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17331 cross_compiling=$ac_cv_prog_cc_cross
17335 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
17336 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
17337 for ac_func in ceill floorl
17339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17340 echo "configure:17341: checking for $ac_func" >&5
17341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17342 echo $ac_n "(cached) $ac_c" 1>&6
17344 cat > conftest.$ac_ext <<EOF
17345 #line 17346 "configure"
17346 #include "confdefs.h"
17347 /* System header to define __stub macros and hopefully few prototypes,
17348 which can conflict with char $ac_func(); below. */
17349 #include <assert.h>
17350 /* Override any gcc2 internal prototype to avoid an error. */
17351 /* We use char because int might match the return type of a gcc2
17352 builtin and then its argument prototype would still apply. */
17357 /* The GNU C library defines this for functions which it implements
17358 to always fail with ENOSYS. Some functions are actually named
17359 something starting with __ and the normal name is an alias. */
17360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17368 if { (eval echo configure:17369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17370 eval "ac_cv_func_$ac_func=yes"
17372 echo "configure: failed program was:" >&5
17373 cat conftest.$ac_ext >&5
17375 eval "ac_cv_func_$ac_func=no"
17380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17381 echo "$ac_t""yes" 1>&6
17382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17383 cat >> confdefs.h <<EOF
17384 #define $ac_tr_func 1
17388 echo "$ac_t""no" 1>&6
17396 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
17397 echo "configure:17398: checking for isnanl declaration" >&5
17398 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
17399 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
17400 echo $ac_n "(cached) $ac_c" 1>&6
17405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17406 ac_cpp='$CXXCPP $CPPFLAGS'
17407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17409 cross_compiling=$ac_cv_prog_cxx_cross
17411 cat > conftest.$ac_ext <<EOF
17412 #line 17413 "configure"
17413 #include "confdefs.h"
17415 #ifdef HAVE_IEEEFP_H
17416 #include <ieeefp.h>
17423 if { (eval echo configure:17424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17425 glibcpp_cv_func_isnanl_use=yes
17427 echo "configure: failed program was:" >&5
17428 cat conftest.$ac_ext >&5
17430 glibcpp_cv_func_isnanl_use=no
17434 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17435 ac_cpp='$CPP $CPPFLAGS'
17436 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17437 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17438 cross_compiling=$ac_cv_prog_cc_cross
17444 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
17446 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
17447 for ac_func in isnanl
17449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17450 echo "configure:17451: checking for $ac_func" >&5
17451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17452 echo $ac_n "(cached) $ac_c" 1>&6
17454 cat > conftest.$ac_ext <<EOF
17455 #line 17456 "configure"
17456 #include "confdefs.h"
17457 /* System header to define __stub macros and hopefully few prototypes,
17458 which can conflict with char $ac_func(); below. */
17459 #include <assert.h>
17460 /* Override any gcc2 internal prototype to avoid an error. */
17461 /* We use char because int might match the return type of a gcc2
17462 builtin and then its argument prototype would still apply. */
17467 /* The GNU C library defines this for functions which it implements
17468 to always fail with ENOSYS. Some functions are actually named
17469 something starting with __ and the normal name is an alias. */
17470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17478 if { (eval echo configure:17479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17480 eval "ac_cv_func_$ac_func=yes"
17482 echo "configure: failed program was:" >&5
17483 cat conftest.$ac_ext >&5
17485 eval "ac_cv_func_$ac_func=no"
17490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17491 echo "$ac_t""yes" 1>&6
17492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17493 cat >> confdefs.h <<EOF
17494 #define $ac_tr_func 1
17498 echo "$ac_t""no" 1>&6
17504 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
17505 echo "configure:17506: checking for _isnanl declaration" >&5
17506 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
17507 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
17508 echo $ac_n "(cached) $ac_c" 1>&6
17513 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17514 ac_cpp='$CXXCPP $CPPFLAGS'
17515 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17516 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17517 cross_compiling=$ac_cv_prog_cxx_cross
17519 cat > conftest.$ac_ext <<EOF
17520 #line 17521 "configure"
17521 #include "confdefs.h"
17523 #ifdef HAVE_IEEEFP_H
17524 #include <ieeefp.h>
17531 if { (eval echo configure:17532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17533 glibcpp_cv_func__isnanl_use=yes
17535 echo "configure: failed program was:" >&5
17536 cat conftest.$ac_ext >&5
17538 glibcpp_cv_func__isnanl_use=no
17542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17546 cross_compiling=$ac_cv_prog_cc_cross
17552 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
17554 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
17555 for ac_func in _isnanl
17557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17558 echo "configure:17559: checking for $ac_func" >&5
17559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17562 cat > conftest.$ac_ext <<EOF
17563 #line 17564 "configure"
17564 #include "confdefs.h"
17565 /* System header to define __stub macros and hopefully few prototypes,
17566 which can conflict with char $ac_func(); below. */
17567 #include <assert.h>
17568 /* Override any gcc2 internal prototype to avoid an error. */
17569 /* We use char because int might match the return type of a gcc2
17570 builtin and then its argument prototype would still apply. */
17575 /* The GNU C library defines this for functions which it implements
17576 to always fail with ENOSYS. Some functions are actually named
17577 something starting with __ and the normal name is an alias. */
17578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17586 if { (eval echo configure:17587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17588 eval "ac_cv_func_$ac_func=yes"
17590 echo "configure: failed program was:" >&5
17591 cat conftest.$ac_ext >&5
17593 eval "ac_cv_func_$ac_func=no"
17598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17599 echo "$ac_t""yes" 1>&6
17600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17601 cat >> confdefs.h <<EOF
17602 #define $ac_tr_func 1
17606 echo "$ac_t""no" 1>&6
17615 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
17616 echo "configure:17617: checking for isinfl declaration" >&5
17617 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
17618 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
17619 echo $ac_n "(cached) $ac_c" 1>&6
17624 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17625 ac_cpp='$CXXCPP $CPPFLAGS'
17626 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17627 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17628 cross_compiling=$ac_cv_prog_cxx_cross
17630 cat > conftest.$ac_ext <<EOF
17631 #line 17632 "configure"
17632 #include "confdefs.h"
17634 #ifdef HAVE_IEEEFP_H
17635 #include <ieeefp.h>
17642 if { (eval echo configure:17643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17644 glibcpp_cv_func_isinfl_use=yes
17646 echo "configure: failed program was:" >&5
17647 cat conftest.$ac_ext >&5
17649 glibcpp_cv_func_isinfl_use=no
17653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17654 ac_cpp='$CPP $CPPFLAGS'
17655 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17656 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17657 cross_compiling=$ac_cv_prog_cc_cross
17663 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
17665 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
17666 for ac_func in isinfl
17668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17669 echo "configure:17670: checking for $ac_func" >&5
17670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17671 echo $ac_n "(cached) $ac_c" 1>&6
17673 cat > conftest.$ac_ext <<EOF
17674 #line 17675 "configure"
17675 #include "confdefs.h"
17676 /* System header to define __stub macros and hopefully few prototypes,
17677 which can conflict with char $ac_func(); below. */
17678 #include <assert.h>
17679 /* Override any gcc2 internal prototype to avoid an error. */
17680 /* We use char because int might match the return type of a gcc2
17681 builtin and then its argument prototype would still apply. */
17686 /* The GNU C library defines this for functions which it implements
17687 to always fail with ENOSYS. Some functions are actually named
17688 something starting with __ and the normal name is an alias. */
17689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17697 if { (eval echo configure:17698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17699 eval "ac_cv_func_$ac_func=yes"
17701 echo "configure: failed program was:" >&5
17702 cat conftest.$ac_ext >&5
17704 eval "ac_cv_func_$ac_func=no"
17709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17710 echo "$ac_t""yes" 1>&6
17711 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17712 cat >> confdefs.h <<EOF
17713 #define $ac_tr_func 1
17717 echo "$ac_t""no" 1>&6
17723 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
17724 echo "configure:17725: checking for _isinfl declaration" >&5
17725 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
17726 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
17727 echo $ac_n "(cached) $ac_c" 1>&6
17732 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17733 ac_cpp='$CXXCPP $CPPFLAGS'
17734 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17735 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17736 cross_compiling=$ac_cv_prog_cxx_cross
17738 cat > conftest.$ac_ext <<EOF
17739 #line 17740 "configure"
17740 #include "confdefs.h"
17742 #ifdef HAVE_IEEEFP_H
17743 #include <ieeefp.h>
17750 if { (eval echo configure:17751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17752 glibcpp_cv_func__isinfl_use=yes
17754 echo "configure: failed program was:" >&5
17755 cat conftest.$ac_ext >&5
17757 glibcpp_cv_func__isinfl_use=no
17761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17764 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17765 cross_compiling=$ac_cv_prog_cc_cross
17771 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
17773 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
17774 for ac_func in _isinfl
17776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17777 echo "configure:17778: checking for $ac_func" >&5
17778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17779 echo $ac_n "(cached) $ac_c" 1>&6
17781 cat > conftest.$ac_ext <<EOF
17782 #line 17783 "configure"
17783 #include "confdefs.h"
17784 /* System header to define __stub macros and hopefully few prototypes,
17785 which can conflict with char $ac_func(); below. */
17786 #include <assert.h>
17787 /* Override any gcc2 internal prototype to avoid an error. */
17788 /* We use char because int might match the return type of a gcc2
17789 builtin and then its argument prototype would still apply. */
17794 /* The GNU C library defines this for functions which it implements
17795 to always fail with ENOSYS. Some functions are actually named
17796 something starting with __ and the normal name is an alias. */
17797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17805 if { (eval echo configure:17806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17807 eval "ac_cv_func_$ac_func=yes"
17809 echo "configure: failed program was:" >&5
17810 cat conftest.$ac_ext >&5
17812 eval "ac_cv_func_$ac_func=no"
17817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17818 echo "$ac_t""yes" 1>&6
17819 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17820 cat >> confdefs.h <<EOF
17821 #define $ac_tr_func 1
17825 echo "$ac_t""no" 1>&6
17834 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
17835 echo "configure:17836: checking for copysignl declaration" >&5
17836 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
17837 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
17838 echo $ac_n "(cached) $ac_c" 1>&6
17843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17846 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17847 cross_compiling=$ac_cv_prog_cxx_cross
17849 cat > conftest.$ac_ext <<EOF
17850 #line 17851 "configure"
17851 #include "confdefs.h"
17857 if { (eval echo configure:17858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17859 glibcpp_cv_func_copysignl_use=yes
17861 echo "configure: failed program was:" >&5
17862 cat conftest.$ac_ext >&5
17864 glibcpp_cv_func_copysignl_use=no
17868 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17871 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17872 cross_compiling=$ac_cv_prog_cc_cross
17878 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
17880 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
17881 for ac_func in copysignl
17883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17884 echo "configure:17885: checking for $ac_func" >&5
17885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17886 echo $ac_n "(cached) $ac_c" 1>&6
17888 cat > conftest.$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17891 /* System header to define __stub macros and hopefully few prototypes,
17892 which can conflict with char $ac_func(); below. */
17893 #include <assert.h>
17894 /* Override any gcc2 internal prototype to avoid an error. */
17895 /* We use char because int might match the return type of a gcc2
17896 builtin and then its argument prototype would still apply. */
17901 /* The GNU C library defines this for functions which it implements
17902 to always fail with ENOSYS. Some functions are actually named
17903 something starting with __ and the normal name is an alias. */
17904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17912 if { (eval echo configure:17913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17914 eval "ac_cv_func_$ac_func=yes"
17916 echo "configure: failed program was:" >&5
17917 cat conftest.$ac_ext >&5
17919 eval "ac_cv_func_$ac_func=no"
17924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17925 echo "$ac_t""yes" 1>&6
17926 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17927 cat >> confdefs.h <<EOF
17928 #define $ac_tr_func 1
17932 echo "$ac_t""no" 1>&6
17938 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
17939 echo "configure:17940: checking for _copysignl declaration" >&5
17940 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
17941 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
17942 echo $ac_n "(cached) $ac_c" 1>&6
17947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17948 ac_cpp='$CXXCPP $CPPFLAGS'
17949 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17950 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17951 cross_compiling=$ac_cv_prog_cxx_cross
17953 cat > conftest.$ac_ext <<EOF
17954 #line 17955 "configure"
17955 #include "confdefs.h"
17961 if { (eval echo configure:17962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17963 glibcpp_cv_func__copysignl_use=yes
17965 echo "configure: failed program was:" >&5
17966 cat conftest.$ac_ext >&5
17968 glibcpp_cv_func__copysignl_use=no
17972 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17973 ac_cpp='$CPP $CPPFLAGS'
17974 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17975 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17976 cross_compiling=$ac_cv_prog_cc_cross
17982 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17984 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17985 for ac_func in _copysignl
17987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17988 echo "configure:17989: checking for $ac_func" >&5
17989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17990 echo $ac_n "(cached) $ac_c" 1>&6
17992 cat > conftest.$ac_ext <<EOF
17993 #line 17994 "configure"
17994 #include "confdefs.h"
17995 /* System header to define __stub macros and hopefully few prototypes,
17996 which can conflict with char $ac_func(); below. */
17997 #include <assert.h>
17998 /* Override any gcc2 internal prototype to avoid an error. */
17999 /* We use char because int might match the return type of a gcc2
18000 builtin and then its argument prototype would still apply. */
18005 /* The GNU C library defines this for functions which it implements
18006 to always fail with ENOSYS. Some functions are actually named
18007 something starting with __ and the normal name is an alias. */
18008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18016 if { (eval echo configure:18017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18018 eval "ac_cv_func_$ac_func=yes"
18020 echo "configure: failed program was:" >&5
18021 cat conftest.$ac_ext >&5
18023 eval "ac_cv_func_$ac_func=no"
18028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18029 echo "$ac_t""yes" 1>&6
18030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18031 cat >> confdefs.h <<EOF
18032 #define $ac_tr_func 1
18036 echo "$ac_t""no" 1>&6
18045 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
18046 echo "configure:18047: checking for atan2l declaration" >&5
18047 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
18048 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
18049 echo $ac_n "(cached) $ac_c" 1>&6
18054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18055 ac_cpp='$CXXCPP $CPPFLAGS'
18056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18058 cross_compiling=$ac_cv_prog_cxx_cross
18060 cat > conftest.$ac_ext <<EOF
18061 #line 18062 "configure"
18062 #include "confdefs.h"
18068 if { (eval echo configure:18069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18070 glibcpp_cv_func_atan2l_use=yes
18072 echo "configure: failed program was:" >&5
18073 cat conftest.$ac_ext >&5
18075 glibcpp_cv_func_atan2l_use=no
18079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18080 ac_cpp='$CPP $CPPFLAGS'
18081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18083 cross_compiling=$ac_cv_prog_cc_cross
18089 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
18091 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
18092 for ac_func in atan2l
18094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18095 echo "configure:18096: checking for $ac_func" >&5
18096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18097 echo $ac_n "(cached) $ac_c" 1>&6
18099 cat > conftest.$ac_ext <<EOF
18100 #line 18101 "configure"
18101 #include "confdefs.h"
18102 /* System header to define __stub macros and hopefully few prototypes,
18103 which can conflict with char $ac_func(); below. */
18104 #include <assert.h>
18105 /* Override any gcc2 internal prototype to avoid an error. */
18106 /* We use char because int might match the return type of a gcc2
18107 builtin and then its argument prototype would still apply. */
18112 /* The GNU C library defines this for functions which it implements
18113 to always fail with ENOSYS. Some functions are actually named
18114 something starting with __ and the normal name is an alias. */
18115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18123 if { (eval echo configure:18124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18125 eval "ac_cv_func_$ac_func=yes"
18127 echo "configure: failed program was:" >&5
18128 cat conftest.$ac_ext >&5
18130 eval "ac_cv_func_$ac_func=no"
18135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18136 echo "$ac_t""yes" 1>&6
18137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18138 cat >> confdefs.h <<EOF
18139 #define $ac_tr_func 1
18143 echo "$ac_t""no" 1>&6
18149 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
18150 echo "configure:18151: checking for _atan2l declaration" >&5
18151 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
18152 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
18153 echo $ac_n "(cached) $ac_c" 1>&6
18158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18162 cross_compiling=$ac_cv_prog_cxx_cross
18164 cat > conftest.$ac_ext <<EOF
18165 #line 18166 "configure"
18166 #include "confdefs.h"
18172 if { (eval echo configure:18173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18174 glibcpp_cv_func__atan2l_use=yes
18176 echo "configure: failed program was:" >&5
18177 cat conftest.$ac_ext >&5
18179 glibcpp_cv_func__atan2l_use=no
18183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18184 ac_cpp='$CPP $CPPFLAGS'
18185 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18186 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18187 cross_compiling=$ac_cv_prog_cc_cross
18193 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
18195 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
18196 for ac_func in _atan2l
18198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18199 echo "configure:18200: checking for $ac_func" >&5
18200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18201 echo $ac_n "(cached) $ac_c" 1>&6
18203 cat > conftest.$ac_ext <<EOF
18204 #line 18205 "configure"
18205 #include "confdefs.h"
18206 /* System header to define __stub macros and hopefully few prototypes,
18207 which can conflict with char $ac_func(); below. */
18208 #include <assert.h>
18209 /* Override any gcc2 internal prototype to avoid an error. */
18210 /* We use char because int might match the return type of a gcc2
18211 builtin and then its argument prototype would still apply. */
18216 /* The GNU C library defines this for functions which it implements
18217 to always fail with ENOSYS. Some functions are actually named
18218 something starting with __ and the normal name is an alias. */
18219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18227 if { (eval echo configure:18228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18229 eval "ac_cv_func_$ac_func=yes"
18231 echo "configure: failed program was:" >&5
18232 cat conftest.$ac_ext >&5
18234 eval "ac_cv_func_$ac_func=no"
18239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18240 echo "$ac_t""yes" 1>&6
18241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18242 cat >> confdefs.h <<EOF
18243 #define $ac_tr_func 1
18247 echo "$ac_t""no" 1>&6
18256 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
18257 echo "configure:18258: checking for expl declaration" >&5
18258 if test x${glibcpp_cv_func_expl_use+set} != xset; then
18259 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
18260 echo $ac_n "(cached) $ac_c" 1>&6
18265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18268 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18269 cross_compiling=$ac_cv_prog_cxx_cross
18271 cat > conftest.$ac_ext <<EOF
18272 #line 18273 "configure"
18273 #include "confdefs.h"
18275 #ifdef HAVE_IEEEFP_H
18276 #include <ieeefp.h>
18283 if { (eval echo configure:18284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18285 glibcpp_cv_func_expl_use=yes
18287 echo "configure: failed program was:" >&5
18288 cat conftest.$ac_ext >&5
18290 glibcpp_cv_func_expl_use=no
18294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18295 ac_cpp='$CPP $CPPFLAGS'
18296 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18297 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18298 cross_compiling=$ac_cv_prog_cc_cross
18304 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
18306 if test x$glibcpp_cv_func_expl_use = x"yes"; then
18307 for ac_func in expl
18309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18310 echo "configure:18311: checking for $ac_func" >&5
18311 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18312 echo $ac_n "(cached) $ac_c" 1>&6
18314 cat > conftest.$ac_ext <<EOF
18315 #line 18316 "configure"
18316 #include "confdefs.h"
18317 /* System header to define __stub macros and hopefully few prototypes,
18318 which can conflict with char $ac_func(); below. */
18319 #include <assert.h>
18320 /* Override any gcc2 internal prototype to avoid an error. */
18321 /* We use char because int might match the return type of a gcc2
18322 builtin and then its argument prototype would still apply. */
18327 /* The GNU C library defines this for functions which it implements
18328 to always fail with ENOSYS. Some functions are actually named
18329 something starting with __ and the normal name is an alias. */
18330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18338 if { (eval echo configure:18339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18340 eval "ac_cv_func_$ac_func=yes"
18342 echo "configure: failed program was:" >&5
18343 cat conftest.$ac_ext >&5
18345 eval "ac_cv_func_$ac_func=no"
18350 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18351 echo "$ac_t""yes" 1>&6
18352 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18353 cat >> confdefs.h <<EOF
18354 #define $ac_tr_func 1
18358 echo "$ac_t""no" 1>&6
18364 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
18365 echo "configure:18366: checking for _expl declaration" >&5
18366 if test x${glibcpp_cv_func__expl_use+set} != xset; then
18367 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
18368 echo $ac_n "(cached) $ac_c" 1>&6
18373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18374 ac_cpp='$CXXCPP $CPPFLAGS'
18375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18377 cross_compiling=$ac_cv_prog_cxx_cross
18379 cat > conftest.$ac_ext <<EOF
18380 #line 18381 "configure"
18381 #include "confdefs.h"
18383 #ifdef HAVE_IEEEFP_H
18384 #include <ieeefp.h>
18391 if { (eval echo configure:18392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18393 glibcpp_cv_func__expl_use=yes
18395 echo "configure: failed program was:" >&5
18396 cat conftest.$ac_ext >&5
18398 glibcpp_cv_func__expl_use=no
18402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18403 ac_cpp='$CPP $CPPFLAGS'
18404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18406 cross_compiling=$ac_cv_prog_cc_cross
18412 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
18414 if test x$glibcpp_cv_func__expl_use = x"yes"; then
18415 for ac_func in _expl
18417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18418 echo "configure:18419: checking for $ac_func" >&5
18419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18420 echo $ac_n "(cached) $ac_c" 1>&6
18422 cat > conftest.$ac_ext <<EOF
18423 #line 18424 "configure"
18424 #include "confdefs.h"
18425 /* System header to define __stub macros and hopefully few prototypes,
18426 which can conflict with char $ac_func(); below. */
18427 #include <assert.h>
18428 /* Override any gcc2 internal prototype to avoid an error. */
18429 /* We use char because int might match the return type of a gcc2
18430 builtin and then its argument prototype would still apply. */
18435 /* The GNU C library defines this for functions which it implements
18436 to always fail with ENOSYS. Some functions are actually named
18437 something starting with __ and the normal name is an alias. */
18438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18446 if { (eval echo configure:18447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18448 eval "ac_cv_func_$ac_func=yes"
18450 echo "configure: failed program was:" >&5
18451 cat conftest.$ac_ext >&5
18453 eval "ac_cv_func_$ac_func=no"
18458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18459 echo "$ac_t""yes" 1>&6
18460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18461 cat >> confdefs.h <<EOF
18462 #define $ac_tr_func 1
18466 echo "$ac_t""no" 1>&6
18475 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
18476 echo "configure:18477: checking for fabsl declaration" >&5
18477 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
18478 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
18479 echo $ac_n "(cached) $ac_c" 1>&6
18484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18485 ac_cpp='$CXXCPP $CPPFLAGS'
18486 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18487 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18488 cross_compiling=$ac_cv_prog_cxx_cross
18490 cat > conftest.$ac_ext <<EOF
18491 #line 18492 "configure"
18492 #include "confdefs.h"
18494 #ifdef HAVE_IEEEFP_H
18495 #include <ieeefp.h>
18502 if { (eval echo configure:18503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18504 glibcpp_cv_func_fabsl_use=yes
18506 echo "configure: failed program was:" >&5
18507 cat conftest.$ac_ext >&5
18509 glibcpp_cv_func_fabsl_use=no
18513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18514 ac_cpp='$CPP $CPPFLAGS'
18515 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18516 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18517 cross_compiling=$ac_cv_prog_cc_cross
18523 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
18525 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
18526 for ac_func in fabsl
18528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18529 echo "configure:18530: checking for $ac_func" >&5
18530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18531 echo $ac_n "(cached) $ac_c" 1>&6
18533 cat > conftest.$ac_ext <<EOF
18534 #line 18535 "configure"
18535 #include "confdefs.h"
18536 /* System header to define __stub macros and hopefully few prototypes,
18537 which can conflict with char $ac_func(); below. */
18538 #include <assert.h>
18539 /* Override any gcc2 internal prototype to avoid an error. */
18540 /* We use char because int might match the return type of a gcc2
18541 builtin and then its argument prototype would still apply. */
18546 /* The GNU C library defines this for functions which it implements
18547 to always fail with ENOSYS. Some functions are actually named
18548 something starting with __ and the normal name is an alias. */
18549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18557 if { (eval echo configure:18558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18559 eval "ac_cv_func_$ac_func=yes"
18561 echo "configure: failed program was:" >&5
18562 cat conftest.$ac_ext >&5
18564 eval "ac_cv_func_$ac_func=no"
18569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18570 echo "$ac_t""yes" 1>&6
18571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18572 cat >> confdefs.h <<EOF
18573 #define $ac_tr_func 1
18577 echo "$ac_t""no" 1>&6
18583 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
18584 echo "configure:18585: checking for _fabsl declaration" >&5
18585 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
18586 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
18587 echo $ac_n "(cached) $ac_c" 1>&6
18592 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18593 ac_cpp='$CXXCPP $CPPFLAGS'
18594 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18595 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18596 cross_compiling=$ac_cv_prog_cxx_cross
18598 cat > conftest.$ac_ext <<EOF
18599 #line 18600 "configure"
18600 #include "confdefs.h"
18602 #ifdef HAVE_IEEEFP_H
18603 #include <ieeefp.h>
18610 if { (eval echo configure:18611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18612 glibcpp_cv_func__fabsl_use=yes
18614 echo "configure: failed program was:" >&5
18615 cat conftest.$ac_ext >&5
18617 glibcpp_cv_func__fabsl_use=no
18621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18624 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18625 cross_compiling=$ac_cv_prog_cc_cross
18631 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
18633 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
18634 for ac_func in _fabsl
18636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18637 echo "configure:18638: checking for $ac_func" >&5
18638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18639 echo $ac_n "(cached) $ac_c" 1>&6
18641 cat > conftest.$ac_ext <<EOF
18642 #line 18643 "configure"
18643 #include "confdefs.h"
18644 /* System header to define __stub macros and hopefully few prototypes,
18645 which can conflict with char $ac_func(); below. */
18646 #include <assert.h>
18647 /* Override any gcc2 internal prototype to avoid an error. */
18648 /* We use char because int might match the return type of a gcc2
18649 builtin and then its argument prototype would still apply. */
18654 /* The GNU C library defines this for functions which it implements
18655 to always fail with ENOSYS. Some functions are actually named
18656 something starting with __ and the normal name is an alias. */
18657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18665 if { (eval echo configure:18666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18667 eval "ac_cv_func_$ac_func=yes"
18669 echo "configure: failed program was:" >&5
18670 cat conftest.$ac_ext >&5
18672 eval "ac_cv_func_$ac_func=no"
18677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18678 echo "$ac_t""yes" 1>&6
18679 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18680 cat >> confdefs.h <<EOF
18681 #define $ac_tr_func 1
18685 echo "$ac_t""no" 1>&6
18694 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
18695 echo "configure:18696: checking for fmodl declaration" >&5
18696 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
18697 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
18698 echo $ac_n "(cached) $ac_c" 1>&6
18703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18704 ac_cpp='$CXXCPP $CPPFLAGS'
18705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18707 cross_compiling=$ac_cv_prog_cxx_cross
18709 cat > conftest.$ac_ext <<EOF
18710 #line 18711 "configure"
18711 #include "confdefs.h"
18717 if { (eval echo configure:18718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18719 glibcpp_cv_func_fmodl_use=yes
18721 echo "configure: failed program was:" >&5
18722 cat conftest.$ac_ext >&5
18724 glibcpp_cv_func_fmodl_use=no
18728 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18729 ac_cpp='$CPP $CPPFLAGS'
18730 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18731 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18732 cross_compiling=$ac_cv_prog_cc_cross
18738 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
18740 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
18741 for ac_func in fmodl
18743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18744 echo "configure:18745: checking for $ac_func" >&5
18745 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18746 echo $ac_n "(cached) $ac_c" 1>&6
18748 cat > conftest.$ac_ext <<EOF
18749 #line 18750 "configure"
18750 #include "confdefs.h"
18751 /* System header to define __stub macros and hopefully few prototypes,
18752 which can conflict with char $ac_func(); below. */
18753 #include <assert.h>
18754 /* Override any gcc2 internal prototype to avoid an error. */
18755 /* We use char because int might match the return type of a gcc2
18756 builtin and then its argument prototype would still apply. */
18761 /* The GNU C library defines this for functions which it implements
18762 to always fail with ENOSYS. Some functions are actually named
18763 something starting with __ and the normal name is an alias. */
18764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18772 if { (eval echo configure:18773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18774 eval "ac_cv_func_$ac_func=yes"
18776 echo "configure: failed program was:" >&5
18777 cat conftest.$ac_ext >&5
18779 eval "ac_cv_func_$ac_func=no"
18784 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18785 echo "$ac_t""yes" 1>&6
18786 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18787 cat >> confdefs.h <<EOF
18788 #define $ac_tr_func 1
18792 echo "$ac_t""no" 1>&6
18798 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
18799 echo "configure:18800: checking for _fmodl declaration" >&5
18800 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
18801 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
18802 echo $ac_n "(cached) $ac_c" 1>&6
18807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18808 ac_cpp='$CXXCPP $CPPFLAGS'
18809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18811 cross_compiling=$ac_cv_prog_cxx_cross
18813 cat > conftest.$ac_ext <<EOF
18814 #line 18815 "configure"
18815 #include "confdefs.h"
18821 if { (eval echo configure:18822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18823 glibcpp_cv_func__fmodl_use=yes
18825 echo "configure: failed program was:" >&5
18826 cat conftest.$ac_ext >&5
18828 glibcpp_cv_func__fmodl_use=no
18832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18833 ac_cpp='$CPP $CPPFLAGS'
18834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18836 cross_compiling=$ac_cv_prog_cc_cross
18842 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
18844 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
18845 for ac_func in _fmodl
18847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18848 echo "configure:18849: checking for $ac_func" >&5
18849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18850 echo $ac_n "(cached) $ac_c" 1>&6
18852 cat > conftest.$ac_ext <<EOF
18853 #line 18854 "configure"
18854 #include "confdefs.h"
18855 /* System header to define __stub macros and hopefully few prototypes,
18856 which can conflict with char $ac_func(); below. */
18857 #include <assert.h>
18858 /* Override any gcc2 internal prototype to avoid an error. */
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18865 /* The GNU C library defines this for functions which it implements
18866 to always fail with ENOSYS. Some functions are actually named
18867 something starting with __ and the normal name is an alias. */
18868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18876 if { (eval echo configure:18877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18878 eval "ac_cv_func_$ac_func=yes"
18880 echo "configure: failed program was:" >&5
18881 cat conftest.$ac_ext >&5
18883 eval "ac_cv_func_$ac_func=no"
18888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18891 cat >> confdefs.h <<EOF
18892 #define $ac_tr_func 1
18896 echo "$ac_t""no" 1>&6
18905 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
18906 echo "configure:18907: checking for frexpl declaration" >&5
18907 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
18908 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
18909 echo $ac_n "(cached) $ac_c" 1>&6
18914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18915 ac_cpp='$CXXCPP $CPPFLAGS'
18916 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18917 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18918 cross_compiling=$ac_cv_prog_cxx_cross
18920 cat > conftest.$ac_ext <<EOF
18921 #line 18922 "configure"
18922 #include "confdefs.h"
18928 if { (eval echo configure:18929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18930 glibcpp_cv_func_frexpl_use=yes
18932 echo "configure: failed program was:" >&5
18933 cat conftest.$ac_ext >&5
18935 glibcpp_cv_func_frexpl_use=no
18939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18940 ac_cpp='$CPP $CPPFLAGS'
18941 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18942 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18943 cross_compiling=$ac_cv_prog_cc_cross
18949 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
18951 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
18952 for ac_func in frexpl
18954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18955 echo "configure:18956: checking for $ac_func" >&5
18956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18957 echo $ac_n "(cached) $ac_c" 1>&6
18959 cat > conftest.$ac_ext <<EOF
18960 #line 18961 "configure"
18961 #include "confdefs.h"
18962 /* System header to define __stub macros and hopefully few prototypes,
18963 which can conflict with char $ac_func(); below. */
18964 #include <assert.h>
18965 /* Override any gcc2 internal prototype to avoid an error. */
18966 /* We use char because int might match the return type of a gcc2
18967 builtin and then its argument prototype would still apply. */
18972 /* The GNU C library defines this for functions which it implements
18973 to always fail with ENOSYS. Some functions are actually named
18974 something starting with __ and the normal name is an alias. */
18975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18983 if { (eval echo configure:18984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18985 eval "ac_cv_func_$ac_func=yes"
18987 echo "configure: failed program was:" >&5
18988 cat conftest.$ac_ext >&5
18990 eval "ac_cv_func_$ac_func=no"
18995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18996 echo "$ac_t""yes" 1>&6
18997 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18998 cat >> confdefs.h <<EOF
18999 #define $ac_tr_func 1
19003 echo "$ac_t""no" 1>&6
19009 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
19010 echo "configure:19011: checking for _frexpl declaration" >&5
19011 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
19012 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
19013 echo $ac_n "(cached) $ac_c" 1>&6
19018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19019 ac_cpp='$CXXCPP $CPPFLAGS'
19020 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19021 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19022 cross_compiling=$ac_cv_prog_cxx_cross
19024 cat > conftest.$ac_ext <<EOF
19025 #line 19026 "configure"
19026 #include "confdefs.h"
19032 if { (eval echo configure:19033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19034 glibcpp_cv_func__frexpl_use=yes
19036 echo "configure: failed program was:" >&5
19037 cat conftest.$ac_ext >&5
19039 glibcpp_cv_func__frexpl_use=no
19043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19044 ac_cpp='$CPP $CPPFLAGS'
19045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19047 cross_compiling=$ac_cv_prog_cc_cross
19053 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
19055 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
19056 for ac_func in _frexpl
19058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19059 echo "configure:19060: checking for $ac_func" >&5
19060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19061 echo $ac_n "(cached) $ac_c" 1>&6
19063 cat > conftest.$ac_ext <<EOF
19064 #line 19065 "configure"
19065 #include "confdefs.h"
19066 /* System header to define __stub macros and hopefully few prototypes,
19067 which can conflict with char $ac_func(); below. */
19068 #include <assert.h>
19069 /* Override any gcc2 internal prototype to avoid an error. */
19070 /* We use char because int might match the return type of a gcc2
19071 builtin and then its argument prototype would still apply. */
19076 /* The GNU C library defines this for functions which it implements
19077 to always fail with ENOSYS. Some functions are actually named
19078 something starting with __ and the normal name is an alias. */
19079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19087 if { (eval echo configure:19088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19089 eval "ac_cv_func_$ac_func=yes"
19091 echo "configure: failed program was:" >&5
19092 cat conftest.$ac_ext >&5
19094 eval "ac_cv_func_$ac_func=no"
19099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19100 echo "$ac_t""yes" 1>&6
19101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19102 cat >> confdefs.h <<EOF
19103 #define $ac_tr_func 1
19107 echo "$ac_t""no" 1>&6
19116 echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
19117 echo "configure:19118: checking for hypotl declaration" >&5
19118 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
19119 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
19120 echo $ac_n "(cached) $ac_c" 1>&6
19125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19126 ac_cpp='$CXXCPP $CPPFLAGS'
19127 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19128 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19129 cross_compiling=$ac_cv_prog_cxx_cross
19131 cat > conftest.$ac_ext <<EOF
19132 #line 19133 "configure"
19133 #include "confdefs.h"
19139 if { (eval echo configure:19140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19141 glibcpp_cv_func_hypotl_use=yes
19143 echo "configure: failed program was:" >&5
19144 cat conftest.$ac_ext >&5
19146 glibcpp_cv_func_hypotl_use=no
19150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19151 ac_cpp='$CPP $CPPFLAGS'
19152 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19153 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19154 cross_compiling=$ac_cv_prog_cc_cross
19160 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
19162 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
19163 for ac_func in hypotl
19165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19166 echo "configure:19167: checking for $ac_func" >&5
19167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19168 echo $ac_n "(cached) $ac_c" 1>&6
19170 cat > conftest.$ac_ext <<EOF
19171 #line 19172 "configure"
19172 #include "confdefs.h"
19173 /* System header to define __stub macros and hopefully few prototypes,
19174 which can conflict with char $ac_func(); below. */
19175 #include <assert.h>
19176 /* Override any gcc2 internal prototype to avoid an error. */
19177 /* We use char because int might match the return type of a gcc2
19178 builtin and then its argument prototype would still apply. */
19183 /* The GNU C library defines this for functions which it implements
19184 to always fail with ENOSYS. Some functions are actually named
19185 something starting with __ and the normal name is an alias. */
19186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19194 if { (eval echo configure:19195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19196 eval "ac_cv_func_$ac_func=yes"
19198 echo "configure: failed program was:" >&5
19199 cat conftest.$ac_ext >&5
19201 eval "ac_cv_func_$ac_func=no"
19206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19207 echo "$ac_t""yes" 1>&6
19208 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19209 cat >> confdefs.h <<EOF
19210 #define $ac_tr_func 1
19214 echo "$ac_t""no" 1>&6
19220 echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
19221 echo "configure:19222: checking for _hypotl declaration" >&5
19222 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
19223 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
19224 echo $ac_n "(cached) $ac_c" 1>&6
19229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19230 ac_cpp='$CXXCPP $CPPFLAGS'
19231 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19232 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19233 cross_compiling=$ac_cv_prog_cxx_cross
19235 cat > conftest.$ac_ext <<EOF
19236 #line 19237 "configure"
19237 #include "confdefs.h"
19243 if { (eval echo configure:19244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19245 glibcpp_cv_func__hypotl_use=yes
19247 echo "configure: failed program was:" >&5
19248 cat conftest.$ac_ext >&5
19250 glibcpp_cv_func__hypotl_use=no
19254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19255 ac_cpp='$CPP $CPPFLAGS'
19256 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19257 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19258 cross_compiling=$ac_cv_prog_cc_cross
19264 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
19266 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
19267 for ac_func in _hypotl
19269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19270 echo "configure:19271: checking for $ac_func" >&5
19271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19272 echo $ac_n "(cached) $ac_c" 1>&6
19274 cat > conftest.$ac_ext <<EOF
19275 #line 19276 "configure"
19276 #include "confdefs.h"
19277 /* System header to define __stub macros and hopefully few prototypes,
19278 which can conflict with char $ac_func(); below. */
19279 #include <assert.h>
19280 /* Override any gcc2 internal prototype to avoid an error. */
19281 /* We use char because int might match the return type of a gcc2
19282 builtin and then its argument prototype would still apply. */
19287 /* The GNU C library defines this for functions which it implements
19288 to always fail with ENOSYS. Some functions are actually named
19289 something starting with __ and the normal name is an alias. */
19290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19298 if { (eval echo configure:19299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19300 eval "ac_cv_func_$ac_func=yes"
19302 echo "configure: failed program was:" >&5
19303 cat conftest.$ac_ext >&5
19305 eval "ac_cv_func_$ac_func=no"
19310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19311 echo "$ac_t""yes" 1>&6
19312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19313 cat >> confdefs.h <<EOF
19314 #define $ac_tr_func 1
19318 echo "$ac_t""no" 1>&6
19327 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
19328 echo "configure:19329: checking for ldexpl declaration" >&5
19329 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
19330 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
19331 echo $ac_n "(cached) $ac_c" 1>&6
19336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19337 ac_cpp='$CXXCPP $CPPFLAGS'
19338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19340 cross_compiling=$ac_cv_prog_cxx_cross
19342 cat > conftest.$ac_ext <<EOF
19343 #line 19344 "configure"
19344 #include "confdefs.h"
19350 if { (eval echo configure:19351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19352 glibcpp_cv_func_ldexpl_use=yes
19354 echo "configure: failed program was:" >&5
19355 cat conftest.$ac_ext >&5
19357 glibcpp_cv_func_ldexpl_use=no
19361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19362 ac_cpp='$CPP $CPPFLAGS'
19363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19365 cross_compiling=$ac_cv_prog_cc_cross
19371 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
19373 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
19374 for ac_func in ldexpl
19376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19377 echo "configure:19378: checking for $ac_func" >&5
19378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19379 echo $ac_n "(cached) $ac_c" 1>&6
19381 cat > conftest.$ac_ext <<EOF
19382 #line 19383 "configure"
19383 #include "confdefs.h"
19384 /* System header to define __stub macros and hopefully few prototypes,
19385 which can conflict with char $ac_func(); below. */
19386 #include <assert.h>
19387 /* Override any gcc2 internal prototype to avoid an error. */
19388 /* We use char because int might match the return type of a gcc2
19389 builtin and then its argument prototype would still apply. */
19394 /* The GNU C library defines this for functions which it implements
19395 to always fail with ENOSYS. Some functions are actually named
19396 something starting with __ and the normal name is an alias. */
19397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19405 if { (eval echo configure:19406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19407 eval "ac_cv_func_$ac_func=yes"
19409 echo "configure: failed program was:" >&5
19410 cat conftest.$ac_ext >&5
19412 eval "ac_cv_func_$ac_func=no"
19417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19418 echo "$ac_t""yes" 1>&6
19419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19420 cat >> confdefs.h <<EOF
19421 #define $ac_tr_func 1
19425 echo "$ac_t""no" 1>&6
19431 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
19432 echo "configure:19433: checking for _ldexpl declaration" >&5
19433 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
19434 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
19435 echo $ac_n "(cached) $ac_c" 1>&6
19440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19441 ac_cpp='$CXXCPP $CPPFLAGS'
19442 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19443 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19444 cross_compiling=$ac_cv_prog_cxx_cross
19446 cat > conftest.$ac_ext <<EOF
19447 #line 19448 "configure"
19448 #include "confdefs.h"
19454 if { (eval echo configure:19455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19456 glibcpp_cv_func__ldexpl_use=yes
19458 echo "configure: failed program was:" >&5
19459 cat conftest.$ac_ext >&5
19461 glibcpp_cv_func__ldexpl_use=no
19465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19469 cross_compiling=$ac_cv_prog_cc_cross
19475 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
19477 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
19478 for ac_func in _ldexpl
19480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19481 echo "configure:19482: checking for $ac_func" >&5
19482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19483 echo $ac_n "(cached) $ac_c" 1>&6
19485 cat > conftest.$ac_ext <<EOF
19486 #line 19487 "configure"
19487 #include "confdefs.h"
19488 /* System header to define __stub macros and hopefully few prototypes,
19489 which can conflict with char $ac_func(); below. */
19490 #include <assert.h>
19491 /* Override any gcc2 internal prototype to avoid an error. */
19492 /* We use char because int might match the return type of a gcc2
19493 builtin and then its argument prototype would still apply. */
19498 /* The GNU C library defines this for functions which it implements
19499 to always fail with ENOSYS. Some functions are actually named
19500 something starting with __ and the normal name is an alias. */
19501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19509 if { (eval echo configure:19510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19511 eval "ac_cv_func_$ac_func=yes"
19513 echo "configure: failed program was:" >&5
19514 cat conftest.$ac_ext >&5
19516 eval "ac_cv_func_$ac_func=no"
19521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19522 echo "$ac_t""yes" 1>&6
19523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19524 cat >> confdefs.h <<EOF
19525 #define $ac_tr_func 1
19529 echo "$ac_t""no" 1>&6
19538 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
19539 echo "configure:19540: checking for logl declaration" >&5
19540 if test x${glibcpp_cv_func_logl_use+set} != xset; then
19541 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
19542 echo $ac_n "(cached) $ac_c" 1>&6
19547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19551 cross_compiling=$ac_cv_prog_cxx_cross
19553 cat > conftest.$ac_ext <<EOF
19554 #line 19555 "configure"
19555 #include "confdefs.h"
19557 #ifdef HAVE_IEEEFP_H
19558 #include <ieeefp.h>
19565 if { (eval echo configure:19566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19567 glibcpp_cv_func_logl_use=yes
19569 echo "configure: failed program was:" >&5
19570 cat conftest.$ac_ext >&5
19572 glibcpp_cv_func_logl_use=no
19576 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19577 ac_cpp='$CPP $CPPFLAGS'
19578 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19579 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19580 cross_compiling=$ac_cv_prog_cc_cross
19586 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
19588 if test x$glibcpp_cv_func_logl_use = x"yes"; then
19589 for ac_func in logl
19591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19592 echo "configure:19593: checking for $ac_func" >&5
19593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19594 echo $ac_n "(cached) $ac_c" 1>&6
19596 cat > conftest.$ac_ext <<EOF
19597 #line 19598 "configure"
19598 #include "confdefs.h"
19599 /* System header to define __stub macros and hopefully few prototypes,
19600 which can conflict with char $ac_func(); below. */
19601 #include <assert.h>
19602 /* Override any gcc2 internal prototype to avoid an error. */
19603 /* We use char because int might match the return type of a gcc2
19604 builtin and then its argument prototype would still apply. */
19609 /* The GNU C library defines this for functions which it implements
19610 to always fail with ENOSYS. Some functions are actually named
19611 something starting with __ and the normal name is an alias. */
19612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19620 if { (eval echo configure:19621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19622 eval "ac_cv_func_$ac_func=yes"
19624 echo "configure: failed program was:" >&5
19625 cat conftest.$ac_ext >&5
19627 eval "ac_cv_func_$ac_func=no"
19632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19633 echo "$ac_t""yes" 1>&6
19634 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19635 cat >> confdefs.h <<EOF
19636 #define $ac_tr_func 1
19640 echo "$ac_t""no" 1>&6
19646 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
19647 echo "configure:19648: checking for _logl declaration" >&5
19648 if test x${glibcpp_cv_func__logl_use+set} != xset; then
19649 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
19650 echo $ac_n "(cached) $ac_c" 1>&6
19655 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19658 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19659 cross_compiling=$ac_cv_prog_cxx_cross
19661 cat > conftest.$ac_ext <<EOF
19662 #line 19663 "configure"
19663 #include "confdefs.h"
19665 #ifdef HAVE_IEEEFP_H
19666 #include <ieeefp.h>
19673 if { (eval echo configure:19674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19675 glibcpp_cv_func__logl_use=yes
19677 echo "configure: failed program was:" >&5
19678 cat conftest.$ac_ext >&5
19680 glibcpp_cv_func__logl_use=no
19684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19685 ac_cpp='$CPP $CPPFLAGS'
19686 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19687 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19688 cross_compiling=$ac_cv_prog_cc_cross
19694 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
19696 if test x$glibcpp_cv_func__logl_use = x"yes"; then
19697 for ac_func in _logl
19699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19700 echo "configure:19701: checking for $ac_func" >&5
19701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19702 echo $ac_n "(cached) $ac_c" 1>&6
19704 cat > conftest.$ac_ext <<EOF
19705 #line 19706 "configure"
19706 #include "confdefs.h"
19707 /* System header to define __stub macros and hopefully few prototypes,
19708 which can conflict with char $ac_func(); below. */
19709 #include <assert.h>
19710 /* Override any gcc2 internal prototype to avoid an error. */
19711 /* We use char because int might match the return type of a gcc2
19712 builtin and then its argument prototype would still apply. */
19717 /* The GNU C library defines this for functions which it implements
19718 to always fail with ENOSYS. Some functions are actually named
19719 something starting with __ and the normal name is an alias. */
19720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19728 if { (eval echo configure:19729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19730 eval "ac_cv_func_$ac_func=yes"
19732 echo "configure: failed program was:" >&5
19733 cat conftest.$ac_ext >&5
19735 eval "ac_cv_func_$ac_func=no"
19740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19741 echo "$ac_t""yes" 1>&6
19742 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19743 cat >> confdefs.h <<EOF
19744 #define $ac_tr_func 1
19748 echo "$ac_t""no" 1>&6
19757 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
19758 echo "configure:19759: checking for log10l declaration" >&5
19759 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
19760 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
19761 echo $ac_n "(cached) $ac_c" 1>&6
19766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19767 ac_cpp='$CXXCPP $CPPFLAGS'
19768 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19769 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19770 cross_compiling=$ac_cv_prog_cxx_cross
19772 cat > conftest.$ac_ext <<EOF
19773 #line 19774 "configure"
19774 #include "confdefs.h"
19776 #ifdef HAVE_IEEEFP_H
19777 #include <ieeefp.h>
19784 if { (eval echo configure:19785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19786 glibcpp_cv_func_log10l_use=yes
19788 echo "configure: failed program was:" >&5
19789 cat conftest.$ac_ext >&5
19791 glibcpp_cv_func_log10l_use=no
19795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19796 ac_cpp='$CPP $CPPFLAGS'
19797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19799 cross_compiling=$ac_cv_prog_cc_cross
19805 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
19807 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
19808 for ac_func in log10l
19810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19811 echo "configure:19812: checking for $ac_func" >&5
19812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19813 echo $ac_n "(cached) $ac_c" 1>&6
19815 cat > conftest.$ac_ext <<EOF
19816 #line 19817 "configure"
19817 #include "confdefs.h"
19818 /* System header to define __stub macros and hopefully few prototypes,
19819 which can conflict with char $ac_func(); below. */
19820 #include <assert.h>
19821 /* Override any gcc2 internal prototype to avoid an error. */
19822 /* We use char because int might match the return type of a gcc2
19823 builtin and then its argument prototype would still apply. */
19828 /* The GNU C library defines this for functions which it implements
19829 to always fail with ENOSYS. Some functions are actually named
19830 something starting with __ and the normal name is an alias. */
19831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19839 if { (eval echo configure:19840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19841 eval "ac_cv_func_$ac_func=yes"
19843 echo "configure: failed program was:" >&5
19844 cat conftest.$ac_ext >&5
19846 eval "ac_cv_func_$ac_func=no"
19851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19852 echo "$ac_t""yes" 1>&6
19853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19854 cat >> confdefs.h <<EOF
19855 #define $ac_tr_func 1
19859 echo "$ac_t""no" 1>&6
19865 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
19866 echo "configure:19867: checking for _log10l declaration" >&5
19867 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
19868 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
19869 echo $ac_n "(cached) $ac_c" 1>&6
19874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19875 ac_cpp='$CXXCPP $CPPFLAGS'
19876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19878 cross_compiling=$ac_cv_prog_cxx_cross
19880 cat > conftest.$ac_ext <<EOF
19881 #line 19882 "configure"
19882 #include "confdefs.h"
19884 #ifdef HAVE_IEEEFP_H
19885 #include <ieeefp.h>
19892 if { (eval echo configure:19893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19894 glibcpp_cv_func__log10l_use=yes
19896 echo "configure: failed program was:" >&5
19897 cat conftest.$ac_ext >&5
19899 glibcpp_cv_func__log10l_use=no
19903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19904 ac_cpp='$CPP $CPPFLAGS'
19905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19907 cross_compiling=$ac_cv_prog_cc_cross
19913 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
19915 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
19916 for ac_func in _log10l
19918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19919 echo "configure:19920: checking for $ac_func" >&5
19920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19921 echo $ac_n "(cached) $ac_c" 1>&6
19923 cat > conftest.$ac_ext <<EOF
19924 #line 19925 "configure"
19925 #include "confdefs.h"
19926 /* System header to define __stub macros and hopefully few prototypes,
19927 which can conflict with char $ac_func(); below. */
19928 #include <assert.h>
19929 /* Override any gcc2 internal prototype to avoid an error. */
19930 /* We use char because int might match the return type of a gcc2
19931 builtin and then its argument prototype would still apply. */
19936 /* The GNU C library defines this for functions which it implements
19937 to always fail with ENOSYS. Some functions are actually named
19938 something starting with __ and the normal name is an alias. */
19939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19947 if { (eval echo configure:19948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19949 eval "ac_cv_func_$ac_func=yes"
19951 echo "configure: failed program was:" >&5
19952 cat conftest.$ac_ext >&5
19954 eval "ac_cv_func_$ac_func=no"
19959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19960 echo "$ac_t""yes" 1>&6
19961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19962 cat >> confdefs.h <<EOF
19963 #define $ac_tr_func 1
19967 echo "$ac_t""no" 1>&6
19976 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
19977 echo "configure:19978: checking for modfl declaration" >&5
19978 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19979 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19980 echo $ac_n "(cached) $ac_c" 1>&6
19985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19986 ac_cpp='$CXXCPP $CPPFLAGS'
19987 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19988 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19989 cross_compiling=$ac_cv_prog_cxx_cross
19991 cat > conftest.$ac_ext <<EOF
19992 #line 19993 "configure"
19993 #include "confdefs.h"
19999 if { (eval echo configure:20000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20001 glibcpp_cv_func_modfl_use=yes
20003 echo "configure: failed program was:" >&5
20004 cat conftest.$ac_ext >&5
20006 glibcpp_cv_func_modfl_use=no
20010 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20011 ac_cpp='$CPP $CPPFLAGS'
20012 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20013 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20014 cross_compiling=$ac_cv_prog_cc_cross
20020 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
20022 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
20023 for ac_func in modfl
20025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20026 echo "configure:20027: checking for $ac_func" >&5
20027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20028 echo $ac_n "(cached) $ac_c" 1>&6
20030 cat > conftest.$ac_ext <<EOF
20031 #line 20032 "configure"
20032 #include "confdefs.h"
20033 /* System header to define __stub macros and hopefully few prototypes,
20034 which can conflict with char $ac_func(); below. */
20035 #include <assert.h>
20036 /* Override any gcc2 internal prototype to avoid an error. */
20037 /* We use char because int might match the return type of a gcc2
20038 builtin and then its argument prototype would still apply. */
20043 /* The GNU C library defines this for functions which it implements
20044 to always fail with ENOSYS. Some functions are actually named
20045 something starting with __ and the normal name is an alias. */
20046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20054 if { (eval echo configure:20055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20056 eval "ac_cv_func_$ac_func=yes"
20058 echo "configure: failed program was:" >&5
20059 cat conftest.$ac_ext >&5
20061 eval "ac_cv_func_$ac_func=no"
20066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20067 echo "$ac_t""yes" 1>&6
20068 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20069 cat >> confdefs.h <<EOF
20070 #define $ac_tr_func 1
20074 echo "$ac_t""no" 1>&6
20080 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
20081 echo "configure:20082: checking for _modfl declaration" >&5
20082 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
20083 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
20084 echo $ac_n "(cached) $ac_c" 1>&6
20089 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20090 ac_cpp='$CXXCPP $CPPFLAGS'
20091 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20092 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20093 cross_compiling=$ac_cv_prog_cxx_cross
20095 cat > conftest.$ac_ext <<EOF
20096 #line 20097 "configure"
20097 #include "confdefs.h"
20103 if { (eval echo configure:20104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20105 glibcpp_cv_func__modfl_use=yes
20107 echo "configure: failed program was:" >&5
20108 cat conftest.$ac_ext >&5
20110 glibcpp_cv_func__modfl_use=no
20114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20115 ac_cpp='$CPP $CPPFLAGS'
20116 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20117 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20118 cross_compiling=$ac_cv_prog_cc_cross
20124 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
20126 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
20127 for ac_func in _modfl
20129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20130 echo "configure:20131: checking for $ac_func" >&5
20131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20132 echo $ac_n "(cached) $ac_c" 1>&6
20134 cat > conftest.$ac_ext <<EOF
20135 #line 20136 "configure"
20136 #include "confdefs.h"
20137 /* System header to define __stub macros and hopefully few prototypes,
20138 which can conflict with char $ac_func(); below. */
20139 #include <assert.h>
20140 /* Override any gcc2 internal prototype to avoid an error. */
20141 /* We use char because int might match the return type of a gcc2
20142 builtin and then its argument prototype would still apply. */
20147 /* The GNU C library defines this for functions which it implements
20148 to always fail with ENOSYS. Some functions are actually named
20149 something starting with __ and the normal name is an alias. */
20150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20158 if { (eval echo configure:20159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20160 eval "ac_cv_func_$ac_func=yes"
20162 echo "configure: failed program was:" >&5
20163 cat conftest.$ac_ext >&5
20165 eval "ac_cv_func_$ac_func=no"
20170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20171 echo "$ac_t""yes" 1>&6
20172 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20173 cat >> confdefs.h <<EOF
20174 #define $ac_tr_func 1
20178 echo "$ac_t""no" 1>&6
20187 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
20188 echo "configure:20189: checking for powl declaration" >&5
20189 if test x${glibcpp_cv_func_powl_use+set} != xset; then
20190 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
20191 echo $ac_n "(cached) $ac_c" 1>&6
20196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20197 ac_cpp='$CXXCPP $CPPFLAGS'
20198 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20199 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20200 cross_compiling=$ac_cv_prog_cxx_cross
20202 cat > conftest.$ac_ext <<EOF
20203 #line 20204 "configure"
20204 #include "confdefs.h"
20210 if { (eval echo configure:20211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20212 glibcpp_cv_func_powl_use=yes
20214 echo "configure: failed program was:" >&5
20215 cat conftest.$ac_ext >&5
20217 glibcpp_cv_func_powl_use=no
20221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20222 ac_cpp='$CPP $CPPFLAGS'
20223 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20224 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20225 cross_compiling=$ac_cv_prog_cc_cross
20231 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
20233 if test x$glibcpp_cv_func_powl_use = x"yes"; then
20234 for ac_func in powl
20236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20237 echo "configure:20238: checking for $ac_func" >&5
20238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20239 echo $ac_n "(cached) $ac_c" 1>&6
20241 cat > conftest.$ac_ext <<EOF
20242 #line 20243 "configure"
20243 #include "confdefs.h"
20244 /* System header to define __stub macros and hopefully few prototypes,
20245 which can conflict with char $ac_func(); below. */
20246 #include <assert.h>
20247 /* Override any gcc2 internal prototype to avoid an error. */
20248 /* We use char because int might match the return type of a gcc2
20249 builtin and then its argument prototype would still apply. */
20254 /* The GNU C library defines this for functions which it implements
20255 to always fail with ENOSYS. Some functions are actually named
20256 something starting with __ and the normal name is an alias. */
20257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20265 if { (eval echo configure:20266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20267 eval "ac_cv_func_$ac_func=yes"
20269 echo "configure: failed program was:" >&5
20270 cat conftest.$ac_ext >&5
20272 eval "ac_cv_func_$ac_func=no"
20277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20278 echo "$ac_t""yes" 1>&6
20279 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20280 cat >> confdefs.h <<EOF
20281 #define $ac_tr_func 1
20285 echo "$ac_t""no" 1>&6
20291 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
20292 echo "configure:20293: checking for _powl declaration" >&5
20293 if test x${glibcpp_cv_func__powl_use+set} != xset; then
20294 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
20295 echo $ac_n "(cached) $ac_c" 1>&6
20300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20304 cross_compiling=$ac_cv_prog_cxx_cross
20306 cat > conftest.$ac_ext <<EOF
20307 #line 20308 "configure"
20308 #include "confdefs.h"
20314 if { (eval echo configure:20315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20316 glibcpp_cv_func__powl_use=yes
20318 echo "configure: failed program was:" >&5
20319 cat conftest.$ac_ext >&5
20321 glibcpp_cv_func__powl_use=no
20325 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20326 ac_cpp='$CPP $CPPFLAGS'
20327 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20328 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20329 cross_compiling=$ac_cv_prog_cc_cross
20335 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
20337 if test x$glibcpp_cv_func__powl_use = x"yes"; then
20338 for ac_func in _powl
20340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20341 echo "configure:20342: checking for $ac_func" >&5
20342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20343 echo $ac_n "(cached) $ac_c" 1>&6
20345 cat > conftest.$ac_ext <<EOF
20346 #line 20347 "configure"
20347 #include "confdefs.h"
20348 /* System header to define __stub macros and hopefully few prototypes,
20349 which can conflict with char $ac_func(); below. */
20350 #include <assert.h>
20351 /* Override any gcc2 internal prototype to avoid an error. */
20352 /* We use char because int might match the return type of a gcc2
20353 builtin and then its argument prototype would still apply. */
20358 /* The GNU C library defines this for functions which it implements
20359 to always fail with ENOSYS. Some functions are actually named
20360 something starting with __ and the normal name is an alias. */
20361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20369 if { (eval echo configure:20370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20371 eval "ac_cv_func_$ac_func=yes"
20373 echo "configure: failed program was:" >&5
20374 cat conftest.$ac_ext >&5
20376 eval "ac_cv_func_$ac_func=no"
20381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20382 echo "$ac_t""yes" 1>&6
20383 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20384 cat >> confdefs.h <<EOF
20385 #define $ac_tr_func 1
20389 echo "$ac_t""no" 1>&6
20398 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
20399 echo "configure:20400: checking for sqrtl declaration" >&5
20400 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
20401 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
20402 echo $ac_n "(cached) $ac_c" 1>&6
20407 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20410 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20411 cross_compiling=$ac_cv_prog_cxx_cross
20413 cat > conftest.$ac_ext <<EOF
20414 #line 20415 "configure"
20415 #include "confdefs.h"
20417 #ifdef HAVE_IEEEFP_H
20418 #include <ieeefp.h>
20425 if { (eval echo configure:20426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20427 glibcpp_cv_func_sqrtl_use=yes
20429 echo "configure: failed program was:" >&5
20430 cat conftest.$ac_ext >&5
20432 glibcpp_cv_func_sqrtl_use=no
20436 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20437 ac_cpp='$CPP $CPPFLAGS'
20438 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20439 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20440 cross_compiling=$ac_cv_prog_cc_cross
20446 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
20448 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
20449 for ac_func in sqrtl
20451 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20452 echo "configure:20453: checking for $ac_func" >&5
20453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20454 echo $ac_n "(cached) $ac_c" 1>&6
20456 cat > conftest.$ac_ext <<EOF
20457 #line 20458 "configure"
20458 #include "confdefs.h"
20459 /* System header to define __stub macros and hopefully few prototypes,
20460 which can conflict with char $ac_func(); below. */
20461 #include <assert.h>
20462 /* Override any gcc2 internal prototype to avoid an error. */
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20469 /* The GNU C library defines this for functions which it implements
20470 to always fail with ENOSYS. Some functions are actually named
20471 something starting with __ and the normal name is an alias. */
20472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20480 if { (eval echo configure:20481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20482 eval "ac_cv_func_$ac_func=yes"
20484 echo "configure: failed program was:" >&5
20485 cat conftest.$ac_ext >&5
20487 eval "ac_cv_func_$ac_func=no"
20492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20493 echo "$ac_t""yes" 1>&6
20494 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20495 cat >> confdefs.h <<EOF
20496 #define $ac_tr_func 1
20500 echo "$ac_t""no" 1>&6
20506 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
20507 echo "configure:20508: checking for _sqrtl declaration" >&5
20508 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
20509 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
20510 echo $ac_n "(cached) $ac_c" 1>&6
20515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20516 ac_cpp='$CXXCPP $CPPFLAGS'
20517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20519 cross_compiling=$ac_cv_prog_cxx_cross
20521 cat > conftest.$ac_ext <<EOF
20522 #line 20523 "configure"
20523 #include "confdefs.h"
20525 #ifdef HAVE_IEEEFP_H
20526 #include <ieeefp.h>
20533 if { (eval echo configure:20534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20535 glibcpp_cv_func__sqrtl_use=yes
20537 echo "configure: failed program was:" >&5
20538 cat conftest.$ac_ext >&5
20540 glibcpp_cv_func__sqrtl_use=no
20544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20545 ac_cpp='$CPP $CPPFLAGS'
20546 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20547 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20548 cross_compiling=$ac_cv_prog_cc_cross
20554 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
20556 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
20557 for ac_func in _sqrtl
20559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20560 echo "configure:20561: checking for $ac_func" >&5
20561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20562 echo $ac_n "(cached) $ac_c" 1>&6
20564 cat > conftest.$ac_ext <<EOF
20565 #line 20566 "configure"
20566 #include "confdefs.h"
20567 /* System header to define __stub macros and hopefully few prototypes,
20568 which can conflict with char $ac_func(); below. */
20569 #include <assert.h>
20570 /* Override any gcc2 internal prototype to avoid an error. */
20571 /* We use char because int might match the return type of a gcc2
20572 builtin and then its argument prototype would still apply. */
20577 /* The GNU C library defines this for functions which it implements
20578 to always fail with ENOSYS. Some functions are actually named
20579 something starting with __ and the normal name is an alias. */
20580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20588 if { (eval echo configure:20589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20590 eval "ac_cv_func_$ac_func=yes"
20592 echo "configure: failed program was:" >&5
20593 cat conftest.$ac_ext >&5
20595 eval "ac_cv_func_$ac_func=no"
20600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20601 echo "$ac_t""yes" 1>&6
20602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20603 cat >> confdefs.h <<EOF
20604 #define $ac_tr_func 1
20608 echo "$ac_t""no" 1>&6
20617 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
20618 echo "configure:20619: checking for sincosl declaration" >&5
20619 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
20620 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
20621 echo $ac_n "(cached) $ac_c" 1>&6
20626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20627 ac_cpp='$CXXCPP $CPPFLAGS'
20628 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20629 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20630 cross_compiling=$ac_cv_prog_cxx_cross
20632 cat > conftest.$ac_ext <<EOF
20633 #line 20634 "configure"
20634 #include "confdefs.h"
20640 if { (eval echo configure:20641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20642 glibcpp_cv_func_sincosl_use=yes
20644 echo "configure: failed program was:" >&5
20645 cat conftest.$ac_ext >&5
20647 glibcpp_cv_func_sincosl_use=no
20651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20652 ac_cpp='$CPP $CPPFLAGS'
20653 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20654 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20655 cross_compiling=$ac_cv_prog_cc_cross
20661 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
20663 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
20664 for ac_func in sincosl
20666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20667 echo "configure:20668: checking for $ac_func" >&5
20668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20669 echo $ac_n "(cached) $ac_c" 1>&6
20671 cat > conftest.$ac_ext <<EOF
20672 #line 20673 "configure"
20673 #include "confdefs.h"
20674 /* System header to define __stub macros and hopefully few prototypes,
20675 which can conflict with char $ac_func(); below. */
20676 #include <assert.h>
20677 /* Override any gcc2 internal prototype to avoid an error. */
20678 /* We use char because int might match the return type of a gcc2
20679 builtin and then its argument prototype would still apply. */
20684 /* The GNU C library defines this for functions which it implements
20685 to always fail with ENOSYS. Some functions are actually named
20686 something starting with __ and the normal name is an alias. */
20687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20695 if { (eval echo configure:20696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20697 eval "ac_cv_func_$ac_func=yes"
20699 echo "configure: failed program was:" >&5
20700 cat conftest.$ac_ext >&5
20702 eval "ac_cv_func_$ac_func=no"
20707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20708 echo "$ac_t""yes" 1>&6
20709 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20710 cat >> confdefs.h <<EOF
20711 #define $ac_tr_func 1
20715 echo "$ac_t""no" 1>&6
20721 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
20722 echo "configure:20723: checking for _sincosl declaration" >&5
20723 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
20724 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
20725 echo $ac_n "(cached) $ac_c" 1>&6
20730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20731 ac_cpp='$CXXCPP $CPPFLAGS'
20732 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20733 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20734 cross_compiling=$ac_cv_prog_cxx_cross
20736 cat > conftest.$ac_ext <<EOF
20737 #line 20738 "configure"
20738 #include "confdefs.h"
20744 if { (eval echo configure:20745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20746 glibcpp_cv_func__sincosl_use=yes
20748 echo "configure: failed program was:" >&5
20749 cat conftest.$ac_ext >&5
20751 glibcpp_cv_func__sincosl_use=no
20755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20756 ac_cpp='$CPP $CPPFLAGS'
20757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20759 cross_compiling=$ac_cv_prog_cc_cross
20765 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
20767 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
20768 for ac_func in _sincosl
20770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20771 echo "configure:20772: checking for $ac_func" >&5
20772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20773 echo $ac_n "(cached) $ac_c" 1>&6
20775 cat > conftest.$ac_ext <<EOF
20776 #line 20777 "configure"
20777 #include "confdefs.h"
20778 /* System header to define __stub macros and hopefully few prototypes,
20779 which can conflict with char $ac_func(); below. */
20780 #include <assert.h>
20781 /* Override any gcc2 internal prototype to avoid an error. */
20782 /* We use char because int might match the return type of a gcc2
20783 builtin and then its argument prototype would still apply. */
20788 /* The GNU C library defines this for functions which it implements
20789 to always fail with ENOSYS. Some functions are actually named
20790 something starting with __ and the normal name is an alias. */
20791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20799 if { (eval echo configure:20800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20801 eval "ac_cv_func_$ac_func=yes"
20803 echo "configure: failed program was:" >&5
20804 cat conftest.$ac_ext >&5
20806 eval "ac_cv_func_$ac_func=no"
20811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20812 echo "$ac_t""yes" 1>&6
20813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20814 cat >> confdefs.h <<EOF
20815 #define $ac_tr_func 1
20819 echo "$ac_t""no" 1>&6
20828 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
20829 echo "configure:20830: checking for finitel declaration" >&5
20830 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
20831 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
20832 echo $ac_n "(cached) $ac_c" 1>&6
20837 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20838 ac_cpp='$CXXCPP $CPPFLAGS'
20839 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20840 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20841 cross_compiling=$ac_cv_prog_cxx_cross
20843 cat > conftest.$ac_ext <<EOF
20844 #line 20845 "configure"
20845 #include "confdefs.h"
20847 #ifdef HAVE_IEEEFP_H
20848 #include <ieeefp.h>
20855 if { (eval echo configure:20856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20857 glibcpp_cv_func_finitel_use=yes
20859 echo "configure: failed program was:" >&5
20860 cat conftest.$ac_ext >&5
20862 glibcpp_cv_func_finitel_use=no
20866 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20867 ac_cpp='$CPP $CPPFLAGS'
20868 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20869 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20870 cross_compiling=$ac_cv_prog_cc_cross
20876 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
20878 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
20879 for ac_func in finitel
20881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20882 echo "configure:20883: checking for $ac_func" >&5
20883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20884 echo $ac_n "(cached) $ac_c" 1>&6
20886 cat > conftest.$ac_ext <<EOF
20887 #line 20888 "configure"
20888 #include "confdefs.h"
20889 /* System header to define __stub macros and hopefully few prototypes,
20890 which can conflict with char $ac_func(); below. */
20891 #include <assert.h>
20892 /* Override any gcc2 internal prototype to avoid an error. */
20893 /* We use char because int might match the return type of a gcc2
20894 builtin and then its argument prototype would still apply. */
20899 /* The GNU C library defines this for functions which it implements
20900 to always fail with ENOSYS. Some functions are actually named
20901 something starting with __ and the normal name is an alias. */
20902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20910 if { (eval echo configure:20911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20912 eval "ac_cv_func_$ac_func=yes"
20914 echo "configure: failed program was:" >&5
20915 cat conftest.$ac_ext >&5
20917 eval "ac_cv_func_$ac_func=no"
20922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20923 echo "$ac_t""yes" 1>&6
20924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20925 cat >> confdefs.h <<EOF
20926 #define $ac_tr_func 1
20930 echo "$ac_t""no" 1>&6
20936 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
20937 echo "configure:20938: checking for _finitel declaration" >&5
20938 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
20939 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
20940 echo $ac_n "(cached) $ac_c" 1>&6
20945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20946 ac_cpp='$CXXCPP $CPPFLAGS'
20947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20949 cross_compiling=$ac_cv_prog_cxx_cross
20951 cat > conftest.$ac_ext <<EOF
20952 #line 20953 "configure"
20953 #include "confdefs.h"
20955 #ifdef HAVE_IEEEFP_H
20956 #include <ieeefp.h>
20963 if { (eval echo configure:20964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20965 glibcpp_cv_func__finitel_use=yes
20967 echo "configure: failed program was:" >&5
20968 cat conftest.$ac_ext >&5
20970 glibcpp_cv_func__finitel_use=no
20974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20975 ac_cpp='$CPP $CPPFLAGS'
20976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20978 cross_compiling=$ac_cv_prog_cc_cross
20984 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20986 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20987 for ac_func in _finitel
20989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20990 echo "configure:20991: checking for $ac_func" >&5
20991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20992 echo $ac_n "(cached) $ac_c" 1>&6
20994 cat > conftest.$ac_ext <<EOF
20995 #line 20996 "configure"
20996 #include "confdefs.h"
20997 /* System header to define __stub macros and hopefully few prototypes,
20998 which can conflict with char $ac_func(); below. */
20999 #include <assert.h>
21000 /* Override any gcc2 internal prototype to avoid an error. */
21001 /* We use char because int might match the return type of a gcc2
21002 builtin and then its argument prototype would still apply. */
21007 /* The GNU C library defines this for functions which it implements
21008 to always fail with ENOSYS. Some functions are actually named
21009 something starting with __ and the normal name is an alias. */
21010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21018 if { (eval echo configure:21019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21020 eval "ac_cv_func_$ac_func=yes"
21022 echo "configure: failed program was:" >&5
21023 cat conftest.$ac_ext >&5
21025 eval "ac_cv_func_$ac_func=no"
21030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21031 echo "$ac_t""yes" 1>&6
21032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21033 cat >> confdefs.h <<EOF
21034 #define $ac_tr_func 1
21038 echo "$ac_t""no" 1>&6
21048 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
21049 echo "configure:21050: checking for _float trig functions" >&5
21050 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
21051 echo $ac_n "(cached) $ac_c" 1>&6
21056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21057 ac_cpp='$CXXCPP $CPPFLAGS'
21058 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21059 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21060 cross_compiling=$ac_cv_prog_cxx_cross
21062 cat > conftest.$ac_ext <<EOF
21063 #line 21064 "configure"
21064 #include "confdefs.h"
21067 `for x in _acosf _asinf _atanf \
21068 _cosf _sinf _tanf \
21069 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21072 if { (eval echo configure:21073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21074 glibcpp_cv_func__float_trig_use=yes
21076 echo "configure: failed program was:" >&5
21077 cat conftest.$ac_ext >&5
21079 glibcpp_cv_func__float_trig_use=no
21083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21087 cross_compiling=$ac_cv_prog_cc_cross
21091 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
21092 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
21093 for ac_func in _acosf _asinf _atanf \
21094 _cosf _sinf _tanf \
21095 _coshf _sinhf _tanhf
21097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21098 echo "configure:21099: checking for $ac_func" >&5
21099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21100 echo $ac_n "(cached) $ac_c" 1>&6
21102 cat > conftest.$ac_ext <<EOF
21103 #line 21104 "configure"
21104 #include "confdefs.h"
21105 /* System header to define __stub macros and hopefully few prototypes,
21106 which can conflict with char $ac_func(); below. */
21107 #include <assert.h>
21108 /* Override any gcc2 internal prototype to avoid an error. */
21109 /* We use char because int might match the return type of a gcc2
21110 builtin and then its argument prototype would still apply. */
21115 /* The GNU C library defines this for functions which it implements
21116 to always fail with ENOSYS. Some functions are actually named
21117 something starting with __ and the normal name is an alias. */
21118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21126 if { (eval echo configure:21127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21128 eval "ac_cv_func_$ac_func=yes"
21130 echo "configure: failed program was:" >&5
21131 cat conftest.$ac_ext >&5
21133 eval "ac_cv_func_$ac_func=no"
21138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21139 echo "$ac_t""yes" 1>&6
21140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21141 cat >> confdefs.h <<EOF
21142 #define $ac_tr_func 1
21146 echo "$ac_t""no" 1>&6
21153 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
21154 echo "configure:21155: checking for _float round functions" >&5
21155 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_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"
21172 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21175 if { (eval echo configure:21176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21177 glibcpp_cv_func__float_round_use=yes
21179 echo "configure: failed program was:" >&5
21180 cat conftest.$ac_ext >&5
21182 glibcpp_cv_func__float_round_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
21194 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
21195 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
21196 for ac_func in _ceilf _floorf
21198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21199 echo "configure:21200: checking for $ac_func" >&5
21200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21201 echo $ac_n "(cached) $ac_c" 1>&6
21203 cat > conftest.$ac_ext <<EOF
21204 #line 21205 "configure"
21205 #include "confdefs.h"
21206 /* System header to define __stub macros and hopefully few prototypes,
21207 which can conflict with char $ac_func(); below. */
21208 #include <assert.h>
21209 /* Override any gcc2 internal prototype to avoid an error. */
21210 /* We use char because int might match the return type of a gcc2
21211 builtin and then its argument prototype would still apply. */
21216 /* The GNU C library defines this for functions which it implements
21217 to always fail with ENOSYS. Some functions are actually named
21218 something starting with __ and the normal name is an alias. */
21219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21227 if { (eval echo configure:21228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21229 eval "ac_cv_func_$ac_func=yes"
21231 echo "configure: failed program was:" >&5
21232 cat conftest.$ac_ext >&5
21234 eval "ac_cv_func_$ac_func=no"
21239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21240 echo "$ac_t""yes" 1>&6
21241 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21242 cat >> confdefs.h <<EOF
21243 #define $ac_tr_func 1
21247 echo "$ac_t""no" 1>&6
21255 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
21256 echo "configure:21257: checking for _long double trig functions" >&5
21257 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
21258 echo $ac_n "(cached) $ac_c" 1>&6
21263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21264 ac_cpp='$CXXCPP $CPPFLAGS'
21265 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21266 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21267 cross_compiling=$ac_cv_prog_cxx_cross
21269 cat > conftest.$ac_ext <<EOF
21270 #line 21271 "configure"
21271 #include "confdefs.h"
21274 `for x in _acosl _asinl _atanl \
21275 _cosl _sinl _tanl \
21276 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21279 if { (eval echo configure:21280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21281 glibcpp_cv_func__long_double_trig_use=yes
21283 echo "configure: failed program was:" >&5
21284 cat conftest.$ac_ext >&5
21286 glibcpp_cv_func__long_double_trig_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
21298 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
21299 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
21300 for ac_func in _acosl _asinl _atanl \
21301 _cosl _sinl _tanl \
21302 _coshl _sinhl _tanhl
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
21360 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
21361 echo "configure:21362: checking for _long double round functions" >&5
21362 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
21363 echo $ac_n "(cached) $ac_c" 1>&6
21368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21369 ac_cpp='$CXXCPP $CPPFLAGS'
21370 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21371 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21372 cross_compiling=$ac_cv_prog_cxx_cross
21374 cat > conftest.$ac_ext <<EOF
21375 #line 21376 "configure"
21376 #include "confdefs.h"
21379 `for x in _ceill _floorl; do echo "$x (0);"; done`
21382 if { (eval echo configure:21383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21384 glibcpp_cv_func__long_double_round_use=yes
21386 echo "configure: failed program was:" >&5
21387 cat conftest.$ac_ext >&5
21389 glibcpp_cv_func__long_double_round_use=no
21393 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21394 ac_cpp='$CPP $CPPFLAGS'
21395 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21396 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21397 cross_compiling=$ac_cv_prog_cc_cross
21401 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
21402 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
21403 for ac_func in _ceill _floorl
21405 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21406 echo "configure:21407: checking for $ac_func" >&5
21407 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21408 echo $ac_n "(cached) $ac_c" 1>&6
21410 cat > conftest.$ac_ext <<EOF
21411 #line 21412 "configure"
21412 #include "confdefs.h"
21413 /* System header to define __stub macros and hopefully few prototypes,
21414 which can conflict with char $ac_func(); below. */
21415 #include <assert.h>
21416 /* Override any gcc2 internal prototype to avoid an error. */
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21423 /* The GNU C library defines this for functions which it implements
21424 to always fail with ENOSYS. Some functions are actually named
21425 something starting with __ and the normal name is an alias. */
21426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21434 if { (eval echo configure:21435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21436 eval "ac_cv_func_$ac_func=yes"
21438 echo "configure: failed program was:" >&5
21439 cat conftest.$ac_ext >&5
21441 eval "ac_cv_func_$ac_func=no"
21446 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21447 echo "$ac_t""yes" 1>&6
21448 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21449 cat >> confdefs.h <<EOF
21450 #define $ac_tr_func 1
21454 echo "$ac_t""no" 1>&6
21461 LIBS="$ac_save_LIBS"
21462 CXXFLAGS="$ac_save_CXXFLAGS"
21465 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
21466 echo "configure:21467: checking for main in -lm" >&5
21467 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21469 echo $ac_n "(cached) $ac_c" 1>&6
21471 ac_save_LIBS="$LIBS"
21473 cat > conftest.$ac_ext <<EOF
21474 #line 21475 "configure"
21475 #include "confdefs.h"
21481 if { (eval echo configure:21482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21483 eval "ac_cv_lib_$ac_lib_var=yes"
21485 echo "configure: failed program was:" >&5
21486 cat conftest.$ac_ext >&5
21488 eval "ac_cv_lib_$ac_lib_var=no"
21491 LIBS="$ac_save_LIBS"
21494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21495 echo "$ac_t""yes" 1>&6
21496 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21497 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21498 cat >> confdefs.h <<EOF
21499 #define $ac_tr_lib 1
21505 echo "$ac_t""no" 1>&6
21508 for ac_func in nan copysignf
21510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21511 echo "configure:21512: checking for $ac_func" >&5
21512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21513 echo $ac_n "(cached) $ac_c" 1>&6
21515 cat > conftest.$ac_ext <<EOF
21516 #line 21517 "configure"
21517 #include "confdefs.h"
21518 /* System header to define __stub macros and hopefully few prototypes,
21519 which can conflict with char $ac_func(); below. */
21520 #include <assert.h>
21521 /* Override any gcc2 internal prototype to avoid an error. */
21522 /* We use char because int might match the return type of a gcc2
21523 builtin and then its argument prototype would still apply. */
21528 /* The GNU C library defines this for functions which it implements
21529 to always fail with ENOSYS. Some functions are actually named
21530 something starting with __ and the normal name is an alias. */
21531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21539 if { (eval echo configure:21540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21541 eval "ac_cv_func_$ac_func=yes"
21543 echo "configure: failed program was:" >&5
21544 cat conftest.$ac_ext >&5
21546 eval "ac_cv_func_$ac_func=no"
21551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21552 echo "$ac_t""yes" 1>&6
21553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21554 cat >> confdefs.h <<EOF
21555 #define $ac_tr_func 1
21559 echo "$ac_t""no" 1>&6
21560 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
21565 for ac_func in __signbit
21567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21568 echo "configure:21569: checking for $ac_func" >&5
21569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21570 echo $ac_n "(cached) $ac_c" 1>&6
21572 cat > conftest.$ac_ext <<EOF
21573 #line 21574 "configure"
21574 #include "confdefs.h"
21575 /* System header to define __stub macros and hopefully few prototypes,
21576 which can conflict with char $ac_func(); below. */
21577 #include <assert.h>
21578 /* Override any gcc2 internal prototype to avoid an error. */
21579 /* We use char because int might match the return type of a gcc2
21580 builtin and then its argument prototype would still apply. */
21585 /* The GNU C library defines this for functions which it implements
21586 to always fail with ENOSYS. Some functions are actually named
21587 something starting with __ and the normal name is an alias. */
21588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21596 if { (eval echo configure:21597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21598 eval "ac_cv_func_$ac_func=yes"
21600 echo "configure: failed program was:" >&5
21601 cat conftest.$ac_ext >&5
21603 eval "ac_cv_func_$ac_func=no"
21608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21609 echo "$ac_t""yes" 1>&6
21610 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21611 cat >> confdefs.h <<EOF
21612 #define $ac_tr_func 1
21616 echo "$ac_t""no" 1>&6
21617 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
21621 for ac_func in __signbitf
21623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21624 echo "configure:21625: checking for $ac_func" >&5
21625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21626 echo $ac_n "(cached) $ac_c" 1>&6
21628 cat > conftest.$ac_ext <<EOF
21629 #line 21630 "configure"
21630 #include "confdefs.h"
21631 /* System header to define __stub macros and hopefully few prototypes,
21632 which can conflict with char $ac_func(); below. */
21633 #include <assert.h>
21634 /* Override any gcc2 internal prototype to avoid an error. */
21635 /* We use char because int might match the return type of a gcc2
21636 builtin and then its argument prototype would still apply. */
21641 /* The GNU C library defines this for functions which it implements
21642 to always fail with ENOSYS. Some functions are actually named
21643 something starting with __ and the normal name is an alias. */
21644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21652 if { (eval echo configure:21653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21654 eval "ac_cv_func_$ac_func=yes"
21656 echo "configure: failed program was:" >&5
21657 cat conftest.$ac_ext >&5
21659 eval "ac_cv_func_$ac_func=no"
21664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21665 echo "$ac_t""yes" 1>&6
21666 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21667 cat >> confdefs.h <<EOF
21668 #define $ac_tr_func 1
21672 echo "$ac_t""no" 1>&6
21673 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
21678 if test x$ac_cv_func_copysignl = x"yes"; then
21679 for ac_func in __signbitl
21681 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21682 echo "configure:21683: checking for $ac_func" >&5
21683 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21684 echo $ac_n "(cached) $ac_c" 1>&6
21686 cat > conftest.$ac_ext <<EOF
21687 #line 21688 "configure"
21688 #include "confdefs.h"
21689 /* System header to define __stub macros and hopefully few prototypes,
21690 which can conflict with char $ac_func(); below. */
21691 #include <assert.h>
21692 /* Override any gcc2 internal prototype to avoid an error. */
21693 /* We use char because int might match the return type of a gcc2
21694 builtin and then its argument prototype would still apply. */
21699 /* The GNU C library defines this for functions which it implements
21700 to always fail with ENOSYS. Some functions are actually named
21701 something starting with __ and the normal name is an alias. */
21702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21710 if { (eval echo configure:21711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21712 eval "ac_cv_func_$ac_func=yes"
21714 echo "configure: failed program was:" >&5
21715 cat conftest.$ac_ext >&5
21717 eval "ac_cv_func_$ac_func=no"
21722 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21723 echo "$ac_t""yes" 1>&6
21724 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21725 cat >> confdefs.h <<EOF
21726 #define $ac_tr_func 1
21730 echo "$ac_t""no" 1>&6
21731 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
21741 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
21742 echo "configure:21743: checking for mbstate_t" >&5
21743 cat > conftest.$ac_ext <<EOF
21744 #line 21745 "configure"
21745 #include "confdefs.h"
21748 mbstate_t teststate;
21751 if { (eval echo configure:21752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21755 echo "configure: failed program was:" >&5
21756 cat conftest.$ac_ext >&5
21761 echo "$ac_t""$have_mbstate_t" 1>&6
21762 if test x"$have_mbstate_t" = xyes; then
21763 cat >> confdefs.h <<\EOF
21764 #define HAVE_MBSTATE_T 1
21769 for ac_hdr in wchar.h
21771 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21772 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21773 echo "configure:21774: checking for $ac_hdr" >&5
21774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21775 echo $ac_n "(cached) $ac_c" 1>&6
21777 cat > conftest.$ac_ext <<EOF
21778 #line 21779 "configure"
21779 #include "confdefs.h"
21782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21783 { (eval echo configure:21784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21785 if test -z "$ac_err"; then
21787 eval "ac_cv_header_$ac_safe=yes"
21790 echo "configure: failed program was:" >&5
21791 cat conftest.$ac_ext >&5
21793 eval "ac_cv_header_$ac_safe=no"
21797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21798 echo "$ac_t""yes" 1>&6
21799 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21800 cat >> confdefs.h <<EOF
21801 #define $ac_tr_hdr 1
21805 echo "$ac_t""no" 1>&6
21810 for ac_hdr in wctype.h
21812 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21814 echo "configure:21815: checking for $ac_hdr" >&5
21815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21816 echo $ac_n "(cached) $ac_c" 1>&6
21818 cat > conftest.$ac_ext <<EOF
21819 #line 21820 "configure"
21820 #include "confdefs.h"
21823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21824 { (eval echo configure:21825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21826 if test -z "$ac_err"; then
21828 eval "ac_cv_header_$ac_safe=yes"
21831 echo "configure: failed program was:" >&5
21832 cat conftest.$ac_ext >&5
21834 eval "ac_cv_header_$ac_safe=no"
21838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21839 echo "$ac_t""yes" 1>&6
21840 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21841 cat >> confdefs.h <<EOF
21842 #define $ac_tr_hdr 1
21844 ac_has_wctype_h=yes
21846 echo "$ac_t""no" 1>&6
21852 if test x"$ac_has_wchar_h" = xyes &&
21853 test x"$ac_has_wctype_h" = xyes &&
21854 test x"$enable_c_mbchar" != xno; then
21856 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
21857 echo "configure:21858: checking for WCHAR_MIN and WCHAR_MAX" >&5
21858 cat > conftest.$ac_ext <<EOF
21859 #line 21860 "configure"
21860 #include "confdefs.h"
21863 int i = WCHAR_MIN; int j = WCHAR_MAX;
21866 if { (eval echo configure:21867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21868 has_wchar_minmax=yes
21870 echo "configure: failed program was:" >&5
21871 cat conftest.$ac_ext >&5
21873 has_wchar_minmax=no
21876 echo "$ac_t""$has_wchar_minmax" 1>&6
21878 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
21879 echo "configure:21880: checking for WEOF" >&5
21880 cat > conftest.$ac_ext <<EOF
21881 #line 21882 "configure"
21882 #include "confdefs.h"
21885 #include <stddef.h>
21890 if { (eval echo configure:21891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21894 echo "configure: failed program was:" >&5
21895 cat conftest.$ac_ext >&5
21900 echo "$ac_t""$has_weof" 1>&6
21903 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
21905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21906 echo "configure:21907: checking for $ac_func" >&5
21907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21908 echo $ac_n "(cached) $ac_c" 1>&6
21910 cat > conftest.$ac_ext <<EOF
21911 #line 21912 "configure"
21912 #include "confdefs.h"
21913 /* System header to define __stub macros and hopefully few prototypes,
21914 which can conflict with char $ac_func(); below. */
21915 #include <assert.h>
21916 /* Override any gcc2 internal prototype to avoid an error. */
21917 /* We use char because int might match the return type of a gcc2
21918 builtin and then its argument prototype would still apply. */
21923 /* The GNU C library defines this for functions which it implements
21924 to always fail with ENOSYS. Some functions are actually named
21925 something starting with __ and the normal name is an alias. */
21926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21934 if { (eval echo configure:21935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21936 eval "ac_cv_func_$ac_func=yes"
21938 echo "configure: failed program was:" >&5
21939 cat conftest.$ac_ext >&5
21941 eval "ac_cv_func_$ac_func=no"
21946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21947 echo "$ac_t""yes" 1>&6
21948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21949 cat >> confdefs.h <<EOF
21950 #define $ac_tr_func 1
21954 echo "$ac_t""no" 1>&6
21961 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
21962 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
21963 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
21964 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
21965 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
21966 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
21968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21969 echo "configure:21970: checking for $ac_func" >&5
21970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21971 echo $ac_n "(cached) $ac_c" 1>&6
21973 cat > conftest.$ac_ext <<EOF
21974 #line 21975 "configure"
21975 #include "confdefs.h"
21976 /* System header to define __stub macros and hopefully few prototypes,
21977 which can conflict with char $ac_func(); below. */
21978 #include <assert.h>
21979 /* Override any gcc2 internal prototype to avoid an error. */
21980 /* We use char because int might match the return type of a gcc2
21981 builtin and then its argument prototype would still apply. */
21986 /* The GNU C library defines this for functions which it implements
21987 to always fail with ENOSYS. Some functions are actually named
21988 something starting with __ and the normal name is an alias. */
21989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21997 if { (eval echo configure:21998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21999 eval "ac_cv_func_$ac_func=yes"
22001 echo "configure: failed program was:" >&5
22002 cat conftest.$ac_ext >&5
22004 eval "ac_cv_func_$ac_func=no"
22009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22010 echo "$ac_t""yes" 1>&6
22011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22012 cat >> confdefs.h <<EOF
22013 #define $ac_tr_func 1
22017 echo "$ac_t""no" 1>&6
22024 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
22025 echo "configure:22026: checking for ISO C99 wchar_t support" >&5
22026 if test x"$has_weof" = xyes &&
22027 test x"$has_wchar_minmax" = xyes &&
22028 test x"$ac_wfuncs" = xyes; then
22029 ac_isoC99_wchar_t=yes
22031 ac_isoC99_wchar_t=no
22033 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22035 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
22036 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
22037 echo "configure:22038: checking for iconv.h" >&5
22038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22039 echo $ac_n "(cached) $ac_c" 1>&6
22041 cat > conftest.$ac_ext <<EOF
22042 #line 22043 "configure"
22043 #include "confdefs.h"
22046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22047 { (eval echo configure:22048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22049 if test -z "$ac_err"; then
22051 eval "ac_cv_header_$ac_safe=yes"
22054 echo "configure: failed program was:" >&5
22055 cat conftest.$ac_ext >&5
22057 eval "ac_cv_header_$ac_safe=no"
22061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22062 echo "$ac_t""yes" 1>&6
22065 echo "$ac_t""no" 1>&6
22069 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
22070 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
22071 echo "configure:22072: checking for langinfo.h" >&5
22072 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22073 echo $ac_n "(cached) $ac_c" 1>&6
22075 cat > conftest.$ac_ext <<EOF
22076 #line 22077 "configure"
22077 #include "confdefs.h"
22078 #include <langinfo.h>
22080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22081 { (eval echo configure:22082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22083 if test -z "$ac_err"; then
22085 eval "ac_cv_header_$ac_safe=yes"
22088 echo "configure: failed program was:" >&5
22089 cat conftest.$ac_ext >&5
22091 eval "ac_cv_header_$ac_safe=no"
22095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22096 echo "$ac_t""yes" 1>&6
22097 ac_has_langinfo_h=yes
22099 echo "$ac_t""no" 1>&6
22100 ac_has_langinfo_h=no
22104 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
22105 echo "configure:22106: checking for iconv in -liconv" >&5
22106 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22108 echo $ac_n "(cached) $ac_c" 1>&6
22110 ac_save_LIBS="$LIBS"
22111 LIBS="-liconv $LIBS"
22112 cat > conftest.$ac_ext <<EOF
22113 #line 22114 "configure"
22114 #include "confdefs.h"
22115 /* Override any gcc2 internal prototype to avoid an error. */
22116 /* We use char because int might match the return type of a gcc2
22117 builtin and then its argument prototype would still apply. */
22124 if { (eval echo configure:22125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22126 eval "ac_cv_lib_$ac_lib_var=yes"
22128 echo "configure: failed program was:" >&5
22129 cat conftest.$ac_ext >&5
22131 eval "ac_cv_lib_$ac_lib_var=no"
22134 LIBS="$ac_save_LIBS"
22137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22138 echo "$ac_t""yes" 1>&6
22141 echo "$ac_t""no" 1>&6
22144 ac_save_LIBS="$LIBS"
22145 LIBS="$LIBS $libiconv"
22147 for ac_func in iconv_open iconv_close iconv nl_langinfo
22149 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22150 echo "configure:22151: checking for $ac_func" >&5
22151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22152 echo $ac_n "(cached) $ac_c" 1>&6
22154 cat > conftest.$ac_ext <<EOF
22155 #line 22156 "configure"
22156 #include "confdefs.h"
22157 /* System header to define __stub macros and hopefully few prototypes,
22158 which can conflict with char $ac_func(); below. */
22159 #include <assert.h>
22160 /* Override any gcc2 internal prototype to avoid an error. */
22161 /* We use char because int might match the return type of a gcc2
22162 builtin and then its argument prototype would still apply. */
22167 /* The GNU C library defines this for functions which it implements
22168 to always fail with ENOSYS. Some functions are actually named
22169 something starting with __ and the normal name is an alias. */
22170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22178 if { (eval echo configure:22179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22180 eval "ac_cv_func_$ac_func=yes"
22182 echo "configure: failed program was:" >&5
22183 cat conftest.$ac_ext >&5
22185 eval "ac_cv_func_$ac_func=no"
22190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22191 echo "$ac_t""yes" 1>&6
22192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22193 cat >> confdefs.h <<EOF
22194 #define $ac_tr_func 1
22199 echo "$ac_t""no" 1>&6
22205 LIBS="$ac_save_LIBS"
22207 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
22208 echo "configure:22209: checking for XPG2 wchar_t support" >&5
22209 if test x"$ac_has_iconv_h" = xyes &&
22210 test x"$ac_has_langinfo_h" = xyes &&
22211 test x"$ac_XPG2funcs" = xyes; then
22212 ac_XPG2_wchar_t=yes
22216 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22218 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
22219 echo "configure:22220: checking for enabled wchar_t specializations" >&5
22220 if test x"$ac_isoC99_wchar_t" = xyes &&
22221 test x"$ac_XPG2_wchar_t" = xyes; then
22222 cat >> confdefs.h <<\EOF
22223 #define _GLIBCPP_USE_WCHAR_T 1
22226 echo "$ac_t"""yes"" 1>&6
22228 echo "$ac_t"""no"" 1>&6
22231 echo "configure: warning: wchar_t support disabled." 1>&2
22235 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22236 ac_save_CXXFLAGS="$CXXFLAGS"
22237 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22240 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
22241 echo "configure:22242: checking for strtold declaration" >&5
22242 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22243 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22244 echo $ac_n "(cached) $ac_c" 1>&6
22249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22250 ac_cpp='$CXXCPP $CPPFLAGS'
22251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22253 cross_compiling=$ac_cv_prog_cxx_cross
22255 cat > conftest.$ac_ext <<EOF
22256 #line 22257 "configure"
22257 #include "confdefs.h"
22258 #include <stdlib.h>
22263 if { (eval echo configure:22264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22265 glibcpp_cv_func_strtold_use=yes
22267 echo "configure: failed program was:" >&5
22268 cat conftest.$ac_ext >&5
22270 glibcpp_cv_func_strtold_use=no
22274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22275 ac_cpp='$CPP $CPPFLAGS'
22276 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22277 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22278 cross_compiling=$ac_cv_prog_cc_cross
22284 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22285 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22286 for ac_func in strtold
22288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22289 echo "configure:22290: checking for $ac_func" >&5
22290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22291 echo $ac_n "(cached) $ac_c" 1>&6
22293 cat > conftest.$ac_ext <<EOF
22294 #line 22295 "configure"
22295 #include "confdefs.h"
22296 /* System header to define __stub macros and hopefully few prototypes,
22297 which can conflict with char $ac_func(); below. */
22298 #include <assert.h>
22299 /* Override any gcc2 internal prototype to avoid an error. */
22300 /* We use char because int might match the return type of a gcc2
22301 builtin and then its argument prototype would still apply. */
22306 /* The GNU C library defines this for functions which it implements
22307 to always fail with ENOSYS. Some functions are actually named
22308 something starting with __ and the normal name is an alias. */
22309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22317 if { (eval echo configure:22318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22319 eval "ac_cv_func_$ac_func=yes"
22321 echo "configure: failed program was:" >&5
22322 cat conftest.$ac_ext >&5
22324 eval "ac_cv_func_$ac_func=no"
22329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22330 echo "$ac_t""yes" 1>&6
22331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22332 cat >> confdefs.h <<EOF
22333 #define $ac_tr_func 1
22337 echo "$ac_t""no" 1>&6
22344 echo $ac_n "checking for strtof declaration""... $ac_c" 1>&6
22345 echo "configure:22346: checking for strtof declaration" >&5
22346 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22347 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22348 echo $ac_n "(cached) $ac_c" 1>&6
22353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22354 ac_cpp='$CXXCPP $CPPFLAGS'
22355 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22356 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22357 cross_compiling=$ac_cv_prog_cxx_cross
22359 cat > conftest.$ac_ext <<EOF
22360 #line 22361 "configure"
22361 #include "confdefs.h"
22362 #include <stdlib.h>
22367 if { (eval echo configure:22368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22369 glibcpp_cv_func_strtof_use=yes
22371 echo "configure: failed program was:" >&5
22372 cat conftest.$ac_ext >&5
22374 glibcpp_cv_func_strtof_use=no
22378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22381 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22382 cross_compiling=$ac_cv_prog_cc_cross
22388 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22389 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22390 for ac_func in strtof
22392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22393 echo "configure:22394: checking for $ac_func" >&5
22394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22395 echo $ac_n "(cached) $ac_c" 1>&6
22397 cat > conftest.$ac_ext <<EOF
22398 #line 22399 "configure"
22399 #include "confdefs.h"
22400 /* System header to define __stub macros and hopefully few prototypes,
22401 which can conflict with char $ac_func(); below. */
22402 #include <assert.h>
22403 /* Override any gcc2 internal prototype to avoid an error. */
22404 /* We use char because int might match the return type of a gcc2
22405 builtin and then its argument prototype would still apply. */
22410 /* The GNU C library defines this for functions which it implements
22411 to always fail with ENOSYS. Some functions are actually named
22412 something starting with __ and the normal name is an alias. */
22413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22421 if { (eval echo configure:22422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22423 eval "ac_cv_func_$ac_func=yes"
22425 echo "configure: failed program was:" >&5
22426 cat conftest.$ac_ext >&5
22428 eval "ac_cv_func_$ac_func=no"
22433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22434 echo "$ac_t""yes" 1>&6
22435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22436 cat >> confdefs.h <<EOF
22437 #define $ac_tr_func 1
22441 echo "$ac_t""no" 1>&6
22447 for ac_func in drand48
22449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22450 echo "configure:22451: checking for $ac_func" >&5
22451 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22452 echo $ac_n "(cached) $ac_c" 1>&6
22454 cat > conftest.$ac_ext <<EOF
22455 #line 22456 "configure"
22456 #include "confdefs.h"
22457 /* System header to define __stub macros and hopefully few prototypes,
22458 which can conflict with char $ac_func(); below. */
22459 #include <assert.h>
22460 /* Override any gcc2 internal prototype to avoid an error. */
22461 /* We use char because int might match the return type of a gcc2
22462 builtin and then its argument prototype would still apply. */
22467 /* The GNU C library defines this for functions which it implements
22468 to always fail with ENOSYS. Some functions are actually named
22469 something starting with __ and the normal name is an alias. */
22470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22478 if { (eval echo configure:22479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22480 eval "ac_cv_func_$ac_func=yes"
22482 echo "configure: failed program was:" >&5
22483 cat conftest.$ac_ext >&5
22485 eval "ac_cv_func_$ac_func=no"
22490 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22491 echo "$ac_t""yes" 1>&6
22492 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22493 cat >> confdefs.h <<EOF
22494 #define $ac_tr_func 1
22498 echo "$ac_t""no" 1>&6
22503 CXXFLAGS="$ac_save_CXXFLAGS"
22506 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
22507 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
22508 echo "configure:22509: checking for locale.h" >&5
22509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22510 echo $ac_n "(cached) $ac_c" 1>&6
22512 cat > conftest.$ac_ext <<EOF
22513 #line 22514 "configure"
22514 #include "confdefs.h"
22515 #include <locale.h>
22517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22518 { (eval echo configure:22519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22520 if test -z "$ac_err"; then
22522 eval "ac_cv_header_$ac_safe=yes"
22525 echo "configure: failed program was:" >&5
22526 cat conftest.$ac_ext >&5
22528 eval "ac_cv_header_$ac_safe=no"
22532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22533 echo "$ac_t""yes" 1>&6
22535 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
22536 echo "configure:22537: checking for LC_MESSAGES" >&5
22537 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
22538 echo $ac_n "(cached) $ac_c" 1>&6
22540 cat > conftest.$ac_ext <<EOF
22541 #line 22542 "configure"
22542 #include "confdefs.h"
22543 #include <locale.h>
22548 if { (eval echo configure:22549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22550 ac_cv_val_LC_MESSAGES=yes
22552 echo "configure: failed program was:" >&5
22553 cat conftest.$ac_ext >&5
22555 ac_cv_val_LC_MESSAGES=no
22560 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
22561 if test $ac_cv_val_LC_MESSAGES = yes; then
22562 cat >> confdefs.h <<\EOF
22563 #define HAVE_LC_MESSAGES 1
22569 echo "$ac_t""no" 1>&6
22574 cat > conftest.$ac_ext <<EOF
22575 #line 22576 "configure"
22576 #include "confdefs.h"
22578 #include <setjmp.h>
22581 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
22584 if { (eval echo configure:22585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22586 cat >> confdefs.h <<\EOF
22587 #define HAVE_SIGSETJMP 1
22592 echo "configure: failed program was:" >&5
22593 cat conftest.$ac_ext >&5
22597 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
22599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22601 echo "configure:22602: checking for $ac_hdr" >&5
22602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22603 echo $ac_n "(cached) $ac_c" 1>&6
22605 cat > conftest.$ac_ext <<EOF
22606 #line 22607 "configure"
22607 #include "confdefs.h"
22610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22611 { (eval echo configure:22612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22613 if test -z "$ac_err"; then
22615 eval "ac_cv_header_$ac_safe=yes"
22618 echo "configure: failed program was:" >&5
22619 cat conftest.$ac_ext >&5
22621 eval "ac_cv_header_$ac_safe=no"
22625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22626 echo "$ac_t""yes" 1>&6
22627 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22628 cat >> confdefs.h <<EOF
22629 #define $ac_tr_hdr 1
22633 echo "$ac_t""no" 1>&6
22637 for ac_func in getpagesize
22639 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22640 echo "configure:22641: checking for $ac_func" >&5
22641 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22642 echo $ac_n "(cached) $ac_c" 1>&6
22644 cat > conftest.$ac_ext <<EOF
22645 #line 22646 "configure"
22646 #include "confdefs.h"
22647 /* System header to define __stub macros and hopefully few prototypes,
22648 which can conflict with char $ac_func(); below. */
22649 #include <assert.h>
22650 /* Override any gcc2 internal prototype to avoid an error. */
22651 /* We use char because int might match the return type of a gcc2
22652 builtin and then its argument prototype would still apply. */
22657 /* The GNU C library defines this for functions which it implements
22658 to always fail with ENOSYS. Some functions are actually named
22659 something starting with __ and the normal name is an alias. */
22660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22668 if { (eval echo configure:22669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22670 eval "ac_cv_func_$ac_func=yes"
22672 echo "configure: failed program was:" >&5
22673 cat conftest.$ac_ext >&5
22675 eval "ac_cv_func_$ac_func=no"
22680 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22681 echo "$ac_t""yes" 1>&6
22682 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22683 cat >> confdefs.h <<EOF
22684 #define $ac_tr_func 1
22688 echo "$ac_t""no" 1>&6
22692 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
22693 echo "configure:22694: checking for working mmap" >&5
22694 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
22695 echo $ac_n "(cached) $ac_c" 1>&6
22697 if test "$cross_compiling" = yes; then
22698 ac_cv_func_mmap_fixed_mapped=no
22700 cat > conftest.$ac_ext <<EOF
22701 #line 22702 "configure"
22702 #include "confdefs.h"
22704 /* Thanks to Mike Haertel and Jim Avera for this test.
22705 Here is a matrix of mmap possibilities:
22706 mmap private not fixed
22707 mmap private fixed at somewhere currently unmapped
22708 mmap private fixed at somewhere already mapped
22709 mmap shared not fixed
22710 mmap shared fixed at somewhere currently unmapped
22711 mmap shared fixed at somewhere already mapped
22712 For private mappings, we should verify that changes cannot be read()
22713 back from the file, nor mmap's back from the file at a different
22714 address. (There have been systems where private was not correctly
22715 implemented like the infamous i386 svr4.0, and systems where the
22716 VM page cache was not coherent with the filesystem buffer cache
22717 like early versions of FreeBSD and possibly contemporary NetBSD.)
22718 For shared mappings, we should conversely verify that changes get
22719 propogated back to all the places they're supposed to be.
22721 Grep wants private fixed already mapped.
22722 The main things grep needs to know about mmap are:
22723 * does it exist and is it safe to write into the mmap'd area
22724 * how to use it (BSD variants) */
22725 #include <sys/types.h>
22727 #include <sys/mman.h>
22729 #if HAVE_SYS_TYPES_H
22730 # include <sys/types.h>
22734 # include <stdlib.h>
22737 #if HAVE_SYS_STAT_H
22738 # include <sys/stat.h>
22742 # include <unistd.h>
22745 /* This mess was copied from the GNU getpagesize.h. */
22746 #ifndef HAVE_GETPAGESIZE
22748 /* Assume that all systems that can run configure have sys/param.h. */
22749 # ifndef HAVE_SYS_PARAM_H
22750 # define HAVE_SYS_PARAM_H 1
22753 # ifdef _SC_PAGESIZE
22754 # define getpagesize() sysconf(_SC_PAGESIZE)
22755 # else /* no _SC_PAGESIZE */
22756 # ifdef HAVE_SYS_PARAM_H
22757 # include <sys/param.h>
22758 # ifdef EXEC_PAGESIZE
22759 # define getpagesize() EXEC_PAGESIZE
22760 # else /* no EXEC_PAGESIZE */
22762 # define getpagesize() NBPG * CLSIZE
22765 # endif /* no CLSIZE */
22766 # else /* no NBPG */
22768 # define getpagesize() NBPC
22769 # else /* no NBPC */
22771 # define getpagesize() PAGESIZE
22772 # endif /* PAGESIZE */
22773 # endif /* no NBPC */
22774 # endif /* no NBPG */
22775 # endif /* no EXEC_PAGESIZE */
22776 # else /* no HAVE_SYS_PARAM_H */
22777 # define getpagesize() 8192 /* punt totally */
22778 # endif /* no HAVE_SYS_PARAM_H */
22779 # endif /* no _SC_PAGESIZE */
22781 #endif /* no HAVE_GETPAGESIZE */
22784 extern "C" { void *malloc(unsigned); }
22792 char *data, *data2, *data3;
22796 pagesize = getpagesize();
22799 * First, make a file with some known garbage in it.
22801 data = malloc(pagesize);
22804 for (i = 0; i < pagesize; ++i)
22805 *(data + i) = rand();
22807 fd = creat("conftestmmap", 0600);
22810 if (write(fd, data, pagesize) != pagesize)
22815 * Next, try to mmap the file at a fixed address which
22816 * already has something else allocated at it. If we can,
22817 * also make sure that we see the same garbage.
22819 fd = open("conftestmmap", O_RDWR);
22822 data2 = malloc(2 * pagesize);
22825 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22826 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
22827 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22829 for (i = 0; i < pagesize; ++i)
22830 if (*(data + i) != *(data2 + i))
22834 * Finally, make sure that changes to the mapped area
22835 * do not percolate back to the file as seen by read().
22836 * (This is a bug on some variants of i386 svr4.0.)
22838 for (i = 0; i < pagesize; ++i)
22839 *(data2 + i) = *(data2 + i) + 1;
22840 data3 = malloc(pagesize);
22843 if (read(fd, data3, pagesize) != pagesize)
22845 for (i = 0; i < pagesize; ++i)
22846 if (*(data + i) != *(data3 + i))
22849 unlink("conftestmmap");
22854 if { (eval echo configure:22855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
22856 ac_cv_func_mmap_fixed_mapped=yes
22858 echo "configure: failed program was:" >&5
22859 cat conftest.$ac_ext >&5
22861 ac_cv_func_mmap_fixed_mapped=no
22868 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
22869 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22870 cat >> confdefs.h <<\EOF
22871 #define HAVE_MMAP 1
22877 # Establish limits on memory usage during 'make check'
22880 setrlimit_have_headers=yes
22881 for ac_hdr in unistd.h sys/time.h sys/resource.h
22883 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22884 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22885 echo "configure:22886: checking for $ac_hdr" >&5
22886 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22887 echo $ac_n "(cached) $ac_c" 1>&6
22889 cat > conftest.$ac_ext <<EOF
22890 #line 22891 "configure"
22891 #include "confdefs.h"
22894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22895 { (eval echo configure:22896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22897 if test -z "$ac_err"; then
22899 eval "ac_cv_header_$ac_safe=yes"
22902 echo "configure: failed program was:" >&5
22903 cat conftest.$ac_ext >&5
22905 eval "ac_cv_header_$ac_safe=no"
22909 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22910 echo "$ac_t""yes" 1>&6
22911 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22912 cat >> confdefs.h <<EOF
22913 #define $ac_tr_hdr 1
22917 echo "$ac_t""no" 1>&6
22918 setrlimit_have_headers=no
22922 # If don't have the headers, then we can't run the tests now, and we
22923 # won't be seeing any of these during testsuite compilation.
22924 if test $setrlimit_have_headers = yes; then
22925 # Can't do these in a loop, else the resulting syntax is wrong.
22927 cat > conftest.$ac_ext <<EOF
22928 #line 22929 "configure"
22929 #include "confdefs.h"
22930 #include <unistd.h>
22931 #include <sys/time.h>
22932 #include <sys/resource.h>
22935 int f = RLIMIT_DATA ;
22938 if { (eval echo configure:22939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22942 echo "configure: failed program was:" >&5
22943 cat conftest.$ac_ext >&5
22948 cat >> confdefs.h <<EOF
22949 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
22954 cat > conftest.$ac_ext <<EOF
22955 #line 22956 "configure"
22956 #include "confdefs.h"
22957 #include <unistd.h>
22958 #include <sys/time.h>
22959 #include <sys/resource.h>
22962 int f = RLIMIT_RSS ;
22965 if { (eval echo configure:22966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22969 echo "configure: failed program was:" >&5
22970 cat conftest.$ac_ext >&5
22975 cat >> confdefs.h <<EOF
22976 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
22981 cat > conftest.$ac_ext <<EOF
22982 #line 22983 "configure"
22983 #include "confdefs.h"
22984 #include <unistd.h>
22985 #include <sys/time.h>
22986 #include <sys/resource.h>
22989 int f = RLIMIT_VMEM ;
22992 if { (eval echo configure:22993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22996 echo "configure: failed program was:" >&5
22997 cat conftest.$ac_ext >&5
23002 cat >> confdefs.h <<EOF
23003 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23008 cat > conftest.$ac_ext <<EOF
23009 #line 23010 "configure"
23010 #include "confdefs.h"
23011 #include <unistd.h>
23012 #include <sys/time.h>
23013 #include <sys/resource.h>
23016 int f = RLIMIT_AS ;
23019 if { (eval echo configure:23020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23023 echo "configure: failed program was:" >&5
23024 cat conftest.$ac_ext >&5
23029 cat >> confdefs.h <<EOF
23030 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23035 # Check for rlimit, setrlimit.
23036 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23037 echo $ac_n "(cached) $ac_c" 1>&6
23040 cat > conftest.$ac_ext <<EOF
23041 #line 23042 "configure"
23042 #include "confdefs.h"
23043 #include <unistd.h>
23044 #include <sys/time.h>
23045 #include <sys/resource.h>
23048 struct rlimit r; setrlimit(0, &r);
23051 if { (eval echo configure:23052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23055 echo "configure: failed program was:" >&5
23056 cat conftest.$ac_ext >&5
23066 echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
23067 echo "configure:23068: checking for testsuite memory limit support" >&5
23068 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23070 cat >> confdefs.h <<\EOF
23071 #define _GLIBCPP_MEM_LIMITS 1
23077 echo "$ac_t""$ac_mem_limits" 1>&6
23080 # Look for setenv, so that extended locale tests can be performed.
23082 echo $ac_n "checking for setenv declaration""... $ac_c" 1>&6
23083 echo "configure:23084: checking for setenv declaration" >&5
23084 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23085 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23086 echo $ac_n "(cached) $ac_c" 1>&6
23091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23095 cross_compiling=$ac_cv_prog_cxx_cross
23097 cat > conftest.$ac_ext <<EOF
23098 #line 23099 "configure"
23099 #include "confdefs.h"
23100 #include <stdlib.h>
23105 if { (eval echo configure:23106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23107 glibcpp_cv_func_setenv_use=yes
23109 echo "configure: failed program was:" >&5
23110 cat conftest.$ac_ext >&5
23112 glibcpp_cv_func_setenv_use=no
23116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23120 cross_compiling=$ac_cv_prog_cc_cross
23126 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23127 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23128 for ac_func in setenv
23130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23131 echo "configure:23132: checking for $ac_func" >&5
23132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23133 echo $ac_n "(cached) $ac_c" 1>&6
23135 cat > conftest.$ac_ext <<EOF
23136 #line 23137 "configure"
23137 #include "confdefs.h"
23138 /* System header to define __stub macros and hopefully few prototypes,
23139 which can conflict with char $ac_func(); below. */
23140 #include <assert.h>
23141 /* Override any gcc2 internal prototype to avoid an error. */
23142 /* We use char because int might match the return type of a gcc2
23143 builtin and then its argument prototype would still apply. */
23148 /* The GNU C library defines this for functions which it implements
23149 to always fail with ENOSYS. Some functions are actually named
23150 something starting with __ and the normal name is an alias. */
23151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23159 if { (eval echo configure:23160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23161 eval "ac_cv_func_$ac_func=yes"
23163 echo "configure: failed program was:" >&5
23164 cat conftest.$ac_ext >&5
23166 eval "ac_cv_func_$ac_func=no"
23171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23172 echo "$ac_t""yes" 1>&6
23173 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23174 cat >> confdefs.h <<EOF
23175 #define $ac_tr_func 1
23179 echo "$ac_t""no" 1>&6
23186 # Export file names for ABI checking.
23187 baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
23190 # Don't do ABI checking unless native.
23193 if test x"$build" = x"$host" && test -z "$with_cross_host"; then
23194 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23195 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23197 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23198 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23203 # This depends on the possibly-skipped linker test above.
23204 # Check whether --enable-symvers or --disable-symvers was given.
23205 if test "${enable_symvers+set}" = set; then
23206 enableval="$enable_symvers"
23207 case "$enableval" in
23208 yes) enable_symvers=yes ;;
23209 no) enable_symvers=no ;;
23210 # other names here, just as sanity checks
23211 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23212 gnu) enable_symvers=$enableval ;;
23213 *) { echo "configure: error: Unknown argument to enable/disable symvers" 1>&2; exit 1; } ;;
23219 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23220 # don't know enough about $LD to do tricks...
23221 if test x$enable_shared = xno ||
23223 test x$glibcpp_gnu_ld_version = x; then
23227 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23228 if test $enable_symvers != no; then
23229 echo $ac_n "checking for shared libgcc""... $ac_c" 1>&6
23230 echo "configure:23231: checking for shared libgcc" >&5
23231 ac_save_CFLAGS="$CFLAGS"
23233 cat > conftest.$ac_ext <<EOF
23234 #line 23235 "configure"
23235 #include "confdefs.h"
23241 if { (eval echo configure:23242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23243 glibcpp_shared_libgcc=yes
23245 echo "configure: failed program was:" >&5
23246 cat conftest.$ac_ext >&5
23248 glibcpp_shared_libgcc=no
23251 CFLAGS="$ac_save_CFLAGS"
23252 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23255 # For GNU ld, we need at least this version. It's 2.12 in the same format
23256 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23257 glibcpp_min_gnu_ld_version=21200
23259 # Check to see if unspecified "yes" value can win, given results
23261 if test $enable_symvers = yes ; then
23262 if test $with_gnu_ld = yes &&
23263 test $glibcpp_shared_libgcc = yes ;
23265 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23268 ac_test_CFLAGS="${CFLAGS+set}"
23269 ac_save_CFLAGS="$CFLAGS"
23270 CFLAGS='-shared -Wl,--version-script,conftest.map'
23273 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23275 cat > conftest.$ac_ext <<EOF
23276 #line 23277 "configure"
23277 #include "confdefs.h"
23283 if { (eval echo configure:23284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23287 echo "configure: failed program was:" >&5
23288 cat conftest.$ac_ext >&5
23291 if test "$ac_test_CFLAGS" = set; then
23292 CFLAGS="$ac_save_CFLAGS"
23294 # this is the suspicious part
23300 # just fail for now
23305 case $enable_symvers in
23307 LINKER_MAP=config/linker-map.dummy
23310 LINKER_MAP=config/linker-map.gnu
23311 cat >> confdefs.h <<\EOF
23312 #define _GLIBCPP_SYMVER 1
23321 if test $enable_symvers != no; then
23322 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23323 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23325 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23326 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23328 echo $ac_n "checking versioning on shared library symbols""... $ac_c" 1>&6
23329 echo "configure:23330: checking versioning on shared library symbols" >&5
23330 echo "$ac_t""$enable_symvers" 1>&6
23333 # Propagate the target-specific source directories through the build chain.
23334 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23335 # uses it, and they only get used here.)
23336 OS_INC_SRCDIR=config/${os_include_dir}
23337 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23341 # Set up cross-compile flags
23344 if test "$CANADIAN" = yes; then
23352 cat > confcache <<\EOF
23353 # This file is a shell script that caches the results of configure
23354 # tests run on this system so they can be shared between configure
23355 # scripts and configure runs. It is not useful on other systems.
23356 # If it contains results you don't want to keep, you may remove or edit it.
23358 # By default, configure uses ./config.cache as the cache file,
23359 # creating it if it does not exist already. You can give configure
23360 # the --cache-file=FILE option to use a different cache file; that is
23361 # what configure does when it calls configure scripts in
23362 # subdirectories, so they share the cache.
23363 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23364 # config.status only pays attention to the cache file if you give it the
23365 # --recheck option to rerun configure.
23368 # The following way of writing the cache mishandles newlines in values,
23369 # but we know of no workaround that is simple, portable, and efficient.
23370 # So, don't put newlines in cache variables' values.
23371 # Ultrix sh set writes to stderr and can't be redirected directly,
23372 # and sets the high bit in the cache file unless we assign to the vars.
23374 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23376 # `set' does not quote correctly, so add quotes (double-quote substitution
23377 # turns \\\\ into \\, and sed turns \\ into \).
23379 -e "s/'/'\\\\''/g" \
23380 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23383 # `set' quotes correctly as required by POSIX, so do not add quotes.
23384 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23387 if cmp -s $cache_file confcache; then
23390 if test -w $cache_file; then
23391 echo "updating cache $cache_file"
23392 cat confcache > $cache_file
23394 echo "not updating unwritable cache $cache_file"
23400 if test "${multilib}" = "yes"; then
23401 multilib_arg="--enable-multilib"
23406 # Export all the install information
23408 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23409 # exported correctly in GLIBCPP_CONFIGURE.
23410 glibcpp_toolexecdir=no
23411 glibcpp_toolexeclibdir=no
23412 glibcpp_prefixdir=${prefix}
23414 # Process the option --with-gxx-include-dir=<path to include-files directory>
23415 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
23416 echo "configure:23417: checking for --with-gxx-include-dir" >&5
23417 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23418 if test "${with_gxx_include_dir+set}" = set; then
23419 withval="$with_gxx_include_dir"
23420 case "${withval}" in
23422 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
23429 gxx_include_dir=${withval}
23436 echo "$ac_t""$gxx_include_dir" 1>&6
23438 # Process the option "--enable-version-specific-runtime-libs"
23439 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
23440 echo "configure:23441: checking for --enable-version-specific-runtime-libs" >&5
23441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23442 if test "${enable_version_specific_runtime_libs+set}" = set; then
23443 enableval="$enable_version_specific_runtime_libs"
23444 case "$enableval" in
23445 yes) version_specific_libs=yes ;;
23446 no) version_specific_libs=no ;;
23447 *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
23450 version_specific_libs=no
23452 # Option set, now we can test it.
23453 echo "$ac_t""$version_specific_libs" 1>&6
23455 # Default case for install directory for include files.
23456 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23457 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23460 # Version-specific runtime libs processing.
23461 if test $version_specific_libs = yes; then
23462 # Need the gcc compiler version to know where to install libraries
23463 # and header files if --enable-version-specific-runtime-libs option
23465 if test x"$gxx_include_dir" = x"no"; then
23466 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23468 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23469 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23472 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23473 # Install a library built with a cross compiler in tooldir, not libdir.
23474 if test x"$glibcpp_toolexecdir" = x"no"; then
23475 if test -n "$with_cross_host" &&
23476 test x"$with_cross_host" != x"no"; then
23477 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23478 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
23480 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23481 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
23485 echo $ac_n "checking for install location""... $ac_c" 1>&6
23486 echo "configure:23487: checking for install location" >&5
23487 echo "$ac_t""$gxx_include_dir" 1>&6
23495 # Export all the include and flag information to makefiles.
23497 # Root level of the build directory include sources.
23498 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
23500 # Passed down for canadian crosses.
23501 if test x"$CANADIAN" = xyes; then
23502 TOPLEVEL_INCLUDES='-I$(includedir)'
23505 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23507 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23509 if test x"$need_libio" = xyes; then
23510 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23514 # Now, export this to all the little Makefiles....
23521 # Optimization flags that are probably a good idea for thrill-seekers. Just
23522 # uncomment the lines below and make, everything else is ready to go...
23523 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23527 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23531 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23532 grep "enable shared" > /dev/null; then
23533 LIBSUPCXX_PICFLAGS=-prefer-pic
23535 LIBSUPCXX_PICFLAGS=
23539 # Generate the various Makefiles, include files, and scripts.
23540 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
23541 # and libsupc++/Makefile.am so that multilib installs will end up
23542 # installed in the correct place. To work around this not being passed
23543 # down from config-ml.in -> top_srcdir/Makefile.am ->
23544 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
23546 cat > confcache <<\EOF
23547 # This file is a shell script that caches the results of configure
23548 # tests run on this system so they can be shared between configure
23549 # scripts and configure runs. It is not useful on other systems.
23550 # If it contains results you don't want to keep, you may remove or edit it.
23552 # By default, configure uses ./config.cache as the cache file,
23553 # creating it if it does not exist already. You can give configure
23554 # the --cache-file=FILE option to use a different cache file; that is
23555 # what configure does when it calls configure scripts in
23556 # subdirectories, so they share the cache.
23557 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23558 # config.status only pays attention to the cache file if you give it the
23559 # --recheck option to rerun configure.
23562 # The following way of writing the cache mishandles newlines in values,
23563 # but we know of no workaround that is simple, portable, and efficient.
23564 # So, don't put newlines in cache variables' values.
23565 # Ultrix sh set writes to stderr and can't be redirected directly,
23566 # and sets the high bit in the cache file unless we assign to the vars.
23568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23570 # `set' does not quote correctly, so add quotes (double-quote substitution
23571 # turns \\\\ into \\, and sed turns \\ into \).
23573 -e "s/'/'\\\\''/g" \
23574 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23577 # `set' quotes correctly as required by POSIX, so do not add quotes.
23578 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23581 if cmp -s $cache_file confcache; then
23584 if test -w $cache_file; then
23585 echo "updating cache $cache_file"
23586 cat confcache > $cache_file
23588 echo "not updating unwritable cache $cache_file"
23593 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23595 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23596 # Let make expand exec_prefix.
23597 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23599 # Any assignment to VPATH causes Sun make to only execute
23600 # the first set of double-colon rules, so remove it if not needed.
23601 # If there is a colon in the path, we need to keep it.
23602 if test "x$srcdir" = x.; then
23603 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
23606 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23608 DEFS=-DHAVE_CONFIG_H
23610 # Without the "./", some shells look in PATH for config.status.
23611 : ${CONFIG_STATUS=./config.status}
23613 echo creating $CONFIG_STATUS
23614 rm -f $CONFIG_STATUS
23615 cat > $CONFIG_STATUS <<EOF
23617 # Generated automatically by configure.
23618 # Run this file to recreate the current configuration.
23619 # This directory was configured as follows,
23620 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23622 # $0 $ac_configure_args
23624 # Compiler output produced by configure, useful for debugging
23625 # configure, is in ./config.log if it exists.
23627 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23630 case "\$ac_option" in
23631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23632 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23633 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23634 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23635 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23637 -help | --help | --hel | --he | --h)
23638 echo "\$ac_cs_usage"; exit 0 ;;
23639 *) echo "\$ac_cs_usage"; exit 1 ;;
23643 ac_given_srcdir=$srcdir
23644 ac_given_INSTALL="$INSTALL"
23646 trap 'rm -fr `echo "Makefile \
23647 include/Makefile src/Makefile \
23648 libmath/Makefile libio/Makefile libsupc++/Makefile \
23649 po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23651 cat >> $CONFIG_STATUS <<EOF
23653 # Protect against being on the right side of a sed subst in config.status.
23654 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23655 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23659 s%@CFLAGS@%$CFLAGS%g
23660 s%@CPPFLAGS@%$CPPFLAGS%g
23661 s%@CXXFLAGS@%$CXXFLAGS%g
23662 s%@FFLAGS@%$FFLAGS%g
23664 s%@LDFLAGS@%$LDFLAGS%g
23666 s%@exec_prefix@%$exec_prefix%g
23667 s%@prefix@%$prefix%g
23668 s%@program_transform_name@%$program_transform_name%g
23669 s%@bindir@%$bindir%g
23670 s%@sbindir@%$sbindir%g
23671 s%@libexecdir@%$libexecdir%g
23672 s%@datadir@%$datadir%g
23673 s%@sysconfdir@%$sysconfdir%g
23674 s%@sharedstatedir@%$sharedstatedir%g
23675 s%@localstatedir@%$localstatedir%g
23676 s%@libdir@%$libdir%g
23677 s%@includedir@%$includedir%g
23678 s%@oldincludedir@%$oldincludedir%g
23679 s%@infodir@%$infodir%g
23680 s%@mandir@%$mandir%g
23681 s%@PACKAGE@%$PACKAGE%g
23682 s%@libtool_VERSION@%$libtool_VERSION%g
23683 s%@toplevel_srcdir@%$toplevel_srcdir%g
23685 s%@host_alias@%$host_alias%g
23686 s%@host_cpu@%$host_cpu%g
23687 s%@host_vendor@%$host_vendor%g
23688 s%@host_os@%$host_os%g
23689 s%@target@%$target%g
23690 s%@target_alias@%$target_alias%g
23691 s%@target_cpu@%$target_cpu%g
23692 s%@target_vendor@%$target_vendor%g
23693 s%@target_os@%$target_os%g
23695 s%@build_alias@%$build_alias%g
23696 s%@build_cpu@%$build_cpu%g
23697 s%@build_vendor@%$build_vendor%g
23698 s%@build_os@%$build_os%g
23699 s%@glibcpp_builddir@%$glibcpp_builddir%g
23700 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
23703 s%@glibcpp_basedir@%$glibcpp_basedir%g
23705 s%@glibcpp_CXX@%$glibcpp_CXX%g
23708 s%@RANLIB@%$RANLIB%g
23709 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23710 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23711 s%@INSTALL_DATA@%$INSTALL_DATA%g
23712 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
23713 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
23715 s%@EXEEXT@%$EXEEXT%g
23716 s%@VERSION@%$VERSION%g
23717 s%@ACLOCAL@%$ACLOCAL%g
23718 s%@AUTOCONF@%$AUTOCONF%g
23719 s%@AUTOMAKE@%$AUTOMAKE%g
23720 s%@AUTOHEADER@%$AUTOHEADER%g
23721 s%@MAKEINFO@%$MAKEINFO%g
23722 s%@SET_MAKE@%$SET_MAKE%g
23723 s%@OBJEXT@%$OBJEXT%g
23725 s%@LIBTOOL@%$LIBTOOL%g
23726 s%@CXXCPP@%$CXXCPP%g
23727 s%@enable_shared@%$enable_shared%g
23728 s%@enable_static@%$enable_static%g
23729 s%@ifGNUmake@%$ifGNUmake%g
23730 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
23732 s%@CSTDIO_H@%$CSTDIO_H%g
23733 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
23734 s%@CCODECVT_C@%$CCODECVT_C%g
23735 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
23736 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
23737 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
23738 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
23739 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
23740 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
23741 s%@libio_la@%$libio_la%g
23742 s%@check_msgfmt@%$check_msgfmt%g
23743 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
23744 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
23745 s%@glibcpp_localedir@%$glibcpp_localedir%g
23746 s%@USE_NLS@%$USE_NLS%g
23747 s%@CLOCALE_H@%$CLOCALE_H%g
23748 s%@CCODECVT_H@%$CCODECVT_H%g
23749 s%@CMESSAGES_H@%$CMESSAGES_H%g
23750 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
23751 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
23752 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
23753 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
23754 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
23755 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
23756 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
23757 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
23758 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
23759 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
23760 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
23761 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
23762 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
23763 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
23764 s%@WERROR@%$WERROR%g
23765 s%@baseline_file@%$baseline_file%g
23766 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
23767 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
23768 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
23769 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
23770 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
23771 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
23772 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
23773 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
23774 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
23775 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
23776 s%@gxx_include_dir@%$gxx_include_dir%g
23777 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
23778 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
23779 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
23780 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
23781 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
23782 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
23783 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
23784 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
23785 s%@WARN_FLAGS@%$WARN_FLAGS%g
23786 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
23791 cat >> $CONFIG_STATUS <<\EOF
23793 # Split the substitutions into bite-sized pieces for seds with
23794 # small command number limits, like on Digital OSF/1 and HP-UX.
23795 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
23796 ac_file=1 # Number of current file.
23797 ac_beg=1 # First line for current file.
23798 ac_end=$ac_max_sed_cmds # Line after last line for current file.
23801 while $ac_more_lines; do
23802 if test $ac_beg -gt 1; then
23803 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
23805 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
23807 if test ! -s conftest.s$ac_file; then
23808 ac_more_lines=false
23809 rm -f conftest.s$ac_file
23811 if test -z "$ac_sed_cmds"; then
23812 ac_sed_cmds="sed -f conftest.s$ac_file"
23814 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
23816 ac_file=`expr $ac_file + 1`
23818 ac_end=`expr $ac_end + $ac_max_sed_cmds`
23821 if test -z "$ac_sed_cmds"; then
23826 cat >> $CONFIG_STATUS <<EOF
23828 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
23829 include/Makefile src/Makefile \
23830 libmath/Makefile libio/Makefile libsupc++/Makefile \
23831 po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
23833 cat >> $CONFIG_STATUS <<\EOF
23834 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
23835 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23837 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
23838 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23839 *) ac_file_in="${ac_file}.in" ;;
23842 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
23844 # Remove last slash and all that follows it. Not all systems have dirname.
23845 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23846 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23847 # The file is in a subdirectory.
23848 test ! -d "$ac_dir" && mkdir "$ac_dir"
23849 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
23850 # A "../" for each directory in $ac_dir_suffix.
23851 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
23853 ac_dir_suffix= ac_dots=
23856 case "$ac_given_srcdir" in
23858 if test -z "$ac_dots"; then top_srcdir=.
23859 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
23860 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
23861 *) # Relative path.
23862 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
23863 top_srcdir="$ac_dots$ac_given_srcdir" ;;
23866 case "$ac_given_INSTALL" in
23867 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23868 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23871 echo creating "$ac_file"
23873 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
23875 *Makefile*) ac_comsub="1i\\
23876 # $configure_input" ;;
23880 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23882 s%@configure_input@%$configure_input%g
23883 s%@srcdir@%$srcdir%g
23884 s%@top_srcdir@%$top_srcdir%g
23885 s%@INSTALL@%$INSTALL%g
23886 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
23890 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23891 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23893 # ac_d sets the value in "#define NAME VALUE" lines.
23894 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23895 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
23898 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
23899 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23900 ac_uB='\([ ]\)%\1#\2define\3'
23903 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23904 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23905 ac_eB='$%\1#\2define\3'
23909 if test "${CONFIG_HEADERS+set}" != set; then
23911 cat >> $CONFIG_STATUS <<EOF
23912 CONFIG_HEADERS="config.h"
23914 cat >> $CONFIG_STATUS <<\EOF
23916 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
23917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23919 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
23920 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23921 *) ac_file_in="${ac_file}.in" ;;
23924 echo creating $ac_file
23926 rm -f conftest.frag conftest.in conftest.out
23927 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23928 cat $ac_file_inputs > conftest.in
23932 # Transform confdefs.h into a sed script conftest.vals that substitutes
23933 # the proper values into config.h.in to produce config.h. And first:
23934 # Protect against being on the right side of a sed subst in config.status.
23935 # Protect against being in an unquoted here document in config.status.
23936 rm -f conftest.vals
23937 cat > conftest.hdr <<\EOF
23940 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
23944 sed -n -f conftest.hdr confdefs.h > conftest.vals
23947 # This sed command replaces #undef with comments. This is necessary, for
23948 # example, in the case of _POSIX_SOURCE, which is predefined and required
23949 # on some systems where configure will not decide to define it.
23950 cat >> conftest.vals <<\EOF
23951 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
23954 # Break up conftest.vals because some shells have a limit on
23955 # the size of here documents, and old seds have small limits too.
23957 rm -f conftest.tail
23960 ac_lines=`grep -c . conftest.vals`
23961 # grep -c gives empty output for an empty file on some AIX systems.
23962 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
23963 # Write a limited-size here document to conftest.frag.
23964 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
23965 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
23967 sed -f conftest.frag conftest.in > conftest.out
23969 mv conftest.out conftest.in
23970 ' >> $CONFIG_STATUS
23971 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
23972 rm -f conftest.vals
23973 mv conftest.tail conftest.vals
23975 rm -f conftest.vals
23977 cat >> $CONFIG_STATUS <<\EOF
23978 rm -f conftest.frag conftest.h
23979 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23980 cat conftest.in >> conftest.h
23982 if cmp -s $ac_file conftest.h 2>/dev/null; then
23983 echo "$ac_file is unchanged"
23986 # Remove last slash and all that follows it. Not all systems have dirname.
23987 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23988 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23989 # The file is in a subdirectory.
23990 test ! -d "$ac_dir" && mkdir "$ac_dir"
23993 mv conftest.h $ac_file
23999 cat >> $CONFIG_STATUS <<EOF
24000 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"
24001 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"
24004 cat >> $CONFIG_STATUS <<\EOF
24005 srcdir=$ac_given_srcdir
24006 while test -n "$ac_sources"; do
24007 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
24008 set $ac_sources; ac_source=$1; shift; ac_sources=$*
24010 echo "linking $srcdir/$ac_source to $ac_dest"
24012 if test ! -r $srcdir/$ac_source; then
24013 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
24017 # Make relative symlinks.
24018 # Remove last slash and all that follows it. Not all systems have dirname.
24019 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
24020 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
24021 # The dest file is in a subdirectory.
24022 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
24023 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
24024 # A "../" for each directory in $ac_dest_dir_suffix.
24025 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
24027 ac_dest_dir_suffix= ac_dots=
24031 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
24032 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
24035 # Make a symlink if possible; otherwise try a hard link.
24036 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
24037 ln $srcdir/$ac_source $ac_dest; then :
24039 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
24043 cat >> $CONFIG_STATUS <<EOF
24048 with_multisubdir=${with_multisubdir}
24049 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24050 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24051 glibcpp_basedir=${glibcpp_basedir}
24056 cat >> $CONFIG_STATUS <<\EOF
24057 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24058 if test -n "$CONFIG_FILES"; then
24059 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24060 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24061 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24062 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24065 chmod +x testsuite_flags
24069 chmod +x $CONFIG_STATUS
24070 rm -fr confdefs* $ac_clean_files
24071 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24075 # Sanity checking & User-visible messages.
24076 # Checks down here, otherwise they get scrolled off before
24077 # the user will notice.
24079 # Trying to get more people to read documentation. Possibly remove
24080 # check and warn all the time. There is no "informational" AC_MSG_
24081 # macro, so these are going to be printed even when --quiet/--silent
24083 if test ! -f stamp-sanity-warned; then
24084 touch stamp-sanity-warned
24086 echo "Please make certain that you read the installation information here:"
24087 echo " faster => ${srcdir}/docs/html/install.html"
24088 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24090 echo "and the configuration information here:"
24091 echo " faster => ${srcdir}/docs/html/configopts.html"
24092 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24094 echo "before proceeding with ${_cv_gnu_make_command}."