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 --with-target-subdir=SUBDIR
16 configuring in a subdirectory"
18 --with-cross-host=HOST configuring with a cross compiler"
20 --enable-multilib build hella library versions (default)"
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-c-mbchar enable multibyte (wide) characters [default=yes]"
49 --enable-long-long turns on 'long long' [default=no]"
51 --enable-cheaders construct "C" header files for
54 --enable-threads enable thread usage for target GCC.
55 --enable-threads=LIB use LIB thread package for target GCC. [default=no]
58 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
61 --with-gxx-include-dir the installation directory for include files"
63 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
65 # Initialize some variables set by options.
66 # The variables have the same names as the options, with
67 # dashes changed to underlines.
69 cache_file=./config.cache
78 program_transform_name=s,x,x,
86 bindir='${exec_prefix}/bin'
87 sbindir='${exec_prefix}/sbin'
88 libexecdir='${exec_prefix}/libexec'
89 datadir='${prefix}/share'
90 sysconfdir='${prefix}/etc'
91 sharedstatedir='${prefix}/com'
92 localstatedir='${prefix}/var'
93 libdir='${exec_prefix}/lib'
94 includedir='${prefix}/include'
95 oldincludedir='/usr/include'
96 infodir='${prefix}/info'
97 mandir='${prefix}/man'
99 # Initialize some other variables.
102 SHELL=${CONFIG_SHELL-/bin/sh}
103 # Maximum number of lines to put in a shell here document.
110 # If the previous option needs an argument, assign it.
111 if test -n "$ac_prev"; then
112 eval "$ac_prev=\$ac_option"
118 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
122 # Accept the important Cygnus configure options, so we can diagnose typos.
126 -bindir | --bindir | --bindi | --bind | --bin | --bi)
128 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
129 bindir="$ac_optarg" ;;
131 -build | --build | --buil | --bui | --bu)
133 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
134 build="$ac_optarg" ;;
136 -cache-file | --cache-file | --cache-fil | --cache-fi \
137 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
138 ac_prev=cache_file ;;
139 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
140 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
141 cache_file="$ac_optarg" ;;
143 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
145 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
147 datadir="$ac_optarg" ;;
149 -disable-* | --disable-*)
150 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
151 # Reject names that are not valid shell variable names.
152 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
153 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
155 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}=no" ;;
158 -enable-* | --enable-*)
159 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
160 # Reject names that are not valid shell variable names.
161 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
162 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
164 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
169 eval "enable_${ac_feature}='$ac_optarg'" ;;
171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
173 | --exec | --exe | --ex)
174 ac_prev=exec_prefix ;;
175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
177 | --exec=* | --exe=* | --ex=*)
178 exec_prefix="$ac_optarg" ;;
180 -gas | --gas | --ga | --g)
181 # Obsolete; use --with-gas.
184 -help | --help | --hel | --he)
185 # Omit some internal or obsolete options to make the list less imposing.
186 # This message is too long to be a string in the A/UX 3.1 sh.
188 Usage: configure [options] [host]
189 Options: [defaults in brackets after descriptions]
191 --cache-file=FILE cache test results in FILE
192 --help print this message
193 --no-create do not create output files
194 --quiet, --silent do not print \`checking...' messages
195 --version print the version of autoconf that created configure
196 Directory and file names:
197 --prefix=PREFIX install architecture-independent files in PREFIX
199 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
201 --bindir=DIR user executables in DIR [EPREFIX/bin]
202 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
203 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
204 --datadir=DIR read-only architecture-independent data in DIR
206 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
207 --sharedstatedir=DIR modifiable architecture-independent data in DIR
209 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
210 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
211 --includedir=DIR C header files in DIR [PREFIX/include]
212 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
213 --infodir=DIR info documentation in DIR [PREFIX/info]
214 --mandir=DIR man documentation in DIR [PREFIX/man]
215 --srcdir=DIR find the sources in DIR [configure dir or ..]
216 --program-prefix=PREFIX prepend PREFIX to installed program names
217 --program-suffix=SUFFIX append SUFFIX to installed program names
218 --program-transform-name=PROGRAM
219 run sed PROGRAM on installed program names
223 --build=BUILD configure for building on BUILD [BUILD=HOST]
224 --host=HOST configure for HOST [guessed]
225 --target=TARGET configure for TARGET [TARGET=HOST]
226 Features and packages:
227 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
228 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
229 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
230 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
231 --x-includes=DIR X include files are in DIR
232 --x-libraries=DIR X library files are in DIR
234 if test -n "$ac_help"; then
235 echo "--enable and --with options recognized:$ac_help"
239 -host | --host | --hos | --ho)
241 -host=* | --host=* | --hos=* | --ho=*)
244 -includedir | --includedir | --includedi | --included | --include \
245 | --includ | --inclu | --incl | --inc)
246 ac_prev=includedir ;;
247 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
248 | --includ=* | --inclu=* | --incl=* | --inc=*)
249 includedir="$ac_optarg" ;;
251 -infodir | --infodir | --infodi | --infod | --info | --inf)
253 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
254 infodir="$ac_optarg" ;;
256 -libdir | --libdir | --libdi | --libd)
258 -libdir=* | --libdir=* | --libdi=* | --libd=*)
259 libdir="$ac_optarg" ;;
261 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
262 | --libexe | --libex | --libe)
263 ac_prev=libexecdir ;;
264 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
265 | --libexe=* | --libex=* | --libe=*)
266 libexecdir="$ac_optarg" ;;
268 -localstatedir | --localstatedir | --localstatedi | --localstated \
269 | --localstate | --localstat | --localsta | --localst \
270 | --locals | --local | --loca | --loc | --lo)
271 ac_prev=localstatedir ;;
272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
273 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
274 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
275 localstatedir="$ac_optarg" ;;
277 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
279 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
280 mandir="$ac_optarg" ;;
283 # Obsolete; use --without-fp.
286 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
290 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
291 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
294 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
295 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
296 | --oldin | --oldi | --old | --ol | --o)
297 ac_prev=oldincludedir ;;
298 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
299 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
300 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
301 oldincludedir="$ac_optarg" ;;
303 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
305 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
306 prefix="$ac_optarg" ;;
308 -program-prefix | --program-prefix | --program-prefi | --program-pref \
309 | --program-pre | --program-pr | --program-p)
310 ac_prev=program_prefix ;;
311 -program-prefix=* | --program-prefix=* | --program-prefi=* \
312 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
313 program_prefix="$ac_optarg" ;;
315 -program-suffix | --program-suffix | --program-suffi | --program-suff \
316 | --program-suf | --program-su | --program-s)
317 ac_prev=program_suffix ;;
318 -program-suffix=* | --program-suffix=* | --program-suffi=* \
319 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
320 program_suffix="$ac_optarg" ;;
322 -program-transform-name | --program-transform-name \
323 | --program-transform-nam | --program-transform-na \
324 | --program-transform-n | --program-transform- \
325 | --program-transform | --program-transfor \
326 | --program-transfo | --program-transf \
327 | --program-trans | --program-tran \
328 | --progr-tra | --program-tr | --program-t)
329 ac_prev=program_transform_name ;;
330 -program-transform-name=* | --program-transform-name=* \
331 | --program-transform-nam=* | --program-transform-na=* \
332 | --program-transform-n=* | --program-transform-=* \
333 | --program-transform=* | --program-transfor=* \
334 | --program-transfo=* | --program-transf=* \
335 | --program-trans=* | --program-tran=* \
336 | --progr-tra=* | --program-tr=* | --program-t=*)
337 program_transform_name="$ac_optarg" ;;
339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
340 | -silent | --silent | --silen | --sile | --sil)
343 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
345 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
347 sbindir="$ac_optarg" ;;
349 -sharedstatedir | --sharedstatedir | --sharedstatedi \
350 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
351 | --sharedst | --shareds | --shared | --share | --shar \
353 ac_prev=sharedstatedir ;;
354 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
355 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
356 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
358 sharedstatedir="$ac_optarg" ;;
360 -site | --site | --sit)
362 -site=* | --site=* | --sit=*)
365 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
367 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
368 srcdir="$ac_optarg" ;;
370 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
371 | --syscon | --sysco | --sysc | --sys | --sy)
372 ac_prev=sysconfdir ;;
373 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
374 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
375 sysconfdir="$ac_optarg" ;;
377 -target | --target | --targe | --targ | --tar | --ta | --t)
379 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
380 target="$ac_optarg" ;;
382 -v | -verbose | --verbose | --verbos | --verbo | --verb)
385 -version | --version | --versio | --versi | --vers)
386 echo "configure generated by autoconf version 2.13"
390 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
391 # Reject names that are not valid shell variable names.
392 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
393 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395 ac_package=`echo $ac_package| sed 's/-/_/g'`
400 eval "with_${ac_package}='$ac_optarg'" ;;
402 -without-* | --without-*)
403 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
404 # Reject names that are not valid shell variable names.
405 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
406 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
408 ac_package=`echo $ac_package| sed 's/-/_/g'`
409 eval "with_${ac_package}=no" ;;
412 # Obsolete; use --with-x.
415 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416 | --x-incl | --x-inc | --x-in | --x-i)
417 ac_prev=x_includes ;;
418 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420 x_includes="$ac_optarg" ;;
422 -x-libraries | --x-libraries | --x-librarie | --x-librari \
423 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424 ac_prev=x_libraries ;;
425 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427 x_libraries="$ac_optarg" ;;
429 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
433 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
434 echo "configure: warning: $ac_option: invalid host type" 1>&2
436 if test "x$nonopt" != xNONE; then
437 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
445 if test -n "$ac_prev"; then
446 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
449 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
451 # File descriptor usage:
454 # 2 errors and warnings
455 # 3 some systems may open it to /dev/tty
456 # 4 used on the Kubota Titan
457 # 6 checking for... messages and results
458 # 5 compiler messages saved in config.log
459 if test "$silent" = yes; then
467 This file contains any messages produced by compilers while
468 running configure, to aid debugging if configure makes a mistake.
471 # Strip out --no-create and --no-recursion so they do not pile up.
472 # Also quote any args containing shell metacharacters.
477 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
478 | --no-cr | --no-c) ;;
479 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
480 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
481 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
482 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
483 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
488 # Only set these to C if already set. These must not be set unconditionally
489 # because not all systems understand e.g. LANG=C (notably SCO).
490 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
491 # Non-C LC_CTYPE values break the ctype check.
492 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
493 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
494 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
495 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
497 # confdefs.h avoids OS command line length limits that DEFS can exceed.
498 rm -rf conftest* confdefs.h
499 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
502 # A filename unique to this package, relative to the directory that
503 # configure is in, which we can look for to find out if srcdir is correct.
504 ac_unique_file=src/ios.cc
506 # Find the source files, if location was not specified.
507 if test -z "$srcdir"; then
508 ac_srcdir_defaulted=yes
509 # Try the directory containing this script, then its parent.
511 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
514 if test ! -r $srcdir/$ac_unique_file; then
518 ac_srcdir_defaulted=no
520 if test ! -r $srcdir/$ac_unique_file; then
521 if test "$ac_srcdir_defaulted" = yes; then
522 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
524 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
527 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
529 # Prefer explicitly selected file to automatically selected ones.
530 if test -z "$CONFIG_SITE"; then
531 if test "x$prefix" != xNONE; then
532 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
534 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
537 for ac_site_file in $CONFIG_SITE; do
538 if test -r "$ac_site_file"; then
539 echo "loading site script $ac_site_file"
544 if test -r "$cache_file"; then
545 echo "loading cache $cache_file"
548 echo "creating cache $cache_file"
553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
554 ac_cpp='$CPP $CPPFLAGS'
555 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
556 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
557 cross_compiling=$ac_cv_prog_cc_cross
561 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
562 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
563 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
570 ac_n= ac_c='\c' ac_t=
575 # When building with srcdir == objdir, links to the source files will
576 # be created in directories within the target_subdir. We have to
577 # adjust toplevel_srcdir accordingly, so that configure finds
578 # install-sh and other auxiliary files that live in the top-level
580 if test "${srcdir}" = "."; then
581 if test -z "${with_target_subdir}"; then
582 toplevel_srcdir="\${top_srcdir}/.."
583 auxdir="${srcdir}/.."
585 if test "${with_target_subdir}" != "."; then
586 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
587 auxdir="${srcdir}/${with_multisrctop}../.."
589 toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
590 auxdir="${srcdir}/${with_multisrctop}.."
594 toplevel_srcdir="\${top_srcdir}/.."
595 auxdir="${srcdir}/.."
598 for ac_dir in $auxdir $srcdir/$auxdir; do
599 if test -f $ac_dir/install-sh; then
601 ac_install_sh="$ac_aux_dir/install-sh -c"
603 elif test -f $ac_dir/install.sh; then
605 ac_install_sh="$ac_aux_dir/install.sh -c"
609 if test -z "$ac_aux_dir"; then
610 { echo "configure: error: can not find install-sh or install.sh in $auxdir $srcdir/$auxdir" 1>&2; exit 1; }
612 ac_config_guess=$ac_aux_dir/config.guess
613 ac_config_sub=$ac_aux_dir/config.sub
614 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
620 # Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
622 # Do some error checking and defaulting for the host and target type.
624 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
627 # 1. You are not allowed to specify --host, --target, and nonopt at the
629 # 2. Host defaults to nonopt.
630 # 3. If nonopt is not specified, then host defaults to the current host,
631 # as determined by config.guess.
632 # 4. Target and build default to nonopt.
633 # 5. If nonopt is not specified, then target and build default to host.
635 # The aliases save the names the user supplied, while $host etc.
636 # will get canonicalized.
637 case $host---$target---$nonopt in
638 NONE---*---* | *---NONE---* | *---*---NONE) ;;
639 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
643 # Make sure we can run config.sub.
644 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
645 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
648 echo $ac_n "checking host system type""... $ac_c" 1>&6
649 echo "configure:650: checking host system type" >&5
652 case "$host_alias" in
656 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
657 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
659 *) host_alias=$nonopt ;;
663 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
664 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
665 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
666 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
667 echo "$ac_t""$host" 1>&6
669 echo $ac_n "checking target system type""... $ac_c" 1>&6
670 echo "configure:671: checking target system type" >&5
673 case "$target_alias" in
676 NONE) target_alias=$host_alias ;;
677 *) target_alias=$nonopt ;;
681 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
682 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
683 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
684 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
685 echo "$ac_t""$target" 1>&6
687 echo $ac_n "checking build system type""... $ac_c" 1>&6
688 echo "configure:689: checking build system type" >&5
691 case "$build_alias" in
694 NONE) build_alias=$host_alias ;;
695 *) build_alias=$nonopt ;;
699 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
700 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
701 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
702 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
703 echo "$ac_t""$build" 1>&6
705 test "$host_alias" != "$target_alias" &&
706 test "$program_prefix$program_suffix$program_transform_name" = \
708 program_prefix=${target_alias}-
711 # We use these options to decide which functions to include.
712 # Check whether --with-target-subdir or --without-target-subdir was given.
713 if test "${with_target_subdir+set}" = set; then
714 withval="$with_target_subdir"
718 # Check whether --with-cross-host or --without-cross-host was given.
719 if test "${with_cross_host+set}" = set; then
720 withval="$with_cross_host"
725 # Runs configure.host and configure.target. Have to run this before
726 # the GLIBCPP_ENABLE_* macros below.
727 # Find a good install program. We prefer a C program (faster),
728 # so one script is as good as another. But avoid the broken or
729 # incompatible versions:
730 # SysV /etc/install, /usr/sbin/install
731 # SunOS /usr/etc/install
734 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
735 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
736 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
737 # ./install, which can be erroneously created by make from ./install.sh.
738 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
739 echo "configure:740: checking for a BSD compatible install" >&5
740 if test -z "$INSTALL"; then
741 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
742 echo $ac_n "(cached) $ac_c" 1>&6
744 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
745 for ac_dir in $PATH; do
746 # Account for people who put trailing slashes in PATH elements.
748 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
750 # OSF1 and SCO ODT 3.0 have their own names for install.
751 # Don't use installbsd from OSF since it installs stuff as root
753 for ac_prog in ginstall scoinst install; do
754 if test -f $ac_dir/$ac_prog; then
755 if test $ac_prog = install &&
756 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
757 # AIX install. It has an incompatible calling convention.
760 ac_cv_path_install="$ac_dir/$ac_prog -c"
771 if test "${ac_cv_path_install+set}" = set; then
772 INSTALL="$ac_cv_path_install"
774 # As a last resort, use the slow shell script. We don't cache a
775 # path for INSTALL within a source directory, because that will
776 # break other packages using the cache if that directory is
777 # removed, or if the path is relative.
778 INSTALL="$ac_install_sh"
781 echo "$ac_t""$INSTALL" 1>&6
783 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
784 # It thinks the first close brace ends the variable substitution.
785 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
787 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
789 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
791 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
792 echo "configure:793: checking whether build environment is sane" >&5
795 echo timestamp > conftestfile
796 # Do `set' in a subshell so we don't clobber the current shell's
797 # arguments. Must try -L first in case configure is actually a
798 # symlink; some systems play weird games with the mod time of symlinks
799 # (eg FreeBSD returns the mod time of the symlink's containing
802 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
803 if test "$*" = "X"; then
805 set X `ls -t $srcdir/configure conftestfile`
807 if test "$*" != "X $srcdir/configure conftestfile" \
808 && test "$*" != "X conftestfile $srcdir/configure"; then
810 # If neither matched, then we have a broken ls. This can happen
811 # if, for instance, CONFIG_SHELL is bash and it inherits a
812 # broken ls alias from the environment. This has actually
813 # happened. Such a system could not be considered "sane".
814 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
815 alias in your environment" 1>&2; exit 1; }
818 test "$2" = conftestfile
824 { echo "configure: error: newly created file is older than distributed files!
825 Check your system clock" 1>&2; exit 1; }
828 echo "$ac_t""yes" 1>&6
829 if test "$program_transform_name" = s,x,x,; then
830 program_transform_name=
832 # Double any \ or $. echo might interpret backslashes.
833 cat <<\EOF_SED > conftestsed
834 s,\\,\\\\,g; s,\$,$$,g
836 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
839 test "$program_prefix" != NONE &&
840 program_transform_name="s,^,${program_prefix},; $program_transform_name"
841 # Use a double $ so make ignores it.
842 test "$program_suffix" != NONE &&
843 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
845 # sed with no file args requires a program.
846 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
848 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
849 echo "configure:850: checking whether ${MAKE-make} sets \${MAKE}" >&5
850 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
851 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 cat > conftestmake <<\EOF
856 @echo 'ac_maketemp="${MAKE}"'
858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
859 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
860 if test -n "$ac_maketemp"; then
861 eval ac_cv_prog_make_${ac_make}_set=yes
863 eval ac_cv_prog_make_${ac_make}_set=no
867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
868 echo "$ac_t""yes" 1>&6
871 echo "$ac_t""no" 1>&6
872 SET_MAKE="MAKE=${MAKE-make}"
875 if test $host != $build; then
876 ac_tool_prefix=${host_alias}-
881 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
882 echo "configure:883: checking for Cygwin environment" >&5
883 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
884 echo $ac_n "(cached) $ac_c" 1>&6
886 cat > conftest.$ac_ext <<EOF
887 #line 888 "configure"
888 #include "confdefs.h"
893 #define __CYGWIN__ __CYGWIN32__
898 if { (eval echo configure:899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
902 echo "configure: failed program was:" >&5
903 cat conftest.$ac_ext >&5
911 echo "$ac_t""$ac_cv_cygwin" 1>&6
913 test "$ac_cv_cygwin" = yes && CYGWIN=yes
914 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
915 echo "configure:916: checking for mingw32 environment" >&5
916 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
917 echo $ac_n "(cached) $ac_c" 1>&6
919 cat > conftest.$ac_ext <<EOF
920 #line 921 "configure"
921 #include "confdefs.h"
927 if { (eval echo configure:928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
931 echo "configure: failed program was:" >&5
932 cat conftest.$ac_ext >&5
940 echo "$ac_t""$ac_cv_mingw32" 1>&6
942 test "$ac_cv_mingw32" = yes && MINGW32=yes
944 # Check whether --enable-multilib or --disable-multilib was given.
945 if test "${enable_multilib+set}" = set; then
946 enableval="$enable_multilib"
947 case "${enableval}" in
950 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
956 glibcpp_basedir=$auxdir/./libstdc++-v3
964 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
965 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
967 cat >> confdefs.h <<EOF
968 #define PACKAGE "$PACKAGE"
971 cat >> confdefs.h <<EOF
972 #define VERSION "$VERSION"
977 missing_dir=`cd $ac_aux_dir && pwd`
978 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
979 echo "configure:980: checking for working aclocal" >&5
980 # Run test in a subshell; some versions of sh will print an error if
981 # an executable is not found, even if stderr is redirected.
982 # Redirect stdin to placate older versions of autoconf. Sigh.
983 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
985 echo "$ac_t""found" 1>&6
987 ACLOCAL="$missing_dir/missing aclocal"
988 echo "$ac_t""missing" 1>&6
991 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
992 echo "configure:993: checking for working autoconf" >&5
993 # Run test in a subshell; some versions of sh will print an error if
994 # an executable is not found, even if stderr is redirected.
995 # Redirect stdin to placate older versions of autoconf. Sigh.
996 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
998 echo "$ac_t""found" 1>&6
1000 AUTOCONF="$missing_dir/missing autoconf"
1001 echo "$ac_t""missing" 1>&6
1004 echo $ac_n "checking for working automake""... $ac_c" 1>&6
1005 echo "configure:1006: checking for working automake" >&5
1006 # Run test in a subshell; some versions of sh will print an error if
1007 # an executable is not found, even if stderr is redirected.
1008 # Redirect stdin to placate older versions of autoconf. Sigh.
1009 if (automake --version) < /dev/null > /dev/null 2>&1; then
1011 echo "$ac_t""found" 1>&6
1013 AUTOMAKE="$missing_dir/missing automake"
1014 echo "$ac_t""missing" 1>&6
1017 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1018 echo "configure:1019: checking for working autoheader" >&5
1019 # Run test in a subshell; some versions of sh will print an error if
1020 # an executable is not found, even if stderr is redirected.
1021 # Redirect stdin to placate older versions of autoconf. Sigh.
1022 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1023 AUTOHEADER=autoheader
1024 echo "$ac_t""found" 1>&6
1026 AUTOHEADER="$missing_dir/missing autoheader"
1027 echo "$ac_t""missing" 1>&6
1030 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1031 echo "configure:1032: checking for working makeinfo" >&5
1032 # Run test in a subshell; some versions of sh will print an error if
1033 # an executable is not found, even if stderr is redirected.
1034 # Redirect stdin to placate older versions of autoconf. Sigh.
1035 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1037 echo "$ac_t""found" 1>&6
1039 MAKEINFO="$missing_dir/missing makeinfo"
1040 echo "$ac_t""missing" 1>&6
1045 # Never versions of autoconf add an underscore to these functions.
1046 # Prevent future problems ...
1054 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1055 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1056 # are probably using a cross compiler, which will not be able to fully
1057 # link an executable. This should really be fixed in autoconf
1063 # Extract the first word of "gcc", so it can be a program name with args.
1064 set dummy gcc; ac_word=$2
1065 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1066 echo "configure:1067: checking for $ac_word" >&5
1067 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1068 echo $ac_n "(cached) $ac_c" 1>&6
1070 if test -n "$CC"; then
1071 ac_cv_prog_CC="$CC" # Let the user override the test.
1073 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1075 for ac_dir in $ac_dummy; do
1076 test -z "$ac_dir" && ac_dir=.
1077 if test -f $ac_dir/$ac_word; then
1086 if test -n "$CC"; then
1087 echo "$ac_t""$CC" 1>&6
1089 echo "$ac_t""no" 1>&6
1092 if test -z "$CC"; then
1093 # Extract the first word of "cc", so it can be a program name with args.
1094 set dummy cc; ac_word=$2
1095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1096 echo "configure:1097: checking for $ac_word" >&5
1097 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1098 echo $ac_n "(cached) $ac_c" 1>&6
1100 if test -n "$CC"; then
1101 ac_cv_prog_CC="$CC" # Let the user override the test.
1103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1106 for ac_dir in $ac_dummy; do
1107 test -z "$ac_dir" && ac_dir=.
1108 if test -f $ac_dir/$ac_word; then
1109 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1110 ac_prog_rejected=yes
1118 if test $ac_prog_rejected = yes; then
1119 # We found a bogon in the path, so make sure we never use it.
1120 set dummy $ac_cv_prog_CC
1122 if test $# -gt 0; then
1123 # We chose a different compiler from the bogus one.
1124 # However, it has the same basename, so the bogon will be chosen
1125 # first if we set CC to just the basename; use the full file name.
1127 set dummy "$ac_dir/$ac_word" "$@"
1135 if test -n "$CC"; then
1136 echo "$ac_t""$CC" 1>&6
1138 echo "$ac_t""no" 1>&6
1141 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1144 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether we are using GNU C" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1147 echo $ac_n "(cached) $ac_c" 1>&6
1149 cat > conftest.c <<EOF
1154 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1161 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1163 if test $ac_cv_prog_gcc = yes; then
1165 ac_test_CFLAGS="${CFLAGS+set}"
1166 ac_save_CFLAGS="$CFLAGS"
1168 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1169 echo "configure:1170: checking whether ${CC-cc} accepts -g" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1171 echo $ac_n "(cached) $ac_c" 1>&6
1173 echo 'void f(){}' > conftest.c
1174 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1183 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1184 if test "$ac_test_CFLAGS" = set; then
1185 CFLAGS="$ac_save_CFLAGS"
1186 elif test $ac_cv_prog_cc_g = yes; then
1193 test "${CFLAGS+set}" = set || CFLAGS="-g"
1197 # Can't just call these here as g++ requires libstc++ to be built....
1200 # Likewise for AC_PROG_CXX.
1204 # Use CXX_libstdcxx so that we do not cause CXX to be cached with the
1205 # flags that come in CXX while configuring libstdc++. They're different
1206 # from those used for all other target libraries. If CXX is set in
1207 # the environment, respect that here.
1209 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1211 # Extract the first word of "$ac_prog", so it can be a program name with args.
1212 set dummy $ac_prog; ac_word=$2
1213 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1214 echo "configure:1215: checking for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
1216 echo $ac_n "(cached) $ac_c" 1>&6
1218 if test -n "$CXX_libstdcxx"; then
1219 ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
1221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1223 for ac_dir in $ac_dummy; do
1224 test -z "$ac_dir" && ac_dir=.
1225 if test -f $ac_dir/$ac_word; then
1226 ac_cv_prog_CXX_libstdcxx="$ac_prog"
1233 CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
1234 if test -n "$CXX_libstdcxx"; then
1235 echo "$ac_t""$CXX_libstdcxx" 1>&6
1237 echo "$ac_t""no" 1>&6
1240 test -n "$CXX_libstdcxx" && break
1242 test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
1246 test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
1248 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1249 echo "configure:1250: checking whether we are using GNU C++" >&5
1250 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1251 echo $ac_n "(cached) $ac_c" 1>&6
1253 cat > conftest.C <<EOF
1258 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1265 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1267 if test $ac_cv_prog_gxx = yes; then
1269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1270 ac_save_CXXFLAGS="$CXXFLAGS"
1272 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1273 echo "configure:1274: checking whether ${CXX-g++} accepts -g" >&5
1274 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1275 echo $ac_n "(cached) $ac_c" 1>&6
1277 echo 'void f(){}' > conftest.cc
1278 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1279 ac_cv_prog_cxx_g=yes
1287 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1288 if test "$ac_test_CXXFLAGS" = set; then
1289 CXXFLAGS="$ac_save_CXXFLAGS"
1290 elif test $ac_cv_prog_cxx_g = yes; then
1297 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1301 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1302 set dummy ${ac_tool_prefix}as; ac_word=$2
1303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1304 echo "configure:1305: checking for $ac_word" >&5
1305 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1306 echo $ac_n "(cached) $ac_c" 1>&6
1308 if test -n "$AS"; then
1309 ac_cv_prog_AS="$AS" # Let the user override the test.
1311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1313 for ac_dir in $ac_dummy; do
1314 test -z "$ac_dir" && ac_dir=.
1315 if test -f $ac_dir/$ac_word; then
1316 ac_cv_prog_AS="${ac_tool_prefix}as"
1321 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1325 if test -n "$AS"; then
1326 echo "$ac_t""$AS" 1>&6
1328 echo "$ac_t""no" 1>&6
1333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1334 set dummy ${ac_tool_prefix}ar; ac_word=$2
1335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1336 echo "configure:1337: checking for $ac_word" >&5
1337 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1338 echo $ac_n "(cached) $ac_c" 1>&6
1340 if test -n "$AR"; then
1341 ac_cv_prog_AR="$AR" # Let the user override the test.
1343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1345 for ac_dir in $ac_dummy; do
1346 test -z "$ac_dir" && ac_dir=.
1347 if test -f $ac_dir/$ac_word; then
1348 ac_cv_prog_AR="${ac_tool_prefix}ar"
1353 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1357 if test -n "$AR"; then
1358 echo "$ac_t""$AR" 1>&6
1360 echo "$ac_t""no" 1>&6
1365 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1366 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1368 echo "configure:1369: checking for $ac_word" >&5
1369 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1370 echo $ac_n "(cached) $ac_c" 1>&6
1372 if test -n "$RANLIB"; then
1373 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1375 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1377 for ac_dir in $ac_dummy; do
1378 test -z "$ac_dir" && ac_dir=.
1379 if test -f $ac_dir/$ac_word; then
1380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1387 RANLIB="$ac_cv_prog_RANLIB"
1388 if test -n "$RANLIB"; then
1389 echo "$ac_t""$RANLIB" 1>&6
1391 echo "$ac_t""no" 1>&6
1395 if test -z "$ac_cv_prog_RANLIB"; then
1396 if test -n "$ac_tool_prefix"; then
1397 # Extract the first word of "ranlib", so it can be a program name with args.
1398 set dummy ranlib; ac_word=$2
1399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1400 echo "configure:1401: checking for $ac_word" >&5
1401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1402 echo $ac_n "(cached) $ac_c" 1>&6
1404 if test -n "$RANLIB"; then
1405 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1407 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1409 for ac_dir in $ac_dummy; do
1410 test -z "$ac_dir" && ac_dir=.
1411 if test -f $ac_dir/$ac_word; then
1412 ac_cv_prog_RANLIB="ranlib"
1417 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1420 RANLIB="$ac_cv_prog_RANLIB"
1421 if test -n "$RANLIB"; then
1422 echo "$ac_t""$RANLIB" 1>&6
1424 echo "$ac_t""no" 1>&6
1433 # Find a good install program. We prefer a C program (faster),
1434 # so one script is as good as another. But avoid the broken or
1435 # incompatible versions:
1436 # SysV /etc/install, /usr/sbin/install
1437 # SunOS /usr/etc/install
1438 # IRIX /sbin/install
1440 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1441 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1442 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1443 # ./install, which can be erroneously created by make from ./install.sh.
1444 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1445 echo "configure:1446: checking for a BSD compatible install" >&5
1446 if test -z "$INSTALL"; then
1447 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1448 echo $ac_n "(cached) $ac_c" 1>&6
1450 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1451 for ac_dir in $PATH; do
1452 # Account for people who put trailing slashes in PATH elements.
1454 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1456 # OSF1 and SCO ODT 3.0 have their own names for install.
1457 # Don't use installbsd from OSF since it installs stuff as root
1459 for ac_prog in ginstall scoinst install; do
1460 if test -f $ac_dir/$ac_prog; then
1461 if test $ac_prog = install &&
1462 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1463 # AIX install. It has an incompatible calling convention.
1466 ac_cv_path_install="$ac_dir/$ac_prog -c"
1477 if test "${ac_cv_path_install+set}" = set; then
1478 INSTALL="$ac_cv_path_install"
1480 # As a last resort, use the slow shell script. We don't cache a
1481 # path for INSTALL within a source directory, because that will
1482 # break other packages using the cache if that directory is
1483 # removed, or if the path is relative.
1484 INSTALL="$ac_install_sh"
1487 echo "$ac_t""$INSTALL" 1>&6
1489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1490 # It thinks the first close brace ends the variable substitution.
1491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1495 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1498 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1499 echo "configure:1500: checking whether to enable maintainer-specific portions of Makefiles" >&5
1500 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1501 if test "${enable_maintainer_mode+set}" = set; then
1502 enableval="$enable_maintainer_mode"
1503 USE_MAINTAINER_MODE=$enableval
1505 USE_MAINTAINER_MODE=no
1508 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1511 if test $USE_MAINTAINER_MODE = yes; then
1512 MAINTAINER_MODE_TRUE=
1513 MAINTAINER_MODE_FALSE='#'
1515 MAINTAINER_MODE_TRUE='#'
1516 MAINTAINER_MODE_FALSE=
1518 MAINT=$MAINTAINER_MODE_TRUE
1522 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1523 # at least currently, we never actually build a program, so we never
1524 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1525 # fails, because we are probably configuring with a cross compiler
1526 # which cant create executables. So we include AC_EXEEXT to keep
1527 # automake happy, but we dont execute it, since we dont care about
1532 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1533 echo "configure:1534: checking for executable suffix" >&5
1534 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1535 echo $ac_n "(cached) $ac_c" 1>&6
1537 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1541 echo 'int main () { return 0; }' > conftest.$ac_ext
1543 if { (eval echo configure:1544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1544 for file in conftest.*; do
1546 *.c | *.o | *.obj) ;;
1547 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1551 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1554 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1559 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1560 echo "$ac_t""${ac_cv_exeext}" 1>&6
1565 # configure.host sets the following important variables
1566 # glibcpp_cflags - host specific C compiler flags
1567 # glibcpp_cxxflags - host specific C++ compiler flags
1571 . ${glibcpp_basedir}/configure.host
1573 case ${glibcpp_basedir} in
1574 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1575 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1578 # This does for the target what configure.host does for the host. In
1579 # addition to modifying the same flags, it also sets up symlinks.
1581 . ${glibcpp_basedir}/configure.target
1582 echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
1583 echo "$ac_t""OS config directory is $os_include_dir" 1>&6
1587 GLIBCPP_CFLAGS="${glibcpp_cflags}"
1588 GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
1594 # Check whether --enable-shared or --disable-shared was given.
1595 if test "${enable_shared+set}" = set; then
1596 enableval="$enable_shared"
1597 p=${PACKAGE-default}
1598 case "$enableval" in
1599 yes) enable_shared=yes ;;
1600 no) enable_shared=no ;;
1603 # Look at the argument we got. We use all the common list separators.
1604 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1605 for pkg in $enableval; do
1606 if test "X$pkg" = "X$p"; then
1617 # Check whether --enable-static or --disable-static was given.
1618 if test "${enable_static+set}" = set; then
1619 enableval="$enable_static"
1620 p=${PACKAGE-default}
1621 case "$enableval" in
1622 yes) enable_static=yes ;;
1623 no) enable_static=no ;;
1626 # Look at the argument we got. We use all the common list separators.
1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1628 for pkg in $enableval; do
1629 if test "X$pkg" = "X$p"; then
1640 # Check whether --enable-fast-install or --disable-fast-install was given.
1641 if test "${enable_fast_install+set}" = set; then
1642 enableval="$enable_fast_install"
1643 p=${PACKAGE-default}
1644 case "$enableval" in
1645 yes) enable_fast_install=yes ;;
1646 no) enable_fast_install=no ;;
1648 enable_fast_install=no
1649 # Look at the argument we got. We use all the common list separators.
1650 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1651 for pkg in $enableval; do
1652 if test "X$pkg" = "X$p"; then
1653 enable_fast_install=yes
1660 enable_fast_install=yes
1663 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1664 if test "${with_gnu_ld+set}" = set; then
1665 withval="$with_gnu_ld"
1666 test "$withval" = no || with_gnu_ld=yes
1672 if test "$ac_cv_prog_gcc" = yes; then
1673 # Check if gcc -print-prog-name=ld gives a path.
1674 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1675 echo "configure:1676: checking for ld used by GCC" >&5
1678 # gcc leaves a trailing carriage return which upsets mingw
1679 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1681 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1684 # Accept absolute paths.
1685 [\\/]* | [A-Za-z]:[\\/]*)
1686 re_direlt='/[^/][^/]*/\.\./'
1687 # Canonicalize the path of ld
1688 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1689 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1690 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1692 test -z "$LD" && LD="$ac_prog"
1695 # If it fails, then pretend we aren't using GCC.
1699 # If it is relative, then search for the first ld in PATH.
1703 elif test "$with_gnu_ld" = yes; then
1704 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1705 echo "configure:1706: checking for GNU ld" >&5
1707 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1708 echo "configure:1709: checking for non-GNU ld" >&5
1710 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1711 echo $ac_n "(cached) $ac_c" 1>&6
1713 if test -z "$LD"; then
1714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1715 for ac_dir in $PATH; do
1716 test -z "$ac_dir" && ac_dir=.
1717 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1718 ac_cv_path_LD="$ac_dir/$ac_prog"
1719 # Check to see if the program is GNU ld. I'd rather use --version,
1720 # but apparently some GNU ld's only accept -v.
1721 # Break only if it was the GNU/non-GNU ld that we prefer.
1722 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1723 test "$with_gnu_ld" != no && break
1725 test "$with_gnu_ld" != yes && break
1731 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1736 if test -n "$LD"; then
1737 echo "$ac_t""$LD" 1>&6
1739 echo "$ac_t""no" 1>&6
1741 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1742 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1743 echo "configure:1744: checking if the linker ($LD) is GNU ld" >&5
1744 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1745 echo $ac_n "(cached) $ac_c" 1>&6
1747 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1748 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1749 ac_cv_prog_gnu_ld=yes
1751 ac_cv_prog_gnu_ld=no
1755 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1756 with_gnu_ld=$ac_cv_prog_gnu_ld
1759 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1760 echo "configure:1761: checking for $LD option to reload object files" >&5
1761 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1764 lt_cv_ld_reload_flag='-r'
1767 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1768 reload_flag=$lt_cv_ld_reload_flag
1769 test -n "$reload_flag" && reload_flag=" $reload_flag"
1771 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1772 echo "configure:1773: checking for BSD-compatible nm" >&5
1773 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1774 echo $ac_n "(cached) $ac_c" 1>&6
1776 if test -n "$NM"; then
1777 # Let the user override the test.
1780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1781 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1782 test -z "$ac_dir" && ac_dir=.
1783 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1784 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1785 # Check to see if the nm accepts a BSD-compat flag.
1786 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1787 # nm: unknown option "B" ignored
1788 # Tru64's nm complains that /dev/null is an invalid object file
1789 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1790 ac_cv_path_NM="$tmp_nm -B"
1792 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1793 ac_cv_path_NM="$tmp_nm -p"
1796 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
1797 continue # so that we can try to find one that supports BSD flags
1802 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1807 echo "$ac_t""$NM" 1>&6
1809 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1810 echo "configure:1811: checking whether ln -s works" >&5
1811 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1812 echo $ac_n "(cached) $ac_c" 1>&6
1815 if ln -s X conftestdata 2>/dev/null
1818 ac_cv_prog_LN_S="ln -s"
1823 LN_S="$ac_cv_prog_LN_S"
1824 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1825 echo "$ac_t""yes" 1>&6
1827 echo "$ac_t""no" 1>&6
1830 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1831 echo "configure:1832: checking how to recognise dependant libraries" >&5
1832 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1833 echo $ac_n "(cached) $ac_c" 1>&6
1835 lt_cv_file_magic_cmd='$MAGIC_CMD'
1836 lt_cv_file_magic_test_file=
1837 lt_cv_deplibs_check_method='unknown'
1838 # Need to set the preceding variable on all platforms that support
1839 # interlibrary dependencies.
1840 # 'none' -- dependencies not supported.
1841 # `unknown' -- same as none, but documents that we really don't know.
1842 # 'pass_all' -- all dependencies passed with no checks.
1843 # 'test_compile' -- check by making test program.
1844 # 'file_magic [regex]' -- check by looking for files in library path
1845 # which responds to the $file_magic_cmd with a given egrep regex.
1846 # If you have `file' or equivalent on your system and you're not sure
1847 # whether `pass_all' will *always* work, you probably want this one.
1851 lt_cv_deplibs_check_method=pass_all
1855 lt_cv_deplibs_check_method=pass_all
1859 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1860 lt_cv_file_magic_cmd='/usr/bin/file -L'
1861 lt_cv_file_magic_test_file=/shlib/libc.so
1864 cygwin* | mingw* |pw32*)
1865 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1866 lt_cv_file_magic_cmd='$OBJDUMP -f'
1870 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1873 # Not sure whether the presence of OpenBSD here was a mistake.
1874 # Let's accept both of them until this is cleared up.
1875 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1876 lt_cv_file_magic_cmd=/usr/bin/file
1877 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1881 lt_cv_deplibs_check_method=pass_all
1886 lt_cv_deplibs_check_method=pass_all
1890 # TODO: Does this work for hpux-11 too?
1891 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
1892 lt_cv_file_magic_cmd=/usr/bin/file
1893 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1899 # this will be overridden with pass_all, but let us keep it just in case
1900 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1904 *-32|*"-32 ") libmagic=32-bit;;
1905 *-n32|*"-n32 ") libmagic=N32;;
1906 *-64|*"-64 ") libmagic=64-bit;;
1907 *) libmagic=never-match;;
1909 # this will be overridden with pass_all, but let us keep it just in case
1910 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1913 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1914 lt_cv_deplibs_check_method=pass_all
1917 # This must be Linux ELF.
1920 alpha* | i*86 | powerpc* | sparc* | ia64* )
1921 lt_cv_deplibs_check_method=pass_all ;;
1923 # glibc up to 2.1.1 does not perform some relocations on ARM
1924 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1926 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1930 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
1932 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
1933 lt_cv_file_magic_cmd='/usr/bin/file -L'
1934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1938 osf3* | osf4* | osf5*)
1939 # this will be overridden with pass_all, but let us keep it just in case
1940 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1941 lt_cv_file_magic_test_file=/shlib/libc.so
1942 lt_cv_deplibs_check_method=pass_all
1946 lt_cv_deplibs_check_method=pass_all
1950 lt_cv_deplibs_check_method=pass_all
1951 lt_cv_file_magic_test_file=/lib/libc.so
1954 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1955 case "$host_vendor" in
1957 lt_cv_deplibs_check_method=pass_all
1960 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]'
1961 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1969 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1970 file_magic_cmd=$lt_cv_file_magic_cmd
1971 deplibs_check_method=$lt_cv_deplibs_check_method
1973 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1974 echo "configure:1975: checking for object suffix" >&5
1975 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1976 echo $ac_n "(cached) $ac_c" 1>&6
1979 echo 'int i = 1;' > conftest.$ac_ext
1980 if { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1981 for ac_file in conftest.*; do
1984 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1988 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1993 echo "$ac_t""$ac_cv_objext" 1>&6
1994 OBJEXT=$ac_cv_objext
1995 ac_objext=$ac_cv_objext
1997 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1999 # Only perform the check for file, if the check method requires it
2000 case "$deplibs_check_method" in
2002 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2003 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2004 echo "configure:2005: checking for ${ac_tool_prefix}file" >&5
2005 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2006 echo $ac_n "(cached) $ac_c" 1>&6
2008 case "$MAGIC_CMD" in
2010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2013 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2016 ac_save_MAGIC_CMD="$MAGIC_CMD"
2017 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2018 ac_dummy="/usr/bin:$PATH"
2019 for ac_dir in $ac_dummy; do
2020 test -z "$ac_dir" && ac_dir=.
2021 if test -f $ac_dir/${ac_tool_prefix}file; then
2022 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2023 if test -n "$file_magic_test_file"; then
2024 case "$deplibs_check_method" in
2026 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2028 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2029 egrep "$file_magic_regex" > /dev/null; then
2034 *** Warning: the command libtool uses to detect shared libraries,
2035 *** $file_magic_cmd, produces output that libtool cannot recognize.
2036 *** The result is that libtool may fail to recognize shared libraries
2037 *** as such. This will affect the creation of libtool libraries that
2038 *** depend on shared libraries, but programs linked with such libtool
2039 *** libraries will work regardless of this problem. Nevertheless, you
2040 *** may want to report the problem to your system manager and/or to
2041 *** bug-libtool@gnu.org
2051 MAGIC_CMD="$ac_save_MAGIC_CMD"
2056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2057 if test -n "$MAGIC_CMD"; then
2058 echo "$ac_t""$MAGIC_CMD" 1>&6
2060 echo "$ac_t""no" 1>&6
2063 if test -z "$lt_cv_path_MAGIC_CMD"; then
2064 if test -n "$ac_tool_prefix"; then
2065 echo $ac_n "checking for file""... $ac_c" 1>&6
2066 echo "configure:2067: checking for file" >&5
2067 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2068 echo $ac_n "(cached) $ac_c" 1>&6
2070 case "$MAGIC_CMD" in
2072 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2075 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2078 ac_save_MAGIC_CMD="$MAGIC_CMD"
2079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2080 ac_dummy="/usr/bin:$PATH"
2081 for ac_dir in $ac_dummy; do
2082 test -z "$ac_dir" && ac_dir=.
2083 if test -f $ac_dir/file; then
2084 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2085 if test -n "$file_magic_test_file"; then
2086 case "$deplibs_check_method" in
2088 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2089 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2090 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2091 egrep "$file_magic_regex" > /dev/null; then
2096 *** Warning: the command libtool uses to detect shared libraries,
2097 *** $file_magic_cmd, produces output that libtool cannot recognize.
2098 *** The result is that libtool may fail to recognize shared libraries
2099 *** as such. This will affect the creation of libtool libraries that
2100 *** depend on shared libraries, but programs linked with such libtool
2101 *** libraries will work regardless of this problem. Nevertheless, you
2102 *** may want to report the problem to your system manager and/or to
2103 *** bug-libtool@gnu.org
2113 MAGIC_CMD="$ac_save_MAGIC_CMD"
2118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2119 if test -n "$MAGIC_CMD"; then
2120 echo "$ac_t""$MAGIC_CMD" 1>&6
2122 echo "$ac_t""no" 1>&6
2134 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2136 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2137 echo "configure:2138: checking for $ac_word" >&5
2138 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2139 echo $ac_n "(cached) $ac_c" 1>&6
2141 if test -n "$RANLIB"; then
2142 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2146 for ac_dir in $ac_dummy; do
2147 test -z "$ac_dir" && ac_dir=.
2148 if test -f $ac_dir/$ac_word; then
2149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2156 RANLIB="$ac_cv_prog_RANLIB"
2157 if test -n "$RANLIB"; then
2158 echo "$ac_t""$RANLIB" 1>&6
2160 echo "$ac_t""no" 1>&6
2164 if test -z "$ac_cv_prog_RANLIB"; then
2165 if test -n "$ac_tool_prefix"; then
2166 # Extract the first word of "ranlib", so it can be a program name with args.
2167 set dummy ranlib; ac_word=$2
2168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2169 echo "configure:2170: checking for $ac_word" >&5
2170 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2171 echo $ac_n "(cached) $ac_c" 1>&6
2173 if test -n "$RANLIB"; then
2174 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2178 for ac_dir in $ac_dummy; do
2179 test -z "$ac_dir" && ac_dir=.
2180 if test -f $ac_dir/$ac_word; then
2181 ac_cv_prog_RANLIB="ranlib"
2186 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2189 RANLIB="$ac_cv_prog_RANLIB"
2190 if test -n "$RANLIB"; then
2191 echo "$ac_t""$RANLIB" 1>&6
2193 echo "$ac_t""no" 1>&6
2201 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2202 set dummy ${ac_tool_prefix}strip; ac_word=$2
2203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2204 echo "configure:2205: checking for $ac_word" >&5
2205 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2206 echo $ac_n "(cached) $ac_c" 1>&6
2208 if test -n "$STRIP"; then
2209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2211 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2213 for ac_dir in $ac_dummy; do
2214 test -z "$ac_dir" && ac_dir=.
2215 if test -f $ac_dir/$ac_word; then
2216 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2223 STRIP="$ac_cv_prog_STRIP"
2224 if test -n "$STRIP"; then
2225 echo "$ac_t""$STRIP" 1>&6
2227 echo "$ac_t""no" 1>&6
2231 if test -z "$ac_cv_prog_STRIP"; then
2232 if test -n "$ac_tool_prefix"; then
2233 # Extract the first word of "strip", so it can be a program name with args.
2234 set dummy strip; ac_word=$2
2235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2236 echo "configure:2237: checking for $ac_word" >&5
2237 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2238 echo $ac_n "(cached) $ac_c" 1>&6
2240 if test -n "$STRIP"; then
2241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2245 for ac_dir in $ac_dummy; do
2246 test -z "$ac_dir" && ac_dir=.
2247 if test -f $ac_dir/$ac_word; then
2248 ac_cv_prog_STRIP="strip"
2253 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2256 STRIP="$ac_cv_prog_STRIP"
2257 if test -n "$STRIP"; then
2258 echo "$ac_t""$STRIP" 1>&6
2260 echo "$ac_t""no" 1>&6
2269 # Check for any special flags to pass to ltconfig.
2270 libtool_flags="--cache-file=$cache_file"
2271 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2272 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2273 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2274 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
2275 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2276 libtool_flags="$libtool_flags --enable-dlopen"
2278 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2279 if test "${enable_libtool_lock+set}" = set; then
2280 enableval="$enable_libtool_lock"
2284 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2285 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2287 # Check whether --with-pic or --without-pic was given.
2288 if test "${with_pic+set}" = set; then
2295 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2296 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2298 # Some flags need to be propagated to the compiler or linker for good
2302 # Find out which ABI we are using.
2303 echo '#line 2304 "configure"' > conftest.$ac_ext
2304 if { (eval echo configure:2305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2305 case "`/usr/bin/file conftest.o`" in
2321 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2322 SAVE_CFLAGS="$CFLAGS"
2323 CFLAGS="$CFLAGS -belf"
2324 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2325 echo "configure:2326: checking whether the C compiler needs -belf" >&5
2326 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2327 echo $ac_n "(cached) $ac_c" 1>&6
2331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2332 ac_cpp='$CPP $CPPFLAGS'
2333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2335 cross_compiling=$ac_cv_prog_cc_cross
2337 cat > conftest.$ac_ext <<EOF
2338 #line 2339 "configure"
2339 #include "confdefs.h"
2345 if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2347 lt_cv_cc_needs_belf=yes
2349 echo "configure: failed program was:" >&5
2350 cat conftest.$ac_ext >&5
2352 lt_cv_cc_needs_belf=no
2356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2357 ac_cpp='$CPP $CPPFLAGS'
2358 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2359 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2360 cross_compiling=$ac_cv_prog_cc_cross
2364 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2365 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2366 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2367 CFLAGS="$SAVE_CFLAGS"
2374 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
2375 echo "configure:2376: checking how to run the C++ preprocessor" >&5
2376 if test -z "$CXXCPP"; then
2377 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2378 echo $ac_n "(cached) $ac_c" 1>&6
2381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2382 ac_cpp='$CXXCPP $CPPFLAGS'
2383 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2384 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2385 cross_compiling=$ac_cv_prog_cxx_cross
2386 CXXCPP="${CXX-g++} -E"
2387 cat > conftest.$ac_ext <<EOF
2388 #line 2389 "configure"
2389 #include "confdefs.h"
2392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2393 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2395 if test -z "$ac_err"; then
2399 echo "configure: failed program was:" >&5
2400 cat conftest.$ac_ext >&5
2405 ac_cv_prog_CXXCPP="$CXXCPP"
2407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2408 ac_cpp='$CPP $CPPFLAGS'
2409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2411 cross_compiling=$ac_cv_prog_cc_cross
2414 CXXCPP="$ac_cv_prog_CXXCPP"
2415 echo "$ac_t""$CXXCPP" 1>&6
2418 # Save cache, so that ltconfig can load it
2419 cat > confcache <<\EOF
2420 # This file is a shell script that caches the results of configure
2421 # tests run on this system so they can be shared between configure
2422 # scripts and configure runs. It is not useful on other systems.
2423 # If it contains results you don't want to keep, you may remove or edit it.
2425 # By default, configure uses ./config.cache as the cache file,
2426 # creating it if it does not exist already. You can give configure
2427 # the --cache-file=FILE option to use a different cache file; that is
2428 # what configure does when it calls configure scripts in
2429 # subdirectories, so they share the cache.
2430 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2431 # config.status only pays attention to the cache file if you give it the
2432 # --recheck option to rerun configure.
2435 # The following way of writing the cache mishandles newlines in values,
2436 # but we know of no workaround that is simple, portable, and efficient.
2437 # So, don't put newlines in cache variables' values.
2438 # Ultrix sh set writes to stderr and can't be redirected directly,
2439 # and sets the high bit in the cache file unless we assign to the vars.
2441 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2443 # `set' does not quote correctly, so add quotes (double-quote substitution
2444 # turns \\\\ into \\, and sed turns \\ into \).
2446 -e "s/'/'\\\\''/g" \
2447 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2450 # `set' quotes correctly as required by POSIX, so do not add quotes.
2451 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2454 if cmp -s $cache_file confcache; then
2457 if test -w $cache_file; then
2458 echo "updating cache $cache_file"
2459 cat confcache > $cache_file
2461 echo "not updating unwritable cache $cache_file"
2467 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2468 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2469 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2470 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2471 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2472 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2473 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2474 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2475 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2476 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2478 # Reload cache, that may have been modified by ltconfig
2479 if test -r "$cache_file"; then
2480 echo "loading cache $cache_file"
2483 echo "creating cache $cache_file"
2488 # This can be used to rebuild libtool when needed
2489 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2491 # Always use our own libtool.
2492 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2494 # Redirect the config.log output again, so that the ltconfig log is not
2495 # clobbered by the next message.
2496 exec 5>>./config.log
2501 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
2503 lt_save_CFLAGS="$CFLAGS"
2504 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2505 MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2506 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2507 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2508 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2509 deplibs_check_method="$deplibs_check_method" \
2510 file_magic_cmd="$file_magic_cmd" \
2511 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2512 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2513 || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
2515 CFLAGS="$lt_save_CFLAGS"
2517 # Redirect the config.log output again, so that the ltconfig log is not
2518 # clobbered by the next message.
2519 exec 5>>./config.log
2529 echo $ac_n "checking for GNU make""... $ac_c" 1>&6
2530 echo "configure:2531: checking for GNU make" >&5
2531 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2532 echo $ac_n "(cached) $ac_c" 1>&6
2534 _cv_gnu_make_command='' ;
2535 for a in "${MAKE-make}" make gmake gnumake ; do
2536 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2538 _cv_gnu_make_command=$a ;
2545 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2546 if test "x$_cv_gnu_make_command" != "x" ; then
2553 if test "x$_cv_gnu_make_command" = "x"; then
2554 { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
2560 # Check for c++ or library specific bits that don't require linking.
2562 if test ! -f stamp-sanity-compiler; then
2563 echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
2564 echo "configure:2565: checking for g++ that will successfully compile libstdc++-v3" >&5
2567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2568 ac_cpp='$CXXCPP $CPPFLAGS'
2569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2571 cross_compiling=$ac_cv_prog_cxx_cross
2573 cat > conftest.$ac_ext <<EOF
2574 #line 2575 "configure"
2575 #include "confdefs.h"
2582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2583 egrep "ok" >/dev/null 2>&1; then
2585 gpp_satisfactory=yes
2588 { echo "configure: error: please upgrade to GCC 3.0 or above" 1>&2; exit 1; }
2593 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2596 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2597 cross_compiling=$ac_cv_prog_cc_cross
2599 echo "$ac_t""$gpp_satisfactory" 1>&6
2600 touch stamp-sanity-compiler
2604 # Enable all the crazy c++ stuff. C_MBCHAR must come early.
2605 # Check whether --enable-debug or --disable-debug was given.
2606 if test "${enable_debug+set}" = set; then
2607 enableval="$enable_debug"
2608 case "${enableval}" in
2609 yes) enable_debug=yes ;;
2610 no) enable_debug=no ;;
2611 *) { echo "configure: error: Unknown argument to enable/disable extra debugging" 1>&2; exit 1; } ;;
2617 case "${enable_debug}" in
2619 DEBUG_FLAGS='-O0 -ggdb3'
2627 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2628 echo "configure:2629: checking how to run the C preprocessor" >&5
2629 # On Suns, sometimes $CPP names a directory.
2630 if test -n "$CPP" && test -d "$CPP"; then
2633 if test -z "$CPP"; then
2634 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2635 echo $ac_n "(cached) $ac_c" 1>&6
2637 # This must be in double quotes, not single quotes, because CPP may get
2638 # substituted into the Makefile and "${CC-cc}" will confuse make.
2640 # On the NeXT, cc -E runs the code through the compiler's parser,
2641 # not just through cpp.
2642 cat > conftest.$ac_ext <<EOF
2643 #line 2644 "configure"
2644 #include "confdefs.h"
2648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2649 { (eval echo configure:2650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2651 if test -z "$ac_err"; then
2655 echo "configure: failed program was:" >&5
2656 cat conftest.$ac_ext >&5
2658 CPP="${CC-cc} -E -traditional-cpp"
2659 cat > conftest.$ac_ext <<EOF
2660 #line 2661 "configure"
2661 #include "confdefs.h"
2665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2666 { (eval echo configure:2667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2668 if test -z "$ac_err"; then
2672 echo "configure: failed program was:" >&5
2673 cat conftest.$ac_ext >&5
2675 CPP="${CC-cc} -nologo -E"
2676 cat > conftest.$ac_ext <<EOF
2677 #line 2678 "configure"
2678 #include "confdefs.h"
2682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2683 { (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2685 if test -z "$ac_err"; then
2689 echo "configure: failed program was:" >&5
2690 cat conftest.$ac_ext >&5
2699 ac_cv_prog_CPP="$CPP"
2701 CPP="$ac_cv_prog_CPP"
2703 ac_cv_prog_CPP="$CPP"
2705 echo "$ac_t""$CPP" 1>&6
2708 echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
2709 echo "configure:2710: checking for cstdio to use" >&5
2710 # Check whether --enable-cstdio or --disable-cstdio was given.
2711 if test "${enable_cstdio+set}" = set; then
2712 enableval="$enable_cstdio"
2713 if test x$enable_cstdio = xno; then
2721 enable_cstdio_flag=$enable_cstdio
2723 case x${enable_cstdio_flag} in
2725 CSTDIO_H=config/c_io_libio.h
2726 BASIC_FILE_H=config/basic_file_libio.h
2727 BASIC_FILE_CC=config/basic_file_libio.cc
2728 echo "$ac_t""libio" 1>&6
2730 # see if we are on a system with libio native (ie, linux)
2731 ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
2732 echo $ac_n "checking for libio.h""... $ac_c" 1>&6
2733 echo "configure:2734: checking for libio.h" >&5
2734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2735 echo $ac_n "(cached) $ac_c" 1>&6
2737 cat > conftest.$ac_ext <<EOF
2738 #line 2739 "configure"
2739 #include "confdefs.h"
2742 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2743 { (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2744 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2745 if test -z "$ac_err"; then
2747 eval "ac_cv_header_$ac_safe=yes"
2750 echo "configure: failed program was:" >&5
2751 cat conftest.$ac_ext >&5
2753 eval "ac_cv_header_$ac_safe=no"
2757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2758 echo "$ac_t""yes" 1>&6
2761 echo "$ac_t""no" 1>&6
2766 # Need to check and see what version of glibc is being used. If
2767 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2768 # compile most of libio for linux systems.
2769 if test x$has_libio = x"yes"; then
2772 echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
2773 echo "configure:2774: checking for glibc version >= 2.2" >&5
2774 cat > conftest.$ac_ext <<EOF
2775 #line 2776 "configure"
2776 #include "confdefs.h"
2778 #include <features.h>
2779 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2785 egrep "ok" >/dev/null 2>&1; then
2787 glibc_satisfactory=yes
2790 glibc_satisfactory=no
2794 echo "$ac_t""$glibc_satisfactory" 1>&6
2798 # XXX at the moment, admit defeat and force the recompilation
2799 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2800 glibc_satisfactory=no
2802 if test x$glibc_satisfactory = x"yes"; then
2807 # bkoz XXX need to add checks to enable this
2808 # pme XXX here's a first pass at such a check
2809 if test x$enable_c_mbchar != xno; then
2817 # Using libio, but <libio.h> doesn't exist on the target system. . .
2819 # bkoz XXX need to add checks to enable this
2820 # pme XXX here's a first pass at such a check
2821 if test x$enable_c_mbchar != xno; then
2828 xstdio | x | xno | xnone | xyes)
2830 CSTDIO_H=config/c_io_stdio.h
2831 BASIC_FILE_H=config/basic_file_stdio.h
2832 BASIC_FILE_CC=config/basic_file_stdio.cc
2833 echo "$ac_t""stdio" 1>&6
2835 # We're not using stdio.
2838 # Wide characters are not supported with this package.
2842 echo "$enable_cstdio is an unknown io package" 1>&2
2850 # 2000-08-04 bkoz hack
2851 CCODECVT_C=config/c_io_libio_codecvt.c
2853 # 2000-08-04 bkoz hack
2857 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2858 GLIBCPP_BUILD_LIBIO_TRUE=
2859 GLIBCPP_BUILD_LIBIO_FALSE='#'
2861 GLIBCPP_BUILD_LIBIO_TRUE='#'
2862 GLIBCPP_BUILD_LIBIO_FALSE=
2866 if test "$need_libio" = yes; then
2867 GLIBCPP_NEED_LIBIO_TRUE=
2868 GLIBCPP_NEED_LIBIO_FALSE='#'
2870 GLIBCPP_NEED_LIBIO_TRUE='#'
2871 GLIBCPP_NEED_LIBIO_FALSE=
2875 if test "$need_wlibio" = yes; then
2876 GLIBCPP_NEED_WLIBIO_TRUE=
2877 GLIBCPP_NEED_WLIBIO_FALSE='#'
2879 GLIBCPP_NEED_WLIBIO_TRUE='#'
2880 GLIBCPP_NEED_WLIBIO_FALSE=
2882 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2883 libio_la=../libio/libio.la
2890 echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
2891 echo "configure:2892: checking for clocale to use" >&5
2892 # Check whether --enable-clocale or --disable-clocale was given.
2893 if test "${enable_clocale+set}" = set; then
2894 enableval="$enable_clocale"
2895 if test x$enable_clocale = xno; then
2896 enable_clocale=generic
2899 enable_clocale=generic
2903 enable_clocale_flag=$enable_clocale
2905 case x${enable_clocale_flag} in
2907 CLOCALE_H=config/c_locale_gnu.h
2908 CLOCALE_CC=config/c_locale_gnu.cc
2909 echo "$ac_t""gnu" 1>&6
2912 CLOCALE_H=config/c_locale_generic.h
2913 CLOCALE_CC=config/c_locale_generic.cc
2914 echo "$ac_t""generic" 1>&6
2917 echo "$enable_clocale is an unknown locale package" 1>&2
2925 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
2926 if test "${enable_c_mbchar+set}" = set; then
2927 enableval="$enable_c_mbchar"
2928 case "$enableval" in
2929 yes) enable_c_mbchar=yes ;;
2930 no) enable_c_mbchar=no ;;
2931 *) { echo "configure: error: Unknown argument to enable/disable c-mbchar" 1>&2; exit 1; } ;;
2938 # Check whether --enable-long-long or --disable-long-long was given.
2939 if test "${enable_long_long+set}" = set; then
2940 enableval="$enable_long_long"
2941 case "$enableval" in
2942 yes) enable_long_long=yes ;;
2943 no) enable_long_long=no ;;
2944 *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
2950 # Allow use of os-dependent settings, so that macros that turn on
2951 # C99 capabilities can be defined and used in a consistent way.
2952 OS_INC_PATH=${srcdir}/$os_include_dir
2953 ac_test_CFLAGS="${CFLAGS+set}"
2954 ac_save_CFLAGS="$CFLAGS"
2955 CFLAGS="-I$OS_INC_PATH"
2957 # Check for the existence of functions used if long long is enabled.
2958 echo $ac_n "checking for strtoll""... $ac_c" 1>&6
2959 echo "configure:2960: checking for strtoll" >&5
2960 if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
2961 echo $ac_n "(cached) $ac_c" 1>&6
2963 cat > conftest.$ac_ext <<EOF
2964 #line 2965 "configure"
2965 #include "confdefs.h"
2966 /* System header to define __stub macros and hopefully few prototypes,
2967 which can conflict with char strtoll(); below. */
2969 /* Override any gcc2 internal prototype to avoid an error. */
2970 /* We use char because int might match the return type of a gcc2
2971 builtin and then its argument prototype would still apply. */
2976 /* The GNU C library defines this for functions which it implements
2977 to always fail with ENOSYS. Some functions are actually named
2978 something starting with __ and the normal name is an alias. */
2979 #if defined (__stub_strtoll) || defined (__stub___strtoll)
2987 if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2989 eval "ac_cv_func_strtoll=yes"
2991 echo "configure: failed program was:" >&5
2992 cat conftest.$ac_ext >&5
2994 eval "ac_cv_func_strtoll=no"
2999 if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
3000 echo "$ac_t""yes" 1>&6
3003 echo "$ac_t""no" 1>&6
3007 echo $ac_n "checking for strtoull""... $ac_c" 1>&6
3008 echo "configure:3009: checking for strtoull" >&5
3009 if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
3010 echo $ac_n "(cached) $ac_c" 1>&6
3012 cat > conftest.$ac_ext <<EOF
3013 #line 3014 "configure"
3014 #include "confdefs.h"
3015 /* System header to define __stub macros and hopefully few prototypes,
3016 which can conflict with char strtoull(); below. */
3018 /* Override any gcc2 internal prototype to avoid an error. */
3019 /* We use char because int might match the return type of a gcc2
3020 builtin and then its argument prototype would still apply. */
3025 /* The GNU C library defines this for functions which it implements
3026 to always fail with ENOSYS. Some functions are actually named
3027 something starting with __ and the normal name is an alias. */
3028 #if defined (__stub_strtoull) || defined (__stub___strtoull)
3036 if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3038 eval "ac_cv_func_strtoull=yes"
3040 echo "configure: failed program was:" >&5
3041 cat conftest.$ac_ext >&5
3043 eval "ac_cv_func_strtoull=no"
3048 if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
3049 echo "$ac_t""yes" 1>&6
3052 echo "$ac_t""no" 1>&6
3057 # Check for lldiv_t, et. al.
3058 echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
3059 echo "configure:3060: checking for lldiv_t declaration" >&5
3060 if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
3061 echo $ac_n "(cached) $ac_c" 1>&6
3064 cat > conftest.$ac_ext <<EOF
3065 #line 3066 "configure"
3066 #include "confdefs.h"
3067 #include <bits/os_defines.h>
3073 if { (eval echo configure:3074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3075 glibcpp_lldiv_t_use=yes
3077 echo "configure: failed program was:" >&5
3078 cat conftest.$ac_ext >&5
3080 glibcpp_lldiv_t_use=no
3086 echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
3087 if test x$glibcpp_lldiv_t_use = x"yes"; then
3088 cat >> confdefs.h <<\EOF
3089 #define HAVE_LLDIV_T 1
3094 echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
3095 echo "configure:3096: checking for enabled long long" >&5
3096 if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
3097 enable_long_long=no;
3099 echo "$ac_t""$enable_long_long" 1>&6
3101 # Option parsed, now set things appropriately
3102 if test x"$enable_long_long" = xyes; then
3103 cat >> confdefs.h <<\EOF
3104 #define _GLIBCPP_USE_LONG_LONG 1
3110 CFLAGS="$ac_save_CFLAGS"
3112 echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
3113 echo "configure:3114: checking for c header strategy to use" >&5
3114 # Check whether --enable-cheaders or --disable-cheaders was given.
3115 if test "${enable_cheaders+set}" = set; then
3116 enableval="$enable_cheaders"
3118 case "$enableval" in
3123 enable_cheaders=c_std
3126 enable_cheaders=c_shadow
3128 *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
3132 enable_cheaders=c_std
3135 echo "$ac_t""$enable_cheaders" 1>&6
3137 case "$enable_cheaders" in
3139 CSHADOW_FLAGS="-fno-builtin"
3140 C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
3141 cat >> confdefs.h <<\EOF
3142 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3148 C_INCLUDE_DIR='${top_srcdir}/include/c_std'
3152 C_INCLUDE_DIR='${top_srcdir}/include/c'
3160 if test "$enable_cheaders" = c_shadow; then
3161 GLIBCPP_USE_CSHADOW_TRUE=
3162 GLIBCPP_USE_CSHADOW_FALSE='#'
3164 GLIBCPP_USE_CSHADOW_TRUE='#'
3165 GLIBCPP_USE_CSHADOW_FALSE=
3169 echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
3170 echo "configure:3171: checking for threads package to use" >&5
3171 # Check whether --enable-threads or --disable-threads was given.
3172 if test "${enable_threads+set}" = set; then
3173 enableval="$enable_threads"
3174 if test x$enable_threads = xno; then
3182 enable_threads_flag=$enable_threads
3184 case x${enable_threads_flag} in
3187 target_thread_file='single'
3191 target_thread_file='posix'
3193 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
3194 xsolaris | xwin32 | xdce | xvxworks)
3195 target_thread_file=$enable_threads_flag
3198 echo "$enable_threads is an unknown thread package" 1>&2
3204 case "$target_thread_file" in
3206 THREADH=threads-no.h
3209 THREADH=threads-posix.h
3211 decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
3212 { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
3215 { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
3218 echo "$ac_t""$THREADH" 1>&6
3221 if test $THREADH != threads-no.h; then
3222 cat >> confdefs.h <<\EOF
3223 #define _GLIBCPP_USE_THREADS 1
3228 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3229 if test "${enable_cxx_flags+set}" = set; then
3230 enableval="$enable_cxx_flags"
3231 case "x$enableval" in
3233 { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
3235 enable_cxx_flags='' ;;
3237 enable_cxx_flags="$enableval" ;;
3240 enable_cxx_flags='none'
3244 if test "$enable_cxx_flags" = "none"; then
3245 enable_cxx_flags='';
3248 if test -n "$enable_cxx_flags"; then
3249 for f in $enable_cxx_flags; do
3253 *) # and we're trying to pass /what/ exactly?
3254 { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
3258 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3262 if test -n "$with_cross_host"; then
3264 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
3265 # may not work correctly, because the compiler may not be able to
3270 # If Canadian cross, then don't pick up tools from the build
3272 if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
3280 case "$target_alias" in
3282 # Construct linux crosses by hand, eliminating bits that need ld...
3283 # Check for available headers.
3284 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3285 machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
3288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3290 echo "configure:3291: checking for $ac_hdr" >&5
3291 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3292 echo $ac_n "(cached) $ac_c" 1>&6
3294 cat > conftest.$ac_ext <<EOF
3295 #line 3296 "configure"
3296 #include "confdefs.h"
3299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3300 { (eval echo configure:3301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3302 if test -z "$ac_err"; then
3304 eval "ac_cv_header_$ac_safe=yes"
3307 echo "configure: failed program was:" >&5
3308 cat conftest.$ac_ext >&5
3310 eval "ac_cv_header_$ac_safe=no"
3314 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3315 echo "$ac_t""yes" 1>&6
3316 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3317 cat >> confdefs.h <<EOF
3318 #define $ac_tr_hdr 1
3322 echo "$ac_t""no" 1>&6
3327 # GLIBCPP_CHECK_COMPILER_FEATURES
3328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3331 # If we're not using GNU ld, then there's no point in even trying these
3332 # tests. Check for that first. We should have already tested for gld
3333 # by now (in libtool), but require it now just to be safe...
3338 # Set --gc-sections.
3339 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
3340 # GNU ld it is! Joy and bunny rabbits!
3342 # All these tests are for C++; save the language and the compiler flags.
3343 # Need to do this so that g++ won't try to link in libstdc++
3344 ac_test_CFLAGS="${CFLAGS+set}"
3345 ac_save_CFLAGS="$CFLAGS"
3346 CFLAGS='-x c++ -Wl,--gc-sections'
3348 # Check for -Wl,--gc-sections
3349 # XXX This test is broken at the moment, as symbols required for
3350 # linking are now in libsupc++ (not built yet.....). In addition,
3351 # this test has cored on solaris in the past. In addition,
3352 # --gc-sections doesn't really work at the moment (keeps on discarding
3353 # used sections, first .eh_frame and now some of the glibc sections for
3354 # iconv). Bzzzzt. Thanks for playing, maybe next time.
3355 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
3356 echo "configure:3357: checking for ld that supports -Wl,--gc-sections" >&5
3357 if test "$cross_compiling" = yes; then
3358 ac_sectionLDflags=yes
3360 cat > conftest.$ac_ext <<EOF
3361 #line 3362 "configure"
3362 #include "confdefs.h"
3372 if { (eval echo configure:3373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3374 ac_sectionLDflags=yes
3376 echo "configure: failed program was:" >&5
3377 cat conftest.$ac_ext >&5
3379 ac_sectionLFflags=no
3384 if test "$ac_test_CFLAGS" = set; then
3385 CFLAGS="$ac_save_CFLAGS"
3387 # this is the suspicious part
3390 if test "$ac_sectionLDflags" = "yes"; then
3391 SECTION_LDFLAGS='-Wl,--gc-sections'
3393 echo "$ac_t""$ac_sectionLDflags" 1>&6
3396 # Set linker optimization flags.
3397 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
3398 OPT_LDFLAGS='-Wl,-O1'
3404 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3405 # GLIBCPP_CHECK_MATH_SUPPORT
3406 cat >> confdefs.h <<\EOF
3407 #define HAVE_ACOSF 1
3410 cat >> confdefs.h <<\EOF
3411 #define HAVE_ASINF 1
3414 cat >> confdefs.h <<\EOF
3415 #define HAVE_ATAN2F 1
3418 cat >> confdefs.h <<\EOF
3419 #define HAVE_ATANF 1
3422 cat >> confdefs.h <<\EOF
3423 #define HAVE_CEILF 1
3426 cat >> confdefs.h <<\EOF
3427 #define HAVE_COPYSIGN 1
3430 cat >> confdefs.h <<\EOF
3431 #define HAVE_COPYSIGNF 1
3434 cat >> confdefs.h <<\EOF
3438 cat >> confdefs.h <<\EOF
3439 #define HAVE_COSHF 1
3442 cat >> confdefs.h <<\EOF
3446 cat >> confdefs.h <<\EOF
3447 #define HAVE_FABSF 1
3450 cat >> confdefs.h <<\EOF
3451 #define HAVE_FINITE 1
3454 cat >> confdefs.h <<\EOF
3455 #define HAVE_FINITEF 1
3458 cat >> confdefs.h <<\EOF
3459 #define HAVE_FLOORF 1
3462 cat >> confdefs.h <<\EOF
3463 #define HAVE_FMODF 1
3466 cat >> confdefs.h <<\EOF
3467 #define HAVE_FREXPF 1
3470 cat >> confdefs.h <<\EOF
3471 #define HAVE_ISINF 1
3474 cat >> confdefs.h <<\EOF
3475 #define HAVE_ISINFF 1
3478 cat >> confdefs.h <<\EOF
3479 #define HAVE_ISNAN 1
3482 cat >> confdefs.h <<\EOF
3483 #define HAVE_ISNANF 1
3486 cat >> confdefs.h <<\EOF
3487 #define HAVE_LDEXPF 1
3490 cat >> confdefs.h <<\EOF
3491 #define HAVE_LOG10F 1
3494 cat >> confdefs.h <<\EOF
3498 cat >> confdefs.h <<\EOF
3499 #define HAVE_MODFF 1
3502 cat >> confdefs.h <<\EOF
3506 cat >> confdefs.h <<\EOF
3507 #define HAVE_SINCOS 1
3510 cat >> confdefs.h <<\EOF
3511 #define HAVE_SINCOSF 1
3514 cat >> confdefs.h <<\EOF
3518 cat >> confdefs.h <<\EOF
3519 #define HAVE_SINHF 1
3522 cat >> confdefs.h <<\EOF
3523 #define HAVE_SQRTF 1
3526 cat >> confdefs.h <<\EOF
3530 cat >> confdefs.h <<\EOF
3531 #define HAVE_TANHF 1
3535 # At some point, we should differentiate between architectures
3536 # like x86, which have long double versions, and alpha/powerpc/etc.,
3537 # which don't. For the time being, punt.
3538 if test x"long_double_math_on_this_cpu" = x"yes"; then
3539 cat >> confdefs.h <<\EOF
3540 #define HAVE_ACOSL 1
3543 cat >> confdefs.h <<\EOF
3544 #define HAVE_ASINL 1
3547 cat >> confdefs.h <<\EOF
3548 #define HAVE_ATAN2L 1
3551 cat >> confdefs.h <<\EOF
3552 #define HAVE_ATANL 1
3555 cat >> confdefs.h <<\EOF
3556 #define HAVE_CEILL 1
3559 cat >> confdefs.h <<\EOF
3560 #define HAVE_COPYSIGNL 1
3563 cat >> confdefs.h <<\EOF
3567 cat >> confdefs.h <<\EOF
3568 #define HAVE_COSHL 1
3571 cat >> confdefs.h <<\EOF
3575 cat >> confdefs.h <<\EOF
3576 #define HAVE_FABSL 1
3579 cat >> confdefs.h <<\EOF
3580 #define HAVE_FINITEL 1
3583 cat >> confdefs.h <<\EOF
3584 #define HAVE_FLOORL 1
3587 cat >> confdefs.h <<\EOF
3588 #define HAVE_FMODL 1
3591 cat >> confdefs.h <<\EOF
3592 #define HAVE_FREXPL 1
3595 cat >> confdefs.h <<\EOF
3596 #define HAVE_ISINFL 1
3599 cat >> confdefs.h <<\EOF
3600 #define HAVE_ISNANL 1
3603 cat >> confdefs.h <<\EOF
3604 #define HAVE_LDEXPL 1
3607 cat >> confdefs.h <<\EOF
3608 #define HAVE_LOG10L 1
3611 cat >> confdefs.h <<\EOF
3615 cat >> confdefs.h <<\EOF
3616 #define HAVE_MODFL 1
3619 cat >> confdefs.h <<\EOF
3623 cat >> confdefs.h <<\EOF
3624 #define HAVE_SINCOSL 1
3627 cat >> confdefs.h <<\EOF
3631 cat >> confdefs.h <<\EOF
3632 #define HAVE_SINHL 1
3635 cat >> confdefs.h <<\EOF
3636 #define HAVE_SQRTL 1
3639 cat >> confdefs.h <<\EOF
3643 cat >> confdefs.h <<\EOF
3644 #define HAVE_TANHL 1
3649 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
3650 echo "configure:3651: checking for main in -lm" >&5
3651 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
3652 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3653 echo $ac_n "(cached) $ac_c" 1>&6
3655 ac_save_LIBS="$LIBS"
3657 cat > conftest.$ac_ext <<EOF
3658 #line 3659 "configure"
3659 #include "confdefs.h"
3665 if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3667 eval "ac_cv_lib_$ac_lib_var=yes"
3669 echo "configure: failed program was:" >&5
3670 cat conftest.$ac_ext >&5
3672 eval "ac_cv_lib_$ac_lib_var=no"
3675 LIBS="$ac_save_LIBS"
3678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3679 echo "$ac_t""yes" 1>&6
3680 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3681 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3682 cat >> confdefs.h <<EOF
3683 #define $ac_tr_lib 1
3689 echo "$ac_t""no" 1>&6
3692 for ac_func in nan hypot hypotf atan2f expf copysignf
3694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3695 echo "configure:3696: checking for $ac_func" >&5
3696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3697 echo $ac_n "(cached) $ac_c" 1>&6
3699 cat > conftest.$ac_ext <<EOF
3700 #line 3701 "configure"
3701 #include "confdefs.h"
3702 /* System header to define __stub macros and hopefully few prototypes,
3703 which can conflict with char $ac_func(); below. */
3705 /* Override any gcc2 internal prototype to avoid an error. */
3706 /* We use char because int might match the return type of a gcc2
3707 builtin and then its argument prototype would still apply. */
3712 /* The GNU C library defines this for functions which it implements
3713 to always fail with ENOSYS. Some functions are actually named
3714 something starting with __ and the normal name is an alias. */
3715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3723 if { (eval echo configure:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3725 eval "ac_cv_func_$ac_func=yes"
3727 echo "configure: failed program was:" >&5
3728 cat conftest.$ac_ext >&5
3730 eval "ac_cv_func_$ac_func=no"
3735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3736 echo "$ac_t""yes" 1>&6
3737 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3738 cat >> confdefs.h <<EOF
3739 #define $ac_tr_func 1
3743 echo "$ac_t""no" 1>&6
3744 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3750 USE_COMPLEX_LONG_DOUBLE=no
3751 if test x$ac_cv_func_atan2l = x"yes" \
3752 && test x$ac_cv_func_copysignl = x"yes"; then
3753 USE_COMPLEX_LONG_DOUBLE=yes
3754 for ac_func in hypotl signbitl
3756 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3757 echo "configure:3758: checking for $ac_func" >&5
3758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3759 echo $ac_n "(cached) $ac_c" 1>&6
3761 cat > conftest.$ac_ext <<EOF
3762 #line 3763 "configure"
3763 #include "confdefs.h"
3764 /* System header to define __stub macros and hopefully few prototypes,
3765 which can conflict with char $ac_func(); below. */
3767 /* Override any gcc2 internal prototype to avoid an error. */
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3774 /* The GNU C library defines this for functions which it implements
3775 to always fail with ENOSYS. Some functions are actually named
3776 something starting with __ and the normal name is an alias. */
3777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3785 if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3787 eval "ac_cv_func_$ac_func=yes"
3789 echo "configure: failed program was:" >&5
3790 cat conftest.$ac_ext >&5
3792 eval "ac_cv_func_$ac_func=no"
3797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3798 echo "$ac_t""yes" 1>&6
3799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3800 cat >> confdefs.h <<EOF
3801 #define $ac_tr_func 1
3805 echo "$ac_t""no" 1>&6
3806 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3818 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
3819 echo "configure:3820: checking for GNU C++ __complex__ support" >&5
3820 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
3821 echo $ac_n "(cached) $ac_c" 1>&6
3826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3827 ac_cpp='$CXXCPP $CPPFLAGS'
3828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3830 cross_compiling=$ac_cv_prog_cxx_cross
3832 cat > conftest.$ac_ext <<EOF
3833 #line 3834 "configure"
3834 #include "confdefs.h"
3835 struct dcomplex { __complex__ double x; }; \
3836 dcomplex f(const dcomplex& x) { return dcomplex(x); }
3842 if { (eval echo configure:3843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3844 glibcpp_cv_complex=ok
3846 echo "configure: failed program was:" >&5
3847 cat conftest.$ac_ext >&5
3849 glibcpp_cv_complex=buggy
3854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3855 ac_cpp='$CPP $CPPFLAGS'
3856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3858 cross_compiling=$ac_cv_prog_cc_cross
3863 echo "$ac_t""$glibcpp_cv_complex" 1>&6
3864 if test $glibcpp_cv_complex = buggy; then
3865 cat >> confdefs.h <<\EOF
3866 #define _GLIBCPP_BUGGY_COMPLEX 1
3871 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
3872 echo "configure:3873: checking for GNU C++ __complex__ float support" >&5
3873 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
3874 echo $ac_n "(cached) $ac_c" 1>&6
3879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3880 ac_cpp='$CXXCPP $CPPFLAGS'
3881 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3882 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3883 cross_compiling=$ac_cv_prog_cxx_cross
3886 cat > conftest.h <<EOB
3888 // Check for buggy __complex__ that causes ICE in most versions of egcs
3889 // and gcc-2.95.x on certain platforms (eg., x86-win32).
3891 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
3892 // more info on the bug itself.
3897 __complex__ float m_value;
3898 float_complex (float = 0.0f, float = 0.0f);
3899 float_complex (__complex__ float val) : m_value (val) {}
3900 float_complex foo (const float_complex &val)
3901 { return float_complex (~val.m_value); }
3904 cat > conftest.$ac_ext <<EOF
3905 #line 3906 "configure"
3906 #include "confdefs.h"
3907 #include "conftest.h"
3912 if { (eval echo configure:3913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3914 glibcpp_cv_float_complex=ok
3916 echo "configure: failed program was:" >&5
3917 cat conftest.$ac_ext >&5
3919 glibcpp_cv_float_complex=buggy
3924 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3927 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3928 cross_compiling=$ac_cv_prog_cc_cross
3933 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
3934 if test $glibcpp_cv_float_complex = buggy; then
3935 cat >> confdefs.h <<\EOF
3936 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
3943 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
3944 echo "configure:3945: checking for mbstate_t" >&5
3945 cat > conftest.$ac_ext <<EOF
3946 #line 3947 "configure"
3947 #include "confdefs.h"
3950 mbstate_t teststate;
3953 if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3957 echo "configure: failed program was:" >&5
3958 cat conftest.$ac_ext >&5
3963 echo "$ac_t""$have_mbstate_t" 1>&6
3964 if test x"$have_mbstate_t" = xyes; then
3965 cat >> confdefs.h <<\EOF
3966 #define HAVE_MBSTATE_T 1
3971 for ac_hdr in wchar.h
3973 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3974 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3975 echo "configure:3976: checking for $ac_hdr" >&5
3976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3977 echo $ac_n "(cached) $ac_c" 1>&6
3979 cat > conftest.$ac_ext <<EOF
3980 #line 3981 "configure"
3981 #include "confdefs.h"
3984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3985 { (eval echo configure:3986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3987 if test -z "$ac_err"; then
3989 eval "ac_cv_header_$ac_safe=yes"
3992 echo "configure: failed program was:" >&5
3993 cat conftest.$ac_ext >&5
3995 eval "ac_cv_header_$ac_safe=no"
3999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4000 echo "$ac_t""yes" 1>&6
4001 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4002 cat >> confdefs.h <<EOF
4003 #define $ac_tr_hdr 1
4007 echo "$ac_t""no" 1>&6
4012 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
4013 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
4014 echo "configure:4015: checking for wctype.h" >&5
4015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4016 echo $ac_n "(cached) $ac_c" 1>&6
4018 cat > conftest.$ac_ext <<EOF
4019 #line 4020 "configure"
4020 #include "confdefs.h"
4023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4024 { (eval echo configure:4025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4026 if test -z "$ac_err"; then
4028 eval "ac_cv_header_$ac_safe=yes"
4031 echo "configure: failed program was:" >&5
4032 cat conftest.$ac_ext >&5
4034 eval "ac_cv_header_$ac_safe=no"
4038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4039 echo "$ac_t""yes" 1>&6
4042 echo "$ac_t""no" 1>&6
4047 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
4048 && test x"$enable_c_mbchar" != xno; then
4050 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
4051 echo "configure:4052: checking for WCHAR_MIN and WCHAR_MAX" >&5
4052 cat > conftest.$ac_ext <<EOF
4053 #line 4054 "configure"
4054 #include "confdefs.h"
4057 int i = WCHAR_MIN; int j = WCHAR_MAX;
4060 if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4062 has_wchar_minmax=yes
4064 echo "configure: failed program was:" >&5
4065 cat conftest.$ac_ext >&5
4070 echo "$ac_t""$has_wchar_minmax" 1>&6
4072 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
4073 echo "configure:4074: checking for WEOF" >&5
4074 cat > conftest.$ac_ext <<EOF
4075 #line 4076 "configure"
4076 #include "confdefs.h"
4084 if { (eval echo configure:4085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4088 echo "configure: failed program was:" >&5
4089 cat conftest.$ac_ext >&5
4094 echo "$ac_t""$has_weof" 1>&6
4096 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
4099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4100 echo "configure:4101: checking for $ac_func" >&5
4101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4102 echo $ac_n "(cached) $ac_c" 1>&6
4104 cat > conftest.$ac_ext <<EOF
4105 #line 4106 "configure"
4106 #include "confdefs.h"
4107 /* System header to define __stub macros and hopefully few prototypes,
4108 which can conflict with char $ac_func(); below. */
4110 /* Override any gcc2 internal prototype to avoid an error. */
4111 /* We use char because int might match the return type of a gcc2
4112 builtin and then its argument prototype would still apply. */
4117 /* The GNU C library defines this for functions which it implements
4118 to always fail with ENOSYS. Some functions are actually named
4119 something starting with __ and the normal name is an alias. */
4120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4128 if { (eval echo configure:4129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4130 eval "ac_cv_func_$ac_func=yes"
4132 echo "configure: failed program was:" >&5
4133 cat conftest.$ac_ext >&5
4135 eval "ac_cv_func_$ac_func=no"
4140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4141 echo "$ac_t""yes" 1>&6
4142 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4143 cat >> confdefs.h <<EOF
4144 #define $ac_tr_func 1
4148 echo "$ac_t""no" 1>&6
4154 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
4155 echo "configure:4156: checking for ISO C99 wchar_t support" >&5
4156 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
4157 && test x"$ac_wfuncs" = xyes; then
4158 ac_isoC99_wchar_t=yes
4160 ac_isoC99_wchar_t=no
4162 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4164 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
4165 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
4166 echo "configure:4167: checking for iconv.h" >&5
4167 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4168 echo $ac_n "(cached) $ac_c" 1>&6
4170 cat > conftest.$ac_ext <<EOF
4171 #line 4172 "configure"
4172 #include "confdefs.h"
4175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4176 { (eval echo configure:4177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4178 if test -z "$ac_err"; then
4180 eval "ac_cv_header_$ac_safe=yes"
4183 echo "configure: failed program was:" >&5
4184 cat conftest.$ac_ext >&5
4186 eval "ac_cv_header_$ac_safe=no"
4190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4191 echo "$ac_t""yes" 1>&6
4194 echo "$ac_t""no" 1>&6
4198 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
4199 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
4200 echo "configure:4201: checking for langinfo.h" >&5
4201 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4202 echo $ac_n "(cached) $ac_c" 1>&6
4204 cat > conftest.$ac_ext <<EOF
4205 #line 4206 "configure"
4206 #include "confdefs.h"
4207 #include <langinfo.h>
4209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4210 { (eval echo configure:4211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4212 if test -z "$ac_err"; then
4214 eval "ac_cv_header_$ac_safe=yes"
4217 echo "configure: failed program was:" >&5
4218 cat conftest.$ac_ext >&5
4220 eval "ac_cv_header_$ac_safe=no"
4224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4225 echo "$ac_t""yes" 1>&6
4226 ac_has_langinfo_h=yes
4228 echo "$ac_t""no" 1>&6
4229 ac_has_langinfo_h=no
4233 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
4234 echo "configure:4235: checking for iconv in -liconv" >&5
4235 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4237 echo $ac_n "(cached) $ac_c" 1>&6
4239 ac_save_LIBS="$LIBS"
4240 LIBS="-liconv $LIBS"
4241 cat > conftest.$ac_ext <<EOF
4242 #line 4243 "configure"
4243 #include "confdefs.h"
4244 /* Override any gcc2 internal prototype to avoid an error. */
4245 /* We use char because int might match the return type of a gcc2
4246 builtin and then its argument prototype would still apply. */
4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4255 eval "ac_cv_lib_$ac_lib_var=yes"
4257 echo "configure: failed program was:" >&5
4258 cat conftest.$ac_ext >&5
4260 eval "ac_cv_lib_$ac_lib_var=no"
4263 LIBS="$ac_save_LIBS"
4266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4267 echo "$ac_t""yes" 1>&6
4270 echo "$ac_t""no" 1>&6
4273 ac_save_LIBS="$LIBS"
4274 LIBS="$LIBS $libiconv"
4276 for ac_func in iconv_open iconv_close iconv nl_langinfo
4278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4279 echo "configure:4280: checking for $ac_func" >&5
4280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4281 echo $ac_n "(cached) $ac_c" 1>&6
4283 cat > conftest.$ac_ext <<EOF
4284 #line 4285 "configure"
4285 #include "confdefs.h"
4286 /* System header to define __stub macros and hopefully few prototypes,
4287 which can conflict with char $ac_func(); below. */
4289 /* Override any gcc2 internal prototype to avoid an error. */
4290 /* We use char because int might match the return type of a gcc2
4291 builtin and then its argument prototype would still apply. */
4296 /* The GNU C library defines this for functions which it implements
4297 to always fail with ENOSYS. Some functions are actually named
4298 something starting with __ and the normal name is an alias. */
4299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4309 eval "ac_cv_func_$ac_func=yes"
4311 echo "configure: failed program was:" >&5
4312 cat conftest.$ac_ext >&5
4314 eval "ac_cv_func_$ac_func=no"
4319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4320 echo "$ac_t""yes" 1>&6
4321 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4322 cat >> confdefs.h <<EOF
4323 #define $ac_tr_func 1
4328 echo "$ac_t""no" 1>&6
4334 LIBS="$ac_save_LIBS"
4336 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
4337 echo "configure:4338: checking for XPG2 wchar_t support" >&5
4338 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
4339 && test x"$ac_XPG2funcs" = xyes; then
4344 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4346 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
4347 echo "configure:4348: checking for enabled wchar_t specializations" >&5
4348 if test x"$ac_isoC99_wchar_t" = xyes \
4349 && test x"$ac_XPG2_wchar_t" = xyes; then
4350 libinst_wstring_la="libinst-wstring.la"
4351 cat >> confdefs.h <<\EOF
4352 #define _GLIBCPP_USE_WCHAR_T 1
4355 echo "$ac_t"""yes"" 1>&6
4357 libinst_wstring_la=""
4358 echo "$ac_t"""no"" 1>&6
4363 echo "configure: warning: wchar_t support disabled." 1>&2
4366 os_include_dir="config/os/gnu-linux"
4367 # GLIBCPP_CHECK_STDLIB_SUPPORT
4368 cat >> confdefs.h <<\EOF
4369 #define HAVE_STRTOF 1
4372 cat >> confdefs.h <<\EOF
4373 #define HAVE_STRTOLD 1
4377 cat >> confdefs.h <<\EOF
4383 # We assume newlib. This lets us hard-code the functions we know
4385 cat >> confdefs.h <<\EOF
4386 #define HAVE_FINITE 1
4389 cat >> confdefs.h <<\EOF
4390 #define HAVE_ISNAN 1
4393 cat >> confdefs.h <<\EOF
4394 #define HAVE_ISNANF 1
4397 cat >> confdefs.h <<\EOF
4398 #define HAVE_ISINF 1
4401 cat >> confdefs.h <<\EOF
4402 #define HAVE_ISINFF 1
4406 os_include_dir="config/os/newlib"
4408 cat >> confdefs.h <<\EOF
4409 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
4412 cat >> confdefs.h <<\EOF
4413 #define _GLIBCPP_BUGGY_COMPLEX 1
4416 # need to check for faster f versions of math functions, ie sinf?
4421 # We are being configured natively. We can do more elaborate tests
4422 # that include AC_TRY_COMPILE now, as the linker is assumed to be
4429 # Check for available headers.
4430 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
4431 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
4433 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4434 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4435 echo "configure:4436: checking for $ac_hdr" >&5
4436 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4437 echo $ac_n "(cached) $ac_c" 1>&6
4439 cat > conftest.$ac_ext <<EOF
4440 #line 4441 "configure"
4441 #include "confdefs.h"
4444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4445 { (eval echo configure:4446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4447 if test -z "$ac_err"; then
4449 eval "ac_cv_header_$ac_safe=yes"
4452 echo "configure: failed program was:" >&5
4453 cat conftest.$ac_ext >&5
4455 eval "ac_cv_header_$ac_safe=no"
4459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4460 echo "$ac_t""yes" 1>&6
4461 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4462 cat >> confdefs.h <<EOF
4463 #define $ac_tr_hdr 1
4467 echo "$ac_t""no" 1>&6
4473 # All these tests are for C++; save the language and the compiler flags.
4474 # The CXXFLAGS thing is suspicious, but based on similar bits
4475 # found in GLIBCPP_CONFIGURE.
4478 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4479 ac_cpp='$CXXCPP $CPPFLAGS'
4480 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4481 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4482 cross_compiling=$ac_cv_prog_cxx_cross
4484 ac_test_CXXFLAGS="${CXXFLAGS+set}"
4485 ac_save_CXXFLAGS="$CXXFLAGS"
4487 # Check for maintainer-mode bits.
4488 if test x"$USE_MAINTAINER_MODE" = xno; then
4494 # Check for -ffunction-sections -fdata-sections
4495 echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
4496 echo "configure:4497: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
4497 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
4498 cat > conftest.$ac_ext <<EOF
4499 #line 4500 "configure"
4500 #include "confdefs.h"
4507 if { (eval echo configure:4508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4511 echo "configure: failed program was:" >&5
4512 cat conftest.$ac_ext >&5
4517 if test "$ac_test_CXXFLAGS" = set; then
4518 CXXFLAGS="$ac_save_CXXFLAGS"
4520 # this is the suspicious part
4523 if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
4524 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4526 echo "$ac_t""$ac_fdsections" 1>&6
4529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4533 cross_compiling=$ac_cv_prog_cc_cross
4539 # If we're not using GNU ld, then there's no point in even trying these
4540 # tests. Check for that first. We should have already tested for gld
4541 # by now (in libtool), but require it now just to be safe...
4546 # Set --gc-sections.
4547 if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
4548 # GNU ld it is! Joy and bunny rabbits!
4550 # All these tests are for C++; save the language and the compiler flags.
4551 # Need to do this so that g++ won't try to link in libstdc++
4552 ac_test_CFLAGS="${CFLAGS+set}"
4553 ac_save_CFLAGS="$CFLAGS"
4554 CFLAGS='-x c++ -Wl,--gc-sections'
4556 # Check for -Wl,--gc-sections
4557 # XXX This test is broken at the moment, as symbols required for
4558 # linking are now in libsupc++ (not built yet.....). In addition,
4559 # this test has cored on solaris in the past. In addition,
4560 # --gc-sections doesn't really work at the moment (keeps on discarding
4561 # used sections, first .eh_frame and now some of the glibc sections for
4562 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4563 echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
4564 echo "configure:4565: checking for ld that supports -Wl,--gc-sections" >&5
4565 if test "$cross_compiling" = yes; then
4566 ac_sectionLDflags=yes
4568 cat > conftest.$ac_ext <<EOF
4569 #line 4570 "configure"
4570 #include "confdefs.h"
4580 if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4582 ac_sectionLDflags=yes
4584 echo "configure: failed program was:" >&5
4585 cat conftest.$ac_ext >&5
4587 ac_sectionLFflags=no
4592 if test "$ac_test_CFLAGS" = set; then
4593 CFLAGS="$ac_save_CFLAGS"
4595 # this is the suspicious part
4598 if test "$ac_sectionLDflags" = "yes"; then
4599 SECTION_LDFLAGS='-Wl,--gc-sections'
4601 echo "$ac_t""$ac_sectionLDflags" 1>&6
4604 # Set linker optimization flags.
4605 if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
4606 OPT_LDFLAGS='-Wl,-O1'
4614 echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
4615 echo "configure:4616: checking for __builtin_abs declaration" >&5
4616 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
4617 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
4618 echo $ac_n "(cached) $ac_c" 1>&6
4623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4624 ac_cpp='$CXXCPP $CPPFLAGS'
4625 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4626 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4627 cross_compiling=$ac_cv_prog_cxx_cross
4629 cat > conftest.$ac_ext <<EOF
4630 #line 4631 "configure"
4631 #include "confdefs.h"
4637 if { (eval echo configure:4638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4639 glibcpp_cv_func___builtin_abs_use=yes
4641 echo "configure: failed program was:" >&5
4642 cat conftest.$ac_ext >&5
4644 glibcpp_cv_func___builtin_abs_use=no
4648 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4649 ac_cpp='$CPP $CPPFLAGS'
4650 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4651 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4652 cross_compiling=$ac_cv_prog_cc_cross
4658 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
4659 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
4660 echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
4661 echo "configure:4662: checking for __builtin_abs linkage" >&5
4662 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
4663 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
4664 echo $ac_n "(cached) $ac_c" 1>&6
4667 cat > conftest.$ac_ext <<EOF
4668 #line 4669 "configure"
4669 #include "confdefs.h"
4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4677 glibcpp_cv_func___builtin_abs_link=yes
4679 echo "configure: failed program was:" >&5
4680 cat conftest.$ac_ext >&5
4682 glibcpp_cv_func___builtin_abs_link=no
4689 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
4690 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
4691 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4692 cat >> confdefs.h <<EOF
4693 #define ${ac_tr_func} 1
4700 echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
4701 echo "configure:4702: checking for __builtin_fabsf declaration" >&5
4702 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
4703 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
4704 echo $ac_n "(cached) $ac_c" 1>&6
4709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4710 ac_cpp='$CXXCPP $CPPFLAGS'
4711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4713 cross_compiling=$ac_cv_prog_cxx_cross
4715 cat > conftest.$ac_ext <<EOF
4716 #line 4717 "configure"
4717 #include "confdefs.h"
4723 if { (eval echo configure:4724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4725 glibcpp_cv_func___builtin_fabsf_use=yes
4727 echo "configure: failed program was:" >&5
4728 cat conftest.$ac_ext >&5
4730 glibcpp_cv_func___builtin_fabsf_use=no
4734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4735 ac_cpp='$CPP $CPPFLAGS'
4736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4738 cross_compiling=$ac_cv_prog_cc_cross
4744 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
4745 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
4746 echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
4747 echo "configure:4748: checking for __builtin_fabsf linkage" >&5
4748 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
4749 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
4750 echo $ac_n "(cached) $ac_c" 1>&6
4753 cat > conftest.$ac_ext <<EOF
4754 #line 4755 "configure"
4755 #include "confdefs.h"
4761 if { (eval echo configure:4762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4763 glibcpp_cv_func___builtin_fabsf_link=yes
4765 echo "configure: failed program was:" >&5
4766 cat conftest.$ac_ext >&5
4768 glibcpp_cv_func___builtin_fabsf_link=no
4775 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
4776 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
4777 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4778 cat >> confdefs.h <<EOF
4779 #define ${ac_tr_func} 1
4786 echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
4787 echo "configure:4788: checking for __builtin_fabs declaration" >&5
4788 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
4789 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
4790 echo $ac_n "(cached) $ac_c" 1>&6
4795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4796 ac_cpp='$CXXCPP $CPPFLAGS'
4797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4799 cross_compiling=$ac_cv_prog_cxx_cross
4801 cat > conftest.$ac_ext <<EOF
4802 #line 4803 "configure"
4803 #include "confdefs.h"
4809 if { (eval echo configure:4810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4811 glibcpp_cv_func___builtin_fabs_use=yes
4813 echo "configure: failed program was:" >&5
4814 cat conftest.$ac_ext >&5
4816 glibcpp_cv_func___builtin_fabs_use=no
4820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4821 ac_cpp='$CPP $CPPFLAGS'
4822 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4823 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4824 cross_compiling=$ac_cv_prog_cc_cross
4830 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
4831 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
4832 echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
4833 echo "configure:4834: checking for __builtin_fabs linkage" >&5
4834 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
4835 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
4836 echo $ac_n "(cached) $ac_c" 1>&6
4839 cat > conftest.$ac_ext <<EOF
4840 #line 4841 "configure"
4841 #include "confdefs.h"
4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4849 glibcpp_cv_func___builtin_fabs_link=yes
4851 echo "configure: failed program was:" >&5
4852 cat conftest.$ac_ext >&5
4854 glibcpp_cv_func___builtin_fabs_link=no
4861 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
4862 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
4863 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4864 cat >> confdefs.h <<EOF
4865 #define ${ac_tr_func} 1
4872 echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
4873 echo "configure:4874: checking for __builtin_fabsl declaration" >&5
4874 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
4875 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
4876 echo $ac_n "(cached) $ac_c" 1>&6
4881 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4882 ac_cpp='$CXXCPP $CPPFLAGS'
4883 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4884 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4885 cross_compiling=$ac_cv_prog_cxx_cross
4887 cat > conftest.$ac_ext <<EOF
4888 #line 4889 "configure"
4889 #include "confdefs.h"
4895 if { (eval echo configure:4896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4897 glibcpp_cv_func___builtin_fabsl_use=yes
4899 echo "configure: failed program was:" >&5
4900 cat conftest.$ac_ext >&5
4902 glibcpp_cv_func___builtin_fabsl_use=no
4906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4907 ac_cpp='$CPP $CPPFLAGS'
4908 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4909 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4910 cross_compiling=$ac_cv_prog_cc_cross
4916 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
4917 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
4918 echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
4919 echo "configure:4920: checking for __builtin_fabsl linkage" >&5
4920 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
4921 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
4922 echo $ac_n "(cached) $ac_c" 1>&6
4925 cat > conftest.$ac_ext <<EOF
4926 #line 4927 "configure"
4927 #include "confdefs.h"
4933 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4935 glibcpp_cv_func___builtin_fabsl_link=yes
4937 echo "configure: failed program was:" >&5
4938 cat conftest.$ac_ext >&5
4940 glibcpp_cv_func___builtin_fabsl_link=no
4947 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
4948 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
4949 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4950 cat >> confdefs.h <<EOF
4951 #define ${ac_tr_func} 1
4958 echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
4959 echo "configure:4960: checking for __builtin_labs declaration" >&5
4960 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
4961 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
4962 echo $ac_n "(cached) $ac_c" 1>&6
4967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4968 ac_cpp='$CXXCPP $CPPFLAGS'
4969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4971 cross_compiling=$ac_cv_prog_cxx_cross
4973 cat > conftest.$ac_ext <<EOF
4974 #line 4975 "configure"
4975 #include "confdefs.h"
4981 if { (eval echo configure:4982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4983 glibcpp_cv_func___builtin_labs_use=yes
4985 echo "configure: failed program was:" >&5
4986 cat conftest.$ac_ext >&5
4988 glibcpp_cv_func___builtin_labs_use=no
4992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4993 ac_cpp='$CPP $CPPFLAGS'
4994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4996 cross_compiling=$ac_cv_prog_cc_cross
5002 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
5003 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
5004 echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
5005 echo "configure:5006: checking for __builtin_labs linkage" >&5
5006 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
5007 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
5008 echo $ac_n "(cached) $ac_c" 1>&6
5011 cat > conftest.$ac_ext <<EOF
5012 #line 5013 "configure"
5013 #include "confdefs.h"
5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5021 glibcpp_cv_func___builtin_labs_link=yes
5023 echo "configure: failed program was:" >&5
5024 cat conftest.$ac_ext >&5
5026 glibcpp_cv_func___builtin_labs_link=no
5033 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
5034 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
5035 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5036 cat >> confdefs.h <<EOF
5037 #define ${ac_tr_func} 1
5045 echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
5046 echo "configure:5047: checking for __builtin_sqrtf declaration" >&5
5047 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
5048 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
5049 echo $ac_n "(cached) $ac_c" 1>&6
5054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5055 ac_cpp='$CXXCPP $CPPFLAGS'
5056 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5057 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5058 cross_compiling=$ac_cv_prog_cxx_cross
5060 cat > conftest.$ac_ext <<EOF
5061 #line 5062 "configure"
5062 #include "confdefs.h"
5068 if { (eval echo configure:5069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5070 glibcpp_cv_func___builtin_sqrtf_use=yes
5072 echo "configure: failed program was:" >&5
5073 cat conftest.$ac_ext >&5
5075 glibcpp_cv_func___builtin_sqrtf_use=no
5079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5080 ac_cpp='$CPP $CPPFLAGS'
5081 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5082 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5083 cross_compiling=$ac_cv_prog_cc_cross
5089 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
5090 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
5091 echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
5092 echo "configure:5093: checking for __builtin_sqrtf linkage" >&5
5093 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
5094 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
5095 echo $ac_n "(cached) $ac_c" 1>&6
5098 cat > conftest.$ac_ext <<EOF
5099 #line 5100 "configure"
5100 #include "confdefs.h"
5106 if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5108 glibcpp_cv_func___builtin_sqrtf_link=yes
5110 echo "configure: failed program was:" >&5
5111 cat conftest.$ac_ext >&5
5113 glibcpp_cv_func___builtin_sqrtf_link=no
5120 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
5121 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
5122 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5123 cat >> confdefs.h <<EOF
5124 #define ${ac_tr_func} 1
5131 echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
5132 echo "configure:5133: checking for __builtin_fsqrt declaration" >&5
5133 if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
5134 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
5135 echo $ac_n "(cached) $ac_c" 1>&6
5140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5141 ac_cpp='$CXXCPP $CPPFLAGS'
5142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5144 cross_compiling=$ac_cv_prog_cxx_cross
5146 cat > conftest.$ac_ext <<EOF
5147 #line 5148 "configure"
5148 #include "confdefs.h"
5154 if { (eval echo configure:5155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5156 glibcpp_cv_func___builtin_fsqrt_use=yes
5158 echo "configure: failed program was:" >&5
5159 cat conftest.$ac_ext >&5
5161 glibcpp_cv_func___builtin_fsqrt_use=no
5165 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5166 ac_cpp='$CPP $CPPFLAGS'
5167 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5168 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5169 cross_compiling=$ac_cv_prog_cc_cross
5175 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
5176 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
5177 echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
5178 echo "configure:5179: checking for __builtin_fsqrt linkage" >&5
5179 if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
5180 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
5181 echo $ac_n "(cached) $ac_c" 1>&6
5184 cat > conftest.$ac_ext <<EOF
5185 #line 5186 "configure"
5186 #include "confdefs.h"
5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5194 glibcpp_cv_func___builtin_fsqrt_link=yes
5196 echo "configure: failed program was:" >&5
5197 cat conftest.$ac_ext >&5
5199 glibcpp_cv_func___builtin_fsqrt_link=no
5206 echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
5207 if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
5208 ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5209 cat >> confdefs.h <<EOF
5210 #define ${ac_tr_func} 1
5217 echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
5218 echo "configure:5219: checking for __builtin_sqrtl declaration" >&5
5219 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
5220 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
5221 echo $ac_n "(cached) $ac_c" 1>&6
5226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5227 ac_cpp='$CXXCPP $CPPFLAGS'
5228 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5229 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5230 cross_compiling=$ac_cv_prog_cxx_cross
5232 cat > conftest.$ac_ext <<EOF
5233 #line 5234 "configure"
5234 #include "confdefs.h"
5240 if { (eval echo configure:5241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5242 glibcpp_cv_func___builtin_sqrtl_use=yes
5244 echo "configure: failed program was:" >&5
5245 cat conftest.$ac_ext >&5
5247 glibcpp_cv_func___builtin_sqrtl_use=no
5251 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5252 ac_cpp='$CPP $CPPFLAGS'
5253 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5254 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5255 cross_compiling=$ac_cv_prog_cc_cross
5261 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
5262 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
5263 echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
5264 echo "configure:5265: checking for __builtin_sqrtl linkage" >&5
5265 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
5266 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
5267 echo $ac_n "(cached) $ac_c" 1>&6
5270 cat > conftest.$ac_ext <<EOF
5271 #line 5272 "configure"
5272 #include "confdefs.h"
5278 if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5280 glibcpp_cv_func___builtin_sqrtl_link=yes
5282 echo "configure: failed program was:" >&5
5283 cat conftest.$ac_ext >&5
5285 glibcpp_cv_func___builtin_sqrtl_link=no
5292 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
5293 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
5294 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5295 cat >> confdefs.h <<EOF
5296 #define ${ac_tr_func} 1
5304 echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
5305 echo "configure:5306: checking for __builtin_sinf declaration" >&5
5306 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
5307 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
5308 echo $ac_n "(cached) $ac_c" 1>&6
5313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5314 ac_cpp='$CXXCPP $CPPFLAGS'
5315 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5316 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5317 cross_compiling=$ac_cv_prog_cxx_cross
5319 cat > conftest.$ac_ext <<EOF
5320 #line 5321 "configure"
5321 #include "confdefs.h"
5327 if { (eval echo configure:5328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5329 glibcpp_cv_func___builtin_sinf_use=yes
5331 echo "configure: failed program was:" >&5
5332 cat conftest.$ac_ext >&5
5334 glibcpp_cv_func___builtin_sinf_use=no
5338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5339 ac_cpp='$CPP $CPPFLAGS'
5340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5342 cross_compiling=$ac_cv_prog_cc_cross
5348 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
5349 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
5350 echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
5351 echo "configure:5352: checking for __builtin_sinf linkage" >&5
5352 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
5353 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
5354 echo $ac_n "(cached) $ac_c" 1>&6
5357 cat > conftest.$ac_ext <<EOF
5358 #line 5359 "configure"
5359 #include "confdefs.h"
5365 if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5367 glibcpp_cv_func___builtin_sinf_link=yes
5369 echo "configure: failed program was:" >&5
5370 cat conftest.$ac_ext >&5
5372 glibcpp_cv_func___builtin_sinf_link=no
5379 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
5380 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
5381 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5382 cat >> confdefs.h <<EOF
5383 #define ${ac_tr_func} 1
5390 echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
5391 echo "configure:5392: checking for __builtin_sin declaration" >&5
5392 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
5393 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
5394 echo $ac_n "(cached) $ac_c" 1>&6
5399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5400 ac_cpp='$CXXCPP $CPPFLAGS'
5401 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5402 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5403 cross_compiling=$ac_cv_prog_cxx_cross
5405 cat > conftest.$ac_ext <<EOF
5406 #line 5407 "configure"
5407 #include "confdefs.h"
5413 if { (eval echo configure:5414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5415 glibcpp_cv_func___builtin_sin_use=yes
5417 echo "configure: failed program was:" >&5
5418 cat conftest.$ac_ext >&5
5420 glibcpp_cv_func___builtin_sin_use=no
5424 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5425 ac_cpp='$CPP $CPPFLAGS'
5426 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5427 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5428 cross_compiling=$ac_cv_prog_cc_cross
5434 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
5435 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
5436 echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
5437 echo "configure:5438: checking for __builtin_sin linkage" >&5
5438 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
5439 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
5440 echo $ac_n "(cached) $ac_c" 1>&6
5443 cat > conftest.$ac_ext <<EOF
5444 #line 5445 "configure"
5445 #include "confdefs.h"
5451 if { (eval echo configure:5452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5453 glibcpp_cv_func___builtin_sin_link=yes
5455 echo "configure: failed program was:" >&5
5456 cat conftest.$ac_ext >&5
5458 glibcpp_cv_func___builtin_sin_link=no
5465 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
5466 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
5467 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5468 cat >> confdefs.h <<EOF
5469 #define ${ac_tr_func} 1
5476 echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
5477 echo "configure:5478: checking for __builtin_sinl declaration" >&5
5478 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
5479 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
5480 echo $ac_n "(cached) $ac_c" 1>&6
5485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5486 ac_cpp='$CXXCPP $CPPFLAGS'
5487 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5488 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5489 cross_compiling=$ac_cv_prog_cxx_cross
5491 cat > conftest.$ac_ext <<EOF
5492 #line 5493 "configure"
5493 #include "confdefs.h"
5499 if { (eval echo configure:5500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5501 glibcpp_cv_func___builtin_sinl_use=yes
5503 echo "configure: failed program was:" >&5
5504 cat conftest.$ac_ext >&5
5506 glibcpp_cv_func___builtin_sinl_use=no
5510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5511 ac_cpp='$CPP $CPPFLAGS'
5512 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5513 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5514 cross_compiling=$ac_cv_prog_cc_cross
5520 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
5521 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
5522 echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
5523 echo "configure:5524: checking for __builtin_sinl linkage" >&5
5524 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
5525 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
5526 echo $ac_n "(cached) $ac_c" 1>&6
5529 cat > conftest.$ac_ext <<EOF
5530 #line 5531 "configure"
5531 #include "confdefs.h"
5537 if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5539 glibcpp_cv_func___builtin_sinl_link=yes
5541 echo "configure: failed program was:" >&5
5542 cat conftest.$ac_ext >&5
5544 glibcpp_cv_func___builtin_sinl_link=no
5551 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
5552 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
5553 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5554 cat >> confdefs.h <<EOF
5555 #define ${ac_tr_func} 1
5563 echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
5564 echo "configure:5565: checking for __builtin_cosf declaration" >&5
5565 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
5566 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
5567 echo $ac_n "(cached) $ac_c" 1>&6
5572 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5573 ac_cpp='$CXXCPP $CPPFLAGS'
5574 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5575 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5576 cross_compiling=$ac_cv_prog_cxx_cross
5578 cat > conftest.$ac_ext <<EOF
5579 #line 5580 "configure"
5580 #include "confdefs.h"
5586 if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5588 glibcpp_cv_func___builtin_cosf_use=yes
5590 echo "configure: failed program was:" >&5
5591 cat conftest.$ac_ext >&5
5593 glibcpp_cv_func___builtin_cosf_use=no
5597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5598 ac_cpp='$CPP $CPPFLAGS'
5599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5601 cross_compiling=$ac_cv_prog_cc_cross
5607 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
5608 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
5609 echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
5610 echo "configure:5611: checking for __builtin_cosf linkage" >&5
5611 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
5612 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
5613 echo $ac_n "(cached) $ac_c" 1>&6
5616 cat > conftest.$ac_ext <<EOF
5617 #line 5618 "configure"
5618 #include "confdefs.h"
5624 if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5626 glibcpp_cv_func___builtin_cosf_link=yes
5628 echo "configure: failed program was:" >&5
5629 cat conftest.$ac_ext >&5
5631 glibcpp_cv_func___builtin_cosf_link=no
5638 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
5639 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
5640 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5641 cat >> confdefs.h <<EOF
5642 #define ${ac_tr_func} 1
5649 echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
5650 echo "configure:5651: checking for __builtin_cos declaration" >&5
5651 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
5652 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
5653 echo $ac_n "(cached) $ac_c" 1>&6
5658 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5659 ac_cpp='$CXXCPP $CPPFLAGS'
5660 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5661 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5662 cross_compiling=$ac_cv_prog_cxx_cross
5664 cat > conftest.$ac_ext <<EOF
5665 #line 5666 "configure"
5666 #include "confdefs.h"
5672 if { (eval echo configure:5673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5674 glibcpp_cv_func___builtin_cos_use=yes
5676 echo "configure: failed program was:" >&5
5677 cat conftest.$ac_ext >&5
5679 glibcpp_cv_func___builtin_cos_use=no
5683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5684 ac_cpp='$CPP $CPPFLAGS'
5685 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5686 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5687 cross_compiling=$ac_cv_prog_cc_cross
5693 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
5694 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
5695 echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
5696 echo "configure:5697: checking for __builtin_cos linkage" >&5
5697 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
5698 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
5699 echo $ac_n "(cached) $ac_c" 1>&6
5702 cat > conftest.$ac_ext <<EOF
5703 #line 5704 "configure"
5704 #include "confdefs.h"
5710 if { (eval echo configure:5711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5712 glibcpp_cv_func___builtin_cos_link=yes
5714 echo "configure: failed program was:" >&5
5715 cat conftest.$ac_ext >&5
5717 glibcpp_cv_func___builtin_cos_link=no
5724 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
5725 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
5726 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5727 cat >> confdefs.h <<EOF
5728 #define ${ac_tr_func} 1
5735 echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
5736 echo "configure:5737: checking for __builtin_cosl declaration" >&5
5737 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
5738 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
5739 echo $ac_n "(cached) $ac_c" 1>&6
5744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5745 ac_cpp='$CXXCPP $CPPFLAGS'
5746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5748 cross_compiling=$ac_cv_prog_cxx_cross
5750 cat > conftest.$ac_ext <<EOF
5751 #line 5752 "configure"
5752 #include "confdefs.h"
5758 if { (eval echo configure:5759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5760 glibcpp_cv_func___builtin_cosl_use=yes
5762 echo "configure: failed program was:" >&5
5763 cat conftest.$ac_ext >&5
5765 glibcpp_cv_func___builtin_cosl_use=no
5769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5770 ac_cpp='$CPP $CPPFLAGS'
5771 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5772 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5773 cross_compiling=$ac_cv_prog_cc_cross
5779 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
5780 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
5781 echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
5782 echo "configure:5783: checking for __builtin_cosl linkage" >&5
5783 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
5784 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
5785 echo $ac_n "(cached) $ac_c" 1>&6
5788 cat > conftest.$ac_ext <<EOF
5789 #line 5790 "configure"
5790 #include "confdefs.h"
5796 if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5798 glibcpp_cv_func___builtin_cosl_link=yes
5800 echo "configure: failed program was:" >&5
5801 cat conftest.$ac_ext >&5
5803 glibcpp_cv_func___builtin_cosl_link=no
5810 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
5811 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
5812 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5813 cat >> confdefs.h <<EOF
5814 #define ${ac_tr_func} 1
5822 if test x$dummyvar = x"yes"; then
5823 cat >> confdefs.h <<\EOF
5824 #define HAVE___BUILTIN_ABS 1
5827 cat >> confdefs.h <<\EOF
5828 #define HAVE___BUILTIN_LABS 1
5831 cat >> confdefs.h <<\EOF
5832 #define HAVE___BUILTIN_COS 1
5835 cat >> confdefs.h <<\EOF
5836 #define HAVE___BUILTIN_COSF 1
5839 cat >> confdefs.h <<\EOF
5840 #define HAVE___BUILTIN_COSL 1
5843 cat >> confdefs.h <<\EOF
5844 #define HAVE___BUILTIN_FABS 1
5847 cat >> confdefs.h <<\EOF
5848 #define HAVE___BUILTIN_FABSF 1
5851 cat >> confdefs.h <<\EOF
5852 #define HAVE___BUILTIN_FABSL 1
5855 cat >> confdefs.h <<\EOF
5856 #define HAVE___BUILTIN_SIN 1
5859 cat >> confdefs.h <<\EOF
5860 #define HAVE___BUILTIN_SINF 1
5863 cat >> confdefs.h <<\EOF
5864 #define HAVE___BUILTIN_SINL 1
5867 cat >> confdefs.h <<\EOF
5868 #define HAVE___BUILTIN_FSQRT 1
5871 cat >> confdefs.h <<\EOF
5872 #define HAVE___BUILTIN_SQRTF 1
5875 cat >> confdefs.h <<\EOF
5876 #define HAVE___BUILTIN_SQRTL 1
5882 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5883 ac_save_CXXFLAGS="$CXXFLAGS"
5884 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
5886 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
5887 echo "configure:5888: checking for sin in -lm" >&5
5888 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
5889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5890 echo $ac_n "(cached) $ac_c" 1>&6
5892 ac_save_LIBS="$LIBS"
5894 cat > conftest.$ac_ext <<EOF
5895 #line 5896 "configure"
5896 #include "confdefs.h"
5897 /* Override any gcc2 internal prototype to avoid an error. */
5898 /* We use char because int might match the return type of a gcc2
5899 builtin and then its argument prototype would still apply. */
5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5908 eval "ac_cv_lib_$ac_lib_var=yes"
5910 echo "configure: failed program was:" >&5
5911 cat conftest.$ac_ext >&5
5913 eval "ac_cv_lib_$ac_lib_var=no"
5916 LIBS="$ac_save_LIBS"
5919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5920 echo "$ac_t""yes" 1>&6
5923 echo "$ac_t""no" 1>&6
5926 ac_save_LIBS="$LIBS"
5931 echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
5932 echo "configure:5933: checking for isinf declaration" >&5
5933 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
5934 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
5935 echo $ac_n "(cached) $ac_c" 1>&6
5940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5941 ac_cpp='$CXXCPP $CPPFLAGS'
5942 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5943 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5944 cross_compiling=$ac_cv_prog_cxx_cross
5946 cat > conftest.$ac_ext <<EOF
5947 #line 5948 "configure"
5948 #include "confdefs.h"
5950 #ifdef HAVE_IEEEFP_H
5958 if { (eval echo configure:5959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5960 glibcpp_cv_func_isinf_use=yes
5962 echo "configure: failed program was:" >&5
5963 cat conftest.$ac_ext >&5
5965 glibcpp_cv_func_isinf_use=no
5969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5970 ac_cpp='$CPP $CPPFLAGS'
5971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5973 cross_compiling=$ac_cv_prog_cc_cross
5979 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
5981 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
5982 for ac_func in isinf
5984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5985 echo "configure:5986: checking for $ac_func" >&5
5986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5987 echo $ac_n "(cached) $ac_c" 1>&6
5989 cat > conftest.$ac_ext <<EOF
5990 #line 5991 "configure"
5991 #include "confdefs.h"
5992 /* System header to define __stub macros and hopefully few prototypes,
5993 which can conflict with char $ac_func(); below. */
5995 /* Override any gcc2 internal prototype to avoid an error. */
5996 /* We use char because int might match the return type of a gcc2
5997 builtin and then its argument prototype would still apply. */
6002 /* The GNU C library defines this for functions which it implements
6003 to always fail with ENOSYS. Some functions are actually named
6004 something starting with __ and the normal name is an alias. */
6005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6013 if { (eval echo configure:6014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6015 eval "ac_cv_func_$ac_func=yes"
6017 echo "configure: failed program was:" >&5
6018 cat conftest.$ac_ext >&5
6020 eval "ac_cv_func_$ac_func=no"
6025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6026 echo "$ac_t""yes" 1>&6
6027 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6028 cat >> confdefs.h <<EOF
6029 #define $ac_tr_func 1
6033 echo "$ac_t""no" 1>&6
6039 echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
6040 echo "configure:6041: checking for _isinf declaration" >&5
6041 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
6042 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
6043 echo $ac_n "(cached) $ac_c" 1>&6
6048 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6049 ac_cpp='$CXXCPP $CPPFLAGS'
6050 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6051 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6052 cross_compiling=$ac_cv_prog_cxx_cross
6054 cat > conftest.$ac_ext <<EOF
6055 #line 6056 "configure"
6056 #include "confdefs.h"
6058 #ifdef HAVE_IEEEFP_H
6066 if { (eval echo configure:6067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6068 glibcpp_cv_func__isinf_use=yes
6070 echo "configure: failed program was:" >&5
6071 cat conftest.$ac_ext >&5
6073 glibcpp_cv_func__isinf_use=no
6077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6078 ac_cpp='$CPP $CPPFLAGS'
6079 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6080 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6081 cross_compiling=$ac_cv_prog_cc_cross
6087 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
6089 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
6090 for ac_func in _isinf
6092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6093 echo "configure:6094: checking for $ac_func" >&5
6094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6095 echo $ac_n "(cached) $ac_c" 1>&6
6097 cat > conftest.$ac_ext <<EOF
6098 #line 6099 "configure"
6099 #include "confdefs.h"
6100 /* System header to define __stub macros and hopefully few prototypes,
6101 which can conflict with char $ac_func(); below. */
6103 /* Override any gcc2 internal prototype to avoid an error. */
6104 /* We use char because int might match the return type of a gcc2
6105 builtin and then its argument prototype would still apply. */
6110 /* The GNU C library defines this for functions which it implements
6111 to always fail with ENOSYS. Some functions are actually named
6112 something starting with __ and the normal name is an alias. */
6113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6123 eval "ac_cv_func_$ac_func=yes"
6125 echo "configure: failed program was:" >&5
6126 cat conftest.$ac_ext >&5
6128 eval "ac_cv_func_$ac_func=no"
6133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6134 echo "$ac_t""yes" 1>&6
6135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6136 cat >> confdefs.h <<EOF
6137 #define $ac_tr_func 1
6141 echo "$ac_t""no" 1>&6
6150 echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
6151 echo "configure:6152: checking for isnan declaration" >&5
6152 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
6153 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
6154 echo $ac_n "(cached) $ac_c" 1>&6
6159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6160 ac_cpp='$CXXCPP $CPPFLAGS'
6161 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6162 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6163 cross_compiling=$ac_cv_prog_cxx_cross
6165 cat > conftest.$ac_ext <<EOF
6166 #line 6167 "configure"
6167 #include "confdefs.h"
6169 #ifdef HAVE_IEEEFP_H
6177 if { (eval echo configure:6178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6179 glibcpp_cv_func_isnan_use=yes
6181 echo "configure: failed program was:" >&5
6182 cat conftest.$ac_ext >&5
6184 glibcpp_cv_func_isnan_use=no
6188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6189 ac_cpp='$CPP $CPPFLAGS'
6190 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6191 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6192 cross_compiling=$ac_cv_prog_cc_cross
6198 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
6200 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
6201 for ac_func in isnan
6203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6204 echo "configure:6205: checking for $ac_func" >&5
6205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6206 echo $ac_n "(cached) $ac_c" 1>&6
6208 cat > conftest.$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6211 /* System header to define __stub macros and hopefully few prototypes,
6212 which can conflict with char $ac_func(); below. */
6214 /* Override any gcc2 internal prototype to avoid an error. */
6215 /* We use char because int might match the return type of a gcc2
6216 builtin and then its argument prototype would still apply. */
6221 /* The GNU C library defines this for functions which it implements
6222 to always fail with ENOSYS. Some functions are actually named
6223 something starting with __ and the normal name is an alias. */
6224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6232 if { (eval echo configure:6233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6234 eval "ac_cv_func_$ac_func=yes"
6236 echo "configure: failed program was:" >&5
6237 cat conftest.$ac_ext >&5
6239 eval "ac_cv_func_$ac_func=no"
6244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6245 echo "$ac_t""yes" 1>&6
6246 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6247 cat >> confdefs.h <<EOF
6248 #define $ac_tr_func 1
6252 echo "$ac_t""no" 1>&6
6258 echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
6259 echo "configure:6260: checking for _isnan declaration" >&5
6260 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
6261 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
6262 echo $ac_n "(cached) $ac_c" 1>&6
6267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6268 ac_cpp='$CXXCPP $CPPFLAGS'
6269 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6270 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6271 cross_compiling=$ac_cv_prog_cxx_cross
6273 cat > conftest.$ac_ext <<EOF
6274 #line 6275 "configure"
6275 #include "confdefs.h"
6277 #ifdef HAVE_IEEEFP_H
6285 if { (eval echo configure:6286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6287 glibcpp_cv_func__isnan_use=yes
6289 echo "configure: failed program was:" >&5
6290 cat conftest.$ac_ext >&5
6292 glibcpp_cv_func__isnan_use=no
6296 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6297 ac_cpp='$CPP $CPPFLAGS'
6298 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6299 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6300 cross_compiling=$ac_cv_prog_cc_cross
6306 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
6308 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
6309 for ac_func in _isnan
6311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6312 echo "configure:6313: checking for $ac_func" >&5
6313 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6314 echo $ac_n "(cached) $ac_c" 1>&6
6316 cat > conftest.$ac_ext <<EOF
6317 #line 6318 "configure"
6318 #include "confdefs.h"
6319 /* System header to define __stub macros and hopefully few prototypes,
6320 which can conflict with char $ac_func(); below. */
6322 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6329 /* The GNU C library defines this for functions which it implements
6330 to always fail with ENOSYS. Some functions are actually named
6331 something starting with __ and the normal name is an alias. */
6332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6342 eval "ac_cv_func_$ac_func=yes"
6344 echo "configure: failed program was:" >&5
6345 cat conftest.$ac_ext >&5
6347 eval "ac_cv_func_$ac_func=no"
6352 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6353 echo "$ac_t""yes" 1>&6
6354 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6355 cat >> confdefs.h <<EOF
6356 #define $ac_tr_func 1
6360 echo "$ac_t""no" 1>&6
6369 echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
6370 echo "configure:6371: checking for finite declaration" >&5
6371 if test x${glibcpp_cv_func_finite_use+set} != xset; then
6372 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
6373 echo $ac_n "(cached) $ac_c" 1>&6
6378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6379 ac_cpp='$CXXCPP $CPPFLAGS'
6380 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6381 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6382 cross_compiling=$ac_cv_prog_cxx_cross
6384 cat > conftest.$ac_ext <<EOF
6385 #line 6386 "configure"
6386 #include "confdefs.h"
6388 #ifdef HAVE_IEEEFP_H
6396 if { (eval echo configure:6397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6398 glibcpp_cv_func_finite_use=yes
6400 echo "configure: failed program was:" >&5
6401 cat conftest.$ac_ext >&5
6403 glibcpp_cv_func_finite_use=no
6407 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6408 ac_cpp='$CPP $CPPFLAGS'
6409 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6410 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6411 cross_compiling=$ac_cv_prog_cc_cross
6417 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
6419 if test x$glibcpp_cv_func_finite_use = x"yes"; then
6420 for ac_func in finite
6422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6423 echo "configure:6424: checking for $ac_func" >&5
6424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6425 echo $ac_n "(cached) $ac_c" 1>&6
6427 cat > conftest.$ac_ext <<EOF
6428 #line 6429 "configure"
6429 #include "confdefs.h"
6430 /* System header to define __stub macros and hopefully few prototypes,
6431 which can conflict with char $ac_func(); below. */
6433 /* Override any gcc2 internal prototype to avoid an error. */
6434 /* We use char because int might match the return type of a gcc2
6435 builtin and then its argument prototype would still apply. */
6440 /* The GNU C library defines this for functions which it implements
6441 to always fail with ENOSYS. Some functions are actually named
6442 something starting with __ and the normal name is an alias. */
6443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6451 if { (eval echo configure:6452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6453 eval "ac_cv_func_$ac_func=yes"
6455 echo "configure: failed program was:" >&5
6456 cat conftest.$ac_ext >&5
6458 eval "ac_cv_func_$ac_func=no"
6463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6464 echo "$ac_t""yes" 1>&6
6465 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6466 cat >> confdefs.h <<EOF
6467 #define $ac_tr_func 1
6471 echo "$ac_t""no" 1>&6
6477 echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
6478 echo "configure:6479: checking for _finite declaration" >&5
6479 if test x${glibcpp_cv_func__finite_use+set} != xset; then
6480 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
6481 echo $ac_n "(cached) $ac_c" 1>&6
6486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6487 ac_cpp='$CXXCPP $CPPFLAGS'
6488 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6489 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6490 cross_compiling=$ac_cv_prog_cxx_cross
6492 cat > conftest.$ac_ext <<EOF
6493 #line 6494 "configure"
6494 #include "confdefs.h"
6496 #ifdef HAVE_IEEEFP_H
6504 if { (eval echo configure:6505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6506 glibcpp_cv_func__finite_use=yes
6508 echo "configure: failed program was:" >&5
6509 cat conftest.$ac_ext >&5
6511 glibcpp_cv_func__finite_use=no
6515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6516 ac_cpp='$CPP $CPPFLAGS'
6517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6519 cross_compiling=$ac_cv_prog_cc_cross
6525 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
6527 if test x$glibcpp_cv_func__finite_use = x"yes"; then
6528 for ac_func in _finite
6530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6531 echo "configure:6532: checking for $ac_func" >&5
6532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6533 echo $ac_n "(cached) $ac_c" 1>&6
6535 cat > conftest.$ac_ext <<EOF
6536 #line 6537 "configure"
6537 #include "confdefs.h"
6538 /* System header to define __stub macros and hopefully few prototypes,
6539 which can conflict with char $ac_func(); below. */
6541 /* Override any gcc2 internal prototype to avoid an error. */
6542 /* We use char because int might match the return type of a gcc2
6543 builtin and then its argument prototype would still apply. */
6548 /* The GNU C library defines this for functions which it implements
6549 to always fail with ENOSYS. Some functions are actually named
6550 something starting with __ and the normal name is an alias. */
6551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6561 eval "ac_cv_func_$ac_func=yes"
6563 echo "configure: failed program was:" >&5
6564 cat conftest.$ac_ext >&5
6566 eval "ac_cv_func_$ac_func=no"
6571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6572 echo "$ac_t""yes" 1>&6
6573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6574 cat >> confdefs.h <<EOF
6575 #define $ac_tr_func 1
6579 echo "$ac_t""no" 1>&6
6588 echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
6589 echo "configure:6590: checking for copysign declaration" >&5
6590 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
6591 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
6592 echo $ac_n "(cached) $ac_c" 1>&6
6597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6598 ac_cpp='$CXXCPP $CPPFLAGS'
6599 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6600 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6601 cross_compiling=$ac_cv_prog_cxx_cross
6603 cat > conftest.$ac_ext <<EOF
6604 #line 6605 "configure"
6605 #include "confdefs.h"
6611 if { (eval echo configure:6612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6613 glibcpp_cv_func_copysign_use=yes
6615 echo "configure: failed program was:" >&5
6616 cat conftest.$ac_ext >&5
6618 glibcpp_cv_func_copysign_use=no
6622 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6623 ac_cpp='$CPP $CPPFLAGS'
6624 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6625 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6626 cross_compiling=$ac_cv_prog_cc_cross
6632 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
6634 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
6635 for ac_func in copysign
6637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6638 echo "configure:6639: checking for $ac_func" >&5
6639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6
6642 cat > conftest.$ac_ext <<EOF
6643 #line 6644 "configure"
6644 #include "confdefs.h"
6645 /* System header to define __stub macros and hopefully few prototypes,
6646 which can conflict with char $ac_func(); below. */
6648 /* Override any gcc2 internal prototype to avoid an error. */
6649 /* We use char because int might match the return type of a gcc2
6650 builtin and then its argument prototype would still apply. */
6655 /* The GNU C library defines this for functions which it implements
6656 to always fail with ENOSYS. Some functions are actually named
6657 something starting with __ and the normal name is an alias. */
6658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6666 if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6668 eval "ac_cv_func_$ac_func=yes"
6670 echo "configure: failed program was:" >&5
6671 cat conftest.$ac_ext >&5
6673 eval "ac_cv_func_$ac_func=no"
6678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6679 echo "$ac_t""yes" 1>&6
6680 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6681 cat >> confdefs.h <<EOF
6682 #define $ac_tr_func 1
6686 echo "$ac_t""no" 1>&6
6692 echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
6693 echo "configure:6694: checking for _copysign declaration" >&5
6694 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
6695 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
6696 echo $ac_n "(cached) $ac_c" 1>&6
6701 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6702 ac_cpp='$CXXCPP $CPPFLAGS'
6703 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6704 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6705 cross_compiling=$ac_cv_prog_cxx_cross
6707 cat > conftest.$ac_ext <<EOF
6708 #line 6709 "configure"
6709 #include "confdefs.h"
6715 if { (eval echo configure:6716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6717 glibcpp_cv_func__copysign_use=yes
6719 echo "configure: failed program was:" >&5
6720 cat conftest.$ac_ext >&5
6722 glibcpp_cv_func__copysign_use=no
6726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6727 ac_cpp='$CPP $CPPFLAGS'
6728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6730 cross_compiling=$ac_cv_prog_cc_cross
6736 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
6738 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
6739 for ac_func in _copysign
6741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6742 echo "configure:6743: checking for $ac_func" >&5
6743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6744 echo $ac_n "(cached) $ac_c" 1>&6
6746 cat > conftest.$ac_ext <<EOF
6747 #line 6748 "configure"
6748 #include "confdefs.h"
6749 /* System header to define __stub macros and hopefully few prototypes,
6750 which can conflict with char $ac_func(); below. */
6752 /* Override any gcc2 internal prototype to avoid an error. */
6753 /* We use char because int might match the return type of a gcc2
6754 builtin and then its argument prototype would still apply. */
6759 /* The GNU C library defines this for functions which it implements
6760 to always fail with ENOSYS. Some functions are actually named
6761 something starting with __ and the normal name is an alias. */
6762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6770 if { (eval echo configure:6771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6772 eval "ac_cv_func_$ac_func=yes"
6774 echo "configure: failed program was:" >&5
6775 cat conftest.$ac_ext >&5
6777 eval "ac_cv_func_$ac_func=no"
6782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6783 echo "$ac_t""yes" 1>&6
6784 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6785 cat >> confdefs.h <<EOF
6786 #define $ac_tr_func 1
6790 echo "$ac_t""no" 1>&6
6799 echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
6800 echo "configure:6801: checking for sincos declaration" >&5
6801 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
6802 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
6803 echo $ac_n "(cached) $ac_c" 1>&6
6808 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6809 ac_cpp='$CXXCPP $CPPFLAGS'
6810 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6811 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6812 cross_compiling=$ac_cv_prog_cxx_cross
6814 cat > conftest.$ac_ext <<EOF
6815 #line 6816 "configure"
6816 #include "confdefs.h"
6822 if { (eval echo configure:6823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6824 glibcpp_cv_func_sincos_use=yes
6826 echo "configure: failed program was:" >&5
6827 cat conftest.$ac_ext >&5
6829 glibcpp_cv_func_sincos_use=no
6833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6834 ac_cpp='$CPP $CPPFLAGS'
6835 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6836 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6837 cross_compiling=$ac_cv_prog_cc_cross
6843 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
6845 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
6846 for ac_func in sincos
6848 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6849 echo "configure:6850: checking for $ac_func" >&5
6850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6851 echo $ac_n "(cached) $ac_c" 1>&6
6853 cat > conftest.$ac_ext <<EOF
6854 #line 6855 "configure"
6855 #include "confdefs.h"
6856 /* System header to define __stub macros and hopefully few prototypes,
6857 which can conflict with char $ac_func(); below. */
6859 /* Override any gcc2 internal prototype to avoid an error. */
6860 /* We use char because int might match the return type of a gcc2
6861 builtin and then its argument prototype would still apply. */
6866 /* The GNU C library defines this for functions which it implements
6867 to always fail with ENOSYS. Some functions are actually named
6868 something starting with __ and the normal name is an alias. */
6869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6877 if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6879 eval "ac_cv_func_$ac_func=yes"
6881 echo "configure: failed program was:" >&5
6882 cat conftest.$ac_ext >&5
6884 eval "ac_cv_func_$ac_func=no"
6889 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6890 echo "$ac_t""yes" 1>&6
6891 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6892 cat >> confdefs.h <<EOF
6893 #define $ac_tr_func 1
6897 echo "$ac_t""no" 1>&6
6903 echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
6904 echo "configure:6905: checking for _sincos declaration" >&5
6905 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
6906 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
6907 echo $ac_n "(cached) $ac_c" 1>&6
6912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6913 ac_cpp='$CXXCPP $CPPFLAGS'
6914 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6915 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6916 cross_compiling=$ac_cv_prog_cxx_cross
6918 cat > conftest.$ac_ext <<EOF
6919 #line 6920 "configure"
6920 #include "confdefs.h"
6926 if { (eval echo configure:6927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6928 glibcpp_cv_func__sincos_use=yes
6930 echo "configure: failed program was:" >&5
6931 cat conftest.$ac_ext >&5
6933 glibcpp_cv_func__sincos_use=no
6937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6938 ac_cpp='$CPP $CPPFLAGS'
6939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6941 cross_compiling=$ac_cv_prog_cc_cross
6947 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
6949 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
6950 for ac_func in _sincos
6952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6953 echo "configure:6954: checking for $ac_func" >&5
6954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6955 echo $ac_n "(cached) $ac_c" 1>&6
6957 cat > conftest.$ac_ext <<EOF
6958 #line 6959 "configure"
6959 #include "confdefs.h"
6960 /* System header to define __stub macros and hopefully few prototypes,
6961 which can conflict with char $ac_func(); below. */
6963 /* Override any gcc2 internal prototype to avoid an error. */
6964 /* We use char because int might match the return type of a gcc2
6965 builtin and then its argument prototype would still apply. */
6970 /* The GNU C library defines this for functions which it implements
6971 to always fail with ENOSYS. Some functions are actually named
6972 something starting with __ and the normal name is an alias. */
6973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6983 eval "ac_cv_func_$ac_func=yes"
6985 echo "configure: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6988 eval "ac_cv_func_$ac_func=no"
6993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6994 echo "$ac_t""yes" 1>&6
6995 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6996 cat >> confdefs.h <<EOF
6997 #define $ac_tr_func 1
7001 echo "$ac_t""no" 1>&6
7010 echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
7011 echo "configure:7012: checking for fpclass declaration" >&5
7012 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
7013 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
7014 echo $ac_n "(cached) $ac_c" 1>&6
7019 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7020 ac_cpp='$CXXCPP $CPPFLAGS'
7021 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7022 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7023 cross_compiling=$ac_cv_prog_cxx_cross
7025 cat > conftest.$ac_ext <<EOF
7026 #line 7027 "configure"
7027 #include "confdefs.h"
7029 #ifdef HAVE_IEEEFP_H
7037 if { (eval echo configure:7038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7039 glibcpp_cv_func_fpclass_use=yes
7041 echo "configure: failed program was:" >&5
7042 cat conftest.$ac_ext >&5
7044 glibcpp_cv_func_fpclass_use=no
7048 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7049 ac_cpp='$CPP $CPPFLAGS'
7050 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7051 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7052 cross_compiling=$ac_cv_prog_cc_cross
7058 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
7060 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
7061 for ac_func in fpclass
7063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7064 echo "configure:7065: checking for $ac_func" >&5
7065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7066 echo $ac_n "(cached) $ac_c" 1>&6
7068 cat > conftest.$ac_ext <<EOF
7069 #line 7070 "configure"
7070 #include "confdefs.h"
7071 /* System header to define __stub macros and hopefully few prototypes,
7072 which can conflict with char $ac_func(); below. */
7074 /* Override any gcc2 internal prototype to avoid an error. */
7075 /* We use char because int might match the return type of a gcc2
7076 builtin and then its argument prototype would still apply. */
7081 /* The GNU C library defines this for functions which it implements
7082 to always fail with ENOSYS. Some functions are actually named
7083 something starting with __ and the normal name is an alias. */
7084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7094 eval "ac_cv_func_$ac_func=yes"
7096 echo "configure: failed program was:" >&5
7097 cat conftest.$ac_ext >&5
7099 eval "ac_cv_func_$ac_func=no"
7104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7105 echo "$ac_t""yes" 1>&6
7106 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7107 cat >> confdefs.h <<EOF
7108 #define $ac_tr_func 1
7112 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
7119 echo "configure:7120: checking for _fpclass declaration" >&5
7120 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
7121 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
7122 echo $ac_n "(cached) $ac_c" 1>&6
7127 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7128 ac_cpp='$CXXCPP $CPPFLAGS'
7129 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7130 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7131 cross_compiling=$ac_cv_prog_cxx_cross
7133 cat > conftest.$ac_ext <<EOF
7134 #line 7135 "configure"
7135 #include "confdefs.h"
7137 #ifdef HAVE_IEEEFP_H
7145 if { (eval echo configure:7146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7147 glibcpp_cv_func__fpclass_use=yes
7149 echo "configure: failed program was:" >&5
7150 cat conftest.$ac_ext >&5
7152 glibcpp_cv_func__fpclass_use=no
7156 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7159 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7160 cross_compiling=$ac_cv_prog_cc_cross
7166 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
7168 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
7169 for ac_func in _fpclass
7171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7172 echo "configure:7173: checking for $ac_func" >&5
7173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7174 echo $ac_n "(cached) $ac_c" 1>&6
7176 cat > conftest.$ac_ext <<EOF
7177 #line 7178 "configure"
7178 #include "confdefs.h"
7179 /* System header to define __stub macros and hopefully few prototypes,
7180 which can conflict with char $ac_func(); below. */
7182 /* Override any gcc2 internal prototype to avoid an error. */
7183 /* We use char because int might match the return type of a gcc2
7184 builtin and then its argument prototype would still apply. */
7189 /* The GNU C library defines this for functions which it implements
7190 to always fail with ENOSYS. Some functions are actually named
7191 something starting with __ and the normal name is an alias. */
7192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7200 if { (eval echo configure:7201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7202 eval "ac_cv_func_$ac_func=yes"
7204 echo "configure: failed program was:" >&5
7205 cat conftest.$ac_ext >&5
7207 eval "ac_cv_func_$ac_func=no"
7212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7213 echo "$ac_t""yes" 1>&6
7214 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7215 cat >> confdefs.h <<EOF
7216 #define $ac_tr_func 1
7220 echo "$ac_t""no" 1>&6
7229 echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
7230 echo "configure:7231: checking for qfpclass declaration" >&5
7231 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
7232 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
7233 echo $ac_n "(cached) $ac_c" 1>&6
7238 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7239 ac_cpp='$CXXCPP $CPPFLAGS'
7240 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7241 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7242 cross_compiling=$ac_cv_prog_cxx_cross
7244 cat > conftest.$ac_ext <<EOF
7245 #line 7246 "configure"
7246 #include "confdefs.h"
7248 #ifdef HAVE_IEEEFP_H
7256 if { (eval echo configure:7257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7258 glibcpp_cv_func_qfpclass_use=yes
7260 echo "configure: failed program was:" >&5
7261 cat conftest.$ac_ext >&5
7263 glibcpp_cv_func_qfpclass_use=no
7267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7270 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7271 cross_compiling=$ac_cv_prog_cc_cross
7277 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
7279 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
7280 for ac_func in qfpclass
7282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7283 echo "configure:7284: checking for $ac_func" >&5
7284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7285 echo $ac_n "(cached) $ac_c" 1>&6
7287 cat > conftest.$ac_ext <<EOF
7288 #line 7289 "configure"
7289 #include "confdefs.h"
7290 /* System header to define __stub macros and hopefully few prototypes,
7291 which can conflict with char $ac_func(); below. */
7293 /* Override any gcc2 internal prototype to avoid an error. */
7294 /* We use char because int might match the return type of a gcc2
7295 builtin and then its argument prototype would still apply. */
7300 /* The GNU C library defines this for functions which it implements
7301 to always fail with ENOSYS. Some functions are actually named
7302 something starting with __ and the normal name is an alias. */
7303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7313 eval "ac_cv_func_$ac_func=yes"
7315 echo "configure: failed program was:" >&5
7316 cat conftest.$ac_ext >&5
7318 eval "ac_cv_func_$ac_func=no"
7323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7324 echo "$ac_t""yes" 1>&6
7325 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7326 cat >> confdefs.h <<EOF
7327 #define $ac_tr_func 1
7331 echo "$ac_t""no" 1>&6
7337 echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
7338 echo "configure:7339: checking for _qfpclass declaration" >&5
7339 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
7340 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7346 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7347 ac_cpp='$CXXCPP $CPPFLAGS'
7348 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7349 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7350 cross_compiling=$ac_cv_prog_cxx_cross
7352 cat > conftest.$ac_ext <<EOF
7353 #line 7354 "configure"
7354 #include "confdefs.h"
7356 #ifdef HAVE_IEEEFP_H
7364 if { (eval echo configure:7365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7366 glibcpp_cv_func__qfpclass_use=yes
7368 echo "configure: failed program was:" >&5
7369 cat conftest.$ac_ext >&5
7371 glibcpp_cv_func__qfpclass_use=no
7375 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7376 ac_cpp='$CPP $CPPFLAGS'
7377 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7378 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7379 cross_compiling=$ac_cv_prog_cc_cross
7385 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
7387 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
7388 for ac_func in _qfpclass
7390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7391 echo "configure:7392: checking for $ac_func" >&5
7392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7393 echo $ac_n "(cached) $ac_c" 1>&6
7395 cat > conftest.$ac_ext <<EOF
7396 #line 7397 "configure"
7397 #include "confdefs.h"
7398 /* System header to define __stub macros and hopefully few prototypes,
7399 which can conflict with char $ac_func(); below. */
7401 /* Override any gcc2 internal prototype to avoid an error. */
7402 /* We use char because int might match the return type of a gcc2
7403 builtin and then its argument prototype would still apply. */
7408 /* The GNU C library defines this for functions which it implements
7409 to always fail with ENOSYS. Some functions are actually named
7410 something starting with __ and the normal name is an alias. */
7411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7419 if { (eval echo configure:7420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7421 eval "ac_cv_func_$ac_func=yes"
7423 echo "configure: failed program was:" >&5
7424 cat conftest.$ac_ext >&5
7426 eval "ac_cv_func_$ac_func=no"
7431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7432 echo "$ac_t""yes" 1>&6
7433 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7434 cat >> confdefs.h <<EOF
7435 #define $ac_tr_func 1
7439 echo "$ac_t""no" 1>&6
7448 echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
7449 echo "configure:7450: checking for float trig functions" >&5
7450 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
7451 echo $ac_n "(cached) $ac_c" 1>&6
7456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7457 ac_cpp='$CXXCPP $CPPFLAGS'
7458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7460 cross_compiling=$ac_cv_prog_cxx_cross
7462 cat > conftest.$ac_ext <<EOF
7463 #line 7464 "configure"
7464 #include "confdefs.h"
7467 `for x in acosf asinf atanf \
7469 coshf sinhf tanhf; do echo "$x (0);"; done`
7472 if { (eval echo configure:7473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7474 glibcpp_cv_func_float_trig_use=yes
7476 echo "configure: failed program was:" >&5
7477 cat conftest.$ac_ext >&5
7479 glibcpp_cv_func_float_trig_use=no
7483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7484 ac_cpp='$CPP $CPPFLAGS'
7485 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7486 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7487 cross_compiling=$ac_cv_prog_cc_cross
7491 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
7492 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
7493 for ac_func in acosf asinf atanf \
7497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7498 echo "configure:7499: checking for $ac_func" >&5
7499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7500 echo $ac_n "(cached) $ac_c" 1>&6
7502 cat > conftest.$ac_ext <<EOF
7503 #line 7504 "configure"
7504 #include "confdefs.h"
7505 /* System header to define __stub macros and hopefully few prototypes,
7506 which can conflict with char $ac_func(); below. */
7508 /* Override any gcc2 internal prototype to avoid an error. */
7509 /* We use char because int might match the return type of a gcc2
7510 builtin and then its argument prototype would still apply. */
7515 /* The GNU C library defines this for functions which it implements
7516 to always fail with ENOSYS. Some functions are actually named
7517 something starting with __ and the normal name is an alias. */
7518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7526 if { (eval echo configure:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7528 eval "ac_cv_func_$ac_func=yes"
7530 echo "configure: failed program was:" >&5
7531 cat conftest.$ac_ext >&5
7533 eval "ac_cv_func_$ac_func=no"
7538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7539 echo "$ac_t""yes" 1>&6
7540 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7541 cat >> confdefs.h <<EOF
7542 #define $ac_tr_func 1
7546 echo "$ac_t""no" 1>&6
7553 echo $ac_n "checking for float round functions""... $ac_c" 1>&6
7554 echo "configure:7555: checking for float round functions" >&5
7555 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
7556 echo $ac_n "(cached) $ac_c" 1>&6
7561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7562 ac_cpp='$CXXCPP $CPPFLAGS'
7563 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7564 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7565 cross_compiling=$ac_cv_prog_cxx_cross
7567 cat > conftest.$ac_ext <<EOF
7568 #line 7569 "configure"
7569 #include "confdefs.h"
7572 `for x in ceilf floorf; do echo "$x (0);"; done`
7575 if { (eval echo configure:7576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7577 glibcpp_cv_func_float_round_use=yes
7579 echo "configure: failed program was:" >&5
7580 cat conftest.$ac_ext >&5
7582 glibcpp_cv_func_float_round_use=no
7586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7589 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7590 cross_compiling=$ac_cv_prog_cc_cross
7594 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
7595 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
7596 for ac_func in ceilf floorf
7598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7599 echo "configure:7600: checking for $ac_func" >&5
7600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7601 echo $ac_n "(cached) $ac_c" 1>&6
7603 cat > conftest.$ac_ext <<EOF
7604 #line 7605 "configure"
7605 #include "confdefs.h"
7606 /* System header to define __stub macros and hopefully few prototypes,
7607 which can conflict with char $ac_func(); below. */
7609 /* Override any gcc2 internal prototype to avoid an error. */
7610 /* We use char because int might match the return type of a gcc2
7611 builtin and then its argument prototype would still apply. */
7616 /* The GNU C library defines this for functions which it implements
7617 to always fail with ENOSYS. Some functions are actually named
7618 something starting with __ and the normal name is an alias. */
7619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7627 if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7629 eval "ac_cv_func_$ac_func=yes"
7631 echo "configure: failed program was:" >&5
7632 cat conftest.$ac_ext >&5
7634 eval "ac_cv_func_$ac_func=no"
7639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7640 echo "$ac_t""yes" 1>&6
7641 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7642 cat >> confdefs.h <<EOF
7643 #define $ac_tr_func 1
7647 echo "$ac_t""no" 1>&6
7655 echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
7656 echo "configure:7657: checking for isnanf declaration" >&5
7657 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
7658 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
7659 echo $ac_n "(cached) $ac_c" 1>&6
7664 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7665 ac_cpp='$CXXCPP $CPPFLAGS'
7666 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7667 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7668 cross_compiling=$ac_cv_prog_cxx_cross
7670 cat > conftest.$ac_ext <<EOF
7671 #line 7672 "configure"
7672 #include "confdefs.h"
7674 #ifdef HAVE_IEEEFP_H
7682 if { (eval echo configure:7683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7684 glibcpp_cv_func_isnanf_use=yes
7686 echo "configure: failed program was:" >&5
7687 cat conftest.$ac_ext >&5
7689 glibcpp_cv_func_isnanf_use=no
7693 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7694 ac_cpp='$CPP $CPPFLAGS'
7695 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7696 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7697 cross_compiling=$ac_cv_prog_cc_cross
7703 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
7705 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
7706 for ac_func in isnanf
7708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7709 echo "configure:7710: checking for $ac_func" >&5
7710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7711 echo $ac_n "(cached) $ac_c" 1>&6
7713 cat > conftest.$ac_ext <<EOF
7714 #line 7715 "configure"
7715 #include "confdefs.h"
7716 /* System header to define __stub macros and hopefully few prototypes,
7717 which can conflict with char $ac_func(); below. */
7719 /* Override any gcc2 internal prototype to avoid an error. */
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7726 /* The GNU C library defines this for functions which it implements
7727 to always fail with ENOSYS. Some functions are actually named
7728 something starting with __ and the normal name is an alias. */
7729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7737 if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7739 eval "ac_cv_func_$ac_func=yes"
7741 echo "configure: failed program was:" >&5
7742 cat conftest.$ac_ext >&5
7744 eval "ac_cv_func_$ac_func=no"
7749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7750 echo "$ac_t""yes" 1>&6
7751 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7752 cat >> confdefs.h <<EOF
7753 #define $ac_tr_func 1
7757 echo "$ac_t""no" 1>&6
7763 echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
7764 echo "configure:7765: checking for _isnanf declaration" >&5
7765 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
7766 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
7767 echo $ac_n "(cached) $ac_c" 1>&6
7772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7773 ac_cpp='$CXXCPP $CPPFLAGS'
7774 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7775 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7776 cross_compiling=$ac_cv_prog_cxx_cross
7778 cat > conftest.$ac_ext <<EOF
7779 #line 7780 "configure"
7780 #include "confdefs.h"
7782 #ifdef HAVE_IEEEFP_H
7790 if { (eval echo configure:7791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7792 glibcpp_cv_func__isnanf_use=yes
7794 echo "configure: failed program was:" >&5
7795 cat conftest.$ac_ext >&5
7797 glibcpp_cv_func__isnanf_use=no
7801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7802 ac_cpp='$CPP $CPPFLAGS'
7803 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7804 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7805 cross_compiling=$ac_cv_prog_cc_cross
7811 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
7813 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
7814 for ac_func in _isnanf
7816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7817 echo "configure:7818: checking for $ac_func" >&5
7818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7819 echo $ac_n "(cached) $ac_c" 1>&6
7821 cat > conftest.$ac_ext <<EOF
7822 #line 7823 "configure"
7823 #include "confdefs.h"
7824 /* System header to define __stub macros and hopefully few prototypes,
7825 which can conflict with char $ac_func(); below. */
7827 /* Override any gcc2 internal prototype to avoid an error. */
7828 /* We use char because int might match the return type of a gcc2
7829 builtin and then its argument prototype would still apply. */
7834 /* The GNU C library defines this for functions which it implements
7835 to always fail with ENOSYS. Some functions are actually named
7836 something starting with __ and the normal name is an alias. */
7837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7845 if { (eval echo configure:7846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7847 eval "ac_cv_func_$ac_func=yes"
7849 echo "configure: failed program was:" >&5
7850 cat conftest.$ac_ext >&5
7852 eval "ac_cv_func_$ac_func=no"
7857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7858 echo "$ac_t""yes" 1>&6
7859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7860 cat >> confdefs.h <<EOF
7861 #define $ac_tr_func 1
7865 echo "$ac_t""no" 1>&6
7874 echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
7875 echo "configure:7876: checking for isinff declaration" >&5
7876 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
7877 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
7878 echo $ac_n "(cached) $ac_c" 1>&6
7883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7884 ac_cpp='$CXXCPP $CPPFLAGS'
7885 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7886 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7887 cross_compiling=$ac_cv_prog_cxx_cross
7889 cat > conftest.$ac_ext <<EOF
7890 #line 7891 "configure"
7891 #include "confdefs.h"
7893 #ifdef HAVE_IEEEFP_H
7901 if { (eval echo configure:7902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7903 glibcpp_cv_func_isinff_use=yes
7905 echo "configure: failed program was:" >&5
7906 cat conftest.$ac_ext >&5
7908 glibcpp_cv_func_isinff_use=no
7912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7913 ac_cpp='$CPP $CPPFLAGS'
7914 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7915 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7916 cross_compiling=$ac_cv_prog_cc_cross
7922 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
7924 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
7925 for ac_func in isinff
7927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7928 echo "configure:7929: checking for $ac_func" >&5
7929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7930 echo $ac_n "(cached) $ac_c" 1>&6
7932 cat > conftest.$ac_ext <<EOF
7933 #line 7934 "configure"
7934 #include "confdefs.h"
7935 /* System header to define __stub macros and hopefully few prototypes,
7936 which can conflict with char $ac_func(); below. */
7938 /* Override any gcc2 internal prototype to avoid an error. */
7939 /* We use char because int might match the return type of a gcc2
7940 builtin and then its argument prototype would still apply. */
7945 /* The GNU C library defines this for functions which it implements
7946 to always fail with ENOSYS. Some functions are actually named
7947 something starting with __ and the normal name is an alias. */
7948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7956 if { (eval echo configure:7957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7958 eval "ac_cv_func_$ac_func=yes"
7960 echo "configure: failed program was:" >&5
7961 cat conftest.$ac_ext >&5
7963 eval "ac_cv_func_$ac_func=no"
7968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7969 echo "$ac_t""yes" 1>&6
7970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7971 cat >> confdefs.h <<EOF
7972 #define $ac_tr_func 1
7976 echo "$ac_t""no" 1>&6
7982 echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
7983 echo "configure:7984: checking for _isinff declaration" >&5
7984 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
7985 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
7986 echo $ac_n "(cached) $ac_c" 1>&6
7991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7992 ac_cpp='$CXXCPP $CPPFLAGS'
7993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7995 cross_compiling=$ac_cv_prog_cxx_cross
7997 cat > conftest.$ac_ext <<EOF
7998 #line 7999 "configure"
7999 #include "confdefs.h"
8001 #ifdef HAVE_IEEEFP_H
8009 if { (eval echo configure:8010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8011 glibcpp_cv_func__isinff_use=yes
8013 echo "configure: failed program was:" >&5
8014 cat conftest.$ac_ext >&5
8016 glibcpp_cv_func__isinff_use=no
8020 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8021 ac_cpp='$CPP $CPPFLAGS'
8022 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8023 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8024 cross_compiling=$ac_cv_prog_cc_cross
8030 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
8032 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
8033 for ac_func in _isinff
8035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8036 echo "configure:8037: checking for $ac_func" >&5
8037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8038 echo $ac_n "(cached) $ac_c" 1>&6
8040 cat > conftest.$ac_ext <<EOF
8041 #line 8042 "configure"
8042 #include "confdefs.h"
8043 /* System header to define __stub macros and hopefully few prototypes,
8044 which can conflict with char $ac_func(); below. */
8046 /* Override any gcc2 internal prototype to avoid an error. */
8047 /* We use char because int might match the return type of a gcc2
8048 builtin and then its argument prototype would still apply. */
8053 /* The GNU C library defines this for functions which it implements
8054 to always fail with ENOSYS. Some functions are actually named
8055 something starting with __ and the normal name is an alias. */
8056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8064 if { (eval echo configure:8065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8066 eval "ac_cv_func_$ac_func=yes"
8068 echo "configure: failed program was:" >&5
8069 cat conftest.$ac_ext >&5
8071 eval "ac_cv_func_$ac_func=no"
8076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8077 echo "$ac_t""yes" 1>&6
8078 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8079 cat >> confdefs.h <<EOF
8080 #define $ac_tr_func 1
8084 echo "$ac_t""no" 1>&6
8093 echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
8094 echo "configure:8095: checking for fabsf declaration" >&5
8095 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
8096 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6
8102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8103 ac_cpp='$CXXCPP $CPPFLAGS'
8104 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8105 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8106 cross_compiling=$ac_cv_prog_cxx_cross
8108 cat > conftest.$ac_ext <<EOF
8109 #line 8110 "configure"
8110 #include "confdefs.h"
8112 #ifdef HAVE_IEEEFP_H
8120 if { (eval echo configure:8121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8122 glibcpp_cv_func_fabsf_use=yes
8124 echo "configure: failed program was:" >&5
8125 cat conftest.$ac_ext >&5
8127 glibcpp_cv_func_fabsf_use=no
8131 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8132 ac_cpp='$CPP $CPPFLAGS'
8133 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8134 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8135 cross_compiling=$ac_cv_prog_cc_cross
8141 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
8143 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
8144 for ac_func in fabsf
8146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8147 echo "configure:8148: checking for $ac_func" >&5
8148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8149 echo $ac_n "(cached) $ac_c" 1>&6
8151 cat > conftest.$ac_ext <<EOF
8152 #line 8153 "configure"
8153 #include "confdefs.h"
8154 /* System header to define __stub macros and hopefully few prototypes,
8155 which can conflict with char $ac_func(); below. */
8157 /* Override any gcc2 internal prototype to avoid an error. */
8158 /* We use char because int might match the return type of a gcc2
8159 builtin and then its argument prototype would still apply. */
8164 /* The GNU C library defines this for functions which it implements
8165 to always fail with ENOSYS. Some functions are actually named
8166 something starting with __ and the normal name is an alias. */
8167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8175 if { (eval echo configure:8176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8177 eval "ac_cv_func_$ac_func=yes"
8179 echo "configure: failed program was:" >&5
8180 cat conftest.$ac_ext >&5
8182 eval "ac_cv_func_$ac_func=no"
8187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8188 echo "$ac_t""yes" 1>&6
8189 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8190 cat >> confdefs.h <<EOF
8191 #define $ac_tr_func 1
8195 echo "$ac_t""no" 1>&6
8201 echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
8202 echo "configure:8203: checking for _fabsf declaration" >&5
8203 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
8204 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
8205 echo $ac_n "(cached) $ac_c" 1>&6
8210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8211 ac_cpp='$CXXCPP $CPPFLAGS'
8212 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8213 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8214 cross_compiling=$ac_cv_prog_cxx_cross
8216 cat > conftest.$ac_ext <<EOF
8217 #line 8218 "configure"
8218 #include "confdefs.h"
8220 #ifdef HAVE_IEEEFP_H
8228 if { (eval echo configure:8229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8230 glibcpp_cv_func__fabsf_use=yes
8232 echo "configure: failed program was:" >&5
8233 cat conftest.$ac_ext >&5
8235 glibcpp_cv_func__fabsf_use=no
8239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8240 ac_cpp='$CPP $CPPFLAGS'
8241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8243 cross_compiling=$ac_cv_prog_cc_cross
8249 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
8251 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
8252 for ac_func in _fabsf
8254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8255 echo "configure:8256: checking for $ac_func" >&5
8256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8257 echo $ac_n "(cached) $ac_c" 1>&6
8259 cat > conftest.$ac_ext <<EOF
8260 #line 8261 "configure"
8261 #include "confdefs.h"
8262 /* System header to define __stub macros and hopefully few prototypes,
8263 which can conflict with char $ac_func(); below. */
8265 /* Override any gcc2 internal prototype to avoid an error. */
8266 /* We use char because int might match the return type of a gcc2
8267 builtin and then its argument prototype would still apply. */
8272 /* The GNU C library defines this for functions which it implements
8273 to always fail with ENOSYS. Some functions are actually named
8274 something starting with __ and the normal name is an alias. */
8275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8285 eval "ac_cv_func_$ac_func=yes"
8287 echo "configure: failed program was:" >&5
8288 cat conftest.$ac_ext >&5
8290 eval "ac_cv_func_$ac_func=no"
8295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8296 echo "$ac_t""yes" 1>&6
8297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8298 cat >> confdefs.h <<EOF
8299 #define $ac_tr_func 1
8303 echo "$ac_t""no" 1>&6
8312 echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
8313 echo "configure:8314: checking for fmodf declaration" >&5
8314 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
8315 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
8316 echo $ac_n "(cached) $ac_c" 1>&6
8321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8322 ac_cpp='$CXXCPP $CPPFLAGS'
8323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8325 cross_compiling=$ac_cv_prog_cxx_cross
8327 cat > conftest.$ac_ext <<EOF
8328 #line 8329 "configure"
8329 #include "confdefs.h"
8335 if { (eval echo configure:8336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8337 glibcpp_cv_func_fmodf_use=yes
8339 echo "configure: failed program was:" >&5
8340 cat conftest.$ac_ext >&5
8342 glibcpp_cv_func_fmodf_use=no
8346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8347 ac_cpp='$CPP $CPPFLAGS'
8348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8350 cross_compiling=$ac_cv_prog_cc_cross
8356 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
8358 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
8359 for ac_func in fmodf
8361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8362 echo "configure:8363: checking for $ac_func" >&5
8363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8364 echo $ac_n "(cached) $ac_c" 1>&6
8366 cat > conftest.$ac_ext <<EOF
8367 #line 8368 "configure"
8368 #include "confdefs.h"
8369 /* System header to define __stub macros and hopefully few prototypes,
8370 which can conflict with char $ac_func(); below. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8373 /* We use char because int might match the return type of a gcc2
8374 builtin and then its argument prototype would still apply. */
8379 /* The GNU C library defines this for functions which it implements
8380 to always fail with ENOSYS. Some functions are actually named
8381 something starting with __ and the normal name is an alias. */
8382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8390 if { (eval echo configure:8391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8392 eval "ac_cv_func_$ac_func=yes"
8394 echo "configure: failed program was:" >&5
8395 cat conftest.$ac_ext >&5
8397 eval "ac_cv_func_$ac_func=no"
8402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8403 echo "$ac_t""yes" 1>&6
8404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8405 cat >> confdefs.h <<EOF
8406 #define $ac_tr_func 1
8410 echo "$ac_t""no" 1>&6
8416 echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
8417 echo "configure:8418: checking for _fmodf declaration" >&5
8418 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
8419 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8426 ac_cpp='$CXXCPP $CPPFLAGS'
8427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8429 cross_compiling=$ac_cv_prog_cxx_cross
8431 cat > conftest.$ac_ext <<EOF
8432 #line 8433 "configure"
8433 #include "confdefs.h"
8439 if { (eval echo configure:8440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8441 glibcpp_cv_func__fmodf_use=yes
8443 echo "configure: failed program was:" >&5
8444 cat conftest.$ac_ext >&5
8446 glibcpp_cv_func__fmodf_use=no
8450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8451 ac_cpp='$CPP $CPPFLAGS'
8452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8454 cross_compiling=$ac_cv_prog_cc_cross
8460 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
8462 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
8463 for ac_func in _fmodf
8465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8466 echo "configure:8467: checking for $ac_func" >&5
8467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8468 echo $ac_n "(cached) $ac_c" 1>&6
8470 cat > conftest.$ac_ext <<EOF
8471 #line 8472 "configure"
8472 #include "confdefs.h"
8473 /* System header to define __stub macros and hopefully few prototypes,
8474 which can conflict with char $ac_func(); below. */
8476 /* Override any gcc2 internal prototype to avoid an error. */
8477 /* We use char because int might match the return type of a gcc2
8478 builtin and then its argument prototype would still apply. */
8483 /* The GNU C library defines this for functions which it implements
8484 to always fail with ENOSYS. Some functions are actually named
8485 something starting with __ and the normal name is an alias. */
8486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8496 eval "ac_cv_func_$ac_func=yes"
8498 echo "configure: failed program was:" >&5
8499 cat conftest.$ac_ext >&5
8501 eval "ac_cv_func_$ac_func=no"
8506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8507 echo "$ac_t""yes" 1>&6
8508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8509 cat >> confdefs.h <<EOF
8510 #define $ac_tr_func 1
8514 echo "$ac_t""no" 1>&6
8523 echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
8524 echo "configure:8525: checking for frexpf declaration" >&5
8525 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
8526 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8533 ac_cpp='$CXXCPP $CPPFLAGS'
8534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8536 cross_compiling=$ac_cv_prog_cxx_cross
8538 cat > conftest.$ac_ext <<EOF
8539 #line 8540 "configure"
8540 #include "confdefs.h"
8546 if { (eval echo configure:8547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8548 glibcpp_cv_func_frexpf_use=yes
8550 echo "configure: failed program was:" >&5
8551 cat conftest.$ac_ext >&5
8553 glibcpp_cv_func_frexpf_use=no
8557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8558 ac_cpp='$CPP $CPPFLAGS'
8559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8561 cross_compiling=$ac_cv_prog_cc_cross
8567 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
8569 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
8570 for ac_func in frexpf
8572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8573 echo "configure:8574: checking for $ac_func" >&5
8574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 cat > conftest.$ac_ext <<EOF
8578 #line 8579 "configure"
8579 #include "confdefs.h"
8580 /* System header to define __stub macros and hopefully few prototypes,
8581 which can conflict with char $ac_func(); below. */
8583 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8590 /* The GNU C library defines this for functions which it implements
8591 to always fail with ENOSYS. Some functions are actually named
8592 something starting with __ and the normal name is an alias. */
8593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8603 eval "ac_cv_func_$ac_func=yes"
8605 echo "configure: failed program was:" >&5
8606 cat conftest.$ac_ext >&5
8608 eval "ac_cv_func_$ac_func=no"
8613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8614 echo "$ac_t""yes" 1>&6
8615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8616 cat >> confdefs.h <<EOF
8617 #define $ac_tr_func 1
8621 echo "$ac_t""no" 1>&6
8627 echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
8628 echo "configure:8629: checking for _frexpf declaration" >&5
8629 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
8630 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
8631 echo $ac_n "(cached) $ac_c" 1>&6
8636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8637 ac_cpp='$CXXCPP $CPPFLAGS'
8638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8640 cross_compiling=$ac_cv_prog_cxx_cross
8642 cat > conftest.$ac_ext <<EOF
8643 #line 8644 "configure"
8644 #include "confdefs.h"
8650 if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8652 glibcpp_cv_func__frexpf_use=yes
8654 echo "configure: failed program was:" >&5
8655 cat conftest.$ac_ext >&5
8657 glibcpp_cv_func__frexpf_use=no
8661 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8662 ac_cpp='$CPP $CPPFLAGS'
8663 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8664 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8665 cross_compiling=$ac_cv_prog_cc_cross
8671 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
8673 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
8674 for ac_func in _frexpf
8676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8677 echo "configure:8678: checking for $ac_func" >&5
8678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8679 echo $ac_n "(cached) $ac_c" 1>&6
8681 cat > conftest.$ac_ext <<EOF
8682 #line 8683 "configure"
8683 #include "confdefs.h"
8684 /* System header to define __stub macros and hopefully few prototypes,
8685 which can conflict with char $ac_func(); below. */
8687 /* Override any gcc2 internal prototype to avoid an error. */
8688 /* We use char because int might match the return type of a gcc2
8689 builtin and then its argument prototype would still apply. */
8694 /* The GNU C library defines this for functions which it implements
8695 to always fail with ENOSYS. Some functions are actually named
8696 something starting with __ and the normal name is an alias. */
8697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8705 if { (eval echo configure:8706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8707 eval "ac_cv_func_$ac_func=yes"
8709 echo "configure: failed program was:" >&5
8710 cat conftest.$ac_ext >&5
8712 eval "ac_cv_func_$ac_func=no"
8717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8718 echo "$ac_t""yes" 1>&6
8719 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8720 cat >> confdefs.h <<EOF
8721 #define $ac_tr_func 1
8725 echo "$ac_t""no" 1>&6
8734 echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
8735 echo "configure:8736: checking for ldexpf declaration" >&5
8736 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
8737 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8744 ac_cpp='$CXXCPP $CPPFLAGS'
8745 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8746 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8747 cross_compiling=$ac_cv_prog_cxx_cross
8749 cat > conftest.$ac_ext <<EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8757 if { (eval echo configure:8758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8759 glibcpp_cv_func_ldexpf_use=yes
8761 echo "configure: failed program was:" >&5
8762 cat conftest.$ac_ext >&5
8764 glibcpp_cv_func_ldexpf_use=no
8768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8769 ac_cpp='$CPP $CPPFLAGS'
8770 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8771 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8772 cross_compiling=$ac_cv_prog_cc_cross
8778 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
8780 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
8781 for ac_func in ldexpf
8783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8784 echo "configure:8785: checking for $ac_func" >&5
8785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8786 echo $ac_n "(cached) $ac_c" 1>&6
8788 cat > conftest.$ac_ext <<EOF
8789 #line 8790 "configure"
8790 #include "confdefs.h"
8791 /* System header to define __stub macros and hopefully few prototypes,
8792 which can conflict with char $ac_func(); below. */
8794 /* Override any gcc2 internal prototype to avoid an error. */
8795 /* We use char because int might match the return type of a gcc2
8796 builtin and then its argument prototype would still apply. */
8801 /* The GNU C library defines this for functions which it implements
8802 to always fail with ENOSYS. Some functions are actually named
8803 something starting with __ and the normal name is an alias. */
8804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8812 if { (eval echo configure:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8814 eval "ac_cv_func_$ac_func=yes"
8816 echo "configure: failed program was:" >&5
8817 cat conftest.$ac_ext >&5
8819 eval "ac_cv_func_$ac_func=no"
8824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8825 echo "$ac_t""yes" 1>&6
8826 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8827 cat >> confdefs.h <<EOF
8828 #define $ac_tr_func 1
8832 echo "$ac_t""no" 1>&6
8838 echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
8839 echo "configure:8840: checking for _ldexpf declaration" >&5
8840 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
8841 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
8842 echo $ac_n "(cached) $ac_c" 1>&6
8847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8848 ac_cpp='$CXXCPP $CPPFLAGS'
8849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8851 cross_compiling=$ac_cv_prog_cxx_cross
8853 cat > conftest.$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8861 if { (eval echo configure:8862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8863 glibcpp_cv_func__ldexpf_use=yes
8865 echo "configure: failed program was:" >&5
8866 cat conftest.$ac_ext >&5
8868 glibcpp_cv_func__ldexpf_use=no
8872 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8873 ac_cpp='$CPP $CPPFLAGS'
8874 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8875 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8876 cross_compiling=$ac_cv_prog_cc_cross
8882 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
8884 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
8885 for ac_func in _ldexpf
8887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8888 echo "configure:8889: checking for $ac_func" >&5
8889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8890 echo $ac_n "(cached) $ac_c" 1>&6
8892 cat > conftest.$ac_ext <<EOF
8893 #line 8894 "configure"
8894 #include "confdefs.h"
8895 /* System header to define __stub macros and hopefully few prototypes,
8896 which can conflict with char $ac_func(); below. */
8898 /* Override any gcc2 internal prototype to avoid an error. */
8899 /* We use char because int might match the return type of a gcc2
8900 builtin and then its argument prototype would still apply. */
8905 /* The GNU C library defines this for functions which it implements
8906 to always fail with ENOSYS. Some functions are actually named
8907 something starting with __ and the normal name is an alias. */
8908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8918 eval "ac_cv_func_$ac_func=yes"
8920 echo "configure: failed program was:" >&5
8921 cat conftest.$ac_ext >&5
8923 eval "ac_cv_func_$ac_func=no"
8928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8929 echo "$ac_t""yes" 1>&6
8930 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8931 cat >> confdefs.h <<EOF
8932 #define $ac_tr_func 1
8936 echo "$ac_t""no" 1>&6
8945 echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
8946 echo "configure:8947: checking for logf declaration" >&5
8947 if test x${glibcpp_cv_func_logf_use+set} != xset; then
8948 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
8949 echo $ac_n "(cached) $ac_c" 1>&6
8954 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8955 ac_cpp='$CXXCPP $CPPFLAGS'
8956 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8957 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8958 cross_compiling=$ac_cv_prog_cxx_cross
8960 cat > conftest.$ac_ext <<EOF
8961 #line 8962 "configure"
8962 #include "confdefs.h"
8964 #ifdef HAVE_IEEEFP_H
8972 if { (eval echo configure:8973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8974 glibcpp_cv_func_logf_use=yes
8976 echo "configure: failed program was:" >&5
8977 cat conftest.$ac_ext >&5
8979 glibcpp_cv_func_logf_use=no
8983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8984 ac_cpp='$CPP $CPPFLAGS'
8985 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8986 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8987 cross_compiling=$ac_cv_prog_cc_cross
8993 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
8995 if test x$glibcpp_cv_func_logf_use = x"yes"; then
8998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8999 echo "configure:9000: checking for $ac_func" >&5
9000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9001 echo $ac_n "(cached) $ac_c" 1>&6
9003 cat > conftest.$ac_ext <<EOF
9004 #line 9005 "configure"
9005 #include "confdefs.h"
9006 /* System header to define __stub macros and hopefully few prototypes,
9007 which can conflict with char $ac_func(); below. */
9009 /* Override any gcc2 internal prototype to avoid an error. */
9010 /* We use char because int might match the return type of a gcc2
9011 builtin and then its argument prototype would still apply. */
9016 /* The GNU C library defines this for functions which it implements
9017 to always fail with ENOSYS. Some functions are actually named
9018 something starting with __ and the normal name is an alias. */
9019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9029 eval "ac_cv_func_$ac_func=yes"
9031 echo "configure: failed program was:" >&5
9032 cat conftest.$ac_ext >&5
9034 eval "ac_cv_func_$ac_func=no"
9039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9040 echo "$ac_t""yes" 1>&6
9041 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9042 cat >> confdefs.h <<EOF
9043 #define $ac_tr_func 1
9047 echo "$ac_t""no" 1>&6
9053 echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
9054 echo "configure:9055: checking for _logf declaration" >&5
9055 if test x${glibcpp_cv_func__logf_use+set} != xset; then
9056 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9063 ac_cpp='$CXXCPP $CPPFLAGS'
9064 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9065 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9066 cross_compiling=$ac_cv_prog_cxx_cross
9068 cat > conftest.$ac_ext <<EOF
9069 #line 9070 "configure"
9070 #include "confdefs.h"
9072 #ifdef HAVE_IEEEFP_H
9080 if { (eval echo configure:9081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9082 glibcpp_cv_func__logf_use=yes
9084 echo "configure: failed program was:" >&5
9085 cat conftest.$ac_ext >&5
9087 glibcpp_cv_func__logf_use=no
9091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9092 ac_cpp='$CPP $CPPFLAGS'
9093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9095 cross_compiling=$ac_cv_prog_cc_cross
9101 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
9103 if test x$glibcpp_cv_func__logf_use = x"yes"; then
9104 for ac_func in _logf
9106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9107 echo "configure:9108: checking for $ac_func" >&5
9108 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9109 echo $ac_n "(cached) $ac_c" 1>&6
9111 cat > conftest.$ac_ext <<EOF
9112 #line 9113 "configure"
9113 #include "confdefs.h"
9114 /* System header to define __stub macros and hopefully few prototypes,
9115 which can conflict with char $ac_func(); below. */
9117 /* Override any gcc2 internal prototype to avoid an error. */
9118 /* We use char because int might match the return type of a gcc2
9119 builtin and then its argument prototype would still apply. */
9124 /* The GNU C library defines this for functions which it implements
9125 to always fail with ENOSYS. Some functions are actually named
9126 something starting with __ and the normal name is an alias. */
9127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9135 if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9137 eval "ac_cv_func_$ac_func=yes"
9139 echo "configure: failed program was:" >&5
9140 cat conftest.$ac_ext >&5
9142 eval "ac_cv_func_$ac_func=no"
9147 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9148 echo "$ac_t""yes" 1>&6
9149 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9150 cat >> confdefs.h <<EOF
9151 #define $ac_tr_func 1
9155 echo "$ac_t""no" 1>&6
9164 echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
9165 echo "configure:9166: checking for log10f declaration" >&5
9166 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
9167 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
9168 echo $ac_n "(cached) $ac_c" 1>&6
9173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9174 ac_cpp='$CXXCPP $CPPFLAGS'
9175 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9176 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9177 cross_compiling=$ac_cv_prog_cxx_cross
9179 cat > conftest.$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9183 #ifdef HAVE_IEEEFP_H
9191 if { (eval echo configure:9192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9193 glibcpp_cv_func_log10f_use=yes
9195 echo "configure: failed program was:" >&5
9196 cat conftest.$ac_ext >&5
9198 glibcpp_cv_func_log10f_use=no
9202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9203 ac_cpp='$CPP $CPPFLAGS'
9204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9206 cross_compiling=$ac_cv_prog_cc_cross
9212 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
9214 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
9215 for ac_func in log10f
9217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9218 echo "configure:9219: checking for $ac_func" >&5
9219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9220 echo $ac_n "(cached) $ac_c" 1>&6
9222 cat > conftest.$ac_ext <<EOF
9223 #line 9224 "configure"
9224 #include "confdefs.h"
9225 /* System header to define __stub macros and hopefully few prototypes,
9226 which can conflict with char $ac_func(); below. */
9228 /* Override any gcc2 internal prototype to avoid an error. */
9229 /* We use char because int might match the return type of a gcc2
9230 builtin and then its argument prototype would still apply. */
9235 /* The GNU C library defines this for functions which it implements
9236 to always fail with ENOSYS. Some functions are actually named
9237 something starting with __ and the normal name is an alias. */
9238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9248 eval "ac_cv_func_$ac_func=yes"
9250 echo "configure: failed program was:" >&5
9251 cat conftest.$ac_ext >&5
9253 eval "ac_cv_func_$ac_func=no"
9258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9259 echo "$ac_t""yes" 1>&6
9260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9261 cat >> confdefs.h <<EOF
9262 #define $ac_tr_func 1
9266 echo "$ac_t""no" 1>&6
9272 echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
9273 echo "configure:9274: checking for _log10f declaration" >&5
9274 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
9275 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9282 ac_cpp='$CXXCPP $CPPFLAGS'
9283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9285 cross_compiling=$ac_cv_prog_cxx_cross
9287 cat > conftest.$ac_ext <<EOF
9288 #line 9289 "configure"
9289 #include "confdefs.h"
9291 #ifdef HAVE_IEEEFP_H
9299 if { (eval echo configure:9300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9301 glibcpp_cv_func__log10f_use=yes
9303 echo "configure: failed program was:" >&5
9304 cat conftest.$ac_ext >&5
9306 glibcpp_cv_func__log10f_use=no
9310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9311 ac_cpp='$CPP $CPPFLAGS'
9312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9314 cross_compiling=$ac_cv_prog_cc_cross
9320 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
9322 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
9323 for ac_func in _log10f
9325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9326 echo "configure:9327: checking for $ac_func" >&5
9327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9330 cat > conftest.$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* System header to define __stub macros and hopefully few prototypes,
9334 which can conflict with char $ac_func(); below. */
9336 /* Override any gcc2 internal prototype to avoid an error. */
9337 /* We use char because int might match the return type of a gcc2
9338 builtin and then its argument prototype would still apply. */
9343 /* The GNU C library defines this for functions which it implements
9344 to always fail with ENOSYS. Some functions are actually named
9345 something starting with __ and the normal name is an alias. */
9346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9354 if { (eval echo configure:9355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9356 eval "ac_cv_func_$ac_func=yes"
9358 echo "configure: failed program was:" >&5
9359 cat conftest.$ac_ext >&5
9361 eval "ac_cv_func_$ac_func=no"
9366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9367 echo "$ac_t""yes" 1>&6
9368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9369 cat >> confdefs.h <<EOF
9370 #define $ac_tr_func 1
9374 echo "$ac_t""no" 1>&6
9383 echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
9384 echo "configure:9385: checking for modff declaration" >&5
9385 if test x${glibcpp_cv_func_modff_use+set} != xset; then
9386 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
9387 echo $ac_n "(cached) $ac_c" 1>&6
9392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9393 ac_cpp='$CXXCPP $CPPFLAGS'
9394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9396 cross_compiling=$ac_cv_prog_cxx_cross
9398 cat > conftest.$ac_ext <<EOF
9399 #line 9400 "configure"
9400 #include "confdefs.h"
9406 if { (eval echo configure:9407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9408 glibcpp_cv_func_modff_use=yes
9410 echo "configure: failed program was:" >&5
9411 cat conftest.$ac_ext >&5
9413 glibcpp_cv_func_modff_use=no
9417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9418 ac_cpp='$CPP $CPPFLAGS'
9419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9421 cross_compiling=$ac_cv_prog_cc_cross
9427 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
9429 if test x$glibcpp_cv_func_modff_use = x"yes"; then
9430 for ac_func in modff
9432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9433 echo "configure:9434: checking for $ac_func" >&5
9434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9435 echo $ac_n "(cached) $ac_c" 1>&6
9437 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure"
9439 #include "confdefs.h"
9440 /* System header to define __stub macros and hopefully few prototypes,
9441 which can conflict with char $ac_func(); below. */
9443 /* Override any gcc2 internal prototype to avoid an error. */
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9450 /* The GNU C library defines this for functions which it implements
9451 to always fail with ENOSYS. Some functions are actually named
9452 something starting with __ and the normal name is an alias. */
9453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9461 if { (eval echo configure:9462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9463 eval "ac_cv_func_$ac_func=yes"
9465 echo "configure: failed program was:" >&5
9466 cat conftest.$ac_ext >&5
9468 eval "ac_cv_func_$ac_func=no"
9473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9474 echo "$ac_t""yes" 1>&6
9475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9476 cat >> confdefs.h <<EOF
9477 #define $ac_tr_func 1
9481 echo "$ac_t""no" 1>&6
9487 echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
9488 echo "configure:9489: checking for _modff declaration" >&5
9489 if test x${glibcpp_cv_func__modff_use+set} != xset; then
9490 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
9491 echo $ac_n "(cached) $ac_c" 1>&6
9496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9497 ac_cpp='$CXXCPP $CPPFLAGS'
9498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9500 cross_compiling=$ac_cv_prog_cxx_cross
9502 cat > conftest.$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9510 if { (eval echo configure:9511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9512 glibcpp_cv_func__modff_use=yes
9514 echo "configure: failed program was:" >&5
9515 cat conftest.$ac_ext >&5
9517 glibcpp_cv_func__modff_use=no
9521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9522 ac_cpp='$CPP $CPPFLAGS'
9523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9525 cross_compiling=$ac_cv_prog_cc_cross
9531 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
9533 if test x$glibcpp_cv_func__modff_use = x"yes"; then
9534 for ac_func in _modff
9536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9537 echo "configure:9538: checking for $ac_func" >&5
9538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9539 echo $ac_n "(cached) $ac_c" 1>&6
9541 cat > conftest.$ac_ext <<EOF
9542 #line 9543 "configure"
9543 #include "confdefs.h"
9544 /* System header to define __stub macros and hopefully few prototypes,
9545 which can conflict with char $ac_func(); below. */
9547 /* Override any gcc2 internal prototype to avoid an error. */
9548 /* We use char because int might match the return type of a gcc2
9549 builtin and then its argument prototype would still apply. */
9554 /* The GNU C library defines this for functions which it implements
9555 to always fail with ENOSYS. Some functions are actually named
9556 something starting with __ and the normal name is an alias. */
9557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9565 if { (eval echo configure:9566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9567 eval "ac_cv_func_$ac_func=yes"
9569 echo "configure: failed program was:" >&5
9570 cat conftest.$ac_ext >&5
9572 eval "ac_cv_func_$ac_func=no"
9577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9578 echo "$ac_t""yes" 1>&6
9579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9580 cat >> confdefs.h <<EOF
9581 #define $ac_tr_func 1
9585 echo "$ac_t""no" 1>&6
9594 echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
9595 echo "configure:9596: checking for powf declaration" >&5
9596 if test x${glibcpp_cv_func_powf_use+set} != xset; then
9597 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
9598 echo $ac_n "(cached) $ac_c" 1>&6
9603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9604 ac_cpp='$CXXCPP $CPPFLAGS'
9605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9607 cross_compiling=$ac_cv_prog_cxx_cross
9609 cat > conftest.$ac_ext <<EOF
9610 #line 9611 "configure"
9611 #include "confdefs.h"
9617 if { (eval echo configure:9618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9619 glibcpp_cv_func_powf_use=yes
9621 echo "configure: failed program was:" >&5
9622 cat conftest.$ac_ext >&5
9624 glibcpp_cv_func_powf_use=no
9628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9629 ac_cpp='$CPP $CPPFLAGS'
9630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9632 cross_compiling=$ac_cv_prog_cc_cross
9638 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
9640 if test x$glibcpp_cv_func_powf_use = x"yes"; then
9643 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9644 echo "configure:9645: checking for $ac_func" >&5
9645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9648 cat > conftest.$ac_ext <<EOF
9649 #line 9650 "configure"
9650 #include "confdefs.h"
9651 /* System header to define __stub macros and hopefully few prototypes,
9652 which can conflict with char $ac_func(); below. */
9654 /* Override any gcc2 internal prototype to avoid an error. */
9655 /* We use char because int might match the return type of a gcc2
9656 builtin and then its argument prototype would still apply. */
9661 /* The GNU C library defines this for functions which it implements
9662 to always fail with ENOSYS. Some functions are actually named
9663 something starting with __ and the normal name is an alias. */
9664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9674 eval "ac_cv_func_$ac_func=yes"
9676 echo "configure: failed program was:" >&5
9677 cat conftest.$ac_ext >&5
9679 eval "ac_cv_func_$ac_func=no"
9684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9685 echo "$ac_t""yes" 1>&6
9686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9687 cat >> confdefs.h <<EOF
9688 #define $ac_tr_func 1
9692 echo "$ac_t""no" 1>&6
9698 echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
9699 echo "configure:9700: checking for _powf declaration" >&5
9700 if test x${glibcpp_cv_func__powf_use+set} != xset; then
9701 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
9702 echo $ac_n "(cached) $ac_c" 1>&6
9707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9708 ac_cpp='$CXXCPP $CPPFLAGS'
9709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9711 cross_compiling=$ac_cv_prog_cxx_cross
9713 cat > conftest.$ac_ext <<EOF
9714 #line 9715 "configure"
9715 #include "confdefs.h"
9721 if { (eval echo configure:9722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9723 glibcpp_cv_func__powf_use=yes
9725 echo "configure: failed program was:" >&5
9726 cat conftest.$ac_ext >&5
9728 glibcpp_cv_func__powf_use=no
9732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9733 ac_cpp='$CPP $CPPFLAGS'
9734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9736 cross_compiling=$ac_cv_prog_cc_cross
9742 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
9744 if test x$glibcpp_cv_func__powf_use = x"yes"; then
9745 for ac_func in _powf
9747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9748 echo "configure:9749: checking for $ac_func" >&5
9749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9750 echo $ac_n "(cached) $ac_c" 1>&6
9752 cat > conftest.$ac_ext <<EOF
9753 #line 9754 "configure"
9754 #include "confdefs.h"
9755 /* System header to define __stub macros and hopefully few prototypes,
9756 which can conflict with char $ac_func(); below. */
9758 /* Override any gcc2 internal prototype to avoid an error. */
9759 /* We use char because int might match the return type of a gcc2
9760 builtin and then its argument prototype would still apply. */
9765 /* The GNU C library defines this for functions which it implements
9766 to always fail with ENOSYS. Some functions are actually named
9767 something starting with __ and the normal name is an alias. */
9768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9776 if { (eval echo configure:9777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9778 eval "ac_cv_func_$ac_func=yes"
9780 echo "configure: failed program was:" >&5
9781 cat conftest.$ac_ext >&5
9783 eval "ac_cv_func_$ac_func=no"
9788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9789 echo "$ac_t""yes" 1>&6
9790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9791 cat >> confdefs.h <<EOF
9792 #define $ac_tr_func 1
9796 echo "$ac_t""no" 1>&6
9805 echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
9806 echo "configure:9807: checking for sqrtf declaration" >&5
9807 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
9808 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
9809 echo $ac_n "(cached) $ac_c" 1>&6
9814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9815 ac_cpp='$CXXCPP $CPPFLAGS'
9816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9818 cross_compiling=$ac_cv_prog_cxx_cross
9820 cat > conftest.$ac_ext <<EOF
9821 #line 9822 "configure"
9822 #include "confdefs.h"
9824 #ifdef HAVE_IEEEFP_H
9832 if { (eval echo configure:9833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9834 glibcpp_cv_func_sqrtf_use=yes
9836 echo "configure: failed program was:" >&5
9837 cat conftest.$ac_ext >&5
9839 glibcpp_cv_func_sqrtf_use=no
9843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9844 ac_cpp='$CPP $CPPFLAGS'
9845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9847 cross_compiling=$ac_cv_prog_cc_cross
9853 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
9855 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
9856 for ac_func in sqrtf
9858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9859 echo "configure:9860: checking for $ac_func" >&5
9860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9861 echo $ac_n "(cached) $ac_c" 1>&6
9863 cat > conftest.$ac_ext <<EOF
9864 #line 9865 "configure"
9865 #include "confdefs.h"
9866 /* System header to define __stub macros and hopefully few prototypes,
9867 which can conflict with char $ac_func(); below. */
9869 /* Override any gcc2 internal prototype to avoid an error. */
9870 /* We use char because int might match the return type of a gcc2
9871 builtin and then its argument prototype would still apply. */
9876 /* The GNU C library defines this for functions which it implements
9877 to always fail with ENOSYS. Some functions are actually named
9878 something starting with __ and the normal name is an alias. */
9879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9889 eval "ac_cv_func_$ac_func=yes"
9891 echo "configure: failed program was:" >&5
9892 cat conftest.$ac_ext >&5
9894 eval "ac_cv_func_$ac_func=no"
9899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9900 echo "$ac_t""yes" 1>&6
9901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9902 cat >> confdefs.h <<EOF
9903 #define $ac_tr_func 1
9907 echo "$ac_t""no" 1>&6
9913 echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
9914 echo "configure:9915: checking for _sqrtf declaration" >&5
9915 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
9916 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
9917 echo $ac_n "(cached) $ac_c" 1>&6
9922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9923 ac_cpp='$CXXCPP $CPPFLAGS'
9924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9926 cross_compiling=$ac_cv_prog_cxx_cross
9928 cat > conftest.$ac_ext <<EOF
9929 #line 9930 "configure"
9930 #include "confdefs.h"
9932 #ifdef HAVE_IEEEFP_H
9940 if { (eval echo configure:9941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9942 glibcpp_cv_func__sqrtf_use=yes
9944 echo "configure: failed program was:" >&5
9945 cat conftest.$ac_ext >&5
9947 glibcpp_cv_func__sqrtf_use=no
9951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9952 ac_cpp='$CPP $CPPFLAGS'
9953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9955 cross_compiling=$ac_cv_prog_cc_cross
9961 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
9963 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
9964 for ac_func in _sqrtf
9966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9967 echo "configure:9968: checking for $ac_func" >&5
9968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9969 echo $ac_n "(cached) $ac_c" 1>&6
9971 cat > conftest.$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9974 /* System header to define __stub macros and hopefully few prototypes,
9975 which can conflict with char $ac_func(); below. */
9977 /* Override any gcc2 internal prototype to avoid an error. */
9978 /* We use char because int might match the return type of a gcc2
9979 builtin and then its argument prototype would still apply. */
9984 /* The GNU C library defines this for functions which it implements
9985 to always fail with ENOSYS. Some functions are actually named
9986 something starting with __ and the normal name is an alias. */
9987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9995 if { (eval echo configure:9996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9997 eval "ac_cv_func_$ac_func=yes"
9999 echo "configure: failed program was:" >&5
10000 cat conftest.$ac_ext >&5
10002 eval "ac_cv_func_$ac_func=no"
10007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10008 echo "$ac_t""yes" 1>&6
10009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10010 cat >> confdefs.h <<EOF
10011 #define $ac_tr_func 1
10015 echo "$ac_t""no" 1>&6
10024 echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
10025 echo "configure:10026: checking for sincosf declaration" >&5
10026 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
10027 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
10028 echo $ac_n "(cached) $ac_c" 1>&6
10033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10034 ac_cpp='$CXXCPP $CPPFLAGS'
10035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10037 cross_compiling=$ac_cv_prog_cxx_cross
10039 cat > conftest.$ac_ext <<EOF
10040 #line 10041 "configure"
10041 #include "confdefs.h"
10047 if { (eval echo configure:10048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10049 glibcpp_cv_func_sincosf_use=yes
10051 echo "configure: failed program was:" >&5
10052 cat conftest.$ac_ext >&5
10054 glibcpp_cv_func_sincosf_use=no
10058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10059 ac_cpp='$CPP $CPPFLAGS'
10060 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10061 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10062 cross_compiling=$ac_cv_prog_cc_cross
10068 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
10070 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
10071 for ac_func in sincosf
10073 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10074 echo "configure:10075: checking for $ac_func" >&5
10075 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10076 echo $ac_n "(cached) $ac_c" 1>&6
10078 cat > conftest.$ac_ext <<EOF
10079 #line 10080 "configure"
10080 #include "confdefs.h"
10081 /* System header to define __stub macros and hopefully few prototypes,
10082 which can conflict with char $ac_func(); below. */
10083 #include <assert.h>
10084 /* Override any gcc2 internal prototype to avoid an error. */
10085 /* We use char because int might match the return type of a gcc2
10086 builtin and then its argument prototype would still apply. */
10091 /* The GNU C library defines this for functions which it implements
10092 to always fail with ENOSYS. Some functions are actually named
10093 something starting with __ and the normal name is an alias. */
10094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10104 eval "ac_cv_func_$ac_func=yes"
10106 echo "configure: failed program was:" >&5
10107 cat conftest.$ac_ext >&5
10109 eval "ac_cv_func_$ac_func=no"
10114 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10115 echo "$ac_t""yes" 1>&6
10116 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10117 cat >> confdefs.h <<EOF
10118 #define $ac_tr_func 1
10122 echo "$ac_t""no" 1>&6
10128 echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
10129 echo "configure:10130: checking for _sincosf declaration" >&5
10130 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
10131 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
10132 echo $ac_n "(cached) $ac_c" 1>&6
10137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10138 ac_cpp='$CXXCPP $CPPFLAGS'
10139 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10140 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10141 cross_compiling=$ac_cv_prog_cxx_cross
10143 cat > conftest.$ac_ext <<EOF
10144 #line 10145 "configure"
10145 #include "confdefs.h"
10151 if { (eval echo configure:10152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10153 glibcpp_cv_func__sincosf_use=yes
10155 echo "configure: failed program was:" >&5
10156 cat conftest.$ac_ext >&5
10158 glibcpp_cv_func__sincosf_use=no
10162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10163 ac_cpp='$CPP $CPPFLAGS'
10164 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10165 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10166 cross_compiling=$ac_cv_prog_cc_cross
10172 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
10174 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
10175 for ac_func in _sincosf
10177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10178 echo "configure:10179: checking for $ac_func" >&5
10179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10180 echo $ac_n "(cached) $ac_c" 1>&6
10182 cat > conftest.$ac_ext <<EOF
10183 #line 10184 "configure"
10184 #include "confdefs.h"
10185 /* System header to define __stub macros and hopefully few prototypes,
10186 which can conflict with char $ac_func(); below. */
10187 #include <assert.h>
10188 /* Override any gcc2 internal prototype to avoid an error. */
10189 /* We use char because int might match the return type of a gcc2
10190 builtin and then its argument prototype would still apply. */
10195 /* The GNU C library defines this for functions which it implements
10196 to always fail with ENOSYS. Some functions are actually named
10197 something starting with __ and the normal name is an alias. */
10198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10206 if { (eval echo configure:10207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10208 eval "ac_cv_func_$ac_func=yes"
10210 echo "configure: failed program was:" >&5
10211 cat conftest.$ac_ext >&5
10213 eval "ac_cv_func_$ac_func=no"
10218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10219 echo "$ac_t""yes" 1>&6
10220 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10221 cat >> confdefs.h <<EOF
10222 #define $ac_tr_func 1
10226 echo "$ac_t""no" 1>&6
10235 echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
10236 echo "configure:10237: checking for finitef declaration" >&5
10237 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
10238 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
10239 echo $ac_n "(cached) $ac_c" 1>&6
10244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10245 ac_cpp='$CXXCPP $CPPFLAGS'
10246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10248 cross_compiling=$ac_cv_prog_cxx_cross
10250 cat > conftest.$ac_ext <<EOF
10251 #line 10252 "configure"
10252 #include "confdefs.h"
10254 #ifdef HAVE_IEEEFP_H
10255 #include <ieeefp.h>
10262 if { (eval echo configure:10263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10264 glibcpp_cv_func_finitef_use=yes
10266 echo "configure: failed program was:" >&5
10267 cat conftest.$ac_ext >&5
10269 glibcpp_cv_func_finitef_use=no
10273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10274 ac_cpp='$CPP $CPPFLAGS'
10275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10277 cross_compiling=$ac_cv_prog_cc_cross
10283 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
10285 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
10286 for ac_func in finitef
10288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10289 echo "configure:10290: checking for $ac_func" >&5
10290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10291 echo $ac_n "(cached) $ac_c" 1>&6
10293 cat > conftest.$ac_ext <<EOF
10294 #line 10295 "configure"
10295 #include "confdefs.h"
10296 /* System header to define __stub macros and hopefully few prototypes,
10297 which can conflict with char $ac_func(); below. */
10298 #include <assert.h>
10299 /* Override any gcc2 internal prototype to avoid an error. */
10300 /* We use char because int might match the return type of a gcc2
10301 builtin and then its argument prototype would still apply. */
10306 /* The GNU C library defines this for functions which it implements
10307 to always fail with ENOSYS. Some functions are actually named
10308 something starting with __ and the normal name is an alias. */
10309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10317 if { (eval echo configure:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10319 eval "ac_cv_func_$ac_func=yes"
10321 echo "configure: failed program was:" >&5
10322 cat conftest.$ac_ext >&5
10324 eval "ac_cv_func_$ac_func=no"
10329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10330 echo "$ac_t""yes" 1>&6
10331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10332 cat >> confdefs.h <<EOF
10333 #define $ac_tr_func 1
10337 echo "$ac_t""no" 1>&6
10343 echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
10344 echo "configure:10345: checking for _finitef declaration" >&5
10345 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
10346 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
10347 echo $ac_n "(cached) $ac_c" 1>&6
10352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10353 ac_cpp='$CXXCPP $CPPFLAGS'
10354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10356 cross_compiling=$ac_cv_prog_cxx_cross
10358 cat > conftest.$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10362 #ifdef HAVE_IEEEFP_H
10363 #include <ieeefp.h>
10370 if { (eval echo configure:10371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10372 glibcpp_cv_func__finitef_use=yes
10374 echo "configure: failed program was:" >&5
10375 cat conftest.$ac_ext >&5
10377 glibcpp_cv_func__finitef_use=no
10381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10382 ac_cpp='$CPP $CPPFLAGS'
10383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10385 cross_compiling=$ac_cv_prog_cc_cross
10391 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
10393 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
10394 for ac_func in _finitef
10396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10397 echo "configure:10398: checking for $ac_func" >&5
10398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10399 echo $ac_n "(cached) $ac_c" 1>&6
10401 cat > conftest.$ac_ext <<EOF
10402 #line 10403 "configure"
10403 #include "confdefs.h"
10404 /* System header to define __stub macros and hopefully few prototypes,
10405 which can conflict with char $ac_func(); below. */
10406 #include <assert.h>
10407 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */
10414 /* The GNU C library defines this for functions which it implements
10415 to always fail with ENOSYS. Some functions are actually named
10416 something starting with __ and the normal name is an alias. */
10417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10427 eval "ac_cv_func_$ac_func=yes"
10429 echo "configure: failed program was:" >&5
10430 cat conftest.$ac_ext >&5
10432 eval "ac_cv_func_$ac_func=no"
10437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10438 echo "$ac_t""yes" 1>&6
10439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10440 cat >> confdefs.h <<EOF
10441 #define $ac_tr_func 1
10445 echo "$ac_t""no" 1>&6
10454 echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
10455 echo "configure:10456: checking for long double trig functions" >&5
10456 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
10457 echo $ac_n "(cached) $ac_c" 1>&6
10462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10463 ac_cpp='$CXXCPP $CPPFLAGS'
10464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10466 cross_compiling=$ac_cv_prog_cxx_cross
10468 cat > conftest.$ac_ext <<EOF
10469 #line 10470 "configure"
10470 #include "confdefs.h"
10473 `for x in acosl asinl atanl \
10475 coshl sinhl tanhl; do echo "$x (0);"; done`
10478 if { (eval echo configure:10479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10480 glibcpp_cv_func_long_double_trig_use=yes
10482 echo "configure: failed program was:" >&5
10483 cat conftest.$ac_ext >&5
10485 glibcpp_cv_func_long_double_trig_use=no
10489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10490 ac_cpp='$CPP $CPPFLAGS'
10491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10493 cross_compiling=$ac_cv_prog_cc_cross
10497 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
10498 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
10499 for ac_func in acosl asinl atanl \
10503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10504 echo "configure:10505: checking for $ac_func" >&5
10505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10506 echo $ac_n "(cached) $ac_c" 1>&6
10508 cat > conftest.$ac_ext <<EOF
10509 #line 10510 "configure"
10510 #include "confdefs.h"
10511 /* System header to define __stub macros and hopefully few prototypes,
10512 which can conflict with char $ac_func(); below. */
10513 #include <assert.h>
10514 /* Override any gcc2 internal prototype to avoid an error. */
10515 /* We use char because int might match the return type of a gcc2
10516 builtin and then its argument prototype would still apply. */
10521 /* The GNU C library defines this for functions which it implements
10522 to always fail with ENOSYS. Some functions are actually named
10523 something starting with __ and the normal name is an alias. */
10524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10532 if { (eval echo configure:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10534 eval "ac_cv_func_$ac_func=yes"
10536 echo "configure: failed program was:" >&5
10537 cat conftest.$ac_ext >&5
10539 eval "ac_cv_func_$ac_func=no"
10544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10545 echo "$ac_t""yes" 1>&6
10546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10547 cat >> confdefs.h <<EOF
10548 #define $ac_tr_func 1
10552 echo "$ac_t""no" 1>&6
10559 echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
10560 echo "configure:10561: checking for long double round functions" >&5
10561 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
10562 echo $ac_n "(cached) $ac_c" 1>&6
10567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10568 ac_cpp='$CXXCPP $CPPFLAGS'
10569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10571 cross_compiling=$ac_cv_prog_cxx_cross
10573 cat > conftest.$ac_ext <<EOF
10574 #line 10575 "configure"
10575 #include "confdefs.h"
10578 `for x in ceill floorl; do echo "$x (0);"; done`
10581 if { (eval echo configure:10582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10583 glibcpp_cv_func_long_double_round_use=yes
10585 echo "configure: failed program was:" >&5
10586 cat conftest.$ac_ext >&5
10588 glibcpp_cv_func_long_double_round_use=no
10592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10593 ac_cpp='$CPP $CPPFLAGS'
10594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10596 cross_compiling=$ac_cv_prog_cc_cross
10600 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
10601 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
10602 for ac_func in ceill floorl
10604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10605 echo "configure:10606: checking for $ac_func" >&5
10606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10609 cat > conftest.$ac_ext <<EOF
10610 #line 10611 "configure"
10611 #include "confdefs.h"
10612 /* System header to define __stub macros and hopefully few prototypes,
10613 which can conflict with char $ac_func(); below. */
10614 #include <assert.h>
10615 /* Override any gcc2 internal prototype to avoid an error. */
10616 /* We use char because int might match the return type of a gcc2
10617 builtin and then its argument prototype would still apply. */
10622 /* The GNU C library defines this for functions which it implements
10623 to always fail with ENOSYS. Some functions are actually named
10624 something starting with __ and the normal name is an alias. */
10625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10633 if { (eval echo configure:10634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10635 eval "ac_cv_func_$ac_func=yes"
10637 echo "configure: failed program was:" >&5
10638 cat conftest.$ac_ext >&5
10640 eval "ac_cv_func_$ac_func=no"
10645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10646 echo "$ac_t""yes" 1>&6
10647 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10648 cat >> confdefs.h <<EOF
10649 #define $ac_tr_func 1
10653 echo "$ac_t""no" 1>&6
10661 echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
10662 echo "configure:10663: checking for isnanl declaration" >&5
10663 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
10664 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
10665 echo $ac_n "(cached) $ac_c" 1>&6
10670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10671 ac_cpp='$CXXCPP $CPPFLAGS'
10672 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10673 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10674 cross_compiling=$ac_cv_prog_cxx_cross
10676 cat > conftest.$ac_ext <<EOF
10677 #line 10678 "configure"
10678 #include "confdefs.h"
10680 #ifdef HAVE_IEEEFP_H
10681 #include <ieeefp.h>
10688 if { (eval echo configure:10689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10690 glibcpp_cv_func_isnanl_use=yes
10692 echo "configure: failed program was:" >&5
10693 cat conftest.$ac_ext >&5
10695 glibcpp_cv_func_isnanl_use=no
10699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10700 ac_cpp='$CPP $CPPFLAGS'
10701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10703 cross_compiling=$ac_cv_prog_cc_cross
10709 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
10711 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
10712 for ac_func in isnanl
10714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10715 echo "configure:10716: checking for $ac_func" >&5
10716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10717 echo $ac_n "(cached) $ac_c" 1>&6
10719 cat > conftest.$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10722 /* System header to define __stub macros and hopefully few prototypes,
10723 which can conflict with char $ac_func(); below. */
10724 #include <assert.h>
10725 /* Override any gcc2 internal prototype to avoid an error. */
10726 /* We use char because int might match the return type of a gcc2
10727 builtin and then its argument prototype would still apply. */
10732 /* The GNU C library defines this for functions which it implements
10733 to always fail with ENOSYS. Some functions are actually named
10734 something starting with __ and the normal name is an alias. */
10735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10745 eval "ac_cv_func_$ac_func=yes"
10747 echo "configure: failed program was:" >&5
10748 cat conftest.$ac_ext >&5
10750 eval "ac_cv_func_$ac_func=no"
10755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10756 echo "$ac_t""yes" 1>&6
10757 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10758 cat >> confdefs.h <<EOF
10759 #define $ac_tr_func 1
10763 echo "$ac_t""no" 1>&6
10769 echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
10770 echo "configure:10771: checking for _isnanl declaration" >&5
10771 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
10772 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
10773 echo $ac_n "(cached) $ac_c" 1>&6
10778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10779 ac_cpp='$CXXCPP $CPPFLAGS'
10780 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10781 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10782 cross_compiling=$ac_cv_prog_cxx_cross
10784 cat > conftest.$ac_ext <<EOF
10785 #line 10786 "configure"
10786 #include "confdefs.h"
10788 #ifdef HAVE_IEEEFP_H
10789 #include <ieeefp.h>
10796 if { (eval echo configure:10797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10798 glibcpp_cv_func__isnanl_use=yes
10800 echo "configure: failed program was:" >&5
10801 cat conftest.$ac_ext >&5
10803 glibcpp_cv_func__isnanl_use=no
10807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10808 ac_cpp='$CPP $CPPFLAGS'
10809 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10810 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10811 cross_compiling=$ac_cv_prog_cc_cross
10817 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
10819 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
10820 for ac_func in _isnanl
10822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10823 echo "configure:10824: checking for $ac_func" >&5
10824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10825 echo $ac_n "(cached) $ac_c" 1>&6
10827 cat > conftest.$ac_ext <<EOF
10828 #line 10829 "configure"
10829 #include "confdefs.h"
10830 /* System header to define __stub macros and hopefully few prototypes,
10831 which can conflict with char $ac_func(); below. */
10832 #include <assert.h>
10833 /* Override any gcc2 internal prototype to avoid an error. */
10834 /* We use char because int might match the return type of a gcc2
10835 builtin and then its argument prototype would still apply. */
10840 /* The GNU C library defines this for functions which it implements
10841 to always fail with ENOSYS. Some functions are actually named
10842 something starting with __ and the normal name is an alias. */
10843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10851 if { (eval echo configure:10852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10853 eval "ac_cv_func_$ac_func=yes"
10855 echo "configure: failed program was:" >&5
10856 cat conftest.$ac_ext >&5
10858 eval "ac_cv_func_$ac_func=no"
10863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10864 echo "$ac_t""yes" 1>&6
10865 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10866 cat >> confdefs.h <<EOF
10867 #define $ac_tr_func 1
10871 echo "$ac_t""no" 1>&6
10880 echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
10881 echo "configure:10882: checking for isinfl declaration" >&5
10882 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
10883 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
10884 echo $ac_n "(cached) $ac_c" 1>&6
10889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890 ac_cpp='$CXXCPP $CPPFLAGS'
10891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893 cross_compiling=$ac_cv_prog_cxx_cross
10895 cat > conftest.$ac_ext <<EOF
10896 #line 10897 "configure"
10897 #include "confdefs.h"
10899 #ifdef HAVE_IEEEFP_H
10900 #include <ieeefp.h>
10907 if { (eval echo configure:10908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10909 glibcpp_cv_func_isinfl_use=yes
10911 echo "configure: failed program was:" >&5
10912 cat conftest.$ac_ext >&5
10914 glibcpp_cv_func_isinfl_use=no
10918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10919 ac_cpp='$CPP $CPPFLAGS'
10920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10922 cross_compiling=$ac_cv_prog_cc_cross
10928 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
10930 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
10931 for ac_func in isinfl
10933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10934 echo "configure:10935: checking for $ac_func" >&5
10935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10936 echo $ac_n "(cached) $ac_c" 1>&6
10938 cat > conftest.$ac_ext <<EOF
10939 #line 10940 "configure"
10940 #include "confdefs.h"
10941 /* System header to define __stub macros and hopefully few prototypes,
10942 which can conflict with char $ac_func(); below. */
10943 #include <assert.h>
10944 /* Override any gcc2 internal prototype to avoid an error. */
10945 /* We use char because int might match the return type of a gcc2
10946 builtin and then its argument prototype would still apply. */
10951 /* The GNU C library defines this for functions which it implements
10952 to always fail with ENOSYS. Some functions are actually named
10953 something starting with __ and the normal name is an alias. */
10954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10962 if { (eval echo configure:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10964 eval "ac_cv_func_$ac_func=yes"
10966 echo "configure: failed program was:" >&5
10967 cat conftest.$ac_ext >&5
10969 eval "ac_cv_func_$ac_func=no"
10974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10975 echo "$ac_t""yes" 1>&6
10976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10977 cat >> confdefs.h <<EOF
10978 #define $ac_tr_func 1
10982 echo "$ac_t""no" 1>&6
10988 echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
10989 echo "configure:10990: checking for _isinfl declaration" >&5
10990 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
10991 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
10992 echo $ac_n "(cached) $ac_c" 1>&6
10997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10998 ac_cpp='$CXXCPP $CPPFLAGS'
10999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11001 cross_compiling=$ac_cv_prog_cxx_cross
11003 cat > conftest.$ac_ext <<EOF
11004 #line 11005 "configure"
11005 #include "confdefs.h"
11007 #ifdef HAVE_IEEEFP_H
11008 #include <ieeefp.h>
11015 if { (eval echo configure:11016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11017 glibcpp_cv_func__isinfl_use=yes
11019 echo "configure: failed program was:" >&5
11020 cat conftest.$ac_ext >&5
11022 glibcpp_cv_func__isinfl_use=no
11026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11027 ac_cpp='$CPP $CPPFLAGS'
11028 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11029 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11030 cross_compiling=$ac_cv_prog_cc_cross
11036 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
11038 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
11039 for ac_func in _isinfl
11041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11042 echo "configure:11043: checking for $ac_func" >&5
11043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11044 echo $ac_n "(cached) $ac_c" 1>&6
11046 cat > conftest.$ac_ext <<EOF
11047 #line 11048 "configure"
11048 #include "confdefs.h"
11049 /* System header to define __stub macros and hopefully few prototypes,
11050 which can conflict with char $ac_func(); below. */
11051 #include <assert.h>
11052 /* Override any gcc2 internal prototype to avoid an error. */
11053 /* We use char because int might match the return type of a gcc2
11054 builtin and then its argument prototype would still apply. */
11059 /* The GNU C library defines this for functions which it implements
11060 to always fail with ENOSYS. Some functions are actually named
11061 something starting with __ and the normal name is an alias. */
11062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11070 if { (eval echo configure:11071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11072 eval "ac_cv_func_$ac_func=yes"
11074 echo "configure: failed program was:" >&5
11075 cat conftest.$ac_ext >&5
11077 eval "ac_cv_func_$ac_func=no"
11082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11083 echo "$ac_t""yes" 1>&6
11084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11085 cat >> confdefs.h <<EOF
11086 #define $ac_tr_func 1
11090 echo "$ac_t""no" 1>&6
11099 echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
11100 echo "configure:11101: checking for copysignl declaration" >&5
11101 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
11102 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
11103 echo $ac_n "(cached) $ac_c" 1>&6
11108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11109 ac_cpp='$CXXCPP $CPPFLAGS'
11110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11112 cross_compiling=$ac_cv_prog_cxx_cross
11114 cat > conftest.$ac_ext <<EOF
11115 #line 11116 "configure"
11116 #include "confdefs.h"
11122 if { (eval echo configure:11123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11124 glibcpp_cv_func_copysignl_use=yes
11126 echo "configure: failed program was:" >&5
11127 cat conftest.$ac_ext >&5
11129 glibcpp_cv_func_copysignl_use=no
11133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11134 ac_cpp='$CPP $CPPFLAGS'
11135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11137 cross_compiling=$ac_cv_prog_cc_cross
11143 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
11145 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
11146 for ac_func in copysignl
11148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11149 echo "configure:11150: checking for $ac_func" >&5
11150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11151 echo $ac_n "(cached) $ac_c" 1>&6
11153 cat > conftest.$ac_ext <<EOF
11154 #line 11155 "configure"
11155 #include "confdefs.h"
11156 /* System header to define __stub macros and hopefully few prototypes,
11157 which can conflict with char $ac_func(); below. */
11158 #include <assert.h>
11159 /* Override any gcc2 internal prototype to avoid an error. */
11160 /* We use char because int might match the return type of a gcc2
11161 builtin and then its argument prototype would still apply. */
11166 /* The GNU C library defines this for functions which it implements
11167 to always fail with ENOSYS. Some functions are actually named
11168 something starting with __ and the normal name is an alias. */
11169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11177 if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11179 eval "ac_cv_func_$ac_func=yes"
11181 echo "configure: failed program was:" >&5
11182 cat conftest.$ac_ext >&5
11184 eval "ac_cv_func_$ac_func=no"
11189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11190 echo "$ac_t""yes" 1>&6
11191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11192 cat >> confdefs.h <<EOF
11193 #define $ac_tr_func 1
11197 echo "$ac_t""no" 1>&6
11203 echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
11204 echo "configure:11205: checking for _copysignl declaration" >&5
11205 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
11206 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
11207 echo $ac_n "(cached) $ac_c" 1>&6
11212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11213 ac_cpp='$CXXCPP $CPPFLAGS'
11214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11216 cross_compiling=$ac_cv_prog_cxx_cross
11218 cat > conftest.$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11226 if { (eval echo configure:11227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11228 glibcpp_cv_func__copysignl_use=yes
11230 echo "configure: failed program was:" >&5
11231 cat conftest.$ac_ext >&5
11233 glibcpp_cv_func__copysignl_use=no
11237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11238 ac_cpp='$CPP $CPPFLAGS'
11239 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11240 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11241 cross_compiling=$ac_cv_prog_cc_cross
11247 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
11249 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
11250 for ac_func in _copysignl
11252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11253 echo "configure:11254: checking for $ac_func" >&5
11254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11255 echo $ac_n "(cached) $ac_c" 1>&6
11257 cat > conftest.$ac_ext <<EOF
11258 #line 11259 "configure"
11259 #include "confdefs.h"
11260 /* System header to define __stub macros and hopefully few prototypes,
11261 which can conflict with char $ac_func(); below. */
11262 #include <assert.h>
11263 /* Override any gcc2 internal prototype to avoid an error. */
11264 /* We use char because int might match the return type of a gcc2
11265 builtin and then its argument prototype would still apply. */
11270 /* The GNU C library defines this for functions which it implements
11271 to always fail with ENOSYS. Some functions are actually named
11272 something starting with __ and the normal name is an alias. */
11273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11281 if { (eval echo configure:11282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11283 eval "ac_cv_func_$ac_func=yes"
11285 echo "configure: failed program was:" >&5
11286 cat conftest.$ac_ext >&5
11288 eval "ac_cv_func_$ac_func=no"
11293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11294 echo "$ac_t""yes" 1>&6
11295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11296 cat >> confdefs.h <<EOF
11297 #define $ac_tr_func 1
11301 echo "$ac_t""no" 1>&6
11310 echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
11311 echo "configure:11312: checking for atan2l declaration" >&5
11312 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
11313 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
11314 echo $ac_n "(cached) $ac_c" 1>&6
11319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11320 ac_cpp='$CXXCPP $CPPFLAGS'
11321 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11322 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11323 cross_compiling=$ac_cv_prog_cxx_cross
11325 cat > conftest.$ac_ext <<EOF
11326 #line 11327 "configure"
11327 #include "confdefs.h"
11333 if { (eval echo configure:11334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11335 glibcpp_cv_func_atan2l_use=yes
11337 echo "configure: failed program was:" >&5
11338 cat conftest.$ac_ext >&5
11340 glibcpp_cv_func_atan2l_use=no
11344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11345 ac_cpp='$CPP $CPPFLAGS'
11346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11348 cross_compiling=$ac_cv_prog_cc_cross
11354 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
11356 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
11357 for ac_func in atan2l
11359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11360 echo "configure:11361: checking for $ac_func" >&5
11361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11362 echo $ac_n "(cached) $ac_c" 1>&6
11364 cat > conftest.$ac_ext <<EOF
11365 #line 11366 "configure"
11366 #include "confdefs.h"
11367 /* System header to define __stub macros and hopefully few prototypes,
11368 which can conflict with char $ac_func(); below. */
11369 #include <assert.h>
11370 /* Override any gcc2 internal prototype to avoid an error. */
11371 /* We use char because int might match the return type of a gcc2
11372 builtin and then its argument prototype would still apply. */
11377 /* The GNU C library defines this for functions which it implements
11378 to always fail with ENOSYS. Some functions are actually named
11379 something starting with __ and the normal name is an alias. */
11380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11388 if { (eval echo configure:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11390 eval "ac_cv_func_$ac_func=yes"
11392 echo "configure: failed program was:" >&5
11393 cat conftest.$ac_ext >&5
11395 eval "ac_cv_func_$ac_func=no"
11400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11401 echo "$ac_t""yes" 1>&6
11402 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11403 cat >> confdefs.h <<EOF
11404 #define $ac_tr_func 1
11408 echo "$ac_t""no" 1>&6
11414 echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
11415 echo "configure:11416: checking for _atan2l declaration" >&5
11416 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
11417 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
11418 echo $ac_n "(cached) $ac_c" 1>&6
11423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11424 ac_cpp='$CXXCPP $CPPFLAGS'
11425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11427 cross_compiling=$ac_cv_prog_cxx_cross
11429 cat > conftest.$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11437 if { (eval echo configure:11438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11439 glibcpp_cv_func__atan2l_use=yes
11441 echo "configure: failed program was:" >&5
11442 cat conftest.$ac_ext >&5
11444 glibcpp_cv_func__atan2l_use=no
11448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11449 ac_cpp='$CPP $CPPFLAGS'
11450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11452 cross_compiling=$ac_cv_prog_cc_cross
11458 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
11460 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
11461 for ac_func in _atan2l
11463 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11464 echo "configure:11465: checking for $ac_func" >&5
11465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11466 echo $ac_n "(cached) $ac_c" 1>&6
11468 cat > conftest.$ac_ext <<EOF
11469 #line 11470 "configure"
11470 #include "confdefs.h"
11471 /* System header to define __stub macros and hopefully few prototypes,
11472 which can conflict with char $ac_func(); below. */
11473 #include <assert.h>
11474 /* Override any gcc2 internal prototype to avoid an error. */
11475 /* We use char because int might match the return type of a gcc2
11476 builtin and then its argument prototype would still apply. */
11481 /* The GNU C library defines this for functions which it implements
11482 to always fail with ENOSYS. Some functions are actually named
11483 something starting with __ and the normal name is an alias. */
11484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11492 if { (eval echo configure:11493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11494 eval "ac_cv_func_$ac_func=yes"
11496 echo "configure: failed program was:" >&5
11497 cat conftest.$ac_ext >&5
11499 eval "ac_cv_func_$ac_func=no"
11504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11505 echo "$ac_t""yes" 1>&6
11506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11507 cat >> confdefs.h <<EOF
11508 #define $ac_tr_func 1
11512 echo "$ac_t""no" 1>&6
11521 echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
11522 echo "configure:11523: checking for expl declaration" >&5
11523 if test x${glibcpp_cv_func_expl_use+set} != xset; then
11524 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
11525 echo $ac_n "(cached) $ac_c" 1>&6
11530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11531 ac_cpp='$CXXCPP $CPPFLAGS'
11532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11534 cross_compiling=$ac_cv_prog_cxx_cross
11536 cat > conftest.$ac_ext <<EOF
11537 #line 11538 "configure"
11538 #include "confdefs.h"
11540 #ifdef HAVE_IEEEFP_H
11541 #include <ieeefp.h>
11548 if { (eval echo configure:11549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11550 glibcpp_cv_func_expl_use=yes
11552 echo "configure: failed program was:" >&5
11553 cat conftest.$ac_ext >&5
11555 glibcpp_cv_func_expl_use=no
11559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11560 ac_cpp='$CPP $CPPFLAGS'
11561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11563 cross_compiling=$ac_cv_prog_cc_cross
11569 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
11571 if test x$glibcpp_cv_func_expl_use = x"yes"; then
11572 for ac_func in expl
11574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11575 echo "configure:11576: checking for $ac_func" >&5
11576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11577 echo $ac_n "(cached) $ac_c" 1>&6
11579 cat > conftest.$ac_ext <<EOF
11580 #line 11581 "configure"
11581 #include "confdefs.h"
11582 /* System header to define __stub macros and hopefully few prototypes,
11583 which can conflict with char $ac_func(); below. */
11584 #include <assert.h>
11585 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11592 /* The GNU C library defines this for functions which it implements
11593 to always fail with ENOSYS. Some functions are actually named
11594 something starting with __ and the normal name is an alias. */
11595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11605 eval "ac_cv_func_$ac_func=yes"
11607 echo "configure: failed program was:" >&5
11608 cat conftest.$ac_ext >&5
11610 eval "ac_cv_func_$ac_func=no"
11615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11618 cat >> confdefs.h <<EOF
11619 #define $ac_tr_func 1
11623 echo "$ac_t""no" 1>&6
11629 echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
11630 echo "configure:11631: checking for _expl declaration" >&5
11631 if test x${glibcpp_cv_func__expl_use+set} != xset; then
11632 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11639 ac_cpp='$CXXCPP $CPPFLAGS'
11640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11642 cross_compiling=$ac_cv_prog_cxx_cross
11644 cat > conftest.$ac_ext <<EOF
11645 #line 11646 "configure"
11646 #include "confdefs.h"
11648 #ifdef HAVE_IEEEFP_H
11649 #include <ieeefp.h>
11656 if { (eval echo configure:11657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11658 glibcpp_cv_func__expl_use=yes
11660 echo "configure: failed program was:" >&5
11661 cat conftest.$ac_ext >&5
11663 glibcpp_cv_func__expl_use=no
11667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11668 ac_cpp='$CPP $CPPFLAGS'
11669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11671 cross_compiling=$ac_cv_prog_cc_cross
11677 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
11679 if test x$glibcpp_cv_func__expl_use = x"yes"; then
11680 for ac_func in _expl
11682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11683 echo "configure:11684: checking for $ac_func" >&5
11684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11685 echo $ac_n "(cached) $ac_c" 1>&6
11687 cat > conftest.$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11690 /* System header to define __stub macros and hopefully few prototypes,
11691 which can conflict with char $ac_func(); below. */
11692 #include <assert.h>
11693 /* Override any gcc2 internal prototype to avoid an error. */
11694 /* We use char because int might match the return type of a gcc2
11695 builtin and then its argument prototype would still apply. */
11700 /* The GNU C library defines this for functions which it implements
11701 to always fail with ENOSYS. Some functions are actually named
11702 something starting with __ and the normal name is an alias. */
11703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11711 if { (eval echo configure:11712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11713 eval "ac_cv_func_$ac_func=yes"
11715 echo "configure: failed program was:" >&5
11716 cat conftest.$ac_ext >&5
11718 eval "ac_cv_func_$ac_func=no"
11723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11724 echo "$ac_t""yes" 1>&6
11725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11726 cat >> confdefs.h <<EOF
11727 #define $ac_tr_func 1
11731 echo "$ac_t""no" 1>&6
11740 echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
11741 echo "configure:11742: checking for fabsl declaration" >&5
11742 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
11743 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
11744 echo $ac_n "(cached) $ac_c" 1>&6
11749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11750 ac_cpp='$CXXCPP $CPPFLAGS'
11751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11753 cross_compiling=$ac_cv_prog_cxx_cross
11755 cat > conftest.$ac_ext <<EOF
11756 #line 11757 "configure"
11757 #include "confdefs.h"
11759 #ifdef HAVE_IEEEFP_H
11760 #include <ieeefp.h>
11767 if { (eval echo configure:11768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11769 glibcpp_cv_func_fabsl_use=yes
11771 echo "configure: failed program was:" >&5
11772 cat conftest.$ac_ext >&5
11774 glibcpp_cv_func_fabsl_use=no
11778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11779 ac_cpp='$CPP $CPPFLAGS'
11780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11782 cross_compiling=$ac_cv_prog_cc_cross
11788 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
11790 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
11791 for ac_func in fabsl
11793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11794 echo "configure:11795: checking for $ac_func" >&5
11795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11796 echo $ac_n "(cached) $ac_c" 1>&6
11798 cat > conftest.$ac_ext <<EOF
11799 #line 11800 "configure"
11800 #include "confdefs.h"
11801 /* System header to define __stub macros and hopefully few prototypes,
11802 which can conflict with char $ac_func(); below. */
11803 #include <assert.h>
11804 /* Override any gcc2 internal prototype to avoid an error. */
11805 /* We use char because int might match the return type of a gcc2
11806 builtin and then its argument prototype would still apply. */
11811 /* The GNU C library defines this for functions which it implements
11812 to always fail with ENOSYS. Some functions are actually named
11813 something starting with __ and the normal name is an alias. */
11814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11824 eval "ac_cv_func_$ac_func=yes"
11826 echo "configure: failed program was:" >&5
11827 cat conftest.$ac_ext >&5
11829 eval "ac_cv_func_$ac_func=no"
11834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11835 echo "$ac_t""yes" 1>&6
11836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11837 cat >> confdefs.h <<EOF
11838 #define $ac_tr_func 1
11842 echo "$ac_t""no" 1>&6
11848 echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
11849 echo "configure:11850: checking for _fabsl declaration" >&5
11850 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
11851 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
11852 echo $ac_n "(cached) $ac_c" 1>&6
11857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11858 ac_cpp='$CXXCPP $CPPFLAGS'
11859 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11860 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11861 cross_compiling=$ac_cv_prog_cxx_cross
11863 cat > conftest.$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11867 #ifdef HAVE_IEEEFP_H
11868 #include <ieeefp.h>
11875 if { (eval echo configure:11876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11877 glibcpp_cv_func__fabsl_use=yes
11879 echo "configure: failed program was:" >&5
11880 cat conftest.$ac_ext >&5
11882 glibcpp_cv_func__fabsl_use=no
11886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11887 ac_cpp='$CPP $CPPFLAGS'
11888 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11889 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11890 cross_compiling=$ac_cv_prog_cc_cross
11896 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
11898 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
11899 for ac_func in _fabsl
11901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11902 echo "configure:11903: checking for $ac_func" >&5
11903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11904 echo $ac_n "(cached) $ac_c" 1>&6
11906 cat > conftest.$ac_ext <<EOF
11907 #line 11908 "configure"
11908 #include "confdefs.h"
11909 /* System header to define __stub macros and hopefully few prototypes,
11910 which can conflict with char $ac_func(); below. */
11911 #include <assert.h>
11912 /* Override any gcc2 internal prototype to avoid an error. */
11913 /* We use char because int might match the return type of a gcc2
11914 builtin and then its argument prototype would still apply. */
11919 /* The GNU C library defines this for functions which it implements
11920 to always fail with ENOSYS. Some functions are actually named
11921 something starting with __ and the normal name is an alias. */
11922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11930 if { (eval echo configure:11931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11932 eval "ac_cv_func_$ac_func=yes"
11934 echo "configure: failed program was:" >&5
11935 cat conftest.$ac_ext >&5
11937 eval "ac_cv_func_$ac_func=no"
11942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11943 echo "$ac_t""yes" 1>&6
11944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11945 cat >> confdefs.h <<EOF
11946 #define $ac_tr_func 1
11950 echo "$ac_t""no" 1>&6
11959 echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
11960 echo "configure:11961: checking for fmodl declaration" >&5
11961 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
11962 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11969 ac_cpp='$CXXCPP $CPPFLAGS'
11970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11972 cross_compiling=$ac_cv_prog_cxx_cross
11974 cat > conftest.$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11982 if { (eval echo configure:11983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11984 glibcpp_cv_func_fmodl_use=yes
11986 echo "configure: failed program was:" >&5
11987 cat conftest.$ac_ext >&5
11989 glibcpp_cv_func_fmodl_use=no
11993 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11996 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11997 cross_compiling=$ac_cv_prog_cc_cross
12003 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
12005 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
12006 for ac_func in fmodl
12008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12009 echo "configure:12010: checking for $ac_func" >&5
12010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12011 echo $ac_n "(cached) $ac_c" 1>&6
12013 cat > conftest.$ac_ext <<EOF
12014 #line 12015 "configure"
12015 #include "confdefs.h"
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char $ac_func(); below. */
12018 #include <assert.h>
12019 /* Override any gcc2 internal prototype to avoid an error. */
12020 /* We use char because int might match the return type of a gcc2
12021 builtin and then its argument prototype would still apply. */
12026 /* The GNU C library defines this for functions which it implements
12027 to always fail with ENOSYS. Some functions are actually named
12028 something starting with __ and the normal name is an alias. */
12029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12037 if { (eval echo configure:12038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12039 eval "ac_cv_func_$ac_func=yes"
12041 echo "configure: failed program was:" >&5
12042 cat conftest.$ac_ext >&5
12044 eval "ac_cv_func_$ac_func=no"
12049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12050 echo "$ac_t""yes" 1>&6
12051 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12052 cat >> confdefs.h <<EOF
12053 #define $ac_tr_func 1
12057 echo "$ac_t""no" 1>&6
12063 echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
12064 echo "configure:12065: checking for _fmodl declaration" >&5
12065 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
12066 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12073 ac_cpp='$CXXCPP $CPPFLAGS'
12074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12076 cross_compiling=$ac_cv_prog_cxx_cross
12078 cat > conftest.$ac_ext <<EOF
12079 #line 12080 "configure"
12080 #include "confdefs.h"
12086 if { (eval echo configure:12087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12088 glibcpp_cv_func__fmodl_use=yes
12090 echo "configure: failed program was:" >&5
12091 cat conftest.$ac_ext >&5
12093 glibcpp_cv_func__fmodl_use=no
12097 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12098 ac_cpp='$CPP $CPPFLAGS'
12099 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12100 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12101 cross_compiling=$ac_cv_prog_cc_cross
12107 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
12109 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
12110 for ac_func in _fmodl
12112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12113 echo "configure:12114: checking for $ac_func" >&5
12114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12115 echo $ac_n "(cached) $ac_c" 1>&6
12117 cat > conftest.$ac_ext <<EOF
12118 #line 12119 "configure"
12119 #include "confdefs.h"
12120 /* System header to define __stub macros and hopefully few prototypes,
12121 which can conflict with char $ac_func(); below. */
12122 #include <assert.h>
12123 /* Override any gcc2 internal prototype to avoid an error. */
12124 /* We use char because int might match the return type of a gcc2
12125 builtin and then its argument prototype would still apply. */
12130 /* The GNU C library defines this for functions which it implements
12131 to always fail with ENOSYS. Some functions are actually named
12132 something starting with __ and the normal name is an alias. */
12133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12141 if { (eval echo configure:12142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12143 eval "ac_cv_func_$ac_func=yes"
12145 echo "configure: failed program was:" >&5
12146 cat conftest.$ac_ext >&5
12148 eval "ac_cv_func_$ac_func=no"
12153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12154 echo "$ac_t""yes" 1>&6
12155 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12156 cat >> confdefs.h <<EOF
12157 #define $ac_tr_func 1
12161 echo "$ac_t""no" 1>&6
12170 echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
12171 echo "configure:12172: checking for frexpl declaration" >&5
12172 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
12173 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12180 ac_cpp='$CXXCPP $CPPFLAGS'
12181 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12182 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12183 cross_compiling=$ac_cv_prog_cxx_cross
12185 cat > conftest.$ac_ext <<EOF
12186 #line 12187 "configure"
12187 #include "confdefs.h"
12193 if { (eval echo configure:12194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12195 glibcpp_cv_func_frexpl_use=yes
12197 echo "configure: failed program was:" >&5
12198 cat conftest.$ac_ext >&5
12200 glibcpp_cv_func_frexpl_use=no
12204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12205 ac_cpp='$CPP $CPPFLAGS'
12206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12208 cross_compiling=$ac_cv_prog_cc_cross
12214 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
12216 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
12217 for ac_func in frexpl
12219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12220 echo "configure:12221: checking for $ac_func" >&5
12221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12222 echo $ac_n "(cached) $ac_c" 1>&6
12224 cat > conftest.$ac_ext <<EOF
12225 #line 12226 "configure"
12226 #include "confdefs.h"
12227 /* System header to define __stub macros and hopefully few prototypes,
12228 which can conflict with char $ac_func(); below. */
12229 #include <assert.h>
12230 /* Override any gcc2 internal prototype to avoid an error. */
12231 /* We use char because int might match the return type of a gcc2
12232 builtin and then its argument prototype would still apply. */
12237 /* The GNU C library defines this for functions which it implements
12238 to always fail with ENOSYS. Some functions are actually named
12239 something starting with __ and the normal name is an alias. */
12240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12248 if { (eval echo configure:12249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12250 eval "ac_cv_func_$ac_func=yes"
12252 echo "configure: failed program was:" >&5
12253 cat conftest.$ac_ext >&5
12255 eval "ac_cv_func_$ac_func=no"
12260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12261 echo "$ac_t""yes" 1>&6
12262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12263 cat >> confdefs.h <<EOF
12264 #define $ac_tr_func 1
12268 echo "$ac_t""no" 1>&6
12274 echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
12275 echo "configure:12276: checking for _frexpl declaration" >&5
12276 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
12277 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
12278 echo $ac_n "(cached) $ac_c" 1>&6
12283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12284 ac_cpp='$CXXCPP $CPPFLAGS'
12285 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12286 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12287 cross_compiling=$ac_cv_prog_cxx_cross
12289 cat > conftest.$ac_ext <<EOF
12290 #line 12291 "configure"
12291 #include "confdefs.h"
12297 if { (eval echo configure:12298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12299 glibcpp_cv_func__frexpl_use=yes
12301 echo "configure: failed program was:" >&5
12302 cat conftest.$ac_ext >&5
12304 glibcpp_cv_func__frexpl_use=no
12308 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12309 ac_cpp='$CPP $CPPFLAGS'
12310 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12311 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12312 cross_compiling=$ac_cv_prog_cc_cross
12318 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
12320 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
12321 for ac_func in _frexpl
12323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12324 echo "configure:12325: checking for $ac_func" >&5
12325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12326 echo $ac_n "(cached) $ac_c" 1>&6
12328 cat > conftest.$ac_ext <<EOF
12329 #line 12330 "configure"
12330 #include "confdefs.h"
12331 /* System header to define __stub macros and hopefully few prototypes,
12332 which can conflict with char $ac_func(); below. */
12333 #include <assert.h>
12334 /* Override any gcc2 internal prototype to avoid an error. */
12335 /* We use char because int might match the return type of a gcc2
12336 builtin and then its argument prototype would still apply. */
12341 /* The GNU C library defines this for functions which it implements
12342 to always fail with ENOSYS. Some functions are actually named
12343 something starting with __ and the normal name is an alias. */
12344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12352 if { (eval echo configure:12353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12354 eval "ac_cv_func_$ac_func=yes"
12356 echo "configure: failed program was:" >&5
12357 cat conftest.$ac_ext >&5
12359 eval "ac_cv_func_$ac_func=no"
12364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12365 echo "$ac_t""yes" 1>&6
12366 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12367 cat >> confdefs.h <<EOF
12368 #define $ac_tr_func 1
12372 echo "$ac_t""no" 1>&6
12381 echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
12382 echo "configure:12383: checking for ldexpl declaration" >&5
12383 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
12384 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
12385 echo $ac_n "(cached) $ac_c" 1>&6
12390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12391 ac_cpp='$CXXCPP $CPPFLAGS'
12392 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12393 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12394 cross_compiling=$ac_cv_prog_cxx_cross
12396 cat > conftest.$ac_ext <<EOF
12397 #line 12398 "configure"
12398 #include "confdefs.h"
12404 if { (eval echo configure:12405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12406 glibcpp_cv_func_ldexpl_use=yes
12408 echo "configure: failed program was:" >&5
12409 cat conftest.$ac_ext >&5
12411 glibcpp_cv_func_ldexpl_use=no
12415 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12416 ac_cpp='$CPP $CPPFLAGS'
12417 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12418 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12419 cross_compiling=$ac_cv_prog_cc_cross
12425 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
12427 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
12428 for ac_func in ldexpl
12430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12431 echo "configure:12432: checking for $ac_func" >&5
12432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12433 echo $ac_n "(cached) $ac_c" 1>&6
12435 cat > conftest.$ac_ext <<EOF
12436 #line 12437 "configure"
12437 #include "confdefs.h"
12438 /* System header to define __stub macros and hopefully few prototypes,
12439 which can conflict with char $ac_func(); below. */
12440 #include <assert.h>
12441 /* Override any gcc2 internal prototype to avoid an error. */
12442 /* We use char because int might match the return type of a gcc2
12443 builtin and then its argument prototype would still apply. */
12448 /* The GNU C library defines this for functions which it implements
12449 to always fail with ENOSYS. Some functions are actually named
12450 something starting with __ and the normal name is an alias. */
12451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12459 if { (eval echo configure:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12461 eval "ac_cv_func_$ac_func=yes"
12463 echo "configure: failed program was:" >&5
12464 cat conftest.$ac_ext >&5
12466 eval "ac_cv_func_$ac_func=no"
12471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12472 echo "$ac_t""yes" 1>&6
12473 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12474 cat >> confdefs.h <<EOF
12475 #define $ac_tr_func 1
12479 echo "$ac_t""no" 1>&6
12485 echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
12486 echo "configure:12487: checking for _ldexpl declaration" >&5
12487 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
12488 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
12489 echo $ac_n "(cached) $ac_c" 1>&6
12494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12495 ac_cpp='$CXXCPP $CPPFLAGS'
12496 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12497 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12498 cross_compiling=$ac_cv_prog_cxx_cross
12500 cat > conftest.$ac_ext <<EOF
12501 #line 12502 "configure"
12502 #include "confdefs.h"
12508 if { (eval echo configure:12509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12510 glibcpp_cv_func__ldexpl_use=yes
12512 echo "configure: failed program was:" >&5
12513 cat conftest.$ac_ext >&5
12515 glibcpp_cv_func__ldexpl_use=no
12519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12520 ac_cpp='$CPP $CPPFLAGS'
12521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12523 cross_compiling=$ac_cv_prog_cc_cross
12529 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
12531 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
12532 for ac_func in _ldexpl
12534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12535 echo "configure:12536: checking for $ac_func" >&5
12536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12537 echo $ac_n "(cached) $ac_c" 1>&6
12539 cat > conftest.$ac_ext <<EOF
12540 #line 12541 "configure"
12541 #include "confdefs.h"
12542 /* System header to define __stub macros and hopefully few prototypes,
12543 which can conflict with char $ac_func(); below. */
12544 #include <assert.h>
12545 /* Override any gcc2 internal prototype to avoid an error. */
12546 /* We use char because int might match the return type of a gcc2
12547 builtin and then its argument prototype would still apply. */
12552 /* The GNU C library defines this for functions which it implements
12553 to always fail with ENOSYS. Some functions are actually named
12554 something starting with __ and the normal name is an alias. */
12555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12563 if { (eval echo configure:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12565 eval "ac_cv_func_$ac_func=yes"
12567 echo "configure: failed program was:" >&5
12568 cat conftest.$ac_ext >&5
12570 eval "ac_cv_func_$ac_func=no"
12575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12576 echo "$ac_t""yes" 1>&6
12577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12578 cat >> confdefs.h <<EOF
12579 #define $ac_tr_func 1
12583 echo "$ac_t""no" 1>&6
12592 echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
12593 echo "configure:12594: checking for logl declaration" >&5
12594 if test x${glibcpp_cv_func_logl_use+set} != xset; then
12595 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
12596 echo $ac_n "(cached) $ac_c" 1>&6
12601 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12602 ac_cpp='$CXXCPP $CPPFLAGS'
12603 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12604 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12605 cross_compiling=$ac_cv_prog_cxx_cross
12607 cat > conftest.$ac_ext <<EOF
12608 #line 12609 "configure"
12609 #include "confdefs.h"
12611 #ifdef HAVE_IEEEFP_H
12612 #include <ieeefp.h>
12619 if { (eval echo configure:12620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12621 glibcpp_cv_func_logl_use=yes
12623 echo "configure: failed program was:" >&5
12624 cat conftest.$ac_ext >&5
12626 glibcpp_cv_func_logl_use=no
12630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12634 cross_compiling=$ac_cv_prog_cc_cross
12640 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
12642 if test x$glibcpp_cv_func_logl_use = x"yes"; then
12643 for ac_func in logl
12645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12646 echo "configure:12647: checking for $ac_func" >&5
12647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12648 echo $ac_n "(cached) $ac_c" 1>&6
12650 cat > conftest.$ac_ext <<EOF
12651 #line 12652 "configure"
12652 #include "confdefs.h"
12653 /* System header to define __stub macros and hopefully few prototypes,
12654 which can conflict with char $ac_func(); below. */
12655 #include <assert.h>
12656 /* Override any gcc2 internal prototype to avoid an error. */
12657 /* We use char because int might match the return type of a gcc2
12658 builtin and then its argument prototype would still apply. */
12663 /* The GNU C library defines this for functions which it implements
12664 to always fail with ENOSYS. Some functions are actually named
12665 something starting with __ and the normal name is an alias. */
12666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12676 eval "ac_cv_func_$ac_func=yes"
12678 echo "configure: failed program was:" >&5
12679 cat conftest.$ac_ext >&5
12681 eval "ac_cv_func_$ac_func=no"
12686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12687 echo "$ac_t""yes" 1>&6
12688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12689 cat >> confdefs.h <<EOF
12690 #define $ac_tr_func 1
12694 echo "$ac_t""no" 1>&6
12700 echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
12701 echo "configure:12702: checking for _logl declaration" >&5
12702 if test x${glibcpp_cv_func__logl_use+set} != xset; then
12703 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
12704 echo $ac_n "(cached) $ac_c" 1>&6
12709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12710 ac_cpp='$CXXCPP $CPPFLAGS'
12711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12713 cross_compiling=$ac_cv_prog_cxx_cross
12715 cat > conftest.$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12719 #ifdef HAVE_IEEEFP_H
12720 #include <ieeefp.h>
12727 if { (eval echo configure:12728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12729 glibcpp_cv_func__logl_use=yes
12731 echo "configure: failed program was:" >&5
12732 cat conftest.$ac_ext >&5
12734 glibcpp_cv_func__logl_use=no
12738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12739 ac_cpp='$CPP $CPPFLAGS'
12740 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12741 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742 cross_compiling=$ac_cv_prog_cc_cross
12748 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
12750 if test x$glibcpp_cv_func__logl_use = x"yes"; then
12751 for ac_func in _logl
12753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12754 echo "configure:12755: checking for $ac_func" >&5
12755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12756 echo $ac_n "(cached) $ac_c" 1>&6
12758 cat > conftest.$ac_ext <<EOF
12759 #line 12760 "configure"
12760 #include "confdefs.h"
12761 /* System header to define __stub macros and hopefully few prototypes,
12762 which can conflict with char $ac_func(); below. */
12763 #include <assert.h>
12764 /* Override any gcc2 internal prototype to avoid an error. */
12765 /* We use char because int might match the return type of a gcc2
12766 builtin and then its argument prototype would still apply. */
12771 /* The GNU C library defines this for functions which it implements
12772 to always fail with ENOSYS. Some functions are actually named
12773 something starting with __ and the normal name is an alias. */
12774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12782 if { (eval echo configure:12783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12784 eval "ac_cv_func_$ac_func=yes"
12786 echo "configure: failed program was:" >&5
12787 cat conftest.$ac_ext >&5
12789 eval "ac_cv_func_$ac_func=no"
12794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12795 echo "$ac_t""yes" 1>&6
12796 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12797 cat >> confdefs.h <<EOF
12798 #define $ac_tr_func 1
12802 echo "$ac_t""no" 1>&6
12811 echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
12812 echo "configure:12813: checking for log10l declaration" >&5
12813 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
12814 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
12815 echo $ac_n "(cached) $ac_c" 1>&6
12820 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12821 ac_cpp='$CXXCPP $CPPFLAGS'
12822 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12823 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12824 cross_compiling=$ac_cv_prog_cxx_cross
12826 cat > conftest.$ac_ext <<EOF
12827 #line 12828 "configure"
12828 #include "confdefs.h"
12830 #ifdef HAVE_IEEEFP_H
12831 #include <ieeefp.h>
12838 if { (eval echo configure:12839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12840 glibcpp_cv_func_log10l_use=yes
12842 echo "configure: failed program was:" >&5
12843 cat conftest.$ac_ext >&5
12845 glibcpp_cv_func_log10l_use=no
12849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12850 ac_cpp='$CPP $CPPFLAGS'
12851 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12852 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12853 cross_compiling=$ac_cv_prog_cc_cross
12859 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
12861 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
12862 for ac_func in log10l
12864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12865 echo "configure:12866: checking for $ac_func" >&5
12866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12867 echo $ac_n "(cached) $ac_c" 1>&6
12869 cat > conftest.$ac_ext <<EOF
12870 #line 12871 "configure"
12871 #include "confdefs.h"
12872 /* System header to define __stub macros and hopefully few prototypes,
12873 which can conflict with char $ac_func(); below. */
12874 #include <assert.h>
12875 /* Override any gcc2 internal prototype to avoid an error. */
12876 /* We use char because int might match the return type of a gcc2
12877 builtin and then its argument prototype would still apply. */
12882 /* The GNU C library defines this for functions which it implements
12883 to always fail with ENOSYS. Some functions are actually named
12884 something starting with __ and the normal name is an alias. */
12885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12893 if { (eval echo configure:12894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12895 eval "ac_cv_func_$ac_func=yes"
12897 echo "configure: failed program was:" >&5
12898 cat conftest.$ac_ext >&5
12900 eval "ac_cv_func_$ac_func=no"
12905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12906 echo "$ac_t""yes" 1>&6
12907 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12908 cat >> confdefs.h <<EOF
12909 #define $ac_tr_func 1
12913 echo "$ac_t""no" 1>&6
12919 echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
12920 echo "configure:12921: checking for _log10l declaration" >&5
12921 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
12922 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
12923 echo $ac_n "(cached) $ac_c" 1>&6
12928 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12929 ac_cpp='$CXXCPP $CPPFLAGS'
12930 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12931 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12932 cross_compiling=$ac_cv_prog_cxx_cross
12934 cat > conftest.$ac_ext <<EOF
12935 #line 12936 "configure"
12936 #include "confdefs.h"
12938 #ifdef HAVE_IEEEFP_H
12939 #include <ieeefp.h>
12946 if { (eval echo configure:12947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12948 glibcpp_cv_func__log10l_use=yes
12950 echo "configure: failed program was:" >&5
12951 cat conftest.$ac_ext >&5
12953 glibcpp_cv_func__log10l_use=no
12957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12958 ac_cpp='$CPP $CPPFLAGS'
12959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12961 cross_compiling=$ac_cv_prog_cc_cross
12967 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
12969 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
12970 for ac_func in _log10l
12972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12973 echo "configure:12974: checking for $ac_func" >&5
12974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12975 echo $ac_n "(cached) $ac_c" 1>&6
12977 cat > conftest.$ac_ext <<EOF
12978 #line 12979 "configure"
12979 #include "confdefs.h"
12980 /* System header to define __stub macros and hopefully few prototypes,
12981 which can conflict with char $ac_func(); below. */
12982 #include <assert.h>
12983 /* Override any gcc2 internal prototype to avoid an error. */
12984 /* We use char because int might match the return type of a gcc2
12985 builtin and then its argument prototype would still apply. */
12990 /* The GNU C library defines this for functions which it implements
12991 to always fail with ENOSYS. Some functions are actually named
12992 something starting with __ and the normal name is an alias. */
12993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13001 if { (eval echo configure:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13003 eval "ac_cv_func_$ac_func=yes"
13005 echo "configure: failed program was:" >&5
13006 cat conftest.$ac_ext >&5
13008 eval "ac_cv_func_$ac_func=no"
13013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13014 echo "$ac_t""yes" 1>&6
13015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13016 cat >> confdefs.h <<EOF
13017 #define $ac_tr_func 1
13021 echo "$ac_t""no" 1>&6
13030 echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
13031 echo "configure:13032: checking for modfl declaration" >&5
13032 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
13033 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13040 ac_cpp='$CXXCPP $CPPFLAGS'
13041 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13042 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13043 cross_compiling=$ac_cv_prog_cxx_cross
13045 cat > conftest.$ac_ext <<EOF
13046 #line 13047 "configure"
13047 #include "confdefs.h"
13053 if { (eval echo configure:13054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13055 glibcpp_cv_func_modfl_use=yes
13057 echo "configure: failed program was:" >&5
13058 cat conftest.$ac_ext >&5
13060 glibcpp_cv_func_modfl_use=no
13064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13065 ac_cpp='$CPP $CPPFLAGS'
13066 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13067 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13068 cross_compiling=$ac_cv_prog_cc_cross
13074 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
13076 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
13077 for ac_func in modfl
13079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13080 echo "configure:13081: checking for $ac_func" >&5
13081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13082 echo $ac_n "(cached) $ac_c" 1>&6
13084 cat > conftest.$ac_ext <<EOF
13085 #line 13086 "configure"
13086 #include "confdefs.h"
13087 /* System header to define __stub macros and hopefully few prototypes,
13088 which can conflict with char $ac_func(); below. */
13089 #include <assert.h>
13090 /* Override any gcc2 internal prototype to avoid an error. */
13091 /* We use char because int might match the return type of a gcc2
13092 builtin and then its argument prototype would still apply. */
13097 /* The GNU C library defines this for functions which it implements
13098 to always fail with ENOSYS. Some functions are actually named
13099 something starting with __ and the normal name is an alias. */
13100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13108 if { (eval echo configure:13109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13110 eval "ac_cv_func_$ac_func=yes"
13112 echo "configure: failed program was:" >&5
13113 cat conftest.$ac_ext >&5
13115 eval "ac_cv_func_$ac_func=no"
13120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13121 echo "$ac_t""yes" 1>&6
13122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13123 cat >> confdefs.h <<EOF
13124 #define $ac_tr_func 1
13128 echo "$ac_t""no" 1>&6
13134 echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
13135 echo "configure:13136: checking for _modfl declaration" >&5
13136 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
13137 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
13138 echo $ac_n "(cached) $ac_c" 1>&6
13143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13144 ac_cpp='$CXXCPP $CPPFLAGS'
13145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13147 cross_compiling=$ac_cv_prog_cxx_cross
13149 cat > conftest.$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13157 if { (eval echo configure:13158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13159 glibcpp_cv_func__modfl_use=yes
13161 echo "configure: failed program was:" >&5
13162 cat conftest.$ac_ext >&5
13164 glibcpp_cv_func__modfl_use=no
13168 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13169 ac_cpp='$CPP $CPPFLAGS'
13170 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13171 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13172 cross_compiling=$ac_cv_prog_cc_cross
13178 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
13180 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
13181 for ac_func in _modfl
13183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13184 echo "configure:13185: checking for $ac_func" >&5
13185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13186 echo $ac_n "(cached) $ac_c" 1>&6
13188 cat > conftest.$ac_ext <<EOF
13189 #line 13190 "configure"
13190 #include "confdefs.h"
13191 /* System header to define __stub macros and hopefully few prototypes,
13192 which can conflict with char $ac_func(); below. */
13193 #include <assert.h>
13194 /* Override any gcc2 internal prototype to avoid an error. */
13195 /* We use char because int might match the return type of a gcc2
13196 builtin and then its argument prototype would still apply. */
13201 /* The GNU C library defines this for functions which it implements
13202 to always fail with ENOSYS. Some functions are actually named
13203 something starting with __ and the normal name is an alias. */
13204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13212 if { (eval echo configure:13213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13214 eval "ac_cv_func_$ac_func=yes"
13216 echo "configure: failed program was:" >&5
13217 cat conftest.$ac_ext >&5
13219 eval "ac_cv_func_$ac_func=no"
13224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13225 echo "$ac_t""yes" 1>&6
13226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13227 cat >> confdefs.h <<EOF
13228 #define $ac_tr_func 1
13232 echo "$ac_t""no" 1>&6
13241 echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
13242 echo "configure:13243: checking for powl declaration" >&5
13243 if test x${glibcpp_cv_func_powl_use+set} != xset; then
13244 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
13245 echo $ac_n "(cached) $ac_c" 1>&6
13250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13251 ac_cpp='$CXXCPP $CPPFLAGS'
13252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13254 cross_compiling=$ac_cv_prog_cxx_cross
13256 cat > conftest.$ac_ext <<EOF
13257 #line 13258 "configure"
13258 #include "confdefs.h"
13264 if { (eval echo configure:13265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13266 glibcpp_cv_func_powl_use=yes
13268 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5
13271 glibcpp_cv_func_powl_use=no
13275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13276 ac_cpp='$CPP $CPPFLAGS'
13277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13279 cross_compiling=$ac_cv_prog_cc_cross
13285 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
13287 if test x$glibcpp_cv_func_powl_use = x"yes"; then
13288 for ac_func in powl
13290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13291 echo "configure:13292: checking for $ac_func" >&5
13292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13293 echo $ac_n "(cached) $ac_c" 1>&6
13295 cat > conftest.$ac_ext <<EOF
13296 #line 13297 "configure"
13297 #include "confdefs.h"
13298 /* System header to define __stub macros and hopefully few prototypes,
13299 which can conflict with char $ac_func(); below. */
13300 #include <assert.h>
13301 /* Override any gcc2 internal prototype to avoid an error. */
13302 /* We use char because int might match the return type of a gcc2
13303 builtin and then its argument prototype would still apply. */
13308 /* The GNU C library defines this for functions which it implements
13309 to always fail with ENOSYS. Some functions are actually named
13310 something starting with __ and the normal name is an alias. */
13311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13319 if { (eval echo configure:13320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13321 eval "ac_cv_func_$ac_func=yes"
13323 echo "configure: failed program was:" >&5
13324 cat conftest.$ac_ext >&5
13326 eval "ac_cv_func_$ac_func=no"
13331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13332 echo "$ac_t""yes" 1>&6
13333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13334 cat >> confdefs.h <<EOF
13335 #define $ac_tr_func 1
13339 echo "$ac_t""no" 1>&6
13345 echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
13346 echo "configure:13347: checking for _powl declaration" >&5
13347 if test x${glibcpp_cv_func__powl_use+set} != xset; then
13348 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
13349 echo $ac_n "(cached) $ac_c" 1>&6
13354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13355 ac_cpp='$CXXCPP $CPPFLAGS'
13356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13358 cross_compiling=$ac_cv_prog_cxx_cross
13360 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure"
13362 #include "confdefs.h"
13368 if { (eval echo configure:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13370 glibcpp_cv_func__powl_use=yes
13372 echo "configure: failed program was:" >&5
13373 cat conftest.$ac_ext >&5
13375 glibcpp_cv_func__powl_use=no
13379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13380 ac_cpp='$CPP $CPPFLAGS'
13381 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13382 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13383 cross_compiling=$ac_cv_prog_cc_cross
13389 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
13391 if test x$glibcpp_cv_func__powl_use = x"yes"; then
13392 for ac_func in _powl
13394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13395 echo "configure:13396: checking for $ac_func" >&5
13396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13397 echo $ac_n "(cached) $ac_c" 1>&6
13399 cat > conftest.$ac_ext <<EOF
13400 #line 13401 "configure"
13401 #include "confdefs.h"
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char $ac_func(); below. */
13404 #include <assert.h>
13405 /* Override any gcc2 internal prototype to avoid an error. */
13406 /* We use char because int might match the return type of a gcc2
13407 builtin and then its argument prototype would still apply. */
13412 /* The GNU C library defines this for functions which it implements
13413 to always fail with ENOSYS. Some functions are actually named
13414 something starting with __ and the normal name is an alias. */
13415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13423 if { (eval echo configure:13424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13425 eval "ac_cv_func_$ac_func=yes"
13427 echo "configure: failed program was:" >&5
13428 cat conftest.$ac_ext >&5
13430 eval "ac_cv_func_$ac_func=no"
13435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13436 echo "$ac_t""yes" 1>&6
13437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13438 cat >> confdefs.h <<EOF
13439 #define $ac_tr_func 1
13443 echo "$ac_t""no" 1>&6
13452 echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
13453 echo "configure:13454: checking for sqrtl declaration" >&5
13454 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
13455 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13462 ac_cpp='$CXXCPP $CPPFLAGS'
13463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13465 cross_compiling=$ac_cv_prog_cxx_cross
13467 cat > conftest.$ac_ext <<EOF
13468 #line 13469 "configure"
13469 #include "confdefs.h"
13471 #ifdef HAVE_IEEEFP_H
13472 #include <ieeefp.h>
13479 if { (eval echo configure:13480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13481 glibcpp_cv_func_sqrtl_use=yes
13483 echo "configure: failed program was:" >&5
13484 cat conftest.$ac_ext >&5
13486 glibcpp_cv_func_sqrtl_use=no
13490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13491 ac_cpp='$CPP $CPPFLAGS'
13492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13494 cross_compiling=$ac_cv_prog_cc_cross
13500 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
13502 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
13503 for ac_func in sqrtl
13505 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13506 echo "configure:13507: checking for $ac_func" >&5
13507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13508 echo $ac_n "(cached) $ac_c" 1>&6
13510 cat > conftest.$ac_ext <<EOF
13511 #line 13512 "configure"
13512 #include "confdefs.h"
13513 /* System header to define __stub macros and hopefully few prototypes,
13514 which can conflict with char $ac_func(); below. */
13515 #include <assert.h>
13516 /* Override any gcc2 internal prototype to avoid an error. */
13517 /* We use char because int might match the return type of a gcc2
13518 builtin and then its argument prototype would still apply. */
13523 /* The GNU C library defines this for functions which it implements
13524 to always fail with ENOSYS. Some functions are actually named
13525 something starting with __ and the normal name is an alias. */
13526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13534 if { (eval echo configure:13535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13536 eval "ac_cv_func_$ac_func=yes"
13538 echo "configure: failed program was:" >&5
13539 cat conftest.$ac_ext >&5
13541 eval "ac_cv_func_$ac_func=no"
13546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13547 echo "$ac_t""yes" 1>&6
13548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13549 cat >> confdefs.h <<EOF
13550 #define $ac_tr_func 1
13554 echo "$ac_t""no" 1>&6
13560 echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
13561 echo "configure:13562: checking for _sqrtl declaration" >&5
13562 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
13563 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
13564 echo $ac_n "(cached) $ac_c" 1>&6
13569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13570 ac_cpp='$CXXCPP $CPPFLAGS'
13571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13573 cross_compiling=$ac_cv_prog_cxx_cross
13575 cat > conftest.$ac_ext <<EOF
13576 #line 13577 "configure"
13577 #include "confdefs.h"
13579 #ifdef HAVE_IEEEFP_H
13580 #include <ieeefp.h>
13587 if { (eval echo configure:13588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13589 glibcpp_cv_func__sqrtl_use=yes
13591 echo "configure: failed program was:" >&5
13592 cat conftest.$ac_ext >&5
13594 glibcpp_cv_func__sqrtl_use=no
13598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13599 ac_cpp='$CPP $CPPFLAGS'
13600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13602 cross_compiling=$ac_cv_prog_cc_cross
13608 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
13610 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
13611 for ac_func in _sqrtl
13613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13614 echo "configure:13615: checking for $ac_func" >&5
13615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13616 echo $ac_n "(cached) $ac_c" 1>&6
13618 cat > conftest.$ac_ext <<EOF
13619 #line 13620 "configure"
13620 #include "confdefs.h"
13621 /* System header to define __stub macros and hopefully few prototypes,
13622 which can conflict with char $ac_func(); below. */
13623 #include <assert.h>
13624 /* Override any gcc2 internal prototype to avoid an error. */
13625 /* We use char because int might match the return type of a gcc2
13626 builtin and then its argument prototype would still apply. */
13631 /* The GNU C library defines this for functions which it implements
13632 to always fail with ENOSYS. Some functions are actually named
13633 something starting with __ and the normal name is an alias. */
13634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13642 if { (eval echo configure:13643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13644 eval "ac_cv_func_$ac_func=yes"
13646 echo "configure: failed program was:" >&5
13647 cat conftest.$ac_ext >&5
13649 eval "ac_cv_func_$ac_func=no"
13654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13655 echo "$ac_t""yes" 1>&6
13656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13657 cat >> confdefs.h <<EOF
13658 #define $ac_tr_func 1
13662 echo "$ac_t""no" 1>&6
13671 echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
13672 echo "configure:13673: checking for sincosl declaration" >&5
13673 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
13674 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
13675 echo $ac_n "(cached) $ac_c" 1>&6
13680 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13681 ac_cpp='$CXXCPP $CPPFLAGS'
13682 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13683 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13684 cross_compiling=$ac_cv_prog_cxx_cross
13686 cat > conftest.$ac_ext <<EOF
13687 #line 13688 "configure"
13688 #include "confdefs.h"
13694 if { (eval echo configure:13695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13696 glibcpp_cv_func_sincosl_use=yes
13698 echo "configure: failed program was:" >&5
13699 cat conftest.$ac_ext >&5
13701 glibcpp_cv_func_sincosl_use=no
13705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13706 ac_cpp='$CPP $CPPFLAGS'
13707 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13708 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13709 cross_compiling=$ac_cv_prog_cc_cross
13715 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
13717 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
13718 for ac_func in sincosl
13720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13721 echo "configure:13722: checking for $ac_func" >&5
13722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13723 echo $ac_n "(cached) $ac_c" 1>&6
13725 cat > conftest.$ac_ext <<EOF
13726 #line 13727 "configure"
13727 #include "confdefs.h"
13728 /* System header to define __stub macros and hopefully few prototypes,
13729 which can conflict with char $ac_func(); below. */
13730 #include <assert.h>
13731 /* Override any gcc2 internal prototype to avoid an error. */
13732 /* We use char because int might match the return type of a gcc2
13733 builtin and then its argument prototype would still apply. */
13738 /* The GNU C library defines this for functions which it implements
13739 to always fail with ENOSYS. Some functions are actually named
13740 something starting with __ and the normal name is an alias. */
13741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13749 if { (eval echo configure:13750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13751 eval "ac_cv_func_$ac_func=yes"
13753 echo "configure: failed program was:" >&5
13754 cat conftest.$ac_ext >&5
13756 eval "ac_cv_func_$ac_func=no"
13761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13762 echo "$ac_t""yes" 1>&6
13763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13764 cat >> confdefs.h <<EOF
13765 #define $ac_tr_func 1
13769 echo "$ac_t""no" 1>&6
13775 echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
13776 echo "configure:13777: checking for _sincosl declaration" >&5
13777 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
13778 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
13779 echo $ac_n "(cached) $ac_c" 1>&6
13784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13785 ac_cpp='$CXXCPP $CPPFLAGS'
13786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13788 cross_compiling=$ac_cv_prog_cxx_cross
13790 cat > conftest.$ac_ext <<EOF
13791 #line 13792 "configure"
13792 #include "confdefs.h"
13798 if { (eval echo configure:13799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13800 glibcpp_cv_func__sincosl_use=yes
13802 echo "configure: failed program was:" >&5
13803 cat conftest.$ac_ext >&5
13805 glibcpp_cv_func__sincosl_use=no
13809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13810 ac_cpp='$CPP $CPPFLAGS'
13811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13813 cross_compiling=$ac_cv_prog_cc_cross
13819 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
13821 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
13822 for ac_func in _sincosl
13824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13825 echo "configure:13826: checking for $ac_func" >&5
13826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13827 echo $ac_n "(cached) $ac_c" 1>&6
13829 cat > conftest.$ac_ext <<EOF
13830 #line 13831 "configure"
13831 #include "confdefs.h"
13832 /* System header to define __stub macros and hopefully few prototypes,
13833 which can conflict with char $ac_func(); below. */
13834 #include <assert.h>
13835 /* Override any gcc2 internal prototype to avoid an error. */
13836 /* We use char because int might match the return type of a gcc2
13837 builtin and then its argument prototype would still apply. */
13842 /* The GNU C library defines this for functions which it implements
13843 to always fail with ENOSYS. Some functions are actually named
13844 something starting with __ and the normal name is an alias. */
13845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13853 if { (eval echo configure:13854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13855 eval "ac_cv_func_$ac_func=yes"
13857 echo "configure: failed program was:" >&5
13858 cat conftest.$ac_ext >&5
13860 eval "ac_cv_func_$ac_func=no"
13865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13866 echo "$ac_t""yes" 1>&6
13867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13868 cat >> confdefs.h <<EOF
13869 #define $ac_tr_func 1
13873 echo "$ac_t""no" 1>&6
13882 echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
13883 echo "configure:13884: checking for finitel declaration" >&5
13884 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
13885 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
13886 echo $ac_n "(cached) $ac_c" 1>&6
13891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13892 ac_cpp='$CXXCPP $CPPFLAGS'
13893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13895 cross_compiling=$ac_cv_prog_cxx_cross
13897 cat > conftest.$ac_ext <<EOF
13898 #line 13899 "configure"
13899 #include "confdefs.h"
13901 #ifdef HAVE_IEEEFP_H
13902 #include <ieeefp.h>
13909 if { (eval echo configure:13910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13911 glibcpp_cv_func_finitel_use=yes
13913 echo "configure: failed program was:" >&5
13914 cat conftest.$ac_ext >&5
13916 glibcpp_cv_func_finitel_use=no
13920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13921 ac_cpp='$CPP $CPPFLAGS'
13922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13924 cross_compiling=$ac_cv_prog_cc_cross
13930 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
13932 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
13933 for ac_func in finitel
13935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13936 echo "configure:13937: checking for $ac_func" >&5
13937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13938 echo $ac_n "(cached) $ac_c" 1>&6
13940 cat > conftest.$ac_ext <<EOF
13941 #line 13942 "configure"
13942 #include "confdefs.h"
13943 /* System header to define __stub macros and hopefully few prototypes,
13944 which can conflict with char $ac_func(); below. */
13945 #include <assert.h>
13946 /* Override any gcc2 internal prototype to avoid an error. */
13947 /* We use char because int might match the return type of a gcc2
13948 builtin and then its argument prototype would still apply. */
13953 /* The GNU C library defines this for functions which it implements
13954 to always fail with ENOSYS. Some functions are actually named
13955 something starting with __ and the normal name is an alias. */
13956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13964 if { (eval echo configure:13965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13966 eval "ac_cv_func_$ac_func=yes"
13968 echo "configure: failed program was:" >&5
13969 cat conftest.$ac_ext >&5
13971 eval "ac_cv_func_$ac_func=no"
13976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13977 echo "$ac_t""yes" 1>&6
13978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13979 cat >> confdefs.h <<EOF
13980 #define $ac_tr_func 1
13984 echo "$ac_t""no" 1>&6
13990 echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
13991 echo "configure:13992: checking for _finitel declaration" >&5
13992 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
13993 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
13994 echo $ac_n "(cached) $ac_c" 1>&6
13999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14000 ac_cpp='$CXXCPP $CPPFLAGS'
14001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14003 cross_compiling=$ac_cv_prog_cxx_cross
14005 cat > conftest.$ac_ext <<EOF
14006 #line 14007 "configure"
14007 #include "confdefs.h"
14009 #ifdef HAVE_IEEEFP_H
14010 #include <ieeefp.h>
14017 if { (eval echo configure:14018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14019 glibcpp_cv_func__finitel_use=yes
14021 echo "configure: failed program was:" >&5
14022 cat conftest.$ac_ext >&5
14024 glibcpp_cv_func__finitel_use=no
14028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14029 ac_cpp='$CPP $CPPFLAGS'
14030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14032 cross_compiling=$ac_cv_prog_cc_cross
14038 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
14040 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
14041 for ac_func in _finitel
14043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14044 echo "configure:14045: checking for $ac_func" >&5
14045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14048 cat > conftest.$ac_ext <<EOF
14049 #line 14050 "configure"
14050 #include "confdefs.h"
14051 /* System header to define __stub macros and hopefully few prototypes,
14052 which can conflict with char $ac_func(); below. */
14053 #include <assert.h>
14054 /* Override any gcc2 internal prototype to avoid an error. */
14055 /* We use char because int might match the return type of a gcc2
14056 builtin and then its argument prototype would still apply. */
14061 /* The GNU C library defines this for functions which it implements
14062 to always fail with ENOSYS. Some functions are actually named
14063 something starting with __ and the normal name is an alias. */
14064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14072 if { (eval echo configure:14073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14074 eval "ac_cv_func_$ac_func=yes"
14076 echo "configure: failed program was:" >&5
14077 cat conftest.$ac_ext >&5
14079 eval "ac_cv_func_$ac_func=no"
14084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14087 cat >> confdefs.h <<EOF
14088 #define $ac_tr_func 1
14092 echo "$ac_t""no" 1>&6
14102 echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
14103 echo "configure:14104: checking for _float trig functions" >&5
14104 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp='$CXXCPP $CPPFLAGS'
14112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling=$ac_cv_prog_cxx_cross
14116 cat > conftest.$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14121 `for x in _acosf _asinf _atanf \
14122 _cosf _sinf _tanf \
14123 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
14126 if { (eval echo configure:14127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14128 glibcpp_cv_func__float_trig_use=yes
14130 echo "configure: failed program was:" >&5
14131 cat conftest.$ac_ext >&5
14133 glibcpp_cv_func__float_trig_use=no
14137 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14140 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14141 cross_compiling=$ac_cv_prog_cc_cross
14145 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
14146 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
14147 for ac_func in _acosf _asinf _atanf \
14148 _cosf _sinf _tanf \
14149 _coshf _sinhf _tanhf
14151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14152 echo "configure:14153: checking for $ac_func" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14154 echo $ac_n "(cached) $ac_c" 1>&6
14156 cat > conftest.$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* System header to define __stub macros and hopefully few prototypes,
14160 which can conflict with char $ac_func(); below. */
14161 #include <assert.h>
14162 /* Override any gcc2 internal prototype to avoid an error. */
14163 /* We use char because int might match the return type of a gcc2
14164 builtin and then its argument prototype would still apply. */
14169 /* The GNU C library defines this for functions which it implements
14170 to always fail with ENOSYS. Some functions are actually named
14171 something starting with __ and the normal name is an alias. */
14172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14180 if { (eval echo configure:14181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14182 eval "ac_cv_func_$ac_func=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.$ac_ext >&5
14187 eval "ac_cv_func_$ac_func=no"
14192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14193 echo "$ac_t""yes" 1>&6
14194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14195 cat >> confdefs.h <<EOF
14196 #define $ac_tr_func 1
14200 echo "$ac_t""no" 1>&6
14207 echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
14208 echo "configure:14209: checking for _float round functions" >&5
14209 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
14210 echo $ac_n "(cached) $ac_c" 1>&6
14215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14216 ac_cpp='$CXXCPP $CPPFLAGS'
14217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14219 cross_compiling=$ac_cv_prog_cxx_cross
14221 cat > conftest.$ac_ext <<EOF
14222 #line 14223 "configure"
14223 #include "confdefs.h"
14226 `for x in _ceilf _floorf; do echo "$x (0);"; done`
14229 if { (eval echo configure:14230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14231 glibcpp_cv_func__float_round_use=yes
14233 echo "configure: failed program was:" >&5
14234 cat conftest.$ac_ext >&5
14236 glibcpp_cv_func__float_round_use=no
14240 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14241 ac_cpp='$CPP $CPPFLAGS'
14242 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14243 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14244 cross_compiling=$ac_cv_prog_cc_cross
14248 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
14249 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
14250 for ac_func in _ceilf _floorf
14252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14253 echo "configure:14254: checking for $ac_func" >&5
14254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14255 echo $ac_n "(cached) $ac_c" 1>&6
14257 cat > conftest.$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14260 /* System header to define __stub macros and hopefully few prototypes,
14261 which can conflict with char $ac_func(); below. */
14262 #include <assert.h>
14263 /* Override any gcc2 internal prototype to avoid an error. */
14264 /* We use char because int might match the return type of a gcc2
14265 builtin and then its argument prototype would still apply. */
14270 /* The GNU C library defines this for functions which it implements
14271 to always fail with ENOSYS. Some functions are actually named
14272 something starting with __ and the normal name is an alias. */
14273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14281 if { (eval echo configure:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14283 eval "ac_cv_func_$ac_func=yes"
14285 echo "configure: failed program was:" >&5
14286 cat conftest.$ac_ext >&5
14288 eval "ac_cv_func_$ac_func=no"
14293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14294 echo "$ac_t""yes" 1>&6
14295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14296 cat >> confdefs.h <<EOF
14297 #define $ac_tr_func 1
14301 echo "$ac_t""no" 1>&6
14309 echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
14310 echo "configure:14311: checking for _long double trig functions" >&5
14311 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
14312 echo $ac_n "(cached) $ac_c" 1>&6
14317 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14318 ac_cpp='$CXXCPP $CPPFLAGS'
14319 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14320 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14321 cross_compiling=$ac_cv_prog_cxx_cross
14323 cat > conftest.$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14328 `for x in _acosl _asinl _atanl \
14329 _cosl _sinl _tanl \
14330 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
14333 if { (eval echo configure:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14335 glibcpp_cv_func__long_double_trig_use=yes
14337 echo "configure: failed program was:" >&5
14338 cat conftest.$ac_ext >&5
14340 glibcpp_cv_func__long_double_trig_use=no
14344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14347 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14348 cross_compiling=$ac_cv_prog_cc_cross
14352 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
14353 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
14354 for ac_func in _acosl _asinl _atanl \
14355 _cosl _sinl _tanl \
14356 _coshl _sinhl _tanhl
14358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14359 echo "configure:14360: checking for $ac_func" >&5
14360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14363 cat > conftest.$ac_ext <<EOF
14364 #line 14365 "configure"
14365 #include "confdefs.h"
14366 /* System header to define __stub macros and hopefully few prototypes,
14367 which can conflict with char $ac_func(); below. */
14368 #include <assert.h>
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 /* We use char because int might match the return type of a gcc2
14371 builtin and then its argument prototype would still apply. */
14376 /* The GNU C library defines this for functions which it implements
14377 to always fail with ENOSYS. Some functions are actually named
14378 something starting with __ and the normal name is an alias. */
14379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14387 if { (eval echo configure:14388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14389 eval "ac_cv_func_$ac_func=yes"
14391 echo "configure: failed program was:" >&5
14392 cat conftest.$ac_ext >&5
14394 eval "ac_cv_func_$ac_func=no"
14399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14400 echo "$ac_t""yes" 1>&6
14401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14402 cat >> confdefs.h <<EOF
14403 #define $ac_tr_func 1
14407 echo "$ac_t""no" 1>&6
14414 echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
14415 echo "configure:14416: checking for _long double round functions" >&5
14416 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
14417 echo $ac_n "(cached) $ac_c" 1>&6
14422 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14423 ac_cpp='$CXXCPP $CPPFLAGS'
14424 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14425 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14426 cross_compiling=$ac_cv_prog_cxx_cross
14428 cat > conftest.$ac_ext <<EOF
14429 #line 14430 "configure"
14430 #include "confdefs.h"
14433 `for x in _ceill _floorl; do echo "$x (0);"; done`
14436 if { (eval echo configure:14437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14438 glibcpp_cv_func__long_double_round_use=yes
14440 echo "configure: failed program was:" >&5
14441 cat conftest.$ac_ext >&5
14443 glibcpp_cv_func__long_double_round_use=no
14447 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14448 ac_cpp='$CPP $CPPFLAGS'
14449 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14450 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14451 cross_compiling=$ac_cv_prog_cc_cross
14455 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
14456 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
14457 for ac_func in _ceill _floorl
14459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14460 echo "configure:14461: checking for $ac_func" >&5
14461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14462 echo $ac_n "(cached) $ac_c" 1>&6
14464 cat > conftest.$ac_ext <<EOF
14465 #line 14466 "configure"
14466 #include "confdefs.h"
14467 /* System header to define __stub macros and hopefully few prototypes,
14468 which can conflict with char $ac_func(); below. */
14469 #include <assert.h>
14470 /* Override any gcc2 internal prototype to avoid an error. */
14471 /* We use char because int might match the return type of a gcc2
14472 builtin and then its argument prototype would still apply. */
14477 /* The GNU C library defines this for functions which it implements
14478 to always fail with ENOSYS. Some functions are actually named
14479 something starting with __ and the normal name is an alias. */
14480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14490 eval "ac_cv_func_$ac_func=yes"
14492 echo "configure: failed program was:" >&5
14493 cat conftest.$ac_ext >&5
14495 eval "ac_cv_func_$ac_func=no"
14500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14501 echo "$ac_t""yes" 1>&6
14502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14503 cat >> confdefs.h <<EOF
14504 #define $ac_tr_func 1
14508 echo "$ac_t""no" 1>&6
14515 LIBS="$ac_save_LIBS"
14516 CXXFLAGS="$ac_save_CXXFLAGS"
14519 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
14520 echo "configure:14521: checking for main in -lm" >&5
14521 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
14522 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14523 echo $ac_n "(cached) $ac_c" 1>&6
14525 ac_save_LIBS="$LIBS"
14527 cat > conftest.$ac_ext <<EOF
14528 #line 14529 "configure"
14529 #include "confdefs.h"
14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14537 eval "ac_cv_lib_$ac_lib_var=yes"
14539 echo "configure: failed program was:" >&5
14540 cat conftest.$ac_ext >&5
14542 eval "ac_cv_lib_$ac_lib_var=no"
14545 LIBS="$ac_save_LIBS"
14548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14549 echo "$ac_t""yes" 1>&6
14550 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
14551 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
14552 cat >> confdefs.h <<EOF
14553 #define $ac_tr_lib 1
14559 echo "$ac_t""no" 1>&6
14562 for ac_func in nan hypot hypotf atan2f expf copysignf
14564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14565 echo "configure:14566: checking for $ac_func" >&5
14566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14567 echo $ac_n "(cached) $ac_c" 1>&6
14569 cat > conftest.$ac_ext <<EOF
14570 #line 14571 "configure"
14571 #include "confdefs.h"
14572 /* System header to define __stub macros and hopefully few prototypes,
14573 which can conflict with char $ac_func(); below. */
14574 #include <assert.h>
14575 /* Override any gcc2 internal prototype to avoid an error. */
14576 /* We use char because int might match the return type of a gcc2
14577 builtin and then its argument prototype would still apply. */
14582 /* The GNU C library defines this for functions which it implements
14583 to always fail with ENOSYS. Some functions are actually named
14584 something starting with __ and the normal name is an alias. */
14585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14593 if { (eval echo configure:14594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14595 eval "ac_cv_func_$ac_func=yes"
14597 echo "configure: failed program was:" >&5
14598 cat conftest.$ac_ext >&5
14600 eval "ac_cv_func_$ac_func=no"
14605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14606 echo "$ac_t""yes" 1>&6
14607 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14608 cat >> confdefs.h <<EOF
14609 #define $ac_tr_func 1
14613 echo "$ac_t""no" 1>&6
14614 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14620 USE_COMPLEX_LONG_DOUBLE=no
14621 if test x$ac_cv_func_atan2l = x"yes" \
14622 && test x$ac_cv_func_copysignl = x"yes"; then
14623 USE_COMPLEX_LONG_DOUBLE=yes
14624 for ac_func in hypotl signbitl
14626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14627 echo "configure:14628: checking for $ac_func" >&5
14628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14629 echo $ac_n "(cached) $ac_c" 1>&6
14631 cat > conftest.$ac_ext <<EOF
14632 #line 14633 "configure"
14633 #include "confdefs.h"
14634 /* System header to define __stub macros and hopefully few prototypes,
14635 which can conflict with char $ac_func(); below. */
14636 #include <assert.h>
14637 /* Override any gcc2 internal prototype to avoid an error. */
14638 /* We use char because int might match the return type of a gcc2
14639 builtin and then its argument prototype would still apply. */
14644 /* The GNU C library defines this for functions which it implements
14645 to always fail with ENOSYS. Some functions are actually named
14646 something starting with __ and the normal name is an alias. */
14647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14655 if { (eval echo configure:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14657 eval "ac_cv_func_$ac_func=yes"
14659 echo "configure: failed program was:" >&5
14660 cat conftest.$ac_ext >&5
14662 eval "ac_cv_func_$ac_func=no"
14667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14668 echo "$ac_t""yes" 1>&6
14669 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14670 cat >> confdefs.h <<EOF
14671 #define $ac_tr_func 1
14675 echo "$ac_t""no" 1>&6
14676 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14688 echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
14689 echo "configure:14690: checking for GNU C++ __complex__ support" >&5
14690 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
14691 echo $ac_n "(cached) $ac_c" 1>&6
14696 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14697 ac_cpp='$CXXCPP $CPPFLAGS'
14698 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14699 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14700 cross_compiling=$ac_cv_prog_cxx_cross
14702 cat > conftest.$ac_ext <<EOF
14703 #line 14704 "configure"
14704 #include "confdefs.h"
14705 struct dcomplex { __complex__ double x; }; \
14706 dcomplex f(const dcomplex& x) { return dcomplex(x); }
14712 if { (eval echo configure:14713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14714 glibcpp_cv_complex=ok
14716 echo "configure: failed program was:" >&5
14717 cat conftest.$ac_ext >&5
14719 glibcpp_cv_complex=buggy
14724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14727 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14728 cross_compiling=$ac_cv_prog_cc_cross
14733 echo "$ac_t""$glibcpp_cv_complex" 1>&6
14734 if test $glibcpp_cv_complex = buggy; then
14735 cat >> confdefs.h <<\EOF
14736 #define _GLIBCPP_BUGGY_COMPLEX 1
14741 echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
14742 echo "configure:14743: checking for GNU C++ __complex__ float support" >&5
14743 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
14744 echo $ac_n "(cached) $ac_c" 1>&6
14749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14750 ac_cpp='$CXXCPP $CPPFLAGS'
14751 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14752 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14753 cross_compiling=$ac_cv_prog_cxx_cross
14756 cat > conftest.h <<EOB
14758 // Check for buggy __complex__ that causes ICE in most versions of egcs
14759 // and gcc-2.95.x on certain platforms (eg., x86-win32).
14761 // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
14762 // more info on the bug itself.
14767 __complex__ float m_value;
14768 float_complex (float = 0.0f, float = 0.0f);
14769 float_complex (__complex__ float val) : m_value (val) {}
14770 float_complex foo (const float_complex &val)
14771 { return float_complex (~val.m_value); }
14774 cat > conftest.$ac_ext <<EOF
14775 #line 14776 "configure"
14776 #include "confdefs.h"
14777 #include "conftest.h"
14782 if { (eval echo configure:14783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14784 glibcpp_cv_float_complex=ok
14786 echo "configure: failed program was:" >&5
14787 cat conftest.$ac_ext >&5
14789 glibcpp_cv_float_complex=buggy
14794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14795 ac_cpp='$CPP $CPPFLAGS'
14796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14798 cross_compiling=$ac_cv_prog_cc_cross
14803 echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
14804 if test $glibcpp_cv_float_complex = buggy; then
14805 cat >> confdefs.h <<\EOF
14806 #define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
14813 echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
14814 echo "configure:14815: checking for mbstate_t" >&5
14815 cat > conftest.$ac_ext <<EOF
14816 #line 14817 "configure"
14817 #include "confdefs.h"
14820 mbstate_t teststate;
14823 if { (eval echo configure:14824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14827 echo "configure: failed program was:" >&5
14828 cat conftest.$ac_ext >&5
14833 echo "$ac_t""$have_mbstate_t" 1>&6
14834 if test x"$have_mbstate_t" = xyes; then
14835 cat >> confdefs.h <<\EOF
14836 #define HAVE_MBSTATE_T 1
14841 for ac_hdr in wchar.h
14843 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14844 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14845 echo "configure:14846: checking for $ac_hdr" >&5
14846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14847 echo $ac_n "(cached) $ac_c" 1>&6
14849 cat > conftest.$ac_ext <<EOF
14850 #line 14851 "configure"
14851 #include "confdefs.h"
14854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14855 { (eval echo configure:14856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14857 if test -z "$ac_err"; then
14859 eval "ac_cv_header_$ac_safe=yes"
14862 echo "configure: failed program was:" >&5
14863 cat conftest.$ac_ext >&5
14865 eval "ac_cv_header_$ac_safe=no"
14869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14870 echo "$ac_t""yes" 1>&6
14871 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14872 cat >> confdefs.h <<EOF
14873 #define $ac_tr_hdr 1
14877 echo "$ac_t""no" 1>&6
14882 ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
14883 echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
14884 echo "configure:14885: checking for wctype.h" >&5
14885 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14886 echo $ac_n "(cached) $ac_c" 1>&6
14888 cat > conftest.$ac_ext <<EOF
14889 #line 14890 "configure"
14890 #include "confdefs.h"
14891 #include <wctype.h>
14893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14894 { (eval echo configure:14895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14896 if test -z "$ac_err"; then
14898 eval "ac_cv_header_$ac_safe=yes"
14901 echo "configure: failed program was:" >&5
14902 cat conftest.$ac_ext >&5
14904 eval "ac_cv_header_$ac_safe=no"
14908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14909 echo "$ac_t""yes" 1>&6
14910 ac_has_wctype_h=yes
14912 echo "$ac_t""no" 1>&6
14917 if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
14918 && test x"$enable_c_mbchar" != xno; then
14920 echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
14921 echo "configure:14922: checking for WCHAR_MIN and WCHAR_MAX" >&5
14922 cat > conftest.$ac_ext <<EOF
14923 #line 14924 "configure"
14924 #include "confdefs.h"
14927 int i = WCHAR_MIN; int j = WCHAR_MAX;
14930 if { (eval echo configure:14931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14932 has_wchar_minmax=yes
14934 echo "configure: failed program was:" >&5
14935 cat conftest.$ac_ext >&5
14937 has_wchar_minmax=no
14940 echo "$ac_t""$has_wchar_minmax" 1>&6
14942 echo $ac_n "checking for WEOF""... $ac_c" 1>&6
14943 echo "configure:14944: checking for WEOF" >&5
14944 cat > conftest.$ac_ext <<EOF
14945 #line 14946 "configure"
14946 #include "confdefs.h"
14949 #include <stddef.h>
14954 if { (eval echo configure:14955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14958 echo "configure: failed program was:" >&5
14959 cat conftest.$ac_ext >&5
14964 echo "$ac_t""$has_weof" 1>&6
14966 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
14967 wcsrtombs mbsrtowcs
14969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14970 echo "configure:14971: checking for $ac_func" >&5
14971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14972 echo $ac_n "(cached) $ac_c" 1>&6
14974 cat > conftest.$ac_ext <<EOF
14975 #line 14976 "configure"
14976 #include "confdefs.h"
14977 /* System header to define __stub macros and hopefully few prototypes,
14978 which can conflict with char $ac_func(); below. */
14979 #include <assert.h>
14980 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14987 /* The GNU C library defines this for functions which it implements
14988 to always fail with ENOSYS. Some functions are actually named
14989 something starting with __ and the normal name is an alias. */
14990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14998 if { (eval echo configure:14999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15000 eval "ac_cv_func_$ac_func=yes"
15002 echo "configure: failed program was:" >&5
15003 cat conftest.$ac_ext >&5
15005 eval "ac_cv_func_$ac_func=no"
15010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15011 echo "$ac_t""yes" 1>&6
15012 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15013 cat >> confdefs.h <<EOF
15014 #define $ac_tr_func 1
15018 echo "$ac_t""no" 1>&6
15024 echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
15025 echo "configure:15026: checking for ISO C99 wchar_t support" >&5
15026 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
15027 && test x"$ac_wfuncs" = xyes; then
15028 ac_isoC99_wchar_t=yes
15030 ac_isoC99_wchar_t=no
15032 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
15034 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
15035 echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
15036 echo "configure:15037: checking for iconv.h" >&5
15037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15040 cat > conftest.$ac_ext <<EOF
15041 #line 15042 "configure"
15042 #include "confdefs.h"
15045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15046 { (eval echo configure:15047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15048 if test -z "$ac_err"; then
15050 eval "ac_cv_header_$ac_safe=yes"
15053 echo "configure: failed program was:" >&5
15054 cat conftest.$ac_ext >&5
15056 eval "ac_cv_header_$ac_safe=no"
15060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15061 echo "$ac_t""yes" 1>&6
15064 echo "$ac_t""no" 1>&6
15068 ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
15069 echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
15070 echo "configure:15071: checking for langinfo.h" >&5
15071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15072 echo $ac_n "(cached) $ac_c" 1>&6
15074 cat > conftest.$ac_ext <<EOF
15075 #line 15076 "configure"
15076 #include "confdefs.h"
15077 #include <langinfo.h>
15079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15080 { (eval echo configure:15081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15082 if test -z "$ac_err"; then
15084 eval "ac_cv_header_$ac_safe=yes"
15087 echo "configure: failed program was:" >&5
15088 cat conftest.$ac_ext >&5
15090 eval "ac_cv_header_$ac_safe=no"
15094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15095 echo "$ac_t""yes" 1>&6
15096 ac_has_langinfo_h=yes
15098 echo "$ac_t""no" 1>&6
15099 ac_has_langinfo_h=no
15103 echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
15104 echo "configure:15105: checking for iconv in -liconv" >&5
15105 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
15106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15107 echo $ac_n "(cached) $ac_c" 1>&6
15109 ac_save_LIBS="$LIBS"
15110 LIBS="-liconv $LIBS"
15111 cat > conftest.$ac_ext <<EOF
15112 #line 15113 "configure"
15113 #include "confdefs.h"
15114 /* Override any gcc2 internal prototype to avoid an error. */
15115 /* We use char because int might match the return type of a gcc2
15116 builtin and then its argument prototype would still apply. */
15123 if { (eval echo configure:15124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15125 eval "ac_cv_lib_$ac_lib_var=yes"
15127 echo "configure: failed program was:" >&5
15128 cat conftest.$ac_ext >&5
15130 eval "ac_cv_lib_$ac_lib_var=no"
15133 LIBS="$ac_save_LIBS"
15136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15137 echo "$ac_t""yes" 1>&6
15140 echo "$ac_t""no" 1>&6
15143 ac_save_LIBS="$LIBS"
15144 LIBS="$LIBS $libiconv"
15146 for ac_func in iconv_open iconv_close iconv nl_langinfo
15148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15149 echo "configure:15150: checking for $ac_func" >&5
15150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15151 echo $ac_n "(cached) $ac_c" 1>&6
15153 cat > conftest.$ac_ext <<EOF
15154 #line 15155 "configure"
15155 #include "confdefs.h"
15156 /* System header to define __stub macros and hopefully few prototypes,
15157 which can conflict with char $ac_func(); below. */
15158 #include <assert.h>
15159 /* Override any gcc2 internal prototype to avoid an error. */
15160 /* We use char because int might match the return type of a gcc2
15161 builtin and then its argument prototype would still apply. */
15166 /* The GNU C library defines this for functions which it implements
15167 to always fail with ENOSYS. Some functions are actually named
15168 something starting with __ and the normal name is an alias. */
15169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15177 if { (eval echo configure:15178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15179 eval "ac_cv_func_$ac_func=yes"
15181 echo "configure: failed program was:" >&5
15182 cat conftest.$ac_ext >&5
15184 eval "ac_cv_func_$ac_func=no"
15189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15190 echo "$ac_t""yes" 1>&6
15191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15192 cat >> confdefs.h <<EOF
15193 #define $ac_tr_func 1
15198 echo "$ac_t""no" 1>&6
15204 LIBS="$ac_save_LIBS"
15206 echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
15207 echo "configure:15208: checking for XPG2 wchar_t support" >&5
15208 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
15209 && test x"$ac_XPG2funcs" = xyes; then
15210 ac_XPG2_wchar_t=yes
15214 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
15216 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
15217 echo "configure:15218: checking for enabled wchar_t specializations" >&5
15218 if test x"$ac_isoC99_wchar_t" = xyes \
15219 && test x"$ac_XPG2_wchar_t" = xyes; then
15220 libinst_wstring_la="libinst-wstring.la"
15221 cat >> confdefs.h <<\EOF
15222 #define _GLIBCPP_USE_WCHAR_T 1
15225 echo "$ac_t"""yes"" 1>&6
15227 libinst_wstring_la=""
15228 echo "$ac_t"""no"" 1>&6
15233 echo "configure: warning: wchar_t support disabled." 1>&2
15237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15238 ac_save_CXXFLAGS="$CXXFLAGS"
15239 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
15241 for ac_func in strtof
15243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15244 echo "configure:15245: checking for $ac_func" >&5
15245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15246 echo $ac_n "(cached) $ac_c" 1>&6
15248 cat > conftest.$ac_ext <<EOF
15249 #line 15250 "configure"
15250 #include "confdefs.h"
15251 /* System header to define __stub macros and hopefully few prototypes,
15252 which can conflict with char $ac_func(); below. */
15253 #include <assert.h>
15254 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15261 /* The GNU C library defines this for functions which it implements
15262 to always fail with ENOSYS. Some functions are actually named
15263 something starting with __ and the normal name is an alias. */
15264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15272 if { (eval echo configure:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15274 eval "ac_cv_func_$ac_func=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.$ac_ext >&5
15279 eval "ac_cv_func_$ac_func=no"
15284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15285 echo "$ac_t""yes" 1>&6
15286 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15287 cat >> confdefs.h <<EOF
15288 #define $ac_tr_func 1
15292 echo "$ac_t""no" 1>&6
15297 echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
15298 echo "configure:15299: checking for strtold declaration" >&5
15299 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
15300 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
15301 echo $ac_n "(cached) $ac_c" 1>&6
15306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15307 ac_cpp='$CXXCPP $CPPFLAGS'
15308 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15309 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15310 cross_compiling=$ac_cv_prog_cxx_cross
15312 cat > conftest.$ac_ext <<EOF
15313 #line 15314 "configure"
15314 #include "confdefs.h"
15315 #include <stdlib.h>
15320 if { (eval echo configure:15321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15322 glibcpp_cv_func_strtold_use=yes
15324 echo "configure: failed program was:" >&5
15325 cat conftest.$ac_ext >&5
15327 glibcpp_cv_func_strtold_use=no
15331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15332 ac_cpp='$CPP $CPPFLAGS'
15333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15335 cross_compiling=$ac_cv_prog_cc_cross
15341 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
15342 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
15343 for ac_func in strtold
15345 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15346 echo "configure:15347: checking for $ac_func" >&5
15347 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15348 echo $ac_n "(cached) $ac_c" 1>&6
15350 cat > conftest.$ac_ext <<EOF
15351 #line 15352 "configure"
15352 #include "confdefs.h"
15353 /* System header to define __stub macros and hopefully few prototypes,
15354 which can conflict with char $ac_func(); below. */
15355 #include <assert.h>
15356 /* Override any gcc2 internal prototype to avoid an error. */
15357 /* We use char because int might match the return type of a gcc2
15358 builtin and then its argument prototype would still apply. */
15363 /* The GNU C library defines this for functions which it implements
15364 to always fail with ENOSYS. Some functions are actually named
15365 something starting with __ and the normal name is an alias. */
15366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15374 if { (eval echo configure:15375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15376 eval "ac_cv_func_$ac_func=yes"
15378 echo "configure: failed program was:" >&5
15379 cat conftest.$ac_ext >&5
15381 eval "ac_cv_func_$ac_func=no"
15386 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15387 echo "$ac_t""yes" 1>&6
15388 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15389 cat >> confdefs.h <<EOF
15390 #define $ac_tr_func 1
15394 echo "$ac_t""no" 1>&6
15401 CXXFLAGS="$ac_save_CXXFLAGS"
15404 cat > conftest.$ac_ext <<EOF
15405 #line 15406 "configure"
15406 #include "confdefs.h"
15408 #include <setjmp.h>
15411 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
15414 if { (eval echo configure:15415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15416 cat >> confdefs.h <<\EOF
15417 #define HAVE_SIGSETJMP 1
15421 echo "configure: failed program was:" >&5
15422 cat conftest.$ac_ext >&5
15426 for ac_hdr in unistd.h
15428 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15429 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15430 echo "configure:15431: checking for $ac_hdr" >&5
15431 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15432 echo $ac_n "(cached) $ac_c" 1>&6
15434 cat > conftest.$ac_ext <<EOF
15435 #line 15436 "configure"
15436 #include "confdefs.h"
15439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15440 { (eval echo configure:15441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15442 if test -z "$ac_err"; then
15444 eval "ac_cv_header_$ac_safe=yes"
15447 echo "configure: failed program was:" >&5
15448 cat conftest.$ac_ext >&5
15450 eval "ac_cv_header_$ac_safe=no"
15454 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15455 echo "$ac_t""yes" 1>&6
15456 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15457 cat >> confdefs.h <<EOF
15458 #define $ac_tr_hdr 1
15462 echo "$ac_t""no" 1>&6
15466 for ac_func in getpagesize
15468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15469 echo "configure:15470: checking for $ac_func" >&5
15470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15471 echo $ac_n "(cached) $ac_c" 1>&6
15473 cat > conftest.$ac_ext <<EOF
15474 #line 15475 "configure"
15475 #include "confdefs.h"
15476 /* System header to define __stub macros and hopefully few prototypes,
15477 which can conflict with char $ac_func(); below. */
15478 #include <assert.h>
15479 /* Override any gcc2 internal prototype to avoid an error. */
15480 /* We use char because int might match the return type of a gcc2
15481 builtin and then its argument prototype would still apply. */
15486 /* The GNU C library defines this for functions which it implements
15487 to always fail with ENOSYS. Some functions are actually named
15488 something starting with __ and the normal name is an alias. */
15489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15497 if { (eval echo configure:15498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15499 eval "ac_cv_func_$ac_func=yes"
15501 echo "configure: failed program was:" >&5
15502 cat conftest.$ac_ext >&5
15504 eval "ac_cv_func_$ac_func=no"
15509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15510 echo "$ac_t""yes" 1>&6
15511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15512 cat >> confdefs.h <<EOF
15513 #define $ac_tr_func 1
15517 echo "$ac_t""no" 1>&6
15521 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
15522 echo "configure:15523: checking for working mmap" >&5
15523 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
15524 echo $ac_n "(cached) $ac_c" 1>&6
15526 if test "$cross_compiling" = yes; then
15527 ac_cv_func_mmap_fixed_mapped=no
15529 cat > conftest.$ac_ext <<EOF
15530 #line 15531 "configure"
15531 #include "confdefs.h"
15533 /* Thanks to Mike Haertel and Jim Avera for this test.
15534 Here is a matrix of mmap possibilities:
15535 mmap private not fixed
15536 mmap private fixed at somewhere currently unmapped
15537 mmap private fixed at somewhere already mapped
15538 mmap shared not fixed
15539 mmap shared fixed at somewhere currently unmapped
15540 mmap shared fixed at somewhere already mapped
15541 For private mappings, we should verify that changes cannot be read()
15542 back from the file, nor mmap's back from the file at a different
15543 address. (There have been systems where private was not correctly
15544 implemented like the infamous i386 svr4.0, and systems where the
15545 VM page cache was not coherent with the filesystem buffer cache
15546 like early versions of FreeBSD and possibly contemporary NetBSD.)
15547 For shared mappings, we should conversely verify that changes get
15548 propogated back to all the places they're supposed to be.
15550 Grep wants private fixed already mapped.
15551 The main things grep needs to know about mmap are:
15552 * does it exist and is it safe to write into the mmap'd area
15553 * how to use it (BSD variants) */
15554 #include <sys/types.h>
15556 #include <sys/mman.h>
15558 /* This mess was copied from the GNU getpagesize.h. */
15559 #ifndef HAVE_GETPAGESIZE
15560 # ifdef HAVE_UNISTD_H
15561 # include <unistd.h>
15564 /* Assume that all systems that can run configure have sys/param.h. */
15565 # ifndef HAVE_SYS_PARAM_H
15566 # define HAVE_SYS_PARAM_H 1
15569 # ifdef _SC_PAGESIZE
15570 # define getpagesize() sysconf(_SC_PAGESIZE)
15571 # else /* no _SC_PAGESIZE */
15572 # ifdef HAVE_SYS_PARAM_H
15573 # include <sys/param.h>
15574 # ifdef EXEC_PAGESIZE
15575 # define getpagesize() EXEC_PAGESIZE
15576 # else /* no EXEC_PAGESIZE */
15578 # define getpagesize() NBPG * CLSIZE
15581 # endif /* no CLSIZE */
15582 # else /* no NBPG */
15584 # define getpagesize() NBPC
15585 # else /* no NBPC */
15587 # define getpagesize() PAGESIZE
15588 # endif /* PAGESIZE */
15589 # endif /* no NBPC */
15590 # endif /* no NBPG */
15591 # endif /* no EXEC_PAGESIZE */
15592 # else /* no HAVE_SYS_PARAM_H */
15593 # define getpagesize() 8192 /* punt totally */
15594 # endif /* no HAVE_SYS_PARAM_H */
15595 # endif /* no _SC_PAGESIZE */
15597 #endif /* no HAVE_GETPAGESIZE */
15600 extern "C" { void *malloc(unsigned); }
15608 char *data, *data2, *data3;
15612 pagesize = getpagesize();
15615 * First, make a file with some known garbage in it.
15617 data = malloc(pagesize);
15620 for (i = 0; i < pagesize; ++i)
15621 *(data + i) = rand();
15623 fd = creat("conftestmmap", 0600);
15626 if (write(fd, data, pagesize) != pagesize)
15631 * Next, try to mmap the file at a fixed address which
15632 * already has something else allocated at it. If we can,
15633 * also make sure that we see the same garbage.
15635 fd = open("conftestmmap", O_RDWR);
15638 data2 = malloc(2 * pagesize);
15641 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
15642 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
15643 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15645 for (i = 0; i < pagesize; ++i)
15646 if (*(data + i) != *(data2 + i))
15650 * Finally, make sure that changes to the mapped area
15651 * do not percolate back to the file as seen by read().
15652 * (This is a bug on some variants of i386 svr4.0.)
15654 for (i = 0; i < pagesize; ++i)
15655 *(data2 + i) = *(data2 + i) + 1;
15656 data3 = malloc(pagesize);
15659 if (read(fd, data3, pagesize) != pagesize)
15661 for (i = 0; i < pagesize; ++i)
15662 if (*(data + i) != *(data3 + i))
15665 unlink("conftestmmap");
15670 if { (eval echo configure:15671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15672 ac_cv_func_mmap_fixed_mapped=yes
15674 echo "configure: failed program was:" >&5
15675 cat conftest.$ac_ext >&5
15677 ac_cv_func_mmap_fixed_mapped=no
15684 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
15685 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15686 cat >> confdefs.h <<\EOF
15687 #define HAVE_MMAP 1
15694 # Now that ctype is determined for all possible targets, we can do this...
15702 if test "$NULL_TARGET" = yes; then
15704 NULL_TARGET_FALSE='#'
15706 NULL_TARGET_TRUE='#'
15711 if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
15720 if test "$CANADIAN" = yes; then
15728 cat > confcache <<\EOF
15729 # This file is a shell script that caches the results of configure
15730 # tests run on this system so they can be shared between configure
15731 # scripts and configure runs. It is not useful on other systems.
15732 # If it contains results you don't want to keep, you may remove or edit it.
15734 # By default, configure uses ./config.cache as the cache file,
15735 # creating it if it does not exist already. You can give configure
15736 # the --cache-file=FILE option to use a different cache file; that is
15737 # what configure does when it calls configure scripts in
15738 # subdirectories, so they share the cache.
15739 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15740 # config.status only pays attention to the cache file if you give it the
15741 # --recheck option to rerun configure.
15744 # The following way of writing the cache mishandles newlines in values,
15745 # but we know of no workaround that is simple, portable, and efficient.
15746 # So, don't put newlines in cache variables' values.
15747 # Ultrix sh set writes to stderr and can't be redirected directly,
15748 # and sets the high bit in the cache file unless we assign to the vars.
15750 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15752 # `set' does not quote correctly, so add quotes (double-quote substitution
15753 # turns \\\\ into \\, and sed turns \\ into \).
15755 -e "s/'/'\\\\''/g" \
15756 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15759 # `set' quotes correctly as required by POSIX, so do not add quotes.
15760 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15763 if cmp -s $cache_file confcache; then
15766 if test -w $cache_file; then
15767 echo "updating cache $cache_file"
15768 cat confcache > $cache_file
15770 echo "not updating unwritable cache $cache_file"
15776 ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
15777 echo $ac_n "checking for locale.h""... $ac_c" 1>&6
15778 echo "configure:15779: checking for locale.h" >&5
15779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15780 echo $ac_n "(cached) $ac_c" 1>&6
15782 cat > conftest.$ac_ext <<EOF
15783 #line 15784 "configure"
15784 #include "confdefs.h"
15785 #include <locale.h>
15787 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15788 { (eval echo configure:15789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15790 if test -z "$ac_err"; then
15792 eval "ac_cv_header_$ac_safe=yes"
15795 echo "configure: failed program was:" >&5
15796 cat conftest.$ac_ext >&5
15798 eval "ac_cv_header_$ac_safe=no"
15802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15803 echo "$ac_t""yes" 1>&6
15805 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
15806 echo "configure:15807: checking for LC_MESSAGES" >&5
15807 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
15808 echo $ac_n "(cached) $ac_c" 1>&6
15810 cat > conftest.$ac_ext <<EOF
15811 #line 15812 "configure"
15812 #include "confdefs.h"
15813 #include <locale.h>
15818 if { (eval echo configure:15819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15820 ac_cv_val_LC_MESSAGES=yes
15822 echo "configure: failed program was:" >&5
15823 cat conftest.$ac_ext >&5
15825 ac_cv_val_LC_MESSAGES=no
15830 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
15831 if test $ac_cv_val_LC_MESSAGES = yes; then
15832 cat >> confdefs.h <<\EOF
15833 #define HAVE_LC_MESSAGES 1
15839 echo "$ac_t""no" 1>&6
15844 if test "${multilib}" = "yes"; then
15845 multilib_arg="--enable-multilib"
15851 # Generate the various Makefiles, include files, and scripts.
15853 # Needed so that g++ can find the correct include subdir automatically.
15856 # Export all the install information
15859 glibcpp_toolexecdir=no
15860 glibcpp_toolexeclibdir=no
15862 echo $ac_n "checking for interface version number""... $ac_c" 1>&6
15863 echo "configure:15864: checking for interface version number" >&5
15864 libstdcxx_interface=$INTERFACE
15865 echo "$ac_t""$libstdcxx_interface" 1>&6
15867 # Process the option --with-gxx-include-dir=<path to include-files directory>
15868 echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
15869 echo "configure:15870: checking for --with-gxx-include-dir" >&5
15870 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
15871 if test "${with_gxx_include_dir+set}" = set; then
15872 withval="$with_gxx_include_dir"
15873 case "${withval}" in
15875 { echo "configure: error: Missing directory for --with-gxx-include-dir" 1>&2; exit 1; }
15882 gxx_include_dir=${withval}
15889 echo "$ac_t""$gxx_include_dir" 1>&6
15891 # Process the option "--enable-version-specific-runtime-libs"
15892 echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
15893 echo "configure:15894: checking for --enable-version-specific-runtime-libs" >&5
15894 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
15895 if test "${enable_version_specific_runtime_libs+set}" = set; then
15896 enableval="$enable_version_specific_runtime_libs"
15897 version_specific_libs=yes
15898 # Need the gcc compiler version to know where to install libraries
15899 # and header files if --enable-version-specific-runtime-libs option
15901 gcc_version_trigger=${srcdir}/../gcc/version.c
15902 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
15903 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
15904 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
15905 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
15906 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}
15909 version_specific_libs=no
15912 echo "$ac_t""$version_specific_libs" 1>&6
15914 # Default case for install directory for include files.
15915 if test x"$version_specific_libs" = x"no" \
15916 && test x"$gxx_include_dir"=x"no"; then
15917 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
15920 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
15921 # Install a library built with a cross compiler in tooldir, not libdir.
15922 if test x"$glibcpp_toolexecdir" = x"no"; then
15923 if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
15924 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
15925 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
15927 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
15928 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
15932 echo $ac_n "checking for install location""... $ac_c" 1>&6
15933 echo "configure:15934: checking for install location" >&5
15934 echo "$ac_t""$gxx_include_dir" 1>&6
15941 # Export all the include and flag information to makefiles.
15943 # Root level of the include sources.
15944 GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
15946 # Can either use include/c or include/c_std to grab "C" headers. This
15947 # variable is set to the include directory currently in use.
15948 # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
15950 # Passed down for canadian crosses.
15951 if test x"$CANADIAN" = xyes; then
15952 TOPLEVEL_INCLUDES='-I$(includedir)'
15955 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
15957 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
15959 #if GLIBCPP_NEED_LIBIO
15960 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
15962 #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
15965 #if GLIBCPP_USE_CSHADOW
15966 # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
15967 # -I$(top_blddir)/cshadow'
15969 CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
15972 # Now, export this to all the little Makefiles....
15981 # Optimization flags that are probably a good idea for thrill-seekers. Just
15982 # uncomment the lines below and make, everything else is ready to go...
15983 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
15987 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
15991 # This should be done by mkincludedir, but hack around it now.
15993 echo "checking for $blddir/include"
15995 if test ! -d "$blddir/include"; then
15996 mkdir "$blddir/include"
15999 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
16000 # and libsupc++/Makefile.am so that multilib installs will end up
16001 # installed in the correct place. To work around this not being passed
16002 # down from config-ml.in -> top_srcdir/Makefile.am ->
16003 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
16005 cat > confcache <<\EOF
16006 # This file is a shell script that caches the results of configure
16007 # tests run on this system so they can be shared between configure
16008 # scripts and configure runs. It is not useful on other systems.
16009 # If it contains results you don't want to keep, you may remove or edit it.
16011 # By default, configure uses ./config.cache as the cache file,
16012 # creating it if it does not exist already. You can give configure
16013 # the --cache-file=FILE option to use a different cache file; that is
16014 # what configure does when it calls configure scripts in
16015 # subdirectories, so they share the cache.
16016 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16017 # config.status only pays attention to the cache file if you give it the
16018 # --recheck option to rerun configure.
16021 # The following way of writing the cache mishandles newlines in values,
16022 # but we know of no workaround that is simple, portable, and efficient.
16023 # So, don't put newlines in cache variables' values.
16024 # Ultrix sh set writes to stderr and can't be redirected directly,
16025 # and sets the high bit in the cache file unless we assign to the vars.
16027 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16029 # `set' does not quote correctly, so add quotes (double-quote substitution
16030 # turns \\\\ into \\, and sed turns \\ into \).
16032 -e "s/'/'\\\\''/g" \
16033 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16036 # `set' quotes correctly as required by POSIX, so do not add quotes.
16037 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16040 if cmp -s $cache_file confcache; then
16043 if test -w $cache_file; then
16044 echo "updating cache $cache_file"
16045 cat confcache > $cache_file
16047 echo "not updating unwritable cache $cache_file"
16052 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16055 # Let make expand exec_prefix.
16056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16058 # Any assignment to VPATH causes Sun make to only execute
16059 # the first set of double-colon rules, so remove it if not needed.
16060 # If there is a colon in the path, we need to keep it.
16061 if test "x$srcdir" = x.; then
16062 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
16065 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16067 DEFS=-DHAVE_CONFIG_H
16069 # Without the "./", some shells look in PATH for config.status.
16070 : ${CONFIG_STATUS=./config.status}
16072 echo creating $CONFIG_STATUS
16073 rm -f $CONFIG_STATUS
16074 cat > $CONFIG_STATUS <<EOF
16076 # Generated automatically by configure.
16077 # Run this file to recreate the current configuration.
16078 # This directory was configured as follows,
16079 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16081 # $0 $ac_configure_args
16083 # Compiler output produced by configure, useful for debugging
16084 # configure, is in ./config.log if it exists.
16086 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16089 case "\$ac_option" in
16090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16091 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16092 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16093 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16094 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16096 -help | --help | --hel | --he | --h)
16097 echo "\$ac_cs_usage"; exit 0 ;;
16098 *) echo "\$ac_cs_usage"; exit 1 ;;
16102 ac_given_srcdir=$srcdir
16103 ac_given_INSTALL="$INSTALL"
16105 trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16107 cat >> $CONFIG_STATUS <<EOF
16109 # Protect against being on the right side of a sed subst in config.status.
16110 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16111 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16115 s%@CFLAGS@%$CFLAGS%g
16116 s%@CPPFLAGS@%$CPPFLAGS%g
16117 s%@CXXFLAGS@%$CXXFLAGS%g
16118 s%@FFLAGS@%$FFLAGS%g
16120 s%@LDFLAGS@%$LDFLAGS%g
16122 s%@exec_prefix@%$exec_prefix%g
16123 s%@prefix@%$prefix%g
16124 s%@program_transform_name@%$program_transform_name%g
16125 s%@bindir@%$bindir%g
16126 s%@sbindir@%$sbindir%g
16127 s%@libexecdir@%$libexecdir%g
16128 s%@datadir@%$datadir%g
16129 s%@sysconfdir@%$sysconfdir%g
16130 s%@sharedstatedir@%$sharedstatedir%g
16131 s%@localstatedir@%$localstatedir%g
16132 s%@libdir@%$libdir%g
16133 s%@includedir@%$includedir%g
16134 s%@oldincludedir@%$oldincludedir%g
16135 s%@infodir@%$infodir%g
16136 s%@mandir@%$mandir%g
16137 s%@toplevel_srcdir@%$toplevel_srcdir%g
16139 s%@host_alias@%$host_alias%g
16140 s%@host_cpu@%$host_cpu%g
16141 s%@host_vendor@%$host_vendor%g
16142 s%@host_os@%$host_os%g
16143 s%@target@%$target%g
16144 s%@target_alias@%$target_alias%g
16145 s%@target_cpu@%$target_cpu%g
16146 s%@target_vendor@%$target_vendor%g
16147 s%@target_os@%$target_os%g
16149 s%@build_alias@%$build_alias%g
16150 s%@build_cpu@%$build_cpu%g
16151 s%@build_vendor@%$build_vendor%g
16152 s%@build_os@%$build_os%g
16153 s%@glibcpp_basedir@%$glibcpp_basedir%g
16154 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16155 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16156 s%@INSTALL_DATA@%$INSTALL_DATA%g
16157 s%@PACKAGE@%$PACKAGE%g
16158 s%@VERSION@%$VERSION%g
16159 s%@ACLOCAL@%$ACLOCAL%g
16160 s%@AUTOCONF@%$AUTOCONF%g
16161 s%@AUTOMAKE@%$AUTOMAKE%g
16162 s%@AUTOHEADER@%$AUTOHEADER%g
16163 s%@MAKEINFO@%$MAKEINFO%g
16164 s%@SET_MAKE@%$SET_MAKE%g
16166 s%@CXX_libstdcxx@%$CXX_libstdcxx%g
16170 s%@RANLIB@%$RANLIB%g
16171 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
16172 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
16174 s%@EXEEXT@%$EXEEXT%g
16175 s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
16176 s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
16178 s%@OBJEXT@%$OBJEXT%g
16180 s%@LIBTOOL@%$LIBTOOL%g
16181 s%@CXXCPP@%$CXXCPP%g
16182 s%@enable_shared@%$enable_shared%g
16183 s%@enable_static@%$enable_static%g
16184 s%@ifGNUmake@%$ifGNUmake%g
16185 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
16187 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
16188 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
16189 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
16190 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
16191 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
16192 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
16193 s%@libio_la@%$libio_la%g
16194 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
16195 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
16196 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
16197 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
16198 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
16199 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
16200 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
16201 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
16202 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
16203 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
16204 s%@libinst_wstring_la@%$libinst_wstring_la%g
16205 s%@WERROR@%$WERROR%g
16206 s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
16207 s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
16208 s%@NATIVE_TRUE@%$NATIVE_TRUE%g
16209 s%@NATIVE_FALSE@%$NATIVE_FALSE%g
16210 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
16211 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
16212 s%@gxx_include_dir@%$gxx_include_dir%g
16213 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
16214 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
16215 s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
16216 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
16217 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
16218 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
16219 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
16220 s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
16221 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
16222 s%@WARN_FLAGS@%$WARN_FLAGS%g
16227 cat >> $CONFIG_STATUS <<\EOF
16229 # Split the substitutions into bite-sized pieces for seds with
16230 # small command number limits, like on Digital OSF/1 and HP-UX.
16231 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
16232 ac_file=1 # Number of current file.
16233 ac_beg=1 # First line for current file.
16234 ac_end=$ac_max_sed_cmds # Line after last line for current file.
16237 while $ac_more_lines; do
16238 if test $ac_beg -gt 1; then
16239 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
16241 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
16243 if test ! -s conftest.s$ac_file; then
16244 ac_more_lines=false
16245 rm -f conftest.s$ac_file
16247 if test -z "$ac_sed_cmds"; then
16248 ac_sed_cmds="sed -f conftest.s$ac_file"
16250 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
16252 ac_file=`expr $ac_file + 1`
16254 ac_end=`expr $ac_end + $ac_max_sed_cmds`
16257 if test -z "$ac_sed_cmds"; then
16262 cat >> $CONFIG_STATUS <<EOF
16264 CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
16266 cat >> $CONFIG_STATUS <<\EOF
16267 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
16268 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16270 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16271 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16272 *) ac_file_in="${ac_file}.in" ;;
16275 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16277 # Remove last slash and all that follows it. Not all systems have dirname.
16278 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16279 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16280 # The file is in a subdirectory.
16281 test ! -d "$ac_dir" && mkdir "$ac_dir"
16282 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
16283 # A "../" for each directory in $ac_dir_suffix.
16284 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16286 ac_dir_suffix= ac_dots=
16289 case "$ac_given_srcdir" in
16291 if test -z "$ac_dots"; then top_srcdir=.
16292 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16293 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
16294 *) # Relative path.
16295 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16296 top_srcdir="$ac_dots$ac_given_srcdir" ;;
16299 case "$ac_given_INSTALL" in
16300 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16301 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16304 echo creating "$ac_file"
16306 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16308 *Makefile*) ac_comsub="1i\\
16309 # $configure_input" ;;
16313 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16315 s%@configure_input@%$configure_input%g
16316 s%@srcdir@%$srcdir%g
16317 s%@top_srcdir@%$top_srcdir%g
16318 s%@INSTALL@%$INSTALL%g
16319 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16323 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16324 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16326 # ac_d sets the value in "#define NAME VALUE" lines.
16327 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16328 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
16331 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16332 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16333 ac_uB='\([ ]\)%\1#\2define\3'
16336 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16337 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16338 ac_eB='$%\1#\2define\3'
16342 if test "${CONFIG_HEADERS+set}" != set; then
16344 cat >> $CONFIG_STATUS <<EOF
16345 CONFIG_HEADERS="config.h"
16347 cat >> $CONFIG_STATUS <<\EOF
16349 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
16350 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16352 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
16353 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16354 *) ac_file_in="${ac_file}.in" ;;
16357 echo creating $ac_file
16359 rm -f conftest.frag conftest.in conftest.out
16360 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16361 cat $ac_file_inputs > conftest.in
16365 # Transform confdefs.h into a sed script conftest.vals that substitutes
16366 # the proper values into config.h.in to produce config.h. And first:
16367 # Protect against being on the right side of a sed subst in config.status.
16368 # Protect against being in an unquoted here document in config.status.
16369 rm -f conftest.vals
16370 cat > conftest.hdr <<\EOF
16373 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16377 sed -n -f conftest.hdr confdefs.h > conftest.vals
16380 # This sed command replaces #undef with comments. This is necessary, for
16381 # example, in the case of _POSIX_SOURCE, which is predefined and required
16382 # on some systems where configure will not decide to define it.
16383 cat >> conftest.vals <<\EOF
16384 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16387 # Break up conftest.vals because some shells have a limit on
16388 # the size of here documents, and old seds have small limits too.
16390 rm -f conftest.tail
16393 ac_lines=`grep -c . conftest.vals`
16394 # grep -c gives empty output for an empty file on some AIX systems.
16395 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16396 # Write a limited-size here document to conftest.frag.
16397 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16398 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16400 sed -f conftest.frag conftest.in > conftest.out
16402 mv conftest.out conftest.in
16403 ' >> $CONFIG_STATUS
16404 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16405 rm -f conftest.vals
16406 mv conftest.tail conftest.vals
16408 rm -f conftest.vals
16410 cat >> $CONFIG_STATUS <<\EOF
16411 rm -f conftest.frag conftest.h
16412 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16413 cat conftest.in >> conftest.h
16415 if cmp -s $ac_file conftest.h 2>/dev/null; then
16416 echo "$ac_file is unchanged"
16419 # Remove last slash and all that follows it. Not all systems have dirname.
16420 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16421 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16422 # The file is in a subdirectory.
16423 test ! -d "$ac_dir" && mkdir "$ac_dir"
16426 mv conftest.h $ac_file
16432 cat >> $CONFIG_STATUS <<EOF
16433 ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $BASIC_FILE_H $BASIC_FILE_CC $CCODECVT_C $CLOCALE_H $CLOCALE_CC config/$THREADH $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
16434 ac_dests="include/bits/os_defines.h include/bits/c++io.h include/bits/basic_file_model.h src/basic_file.cc libio/c_codecvt.c include/bits/c++locale.h src/c++locale.cc include/bits/c++threads.h \
16435 include/bits/ctype_base.h \
16436 include/bits/ctype_inline.h \
16437 include/bits/ctype_noninline.h include/bits/atomicity.h"
16440 cat >> $CONFIG_STATUS <<\EOF
16441 srcdir=$ac_given_srcdir
16442 while test -n "$ac_sources"; do
16443 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
16444 set $ac_sources; ac_source=$1; shift; ac_sources=$*
16446 echo "linking $srcdir/$ac_source to $ac_dest"
16448 if test ! -r $srcdir/$ac_source; then
16449 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
16453 # Make relative symlinks.
16454 # Remove last slash and all that follows it. Not all systems have dirname.
16455 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
16456 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
16457 # The dest file is in a subdirectory.
16458 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
16459 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
16460 # A "../" for each directory in $ac_dest_dir_suffix.
16461 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
16463 ac_dest_dir_suffix= ac_dots=
16467 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
16468 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
16471 # Make a symlink if possible; otherwise try a hard link.
16472 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
16473 ln $srcdir/$ac_source $ac_dest; then :
16475 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
16479 cat >> $CONFIG_STATUS <<EOF
16484 with_multisubdir=${with_multisubdir}
16485 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16486 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16487 glibcpp_basedir=${glibcpp_basedir}
16492 cat >> $CONFIG_STATUS <<\EOF
16493 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
16494 if test -n "$CONFIG_FILES"; then
16495 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
16496 grep '^MULTISUBDIR =' Makefile >> src/Makefile
16497 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
16499 chmod +x tests_flags
16504 chmod +x $CONFIG_STATUS
16505 rm -fr confdefs* $ac_clean_files
16506 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16510 # Generate bits/c++config.h
16511 # NB: This must be the first generated file as others include it. . .
16512 $srcdir/mkc++config $blddir $srcdir
16514 # Generate bits/std_limits.h and src/limitsMEMBERS.cc
16515 if test ! -f stamp-limits; then
16516 $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
16517 if test ! -f include/bits/std_limits.h; then
16518 echo "mknumeric_limits failed to execute properly: exiting"
16526 # Sanity checking & User-visible messages.
16527 # Checks down here, otherwise they get scrolled off before
16528 # the user will notice.
16530 # Trying to get more people to read documentation. Possibly remove
16531 # check and warn all the time. There is no "informational" AC_MSG_
16532 # macro, so these are going to be printed even when --quiet/--silent
16534 if test ! -f stamp-sanity-warned; then
16535 touch stamp-sanity-warned
16537 echo "Please make certain that you read the installation information here:"
16538 echo " faster => ${srcdir}/docs/install.html"
16539 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
16541 echo "and the configuration information here:"
16542 echo " faster => ${srcdir}/docs/configopts.html"
16543 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
16545 echo "before proceeding with ${_cv_gnu_make_command}."